/* 1. COLOR */
/* 2. BACKGROUND */
/* 3. FONTS */
/* 4. CUSTOM CSS */

/* COLOR PART ------------------------------------------------ */
:root {
    --iq-text-reverse: #191919;
    --iq-primary: #95d0ca;
    --iq-primary-hover: #46a096;
    --iq-primary-hover2: #2B2D42;
    --iq-primary-hover3: #e8795b;
    --iq-primary-hover4: #E97959;
    --iq-primary-hover5: #32776f;
    --iq-primary-hover6: #c36043;
    --iq-light-primary: #d7d3f8;
    --iq-secondary: #6c757d;
    --iq-white: #f6f6f6;
    --iq-black: #000000;
    --iq-title-text: #14152D;
    --iq-body-text: #5b5b5b;
    --iq-body-text-2: #f4f4f4;
    --iq-body-text-3: #271a38;
    --iq-body-text-4: #6b5d42;
    --iq-body-text-5: #a7916a;
    --iq-body-text-6: #445D7D;
    --iq-body-bg: #F3EFEA;
    --iq-body-bg2: #dccfbc;
    --iq-body-bg3: #F3F0EB;
    --iq-bg1: #191919;
    --iq-bg2: #92DCE5;
    --iq-bg3: #dcefed;
    --iq-bg4: #E8E0D5;
    --iq-bg5: #DAEDEC;
    --iq-bg6: #e8795b;
    --iq-bg7: #7fb8f4;
    --iq-bg8: #996bce;
    --iq-bg9: #5e9995;
    --iq-body-border: #393750;
    --iq-gold: #64573D;
    --iq-black: #000000;
    --iq-bg-progress-color:#E8E0D5;
    --iq-progress-color:#95D0CB;
    --iq-progress-color-container:#e8e0d5;
    --iq-color-next-button:#141414;
    --iq-bg-color-next-button:#ababab;
    --iq-bg-progress-color-next-button:#f7f7f7;
    --iq-footer-bg: #b39f80;
    --iq-footer-text: #ffffff;
    --iq-podcastSlider-bg: #393750;
    --iq-select-bg: #5b5b5b;
    --iq-modal-bg: #ffffff;
    --iq-modal-bg2: #2E2E2E;
    --iq-modal-bg3: #d8d4d4;
    --iq-modal-text: #181818;
    --iq-modal-suggest-bg: #ffffff;
    --iq-modal-suggest-text: #2F2F2F;
    --iq-border-card1: #DADCE0;
    --iq-border-card2: #595858;
    --iq-select-text: #181818;
    --iq-secondary-2: #a79067;
    --iq-secondary-3: #e8e0d5;
}

/*******************************/
/*       B A S E  C S S        */
/*******************************/
body {
    font-family: 'Montserrat','Roboto', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    padding: 0;
    margin: 0;
    color: var(--iq-body-text);
    background: var(--iq-body-bg);
    min-height: 100vh;
}
.catalog-title,
.collection-title {
    font-family: "Playfair Display";
}
.collection-header .course-infos svg{
    color: var(--iq-primary-hover4); 
}
.btn-launch-course {
    background-color: var(--iq-progress-color);
}
.btn-launch-course:hover {
    background-color: var(--iq-bg9); 
}
/***********/
/* SIDEBAR */
/***********/
.sidebar-header .avatarImg{
    border: 2px solid  var(--iq-primary-hover3);
}
.sidebar-header .profil-level-details svg{
    height: 15px;
    stroke:  var(--iq-primary-hover3);
}
#sidebar .sidebar-header  {
    background: rgb(151 129 92 / 20%);
}
#sidebar {
    background: #D4C5B0;
    color: #fff;
}
#sidebar ul li a {
    color: var(--iq-body-text-3);
}
#sidebar ul li.active>a{
    color: white;
    background: #97815C;
}
#sidebar ul li a:hover {
    color: #D4C5B0;
    background: var(--iq-body-text-5);
}
/********/
/* HOME */
/********/
#home-slider .collection-header .course-level, 
#home-slider .collection-header .course-category,
#home-slider .collection-header .course-tag {
    border-radius: 1em;
    padding: 0 0.5em; 
    text-shadow: none;
    color: #14152d !important;
    background-color: rgb(255 255 255 / 50%) !important;
    border: 1px solid var(--iq-primary-hover4);
}
.card-header-infos .course-infos span span{
    background-color: var(--iq-primary-hover4);
    color: #fff;    
    -webkit-filter: drop-shadow( 1px 1px 1px rgba(0, 0, 0, .7));
    filter: drop-shadow( 1px 1px 1px rgba(0, 0, 0, .7));
    border-radius: 1em;
    padding: 0 0.35em;
    font-size: 0.85em;
    margin-right: 0.15em;
}
.card-body .course-title{
    font-size: 0.85em;
    font-family: 'Montserrat';
    font-weight: 500;
    color: #14152D;
}
.card-footer h5 {
    font-size: 0.85em;
    font-family: 'Montserrat';
    font-weight: 500;
    color: #14152D;
}
.card-footer p {
    font-size: 0.95em;
    font-family: 'Montserrat';
    font-weight: 400;
    color: var(--iq-bg6);
}
/* Progress bar */
.slider-main-card-progress {
    display: inline-block;
    height: 10px;
    background-color: var(--iq-progress-color);
    border-radius: 1rem;
}
.mainSliderContainer .progress-in-season{
	background-color: var(--iq-bg-progress-color);
}
.mainSliderContainer .in-progress-in-season .slider-main-card-progress {
    border: 1px solid var(--iq-bg-progress-color);
}
/*Tabs*/
.course-speaker .speaker-avatar {
    width: 50px;
    height: 50px;
    background-size: cover;
    border-radius: 50em;
    margin-right: 0.5em;
}
.course-speaker .speaker-title{
    font-size: 0.95em;
    font-family: 'Montserrat';
    font-weight: 600;
    color: #14152D;
}
.course-speaker .speaker-name{
    font-size: 1.2em;
    font-family: 'Montserrat';
    font-weight: 500;
    color: var(--iq-bg6);
}
.resource-course-title {
    font-size: 20px !important;
    line-height: 1em !important;
    font-family: 'Montserrat';
    font-weight: 500;
    color: #14152D;   
}
.btn-previous-course,
.btn-next-course {
    font-size: 0.85em;
    padding: 0.5em 1em;
    border-radius: 2em !important;
}
.btn-previous-course:hover,
.btn-next-course:hover {
    color: #fff;
    background-color: #639894!important;
    border-color: #639894!important;
}

