﻿.pharm-tabs-container {
    display: flex;
    margin-bottom: 20px;
}

.pharm-tab:first-child {
    border-radius: 10px 0 0 10px;
}

.pharm-tab:last-child {
    border-radius: 0 10px 10px 0;
}

.pharm-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    width: 100%;
    height: 56px;
    color: #005398;
    background: #F1F3F6;
    cursor: pointer;
}

@media (max-width: 992px) {  
    .pharm-tab {
        padding-left: 5px;
        padding-right: 5px;
    }
}

.pharm-tab_selected {
    color: #FFFFFF;
    background: #005398;
}

.pharm-filter-title {
    color: #005398;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

.form-block-column__label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
}

.pharm-search-split {
    margin: 11px 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-weight: 700;
    color: #005398;
    font-size: 24px;
}

.mo-search-button {
    top: 0;
}

.mo-search-input {
    padding-right: 80px;
}

.button-drug-info {
    padding: 20px 15px 10px 15px;
    margin-right: 0;
}

.button-drug-info::after {
    content: '';
    display: block;
    width: 10px;
    height: 7px;
    flex-grow: 0;
    flex-shrink: 0;
    background-image: url('../../img/icons/user-menu-arrow.svg');
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    margin-left: auto;
}

.button-drug-infos{
    align-items: center;
    display: flex;  
}

.button-drug-infos::after {
    content: '';
    display: block;
    width: 10px;
    height: 7px;
    flex-grow: 0;
    flex-shrink: 0;
    background-image: url('../../img/icons/user-menu-arrow.svg');
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    margin-left: 5px;
}

.button-drug-infos.is-active::after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.button-drug-info.is-active::after {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.drug-store-item {
    background: #F1F3F6;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 400;
}

.drug-store-name {
    padding-top: 10px;
    font-size: 20px;
    color: #0C567E;
}

.drug-store-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 5px 20px;
}

/*.drug-store-header:has(.is-active) {
    font-weight: 700;
}*/

.drug-store-content {
    color: #111111;
    padding: 0 20px 20px 20px;
    font-size: 16px;
}

.drug-store-content-item {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    width: 500px;
    justify-content: space-between;
}

.drug-store-content-item__count{
    width: 750px;
}

.drug-store-content-item__label {
    color: #B8B8B8;
}

.drug-store-content-item__label_black {
    color: #111111;
}

.drug-store-content-item__label_green {
    color: #00AA8A;
    margin-right: 40px;
}

.drug-store-content-item__value_green {
    color: #00AA8A;
}

.drug-store-content-item__value_black {
    color: #111111;
}

.drug-store-content-splitter {
    width: 100%;
    height: 1px;
    background: #00AA8A;
    margin-bottom: 20px;
}

.drug-store-content-inline-item {
    display: flex;
    gap: 50px;
}

.drug-store-content-address {
    margin-bottom: 10px;
}

.mo-search-container {
    margin-bottom: 10px;
}

.drug-store-filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    width: fit-content;
    color: #005398;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 0;
}

.drug-store-filter-title.toggler-button--1 {
    cursor: pointer;
}

.drug-store-filter-title.toggler-button--1::after {
    width: 12px;
    height: 9px;
    margin-top: 2px;
    background-image: url("../../img/pharm-drug-search/arrow-down-blue.svg");
    transform: rotate(-180deg);
}

.drug-store-filter-title.toggler-button--1.is-active::after {
    transform: rotate(0);
}

.block-1__drug {
    border: 1px solid #DADADA;
    border-radius: 10px;
    padding: 15px;
}

.block-1__drug:has(div > .is-active) {
    font-weight: 700;
    border-color: #00AA8A;
}
.block-1__drug:has(div > .is-active) .drug-description{
    color: #000;
}

.drug-store-item:has(div > .is-active) .drug-store-name {   
    font-weight: 700;
}

.extra-filter-row {
    margin-bottom: 10px;
}

