.distribution-system {
    background-color: #F6F6F6;
    padding: 20px 0px;
}

.system-body {
    padding: 0;
    border-radius: 40px;
}

.distribution-system__body--filter {
    box-sizing: border-box;
    height: -moz-fit-content;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 5px 15px;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;
}
.distribution-system__body--filter__head {
    display: flex;
    margin-bottom: 24px;
    border: unset
}
.condition-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0px;
}
.condition-custom__line {
    width: 50%;
    height: 1px;
    background-color: #ccc;
}
.condition-custom__text{
    padding: 0px 10px;
    font-size: 13px;
}
.form-group-select.mb-18.has-select2 {
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    border: 2px solid #f6f7fb;
    border-radius: 32px;
    padding: 10px 20px;
    background-color: white;
    font-size: 15px;
    color: #747474;
    margin-bottom: 15px;
}
.distribution-system .distribution-system__body--filter input,
.distribution-system .distribution-system__body--filter select {
    width: 99%;
    /* font-size: 15px; */
    /* box-sizing: border-box; */
    /* border: 2px solid #f6f7fb; */
    /* border-radius: 32px; */
    /* padding: 12px 20px; */
    background-color: white;
    /* font-size: 15px; */
    /* color: #747474; */
    /* margin-bottom: 15px; */
    border: none;
}
.distribution-system .distribution-system__body--filter button{
    padding: 10px 20px;
    background: rgb(18, 37, 157);
    background: linear-gradient(0deg, rgba(18, 37, 157, 1) 0%, rgba(29, 55, 222, 1) 100%);
    border-radius: 32px;
    color: white;
    font-size: 14px;
    margin: 0 auto;
    display: block;
    margin-top: 0px;
}
.distribution-system .form-group svg {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%)
}
.distribution-system__head {
    margin-bottom: 20px;
}

.distribution-system__head h1 {
    font-size: 29px;
    margin-bottom: 0px;
    color: #000;
    font-weight: 600;
}
.medicinal-detail__info--tabcontent{
    margin-bottom: 15px;
}



.distribution-system__body--filter__head span {
    font-weight: 600;
    font-size: 15px;
    position: relative;
    cursor: pointer;
    padding: 0px;
    border: 0;
    border-radius: 0px;
}

.distribution-system__body--filter__head span:first-child {
    margin-right: 5px;
	background: #fff
}
.distribution-system__body--content__box .ward {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 16px;
}






.distribution-system__body--content__box .ward:first-child {
    margin-top: 0
}
.search-nhathuoc-keper {
    width: 72% !important;
    font-size: 15px;
    box-sizing: border-box;
    border: 2px solid #f6f7fb !important;
    border-radius: 32px;
    padding: 10px 20px;
    background-color: white;
    font-size: 15px;
    color: #747474;
    /* margin-bottom: 15px; */
}

.distribution-system .distribution-system__body--filter select:focus-visible {
    outline: none;
}



@media(max-width:768px) {
    .distribution-system__body--content__box .ward {
        font-size: 18px;
        line-height: 26px
    }
}

.system-store-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px
}

.system-store-item .info-head span {
    font-weight: 700;
    color: var(--color-secondary);
    display: none
}

@media(max-width:768px) {
    .system-store-item .info-head span {
        display: block
    }
}

.system-store-item__init {
    display: flex;
    justify-content: space-between;
    align-items: start;
    cursor: pointer;
    width: 78%;
}

.system-store-item__init .info-more {
    text-align: right;
    display: flex
}

.system-store-item__init .info-more span {
    font-weight: 700;
    color: var(--color-secondary);
    margin-right: 10px;
    width: -moz-max-content;
    width: max-content
}

@media(max-width:768px) {
    .system-store-item__init .info-more span {
        display: none
    }
}

.system-store-item__name {
    font-size: 17px;
    line-height: 1.4;
}

@media(max-width:768px) {
    .system-store-item__name {
        font-size: 18px;
        line-height: 26px
    }
}

