
.button.border {
    background: #fff;
    border: 1px solid #00769C;
    color: #2C2C2C;
}
.form-filter-right .views-exposed-form {
    display: inline-block !important;
    justify-content: start !important;
    margin-bottom: 0px !important;
    float: left;
    width: 90%;
    position: relative;
}
.doctor-info {
    padding: 0px 20px;
}
.view-filters {
    width: 30%;
    box-shadow: 0px 4px 10px #0000000f;
    padding: 20px 0px 0px 20px;
    margin-right: 50px;
    float: left;
}
.view-header {
    width: 100%;
    padding: 20px 0;
}
.form-filter-right .views-exposed-form .form-item {
    margin-left: 0px !important;
}
.form-item {
    margin-bottom: 0px;
}
.doctor-profile {
    margin: -8px;
    display: flex;
    flex-wrap: wrap;
}
.doctor-profile .doctor-profile-box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    background: #ffffff;
    border-bottom: 1px solid #C4C4C4;
}
.doctor-profile .doctor-profile-box:nth-last-child(-n+1) {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0; /* optional */
}
.doctor-profile .doctor-profile-box .doctor-pro {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.doctor-profile .doctor-profile-box .doctor-img {
    display: flex;
}
.doctor-profile .doctor-profile-box .doctor-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 216px;
    height: 267px;
    background: #FFFFFF;
    border: 2px solid #017BA1;
    border-radius: 18px;
    margin-right: 23px;
    position: relative;
}

.doctor-profile .doctor-profile-box .doctor-img img {
    border-radius: 16px;
}
.doctor-profile .doctor-profile-box .doctor-info {
    flex: 1;
    width: 100%;
}
.doctor-profile .doctor-profile-box .doctor-info .doctor-info-top {
    border-bottom: 1px solid #C4C4CF;
    padding-bottom: 12px;
    margin-bottom: 11px;
}
.doctor-profile .doctor-profile-box .doctor-info .doctor-info-top h4 {
    font-size: 24px;
    font-family: 'Open Sans';
    font-weight: 700;
    color: #117C9E;
}
.doctor-profile .doctor-profile-box .doctor-info .doctor-info-top h5 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}
.doctor-profile .doctor-profile-box .doctor-info .doctor-info-top p {
    font-size: 14px;
    color: #4D4D4F;
    margin-top: 5px;
}
.doctor-profile .doctor-profile-box .doctor-info .doctor-info-bottom {
    margin-bottom: 14px;
}
.doctor-profile .doctor-profile-box .doctor-info .doctor-info-bottom .hospital-location {
    font-size: 14px;
    color: #4D4D4F;
    background: url("/assets/theme/images/location.svg") no-repeat left 4px;
    background-size: 12px;
    padding: 0 0 0 20px;
    min-height: 20px;
}
.doctor-profile .doctor-profile-box .book-appointment {
width: 60%;
    margin-left: 17em;
}
.book-appointment a, .book-appointment .button.small {
    width: calc(50% - 8px);
    padding: 4px 4px;
}
p.doc_title {
    font-size: 16px;
    font-weight: 600;
    font-family: "Open Sans";
    margin-top: 10px;
    color: #000000;
}
.doctor-info-bottom > p {
    font-size: 16px;
}
.button.small {
    border-radius: 28px !important;
    font-size: 16px !important;
    font-weight: 600;
    font-family: 'Open Sans';
    height: 46px;
    width: 90%;
}

label.form-item__label, span.fieldset__label.fieldset__label--group {
    color: #117C9E;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Open Sans';
    padding: 15px 0px;
}
.fieldset__wrapper.fieldset__wrapper--group {
    margin-top: 20px;
}
.form-filter-right .views-exposed-form .form-item.js-form-type-select {
    max-width: 100% !important;
}
fieldset#edit-speciality--wrapper {
    height: 230px;
    overflow-y: scroll;
    overflow-x: hidden;
    min-height: 700px;
}
.speciality-select-desktop {
    height: 230px;
    overflow-y: scroll;
    overflow-x: hidden;
    min-height: 700px;
}
input.form-radio.form-boolean.form-boolean--type-radio {
    display: none;
}
.form-type-boolean.js-form-item.form-item.js-form-type-radio.form-item-speciality.js-form-item-speciality > label {
    color: #4D4D4F;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Open Sans';
    border-radius: 8px;
    padding: 6px 8px;
    margin: 0 8px 8px 0;
    cursor: pointer;
}
.heading1 {
    color: #117C9E !important;
}

input.form-radio.form-boolean.form-boolean--type-radio:checked + label {
    color: #fff !important;
    background: #117C9E !important;
}

