.ftco-section {
    padding: 7em 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.elegant-calendar {
    /* max-width: 700px; */
    /* max-height: 415px; */
    text-align: center;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 5px;
    -webkit-box-shadow: 0px 19px 27px -20px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 19px 27px -20px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 19px 27px -20px rgba(0, 0, 0, 0.16);
}

.wrap-header {
    position: relative;
    width: 35%;
    z-index: 0;
}

.wrap-header:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    /* background: #000; */
    /* background-image: linear-gradient(310deg, #141727 0%, #3A416F 100%); */
    /* opacity: .5; */
    z-index: -1;
}

@media (max-width: 767.98px) {
    .wrap-header {
        width: 100%;
        padding: 20px 0;
    }
}

.mask {
    position: absolute;
    background-size: 50%;
    background-position: center center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.7); */
    background: linear-gradient(0deg, rgb(42, 44, 57) 0%, rgb(51, 54, 74) 100%);
    opacity: 0.7;
}

#reset, #return-calendar, #return-calendar-disabled {
    display: block;
    position: absolute;
    top: 0.5em;
    z-index: 999;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0 0.5em;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 11px;
}

#reset:hover, #return-calendar:hover {
    color: #fff;
    border-color: #fff;
}

#reset:active, #return-calendar:active {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
}

#return-calendar-disabled {
    pointer-events: none;
}

#reset {
    right: 0.5em;
    margin: 0 !important;
}

#return-calendar {
    left: 0.5em;
    display: none;
    margin: 0 !important;
}

#return-calendar-disabled {
    left: 0.5em;
    margin: 0 !important;
}

.img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#calendar-header {
    width: 100%;
    position: relative;
}

#calendar-header .pre-button, #calendar-header .next-button {
    cursor: pointer;
    width: 1em;
    height: 1em;
    line-height: 1em;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 18px;
}

#calendar-header .pre-button i, #calendar-header .next-button i {
    color: #fff;
}

.head-month {
    font-size: 2em;
    line-height: 1;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 300;
}

.head-day {
    font-size: 9em;
    line-height: 1;
    color: #fff;
}

.calendar-wrap {
    width: 65%;
    background: #fff;
    padding: 40px 20px 20px 20px;
}

@media (max-width: 767.98px) {
    .calendar-wrap {
        width: 100%;
    }
}

.button-wrap {
    position: relative;
    padding: 10px 0;
}

.button-wrap .pre-button, .button-wrap .next-button {
    cursor: pointer;
    width: 1em;
    height: 1em;
    line-height: 1em;
    border-radius: 50%;
    position: absolute;
    top: 0;
    font-size: 18px;
}

.button-wrap .pre-button i, .button-wrap .next-button i {
    color: #cccccc;
}

.button-wrap .pre-button {
    left: 20px;
}

.button-wrap .next-button {
    right: 20px;
}

.pre-button {
    left: 5px;
}

.next-button {
    right: 5px;
}

#calendar {
    width: 100%;
}

#calendar tr {
    height: 3em;
}

table {
    border-collapse: collapse;
}

thead tr {
    color: #485664;
    font-weight: 700;
}

tbody td {
    width: 14%;
    border-radius: 50%;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    position: relative;
    z-index: 0;
}

tbody td:after {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    width: 44px;
    height: 44px;
    margin: 0 auto;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 50%;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    z-index: -1;
}

tbody td.day {
    color: #2152ff;
    font-weight: bold;
}

tbody td.day:after {
    background: rgba(0, 105, 255, 0.065);
}

tbody td.disabled {
    color: #ced4da;
    font-weight: normal;
    /* cursor: initial; */
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    tbody td:after {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

tbody td:hover, .selected {
    color: #fff;
    border: none;
}

tbody td:hover:after, .selected:after {
    background: #30B046;
}

tbody td:active {
    -webkit-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
}

.today-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    margin-top: 13px;
    border-radius: 50%;
    background-color: currentColor;
    transform: translate(-50%, -50%);
}

#hidden {
    cursor: default;
    background: #fff;
}

#hidden:hover {
    background: #fff;
    color: #c9c9c9;
}

#hidden:hover:after {
    background: transparent;
}

.btn-hidden {
    display: none !important;
}

.wrap-slots {
    height: 415px;
    overflow-y: scroll;
}

.slots-list {
    white-space: nowrap;
    overflow: hidden;
    font-size: 14px !important;
}

.btn-hourly,
.btn-confirm {
    background: #333;
    border: medium none;
    border-radius: 0;
    color: #fff;
    font-size: 12px;
    height: 50px;
    line-height: 50px;
    padding: 0 30px;
    text-transform: uppercase;
}

.btn-hourly:hover,
.btn-confirm:hover {
    background: #30B046;
    color: #ffffff;
}

.btn-slot {
    width: 100%;
    position: relative;
    transition: all .3s ease;
}

.btn-slot-confirm-hidden {
    width: 50%;
    position: relative;
    transform: translateX(40px);
    transition: all .3s ease;
}

.btn-slot:after, .btn-slot-confirm-hidden:after {
    content: "";
    position: absolute;
    top: -7px;
    bottom: -7px;
    left: 0;
    width: 100%;
}

.btn-slot-selected {
    width: 45%;
    transition: all .3s ease;
    background: #30B046;
    color: #ffffff;
}

.btn-slot-confirm {
    width: 45%;
    transform: translateX(0px);
    transition: all .3s ease;
}

.wrap-form {
    display: none;
    text-align: left;
    /* height: 700px; */
    height: auto;
}

.wrap-confirmation {
    display: none;
    text-align: left;
}
