/* 
    21 April 2021 
    Adding New Custom Style sheet
*/
*{
    font-family: 'Bw Modelica', sans-serif;
}
/* ======Element Custom======== */
.btn{
    border-radius: 10px !important;
}
.btn-white{
    background-color: #fff;
    color:#BA1B44;
    font-weight:700 !important;
}
.btn-white:hover{
    background-color: #BA1B44;
    color:#fff;
}

.btn-red, .btn-link-red{
    background-color: #BA1B44;
    color:#fff !important;
    font-weight:700 !important;
}
.btn-red:hover{
    background-color: #fff;
    color:#BA1B44 !important;
    box-shadow:2px 4px 8px rgba(0, 0, 0, 0.25);
}
.btn-gray{
    background: #FAFAFA;
    color:#444444 !important;
    font-weight:700 !important;
}
.btn-link-red:hover{
    background-color: #e62e5e;
    color:#fff !important;
}

.btn-outlined-white{
    background-color:none;
    border:2px solid #fff;
    color:#fff;
    font-weight:700 !important;
}
.btn-outlined-white:hover{
    border:2px solid #fff;
    background-color:#fff;
    color:#BA1B44;
}
.card{
    border-radius: 16px !important;
}
.card .fit-content{
    width:fit-content;
}
.card-primary{
    background-color:#BA1B44 !important;
    color:#fff !important;
}
.card{
    color:#201E1E;
}
.card .card-title{
    font-weight:700;
}
.card .card-text{
    font-weight:300;
}

.video-js .vjs-big-play-button{
    left:25% !important;
    right:25% !important;
    margin: auto;
}
/* .nav-item-user-profile a.profile-dropdown-toogle:hover{
    padding-left: 5px;
    padding-right: 0;
} */
.dashboard-menu{
    overflow-x:hidden;
}
.dashboard-menu:not(.dropdown-menu .dashboard-menu){
    margin-right:0px !important;
}
.form-inline{
    margin-bottom:0px !important;
}
.lecture-header{
    background-color:#fff !important;
    position: relative !important;
}
.lecture-header-left{
    flex: unset !important;
    border:none !important;
}
.lecture-sidebar{
    overflow-y:auto !important;
    overflow-x: hidden;
}
.back-to-curriculum{
    color:#ba1b44 !important;
    width:auto !important;
    font-weight:normal !important;
}
.course-progress-percentage{
    font-weight: bold;
}
.lecture-container-wrap{
    margin-top:0 !important;
}
a.profile-dropdown-toogle {
    width: 180px !important;
    height:38px !important;
}
.nav-link.profile-dropdown-toogle .profile-text-photo {
    width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    font-size: 12px;
}
.profile-dropdown-menu{
    right:unset !important;
}
/* =========================== */
.bordered-bottom{
    border-bottom:2px solid #C4C4C4;
}
.no-border{
    border:none !important
}
.border-radius-8{
    border-radius: 8px !important;
}
.border-radius-10{
    border-radius: 10px !important;
}
.border-radius-100{
    border-radius: 100px !important;
}
.bg-primary-color-red{
    background-color:#BA1B44 !important;
    color:#fff !important;
}
.primary-color-red{
    color:#BA1B44 !important;
}
.outlined-primary-color-red{
    color:#BA1B44 !important;
    border-color:#BA1B44 !important;
}
.medium-text{
    font-size: medium;
}
.header-search-2-wrap {
    max-width: 480px;
    width: 100%;
    position: relative;
}
.header-search-2-wrap input.form-control{
    width: 100%;
    padding-right: 30px;
    border:1px solid;
    border-radius:10px !important;
}
.header-search-2-wrap input.form-control::placeholder{
    color:#BA1B44 !important;
    font-weight:700 !important;
}
.header-search-2-wrap input.form-control:focus {
    outline: none;
    box-shadow: none;
}

.hero-left-2-wrap {
    display: table-cell;
    vertical-align: middle;
    height: 385px;
}
.hero-subtitle-2 {
    font-size: 20px;
}

