::selection {
    background-color: #EF5C52;
    color: #eee;
}
body {
    color: #232331 !important;
}

.main-font p {
    font-family: 'Tajawal', sans-serif !important;
    font-size: 16px;
}
.row {
    overflow-wrap: break-word !important;
}
.border-primary {
    border-color: #EF5C52 !important;
}
.no-decoration {
    text-decoration: none !important;
    color: inherit !important;
}
.bg-primary {
    background-color: #EF5C52 !important;
}

.bg-dark {
    background-color: #232331 !important;
}
.bg-light {
    background-color: #fbf9f5 !important;
}
.text-primary {
    color: #EF5C52 !important;
}
.font-5 {
    font-size: 5px !important;
}
.font-12 {
    font-size: 12px !important;
}
.font-13 {
    font-size: 13px !important;
}
.font-14 {
    font-size: 14px !important;
}
.width-2rem {
    width: 2rem;
}
.width-3rem {
    width: 3rem;
}
.width-4rem {
    width: 4rem;
}
.img-64 {
    width: 64px !important;
    height: 64px !important;
}

.img-32 {
    width: 32px !important;
    height: 32px !important;
}

.img-24 {
    width: 24px !important;
    height: 24px !important;
}

.img-16 {
    width: 16px !important;
    height: 16px !important;
}
[data-src] {
    display: inline-block;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}
.dropdown-item {
    position: relative;
}
.dropdown-toggle::after {
    vertical-align: middle !important;
    /*position: absolute;
    left: 5px;
    top: 15px;*/
}

.sidenav {
    height: 100%;
    width: 25%;
    position: fixed;
    z-index: 1000 !important;
    top: 0px;
    background-color: #f3f3f3;
    overflow-x: hidden;
    padding-top: 0px;
}

@media screen and (max-width: 576px) {
    .sidenav {
        position: fixed;
        width: 100%;
        z-index: 0;
        left: -100%;
    }
}

.hero-bg {
    height: 500px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../img/hero_ar.png?v=1);
}
.hero-bg,
.hero-content {
    position: relative;
    background-color: #fff;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background-image: linear-gradient(to top, #fff 0%, transparent 50px, transparent 21px);
}

.banner-bg-1,
.banner-bg-2 {
    padding: 5em 0 !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.banner-bg-2 {
    background-image: url(../img/banner-bg-2.png?v=2);
}

.banner-bg-1 {
    background-image: url(../img/banner-bg-1.png?v=2);
}

#featured-courses {
    overflow: visible;
    z-index: 100;
    position: relative;
}

#featured-courses .container {
    position: relative;
    box-shadow: 0px 0px 25px rgba(0,0,0,0.3);
    border-radius: 20px;
    margin-top: -4rem!important;
}
#categories {
    background-image: url(../img/categories.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
.slide {
    height: 100% !important;
}

.slick-track
{
    display: flex !important;
}

.slick-slide
{
    height: inherit !important;
}
.btn-primary {
    background-color: #EF5C52 !important;
    border-color: #EF5C52 !important;
    outline: none;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    background-color: #EF5C52 !important;
    border-color: #EF5C52 !important;
}
.btn-outline-primary {
    border-color: #ccc !important;
    color: #EF5C52;
}
.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus {
    border-color: #EF5C52 !important;
    background-color: #EF5C52;
    color: #ffffff;
    outline: none;
}
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle {
    border-color: #EF5C52 !important;
    background-color: #EF5C52;
    color: #ffffff;
    outline: none;
}
.btn-primary.focus, .btn-primary:focus,
.btn-outline-primary.focus, .btn-outline-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.397) !important;
}

.font-title {
    font-weight: bold;
}

.social-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-menu ul li {
    display: inline-block;
    font-size: 1.2rem;
    padding-top: 0.2em;
}
.social-menu ul li i {
    color: #EF5C52;
    transition: cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s all;
}
.social-menu ul li:hover i {
    color: #eee;
}

/*
@media (min-width: 1366px) {
    .navbar .navbar-nav li.search {
        width: 600px;
    }
}
@media (min-width: 1290px) {
    .navbar .navbar-nav li.search {
        width: 500px;
    }
}

@media (min-width: 1090px and max-width: 1290px) {
    .navbar .navbar-nav li.search {
        width: 300px;
    }
}

@media (max-width: 360px) {
    .navbar .navbar-nav li.search {
        width: 100%;
    }
}*/
/*
@media (min-width: 768px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 1.8rem;
        padding-left: 1.8rem;
    }
}

.navbar-nav.navbar-tabs .nav-link {
    padding: 1.5rem 1rem;
}

/*.nav-tabs  {
    padding: 0rem 1rem;
}

.nav-item {
    position: relative;
    transition: 0.2s all ease-in-out;
}

.nav-item:hover::after {
    position: absolute;
    content: '';
    display: block;
    top: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.15);
    transform: skew(30deg, 0);
    z-index: 1;
    transition: 0.2s all ease-in-out;
}

.nav-item:hover {

    transition: 0.2s all ease-in-out;
}
*/

.scrollup {
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff !important;
    position: fixed;
    bottom: 10px;
    background: #232331;
    z-index: 9999;
    cursor: pointer;
}

.widget-title {
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 15px;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .05em;
    color: #EF5C52
}


.widget-title:before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 20%;
    height: 1px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