.sort-container {
    margin-bottom: 15px;
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.sort-container .drop__list {
    gap: 20px;
}

.sort-item {
    cursor: pointer;
}

.sort-item_selected {
    color: #005398;
}

.price-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-logo-mobile {
    display: none;
}

.drug-logo {
    display: flex;
    margin-top: 20px;
    justify-content: center;
}

.form-block-column__label_mobile {
    display: none;
}
.cabinet-search-drug {
    align-items: center;
    justify-content: space-between;
}

.sort-item-title .button-drug-info {
    display: none;
}

.sort-container .drop {
    display: flex;
    gap: 20px;
    align-items: baseline;
}

.form-block-checkbox__checkbox_green img {
    width: 20px;
    height: 20px;
}

.form-block-checkbox__text {
    font-size: 16px;
}

@media (max-width: 992px) {
    .drug-store-content-item {
        flex-direction: column;
    }
    
    .drug-store-content-inline-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .drug-store-content-item__label_green {
        margin-right: 0;
    }

    .search-logo-mobile {
        display: block;
    }

    .search-logo {
        display: none;
    }
    
    .sort-container {
        flex-direction: column;
    }
    
    .drop__list{
        margin-top: 0;
    }

    .sort-container .drop__list {
        flex-direction: column;
        gap: 10px
    }
    
    .cabinet-search-drug {
        justify-content: flex-start;
        gap: 10px;
    }

    .pharm-tabs-container {
        flex-direction: column;
    }
    
    .pharm-tab {
        white-space: pre-line;
    }

    .pharm-tab:first-child {
        border-radius: 10px 10px 0 0;
    }

    .pharm-tab:last-child {
        border-radius: 0 0 10px 10px;
    }

    .extra-filter-row {
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .pharm-search-split {
        display: none;
    }
    
    .form-block-column__label_mobile {
        display: block;
        padding-bottom: 15px;
    }
    
    .form-block-column__label {
        font-size: 14px;
    }
    
    .mo-search-container {
        margin-top: 10px;
        padding-bottom: 10px;
    }
    
    .form-block-column__free-search {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .drug-name {
        padding: 0;
        text-align: start;
    }

    .sort-item-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .sort-item-title .button-drug-info {
        padding: 0;
        display: flex;
        width: 16px;
        height: 16px;
        align-items: center;
        padding-right: 28px;
        padding-top: 3px;
    }
    .sort-container .drop {
        flex-direction: column;
        gap: 10px;
    }
    .sort-container{
        margin-top: 20px;
    }
}

.select2-selection__placeholder {
    color: #A9A9A9 !important;
}

.mo-search-container{
    margin-top: 0;
}

#main-filter{
    padding-bottom: 25px;
}

.form-block-column__label_desk{
    display: block;
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    #main-filter{
        padding-bottom: 10px;
    }
    .form-block-column__label_desk{
        display: none;
    }
}

#price-from{
    width: 87px !important;
    height: 40px !important;
}

#price-to{
    width: 87px !important;
    height: 40px !important;
}

.search-block {
    width: 17%;
}

@media (max-width: 992px) {  
    .search-block {
        width: 50%
    }
}

