body.amlocator-index-index .column.main,
body.cms-index-index #amasty_locator_filter {
    background: url(../../images/worldmap.png) no-repeat;
}

#amlocator_left > span {
    background: #EEEEEE;
    display: block;
    cursor: pointer;
    padding: 2rem;
    font-size: 1.6rem;
}

#amlocator_window_template {
    display: none;
}

#amlocator-map-canvas {
    width: 100%;
}

.amasty-popup {
    width: 250px;
    font-size: 1.4rem;
    font-family: 'Futura PT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.amasty-popup h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.amasty-popup img {
    width: 100px;
    clear: both;
    display: block;
    margin-bottom: 10px;
}

.amasty-popup .phone::before {
    font-size: 1.4rem;
    margin-top: -13px;
    margin-right: 5px;
    height: 23px;
}

#amlocator_left {
    width: 100%;
    overflow: scroll;
    overflow-y: auto;
    overflow-x: auto;
}

#amlocator_left .phone::before,
#amlocator_left .email::before,
#amlocator_left .website::before {
    font-size: 1.5rem;
    margin-top: -10px;
    margin-right: 5px;
    height: 23px;
}

@media screen and (max-width: 1300px) {
    #amlocator_left {
        width: 100%;
        height: 600px;
    }

}

#amlocator_left .active {
    background: #dcd9d9;
}

.please-wait {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -150px;
    width: 150px;
    height: 100px;
    background-color: white;
}

.amlocator_mapblock {
    float: right;
    width: 70%;
}

.amlocator_store_list {
    float: left;
    width: 30%;
    margin-bottom: 20px;
}

.amlocator_store_list.chinese {
    float: none;
    width: 100%;
    max-width: 500px;
    margin: auto;
}

@media screen and (min-width: 600px) {
    .amlocator_center {
        display: flex;
    }
}

.amlocator_center {
    display: block;
}

.amlocator_group:after {
    content: "";
    display: table;
    clear: both;
}

#amasty_locator_filter .column_left {
    margin: auto;
    max-width: 870px;
    padding-right: 0;
    width: 100%;
}

#amasty_locator_filter .description {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    margin-top: -2rem;
    text-align: center;
}

#amasty_locator_filter .divider {
    background: #ffffff;
    border-radius: 50%;
    box-sizing: border-box;
    display: block;
    font-weight: 700;
    height: 45px;
    line-height: 4.5rem;
    margin: 2rem auto;
    text-align:center;
    text-transform: uppercase;
    width: 45px;
}

#amasty_locator_filter ul {
    margin-left: 10px;
    list-style: outside none none;
}

.amlocator_default {
    background: url(../../../images/amasty/amlocator/close.png) no-repeat;
    display: inline-block;
    width: 14px;
    height: 14px;
    background-position: 0 0px;
    cursor: pointer;
    position: relative;
    top: -10px;
}

.amlocator_default:hover {
    background: url(../../../images/amasty/amlocator/close.png) no-repeat;
    background-position: 0 -14px;
    cursor: pointer;
}

#amasty_locator_filter .attributes {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;

}

#amasty_locator_filter .location-attribute {
    flex-grow: 1;
    margin-top: 15px;
}

.location-attribute {
    margin-right: 10px;
}

#amasty_locator_filter .filter-attribute {
    font-weight: bold;
    margin: 15px 15px 0 0;
}

.today_schedule {
    margin-left: 20px;
    position: relative;
    margin-top: 5px;
    margin-bottom: 5px;
}

.today_schedule:before {
    width: 18px;
    content: " ";
    background-image: url(../images/clock.png);
    position: absolute;
    left: -23px;
    height: 18px;
}

#amlocator_left .today_schedule span {
    display: inline;
    border: none;
    float: right;
    padding: 0;
}

.all_schedule {
    display: none;
    margin-left: 20px;
}

.all_schedule div {
    margin-top: 5px;
    margin-bottom: 5px;
}

#amlocator_left .all_schedule span {
    display: inline;
    border: none;
    float: right;
    padding: 0 20px 0 0;
}

#amasty_locator_filter {
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
}
#amasty_locator_filter .action-buttons {
    text-align: center;
}

#geolocBtn {
    background: #757474;
    border-color: #757474;
}

#geolocBtn .icon-link.geoloc:before {
    font-size: 2rem;
    height: 29px;
    margin-top: -6px;
}

.column_left {
    width: 48%;
    padding-right: 35px;
    order: 1;
}

.column_right {
    order: 2;
    padding-left: 35px;
    width: 48%;
}

@media screen and (max-width: 600px) {
    #amasty_locator_filter {
        flex-direction: column;
    }

    .column_left {
        width: 100%;
        order: 1;
    }

    .column_right {
        order: 2;
        padding-left: 0px;
        padding-top: 10px;
        width: 100%;
    }
}