/*
.widget-title span {
    background-color: #EF5C52;
    position: relative;
    display: inline-block;
    padding: 10px 10px 10px 20px;
}

.widget-title span:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 100px 0 0 50px;
    border-color: transparent;
    position: absolute;
    top: 0;
    border-left-color: #EF5C52;
}
 */
.text-muted {
    color: #aaa !important;
}

.divided-list-items li {

    transition: all .5s cubic-bezier(.215,.61,.355,1);
}

.divided-list-items li:hover {
    transform: translateX(10px);
}

.divided-list-items li:hover a {
    color: rgba(255,255,255,0.5) !important;
}


.section-title {
    position: relative;
    display: inline-block;
    color: #232331;
    line-height: 1;
    padding-bottom: 14px;
}
.section-title::before {
    content: '';
    display: block;
    background-color: #EF5C52;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 50%;

}
/*
.section-title::after,
.section-title::before {
    color: #EF5C52;
    font-size: 36px;
    letter-spacing: -5px;
    display: inline-block;
    vertical-align: top;
    margin-top: 2px;
    line-height: 1;
    font-weight: 700;
    font-family: "Times New Roman","Bitstream Charter",Times,serif;
}
*/


/* Carousel */
#carouselExampleFade .carousel-control-prev-icon,
#carouselExampleFade .carousel-control-next-icon {
    opacity: 0;
    background-size: 20%;
    background-color: rgba(0,0,0,0.2);
    padding: 2em;
    transition: 0.2s all ease-in-out;
}

#carouselExampleFade:hover .carousel-control-prev-icon,
#carouselExampleFade:hover .carousel-control-next-icon {
    opacity: 1;
}



.iconed-column::before {
    content: '' !important;
    display: block !important;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    width: 30%;
    background-color: #eee;
    -webkit-clip-path: polygon(0 0,75% 0,100% 100%,0% 100%);
    clip-path: polygon(0 0,65% 0,100% 100%,0% 100%);
    transition: all .3s;
}
.iconed-column:hover::before {
    background-color: #EF5C52;
}

.iconed-column:hover i.fa {
    color: #fff !important;
}

/* ACCORDION */
/*
.accordion .card-header {
    padding: 0;
    border-radius: 0;
    background-color: #fff;
    color: #666;
}

.accordion .card {
    border-radius:  0;
}
.accordion .card .btn {
    position: relative;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
    padding-left: 5em;
}

.card-header .btn:before {
    content: '' !important;
    display: block !important;
    position: absolute;
    left: -1px;
    bottom: -1px;
    top: -1px;
    width: 70px;
    z-index: 0;
    background-color: #eee;
    -webkit-clip-path: polygon(0 0,75% 0,100% 100%,0% 100%);
    clip-path: polygon(0 0,65% 0,100% 100%,0% 100%);
    transition: all .3s;
} */

.accordion .card-header .panel-title {
    position: relative;
}

.accordion .card-header .btn::after {
    content: "\f107";
    color: #333;
    top: 10px;
    position: absolute;
    font-family: "FontAwesome"
}

.accordion .card-header .btn[aria-expanded="true"]::after {
    content: "\f106";
    color: #fff;
}

.card-header .btn {
    color: #666;
    background-color: #e0dfdf;
}
.card-header .btn[aria-expanded=true] {
    background-color: #e6e6ee !important;
    background-color: #EF5C52 !important;
    color: #555;
    color: #fff;
    border-radius: 0;
}

.card-header .btn[aria-expanded=true]:before {
    background-color: #EF5C52;
    border: none
}

.current-lecture {
    color: #EF5C52;
}

.article-viewer {
    max-height: 400px;
    overflow-y: auto;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;;
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #EF5C52;
  }

.lecture-list-group-item {
    border: none;
    z-index: 1;
    margin: 0 !important;
    border-bottom: 1px solid #ddd;
}
/*
.accordion-arrow {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 20px
} */

/* TESTIMONIALS */

.testimonial .author {
    position: relative;
    margin-top: -50px;

}
.testimonial .author::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 65px 0 0 30px;
    border-color: transparent;
    position: absolute;

    background-color: #EF5C52;
}

.testimonials-slider .slick-dots li button:before {
    color: #fff !important;
    font-size: 12px;
}

.custom-btn {
    font-size: 16px !important;
    line-height: 16px !important;
    font-weight: normal !important;
    border-radius: 0 !important;
    display: block;
    border: none !important;
    color: #fff !important;
    position: relative;
    text-transform: uppercase !important;
    background-color: #EF5C52 !important;
    padding: 15px 20px !important;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
    color: #aaaaaa;
    height: 50px;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057;
    padding-bottom: 1em;
    background-color: #fff;
    border: none;
    border-bottom: 3px solid #EF5C52;
    border-radius: 0;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: transparent;
    border-bottom-color: initial;
    border-bottom-width: initial;

    color: #EF5C52;
}

.form-control:focus {
    border-color: #EF5C52;
    outline: 0;
    box-shadow: none !important;
}

.search-btn {
    width: 50px;
    background-color: #EF5C52;
    background-image: url(../img/search.svg);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
}
.search-btn.searching {
    background-image: url(../img/searching.svg);
}

.toast {
    opacity: 0.9 !important;
    box-shadow: none !important;
}
.toast-success{
    background-color: #75b79e !important;
}
