.calendar {
    font-size: 0;
}

.booking-calendar {
    position: fixed;
    top: 0;
    left: -100%;
    bottom: 0;
    z-index: 100;
    width: 1024px;
}

.booking-calendar.on {
    left: 0;
}

.booking-calendar .bc-wrapper {
    background-color: #fff;    
    padding: 100px 60px 100px 50px;
}

.booking-calendar .bc-wrapper .calendar-content .item {    
    display: inline-block;
    vertical-align: middle;
    width: 77px;
    height: 77px;
    padding: 10px 0;
    line-height: 55px;
    border-radius: 0;
    border: 1px solid #fff;
}

.booking-calendar .bc-wrapper .calendar-content .middle-area .item:not(.disabled) { background: #ececec; }
.booking-calendar .bc-wrapper .calendar-content .item.disabled { position: relative; pointer-events: none; }

.booking-calendar .bc-wrapper .calendar-content .item.disabled::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    background-color: #fafafa;
}

.booking-calendar .bc-wrapper .left-side,
.booking-calendar .bc-wrapper .right-side {
    display: inline-block;
    vertical-align: top;
}

.booking-calendar .calendar .calendar-content .weekdays .item { opacity: .3; }
.booking-calendar .bc-wrapper .left-side > .top-area { margin-bottom: 40px; }
.booking-calendar .bc-wrapper .left-side { width: calc(70% - 50px); padding-right: 50px; }
.booking-calendar .bc-wrapper .right-side { width: 30%; }
.booking-calendar .bc-wrapper .right-side .distribution_flight { margin-bottom: 160px; }
.booking-calendar .bc-wrapper .month-year-selection { margin-bottom: 30px; }
 
.booking-calendar .bc-wrapper .right-side .distribution_flight .text {
    position: relative;
    display: inline-block;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 6px;
    padding-bottom: 6px;
}

.booking-calendar .bc-wrapper .right-side .distribution_flight .text::before,
.booking-calendar .bc-wrapper .right-side .distribution_flight .text::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 36%;
    height: 1px;
    background-color: #000;
    transition: all .3s ease-in-out;
}

.booking-calendar .bc-wrapper .right-side .distribution_flight .text::before { left: 50%; }
.booking-calendar .bc-wrapper .right-side .distribution_flight .text::after { right: 50%; }

.booking-calendar .bc-wrapper .right-side .distribution_flight:hover .text::before,
.booking-calendar .bc-wrapper .right-side .distribution_flight:hover .text::after {
    width: 50%;
}

.booking-calendar .bc-wrapper .right-side div[class*="-selection"] {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.booking-calendar .bc-wrapper .right-side div[class*="-selection"] .title {
    display: block;
    font-size: 30px;
    color: #000;
    line-height: 1;
    margin-bottom: 10px;
}

.booking-calendar .bc-wrapper .right-side .distribution_flight .icon {
    width: 34px;
    height: 24px;
    display: block;
    margin: auto;
}

.booking-calendar .left-side .top-area div[class*="check"] {
    font-size: 26px;
    line-height: 1;
    display: inline-block;
    width: 50%;
    text-align: center;
    cursor: pointer;
}

.booking-calendar .left-side .top-area div[class*="check"] span {
    position: relative;
    padding-bottom: 4px;
}

.booking-calendar .left-side .top-area div[class*="check"] span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -10px;
    height: 1px;
    width: calc(100% + 20px);
    background-color: #000;
    transform: scale(0);
    transition: all .3s ease-in-out;
}

.booking-calendar .left-side .top-area div[class*="check"] span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -10px;
    height: 1px;
    width: calc(100% + 20px);
    background-color: #000;
    transform: scale(0);
    transition: all .3s ease-in-out;
}

.booking-calendar .left-side .top-area div[class*="check"].active span::after {
    transform: scale(1);
}

.booking-calendar .calendar .month-year-selection .month-selection .month {
    display: inline-block;
    width: 79px;
    height: 79px;
    background-color: #000;
}

.booking-calendar .calendar .month-year-selection .year-selection {
    margin-top: 6px;
}

.booking-calendar .calendar .month-year-selection .month-selection .month .target-text {
    position: absolute;
    font-size: 15px;
    line-height: 1;
    color: #fff;
    word-break: break-word;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
} 

.booking-calendar .calendar .month-year-selection .month-selection .chevron {
    width: 45px;
    height: 45px;
}

.booking-calendar .calendar .month-year-selection .month-selection .chevron.left {
    left: 0;
    transform: translate(-50%, -50%) rotate(90deg);
    transform-origin: center;
}

.booking-calendar .calendar .month-year-selection .month-selection .chevron.right {
    left: 100%;
    transform: translate(-50%, -50%) rotate(-90deg);
    transform-origin: center;
}

.booking-calendar .calendar .month-year-selection .month-selection .chevron::after,
.booking-calendar .calendar .month-year-selection .month-selection .chevron::before {
    height: 1px;
}

.booking-calendar .calendar .month-year-selection .month-selection .chevron::before { right: 3.5px; }
.booking-calendar .calendar .month-year-selection .month-selection .chevron::after { left: 3px; }

.booking-calendar .calendar .year-selection .year {
    line-height: 1;
    font-size: 13px;
    color: #b0b0b0;
    width: auto;
}

.booking-calendar .bc-wrapper .right-side div[class*="-selection"]:not(:last-child) { margin-bottom: 30px; }

