body {
    /* font-family: 'Nunito Sans', sans-serif; */
    font-family: 'Press Start 2P', cursive;
    font-family: 'Staatliches', cursive;
    /* font-family: 'Mada', sans-serif; */
    font-family: 'Noto Kufi Arabic', sans-serif;
}

footer .container .row>div>p {
    direction: rtl;
    display: flex;
}

@media (min-width:1000px) {
    /*
    footer .margin_120_95 .row .p-r-5 {
        padding-left: 80px;
    }
    */
    footer .margin_120_95 .row .ml-lg-auto {
        margin-right: 50px;
    }
}

footer .row {
    direction: rtl;
    text-align: start;
}

footer .container .row {
    display: flex;
}

footer img {
    margin-left: calc(100% - 140px);
}

.btn_mobile {
    order: 1;
}

#newsletter form {
    direction: ltr;
}

header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

#top_menu {
    order: 1;
}

#custom-search-input .input-group button {
    order: 1;
}

.input-group .search-query {
    order: 1;
}

/*#login aside,*/
/*#register aside {*/
/*    left: calc(100% - 430px);*/
/*}*/

@media (max-width: 767px) {
    /*#login aside,*/
    /*#register aside {*/
    /*    width: 100%;*/
    /*    padding: 30px;*/
    /*    left: 0;*/
    /*}*/
}

.is-invalid~.invalid-feedback, .is-invalid~.invalid-tooltip, .was-validated :invalid~.invalid-feedback, .was-validated :invalid~.invalid-tooltip{
    text-align: right;
}
.form-group{
    text-align: right;
}
.input__label-content {
    padding-right: 10px;
    text-align: start;
    direction: rtl;
}

@media (max-width: 767px) {
    a.box_news {
        min-height: inherit;
        padding-left: right;
    }
}

@media (max-width: 767px) {
    a.box_news figure {
        position: relative;
        width: auto;
    }
}

.info {
    text-align: end;
}

.box_news h4,
.box_news ul {
    text-align: end;
}

.box_news p {
    direction: rtl;
    text-align: start;
}

#custom-search-input input[type='submit'] {
    position: relative;
    right: -1px;
    top: 0;
    border: 0;
    padding: 0 25px;
    height: 50px;
    cursor: pointer;
    outline: none;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    -ms-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
}

.input-group {
    display: flex;
    flex-wrap: nowrap;
}

#custom-search-input .search-query {
    width: 80%;
    direction: rtl;
    padding-right: 20px;
}

#menu ul li ul li a {
    text-align: end;
    transition-duration: 0.3s;
}

#menu ul li ul li a:hover {
    padding-right: 18px;
    transition-duration: 0.3s;
}

@media (max-width:900px) {
    #menu ul li ul li a {
        text-align: end;
    }
}

.mm-listview>li>a,
.mm-listview>li>span {
    text-align: end;
}

.box_1 {
    text-align: end;
}

.main-menu>ul>li span>a {
    font-family: 'Noto Kufi Arabic', sans-serif;
    /* font-family: 'Nunito Sans', sans-serif; */
    /* font-family: 'Press Start 2P', cursive;
    font-family: 'Staatliches', cursive;
    font-family: 'Mada', sans-serif; */
    font-weight: 900 !important;
    padding-right: 20px;
}


/*authy steps page*/

.step .form-group .form-control {
    text-align: end;
}

h3.main_question {
    text-align: end;
}

.form-group.radio_input {
    text-align: start;
}


/*slider*/

.box_grid .wrapper h3 {
    text-align: end;
}

.box_grid .wrapper p,
.box_grid .wrapper .rating {
    text-align: end;
}

.margin_60_35 .row {
    direction: rtl;
}

.box_teacher .wrapper_indent p {
    text-align: start;
}

.box_teacher .wrapper_indent h5 {
    text-align: start;
}

.box_teacher {
    background-color: #fff;
    padding: 30px 70px 5px 5px;
    margin-bottom: 25px;
    -webkit-box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 5%);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 5%);
    text-align: start;
}

.margin_60_35 .row .col-lg-9 .box_teacher .indent_title_in i {
    margin-left: calc(100% + 10px);
}

