/**
 * Theme Name: Edukul Child
 * Template: edukul
 * Version: 1.0
 * Description: Online Courses WordPress Theme
 * Author: Ninzio
 **/

/* ========================= */
/* HEADER ================== */
@media only screen and (min-width: 991px) {
    #top-bar .top-bar-content {
        width: calc(100% - 100px);
    }

    #site-header-inner .wrap-inner{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    #site-header-inner .wrap-inner #main-nav{
        display: flex;
        align-items: center;
    }
    #site-header-inner .wrap-inner #main-nav #top-bar{
        display: none!important;
    }
}
#top-bar .langs .lang{
    width: 30px;
    display: block;
    margin-left: auto;
}

/* ========================= */
/* MENU MOBILE ============= */
#main-nav-mobi #top-bar{
    display: block!important; 
}

@media only screen and (max-width: 991px) {
    #main-nav-mobi {
        display: flex;
        flex-wrap: wrap;
        padding-bottom: 0;
    }
    #main-nav-mobi #top-bar {
        display: block !important;
        margin-top: auto;
        width: 100%;
        max-width: 100%;
    }
    #main-nav-mobi #top-bar .top-bar-content {
        width: 100%;
        text-align: left;
    }
    #main-nav-mobi #top-bar::after {
        background-color: #4582ff17;
    }
}


/* ========================= */
/* PAGE ==================== */
/* Page */
#main-content {
    padding: 80px 0;
  }
@media only screen and (max-width: 991px) {
    #main-content {
      padding: 40px 0;
    }
}

/* Top */
#featured-title.white-text{
    position: relative
}
#featured-title.white-text .main-title,
#featured-title.white-text .breadcrumb-trail{
    color: #fff;
}
#featured-title.white-text .breadcrumb-trail a{
    color: #ffffffb2 !important;
}
#featured-title.white-text::after{
    content:'';
    height:100%;
    width: 100%;
    position:absolute;
    top: 0;
    left:0;
    background: rgb(26,29,70);
    background: linear-gradient(0deg, rgba(26,29,70,0.5) 0%, rgba(26,29,70,0.8) 100%); 
}

@media only screen and (max-width: 480px) {
    #featured-title .main-title {
      font-size: 32px;
    }
}

/* ScrollBtn */
#scroll-top {
    right: 15px;
    width: 45px;
    height: 45px;
    line-height: 45px;
}
#scroll-top.show {
    bottom: 15px;
}


/* =================================== */
/* LISTE FORMATIONS ================== */
#infos-course .grid-row{
    border: 1px solid #eee !important;
    align-items: center;
    display: flex;
    background: #fbfbfb;
}
#infos-course .edukul-grid-box.no-borders .grid-item {
    margin-bottom: 0 !important;
}
#prog-bachelor #course-filter,
#prog-master #course-filter{
    display: none; 
}
#prog-bachelor, 
#prog-master{
    position:relative; 
    margin-top: 50px;
}
#prog-bachelor.loaded::before,
#prog-bachelor.loaded::after,
#prog-master.loaded::before,
#prog-master.loaded::after{
    opacity: 0;
    visibility: hidden;
}
#prog-bachelor::before,
#prog-master::before{
    content:'';
    position:absolute;
    top:0;  
    left:0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    z-index: 100;
    transition-duration: 0.3s;
    transition-delay: 0.3s;
}
#prog-bachelor::after,
#prog-master::after{
    content:'';
    position:absolute;
    top:100px;  
    left:50%;
    transform: translateX(-50%);
    height: 100px; 
    width: 100px;
    background-image: url(../image/loader.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70px;
    z-index: 101;
    transition-duration: 0.3s;
    transition-delay: 0.3s;
}
@media only screen and (max-width: 780px) {
    #infos-course .heading{
        font-size: 14px!important;
    }
    #infos-course .grid-row .edukul-icon-box{
        padding: 10px 10px 15px 10px!important;
    }
    #infos-course .grid-row .desc p span{
        font-size: 13px !important;
        line-height: 1.5 !important; 
        display: block;
        margin-top: 8px;
    }
}
@media only screen and (max-width: 580px) {
    /* #infos-course .grid-row .grid-item{ */
    #infos-course .grid-row::before{
        display: none;
    }
    #infos-course .grid-row{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        display: grid
    }
}
@media only screen and (max-width: 480px) {
    /* #infos-course .grid-row .grid-item{ */
    #infos-course .grid-row .icon i::before{
        font-size: 30px;
    }
    #infos-course .grid-row{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        display: grid
    }
    #infos-course .heading{
        font-size: 13px!important;
        margin-top: 10px!important;
    }
    #infos-course .grid-row .edukul-icon-box{
        padding: 5px 10px 15px 5px!important;
    }
    #infos-course .grid-row .desc p span{
        font-size: 12px !important;
        line-height: 1.5 !important; 
        display: block;
        margin-top: 5px;
    }
}

  
/* ========================= */
/* ELEVES =============== */ 
.page-single-gallery .gallery-detail-wrap{
    padding: 60px 0;
}
.page-single-gallery .breadcrumb-trail a:nth-child(2){
    display: none!important; 
}


/* ========================= */
/* FORMATION =============== */
#site-content.single-course{
    float: none;
    width: 100%;
}
#site-content.single-course .info-meta {
    margin: 0;
}
.edukul-courses-grid .edr-course__content {
    padding: 38px 35px 40px;
    background-color: #f7f7f7;
}
.edukul-courses-grid.style-1 .edr_course__excerpt {
    display: block!important;
} 
@media only screen and (max-width: 580px) {
    .edukul-courses-grid .edr-course__content {
        padding: 28px 25px 30px;
    }

}

/* ========================= */
/* SEARCH eleve ================== */ 