.btn-validate-this-course,    
.btn-devalidate-this-course {    
    color: white;
    background-color: var(--iq-bg6);
    border-color: var(--iq-primary-hover6)!important;
}
.btn-validate-this-course:hover,
.btn-devalidate-this-course {
    color: #fff;
    background-color: var(--iq-bg6)!important;
    border-color: var(--iq-primary-hover6)!important;
}

/* Quiz */
#carouselQuizz .carousel-inner{
    background-color: #FFFFFF;
}
.quizz-main-container .jumbotron{
    background-color: #dccfbc;
}
.quizz-description{
    border-bottom: 1px dotted var(--iq-bg6);
}
.carousel-control-next-icon2, .carousel-control-prev-icon2 {
    background-color: var(--iq-bg6);
}
#goToScore,
#goToRetry,
#goToNextQuizz{
  background-color: var(--iq-bg6);
}

input[type='checkbox']:checked + label {
    color: var(--iq-primary);
}

#collection-level-infos .course-category {
    border:1px solid var(--iq-bg6);
}

#goToExitInQuizz,
#goToNextResourceInQuizz,
#ResultatListQuestionLink{
  background-color: var(--iq-bg6);
}

/* Courses Glimpses */
#courseGlimpsesJumbotron{
    background-color: #dccfbc;
    background-image: url('/data/app/images/theme/zen/fond-image-bubble.png');
    color: var(--iq-body-text-3);
}

#course-infos p {
    color: var(--iq-body-text-3);
}

.nav-tabs .nav-item a {
    color: var(--iq-body-text-3);
}

.nav.nav-tabs.container-fluid{
    background-color: var(--iq-body-bg2);
}

.nav-tabs .nav-link:focus{
    border-top: 3px solid var(--iq-primary-hover3);
    color: var(--iq-primary-hover3)!important; 
}

.nav-tabs .nav-link:hover {
    border-top: 3px solid var(--iq-primary-hover3);
    color: var(--iq-primary-hover3)!important; 
}

/*******************************/
/*     C U S T O M   C S S     */
/*******************************/

body.home::before,
body.page-couses-glimpses::before,
body.page-collection-details::before {
    content: "";
    height: 100%;
    width: 522px;
    background-image: url('/data/app/images/theme/zen/motif-lettres-arabes.png');
    position: fixed;
    top: 0;
    left: -200px;
    background-size: 75%;
    background-repeat: repeat-y;
    background-position: left;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}
body.home::after, 
body.page-couses-glimpses::after, 
body.page-collection-details::after {
/* body::after { */
    content: "";
    height: 100%;
    width: 1079px;
    background-image: url('/data/app/images/theme/zen/motif-arabesque.png');
    position: fixed;
    top: 0;
    right: 0;
    background-size: 75%;
    background-repeat: repeat-y;
    background-position: right;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}
#sidebar::after {
    content: "";
    height: 100%;
    width: 392px;
    background-image: url('/data/app/images/theme/zen/fond-lettres-arabes-sidebar.png');
    position: absolute;
    top: 0;
    right: 0;
    background-size: 75%;
    background-repeat: repeat-y;
    background-position: right;
    z-index: -1;
    opacity: 1;
    pointer-events: none;
}
#sidebarForum {
    background: #D4C5B0;
}
.ahead, #home, footer{
    position: relative;
    z-index: 9;
}
footer{
    background: var(--iq-footer-bg);
}