ul.list_3 li::before {
    left: calc(100% + 5px);
}


/*blog*/

.margin_60_35 .row {
    direction: ltr;
}

article.blog .post_info ul {
    margin: 0 -30px 0 -30px;
    padding: 10px 15px 0 15px;
    width: 100%;
    position: absolute;
    bottom: 20px;
    border-top: 1px solid #ededed;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

article.blog .post_info ul li {
    display: inline;
    position: relative;
    padding: 12px 0 0 55px;
    font-weight: 500;
    font-size: 0.75rem;
    color: #999;
}

.widget-title {
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #ededed;
    text-align: end;
}

.tags {
    text-align: end;
}

article.blog .post_info ul .trans {
    display: flex;
    position: relative;
    padding: 12px 0 0 55px;
    font-weight: 500;
    font-size: 0.75rem;
    color: #999;
    align-items: center;
    flex-direction: row-reverse;
    gap: 5px;
    flex-wrap: wrap;
}

article.blog .post_info ul li .thumb {
    display: flex;
    position: relative;
    align-items: center;
}

@media (max-width:1000px) {
    article.blog .post_info {
        min-height: 250px;
    }
}

@media (max-width:500px) {
    article.blog .post_info {
        min-height: 270px;
    }
}

@media (max-width:410px) {
    article.blog .post_info {
        min-height: 300px;
    }
}

@media (max-width:350px) {
    article.blog .post_info {
        min-height: 350px;
    }
}

.follow_us ul li:first-child {
    transform: translateY(-5px);
}

article.blog .post_info {
    text-align: end;
}


/*##########*/

.add_top_30 {
    margin-top: 30px;
    text-align: end;
}

.ShowCodes_trans {
    text-align: end;
}

.origins-and-story {
    direction: rtl;
}

.origins-and-story .col-lg-5 {
    text-align: start;
}

@media (min-width:1000px) {
    .origins-and-story .col-lg-5 {
        transform: translateX(50px);
    }
}


/*#########*/


/*index6*/

#slider.flexslider li .meta {
    position: absolute;
    bottom: 37%;
    left: 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    font-weight: 500;
    z-index: 100;
    padding-right: 45px;
    align-items: end;
    width: 100%;
    padding-right: 100px;
    text-align: end;
}

#carousel_slider.flexslider ul.slides li .caption h3 {
    text-align: end;
}


/*#########*/

.secondary_nav ul {
    margin-bottom: 0;
    direction: rtl;
    text-align: start;
}

.margin_60_35 .row {
    direction: rtl;
}

section#description,
section#lessons,
section#reviews {
    border-bottom: 3px solid #ededed;
    margin-bottom: 45px;
    text-align: end;
}

#description {
    direction: ltr;
}

.intro_title {
    display: flex;
    justify-content: space-between;
}

.box_detail ul li {
    margin-bottom: 5px;
    text-align: start;
}

.box_detail h3 {
    font-size: 20px;
    font-size: 1.25rem;
    margin: 25px 0 10px 0;
    text-align: start;
}

.course-det {
    padding-left: 0;
    padding-right: 60px;
}

ul.list_ok li:before {
    left: calc(100% + 10px);
}

ul.bullets li:before {
    font-style: normal;
    font-weight: normal;
    font-family: 'ElegantIcons';
    font-size: 14px;
    font-size: 0.875rem;
    content: "\5c";
    color: #ccc;
    position: absolute;
    left: calc(100% + 10px);
    top: 0;
}

ul.bullets li {
    position: relative;
    padding-left: 20px;
    text-align: start;
}

.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
    text-align: start;
}

.list_lessons ul li {
    border-bottom: 1px solid #ededed;
    padding: 5px 0;
    /* direction: rtl; */
    text-align: start;
}

.course-det {
    padding-left: 0px;
    padding-right: 30px;
}

@media (max-width:580px) {
    .course-det {
        padding-left: 30px;
        padding-right: 50px;
    }
}

section#description,
section#lessons,
section#reviews {
    border-bottom: 3px solid #ededed;
    margin-bottom: 45px;
    text-align: end;
}

section#reviews h2 {
    text-align: start;
}