.hero-banner-2 {
    padding: 100px 0;
    background: #d1d1d1 url(../../images/bg-new.svg) no-repeat scroll center center / cover;
    position: relative;
    width: 95%;
    margin: auto;
    border-radius: 0px 0px 10px 10px !important;
}
.hero-banner-2::before {
    content: "";
    /* background: #ba1b44; */
    height: 100%;
    left: 0;
    opacity: 0.5;
    position: absolute;
    top: 0;
    width: 100%;
    border-radius: 0px 0px 10px 10px !important;
}
.hero-banner-3{
    /* background: #d1d1d1 url(../../images/hero-background.png) no-repeat scroll center center / cover; */
}
.hero-banner-3 h4{
    font-size:1.5rem;
}
.header-content{
    position: relative;
}
.header-content .title{
    position: relative;
    /* z-index:1; */
    font-weight: 700;
    margin-bottom:2em;
}
.header-content span.back-drops{
    font-size:5.5rem;
    position: absolute;
    top: 35px;
    margin: auto;
    left: 0;
    right: 0;
    width: 70%;
    opacity: .04;
    z-index: 0;
}
.content .sub-title , 
.content-text .sub-title{
    font-weight: 300;
    font-size: small;
}
.s-dropshadow{
    box-shadow:2px 4px 8px rgba(0, 0, 0, 0.25);
}
.hero-banner {
    padding: 100px 0;
    background: #ba1b44 url(../../images/bg-image-1.png) no-repeat scroll center center / cover !important;
    position: relative;
}
.hero-banner::before {
    content: "";
    background-image: linear-gradient(rgb(33 2 10) 20%,rgb(70 4 21) 30% ,rgb(186 27 68) 100%) !important;
    height: 100%;
    left: 0;
    opacity: 0.7 !important;
    position: absolute;
    top: 0;
    width: 100%;
}
/* ======= Timeline ========== */
/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #ba1b44;
    top: 30px;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    height:82%;
}
.timeline .card-image{
    width:100px;
    height: auto;
}
.timeline ul{
    list-style-type: " - " !important;
    font-weight: 300;
}
.timeline .title{
    font-weight: 700;
    color:#BA1B44 !important;
}

/* Container around content */
.box-timeline {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.box-timeline-1{
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.box-timeline-left{
    width:40%;
    position: relative;
}
.box-timeline-right{
    width:40%;
    position: relative;
}

.box-timeline-left::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -4.7vw;
    background-color: #ba1b44;
    border: 4px solid #ba1b44;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.box-timeline-left.active::after {
    background-color: #ACC42A !important;
    border: 4px solid #ACC42A !important;
}

/* The circles on the timeline */
.box-timeline::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: ;
    border: 4px solid #FF9F55;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.left {
    left: 0;
}

/* Place the container to the right */
.right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -12px;
}

/* The actual content */
.content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
}

#course{
    position: relative;
    color:#fff;
}
#course::before {
    content: "";
    background: linear-gradient(180deg, rgba(186, 27, 68, 0.75) 0%, #9B151E 100%);
    border-radius: 0px 18px 18px 0px;
    height: 100%;
    left: 0;
    opacity: 1;
    position: absolute;
    top: 0;
    width: 50%;
    z-index:-1;
}

#course .nav.nav-pills{
    margin: auto;
    background-color: #fff;
    padding:5px 15px;
    border-radius: 18px !important;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
#course .nav-pills .nav-link{
    color:#BA1B44 !important;
    font-weight: 700;
    position: relative;
    padding: .5rem .7rem;
    margin:0px 15px;
    font-size: 1rem;
}

#course .nav-pills .nav-link.active{
    background:none;
    color: #006CB8 !important;
}
#course .nav-pills .nav-link.active::after{
    content:" ";
    width:100%;
    height:2px;
    border-radius:10px;
    background-color:#006CB8;
    bottom:5px;
    left: 0;
    position: absolute;
}
.content-course{
    margin:1em 0em 1em 5em;
}
.content-course .header-content{
    position: relative;
}
.content-course .header-content .title{
    position: relative;
    z-index:1;
    font-weight: 700;
    margin-bottom:0.3em;
}
.content-course .card{
    width:100%;
    border-radius: 10px 0px 10px 10px;
    position: relative;
}
.content-course .card .card-image{
    width:100%;
    border-radius: 10px 0px 0px 0px;
}
.content-course .badges-course, .card-with-badges .badges-course{
    width:40px;
    height:40px;
    position:absolute;
    right:0;
    top:0;
    background-color: white;
    padding:5px;
}

