/********** Custom CSS **********/
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir-font-v16.1.0/Vazir.eot');
    src: url('../fonts/vazir-font-v16.1.0/Vazir.eot?#iefix') format('embedded-opentype'), url('../fonts/vazir-font-v16.1.0/Vazir.woff') format('woff'), url('../fonts/vazir-font-v16.1.0/Vazir.ttf') format('truetype'), url('../fonts/vazir-font-v16.1.0/Vazir.svg#glyphicons_halflingsregular') format('svg');
}

* {
    font-family: 'Vazir' !important;
    /*direction: rtl !important;*/
}

@media (max-width:992px) {
    nav, .dropdown-menu {
        text-align: center !important;
    }

    .mh-200 {
        min-height: 200px !important;
    }

    .mh-250 {
        min-height: 250px !important;
    }

    #topNav {
        display: inline-block;
    }

        #topNav .dropdown {
            padding-bottom: 10px;
        }

            #topNav .dropdown:hover ul {
                display: block;
            }
}

@media (min-width:992px) {
    .dropdown-menu {
        text-align: right !important;
    }

    .drp1 .dropdown-menu {
        top: 0 !important;
        right: -4px !important;
        top: -9px !important;
        position: absolute !important;
        inset: 0px 0px auto auto;
        margin: 0px;
        transform: translate(-182px, 0px) !important;
    }
}

.flex-shrink-0 {
    direction: rtl !important;
}

.btnLogin {
    border-radius: 4px;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.form-group {
    margin-bottom: 15px;
    /*margin-bottom: 0 !important;
    margin-right: 40px;*/
    /*overflow-y: auto;*/
}

    .form-group input {
        /*float: left;*/
    }

label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.close {
    /*float: left;*/
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .6;
    border: 0;
}

button.close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.dv-contact {
    margin-right: 1rem !important;
}

.lbl-contact {
    right: 0;
    left: unset !important;
}

.input-contact, .text-align-right {
    text-align: right;
}

.carousel-content-container, .features, .right-direction {
    direction: rtl;
}

.carousel-content {
    width: 90%;
}

.header-carousel .owl-nav {
    right: initial !important;
    left: 8% !important;
}

i.fa {
    font-family: 'Font Awesome 5 Free' !important;
    padding-left: 5px;
}

.features-detail {
    padding-right: 0;
}

.color-white {
    color: white;
}

.owl-carousel.owl-drag .owl-item {
    cursor: grab;
    direction: rtl;
}

    .owl-carousel.owl-drag .owl-item:active {
        cursor: grabbing;
    }

.wow small {
    direction: rtl;
}

.wow p {
    text-align: justify;
}

.wow i.fa-times {
    color: orangered !important;
}

.dropdown-hover-all .dropdown-menu, .dropdown-hover > .dropdown-menu.dropend {
    margin-right: -1px !important;
}

.dropdown-menu-inner {
    top: -9px !important;
    right: 178.7px !important;
    display: initial !important;
}

.padding-zero {
    padding: 0 !important;
}

.dropend .dropdown-toggle::after {
    transform: rotate(90deg);
}

.drp1 {
    margin-top: -3px !important;
}

#dropdown-layouts {
    padding: 0.25rem 1rem !important;
    margin: 0;
}

.logo {
    width: 65px;
}

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

.sr-only-custom {
    top: 55px;
    direction: rtl;
    border: 0; /*clip:rect(0,0,0,0);height:1px;*/
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: relative; /*position:absolute;width:1px*/
}

.course-item {
    height: 100%;
    display: grid;
}

.navbar-nav {
    direction: rtl;
}

.has-error .form-control {
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}
/*/topNav.........................................................../*/
.top-nav ul.top-menu > li .dropdown-menu.logout {
    width: 160px !important;
}

.top-nav li.dropdown .dropdown-menu {
    float: left;
    left: 0;
    right: auto;
}

.dropdown-menu.extended.logout > li {
    width: 100%;
    float: right;
    text-align: right;
}

    .dropdown-menu.extended.logout > li:last-child {
    }

    .dropdown-menu.extended.logout > li > a {
        color: #777;
        border-bottom: none !important;
    }

        .dropdown-menu.extended.logout > li > a:hover {
            /*background: none !important;*/
            background-color: rgb(231, 231, 231);
            /*color: #50c8ea;*/
        }

            .dropdown-menu.extended.logout > li > a:hover i {
                /*color: #50c8ea;*/
            }

        .dropdown-menu.extended.logout > li > a i {
            font-size: 17px;
            color: #6B6D71;
        }

        .dropdown-menu.extended.logout > li > a > i {
            display: block;
        }

.dropdown-menu.extended li a {
    border-bottom: 1px solid #EBEBEB !important;
    font-size: 12px;
    list-style: none;
    padding: 11px 10px !important;
    width: 100%;
    display: inline-block;
}

    .dropdown-menu.extended li a:hover {
        background-color: #DADADA !important;
        color: #2E2E2E;
    }

.top-nav #spnUsername {
    font-size: 13px;
    color: #555555;
}

.top-nav ul.top-menu > li > a {
    border: 1px solid #eeeeee;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    padding: 6px;
    background: none;
    margin-left: 0;
}

