@font-face {
    font-family: "Chateau de Garage";
    src: url("https://db.onlinewebfonts.com/t/a785948ae16e6e98b10ee4a1e96b8e1e.eot");
    src: url("https://db.onlinewebfonts.com/t/a785948ae16e6e98b10ee4a1e96b8e1e.eot?#iefix") format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/a785948ae16e6e98b10ee4a1e96b8e1e.woff2") format("woff2"),
    url("https://db.onlinewebfonts.com/t/a785948ae16e6e98b10ee4a1e96b8e1e.woff") format("woff"),
    url("https://db.onlinewebfonts.com/t/a785948ae16e6e98b10ee4a1e96b8e1e.ttf") format("truetype"),
    url("https://db.onlinewebfonts.com/t/a785948ae16e6e98b10ee4a1e96b8e1e.svg#Chateau de Garage") format("svg");
}

/*=== Home page slider section===*/
.homepage-slider .owl-item.active h2 {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: fadeInDown;
    animation-delay: 0.3s;
}

.homepage-slider .owl-item.active h5 {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: fadeInDown;
    animation-delay: 0.3s;
}

.homepage-slider .owl-item.active .btn {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: fadeInUp;
    animation-delay: 0.3s;
}

.homepage-slider .owl-item.active .line {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: fadeInLeft;
    animation-delay: 0.3s;
}

.homepage-slider .header-content {
    position: relative;
    padding: 56px;
    overflow: hidden;
}

.homepage-slider .header-content .line {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    border: 9px solid #fff;
    -webkit-clip-path: polygon(0 0, 60% 0, 36% 100%, 0 100%);
    clip-path: polygon(0 0, 60% 0, 36% 100%, 0 100%);
}

.homepage-slider .owl-nav .owl-prev,
.homepage-slider .owl-nav .owl-next {
    position: absolute;
    top: 45%;
    opacity: 0;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    background: rgba(0, 0, 0, 0.5) !important;
    width: 40px;
    cursor: pointer;
    height: 40px;
    position: absolute;
    z-index: 1000;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-slider .owl-nav .owl-prev {
    left: 15px;
}

.homepage-slider .owl-nav .owl-next {
    right: 15px;
}

.homepage-slider .owl-nav .owl-prev span,
.homepage-slider .owl-nav .owl-next span {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 5px;
}

.homepage-slider .owl-nav .owl-prev:focus {
    outline: 0;
}

.homepage-slider .owl-nav .owl-prev:hover {
    background: #000 !important;
}

.homepage-slider .owl-nav .owl-next:focus {
    outline: 0;
}

.homepage-slider .owl-nav .owl-next:hover {
    background: #000 !important;
}

.homepage-slider:hover .owl-prev {
    left: 0px;
    opacity: 1;
}

.homepage-slider:hover .owl-next {
    right: 0px;
    opacity: 1;
}

/*=== Home page slider section end ===*/

/*=== home page video section ===*/
#video-section {
    position: relative;
    overflow: hidden;
    height: 118vh;
    box-sizing: border-box;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    min-width: 100%;
    overflow: hidden;
    display: flex;
}

