/**
 * Country, Language and Currency Selector
 *
 * @author    THECON
 * @copyright THECON
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

.th_country_selector_top {
    display: flex;
    justify-content: right;
    align-items: center;
    min-width: 16rem;
    margin-left: 10px;
    padding: 10px 0 10px 0;
}

.th_country_selector_top_mobile {
    margin-left: 10px;
    margin-top: -10px;
}

.th_country_selector_top_inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}

.th_country_selector_top_inner:hover {
    border-bottom: 1px solid;
}

.th_country_selector_top_flag {
    width: 30px;
    margin: 0 5px 0 5px;
}

.th_country_selector_top_arrow {
    display: flex;
    align-items: center;
    width: 25px;
}

.th_country_selector_right {
    background: rgba(0, 0, 0, .4);
    z-index: 9999;
    position: fixed;
    width: 100%;
    height: 0;
    left: 0;
    top: 0;
}

.th_country_selector_right_extra {
    z-index: 9999;
    position: fixed;
    width: 25em;
    height: 0;
    left: 0;
    top: 0;
}

.th_country_selector_right_inner {
    width: 25em;
    height: 100vh;
    max-width: 40rem;
    z-index: 99999;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    background: #ffffff;
    -webkit-transition: all .5s;
    transition: all .5s;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
}

.th-show {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
}

.th_country_selector_right_header {
    height: 3.6rem;
    margin: 0;
    box-shadow: 0 2px 2px rgba(0, 0, 0, .05);
    color: #000;
    text-align: center;
    display: flex;
    align-items: center;
}

.th_country_selector_right_header_item {
    display: flex;
    align-items: center;
}

.th_country_selector_right_header_item:first-child {
    margin-left: 15px;
}

.th_country_selector_right_header_item:last-child {
    justify-content: center;
    width: 100%;
}

.th_country_selector_right_header_item h3 {
    margin: 0;
}

.th_country_selector_right_close {
    font-size: 35px;
    cursor: pointer;
}

.th_country_selector_right_body {
    padding: 25px 15px 15px 15px;
}

.th_country_selector_content_item {
    margin-bottom: 25px;
}

.th_country_selector_right_footer {
    padding: 15px;
}

.th_country_selector_right_footer_item .btn {
    width: 100%;
}

.th_country_selector_right_footer_item:not(:last-child) {
    margin-bottom: 15px;
}

.th_country_selector_right_show {

}

@media only screen and (min-width : 320px) and (max-width : 479px) {
    .th_country_selector_right_inner {
        width: 100%;
    }
}

@media only screen and (min-width : 480px) and (max-width : 991px) {
    .th_country_selector_top_mobile {
        display: none;
    }
}
