@charset "utf-8";

p.geo-location span {
    cursor: pointer;
    border-bottom: 1px dotted;
    color: #666666;
}

p.geo-location:before, p.geo-location:after {
    font-family: health-medicine-guide, serif;
}

p.geo-location:before {
    content: '\E816';
    margin-right: 5px;
    color: #C4271E;
    font-size: 20px;
}

p.geo-location:after {
    content: '\E822';
    margin-left: 5px;
    color: #0d0d0d;
    font-size: 9px;
}

#menu p.geo-location {
    padding-left: 15px;
    border-bottom: 5px solid #F0F0F0;
    border-top: 5px solid #F0F0F0;
}

#menu p.geo-location:after {
    display: none;
}

#menu p.geo-location span {
    border: 0;
}

#geo-location {
    display: none;
    position: fixed;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    top: 100px;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 0 20px #000000;
    height: calc(100% - 200px);
    padding: 50px;
    z-index: 1000;
}

#geo-location span.close {
    color: #ffffff;
    font-size: 20px;
    position: absolute;
    right: -40px;
    top: 0;
    cursor: pointer;
}

#geo-location span.close:after {
    font-family: health-medicine-guide, serif;
    content: '\E813';
}

#geo-location div.main {
    overflow: hidden;
    height: 100%;
}

#geo-location div.main > div {
    width: 270px;
    float: left;
    height: 100%;
    overflow: hidden;
}

#geo-location div.main div.regions {
    position: relative;
}

#geo-location ul {
    overflow: auto;
    height: 100%;
}

#geo-location ul.cities {
    column-count: 3;
}

#geo-location li {
    margin-bottom: 9px;
    color: #222222;
}

#geo-location li span {
    color: #2071ee;
    cursor: pointer;
}

#geo-location li span:hover {
    color: #c4271e;
}

#geo-location div.regions:before, #geo-location div.cities:before {
    content: 'Регион:';
    display: block;
    margin-bottom: 25px;
    font-size: 26px;
}

#geo-location div.cities:before {
    content: 'Город:';
}

#geo-location div.cities:empty {
    display: none;
}

#geo-location div.main div.cities {
    width: 100%;
    margin-left: -270px;
    padding-left: 315px;
    overflow: auto;
}

#geo-location li.back {
    cursor: pointer;
    display: none;
}

#geo-location li.back:before {
    font-family: health-medicine-guide, serif;
    content: '\E80E';
    color: #2071ee;
    font-size: 16px;
    margin-right: 10px;
}

#geo-location li.back:after {
    content: 'Назад к регионам';
    color: #777777;
}

#geo-location ul.regions {
    padding-bottom: 50px;
}

@media (max-width: 1024px) {
    #geo-location ul.cities {
        column-count: 2;
    }
}

@media (max-width: 812px) {
    #geo-location {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: auto;
        height: auto;
    }

    #geo-location span.close {
        color: #787878;
        right: 10px;
        top: 8px;
    }
}

@media (max-width: 768px) {
    #geo-location ul.cities {
        column-count: auto;
    }

    #geo-location div.regions:before, #geo-location div.cities:before {
        font-size: 22px;
    }
}

@media (max-width: 414px) {
    #geo-location li.back {
        display: list-item;
    }
}