/* Search Fullscreen */
#main-nav > ul > li:last-child a{
    color:#4582ff!important
}
.search-style-fullscreen-eleve .search_form_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: #fff;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out 0.3s;
}

.search-style-fullscreen-eleve .wrap-form {
    position: absolute;
    width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 10px;
    transition: all ease-in-out 0.25s;
    max-width: 570px;
    box-shadow: 0 0 40px rgba(0,0,0,0.1);
    border-radius: 20px;
    padding: 60px;
} 
.search-style-fullscreen-eleve .wrap-form .title{
    font-size: 20px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 10px;
  color: #336bdb;
}

.search-style-fullscreen-eleve .search-field {
    width: 100%;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
    text-align: left;
    line-height: 60px;
    margin-bottom: 0;
    padding: 6px 20px;
    border-radius: 3px;
    background-color: #f6f6f6;
    color: #333;
}

.search-style-fullscreen-eleve .search-field,
.search-style-fullscreen-eleve .search-field:focus {
    border: 0;
}

.search-style-fullscreen-eleve .search-submit {
    position: absolute;
    right: 20px;
    top: 20px;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-indent: -9999px;
    padding: 0;
    background-color: transparent;
    transition: all ease 0.3s;
}

.search-style-fullscreen-eleve .search-submit:after {
    content: "\e925";
    font-family: "CoreIcon";
    font-weight: normal;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #4582ff;
    text-indent: 0;
    font-size: 25px;
    line-height: 34px;
    transition: color ease 0.3s;
}

.search-style-fullscreen-eleve .search-submit:hover:after {
    color: #336bdb;
}

.search-style-fullscreen-eleve .search-close {
    position: absolute;
    top: 10px;
  right: 25px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    z-index: 1;
    transition: all ease 0.3s; 
}

.search-style-fullscreen-eleve .search-close:before {
    /*content: '\eeae';*/
    font-family: "Edukul Icons";
    font-weight: 400;
    color: #666;
    font-size: 25px;
    transition: all ease 0.3s;
}

.search-style-fullscreen-eleve .search-close:hover:before {
    color: #000;
}

.search-style-fullscreen-eleve.search-opened .search_form_wrap {
    opacity: 1;
    visibility: visible;
}

.search-style-fullscreen-eleve.search-opened .search_form {
    margin-top: 0;
    position: relative;
}
@media only screen and (max-width: 620px) {
    .search-style-fullscreen-eleve .wrap-form {
        width: 92%;
    }
    .search-style-fullscreen-eleve .wrap-form {
        padding: 60px 20px;
    }
    .search-style-fullscreen-eleve .search-field {
        font-size: 15px;
        padding: 6px 10px;
    }
    .search-style-fullscreen-eleve .search-submit {
        right: 10px;
    }
    .search-style-fullscreen-eleve .search-submit::after {
        font-size: 23px;
    }
}

/* ========================= */
/* ELEVES ================== */ 
.single-eleve-type #site-content{
    width: 100%;
}
#eleve{
    border-radius: 15px;
    max-width: 810px;
    margin: 0 auto;
    width: 100%;
}
#eleve .title{
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #4582ff;
    text-align: center;
    padding: 10px 0;
}
#eleve .line .left, #eleve .line .right{
    padding: 15px 20px;
}
#eleve .line .left{
    font-weight: 500;
    color: #333;
}
#eleve .line{
    border-bottom: 1px solid #eee;
}
#eleve .line:last-child{
    border-bottom: 0
}
#eleve .title-informations{
    border-radius: 15px 15px 0 0;
}
#eleve .wrap-informations{
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}
#eleve .wrap-informations .wrap-photo{
    background: #f7f7f7;
    grid-column: span 3;
    display: flex;
    align-items: center;
    border-right: 1px solid #eee;
    padding: 0 10px;
}
#eleve .wrap-informations .photo{
    height: 150px;
    overflow: hidden;
    border-radius: 110px;
    width: 150px;
    margin: 0 auto;
    display: block;
}
#eleve .wrap-informations .informations{
    grid-column: span 9;
}
#eleve .wrap-informations .informations .line{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
#eleve .wrap-informations .informations .line .right{
    border-left: 1px solid #eee;
}
#eleve .wrap-registrations{
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    border-radius: 0 0 15px 15px;
}
#eleve .wrap-registrations .line{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
#eleve .wrap-registrations .line .left{
}
#eleve .wrap-registrations .line .right{
    border-left: 1px solid #eee;
}
@media only screen and (max-width: 680px) {
    #eleve .wrap-informations .wrap-photo {grid-column: span 12; border-right: 0; padding:17px}
    #eleve .wrap-informations .informations {grid-column: span 12;}
    #eleve .wrap-informations .photo {height: 130px; width: 130px;}
}
/* ========================= */
/* ARTICLE ================= */ 
.post-content-wrap .post-meta-content .post-comment,
.post-meta .post-meta-content .post-comment{
    display: none;
} 
.post-meta .post-meta-content .post-by-author a{
    pointer-events: none;
    cursor: default;  
}
.type-post .post-meta {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}


/* ========================= */
/* FOOTER ================== */
#footer-widgets .widget {
    margin: 0 0 20px;
}
#footer .informations .content {
    position: relative;
    display: inline-block;
    margin-right: 32px;
    padding-left: 26px;
}
#footer .informations .content:first-child:after {
    display: none;
    margin: 0;
}
#footer .informations .content:before {
    font-family: "CoreIcon";
    position: absolute;
    left: 1px;
    top: 0;
}
#footer .informations .content.email:before {
    content: "\e90d";
}
#footer .informations .content.phone:before {
    content: "\e924";
}
#footer .informations .content.address:before {
    content: "\e917";
}
#footer .informations .content.address::before {
    content: "\e917";
}