﻿#wrapper {
    position: relative;
    min-height: 580px;
}

#wrapper1 {
    position: relative;
    min-height: 580px;
}

.ondemandOuterContainer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    position: absolute;
    width: 637.37px;
    height: 240.84px;
    left: 58px;
    top: 156px;
}

.ondemandOverlayTitle {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 95%;
    text-transform: capitalize;
    color: #FFFFFF !important;
    text-align: left;
}

.ondemandOverlaySubTitle {
    height: 46px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    color: #FFFFFF !important;
    text-align: left;
}

.ondemandOverlaySubTitleContainer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 18.21px;
    width: 767.37px;
    height: 82.42px;
}

.ondemandOverlayTitleContainer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    vertical-align: bottom;
    gap: 18.21px;
    width: 417.37px;
}

.btnbooknow {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 114px;
    gap: 10px;
    position: absolute;
    width: 316px;
    height: 54px;
    left: calc(50% - 316px/2 - 160px);
    top: 231px;
    background: #FFF5ED;
    border-radius: 8px;
}

.abooknow {
    width: 88px;
    height: 22px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;

    color: #F37422;
}

@media (max-width: 768px) {
    #wrapper {
        position: relative;
        min-height: 580px;
        width: 370px;
        max-width: 100% !important;
    }

    #wrapper1 {
        position: relative;
        min-height: 580px;
        width: 370px;
        max-width: 100% !important;
    }

    .ondemandOuterContainer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0px 0px 0px 10px;
        position: absolute;
        width: 337.37px;
        height: 190px;
        left: 14px;
        top: 156px;
    }

    .ondemandOverlayTitle {
        font-family: 'Work Sans';
        font-style: normal;
        font-weight: 500;
        font-size: 30px;
        line-height: 95%;
        text-transform: capitalize;
        color: #FFFFFF !important;
        text-align: left;
    }

    .ondemandOverlaySubTitle {
        height: 46px;
        font-family: 'Roboto';
        font-style: normal;
        font-weight: 300;
        font-size: 18px;
        color: #FFFFFF !important;
        text-align: left;
    }

    .ondemandOverlaySubTitleContainer {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 0px;
        gap: 18.21px;
        width: 300px;
        height: 82.42px;
    }

    .ondemandOverlayTitleContainer {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 0px;
        vertical-align: bottom;
        gap: 18.21px;
        width: 167.37px;
    }

        .ondemandOverlayTitleContainer img{
            max-width:100% !important;
        }

    .btnbooknow {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 16px 114px;
        gap: 10px;
        position: absolute;
        width: 16px;
        height: 54px;
        left: calc(50% - 316px/2 - 0.5px);
        top: 231px;
        background: #FFF5ED;
        border-radius: 8px;
    }

    .abooknow {
        width: 88px;
        height: 22px;
        font-family: 'Inter';
        font-style: normal;
        font-weight: 500;
        font-size: 14px;
        line-height: 22px;
        color: #F37422;
        position: absolute;
        left: calc(30% - 8px/2 - 0.5px);
    }
}

.inline-YTPlayer {
    max-width: 100% !important;
}

.YTPlayer playerBox {
    max-width: 100% !important;
}