.content-course .badges-course .circle , .card-with-badges .badges-course .circle{
    width:30px;
    height:30px;
    border-radius:100%;
    display: block;
}
.badges-course span i.primary{
    font-size: 2em;
    color:#BA1B44;
}
.badges-course span i.blue{
    font-size: 2em;
    color:#2173D4;
}
.card-text .circle{
    width:15px;
    height:15px;
    border-radius:100%;
    display: inline-block;
    margin-right:5px;
}
#course-video .circle{
    width: 30px;
    height:30px;
    border-radius:100%;
    display: inline-block;
    margin-right:10px;
}
#course-video span i{
    font-size:2em;
    margin-right:10px;
}
.content-detail .circle{
    width: 25px;
    height:25px;
    border-radius:100%;
    display: inline-block;
    margin-right:10px;
}
.content-detail .level-title i{
    margin-right:10px;
    width:18px;
    display:inline-block;
    text-align:center;
}
.content-detail .list-group-item i{
    margin-right:10px;
    width:18px;
    display:inline-block;
    text-align:center;
}
.content-detail .circle-small{
    width: 15px;
    height:15px;
    border-radius:100%;
    display: inline-block;
    margin-right:10px;
}
.dashboard-menu .circle-small{
    width: 15px;
    height:15px;
    border-radius:100%;
    display: inline-block;
    margin-right:10px;
}
.circle.primary, .circle-small.primary{
    background-color:#BA1B44;
}
.circle.blue{
    background-color:#2173D4;
}
.circle.gray{
    background-color:#C4C4C4;
}
.circle.white , .circle-small.white{
    background-color:#fff;
}

#sidebar .card{
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.25);
    border-radius: 8px !important;
}
#sidebar input[type="checkbox"]{
    margin-right:10px;
}
#right-content .card .card-image{
    width:100%;
    border-radius: 10px 10px 0px 0px;
}

#right-content .page-item .page-link{

    color: #BA1B44;
}
#right-content .page-item.active .page-link{

    background-color: #BA1B44 !important;
    color:#fff;
}

.content-detail h4, .default h4{
    font-size:1.5rem !important;
}
.content-detail .course-widget{
    background-color: #f6faff;
    box-shadow:unset !important;
    color: #000 !important;
    border: 1px solid #C4C4C4;
}
.content-detail .list-group-item:first-child{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.content-detail .list-group-item:last-child{
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.content-detail .list-group-item{
    border: 1px solid #C4C4C4;
    padding: 1.3em 1.5em;
}
.content-detail .list-group-item.child{
    padding-left: 2.5em;
}

#bg-login{
    position: relative;
    color:#fff;
    background: #d1d1d1 url(../../images/bg-auth.svg) no-repeat scroll center center / cover;
    height: 110vh;
}
#bg-login::before {
    content: "";
    /* background: linear-gradient(180deg, rgba(186, 27, 68, 0.75) 0%, #9B151E 100%); */
    height: 100%;
    left: 0;
    opacity: 0.7;
    position: absolute;
    top: 0;
    width: 100%;
}
.centered-element{
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
}
.tab-primary .nav{
    /* width:450px; */
}
.tab-primary .nav.nav-pills{
    margin: auto;
    background-color: #fff;
    padding:0;
}
.tab-primary .nav-pills .nav-link{
    color:#000 !important;
    font-weight: 700;
    position: relative;
    padding: .5rem .7rem;
    margin:0px 15px;
    font-size: 1rem;
}

