/* ------------- Google Fonts ------------- */

/* Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');



/* ---------------- Basic CSS ---------------- */

:root {
    --font-poppins: "Poppins", sans-serif;
    --font-montserrat: "Montserrat", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}




body {
    font-family: var(--font-poppins);
    font-weight: 400;
    background: #f1f1f1;
}



/* ---------------- Main CSS ---------------- */

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

.main_wrapper {
    background: #fff;
    padding: 50px 5px 40px 5px;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
}

/* consultant wrapper */

.consultant_wrapper {
    width: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    border-right: 1px solid #4BC2C6;
    transition: 700ms;
    overflow: hidden;
}

.consultant_wrapper.show{
    width: 320px;
    padding: 0 55px 0 35px;
    opacity: 1;
    pointer-events: auto;
}

.consultant_wrapper_inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.consultant_boxs {
    flex-grow: 1;
    overflow: auto;
    max-height: 500px;
}


.consultant_box:not(:last-child) {
    margin-bottom: 10px;
}

.consultant_wrapper_close {
    display: none;
}

.consultant_box .title {
    font-size: 13px;
    font-family: var(--font-montserrat);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    background: #4B78D7;
    border-radius: 6px;
    text-align: left;
    padding: 5px 12px;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.consultant_box .consultant_toggler::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 6px;
    width: 7px;
    height: 7px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: 300ms;
}

.consultant_box .consultant_toggler.active::after {
    transform: rotate(-135deg);
    top: 11px;
}

.consultant_box .time_list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    /*justify-content: center;*/
    gap: 6px;
    padding: 11px 0;
}

.consultant_box .time_list li {
    background: #EDEDED;
    font-size: 11.5px;
    font-family: var(--font-poppins);
    line-height: 1;
    color: #000;
    padding: 5px;
    white-space: nowrap;
}

.consultant_box .name_list {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.consultant_box .name_list li {
    list-style: none;
    padding: 3px;
    background: #4BC2C6;
    border-radius: 4px;
    text-align: center;
    color: #fff;
    font-family: var(--font-poppins);
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: 300ms;
}

.consultant_box .name_list li:hover {
    background: #34d5db;
}

.consultant_box .name_list li:not(:last-child) {
    margin-bottom: 7px;
}

.consultant_box_body {
    /*max-height: 0;*/
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}



.confirm_btn_wrap {
    padding-top: 18px;
    text-align: center;
}

.confirm_btn {
    font-size: 14px;
    font-family: var(--font-montserrat);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    background: #4B78D7;
    border-radius: 16px;
    text-align: center;
    padding: 5px 24px;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    transition: 300ms;
}

.confirm_btn:hover:not(:active) {
    background: #4BC2C6;
}

.confirm_btn:active {
    transform: scale(1.1);
}


/* Calendar Wrapper */

.calendar_wrapper {
    width: 650px;
    padding: 0 30px;
    background: #fff;
}

@media (min-width: 992px) {
    .calendar_wrapper {
        position: relative;
        z-index: 2;
    }
}

#calendar{
    width: 100%;
}

.calendar_title h3 {
    color: #000;
    font-weight: 600;
    font-family: var(--font-poppins);
    line-height: 1.2;
    font-size: 22px;
    padding-bottom: 16px;
}

.calendar_title h4 {
    color: #4BC2C6;
    font-weight: 600;
    font-family: var(--font-poppins);
    line-height: 1.2;
    font-size: 17px;
}

.fc .fc-toolbar.fc-header-toolbar{
    margin-top: -22px;
    margin-bottom: 10px;
}

.fc-toolbar-chunk>div {
    display: flex;
    align-items: center;
}

.fc .fc-toolbar-title {
    color: #6A727D;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: var(--font-poppins);
    margin-top: 2px;
    padding-right: 5px;
}

.fc .fc-button {
    padding: 0;
    color: #4B78D7;
    background: transparent;
    border: none;
    outline: none;
}

.fc .fc-button-primary:focus {
	box-shadow: none !important;
}

.fc .fc-button:hover {
    background: #4BC2C6;
}

.fc-theme-standard .fc-scrollgrid {
	border: none;
}

.fc-theme-standard td, .fc-theme-standard th {
	border: none;
}

.fc th {
    color: #6A727D;
    font-weight: 600;
    font-family: var(--font-poppins);
    font-size: 15px;
    line-height: 1.2;
    text-transform: uppercase;
    border-bottom: 1px solid #4BC2C6;
    vertical-align: middle;
}

.fc td {
    color: #6A727D;
    font-weight: 500;
    font-family: var(--font-poppins);
    font-size: 18px;
    line-height: 1.2;
    text-transform: uppercase;
    vertical-align: middle;
    cursor: pointer;
}

.fc td.selected {
    color: #fff;
}

.fc td.selected .fc-daygrid-day-top {
    opacity: 1;
}

.fc .fc-daygrid-day.fc-day-today {
	background-color: transparent;
    position: relative;
    color: #fff;
}

.fc .fc-daygrid-day.fc-day-today::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
	background: #4B78D7;
    color: #fff;
	border-radius: 50%;
}

.fc .fc-daygrid-day-bg {
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
	background: rgb(233, 0, 0);
    color: #fff;
	border-radius: 50%;
    opacity: 0;
}

.fc .selected .fc-daygrid-day-bg {
    opacity: 1;
}

.fc .fc-highlight {
    background: transparent;
}

.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
	margin-bottom: 0;
}


.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
	min-height: 0;
	position: relative;
}

.fc .fc-daygrid-day-events {
	margin-top: 0;
}

.fc .fc-daygrid-day-number {
	padding: 0;
	position: relative;
	z-index: 4;
}

.fc thead tr {
	height: 50px !important;
}

