/* online stores logos */

.brend-box ul li a, .brend-box ul li span {
    display: block;
    margin: 0 10px;
    height: 90px;
    text-align: center;
    border: 1px solid #ececec;
    padding: 20px 22px;
    border-radius: 4px;
}

.brend-box ul li a img, .brend-box ul li span img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    position: relative;
    margin: 0 auto;
    display: block;
    top: 50%;
    transform: translateY(-50%);
}

/* cities autocomplite dropdown */

.city-search__autocomplete-content {
    background: #fff;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    margin-top: -30px;
    overflow: hidden;
    position: absolute;
    display: none;
    width: 100%;
}

.city-search__field_autocomplete_shown  ~ div .city-search__autocomplete-content {
    display: block;
}

.city-search__autocomplete-content a {
    padding: 10px 30px 11px;
    display: block;
    color: #000;
    font-size: 14px;
}

.city-search__autocomplete-content a:hover {
    background: #ff7f05;
    color: #fff;
}

.city-search__autocomplete-content ul {
    max-height: 274px;
    overflow: auto;
}

.city-search__autocomplete-content ul::-webkit-scrollbar {
  width: 5px;
}

.city-search__autocomplete-content ul::-webkit-scrollbar-thumb:vertical {
  margin: 5px;
  background-color: #ccc;
  -webkit-border-radius: 5px;
}

.city-search__autocomplete-content ul::-webkit-scrollbar-button:start:decrement,
.city-search__autocomplete-content ul::-webkit-scrollbar-button:end:increment {
  height: 10px;
  display: block;
}

.city-search__autocomplete-text {
    font-size: 14px;
    margin: 20px;
    display: block;
}

.search-cities-box input::placeholder, .search-cities-box input::-webkit-input-placeholder, .search-cities-box input::-moz-placeholder, .search-cities-box input::-ms-input-placeholder { 
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #ccc;
}

.city-search__field_autocomplete_shown {
    border-bottom: 2px solid #0682dc;
    position: relative;
}

.city-search__cancel {
    display: none;
    position: absolute;
    top: 16px;
    right: 0px;
    width: 10px;
    height: 10px;
    background: url(../../site/images/icons/close-button-mini.png) 0 0 no-repeat;
    cursor: pointer;
    z-index: 2;
}

.city-search__field_autocomplete_shown .city-search__cancel {
    display: block;
}


/* city page breadcrumbs dropdown */

.js-select .dropdown {
    padding-bottom: 0;
    border: 0px;
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.js-option {
    padding: 2px 0 2px 20px !important
}

.specialist-box ul {
    display: none;
}

.labels {
    text-align: center;
    margin: 40px 0 -40px;
}

.labels a {
    text-align: left;
    display: inline-block;
    padding: 20px 26px 24px;
    border: 1px solid #f0f0f0;
    font-size: 12px;
    color: #34373e;
    border-radius: 4px;
}

.labels a span {
    color: #226ec8;
    display: block;
    font-size: 18px;
}


.labels a i {
    font-style: normal;
    color: #226ec8;
    text-decoration: underline;
}

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

    .specialist-box .specialist-item {
        display: block !important;
        position: static !important;
    }
        
}

@media screen and (max-width: 767px) {
    
    .city-search__autocomplete-content {
        width: calc(100% - 20px);
    }
    
    .city-search__cancel {
        top: 28px;
    }
    
    .js-select .js-option-container {
        display: block;
    }
    
    .js-option {
        font-size: 10px;
        padding: 0 10px !important
    }
    
    .js-option-container {
        min-width: 0;
    }
    
    .bread-crumbs__city .js-select .select-title, .js-select .js-option-container {
        display: block;
    }
    
    .bread-crumbs__city .js-select select {
        display: none;
    }
    
    .js-select .dropdown {
        margin-top: 10px;
        position: absolute;
    }
    
    .brend-box ul li a {
        height: 70px;
        padding: 10px;
    }
    
    .specialist-box {
        width: 100%;
        height: 135px;
        overflow: hidden;
        position: relative;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
    
    .specialist-box ul {
        position: absolute;
        display: block;
        bottom: 0;
        width: 100%;
        text-align: center;
        border: 0;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .specialist-box ul li {
        margin: 0 5px;
        display: inline-block;
        padding: 0;
    }
    
    .specialist-box li a.active {
        background: #ff7f05;
    }
    
    .specialist-box li a {
        display: block;
        padding: 0;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #d7dcdf;
    }
}