@media(max-width:768px) {
    .system-store-item__desc {
        font-size: 12px;
        line-height: 20px
    }
}

.system-store-item__expand {
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: all .3s ease
}

.system-store-item__expand.active {
    transform: rotate(180deg)
}

.system-store-item__content {
    /* display:none; */
    /* padding-right: 60px; */
    width: 20%;
}

@media(max-width:768px) {
    .system-store-item__content {
        padding-right: 0
    }
}

@media(max-width:768px) {
    .system-store-item__content>div {
        display: block
    }
}

.system-store-item__content img {
    border-radius: 20px;
    /*! max-width: 275px; */
    margin-right: 16px
}

@media(max-width:768px) {
    .system-store-item__content img {
        max-width: unset;
        margin-right: 0;
        margin-bottom: 5px;
        width: 100%
    }
}

@media(max-width:768px) {
    .system-store-item__content--info {
        font-size: 14px;
        margin-bottom: 8px
    }
}

.system-store-item__content--info__address,
.system-store-item__content--info__phone {
    font-weight: 500;
    padding-bottom: 0px;
}

.system-store-item__content--info__actions {
    margin-top: 8px;
    display: flex
}

@media(max-width:460px) {
    .system-store-item__content--info__actions {
        flex-wrap: wrap
    }
}

.system-store-item__content--info__actions .button-secondary {
    display: none !important
}

@media(max-width:768px) {
    .system-store-item__content--info__actions .button-secondary {
        display: block
    }
}

.system-store-item__content--info__actions a {
    padding: 8px 20px;
    background: linear-gradient(0deg, rgba(18, 37, 157, 1) 0%, rgba(29, 55, 222, 1) 100%);
    border-radius: 32px;
    font-size: 15px;
    margin-top: 0px;
    display: block;
    margin-bottom: 20px
}

@media(max-width:768px) {
    .system-store-item__content--info__actions a {
        display: block;
        width: 100%;
        box-sizing: border-box
    }
}

@media(max-width:768px) {
    .system-store-item__content--info__actions a:first-child {
        margin-right: 10px
    }
}

@media(max-width:460px) {
    .system-store-item__content--info__actions .show_way_to_store {
        margin-bottom: 10px;
        margin-right: 0 !important
    }
}

.system-store-item__content--info__actions button {
    padding: 12px 25px
}

@media(max-width:768px) {
    .system-store-item__content--info__actions button {
        display: block;
        width: 100%
    }
}

.system-store-item__content--info__actions button:first-child {
    margin-right: 10px
}

.system-store-item__content--products__title {
    font-size: 1.25rem;
    line-height: 32px;
    margin-bottom: 14px
}

.system-store-item__content--products__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 16px;
    column-gap: 16px;
    row-gap: 16px;
    margin-bottom: 0;
    max-height: -moz-max-content;
    max-height: max-content;
    overflow: hidden
}

@media(max-width:768px) {
    .system-store-item__content--products__list {
        display: block
    }
}

.system-store-item__content--products__list .product-store-item {
    display: flex;
    align-items: center
}

@media(max-width:768px) {
    .system-store-item__content--products__list .product-store-item {
        margin-bottom: 10px
    }
}

.system-store-item__content--products__list .product-store-item a {
    display: flex;
    align-items: center
}

.system-store-item__content--products__list .product-store-item p:first-child {
    display: flex;
    margin-right: 20px;
    padding-bottom: 0px;
    /*! width: 100%; */
    border-radius: 5px;
    overflow: hidden
}

.system-store-item__content--products__list .product-store-item__img {
    margin-bottom: 0;
    border-radius: unset;
    margin-right: 0;
    /*! max-width: unset; */
    height: 50px;
    min-width: 50px;
}

.system-store-item__content--products__list .product-store-item__title {
    font-weight: 400;
    font-size: 15px;
    padding-bottom: 0px;
    flex: 1;
}

.system-store-item__content--products__list.show-full {
    max-height: unset
}

.system-store-item__content--products__expand {
    margin-bottom: 36px;
    display: none
}

.system-store-item__content--products__expand div {
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center
}

