body {
    font-family: "Almarai", sans-serif !important;
    margin-top: 156px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: black !important;
}

.ace-responsive-menu>li {
    float: right;
}

.ace-responsive-menu>li:first-of-type {
    padding-right: 30px;
}

header.header-nav a.navbar_brand:before {
    left: -25px;
}

header.header-nav.menu_style_home_one a.navbar_brand span,
header.header-nav.menu_style_home_three a.navbar_brand span,
header.header-nav.menu_style_home_five a.navbar_brand span {
    padding-right: 15px;
}

.top_courses {
    text-align: right;
}

.footer_one {
    text-align: right;
    direction: rtl;
}

.courses_single_container {
    text-align: right;
    direction: rtl;
}

#accordion .panel-heading .accordion-toggle::before {
    margin-left: 10px;
}

.play-1 {
    float: right;
    margin-left: 5px;
    transform: scaleX(-1);
    margin-top: 3px;
}

.home-accordion-description,
.view-course-video-description {
    max-width: 600px;
}

.home-description a {
    display: inherit !important;
}

.mm-panel::after,
.mm-panel::before,
.mm-navbar {
    display: none !important;
}

.mm-listitem__text {
    /* direction: rtl;
    text-align: right; */
    padding-right: 30px;
    font-size: 18px !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    padding-left: 0.5rem;
}

.glossary-box {
    direction: rtl;
    text-align: right;
    margin-bottom: 40px;
}

.mm-panel {
    background-color: #216e9a !important;
    border-right: 1px solid;
}

.stylehome1 a.mm-listitem__text:hover,
.stylehome1 a.mm-btn.mm-btn_next.mm-listitem__btn.mm-listitem__text:hover {
    background-color: transparent;
}

.glossary-box h4 {
    font-weight: bold;
}

.menu-item-active {
    font-weight: bold !important;
}

.top_courses .details .tc_footer {
    height: 50px;
}

.show-quiz-container {
    direction: rtl;
    text-align: right;
    padding-top: 10px;
}

.show-quiz-container input[type="radio"],
.show-quiz-container input[type="checkbox"] {
    margin-left: 5px;
}

.show-quiz-container input[type="submit"] {
    margin-top: 20px;
}

.question-section {
    margin-top: 30px;
}

.inner_page_breadcrumb:before {
    background-image: none;
}

.top_courses .thumb:before {
    background-color: transparent;
}

.footer_one {
    background-color: #216e9a;
}

.footer_one a {
    color: white !important;
}

.footer_contact_widget p {
    color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #216e9a;
}

.cs_row_one .cs_title {
    max-width: 100%;
    width: 1000px;
    line-height: 2;
}

.header1 {
    height: 43px;
    background-color: #216e9a;
}

.header2 {
    height: 74px;
    background-color: #f3f3f3;
}

.login-logout-btn {
    display: block;
    padding-top: 3px;
    border-radius: 10px;
    width: 127px;
    height: 33px;
    background-color: #216e9a;
    color: white;
    text-align: center;
    direction: rtl;
}

.login-logout-btn:hover {
    color: white;
}

ul.desktop-menu-1 {
    display: inline-flex;
}

ul.desktop-menu-1>li {
    min-width: 175px;
    direction: rtl;
}

ul.desktop-menu-1>li>span {
    background-image: url("/images/menu-arrow.png");
    content: "";
    width: 25px;
    height: 25px;
    margin-left: 1px;
    display: inline-block;
}

ul.desktop-menu-1>li>a {
    font-size: 20px;
}

.home-page {
    min-height: 600px;
}

.home-page .side-bar {
    background-repeat: no-repeat;
    background-image: url("/images/sidebar-background-2.png");
    min-height: 2500px;
    text-align: right;
    direction: rtl;
    background-color: #b1d7c6;
    background-position-x: center;
}

.side-bar>ul {
    margin-top: 40px;
    margin-right: 10px;
}

.side-bar>ul>li>a {
    font-size: 22px;
    color: #216e9a;
    margin-top: 10px;

    display: block;
}

.footer-new {
    height: 93px;
    background-image: url("/images/footer-background.png");
    background-color: #216e9a;
    background-position: right;
    background-repeat: no-repeat;
}

img.slide-1 {
    width: 100%;
}

.home-title {
    height: 35px;
    background-repeat: no-repeat;
    background-position: right;
    text-align: right;
    direction: rtl;
    color: white;
    margin-bottom: 20px;
    padding-right: 50px;
    background-image: url("/images/title-background.png");
    padding-top: 3px;
    font-size: 16px;
    margin-right: 20px;
}