.video-container iframe {
    width: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

/*=== home page video section end ===*/

/*=== Home multi event slider===*/
.homepage-multi-item-slider.owl-carousel .item-slide {
    height: 500px;
    border-radius: 15px 15px 15px 15px;
    position: relative;
    background-size: 325px 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

.homepage-multi-item-slider.owl-carousel .owl-dots, .homepage-photo-slider.owl-carousel .owl-dots {
    display: block !important;
    margin-top: 10px;
}

.homepage-multi-item-slider.owl-carousel .item-slide .event-info-wrapper {
    /*display: none;*/
    opacity: 0;
    transition: all 1s;
}

.homepage-multi-item-slider.owl-carousel .item-slide .event-info-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    flex-direction: column;
    text-align: center;
    background-color: transparent;
    border-radius: 15px 15px 15px 15px;
    background-image: linear-gradient(180deg, #993333E3 42%, #000 100%);
}

.homepage-multi-item-slider.owl-carousel .item-slide .event-title-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: center;
    transition: all 0.5s;
}

.homepage-multi-item-slider.owl-carousel .item-slide .event-title-overlay {
    background-color: transparent;
    border-radius: 15px 15px 15px 15px;
    background-image: linear-gradient(180deg, #37373721 50%, rgba(0, 0, 0, 0.8) 80%);
}

.homepage-multi-item-slider.owl-carousel .item-slide .event-title h2,
.homepage-multi-item-slider.owl-carousel .item-slide .event-info-overlay h2 {
    font-family: "Chateau de Garage";
    align-self: center;
    text-align: center;
    color: #FFFFFF;
    font-size: 45px;
    font-weight: 400;
    line-height: 1em;
    display: block;
    padding: 25px 0;
}

.homepage-multi-item-slider.owl-carousel .item-slide:hover .event-info-wrapper {
    /*display: block;*/
    opacity: 1;
    z-index: 1;
}

.homepage-multi-item-slider.owl-carousel .item-slide:hover .event-title-overlay {
    opacity: 0;
    z-index: -1;
}

@media (max-width: 640px) {
    .homepage-multi-item-slider.owl-carousel .item-slide {
        background-size: cover;
    }
}

/*===  Home page photo slider ===*/
.homepage-photo-slider.owl-carousel .item-slide {
    height: 450px;
    border-radius: 0;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.homepage-photo-slider.owl-carousel .item-slide a {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(180deg, #37373721 50%, rgba(0, 0, 0, 0.5) 80%);
    opacity: 0;
    transition: 1s all;
}

.homepage-photo-slider.owl-carousel .item-slide:hover a {
    opacity: 1;
}

/*==== Event available day ====*/
.eventdate-info-wrapper {
    display: flex;
    gap: 2rem;
    margin-bottom: 30px;
}

.eventdate-info {
    flex-basis: 40%;
}

.event-availability {
    flex-basis: 60%;
    display: flex;
    gap: 3rem;
}

.event-availability .event-availability-calendar-wrapper {
    flex-basis: 37%;
}

.event-availability .event-availability-time-blocks-wrapper {
    flex-basis: 50%;
}

.available {
    background: transparent !important;
}

.available a {
    background: rgb(46, 204, 112) !important;
    color: white;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    text-align: center;
}

.partially_booked a{
    background: rgb(242, 197, 17) !important;
}
.full_day_booked a{
    background: rgb(232, 75, 60) !important;
}

.available.ui-state-disabled {
    background: unset !important;
}

.ui-button, .ui-state-default, .ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default, html .ui-button.ui-state-disabled:active,
html .ui-button.ui-state-disabled:hover {
    border-radius: 100%;
    text-align: center;
    font-size: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent !important;
    color: #000 !important;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    background: #f6f6f6;
    color: #000 !important;
    border: none !important;
}

.ui-button.ui-state-active:hover, .ui-button:active, .ui-state-active,
.ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active {
    color: #fff !important;
    border: 2px solid #003eff !important;
    background: #007fff !important;
}

.ui-datepicker .ui-datepicker-title {
    text-align: center;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ui-widget.ui-widget-content {
    width: 400px;
}

.ui-datepicker .ui-datepicker-next, .ui-datepicker .ui-datepicker-prev {
    top: 9px !important;
}

.event-availability-calendar-wrapper .calendar-info {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.event-availability-calendar-wrapper .calendar-info .calendar-info-info {
    flex: 1;
    font-size: 18px;
    color: #000;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-availability-calendar-wrapper .calendar-info .calendar-info-info p {
    text-align: center;
    margin: 0;
}

.event-availability-calendar-wrapper .calendar-info .calendar-info-info:nth-child(1) {
    background-color: rgb(46, 204, 112);
}

.event-availability-calendar-wrapper .calendar-info .calendar-info-info:nth-child(2) {
    background-color: rgb(242, 197, 17);
}

.event-availability-calendar-wrapper .calendar-info .calendar-info-info:nth-child(3) {
    background-color: rgb(232, 75, 60);
}

/*==== time blcoks ===*/
.event-availability-time-blocks {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
}

.event-availability-time-block {
    flex: 1;
    max-width: 25%;
    background-color: rgb(46, 204, 112);
    text-align: center;
    padding: 10px;
    display: flex;
    gap: 1.125rem;
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 120px;
}

.event-availability-time-block.is_booked {
    background-color: rgb(232, 75, 60);
    pointer-events: none;
}

.event-availability-time-block.is_selected {
    border: 2px solid blue;
}

.event-availability-time-block .from_to {
    position: relative;
}

.event-availability-time-block .from_to::after {
    position: absolute;
    content: "";
    height: 2px;
    top: 11px;
    width: 10px;
    background: #000;
    right: -15px;
}

.event-availability-time-block .time-block-content {
    color: #000;
    text-align: center;
    font-size: 16px;
}

@media (max-width: 1630px){
    #video-section{
        max-height: 100vh;
    }
}

@media (max-width: 1400px){
    #video-section{
        max-height: 783px;
    }
    .eventdate-info{
        flex-basis: 30%;
    }
    .event-availability{
        flex-basis: 70%;
    }
    .event-availability-time-blocks-wrapper h3, .event-availability-calendar-header h3{
        font-size: 18px;
    }
}

@media (max-width: 1200px){
    #video-section{
        max-height: 675px;
    }
}
@media (max-width: 1024px){
    #video-section{
        max-height: 552px;
    }
    .eventdate-info-wrapper{
        flex-direction: column;
    }
}
@media (max-width: 767px){
    #video-section{
        max-height: 425px;
    }
    .event-availability{
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
}
@media (max-width: 480px){
    .ui-widget.ui-widget-content{
        width: 300px;
    }
    .ui-button, .ui-state-default, .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default, html .ui-button.ui-state-disabled:active,
    html .ui-button.ui-state-disabled:hover{
        font-size: 16px;
        width: 40px;
        height: 40px;
    }
    #datepicker{
        display: flex;
        justify-content: center;
    }
}
@media (max-width: 375px){
    #video-section{
        max-height: 215px;
    }
}