.fc tbody tr {
	height: 70px;
}

.fc .fc-daygrid-day-top {
	justify-content: center;
}

.fc .fc-daygrid-day-frame {
    min-height: unset;
}

.powered_by {
    position: absolute;
    right: 18px;
    bottom: -35px;
    width: 80px;
}

.powered_by img {
    width: 100%;
}




/* confirm popup */

.confirm_popup {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    display: none;
}

.confirm_popup.show {
    display: flex;
}

.confirm_popup_overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.8;
}

.confirm_popup_body {
    position: relative;
    z-index: 11;
    width: 100%;
    background: #fff;
    box-shadow: 0 0 15px 2px rgb(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: 1fr 1.6fr;
}

.confirm_popup.show .confirm_popup_body {
    animation: moveDown 250ms linear;
}

@keyframes moveDown {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.confirm_popup .content_wrapper {
    background: #4BC2C6;
    padding: 30px 10px 20px 10px;
}

.confirm_popup .title {
    text-align: center;
}

.confirm_popup .title h4 {
    color: #fff;
    font-family: var(--font-montserrat);
    font-weight: 500;
    font-size: 27px;
    padding-bottom: 8px;
}

.confirm_popup .title p {
    color: #fff;
    font-family: var(--font-montserrat);
    font-weight: 400;
    font-size: 11.5px;
}

.confirm_popup .time_zone {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 25px 20px 40px 20px;
}

.confirm_popup .time_zone li {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 2.2fr;
}

.confirm_popup .time_zone li .label {
    color: #fff;
    font-family: var(--font-montserrat);
    font-weight: 400;
    font-size: 14px;
}

.confirm_popup .time_zone li .box {
    color: #5B5B5B;
    font-family: var(--font-montserrat);
    font-weight: 400;
    font-size: 14px;
    background: #fff;
    border-radius: 5px;
    text-align: center;
}

.confirm_popup .location {
    color: #fff;
    font-family: var(--font-montserrat);
    font-weight: 400;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.confirm_popup .location img {
    width: 12px;
}


.confirm_popup .form_wrapper {
    padding: 35px;
    align-self: center;
}

.confirm_popup .form_wrapper .input_group {
    padding-bottom: 22px;
}

.confirm_popup .form_wrapper input, .confirm_popup .form_wrapper textarea {
    width: 100%;
    height: 30px;
    color: #111;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #4BC2C6;
    padding: 0 10px;
    outline: none;
}

.confirm_popup .form_wrapper textarea {
    height: 80px;
    resize:none;
}



.confirm_popup .form_wrapper input::placeholder {
    opacity: 1;
    color: #C1C1C1;
}

.confirm_popup .form_wrapper input:focus::placeholder {
    opacity: 0;
}

.confirm_popup .form_wrapper .submit {
    text-align: center;
    padding-top: 14px;
}

.confirm_popup .form_wrapper .submit button {
    font-size: 13px;
    font-family: var(--font-montserrat);
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    background: #4BC2C6;
    border-radius: 16px;
    text-align: center;
    padding: 5px 24px;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    transition: 300ms;
}

.confirm_popup .form_wrapper .submit button:hover {
    background: #4BC2C6;
}

.confirm_popup .form_wrapper .submit button:active {
    transform: scale(1.1);
}






/* ------ All Responsive code here ------ */

@media (max-width: 991px) {

    .main_wrapper {
        position: relative;
        overflow: unset;
        padding-top: 40px;
        padding-bottom: 50px;
    }
    
    .consultant_wrapper {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        height: 100%;
        background: #fff;
        z-index: 99;
        border: none;
        padding: 40px 100px !important;
        border-radius: 20px;
        z-index: 5;
        pointer-events: none;
        visibility: hidden;
    }

    .consultant_wrapper.show {
        visibility: visible;
    }

    .consultant_wrapper_close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        position: absolute;
        right: 20px;
        top: 20px;
        border: none;
        cursor: pointer;
        background: #C4C4C4;
        transition: 200ms;
    }

    .consultant_wrapper_close:hover {
        background: #111;
    }

    .consultant_wrapper_close img {
        width: 14px;
    }

    .confirm_popup {
        z-index: 999;
    }

    .confirm_popup_overlay {
        height: calc(100% + 80px);
        top: -40px;
    }

    .consultant_box .time_list {
        gap: 8px;
    }

    .consultant_box .time_list li {
        font-size: 14px;
        padding: 5px 10px;
    }

    .consultant_box .name_list li {
        font-size: 14px;
    }

    .consultant_boxs {
        max-height: unset;
    }

    .powered_by {
        right: 25px;
        bottom: 10px;
    }

}

@media (max-width: 767px) {

    .calendar_wrapper {
        width: 540px;
    }

    .confirm_popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: auto;
        padding: 20px;
    }

    .confirm_popup_overlay {
        height: 100%;
        top: 0;
    }

    .confirm_popup_body {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .confirm_popup .time_zone {
        max-width: 230px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 30px;
    }

}

@media (max-width: 575px) {

    .main_wrapper {
        padding: 32px 20px 50px 20px;
    }

    .calendar_wrapper {
        width: 100%;
        padding: 0;
    }

    .fc tbody tr {
        height: 55px;
    }

    .fc th {
        font-size: 14px;
    }

    .fc td {
        font-size: 17px;
    }

    .powered_by{
        width: 75px;
        right: 20px;
    }

    .consultant_wrapper {
        padding: 35px !important;
        padding-top: 50px !important;
    }

    .consultant_wrapper_close {
        width: 30px;
        height: 30px;
        top: 10px;
        right: 10px;
    }

    .consultant_wrapper_close img {
        width: 13px;
    }

}

@media (max-width: 380px) {

    .calendar_title h4 {
        font-size: 14px;
    }

}