#contact-us-popout {
    background: #FFF;
    border: 1px solid silver;
    opacity: 0;
    font: 14px GloberRegular;
    min-width: 150px;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: -4000px;
    z-index: 9999;
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

.country-infobox #contact-us {
    float: right;
    font-size: 20px;
    line-height: 26px;
    margin: 0 20px 0 10px;
}

.country-infobox #contact-us:hover #contact-us-popout {
    opacity: 1;
    top: 40px;
}

.country-infobox #contact-us a {
    color: #505050;
}

.country-infobox #contact-us img {
    cursor: pointer;
    float: right;
    height: 20px;
    margin: 1px 0 0 10px;
    width: 20px;
}


#contact-us .service-line {
    display: none;
}

.country-select {
    float: left;
}

#country-select-popout {
    background-color: #fff;
    border: 1px solid silver;
    display: none;
    position: absolute;
    right: 155%;
    top: 90px;
    width: 840px;
    z-index: 99999;
    overflow: hidden;
    box-sizing: border-box;
}

#country-select-popout .lang {
    width: 100%;
    margin-bottom: 10px;
}

#country-select-popout ul {
    margin-bottom: 0px;
    padding: 0px 0 0 0px;
}

.close-area {
    padding-bottom: 15px;
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .country-infobox.country-infobox-noPhone {
        margin-right: 20px;
    }
}

.country-infobox .lang {
    background-position: 0px 2px;
    background-repeat: no-repeat;
    background-size: 25px 15px;
    height: 20px;
    line-height: 24px;
    overflow: hidden;
    padding: 0 0 0 35px;
}

.country-infobox .lang:hover {
    background-color: transparent;
}

.country-infobox .lang span {
    color: #505050;
    font-family: Arial, sans-serif;
    font-size: 14px;
}


.country-box{
    width: 100%;
    float: left;
    background-color: #ffffff;
    padding: 23px 15px;
    box-sizing: border-box;
}
.country-block{
    width: 33%;
    float: left;
    padding: 0 10px;
    box-sizing: border-box;
}
.country-title{
    width: 100%;
    float: left;
    font-size: 24px;
    margin-bottom: 15px;
    color: #184d84;
    font-family: 'GloberBold';
    box-sizing: border-box;
}
.country-list{
    margin: 0;
    padding: 0;
    width: 100%;
    float: left;
    box-sizing: border-box;
}

.country-list .lang{
    list-style: none;
    width: 100%;
    float: left;
    margin-bottom: 10px;
    font-family: 'GloberRegular';
    font-size:14px; 
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    color: #2aa9e0;
}

.country-list .lang a, .country-list .lang a:hover{
    width: 100%;
    float: left;
    font-family: 'GloberRegular';
    font-size:14px; 
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    color: #2aa9e0;
}

.country-others{
    width: 100%;
    float: left;
    margin-top: 15px;
    box-sizing: border-box;
    font-family: 'GloberRegular';
    font-size:14px; 
    color: #2aa9e0;
    padding: 10px 25px;
}

.country-others a, .country-others a:hover{
    font-family: 'GloberBold';
    font-size:14px;
    text-decoration: none;
    display: inline-block;
    color: #2aa9e0 !important;
}

.country-center{
    text-align: center;
}


.country-infobox .lang {
    background-image: url("../images/lang/globe.jpg");
}

.country-infobox .uk {
    background-image: url("../images/lang/en_en.png");
}

.country-infobox .de {
    background-image: url("../images/lang/de_de.png");
}

.country-infobox .es {
    background-image: url("../images/lang/es_es.png");
}

.country-infobox .fr {
    background-image: url("../images/lang/fr_fr.png");
}

.country-infobox .it {
    background-image: url("../images/lang/it_it.png");
}

.country-infobox .nl {
    background-image: url("../images/lang/nl_nl.png");
}