.booking-calendar .bc-wrapper .right-side div[class*="-selection"] .list .item {
    padding: 10px 0;
    width: 77px;
    display: inline-block;
    line-height: 55px;
    vertical-align: middle;
    height: 77px;
    text-align: center;
    background: #ececec;
    font-size: 16px;
    font-weight: 300;
    color: #000;
    border: 1px solid #fff;
    transition: all .3s ease-in-out;
    cursor: pointer;
}
.booking-calendar .bc-wrapper .right-side div[class*="-selection"] .list .item.active,
.booking-calendar .bc-wrapper .right-side div[class*="-selection"] .list .item.active:hover {
    background: #000;
    color: #fff;
}

.booking-calendar .bc-wrapper .right-side div[class*="-selection"] .list .item:hover {
    background: rgb(0 0 0 / 14%);
}

body > .calendar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    transform: scale(0);
    transition: all .3s ease-in-out;
}

body > .calendar.on {
    transform: scale(1);
}

body > .calendar-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgb(0 0 0 / 30%);
    border-radius: 10px;
}

.calendar-wrapper > .left-content {
    border-top-left-radius: inherit;
    border-bottom-left-radius: inherit;
}

.calendar-wrapper > .right-content {
    border-top-right-radius: inherit;
    border-bottom-right-radius: inherit;
}

body > .calendar .weekday-display,
body > .calendar .year-display,
body > .calendar .month-year-selection,
body > .calendar .calendar-content {
    padding: 1rem 3rem;
}

.month-year-selection {
    text-align: center;
}

.weekday-display {
    font-size: 22px;
    background-color: rgba(0, 0, 0, .2);
    border-top-left-radius: inherit;
}

.calendar .month-year-selection .chevron {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
}

.calendar .month-year-selection .chevron:first-child {
    margin-left: 0;
}

.calendar .year-selection .chevron:last-child {
    margin-right: 0;
}

.month-year-selection .month-selection {
    position: relative;
    display: inline-block;
    padding: 0 40px;
}

.day-month-display {
    padding: 4rem 3rem;
}

.day-month-display .day {
    font-size: 112px;
    line-height: 112px;
}

.day-month-display .month {
    font-size: 24px;
    line-height: 24px;
}

.year-display {
    font-size: 48px;
    line-height: 38px;
}

.calendar-content .item {
    padding: 0.5em 0;
    font-size: 18px;
    line-height: normal;
    width: calc(100% / 7);
    text-align: center;
    border-radius: 10px;
}

.month-selection .month {
    width: 140px;
    text-align: center;
}

.month-selection .month .tooltip,
.year-selection .year .tooltip {
    top: calc(100% + 6px);
    left: -180px;
    transform: none;
    width: 180px;
    line-height: 24px;
}

.calendar ul {
    list-style: none;
}

.selection-container div[class*="-dropdown"]:not(div[class*="-dropdown-wrapper"]) {
    position: absolute;
    top: calc(100% + 10px);
    width: calc(100% + 40px);
    left: -20px;
    overflow: hidden;
    max-height: 0;
    z-index: -1;
    transition: max-height .125s cubic-bezier(0, 1, 0, 1);
}

.selection-container.on div[class*="-dropdown"]:not(div[class*="-dropdown-wrapper"]) {
    z-index: 1;
    transition: max-height .25s ease-in-out;
}

.selection-container div[class*="-dropdown-wrapper"] .simplebar-track {
    right: 3px;
}

.selection-container div[class*="-dropdown"]:not(div[class*="-dropdown-wrapper"]) ul {
    background-color: #ab0e0e;
    color: #fff;
}

.selection-container div[class*="-dropdown"]:not(div[class*="-dropdown-wrapper"]) ul li {
    margin: 0;
    padding: 5px 10px;
    transition: all .3s ease-in-out;
    background-color: transparent;
    color: #fff;
}

.selection-container div[class*="-dropdown"]:not(div[class*="-dropdown-wrapper"]) ul li::before {
    content: none;
}

.selection-container div[class*="-dropdown"]:not(div[class*="-dropdown-wrapper"]) ul li.on {
    background-color:#fec82c;
    color: #000;
}

.selection-container div[class*="-dropdown"]:not(div[class*="-dropdown-wrapper"]) ul li:first-child {
    padding-top: 10px;
}

.selection-container div[class*="-dropdown"]:not(div[class*="-dropdown-wrapper"]) ul li:last-child {
    padding-bottom: 10px;
}

.selection-container.on div[class*="-dropdown"]:not(div[class*="-dropdown-wrapper"]),
.selection-container.on div[class*="-dropdown-wrapper"] {
    max-height: 250px;
}

.month-selection .month.tooltip-on .tooltip,
.year-selection .year.tooltip-on .tooltip {
visibility: visible;
opacity: 1;
}

.month-selection .month .tooltip::after,
.year-selection .year .tooltip::after{
top: -8px;
right: -11px;
transform: rotate(-40deg);
}

.year-selection .year {
width: 55px;
text-align: center;
}

.calendar-content .middle-area.days .item {
transition: all .05s ease-in-out;
cursor: pointer;
}

.calendar-content .middle-area.days .item:not(.active):not(.disabled).unavailable {
    background: #ebebeb;
    opacity: .4;
    pointer-events: none;
}

.calendar-content .middle-area.days .item.active:not(.disabled),
.calendar-content .middle-area.days .item.has-actions.active:not(.disabled) {
    background-color: #00a2cb;
    color: #fff;
}

.calendar-content .middle-area.days .item.has-actions {
    background-color: #2B8AA1;
}

.calendar-content .item.enter {
background-color: rgb(171 14 14 / 18%);
}

.calendar-content .item.disabled {
opacity: 0.6;
}

.calendar-content .middle-area.days .item:not(.active):hover {
background-color: #00a2cb;
}

.action-btns > div {
font-size: 17px;
padding-top: 2rem;
}

.ok-btn {
margin-right: 16px;
}