.tab-primary .nav-pills .nav-link.active{
    background:none;
    color: #BA1B44 !important;
}
.tab-primary .nav-pills .nav-link.active::after{
    content:" ";
    width:100%;
    height:2px;
    border-radius:10px;
    background-color:#BA1B44;
    bottom:5px;
    left: 0;
    position: absolute;
}
.dashboard-wrap {
    background-color: #fff !important;
    margin-top:70px;
}
.dashboard-menu-col {
    border-right: 2px solid #BA1B44 !important;
}
.dashboard-menu li.active a {
    color: #ffffff !important;
    background-color: #BA1B44 !important;
}
.dashboard-menu li a i{
    margin-right:10px;
    width:18px;
    display:inline-block;
    text-align:center;
}
.dashboard-menu li.active a i{
    color:#ffffff !important;
}
.dashboard-menu li.active .circle-small.primary{
    background-color:#fff;
}
.dashboard-menu li a{
    font-weight: 600;
    color: #BA1B44 !important;
}
.dashboard-menu li a:hover {
    background-color: #efdee2 !important;
    color: #BA1B44;
}
.lecture-title .circle {
    width: 30px;
    height:30px;
    border-radius:100%;
    display: inline-block;
    margin-right:10px;
}
}
.circle-large{
    width:100px;
    height:100px;
    border-radius:100%;
    display: inline-block;
    margin-right:5px;
}
.circle-large{
    width:80px;
    height:80px;
    border-radius:100%;
    margin-right:5px;
    display:flex;
    align-items: center;
    justify-content: center;
    color: #BA1B44;
}
.circle-large.outline-primary{
    border:4px solid #BA1B44;
}
.circle-wrap{
    position: relative;
    text-align: center;
    margin:0px 10px;
    /* font-size:1.1rem; */
}
.progress{
    background-color: #C4C4C4 !important;
}
.full-width{
    width:100%;
}
.sidebar-custom-admin{
    position: relative;
    width: auto;
}
.action-open-nav{
    display: none;
}
.button-groups{
    justify-content:flex-end;
}
.margin-sticky{
    margin-top:70px;
}
#course-video .img-fluid{
    width: inherit;
}
.lecture-header .la{
    margin-right:0.5em;
}
/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 768px) {
    /* ============= */
    #course::before{
        width:100%;
        border-radius: 0px 0px 0px 0px;
    }
    .content-course{
        margin:1em;
    }
    #course .nav-pills .nav-link {
        padding: .5rem .2rem;
        margin: 0px 15px;
        /*  font-size: 1rem; */
    }
    .box-timeline-left::after {
        right: -5.5vw;
    }
    .content {
        padding: 20px 10px;
    }
    .main-nav-auth-profile-wrap{
        width:50%;
    }
    .collapse:not(.show) {
        display: none !important;
    }
    .box-timeline-left::after {
        top: 0px;
    }
    .lecture-sidebar {
        width: 280px !important;
    }
    .lecture-container {
        margin-left: 280px !important;
    }
    .button-groups{
        justify-content:start;
    }
}
@media screen and (max-width: 767px) {
    .sidebar-custom-admin{
        position: absolute;
        height: 100%;
        width: 0;
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: #fff;
        /* overflow-x: hidden; */
        transition: 0.5s;
        padding-top:0px;
        padding-left:unset;
        padding-right: unset;
    }
    .main-nav-auth-profile-wrap {
        width: 30%;
    }
    .action-open-nav{
        display: block;
        position:absolute;
        right:-42px;
        top:0px;
    }
    .action-open-nav .btn{
        border-radius:0px 10px 10px 0px !important;
        border-left:0;
    }
    .sidebar-custom-admin.open{
        width:60%;
    }

}
@media screen and (max-width: 600px) {

    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }
    /* Make sure that all arrows are pointing leftwards */
    .container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .left::after,
    .right::after {
        left: 15px;
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }
    .box-timeline-left::after {
        display: none;
    }
    .box-timeline-1{
        padding: 0;
    }
    .box-timeline-left{
        width:auto;
    }
    .box-timeline-right{
        width:auto;
    }
    .timeline::after {
        display:none;
    }
    /* ==== */
    h4{
        font-size: 1.1rem !important;
    }
    h5{
        font-size: 1rem !important;
    }
    .full-width-sm{
        width:100%;
    }
    .lecture-container {
        margin-left: 0 !important;
    }
    .button-groups{
        justify-content:center;
    }
    .main-nav-auth-profile-wrap {
        width: 0;
    }
    a.profile-dropdown-toogle {
        width: 35px !important;
        height: 35px;
    }
    .profile-dropdown-menu{
        right:0 !important;
    }
}