/*
.list_articles ul li a {
    color: #555;
    display: block;
    text-align: end;
}



.list_articles ul li i {
    margin-right: 10px;
    font-size: 16px;
    font-size: 1rem;
    position: relative;
    top: 2px;
}
*/

.main_title_3 {
    text-align: end;
    padding-right: 70px;
}

.list_articles ul li a {
    color: #555;
    display: block;
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
}

@media (max-width:1000px) {
    .main_title_3 {
        padding-right: 0;
        padding-left: 0;
    }
}


/*card1*/

.bs-wizard {
    width: 100%;
    margin: 50px auto 0;
    display: flex;
    flex-direction: row-reverse;
}

.bs-wizard>.bs-wizard-step:first-child>.progress {
    left: 0%;
    width: 50%;
}

.bs-wizard>.bs-wizard-step:last-child>.progress {
    width: 50%;
    left: 50%;
}


/*#$###########*/


/*card 2*/

#total_cart {
    font-size: 24px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
}

.add_bottom_30 {
    margin-bottom: 30px;
    text-align: start;
}

.form_title {
    position: relative;
    padding-left: 55px;
    margin-bottom: 0;
    text-align: start;
}

.form_title h3 strong {
    background-color: #392779;
    text-align: center;
    width: 40px;
    height: 40px;
    display: inline-block;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 42px;
    text-align: center;
    position: relative;
    top: 0px;
    left: 5px;
}

.form_title p {
    color: #999;
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 14px;
    padding-right: 38px;
}

.box_cart {
    border: 1px solid #ededed;
    padding: 25px;
    padding-top: 25px;
    padding-right: 25px;
    padding-bottom: 25px;
    padding-left: 25px;
    margin-bottom: 25px;
    -webkit-box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 5%);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 5%);
}

.message p {
    margin: 0;
    text-align: start;
}

.input_field {
    direction: rtl;
}

.send-message-trans {
    text-align: end;
}

.clearfix li span {
    direction: rtl;
}


/*#$###########*/

section#teachers>p {
    text-align: start;
}

ul.list_teachers li a i {
    bottom: 20px;
    right: 50%;
    top: 50%;
    width: 30px;
    margin-top: -15px;
    height: 30px;
    font-size: 30px;
    font-size: 1.875rem;
    position: absolute;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    color: #3f9fff;
    animation: rotate-teacher-link 1s linear 1s infinite alternate;
}

@keyframes rotate-teacher-link {
    50% {
        transform: translateX(10px);
    }
    70% {
        transform: translateX(0px);
    }
    100% {
        transform: translateX(10px);
    }
}

.list_lessons_2 ul li {
    direction: rtl;
    display: flex;
    justify-content: space-between;
}

@media (max-width:580px) {
    section#description,
    section#lessons,
    section#reviews {
        padding-left: 10px;
        padding-right: 10px;
    }
}

#collapseOne p,
#collapseTwo p,
#collapseThree p {
    text-align: start;
    display: flex;
    flex-direction: column;
}


/*course-grid*/

.sbOptions a {
    display: block;
    outline: none;
    padding: 7px 0 7px 3px;
    text-transform: capitalize;
    text-align: end;
}

.box_grid .wrapper {
    padding: 25px;
    direction: ltr;
}

.small-cat {
    margin-left: calc(100%);
    transform: translateX(-100%);
}

article.blog .trans-class {
    text-align: end;
    text-align: start;
}

article.blog .trans-class ul .trans {
    padding-left: 0;
}

.comments-list li {
    text-align: start;
}

.nomargin_top {
    margin-top: 0;
    text-align: start;
}

.accordion_2 .card-body {
    padding-bottom: 0;
    text-align: start;
}

.box_list .wrapper {
    padding: 30px 30px 20px 30px;
    min-height: 245px;
    text-align: start;
}

.box_list a.wish_bt {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 1;
    background-color: black;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 9px 10px;
    display: inline-block;
    color: #555;
    line-height: 1;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
    right: calc(100% - 45px);
}

.box_grid small {
    margin-left: auto;
    margin-right: auto;
}

a.grid_item .info small {
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 500;
    direction: rtl;
}

