.search-practitioner-page {
    position: relative;
    padding: 1px;
}

.search-practitioner-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: var(--img-register);
    filter: var(--img-register-filter);
}

.main-container {
    padding: 0;
}

.main-container .card {
    margin-top: 32px;
    margin-bottom: 10px;
    padding: 0;
    overflow: auto;
}

.main-container .card:first-child {
    margin-top: 44px;
    margin-bottom: 18px;
    border-radius: 10px;
}

.main-container .card:last-child {
    margin-bottom: 80px;
}

.main-container h2, .more-appointments {
    color: var(--color-primary);
    font-size: 24px;
    padding: 0;
    margin: 0;
}

button i {
    margin-right: 15px;
}

.practitioner {
    border-radius: 0;
    text-align: center;
    width: auto;
    padding-bottom: 10px;
    border-bottom: 1px solid #b7b7b7;
}

.schedule[data-target-schedule] {
    position: relative;
    padding-top: 10px;
}

.schedule[data-target-schedule] .schedule-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background-color: #eeeeeeee;
}

.schedule[data-target-schedule] .schedule-overlay-content {
    position: absolute;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    color: #555;
}

.schedule[data-target-schedule] .alert {
    font-size: 14px;
    margin: 0;
}


div.search-result {
    background-color: #fff;
    height: auto;
}

div.search-result .map {
    position: fixed !important;
    top: 125px;
    right: 0;
    bottom: 0;
    max-height: 100vh;
    z-index: 1;
}

div.search-result > div > :nth-last-child(2) {
    border: 0 !important;
}

@media screen and ( max-width: 500px ){

    li.page-item {

        display: none;
    }

    .page-item:first-child,
    .page-item:nth-child( 4 ),
    .page-item:nth-last-child( 4 ),
    .page-item:last-child,
    .page-item.active,
    .page-item.disabled {

        display: block;
    }
}


.schedule {
    max-width: 750px;
    margin: 0 auto;
}

.practitioner .cont button {
    letter-spacing: 0.03em;
}

.practitioner .more {
    line-height: 18px;
    cursor: pointer;
}

.practitioner .more i {
    font-size: 28px;
}

.practitioner .thumb {
    max-width: 66px;
    width: 66px;
    max-height: 66px;
    height: 66px;
    margin: 25px auto;
    background-image: url(../img/icons/user.png);
    background-position: center;
    background-repeat: no-repeat no-repeat;
    background-size: cover;
    border-radius: 50%;
}

.practitioner .name a {
    color: var(--color-primary);
}

.practitioner .address, .practitioner .doc-title {
    font-style: italic;
    line-height: 18px;
}

.practitioner .address {
    margin-top: 26px;
}

.practitioner .address .location {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 15px;
    padding: 5px;
}

.practitioner .address .location.active {
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;

    background-color: #f7f7f7;
}

.practitioner .address .location.inactive {
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 16px;
}

.address .location br {
    margin-top: 10px;
}