.slider {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-left: 55px;
    margin-top: 20px;
  }
  .slider .tooltip{
    display: none;
  }
  .slider.slider-horizontal {
    width: 210px;
    height: 20px;
  }
  .slider.slider-horizontal .slider-track {
    height: 5px;
    width: 100%;
    margin-top: -5px;
    top: 30%;
    left: 0;
  }
  .slider.slider-horizontal .slider-selection {
    height: 100%;
    top: 0;
    bottom: 0;
  }
  .slider.slider-horizontal .slider-handle {
    margin-left: -10px;
    margin-top: -5px;
  }
  .slider.slider-horizontal .slider-handle.triangle {
    border-width: 0 10px 10px 10px;
    width: 0;
    height: 0;
    border-bottom-color: #0480be;
    margin-top: 0;
  }
  .slider.slider-vertical {
    height: 210px;
    width: 20px;
  }
  .slider.slider-vertical .slider-track {
    width: 10px;
    height: 100%;
    margin-left: -5px;
    left: 50%;
    top: 0;
  }
  .slider.slider-vertical .slider-selection {
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
  }
  .slider.slider-vertical .slider-handle {
    margin-left: -5px;
    margin-top: -10px;
  }
  .slider.slider-vertical .slider-handle.triangle {
    border-width: 10px 0 10px 10px;
    width: 1px;
    height: 1px;
    border-left-color: #0480be;
    margin-left: 0;
  }
  .slider input {
    display: none;
  }
  .slider .tooltip-inner {
    white-space: nowrap;
  }
  .slider-track {
    position: absolute;
    cursor: pointer;
    background-color: #f7f7f7;
    background-image: -moz-linear-gradient(top, #DADADA, #DADADA);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#DADADA), to(#DADADA));
    background-image: -webkit-linear-gradient(top, #DADADA, #DADADA);
    background-image: -o-linear-gradient(top, #DADADA, #DADADA);
    background-image: linear-gradient(to bottom, #DADADA, #DADADA);
    background-repeat: repeat-x;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }
  .slider-selection {
    position: absolute;
    background-color: #f7f7f7;
    background-image: -moz-linear-gradient(top, #00AA8A, #00AA8A);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#00AA8A), to(#00AA8A));
    background-image: -webkit-linear-gradient(top, #00AA8A, #00AA8A);
    background-image: -o-linear-gradient(top, #00AA8A, #00AA8A);
    background-image: linear-gradient(to bottom, #00AA8A, #00AA8A);
    background-repeat: repeat-x;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#fff9f9f9', endColorstr='#fff5f5f5', GradientType=0);
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
  }
  .slider-handle {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #000;
    background-image: -moz-linear-gradient(top, #00AA8A, #00AA8A);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#00AA8A), to(#00AA8A));
    background-image: -webkit-linear-gradient(top, #00AA8A, #00AA8A);
    background-image: -o-linear-gradient(top, #00AA8A, #00AA8A);
    background-image: linear-gradient(to bottom, #00AA8A, #00AA8A);
    background-repeat: repeat-x;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(0, 0, 0, .05);
    opacity: 0.9;
    border-radius: 16px !important;
  }
  .slider-handle.round {
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
  }
  .slider-handle.triangle {
    background: transparent none;
  }

.drug-description {
    display: block;
    color:#808080;
    font-size: 14px;
}


.lk-benefit__button{
    width: 172px;
    max-width: 172px;
}
.toggler-button--1{
    justify-content: center;
    gap: 10px
}

.drug-store-content-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drug-store-content-item-price{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.drug-store-content-2{
    width: 150px;
    display: flex;
    justify-content: center;
    height: 70px;
    border-left: 1px solid #A9A9A9;
    align-items: center;
}

.drug-store-content-item__wrapper{
    width: 250px;
}
.drop__list{
    margin-top: 10px;
}
.select2-selection__clear{
    color: #A9A9A9;
}

.drug-store-name-red{
    font-size: 20px;
    font-weight: 700;
    color: #EB5757;
}
.drug-store-header-red{
    display: flex;
    padding: 20px 0 10px 0px;
}
.drug-store-sub-header{
    padding: 5px 0 20px 20px;
}

.drug-store-content-item__calendar{
    width: 250px;
}

.drug_title{
    width: 70%;
    word-wrap: break-word;
}

.search-form__button{
    right: 30px;
    top: 44px;
}
.search-form__button-icon{
    width: 10px;
    height: 10px;
}

.drug-store-content-address{
    width: 900px;
}

.drug-store-content-item__width{
    width: 650px;
}

/*.drug-store-content-item__rest{
    width: 170px;
}*/

.drug-store-content-item__title{
    margin-bottom: 20px;
}

@media (max-width: 992px) {  
    .drug-store-name{
        font-size: 16px;
    }
    .drug-description {
        text-align: start;
        padding: 0;
    }
    .cabinet-search-drug{
        display: flex;
        justify-content: flex-start;
    }
    .benefit-vertical-button{
        width: 100% !important;
    }
    .toggler-button--1{
        justify-content: space-between;
    }
    .lk-benefit__button{
        max-width: unset;
    }
    .button-drug-info::after{
        display: block;
    }
    .drug-store-content-item{
        width: 100%;
    }
    .drug-store-content-inline-item .drug-store-content-item{
        flex-direction: row;
    }
    .drug-store-content-address{
        width: 90%;
    }
    .form-block__select-wrapper .select2-container--default .select2-selection--single .select2-selection__placeholder{
        font-size: 16px;
    }
    .form-block__field{
        font-size: 16px;
    }
    .drug_title{
        width: 100%;
    }
}