
.inner-curve {
    background-color: #f1efed;
    padding-top: 100px !important;
    padding: 0px;
}


.MotorCoverImage {
    background-image: url('../images/AppOfTheYear.jpg');
    min-height: 80%;

 /*   @media(max-width:768px) {
        background-image: url(../images/AboutUsPage/AboutUsCover.webp);
    }*/
}



html[dir="ltr"] .MotorCoverImage {
    margin-top: 14px !important;
    background-position-y: -2px;
    padding: 113px 0px 140px 0px;
    background-position: top;
    background-size: cover;
}


html[dir="rtl"] .MotorCoverImage {
    margin-top: -8px !important;
    padding: 92px 0px 85px 0px;
  /*  transform: translate(0%, 0) scaleX(-1);*/
    background-position: top;
    background-size: cover;
}

.MotorBoxContainer {
    border: 1px solid var(--MTBS);
}

.MotorBoxContent {
    border: 1px solid var(--MTBS);
}

.contact-item {
    border: 1px solid var(--MTBS);
}


html[dir="ltr"].ImageFlipBanner {
    transform: translate(0%, 30%);
    min-width: 690px;

    @media(max-width: 768px) {
        min-width:100%;
    }
}

@media(max-width:960px) {
    .ImageFlipBanner {
        height: auto;
        width: 690px;
        position: absolute;
        top: 94px;
        right: -54%;
    }
}

@media(max-width:540px) {
    .ImageFlipBanner {
        height: auto !important;
        width: 497px !important;
        max-width: 570px !important;
        position: absolute !important;
        top: 139px !important;
        right: -44% !important;
    }
}

@media(max-width:365px) {
    .ImageFlipBanner {
        height: auto !important;
        width: 497px !important;
        max-width: 570px !important;
        position: absolute !important;
        top: 137px !important;
        right: -44% !important;
    }
}

@media(max-width:720px) {
    .ImageFlipBanner {
        height: auto;
        width: 744px;
        max-width: 570px;
        position: absolute;
        top: 123px;
        right: -35%;
    }
}

html[dir="rtl"] .ImageFlipBanner {
    transform: translate(-4%, 15%) scaleX(1);

    @media(max-width: 768px) {

        min-width:100%;
    }
}

.ImageFlipBanner {
    height: auto;
    width: 690px;
    position: absolute;
    top: 94px;
    right: -25%;

    @media(max-width:720px) {
        width: 46%;
    }
}


.hexa {
    border: 0px;
    float: left;
    text-align: center;
    height: 35px;
    width: 60px;
    font-size: 22px;
    background: #f0f0f0;
    color: #3c3c3c;
    position: relative;
    margin-top: 15px;
}

    .hexa:before {
        content: "";
        position: absolute;
        left: 0;
        width: 0;
        height: 0;
        border-bottom: 15px solid #f0f0f0;
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        top: -15px;
    }

    .hexa:after {
        content: "";
        position: absolute;
        left: 0;
        width: 0;
        height: 0;
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-top: 15px solid #f0f0f0;
        bottom: -15px;
    }