.geolocBtn {
    text-align: center;
}

.amlocator_input_radio {
    text-align:center;
}

#filter-store-type {
    display: flex;
    justify-content: space-between;
    margin: auto;
    max-width: 280px;
    width: 100%;
}

.input-box {
    margin-top: 5px;
}

#amlocator-search {
    flex: 1;
}
#findBtn {
    margin-left: 2rem;
}

.locator_arrow {
    width: 14px;
    content: " ";
    background-image: url(../images/arrow.png);
    float: right;
    left: -23px;
    height: 7px;
    margin-left: 6px;
    background-size: 14px 14px;
    margin-top: 5px;
    background-position-y: 7px;
}

.arrow_active {
    background-position-y: 0;
}

.location_header {
    text-transform: uppercase;
}

.store-attribute {
    font-weight: 600;
}

.amasty-popup .header {
    background-color: blue;
}

.amlocator-index-index {
    overflow-x: hidden;
}

/* HomePage */

body.cms-index-index #amasty_locator_filter {
    margin-top: 2rem;
}

body.cms-index-index .amlocator_input_radio {
    background: #ffffff;
    margin: 0;
}



/* Desktop */

@media screen and (min-width: 768px) {

    body.amlocator-index-index .column.main,
    body.cms-index-index #amasty_locator_filter {
        background-position: center center;
        background-size: contain;
    }

    .amlocator_inputs {
        display: flex;
        justify-content: space-between;
        margin-left: -2rem;
    }

    .amlocator_input {
        margin-left: 2rem;
        flex: 1;
    }

    .input-box.first {
        display: flex;
    }

    #amasty_locator_filter button,
    #amasty_locator_filter .button {
        padding-left: 75px;
        padding-right: 75px;
        margin-left: 2rem;
        width: auto;
        margin-top: 0;
    }

    #amasty_locator_filter a{
        text-decoration: none;
    }

    .amlocator_input_radio {
        margin: 10rem 0 2rem;
    }

    .amlocator_center .tabs {
        display: none;
    }

    #amlocator-map-canvas,
    #amlocator_left {
        height: 725px;
    }

    #amlocator_left {
        position: relative;
    }

    /* HomePage */

    body.cms-index-index #amasty_locator_filter {
        padding-top: 5rem;
        padding-bottom: 15rem;
    }

    body.cms-index-index .amlocator_inputs {
        padding: 4rem 0 6rem;
    }

    body.cms-index-index #findBtn {
        margin-left: 0;
        margin-right: 2rem;
    }

    body.cms-index-index #filter-store-type div {
        margin-left: 1.2rem;
    }

    body.cms-index-index .amlocator_input_radio {
        display: flex;
        align-items: center;
        margin-left: 2rem;
        padding-right: 1.5rem;
    }

    .ie11 body.cms-index-index .amlocator_input_radio {
        display: block;
        padding-top: 1.5rem;
    }

    body.cms-index-index .amlocator_input_radio .input-box {
        margin-top: 0;
    }
}

/* Mobile */

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

    .amlocator_mapblock, .amlocator_store_list {
        float: none;
        width: auto;
    }

    body.amlocator-index-index .column.main,
    body.cms-index-index #amasty_locator_filter {
        background-position: top center;
        background-size: auto;
    }

    #findBtn {
        margin-left: 0;
        width: 100%;
        margin-top: 1rem;
    }

    .amlocator_input {
        margin-top: 2rem;
        flex: 1;
    }

    #geolocBtn {
        width: 100%;
    }

    .amlocator_input_radio {
        margin: 5rem 0 2rem;
    }

    .amlocator_center .tabs {
        display: flex;
        margin-bottom: 2rem;
    }

    .amlocator_center .tabs .tab {
        border-bottom: 2px solid #acabab;
        color: #acabab;
        cursor: pointer;
        flex : 1;
        font-size: 1.8rem;
        padding: 1rem;
        text-align: center;
        text-transform: uppercase;
    }

    .amlocator_center .tabs .tab.active {
        border-bottom: 3px solid #000000;
        color: #000000;
    }

    .amlocator_store_list {
        display: none;
    }
    .amlocator_store_list.chinese {
        display: block;
        max-width: none;
    }

    #amlocator-map-canvas,
    #amlocator_left {
        height: 100vh;
    }

    .amlocator_store_list.chinese #amlocator-map-canvas,
    .amlocator_store_list.chinese #amlocator_left {
        height: auto;
    }

    /* HomePage */

    body.cms-index-index #amasty_locator_filter {
        clear: both;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    body.cms-index-index #findBtn,
    body.cms-index-index #geolocBtn {
        margin-top: 2rem;
    }

    body.cms-index-index .amlocator_input_radio {
        padding: 11px 0;
        margin-top: 2rem;
    }

}