.top-nav ul.top-menu > li {
    margin-right: 10px;
}

    .top-nav ul.top-menu > li > a:hover, .top-nav ul.top-menu > li > a:focus {
        border: 1px solid #F1F2F7;
        background: #F1F2F7;
    }

.top-nav .dropdown-menu.extended.logout {
    top: 50px;
}

.top-nav .nav .caret {
    border-bottom-color: #A4AABA;
    border-top-color: #A4AABA;
}

.top-nav ul.top-menu > li > a:hover .caret {
    border-bottom-color: #000;
    border-top-color: #000;
}

.log-arrow-up {
    background: url("../img/arrow-up.png") no-repeat;
    width: 20px;
    height: 11px;
    position: absolute;
    left: 20px;
    top: -10px;
}

#topNav .logout {
    top: auto;
    left: auto;
    right: 0 !important;
}

/*Modal----------------------------------------------------------------------------------------------*/
.modal-footer {
    text-align: right;
}

.modal {
    font-family: tahoma;
    font-size: 14px;
    overflow: auto;
    direction: rtl;
}

    .modal .modal-part {
        float: right;
        position: relative;
        min-height: 1px;
        padding-left: 15px;
        padding-right: 15px;
    }

.modal-title {
    font-weight: 100;
}

.form-group * {
    font-size: 14px;
}

.modal-body {
    overflow-y: auto;
}

@media (max-width:768px) {
    .modal-left {
        border-top: solid 1px #e0e0e0;
        padding-top: 13px;
    }
}

@media (min-width:768px) {
    .modal-left {
        border-right: solid 1px #e0e0e0;
    }
}

.modal-open {
    overflow-y: scroll;
}

.waiting-text {
    z-index: 1061;
    position: fixed;
    padding: 0px;
    margin: 0px;
    width: 350px;
    top: 488.5px;
    left: 413px;
    text-align: center;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
}

#dvMessage {
    text-align: center;
}

.overlay {
    z-index: 1060;
    border: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    opacity: 0.6;
    position: absolute;
    background-color: rgb(0, 0, 0);
}
/*/Words.........................................................../*/
#hints, #accordion {
    margin: auto;
}

#hints {
    margin-top: 20px;
    direction: rtl;
}

#accordion a {
    position: relative;
    width: 19%;
    display: inline-grid;
    text-decoration: underline;
    /*margin-right: 170px;*/
}
/********** Template CSS **********/
:root {
    --primary: #06BBCC;
    --light: #F0FBFC;
    --dark: #181d38;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

    #spinner.show {
        transition: opacity .5s ease-out, visibility 0s linear 0s;
        visibility: visible;
        opacity: 1;
    }


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

    .btn.btn-primary,
    .btn.btn-secondary {
        color: #FFFFFF;
    }

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-right: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary);
    }

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover > .dropdown-menu,
    #dropdown-layouts:hover + .dropdown-menu,
    #dropdown-layouts + .dropdown-menu:hover {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header carousel ***/
@media (max-width: 992px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

        .header-carousel .owl-carousel-item img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        margin: 7px 0;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #FFFFFF;
        background: transparent;
        border: 1px solid #FFFFFF;
        font-size: 22px;
        transition: .5s;
    }

        .header-carousel .owl-nav .owl-prev:hover,
        .header-carousel .owl-nav .owl-next:hover {
            background: var(--primary);
            border-color: var(--primary);
        }

.page-header {
    background: linear-gradient(rgba(24, 29, 56, .7), rgba(24, 29, 56, .7)), url(../img/15.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

    .section-title::before {
        position: absolute;
        content: "";
        width: calc(100% + 80px);
        height: 2px;
        top: 4px;
        left: -40px;
        background: var(--primary);
        z-index: -1;
    }

    .section-title::after {
        position: absolute;
        content: "";
        width: calc(100% + 120px);
        height: 2px;
        bottom: 5px;
        left: -60px;
        background: var(--primary);
        z-index: -1;
    }

    .section-title.text-start::before {
        width: calc(100% + 40px);
        left: 0;
    }

    .section-title.text-start::after {
        width: calc(100% + 60px);
        left: 0;
    }


/*** Service ***/
.service-item {
    background: var(--light);
    transition: .5s;
    height: 100%;
}

    .service-item:hover {
        margin-top: -10px;
        background: var(--primary);
    }

    .service-item * {
        transition: .5s;
    }

    .service-item:hover * {
        color: var(--light) !important;
    }


/*** Categories & Courses ***/
.category img,
.course-item img {
    transition: .5s;
}

.category a:hover img,
.course-item:hover img {
    transform: scale(1.1);
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

    .testimonial-carousel .owl-item.center .testimonial-text * {
        color: #FFFFFF !important;
    }

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

    .testimonial-carousel .owl-dot.active {
        background: var(--primary);
        border-color: var(--primary);
    }


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

    .footer .btn.btn-social:hover {
        color: var(--primary);
    }

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

    .footer .btn.btn-link::before {
        position: relative;
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin-right: 10px;
    }

    .footer .btn.btn-link:hover {
        letter-spacing: 1px;
        box-shadow: none;
    }

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

    .footer .copyright a {
        color: var(--light);
    }

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

    .footer .footer-menu a:last-child {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
    }
