/* TABS */

#box .tabs, #box .tabs li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#box .tabs {
    padding: 0 5px 0 5px;
    height: 55px;
}

    #box .tabs li {
        display: inline-block;
        position: relative;
        top: 5px;
    }

        #box .tabs li.active {
            z-index: 3;
        }

        #box .tabs li a, #box .tabs li a:hover, #box .tabs li a:active {
            font-weight: bold;
            font-size: .9em;
            display: block;
            height: 50px;
            color: #fff;
            line-height: 50px;
            padding: 0 10px;
            text-decoration: none;
            background: none;
            max-width: 300px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

            #box .tabs li a:focus {
                text-decoration: underline;
            }

        #box .tabs li.active a {
            background: #fff;
            color: #000;
        }

.tab_container {
    position: relative;
}

/* PAGINATION */

.pagination {
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: solid 1px #ccc;
}

    .pagination ul, .pagination ul li {
        margin: 0 !important;
        padding: 0;
        list-style: none;
    }

        .pagination ul li {
            display: inline-block;
        }

            .pagination ul li a {
                display: block;
                padding: 5px;
            }

/* ITEM LISTS */

.commonbox {
    margin: 10px 0;
    padding: 5px 0px 30px;
    border-bottom: solid 1px #ccc;
    position: relative;
}

    /* Clearfix */

    .commonbox:before,
    .commonbox:after {
        content: " ";
        display: table;
    }

    .commonbox:after {
        clear: both;
    }

.commonbox_inner {
    width: 50%;
    float: left;
}

    .commonbox_inner:first-child {
        padding-right: 20px;
    }

    .commonbox_inner:last-child {
        padding-left: 20px;
    }

    .commonbox_inner:only-child {
        padding-left: 0;
    }

.commonbox .big h2 {
    font-size: 1em;
    margin: 0;
    line-height: 1em;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: normal;
}

    .commonbox .big h2 a {
        color: #000 !important;
    }

.commonbox_inner > ul, .commonbox_inner > ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.commonbox_inner > ul {
    padding-top: 10px;
}

    .commonbox_inner > ul li a {
        display: block;
        padding: 3px 2px;
        width: 100%;
        overflow: hidden;
        border-bottom: dotted 1px #eaeaea;
        -webkit-transition: all .1s ease-out;
        -moz-transition: all .1s ease-out;
        -o-transition: all .1s ease-out;
        transition: all .1s ease-out;
    }

        .commonbox_inner > ul li a:hover,
        .commonbox_inner > ul li a:active,
        .commonbox_inner > ul li a:focus {
            text-decoration: none;
            background: #eaeaea;
        }

    .commonbox_inner > ul li:last-child a {
        border: none;
    }


.atozBackToTop {
    position: absolute;
    width: 100%;
    bottom: 10px;
    margin-top: 25px;
}

    .atozBackToTop a {
        font-weight: 700;
    }

@media only screen and (max-width : 767px) {
    .pagination ul li {
        margin: 3px;
    }

        .pagination ul li a {
            display: block;
            height: 30px;
            line-height: 30px;
            width: 30px;
            padding: 0;
            text-align: center;
            background: #eaeaea;
            border: solid 1px #ccc;
            color: #000;
        }

    #box .tabs, #box .tabs li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #box .tabs {
        padding: 5px;
        height: auto;
    }

        #box .tabs li {
            display: inline-block;
            position: relative;
            top: auto;
        }

            #box .tabs li.active {
                z-index: 3;
            }

            #box .tabs li a, #box .tabs li a:hover, #box .tabs li a:active {
                font-weight: bold;
                font-size: .9em;
                display: block;
                height: 40px;
                color: #fff;
                line-height: 40px;
                padding: 0 10px;
                text-decoration: none;
                background: none;
                max-width: 100%;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }

                #box .tabs li a:focus {
                    text-decoration: underline;
                }

            #box .tabs li.active a {
                background: #fff;
                color: #000;
            }
}

@media only screen and (max-width : 480px) {
    .commonbox_inner {
        width: 100%;
    }
}

/* OVERRIDES */
.atozBackToTop {
    margin-top: 0;
    bottom: .5rem;
    text-align: right;
}

.commonbox {
    margin: 0;
    padding: 1rem 0 2rem;
    border: none;
}

    .commonbox .big h2 {
        display: inline-block;
        margin: 0 0 .5rem !important;
        width: 4rem;
        font-size: 2rem;
        text-align: center;
        vertical-align: top;
        border-radius: .125rem;
        overflow: hidden;
    }

        .commonbox .big h2 a {
            display: block;
            padding: 1rem;
            color: white !important;
            background-color: #686868;
        }

            .commonbox .big h2 a:focus, .commonbox .big h2 a:hover {
                text-decoration: none;
            }

    .commonbox .commonbox_inner > ul {
        display: block;
        margin: 0 !important;
        padding: 0 !important;
        vertical-align: top;
    }

        .commonbox .commonbox_inner > ul li {
            margin: 0 0 .5rem 0 !important;
        }

            .commonbox .commonbox_inner > ul li a {
                border-bottom: none;
            }

#box .tabs {
    clear: both;
}

.pagination {
    padding: 1rem 0;
    margin-bottom: 0;
    border-bottom: none;
}

    .pagination a {
        display: block;
        text-align: center;
    }

        .pagination a:focus, .pagination a:hover {
            text-decoration: none;
            color: white;
            background-color: #686868;
            border-radius: .125rem;
        }

@media (min-width: 768px) {
    .commonbox {
        border-top: solid 1px #f6f6f6;
    }

        .commonbox .commonbox_inner > ul {
            display: inline-block;
            padding: 0 0 0 1rem !important;
        }

    .pagination ul li {
        display: table-cell;
        vertical-align: middle;
    }

    .pagination ul {
        display: table;
        table-layout: fixed;
        width: 100%;
    }
}