.practitioner .g_map, .practitioner .g_map iframe {
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.practitioner .g_map {
    text-align: center;
    margin-right: 0;
    padding: 0;
    position: relative;
    float: right;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.show-all-locations {
    margin-top: 10px;
    font-size: 16px;
    color: var(--color-primary);
    cursor: pointer;
}

.practitioner .address .location.inactive:hover {
    cursor: pointer;
    color: #fc9841;
}

.practitioner .address .location.active {
    color: var(--color-primary);
}

.practitioner .address .location:nth-child(n+4) {
    display: none;
}

.gm-style-iw-d {
    font-size: 16px;
    color: #000;
    font-weight: bolder;
}

.table-borderless > tbody > tr > td,
.table-borderless > tbody > tr > th {
    border: none;
}

.schedule .table tr.month-name {
    background-color: transparent;
    font-weight: bold;
}

.schedule .table tr.month-name > td {
    padding: 5px;
}

.doctor-schedule {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    padding-bottom: 10px;
    border: 0;
    table-layout: fixed;
    border: none;
}

.doctor-schedule td, .doctor-schedule th {
    text-align: center;
    font-size: 14px;
    text-transform: capitalize;
}

.doctor-schedule > tbody > tr > td {
    padding: 3px;
    font-size: 14px;
    height: 32px;
    min-width: 60px;
}

.doctor-schedule tbody td div {
    padding: 5px;
    margin: 3px;
}

table.doctor-schedule.collapsed tbody tr:nth-child(n+7) {
    display: none;
}

.doctor-schedule > thead > tr > th {
    text-align: center;
    color: #000;
    padding: 5px;
    text-wrap: none;
}

.doctor-schedule thead .date_day {
    color: #8a8a8a;
    font-weight: normal;
}

.time-switchers {
    position: relative;
    vertical-align: top;
    padding: 0 5px;
}

.time-switchers.disabled {
    color: rgb(128, 128, 128);
}

.time-switchers .fa {
    font-size: 30px;
    cursor: pointer;
    color: var(--color-primary);
}

.time-switchers.disabled .fa {
    cursor: not-allowed;
    color: #ccc !important;
}

.time-switchers .fa:active {
    opacity: 0.8;
}

.time-switchers .fa-chevron-left,
.time-switchers .fa-chevron-right {
    margin-top: 20px;
}

.not-found {
    height: 200px;
    font-size: 18px;
    color: #000;
    display: flex;
    align-items: center;
    /* Vertical center alignment */
    justify-content: center;
    /* Horizontal center alignment */
}

.no-map {
    background-image: var(--img-no-map-logo);
    background-size: var(--img-no-map-size, 50% 50%) !important;
    background-color: white;
}

.schedule .table thead th:not(:first-child):not(:last-child) > span.show-first-last {
    display: none;
}

.schedule .table thead .day-month {
    vertical-align: middle;
}

@media (max-width: 400px) {
    table.doctor-schedule td:nth-child(n+4),
    table.doctor-schedule th:nth-child(n+4) {
        display: none;
    }
    table.doctor-schedule td {
        width: 33%;
    }
}

@media (max-width: 500px) {
    table.doctor-schedule td:nth-child(n+5),
    table.doctor-schedule th:nth-child(n+5) {
        display: none;
    }
    table.doctor-schedule td {
        width: 25%;
    }
}

@media (max-width: 600px) {
    table.doctor-schedule {
        table-layout: auto;
    }

    table.doctor-schedule td:nth-child(n+6),
    table.doctor-schedule th:nth-child(n+6) {
        display: none;
    }
}

@media (max-width: 990px) {

    .practitioner .thumb {
        float: left;
        margin-top: 1em;
        margin-left: -1.5rem;
    }

    .doctor-schedule {
        margin-top: 15px;
    }

    .time-switchers {
        top: 26px;
    }

    .practitioner .doc-cont {
        text-align: left;
        padding: 15px 0;
    }

    .practitioner .address {
        margin-top: 10px;
    }

    .practitioner .address .location {
        margin-bottom: 10px;
        display: flex;
    }

    .practitioner .address .location div {
        display: flex;
    }

    .practitioner .cont button {
        float: right;
        right: 0;
        position: absolute;
        top: -0.5em;
        width: 10rem;
        font-size: 14px;
    }

    .practitioner .address .location div:before {
        content: ', ';
        margin-right: 5px;
    }

    .practitioner .doc-cont .name {
        width: 80%;
        max-width: 80%;
    }

    .search-icon {
        float: right;
        margin-right: 5px;
        margin-top: 0 !important;
        position: relative;
    }

    .practitioner.card {
        overflow-y: hidden;
    }

    .practitioner .map,
    .practitioner .cont,
    .practitioner .cont-box {
        border: 0;
        width: 100%;
    }

    .practitioner .cont {
        background-clip: initial;
        padding-right: 0;
    }

    .cont-box {
        border-bottom-left-radius: 0;
    }

    .practitioner .map {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        padding-top: 0;
        height: 280px !important;
        border-top-right-radius: 0;
    }

    .practitioner .g_map {
        border-radius: 0 0 10px 10px;
    }

    .practitioner .doc-cont .name,
    .practitioner .doc-cont {
        float: none;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .practitioner .thumb {
        float: unset;
        margin-left: auto;
        margin-right: auto;
    }

    .practitioner .cont button {
        right: auto;
        padding: 5px 15px;
        position: relative;
        text-align: center;
        float: unset;
        margin: 10px 0;
    }

    .practitioner .doc-cont .name,
    .practitioner .address,
    .practitioner .doc-title,
    .practitioner .address .location {
        width: 100%;
        max-width: 100%;
        display: block;
        margin-left: 0;
        margin-right: 0;
    }

    .practitioner .address .location div {
        display: block;
    }

    .practitioner .address .location div:before {
        content: '';
        margin-right: 0;
    }

    .practitioner .doc-cont {
        padding-top: 0;
    }
}