a.clear-all {
    float: right;
    margin-top: 10px;
}
.filters_main {
    width: 30%;
    padding: 20px 0px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Open Sans';
}
.view-footer {
    padding: 20px 0px;
}
select#edit-field-specialities-ref-1 {
    display: none;
}
.speciality-select-mobile{
    display: none;
}
div#edit-speciality {
    display: inline-block;
}
/*li.pager__item.pager__item--number {
    background: #19A5AA;
    color: #117D9C;
}*/
.pager .pager__items {
    gap: 10px;
}
.form-filter-right .view-header .heading1 {
    float: left;
    font-size: 32px;
}
/*.pager .pager__items li.pager__item--active, .pager .pager__items li > a.pager__item--active {
    background: #017BA1!important;
}
.pager .pager__items li.pager__item--next a, .pager .pager__items li > a.pager__item--next a {
    background: #19A5AA url(/assets/theme/images/right-arrow.svg) no-repeat center center !important;
}
.pager .pager__items li.pager__item--previous a, .pager .pager__items li > a.pager__item--previous a {
    background: #19A5AA url(/assets/theme/images/left-arrow.svg) no-repeat center center !important;
}*/
nav.pager.layout--content-medium {
    margin-left: 5%;
    padding-bottom: 40px;
}
.doctor-listing.doctor-listing-page {
    width: 100%;
    display: inline-block;
    padding: 20px 0;
}
h4.popup_title {
    color: #117C9E;
    font-size: 24px;
    margin-bottom: 0px;
    font-weight: bold;
    line-height: 40px;
    font-family: 'Open Sans';
    text-align: center;
}
select#location-select,select#speciality-select {
    margin-bottom: 10px !important;
}
form#select-location-form {
    text-align: center;
    display: inline-block;
        width: 75%;
}
/*Media queries*/
@media only screen and (max-width: 767px) {
.view-filters {
    width: 100%; 
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.form-filter-right .views-exposed-form .form-item
{
    width: 100% !important;
    margin-left: 0;
}
.doctor-profile {
    margin: 0px;
    display: inline-block;
    flex-wrap: wrap;
}
.doctor-info {
    padding: 0px;
}
.doctor-profile .doctor-profile-box .doctor-img {
    display: inline-block;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    background: #FFFFFF;
    border: 0px solid #017BA1;
    border-radius: 18px;
        margin: 0 auto;

    position: relative;
}
.doctor-profile .doctor-profile-box .doctor-pro {
    text-align: center;
}
.filters_main {
    width: 100%;
    padding: 20px 20px;
}

.doctor-profile .doctor-profile-box .book-appointment {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-left: 0;
}
.form-filter-right .views-exposed-form .form-item-search-api-fulltext .form-text {
        box-shadow: none !important;
        height: auto !important;
    }

    .doctor-profile .doctor-profile-box .doctor-info .doctor-info-bottom {
    margin-bottom: 14px;
    text-align: left;
}
select#edit-field-specialities-ref-1 {
    display: list-item;
}
.speciality-select-mobile{
    display: list-item;
    margin-top: 5px !important;
}

div#edit-speciality {
    display: none;
}

.speciality-select-desktop{
    display: none;
}
fieldset#edit-speciality--wrapper {
    height: auto;
    overflow-y: scroll;
    overflow-x: hidden;
    min-height: auto;
}

.doctor-profile .doctor-profile-box {
    width: 100%;
    margin: 0px;
    padding: 15px;
    border-bottom: 0px solid #C4C4C4;
    box-shadow: 0px 4px 10px #0000000f;
    margin-bottom: 20px;
}
    .book-appointment a, .book-appointment .button.small {
        width: 100% !important;
    }
    .form-filter-right .views-exposed-form {
    width: 95%;
}
.form-item {
    margin-bottom: 0px !important;
}
.form-select {
    margin-bottom: 0px !important;
}
a.clear-all {
    float: right;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 12px;
}
}

label.form-item__label.option:hover {
    color: #fff !important;
    background: #117C9E !important;
}

.doctor-listing-page form .form-text, .doctor-listing-page form .form-select {
  color: #4D4D4F !important;
}

/* Style for disabled buttons */
button:disabled,
.button[disabled],
button.disabled {
    cursor: not-allowed;
    pointer-events: auto;
        opacity: .5;
}

.doctor-listing-page.form-filter-right .views-exposed-form .filters-txt {
    margin-bottom: 20px;
    font-size: 16px;
    font-family: Open Sans;
    font-weight: 500;
    line-height: 100%;
}

.doctor-listing-page.form-filter-right .views-exposed-form .form-actions {
    display: block;
}

.doctor-listing-page.form-filter-right .views-exposed-form .form-actions input[type="submit"]{
    background-color: unset;
    border: unset;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #117C9E;
    position: absolute;
    top: -15px;
    right: 0px;
    font-family: "Open Sans";
}

@media screen and (min-width: 768px) {
    .form-item-field-specialities-ref-1 label.form-item__label {
        display: none;
    }
}

@media screen and (max-width: 768px) {
   .doctor-profile .doctor-profile-box:nth-last-child(-n+1) {
    margin-bottom: 20px;
    padding-bottom: 15px;
  }
  nav.pager .pager__items {
    justify-content: center;
  }
  
    .doctor-profile .doctor-profile-box .book-appointment {
    width: 100%;
    margin-left: 0;
}
.button.small {
    border-radius: 28px !important;
    font-size: 14px !important;
    font-weight: 600;
    font-family: 'Open Sans';
    height: 46px;
    width: 100%;
}
h4.popup_title {
    font-size: 16px;
}
p.subheading {
    font-size: 12px;
}
}


@media screen and (max-width: 767px) {
    .doctor-listing-page .views-exposed-form fieldset {
        display: none;
    }
}