.home-description {
    margin-bottom: 20px;
    text-align: right;
    direction: rtl;
    line-height: 2;
}

.home-content {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.embed-wrapper {
    width: 639px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    max-width: 100%;
}

.instructor-img {
    width: 163px;
    height: 163px;
    margin-bottom: 10px;
}

.booklet-img {
    width: 456px;
    height: 245px;
    margin-left: 10px;
    margin-bottom: 10px;
}

a.download {
    display: block;
    text-decoration: underline;
    color: #216e9a;
    margin-top: 10px;
}

.header-container {
    position: fixed;
    z-index: 9999;
}

.top_courses .tc_content {
    min-height: 156px;
}

.home-description ol,
.home-description ul,
.courses_single_container ul {
    margin-right: 15px;
}

.home-description li,
.courses_single_container li {
    list-style: initial;
}

.footer-description {
    color: white;
}

.correct-answer {
    background-color: #266f98;
}

.correct-answer label {
    color: white;
}

.wrong-answer {
    background-color: #eeeeee;
}

.responsive-cover-photo {
    background-size: contain;
    margin-top: 0px !important;
    height: auto;
}

.show-on-mobile {
    display: none;
}

.login-logout-btn-responsive {
    margin: 0 auto;
    margin-top: 10px;
    width: 99%;
}

.directionBasedOnLanguage {
    direction: rtl;
    text-align: right;
}

.new-menu-items {
    margin-right: 15px;
    margin-left: 0px;
}

.login-logout-button {
    margin-left: 15px;
    margin-right: 0px;
}

.new-vision .new-vision-line {
    margin-left: auto;
    margin-right: 0;
}



/* override menu style */
header.stylehome1,
.stylehome1::before,
.mm-panel {
    background: linear-gradient(to bottom, white, #D2D2D2) !important;
}

.header a span,
.header a::before {
    background: black;
}

.stylehome1 a.mm-listitem__text,
.stylehome1 a.mm-listitem__text:hover {
    color: black;
}




/* new header */

.desktop-header-outer-wrapper {
    position: fixed;
    top: 0;
    z-index: 9999;
    width: 100%;
    background-color: white;
}

.new-header {
    width: 100%;
    height: 49px;
    background-image: url('/images/new-design/top-menu-background.jpeg');
    background-repeat: repeat-x;
    background-size: auto 49px;
}

.new-header .header-text {
    font-size: 12px;
    color: black;
    text-decoration: none;
    /* remove underline */
}

.new-header .header-text:visited {
    color: black;
    /* stay black even after visit */
}

.new-header .header-text:hover {
    text-decoration: none;
    /* no underline on hover */
    color: black;
    /* stay black */
}


/* menu */
.new-menu {
    height: 40px;
    margin-top: 17px;
    margin-bottom: 10px;

}

.new-menu .menu-item-link {
    color: #CB3235;
    text-decoration: none;
}

.new-menu .menu-item-link:hover {
    text-decoration: none;
    color: #CB3235;
}

.new-menu .login-logout-button {
    width: 118px;
    height: 33px;
    background-color: #CA3133;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 10px;
}

.new-menu .menu-separator {
    margin-top: 2px;
    width: 2px;
    height: 16px;
    background-color: #949494;
}






/* intro */
.new-intro {
    min-height: 403px;
    margin-top: 0px;
    margin-bottom: 89px;
}

.new-intro .new-intro-img-top {
    margin-top: 40px;
    margin-bottom: 81px;
    margin-right: 90px;
    width: 138px;
}

.new-intro .new-intro-text {
    margin-left: 42px;
    margin-right: 0px;
}

.new-intro .new-intro-img-bottom {
    margin-top: 104px;
    margin-bottom: 41px;
    margin-right: 90px;
    width: 138px;
}

.new-intro .new-intro-main-img {
    border-radius: 15px;
    width: 735px;
    max-width: 100%;
    height: auto;
}






/* vision */
.new-vision {
    min-height: 278px;
    margin-top: 89px;
    margin-bottom: 60px;
}

.new-vision .new-vision-video {
    margin-top: 24px;
}

/* Force manual height instead of Bootstrap ratio */
.new-vision .new-vision-video {
    width: 100%;
    height: 255px;
    /* set the height you want */
}

.new-vision .new-vision-video iframe {
    width: 100%;
    height: 100%;
}


.new-vision .new-vision-title {
    font-size: 26px;
    font-weight: bold;
    color: #4D4D4D;
}

.new-vision .new-vision-line {
    width: 53px;
    height: 5px;
    background-color: #CA302E;
    margin-top: 11px;
    margin-bottom: 20px;
}

.new-vision .new-vision-subtitle {
    font-size: 20px;
    font-weight: bold;
    color: #4C4C4C;
    margin-bottom: 36px;
}

.new-vision .new-vision-description {
    color: #535353;
}





/* general intro */
.new-general-intro {
    background-color: #4A5A67;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 100%;
}

.new-general-intro .new-general-intro-col-left,
.new-general-intro .new-general-intro-col-center,
.new-general-intro .new-general-intro-col-right {
    padding-top: 0;
    padding-bottom: 0;
}

.new-general-intro .new-general-intro-col-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-general-intro .new-general-intro-title-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.new-general-intro .new-general-intro-title {
    font-size: 26px;
    font-weight: bold;
    color: #CDC9C8;
    line-height: 1;
}

.new-general-intro .new-general-intro-line {
    width: 53px;
    height: 5px;
    background-color: #CA302E;
    margin-top: 11px;
    margin-bottom: 20px;
}

.new-general-intro .new-general-intro-col-center {
    display: flex;
    align-items: stretch;
}

/* Force manual height instead of Bootstrap ratio */
.new-general-intro .video-wrapper {
    width: 100%;
    height: 300px;
    /* set the height you want */
}

.new-general-intro .video-wrapper iframe {
    width: 100%;
    height: 100%;
}

.new-general-intro .new-general-intro-col-right {
    /* empty */
}

.new-general-intro-row {
    margin-left: auto;
    margin-right: auto;
}

/* footer */
.new-footer {
    border-top: 2px solid #CA2F33;
}

.new-footer .new-footer-text-1 {
    font-size: 12px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.new-footer .new-footer-text-1 p {
    font-size: 12px;
}

.new-footer .custom-footer-logo-margin {
    margin-right: 12px;
}

.new-footer .mt-27 {
    margin-top: 27px;
}

.new-footer .new-footer-column-title {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 15px;
    color: black;
}

.new-footer .new-footer-item-1 {
    font-size: 12px;
    margin-bottom: 15px;
}

.new-footer .new-footer-link-1 {
    font-size: 12px;
    margin-bottom: 15px;
    color: #6f7074;
}

.new-footer .new-footer-link-1:hover {
    text-decoration: none;
}

.new-footer .new-footer-text-2 {
    font-size: 12px;
    margin-bottom: 30px;
}

.new-footer .new-footer-text-2 p {
    font-size: 12px;
}

.new-footer .new-footer-text-3 {
    font-size: 12px;
}

.new-footer .new-footer-images {
    margin-top: 15px;
    margin-bottom: 15px;
}

.new-footer-columns-outer-wrapper {
    direction: rtl;
    text-align: right
}


/* Goals */
.goal-box-col {
    padding-right: 5px;
    padding-left: 5px;
}

.new-goals {
    margin-bottom: 91px;
}

.new-goals .row:first-child {
    margin-top: 63px;
}

.new-goals .new-goals-title {
    font-size: 26px;
    font-weight: bold;
    color: #4D4D4D;
    display: inline-block;
    position: relative;
}

.new-goals .new-goals-line {
    width: 53px;
    height: 5px;
    background-color: #CA302E;
    margin-top: 11px;
    margin-bottom: 61px;
    margin-left: auto;
    margin-right: auto;
    transform: translateX(77px);
}

.new-goals .goal-box {
    width: 100%;
    max-width: 100%;
    min-height: 214px;
    border-radius: 20px;
    position: relative;
}

.new-goals .goal-box .goal-line {
    height: 1px;
    background-color: #EBBDC0;
    width: 70%;
}

.new-goals .goal-box .goal-line.top {
    margin-top: 28px;
}

.new-goals .goal-box .goal-line.bottom {
    margin-top: auto;
    margin-bottom: 28px;
}

.new-goals .goal-box .goal-text {
    color: #fff;
    font-size: 14px;
    text-align: center;
    margin: 20px 0;
    padding-left: 5px;
    padding-right: 5px;
}

.new-goals .goal-box .goal-text p {
    font-size: 14px;
}

.new-goals .goal-box.box-1 {
    background-color: #972525;
}

.new-goals .goal-box.box-2 {
    background-color: #CA3133;
}

.new-goals .goal-box.box-3 {
    background-color: #D55A5D;
}

.new-goals .goal-box.box-4 {
    background-color: #B17172;
}

.new-goals .goal-box.box-5 {
    background-color: #974142;
}

.new-goals .goal-box.box-6 {
    background-color: #972525;
}


/* content */

.new-content {
    background-color: #E6E6E6;
    min-height: 549px;
    padding-bottom: 60px;
}

.new-content .new-content-title {
    font-size: 26px;
    font-weight: bold;
    color: #4D4D4D;
    display: inline-block;
    position: relative;
    margin-top: 44px;
}

.new-content .new-content-line {
    width: 53px;
    height: 5px;
    background-color: #CA302E;
    margin-top: 11px;
    margin-bottom: 65px;
    margin-left: auto;
    margin-right: auto;
    transform: translateX(33px);
}

.new-content .new-content-inner-wrapper {
    width: 1201px;
    height: 425px;
    background-image: url('/images/new-design/content-background-longer-2-arabic.jpg?ver=8');
    background-repeat: no-repeat;
    background-size: 1201px 340px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.new-content .content-absolute-link {
    position: absolute;
    inset: 0;
    /* makes it cover the whole parent box */
    z-index: 10;
    text-decoration: none;
    color: inherit;
}

.new-content .content-absolute-link:hover {
    text-decoration: none;
    color: inherit;
}


.new-content .content-absolute-box {
    position: absolute;
    width: 148px;
    height: 201px;
    top: 35px;
    padding-right: 12px;
    padding-left: 12px;
}

.new-content .content-absolute-box .lecture-number {
    font-size: 28px;
    color: #4D4D4D;
    font-weight: bold;
    padding-top: 15px;
    line-height: 1;
}

.new-content .content-absolute-box .lecture-name {
    font-size: 15px;
    margin-bottom: 12px;
    font-weight: bold;
    line-height: 1;
}

.new-content .content-absolute-box .lecture-line {
    height: 1px;
    width: 100%;
    background-color: #B9B9B9;
    margin-bottom: 7px;
}

.new-content .content-absolute-box .lecture-content,
.new-content .content-absolute-box .lecture-content p {
    font-size: 11px;
    color: #606060;
    line-height: 1.2;
    font-weight: bold;
}



/* new boxes */
.new-boxes-outer-wrapper {
    width: 100%;
    background: linear-gradient(to bottom, #FFFFFF 0%, #E6E6E6 100%);
}

.new-boxes {
    margin-bottom: 91px;
}

.new-boxes .section-line {
    width: 100%;
    height: 1px;
    background-color: #A4A4A4;
    margin-bottom: 65px;
}

.new-boxes .info-box {
    width: 100%;
}

.new-boxes .info-header {
    height: 58px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: #008A69;
    padding-right: 14px;
    padding-left: 10px;
    color: #fff;
}

.new-boxes .info-header.seeds-header {
    background-color: #234C8A;
}

.new-boxes .info-header .header-text {}

.new-boxes .info-header .header-icon {
    height: 31px;
    margin-left: 10px;
}

.new-boxes .info-body {
    background-color: #fff;
    min-height: 281px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    font-size: 12px;
    color: #6A6A6A;
    padding: 33px 10px;
}

.new-boxes .info-body p {
    font-size: 12px;
}

.new-boxes .image-wrapper {
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.new-boxes .image-wrapper .centered-img {
    width: 100%;
    height: auto;
    /* keeps aspect ratio */
    aspect-ratio: 1 / 1;
    /* ensures it stays square */
    object-fit: cover;
    /* fills the circle nicely */
    border: 10px solid #fff;
    border-radius: 50%;
}

/* new instructor */

.new-instructor {
    min-height: 396px;
    margin-bottom: 80px;
    margin-top: 52px;
}

.new-instructor .new-instructor-title {
    font-size: 26px;
    font-weight: bold;
    color: #4D4D4D;
    display: inline-block;
    position: relative;
}

.new-instructor .new-instructor-line {
    width: 53px;
    height: 5px;
    background-color: #CA302E;
    margin-top: 11px;
    margin-bottom: 55px;
    margin-left: auto;
    margin-right: auto;
    transform: translateX(74px);
}

.new-instructor .new-instructor-image-frame {
    border: 10px solid #E6E6E6;
    border-radius: 10px;
    display: inline-block;
    background-color: #E6E6E6;
    margin-top: 81px;
}

.new-instructor .new-instructor-image {
    width: 112px;
    height: 112px;
    border-radius: 10px;
    display: block;
}

.new-instructor .new-instructor-name {
    margin-bottom: 52px;
    color: #5B5B5B;
    font-weight: bold;
}

.new-instructor .new-instructor-text-right {
    width: 48%;
    color: #6A6A6A;
    font-size: 12px;
    text-align: justify;
}

.new-instructor .new-instructor-text-right p {
    font-size: 12px;
}

.new-instructor .new-instructor-text-left {
    width: 48%;
    color: #6A6A6A;
    font-size: 12px;
    text-align: justify;
}

.new-instructor .new-instructor-text-left p {
    font-size: 12px;
}

div {
    /* border: 1px solid black; */
}

/* move these later to media-queries.css */

@media (max-width: 992px) {

    .new-content .new-content-inner-wrapper {
        width: 300px;
        height: 1352px;
        background-image: url('/images/new-design/content-background-mobile-longer-2-arabic.png?ver=5');
        background-repeat: no-repeat;
        background-size: 300px 1352px;
        position: relative;
        margin-left: auto;
        margin-right: auto;
    }

    /* Row 1 */
    .new-content .box-1 {
        top: 25px;
        right: 0 !important;
    }

    .new-content .box-2 {
        top: 25px;
        right: 150px !important;
    }

    /* Row 2 */
    .new-content .box-3 {
        top: 363px;
        right: 0 !important;
    }

    .new-content .box-4 {
        top: 363px;
        right: 150px !important;
    }

    /* Row 3 */
    .new-content .box-5 {
        top: 701px;
        right: 0 !important;
    }

    .new-content .box-6 {
        top: 701px;
        right: 150px !important;
    }

    /* Row 4 */
    .new-content .box-7 {
        top: 1039px;
        right: 0 !important;
    }

    .new-content .box-8 {
        top: 1039px;
        right: 150px !important;
    }

    .new-intro {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        margin-bottom: 0px;
        margin-top: 20px;
    }

    .new-intro .col-lg-8,
    .new-intro .col-lg-4 {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center !important;
        /* override align-items-end on mobile */
    }

    .new-intro .col-lg-8 {
        margin-top: 20px;
    }

    .new-intro .new-intro-main-img {
        width: 100%;
        max-width: 500px;
        /* optional, keeps it nicely sized */
        margin-bottom: 40px;
    }

    .new-intro .new-intro-img-top,
    .new-intro .new-intro-img-bottom {
        margin: 20px 0;
        width: 100px;
        margin-right: 0;
    }

    .new-intro .new-intro-text {
        margin: 0 20px;
        text-align: center;
        max-width: 90%;
    }

    .new-general-intro {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .new-general-intro .new-general-intro-col-center {
        align-items: center;
    }

    .new-vision {
        margin-top: 0;
    }

    .new-vision .col-lg-8 {
        padding-top: 20px;
    }

    .new-goals {
        margin-bottom: 10px;
    }

    .new-goals .goal-box {
        width: 75%;
        max-width: 75%;
        margin-bottom: 20px;
    }

    .new-instructor .new-instructor-image-frame {
        margin-top: 0;
    }

    .text-center-on-mobile {
        text-align: center !important;
    }

    .new-instructor {
        margin-bottom: 20px;
    }

    .new-boxes .section-line-row {
        height: 25px;
    }

    .new-instructor .new-instructor-name {
        margin-bottom: 20px;
    }

    .new-boxes .image-wrapper {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .new-boxes {
        margin-bottom: 0px;
    }


    .new-footer-logos {
        /* justify-content: center !important; */
        flex-wrap: wrap;
        /* allows wrapping if they don't fit in one line */
        margin-bottom: 20px;
    }

    .new-footer-images img {
        justify-content: center !important;
        width: auto;
        /* reset inline width for calculation */
    }


    .new-footer-image-1 {
        width: calc(50px * 0.65) !important;
    }

    .new-footer-image-2 {
        width: calc(116px * 0.65) !important;
    }

    .new-footer-image-3 {
        width: calc(55px * 0.65) !important;
    }

    .new-footer-image-4 {
        width: calc(85px * 0.65) !important;
    }

    .new-footer-image-5 {
        width: calc(44px * 0.65) !important;
    }

    .new-footer-image-6 {
        width: calc(200px * 0.65) !important;
    }

    .new-footer .new-footer-text-2 {
        margin-bottom: 10px;
        margin-top: 20px;
    }

}