.country-infobox .australia {
    background-image: url("../images/lang/australia.jpg");
}
.country-infobox .canada {
    background-image: url("../images/lang/canada.jpg");
}
.country-infobox .france {
    background-image: url("../images/lang/france.jpg");
}
.country-infobox .germany {
    background-image: url("../images/lang/germany.jpg");
}
.country-infobox .italy {
    background-image: url("../images/lang/italy.jpg");
}
.country-infobox .japan {
    background-image: url("../images/lang/japan.jpg");
}
.country-infobox .mexico {
    background-image: url("../images/lang/mexico.jpg");
}
.country-infobox .netherlands {
    background-image: url("../images/lang/netherlands.jpg");
}
.country-infobox .new-zealand {
    background-image: url("../images/lang/new-zealand.jpg");
}
.country-infobox .spain {
    background-image: url("../images/lang/spain.jpg");
}
.country-infobox .uk-e {
    background-image: url("../images/lang/uk.jpg");
}
.country-infobox .usa {
    background-image: url("../images/lang/usa.jpg");
}

@media only screen and (min-width: 1023px) and (max-width: 1024px) {
    .country-infobox #country-select-popout{
        right: 70% !important;
        width: 740px !important;
    }
}


@media only screen and (min-width: 768px) and (max-width: 1022px) {
    .country-infobox #country-select-popout{
        right: 7% !important;
        width: 740px !important;
    }
    .header .block-search{
        width: 400px !important;
    }

    #algolia-autocomplete-container > span{
        left: 0px !important;
    }
}


@media only screen and (max-width: 767px) {

    #contact-us-popout {
        right: 10px;
        top: 50px;
    }

    .country-infobox #contact-us {
        margin: 25px 0 0 10px;
    }

    #contact-us .separator {
        display: none;
    }

    #contact-us .service-line {
        display: block !important;
        float: right;
        font: 13px GloberRegular;
        padding: 5px 0 0 5px;
    }

    .country-infobox #contact-us img {
        float: left !important;
        margin-top: 0;
    }

    .country-select a {
        color: #505050;
    }

    .country-select {
        opacity: 0;
        background: #FFF;
        height: 60px;
        left: 0;
        position: absolute;
        text-align: center;
        top: -70px;
        width: 100%;
        z-index: 0;
        border-bottom: 1px solid #d1d1d1;
        border-top: 1px solid #d1d1d1;
        -webkit-transition: top 0.5s ease, opacity 0s, cubic-bezier(1, 0, 0, 1);
        -moz-transition: top 0.5s ease, opacity 0s, cubic-bezier(1, 0, 0, 1);
        -o-transition: top 0.5s ease, opacity 0s, cubic-bezier(1, 0, 0, 1);
        transition: top 0.5s ease, opacity 0s, cubic-bezier(1, 0, 0, 1);
    }

    .nav-open .country-select {
        opacity: 1;
        z-index: 99;
        -webkit-transition: top 0.5s ease, opacity 0.5s, cubic-bezier(1, 0, 0, 1);
        -moz-transition: top 0.5s ease, opacity 0.5s, cubic-bezier(1, 0, 0, 1);
        -o-transition: top 0.5s ease, opacity 0.5s, cubic-bezier(1, 0, 0, 1);
        transition: top 0.5s ease, opacity 0.5s, cubic-bezier(1, 0, 0, 1);
    }

    .country-infobox .lang {
        display: inline-block;
        margin: 10px auto 0;
    }

    #country-select-popout {
        bottom: 10px;
        position: fixed !important;
        right: 50% !important;
        top: auto !important;
        transform: translate(50%, 0px);
    }


    .country-infobox #country-select-popout{
        right: 50% !important;
        width: 95% !important;
        bottom: 25px !important;
    }
    .country-block{
        width:50%;
        padding: 0px;
    }
    .country-title{
        margin-top: 10px;
        margin-bottom: 0px;
        font-size: 18px;
    }
    #country-select-popout .lang {
        margin-bottom: 4px;
        margin-top: 4px;
    }
    .country-box{
        padding: 0px 10px;
    }
    .country-others {
        margin-top: 5px;
        font-size: 12px;
        padding: 5px 0px;
    }

    .country-others a, .country-others a:hover{
        font-size: 13px;
    }
}


.country-infobox{
    top: 74px !important;
}

@media only screen and (max-width: 400px) {
    #contact-us .service-line {
        display: none !important;
    }
    .country-infobox #country-select-popout{
        bottom: 100px !important;
    }
}