a.grid_item .info small i {
    font-size: 18px;
    font-size: 1.125rem;
    margin-left: 10px;
}


/*course grid sidebar*/

a#filters_col_bt:before {
    font-family: "ElegantIcons";
    content: "\66";
    font-size: 26px;
    font-size: 1.625rem;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 1;
    font-weight: normal;
    left: 0;
}

a#filters_col_bt {
    display: block;
    color: #333;
    position: relative;
    font-size: 16px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
}

.filter_type ul li {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

#filters_col {
    padding-right: 5px;
}

#filters_col label {
    width: 80%;
    color: #333;
    font-weight: normal;
    font-size: 13px;
    font-size: 0.8125rem;
    gap: 10px;
}

.external-event {
    margin: 10px 0;
    padding: 10px;
    background: #3f9ad6;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: start;
}

#external-events p {
    margin: 1.5em 0;
    font-size: 11px;
    color: #666;
    direction: ltr;
}


/* .header.header.sticky{
    background: -webkit-linear-gradient(left, #115049, #ffffff);
    background: linear-gradient(to right, #115049, #ffffff);
} */


/* nav#menu.main-menu{
    order: 1;
} */

nav#menu.main-menu ul {
    direction: rtl;
}

#nav-search-content {
    order: -2;
    /* margin-right: 0; */
    margin-left: auto;
    margin-right: 20px;
}

#nav-search {
    text-align: right;
    padding-right: 12px;
}

.top-search-result {
    width: 55%;
    direction: rtl;
}

.search-result {
    direction: rtl;
}


/* ul#top_menu {
    order: -1;
} */

#logo {
    order: -2;
}

.rtl-top-menu {
    display: flex;
    direction: rtl;
    gap: 10px;
}

form#register-form {
    text-align: right;
}

.multiselect-container {
    direction: rtl;
    text-align: right;
}

.form-check-label {
    padding-right: 20px
}

.alert-success,
.alert-danger,
.alert-dismissible {
    text-align: right;
}

section#description,
section#lessons,
section#reviews {
    text-align: right;
    line-height: 4;
    font-size: 18px;
}

.card-body {
    text-align: right;
}

.price {
    text-align: right;
}

.card-header h5 a i.indicator {
    float: right;
}

.collapse {
    text-align: right;
}

#sidebar {
    text-align: right;
}


/**/

@media (max-width:1405px) {
    nav#menu.main-menu ul li span a {
        font-size: 10px;
    }
    nav#menu.main-menu ul {
        padding: 0;
        flex-wrap: nowrap;
        display: flex;
        transform: translateX(32px) translateY(8px);
    }
    nav#menu.main-menu {
        align-items: center;
    }
    ul#top_menu {
        display: flex;
    }
    ul#top_menu li a.btn_1 {
        padding: 10px;
        font-size: xx-small;
    }
    #nav-search {
        width: 200px;
    }
    .icon-heart-empty:before {
        font-size: 14px;
    }
    .icon-user:before {
        font-size: 14px;
    }
    .icon-logout:before {
        font-size: 14px;
    }
}

@media (max-width:1515px) {
    nav#menu.main-menu {
        transform: translateX(0);
    }
}

a#filters_col_bt {
    display: flex;
    direction: ltr;
}

a#filters_col_bt {
    color: white;
}

a#filters_col_bt:before {
    width: 100%;
    left: -90%;
    content: "\66";
    color: black;
}

a#filters_col_bt::after {
    width: 100%;
    left: 90%;
    color: black;
    content: "التصنيفات";
}

@media (min-width:1200px) {
    .box_list ul {
        position: absolute;
        top: 70%;
        left: 34%;
    }
}

ul#top_menu li:last-child a::before {
    content: "language";
    transform: translateX(-10px) translateY(10px);
}


/*resources/views/index.blade.php
*/
.icheckbox_square-grey, .iradio_square-grey{
    margin: 0 0 0 10px;
}

.icon-user .user-tooltip {
    position: absolute;
    /* float: right; */
    top: 100%;
    left: 0;
    color: transparent;
    background-color: transparent;
    padding: 10px;
    transition-duration: 0.3s;
    width: 100px;
    text-align: center;
    /* margin: 0 10px 100px;*/
}