.timeline {
    position: relative;
    padding: 0;
    width: 100%;
    margin-top: 20px;
    list-style-type: none;
}

    .timeline:before {
        position: absolute;
        left: 50%;
        top: 0;
        content: ' ';
        display: block;
        width: 2px;
        height: 100%;
        margin-left: -1px;
        background: rgb(213,213,213);
        background: -moz-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
        background: -webkit-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
        background: -o-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
        background: -ms-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
        background: linear-gradient(to bottom, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
        z-index: 5;
    }

    .timeline li {
        padding: 2em 0;
    }

    .timeline .hexa {
        width: 16px;
        height: 10px;
        position: absolute;
        background: var(--DigTextColor);
        z-index: 5;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        top: -30px;
        margin-top: 0;
    }

        .timeline .hexa:before {
            border-bottom: 4px solid var(--DigTextColor);
            border-left-width: 8px;
            border-right-width: 8px;
            top: -4px;
        }

        .timeline .hexa:after {
            border-left-width: 8px;
            border-right-width: 8px;
            border-top: 4px solid var(--DigTextColor);
            bottom: -4px;
        }

.direction-l,
.direction-r {
    float: none;
    width: 100%;
    text-align: center;
}

.flag-wrapper {
    text-align: center;
    position: relative;
}

.flag {
    position: relative;
    display: inline;
    /*    background: rgb(255,255,255);*/
    font-weight: var(--font-weight-semibold);
    z-index: 15;
    padding: 6px 10px;
    text-align: left;
    border-radius: 5px;
}

.direction-l .flag:after,
.direction-r .flag:after {
/*    content: "";*/
    position: absolute;
    left: 50%;
    top: -15px;
    height: 0;
    width: 0;
    margin-left: -8px;
    border: solid transparent;
    border-bottom-color: rgb(255,255,255);
    border-width: 8px;
    pointer-events: none;
}

.direction-l .flag {
   
}

.direction-r .flag {
   
}

.time-wrapper {
    display: block;
    position: relative;
    margin: 4px 0 0 0;
    z-index: 14;
    line-height: 1em;
    vertical-align: middle;
    color: #fff;
}

.direction-l .time-wrapper {
    float: none;
}

.direction-r .time-wrapper {
    float: none;
}

.time {
    background: var(--DigTextColor);
    display: inline-block;
    padding: 8px;
}

.desc {
    position: relative;
    margin: 1em 0 0 0;
    padding: 1em;
/*    background: rgb(254,254,254);*/
    z-index: 15;
    border-radius: 35px;
    border: var(--DIGMainBorderColor);
}

.direction-l .desc,
.direction-r .desc {
    position: relative;
    margin: 1em 1em 0 1em;
    padding: 1em;
    z-index: 15;
}

@media(min-width: 768px) {
    .timeline {
        width: 100%;
        margin: 0 auto;
        margin-top: 20px;
    }

        .timeline li:after {
            content: "";
            display: block;
            height: 0;
            clear: both;
            visibility: hidden;
        }

        .timeline .hexa {
            left: -28px;
            right: auto;
            top: 8px;
        }

        .timeline .direction-l .hexa {
            left: auto;
            right: -28px;
        }

    .direction-l {
        position: relative;
        width: 310px;
        float: left;
        text-align: right;
    }

    .direction-r {
        position: relative;
        width: 48.2%;
        float: right;
        text-align: left;
    }

    .flag-wrapper {
        display: inline-block;
    }

    .flag {
        font-size: 18px;
    }

    .direction-l .flag:after {
        left: auto;
        right: -16px;
        top: 50%;
        margin-top: -8px;
        border: solid transparent;
        border-left-color: rgb(254,254,254);
        border-width: 8px;
    }

    .direction-r .flag:after {
        top: 50%;
        margin-top: -8px;
        border: solid transparent;
        border-right-color: rgb(254,254,254);
        border-width: 8px;
        left: -8px;
    }

    .time-wrapper {
        display: inline;
        vertical-align: middle;
        margin: 0;
    }

    .direction-l .time-wrapper {
        float: left;
    }

    .direction-r .time-wrapper {
        float: right;
    }

    .time {
        padding: 5px 10px;
    }

    .direction-r .desc {
        margin: 1em 0 0 0.75em;
    }
}

@media(min-width: 992px) {
    .timeline {
        width: 100%;
        margin: 0 auto;
        margin-top: 20px;
    }

    .direction-l {
        position: relative;
        width: 48.2%;
        float: left;
        text-align: right;
    }

    .direction-r {
        position: relative;
         width: 48.2%;  
        float: right;
        text-align: left;
    }
}

.LangingHomeHead {
    font-size: 57px !important;
    line-height: 140% !important;
}
.DataReadMore {
    animation: fadeIn 0.7s ease;
}

.BoradMemberDescription {
    max-height: 394px;
    overflow-y: auto;
    scrollbar-width: thin;
    padding-inline-end: 30px;
    scrollbar-color: var(--DigTextColor) transparent !important;
    &:where(.dark,.dark *)
{
    scrollbar-color: var(--DigTextColor) transparent !important;
}
}
.modal-content {
    background: #ffffffd4 !important;
    border-radius: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    &:where(.dark,.dark *)
{
    background: var(--MainBgColor) !important;
}
}

#containerToggal {
    width: 350px;
    height: 44px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    border-style: solid;
    border-width: 1.5px;
    overflow: hidden;
    user-select: none;
    cursor: pointer;
}

.inner-containerToggal {
    position: absolute;
    left: 0;
    top: 0;
    width: inherit;
    height: inherit;
    font-size: 14px;
}

    .inner-containerToggal:first-child {
        background: #fff;
        color: #707070;
    }

    .inner-containerToggal:nth-child(2) {
        background: var(--DigTextColor);
        color: white;
        clip-path: inset(0 50% 0 0);
        transition: .3s cubic-bezier(0,0,0,1);
    }

.toggle {
    width: 50%;
    position: absolute;
    height: inherit;
    display: flex;
    box-sizing: border-box;
}

    .toggle p {
        margin: auto;
    }

    .toggle:nth-child(1) {
        right: 0;
    }


     
.error1 {
    border-color: red !important;
}

a.active {
    color: var(--DigTextColor);
}


.responsive-iframe {
    position: relative;
    padding-bottom: 56.25%;
    /*aspect ratio 16:9 */
    height: 0;
    overflow: auto;
}

    .responsive-iframe iframe {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }

    .responsive-iframe table {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }



table.paleBlueRows td, table.paleBlueRows th {
    border: 1px solid #eee;
    padding: 3px 6px;
}

table.paleBlueRows tbody td {
    font-size: 13px;
}

table.paleBlueRows tr:nth-child(even) {
    background-color: rgba(185, 159, 112,0.6);
    opacity: 0.8;
}

table.paleBlueRows thead {
    background-color: rgba(185, 159, 112,1);
    border-bottom: 5px solid #FFFFFF;
}

    table.paleBlueRows thead th {
        font-size: 17px;
        font-weight: bold;
        color: #FFFFFF;
        text-align: center;
        border-left: 2px solid #FFFFFF;
    }

        table.paleBlueRows thead th:first-child {
            border-left: none;
        }

table.paleBlueRows tfoot {
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    background: #D0E4F5;
    border-top: 3px solid #444444;
}

    table.paleBlueRows tfoot td {
        font-size: 14px;
    }
     