/*
yellow : #FFBE00
blue : #005A99

*/
@keyframes warning {
    50% { border-color: #f39c12; }
}

@keyframes danger {
    50% { border-color: #dd4b39; }
}
@font-face {
    font-family: "mtn";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/ooredoo-light.eot?#iefix") format("embedded-opentype"), url("../fonts/ooredoo-light.woff") format("woff"), url("../fonts/ooredoo-light.ttf") format("truetype"), url("../fonts/ooredoo-light.svg#ooredoo") format("svg");
}

@font-face {
    font-family: "mtn";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/ooredoo-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/ooredoo-Regular.woff") format("woff"), url("../fonts/ooredoo-Regular.ttf") format("truetype"), url("../fonts/ooredoo-Regular.svg#ooredoo") format("svg");
}

@font-face {
    font-family: "mtn";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/ooredoo-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/ooredoo-Bold.woff") format("woff"), url("../fonts/ooredoo-Bold.ttf") format("truetype"), url("../fonts/ooredoo-Bold.svg#ooredoo") format("svg");
}



body,html{
    font-family: "mtn";
    overflow-x: hidden !important;
    font-size: 14px;
}

a {
    color: #005b98;
}

a:hover, a:active, a:focus {
    color: #047dce;
}

a,a:hover{
    text-decoration: none !important;
}

/*Login and register styles*/
.home-body {
    background-color: #00a65a;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    /*background-image: url('../img/mtn_gb.jpg');*/
    color: #636b6f;
    font-family: 'Raleway', sans-serif;
    font-weight: 100;
    height: 100vh;
    margin: 0;
}

.full-height {
    height: 100vh;
}

.flex-center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.position-ref {
    position: relative;
}

.top-right {
    position: absolute;
    right: 10px;
    top: 18px;
}

.sm-result {
    font-size: .9em;
}

.wel-content {
    text-align: center;
}

.title {
    font-size: 54px;
    color: #0b739b;
}

.auth-links > a {
    color: #fff;
    padding: 0 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.m-b-md {
    margin-bottom: 30px;
}

.links {
    display: flex;
    justify-content: space-around;
}

.link-item {
    display: flex;
    flex-direction: column;
}

.link-item > a {
    color: #0b739b;
    padding: 0 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1rem;
    text-decoration: none;
    text-transform: uppercase;
}

.link-item img{
    width: 90px;
    display: block;
    margin-bottom: 15px;
}

.is-title {
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
}

.is-flex {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 160px;
    position: relative;
    margin: 0 auto;
}

.avatar-loading {
    position: absolute;
    top: 40%;
    left: 44%;
}

.avatar-loading .fa {
    font-size: 24px;
    color: #005A99;
}

.user-avatar:hover .edit-avatar {
    opacity: 1;
}

.profile-user-img {
    width: 160px;
}

.edit-button {
    padding: 10px;
    background-color: rgba(0,0,0,.2);
    text-align: center;
}
.edit-avatar {
    position: absolute;
    width: 160px;
    bottom: 0;
    font-size: 13px;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.edit-button > a {
    color: #fff;
}

.nav-stacked>li>a:hover {
    padding-left: 10px;
    transition: .3s ease-in-out;
}

.header-line {
    margin: 0;
    border-top: 1px solid rgba(82, 75, 75, 0.2);
}

.page-title {
    margin-top: 0;
    font-weight: 300;
    letter-spacing: -1px;
}

.my-btn {
    color: #333;
    background: #ffbe00;
    padding: 8px 15px 8px;
    font-size: 16px;
}

.my-btn:hover {
    background: #fff;
    border-color: #ffbe00;
    color: #333;
    transition: .3s ease-in-out;
}
.login-page, .register-page {
    background-image: url('../img/login-bg.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    color: #636b6f;
}

.body-flex {
    display: flex;
    align-items: center;
    justify-content: center;

}

.email-reset .login-box {
    margin: 15% auto;
}
.login-box, .register-box {
    width: 450px;
}

.login-box-body, .register-box-body {
    position: relative;
    padding-top: 50px;
}

.login-title {
    font-size: 20px;
    text-align: center;
    color: #0b739b;
}
.mtn-logo {
    position: absolute;
    top: -45px;
    left: 0; 
    right: 0;
    margin-left: 105px;
    margin-right: auto;
    width: 120px; /* Need a specific value to work */
}

.mtn-logo img {
    width: 120px;
    background-color: #fff;
    padding: 2px;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.skin-black-light .main-header>.logo {
    background-color: #00a65a;
    color: #333;
}


.skin-black-light .main-header>.logo:hover {
    background-color: #febe01;
}

.skin-black-light .main-header .navbar>.sidebar-toggle{
    border-right: 1px solid transparent;
}

.skin-black-light .wrapper, .skin-black-light .main-sidebar, .skin-black-light .left-side {
    background-color: #333333;
}

.skin-black-light .sidebar a {
    color: #FFF;
}

.skin-black-light .sidebar-menu>li:hover>a, .skin-black-light .sidebar-menu>li.active>a{
    background-color: #333333;
    color: #ffffff;
}

.skin-black-light .sidebar-menu>li>.treeview-menu {
    background: #2c3b41;
}

.skin-black-light .sidebar-menu .treeview-menu>li>a {
    color: #fff;
}

.skin-black-light .sidebar-menu .treeview-menu>li.active>a, .skin-black-light .sidebar-menu .treeview-menu>li>a:hover {
    color: #f9f9f9;
}

.skin-black-light .sidebar-menu>li>a {
    border-left: 5px solid transparent;
}

.skin-black-light .sidebar-menu>li.active>a{
    border-left-color: #FFBE00;
}

.user-panel {
    background-color: #005A99;
    padding: 30px 10px;
}

.user-panel-img {
    background-color: #f0f0f0;
}

.skin-black-light .user-panel>.info, .skin-black-light .user-panel>.info>a {
    color: #fff;
}

.skin-black-light .sidebar-menu>li.header {
    color: #ffffff;
    background: #005b98;
    text-transform: uppercase;
}

.mbox {
    border-radius: 5px;
    transition: all 0.2s;
    background-color: #fff;
    position: relative;
    width: 100%;
    
}

.mbox:hover {
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    -o-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.mbox .title {
    margin: 0;
    padding-bottom: 5px;
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.mbox .title:after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    border-radius: 2px;
    background: #ffbe00;
    margin: 0 auto;
    position: relative;
    top: 8px;
    transition: .2s ease-in-out;
}


.mbox:hover .title:after {
    width: 90px;
    transition: .2s ease-in-out;
}

.mbox:hover .title:after{
    width: 90px;
    transition: .2s ease-in-out;
}

/*Ressource Box*/

.categories-list{
    padding-left: 0;
    list-style: none;
}

.categories-list li {
    display: inline-block;
}

.resource-box {
    padding: 0;
    border: 1px solid #ebe9e7;
    box-shadow: 0 2px 1px #e1dfda;
    overflow: hidden;
    min-height: 345px;
    margin-bottom: 30px;
}

.resource-box:hover h3 {
    color: #ffbe00;
    transition: .3s ease-in-out;
}


.resource-box .title {
    position: relative;
    z-index: 2;
    color: #fff;
    border: none;
    padding-top: 30px;
}


.resource-box-header {
    height: 170px;
    background-size: cover !important;
    width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    position: relative;
}

.resource-box-header:after {
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    background-color: rgba(24, 50, 110, 0.4);
    background-image: -webkit-linear-gradient(to bottom,rgb(76, 68, 33) 0%, transparent 50%);
    background-image: linear-gradient(to bottom,rgb(76, 68, 33) 0%, transparent 50%);
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    border-radius: 5px 5px 0 0;
    top: 0;
}

.resource-box-header .elmt-type {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #ffffff;
    font-size: 1.3em;
    z-index: 2;
}

.resource-box:hover .elmt-type {
    color: #ffbe00;
    transition: .3s ease-in-out;
}

.resource-box-container {
    position: relative;
    padding: 10px;
}

.resource-box-container:after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    margin-left: -15px;
    width: 0;
    height: 0;
    border-bottom: 15px solid #fff;
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
    transition: 1s ease-in;
}

.resource-box-container h3 {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    margin: 0;
}

.resource-box-container p {
    margin-top: 10px;
}

.resource-box .mbox-footer {
    width: 100%;
    left: 0;
    padding: 0 10px;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.single-resource{
    position: relative;
    border-radius: 5px;
    background: #ffffff;
    margin-bottom: 20px;
    width: 100%;
}

.resource-image img {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    width: 100%;
}

.resource-video >* {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    width: 100%;
}

.resource-file {
    position: relative;
}

.resource-file img{
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    width: 100%;
}

.resource-file .inner{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-file a {
    width: 150px;
    height: 150px;
    font-size: 50px;
    text-align: center;
    line-height: 150px;
    background-color: rgba(255, 255, 255, 0.78);
    border-radius: 50%;
}

.resource-content {
    padding: 10px;
}

#comments-list>ul {
    padding: 0;
}

.comments li.comment {
    list-style: none;
}

.comment-body {
    margin: 30px 0;
    border-bottom: 1px solid #ccc;
}

.comment-author.vcard {
    margin-bottom: -10px;
}

.comments .avatar {
    border-radius: 100%;
}

.comments .fn {
    padding: 0 10px;
    vertical-align: top;
    font-style: normal;
    font-weight: bold;
}

.comments .comment-meta.commentmetadata {
    font-size: 12px;
    margin-left: 37px;
    margin-bottom: 5px;
}

.comments a {
    padding: 5px 10px;
}

.comments, .comments p {
    font-size: 14px;
}

.comment p {
    padding-left: 62px;
    margin-top: 0;
}

.conversation-list-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #818181;
    margin: 0 0 1em;
    border-bottom: 1px solid #f1f0f0;
    padding: 0 0 1em;
}

.conversation-list-avatar {
    margin-right: 20px;
}

.conversation-list-title {
    width: 75%;
    margin-right: auto;
}

.conversation-author {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 600;
}

.conversation-meta {
    font-size: .9em;
    font-weight: 700;
    color: #cacaca;
}

.conversation-list-reply-count {
    margin-left: auto;
    font-weight: 700;
    text-align: center;
    -ms-flex-preferred-size: 75px;
    flex-basis: 75px;
    line-height: 1;
    position: relative;
}

.thread-meta {
    font-size: .9em;
    letter-spacing: -.025em;
    font-weight: 600;
    color: #cacaca;
}

.comment-box {
    display: flex;
    align-items: flex-start;
    margin-top: 2.5em;
}

.comment-box .author, .reply .author{
    margin-right: 2em;
}

.comment-box .comment-form, .reply .reply-content {
    flex-grow: 1;
}

.reply {
    display: flex;
    align-items: flex-start;
    padding: 1.5em 0;
    border-bottom: 1px solid #f5f5f5;
}

.reply:first-child {
    border-top: 1px solid #f5f5f5;
}

.reply-owner{
    margin-right: 10px;
}

.quizz-details {
    text-transform: uppercase;
}

.quizz-details ul{
    list-style-type: none;
    padding-left: 0;
}

.quizz-details span {
    font-weight: 700;
    color: #005A9d;
}


.carousel-control {
     position: relative !important;
    /* top: 0; */
    bottom: 0;
    left: 0;
    width: 15%;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
    background-color: rgba(0,0,0,0);
    filter: alpha(opacity=50);
    opacity: .5;
}

.carousel-control>.fa {
    font-size: 40px;
     position: relative !important;
    top: 50%;
    z-index: 5;
    display: inline-block;
    margin-top: -20px;
}

.question-nav-top{
    display: flex;
    justify-content: space-between;
    font-size: .9em;
    font-weight: 700;
    margin: 10px 0;
}

.otd-counter {
    margin-bottom: 10px;
}

.warn {
    border: 3px solid #ccc !important;
    animation: warning .5s step-end infinite alternate !important;
}

.danger {
    border: 3px solid #ccc !important;
    animation: danger .5s step-end infinite alternate !important;
}