.system-store-item__content--products__expand div span {
    margin-right: 13px;
    transition: all .3s ease
}

.system-store-item__content--products__expand div svg {
    transition: all .3s ease
}

.system-store-item__content--products__expand div svg path {
    transition: all .3s ease
}

.system-store-item__content--products__expand div:hover span {
    color: var(--color-primary)
}

.system-store-item__content--products__expand div:hover svg {
    fill: var(--color-primary)
}

.system-store-item__content--products__expand div:hover svg path {
    fill: var(--color-primary)
}

.system-store-item__content--products__expand div.active {
    display: flex
}

.system-store-item__content--products__img>div {
    display: grid;
    grid-template-columns: auto auto auto auto;
    -moz-column-gap: 16px;
    column-gap: 16px;
    row-gap: 16px
}
.box_pharmacy {
    display: flex;
    flex-wrap: wrap;
}
@media(max-width:992px) {
    .system-store-item__content--products__img>div {
        grid-template-columns: auto auto auto
    }
}

@media(max-width:768px) {
    .system-store-item__content--products__img>div {
        grid-template-columns: auto auto
    }
}

.system-store-item__content--products__img>div img {
    margin-bottom: 0
}

.system-store-item__content.active {
    display: block
}

.popup-distribution-system {
    z-index: 99999 !important
}

@media(max-width:768px) {
    .popup-distribution-system {
        max-width: 100% !important
    }
}

.popup-distribution-system-filter-mb {
    max-width: 100%;
    padding: 0
}

.distribution-system__body--filter-mb-content {
    display: block;
    width: 100%;
    margin: 0;
    max-width: unset
}

.distribution-system__body--filter-mb-content .distribution-system__body--filter__head {
    justify-content: start
}

.distribution-system__body--filter-mb-content .distribution-system__body--filter__head .head_tab:first-child {
    margin-right: 25px
}

.distribution-system__body--filter-mb-content .distribution-system__body--filter__body .form-group:first-child {
    position: relative
}

.distribution-system__body--filter-mb-content .distribution-system__body--filter__body .form-group:first-child input {
    width: 100%;
    box-sizing: border-box;
    padding-right: 60px
}

.distribution-system__body--filter-mb-content .distribution-system__body--filter__body .form-group:first-child svg {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%)
}

.distribution-system__body--filter-mb-content .distribution-system__body--filter__body .form-group-select {
    width: 100%;
    margin: 0
}

@media(max-width:768px) {
    .box-form-mains {
        flex-wrap: wrap;
    }
    
    .search-nhathuoc-keper {
        width: 100% !important;
        margin-bottom: 10px;
    }
    
    .distribution-system__body--filter-mb {
        display: block;
        font-size: 1rem;
        padding: 10px 20px;
        background: var(--color-primary);
        border-radius: 5px;
        color: #ffff;
        margin: 0 auto;
        margin-bottom: 15px
    }
.system-body {
  background-color: white;
  padding: 20px 15px;
  border-radius: 27px;
}
}
hr {
    margin-top: 0px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    height: 1px;
  }
.item_pharmacy{
    margin-bottom: 10px;
    width: calc(98% / 3);
}
.item_pharmacy ul{
}
.item_pharmacy ul li{list-style: disc;margin-left: 20px;}
.item_pharmacy ul li a{
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}
.item_pharmacy h2 a:hover,
.item_pharmacy ul li a:hover{
    color: #0265b2;
}
.item_pharmacy h2 a{
    display: block;
    font-size: 17px;
    margin-bottom: 10px;
    border-bottom: 1px solid #cdcdcd;
    padding-bottom: 3px;
}
.item_pharmacy:nth-child(2) {
    padding: 0px 15px;
}
p.system-store-item__desc {
    padding-bottom: 0px;
}
.system-store-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .system-store-item__init {
        width: 100%;
    }
    
    .system-store-item__content {
        width: 100%;
        text-align: center;
    }
    .system-store-item {
        padding-bottom: 0px;
        margin-bottom: 0px;
    }
}