:root {
    --orange: #FF6600;
    --bleu: #007BCA;
    --vert: #227547;
    --violet: #A33539;
    --rose: #EF9399;
    --bleups: #090052;
    
    --powerpoint: #D7522F;
    --excel: var(--vert);
    --outlook: var(--bleu);
    --access: var(--violet);
    --digital: var(--rose);
    --photoshop: var(--bleups);
    --word: #2B579A;

    --color-categorie-bureautique: #5782a2;
    --color-categorie-reseau: #ce1c25;
    --color-categorie-systeme: #ce1c25;
    --color-categorie-infographie: #6820d5;
    --color-categorie-developpement: #3275b3;
    --color-categorie-compta: #db7029;
    --color-categorie-relationclient: #883a3a;


}

.loading_wrapper {
    text-align: center;
    margin-top: 20px;
}

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #000;
    margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* BOOTSTRAP 3.x GLOBAL STYLES
 -------------------------------------------------- */
body {
    padding-bottom: 0px;
    color: #5a5a5a;
}

/* STYLES GENERAUX
 -------------------------------------------------- */
h1, h2, h3, h4, h5, h6{
	font-variant: small-caps;
    color: var(--orange);
    font-weight: bold;
}

.fcts li, .lst li{
	list-style-type: none;
}

.fcts li:before, .lst li:before{
	content: "\f192";
	font-family: FontAwesome;
	margin-right: 8px;
}

.lst-enum li:before {
	content: "\f058";
}

.fcts-word li:before, .color-word{
	color: var(--word);
}

.fcts-excel li:before, .color-excel, .lst-vert{
	color: var(--excel);
}

.fcts-powerpoint li:before, .color-powerpoint{
	color: var(--powerpoint);
}

.fcts-outlook li:before, .color-outlook, .lst-bleu{
	color: var(--outlook);
}

.fcts-access li:before, .color-access, .lst-violet{
	color: var(--access);
}

.fcts-digital li:before, .color-digital, .lst-rose{
	color: var(--digital);
}

.fcts-photoshop li:before, .color-photoshop, .lst-bleups{
	color: var(--photoshop);
}

.updates {
    font-size: 0.8em;
    color: #535353;
    font-style: italic;
}

.prog_l1 {
    font-weight: bold;
    margin-bottom: 5px;
}

.prog_l2 {
    padding-left: 20px;
    margin-bottom: 3px;
}

.prog_jour {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    border-bottom: 1px solid #CCC;
    background-color: #ffeadc;
    padding: 5px;
    font-size: 1.2em;
}

.badge-orange {
	background-color: var(--orange);
}

.orange {
	color: var(--orange);
}

.sep{
	 height: 2em;
	 display: block;
}

.sep-half{
     height: 1em;
     display: block;
}
/* BANDEAU
 -------------------------------------------------- */
[onClick] {cursor: pointer;}

.well-lg {
    border-radius: 6px;
    padding: 10px;
}

.well {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
    margin-top: 2px;
    margin-bottom: 2px;
    min-height: 20px;
    padding: 5px;
}

#search_cpf {
    margin-right: 10px;
}

#global_search {
    border: 1px solid rgb(217, 217, 217);
    width: 200px;
    padding: 3px;
}

#global_loupe {
    height: 16px;
    position: relative;
    top: -2px;
    left: 5px;
    cursor: pointer;
}

/* CUSTOMIZE THE NAVBAR
 -------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
    left: 0;
    right: 0;
    z-index: 10;
}

.navbar {
	margin-bottom: 10px;
}

.marginBottom-0 {
	margin-bottom:0;
}

.dropdown-menu li a{
	color: #aaa;
}

.dropdown-submenu{
	position:relative;
}

.dropdown-submenu>.dropdown-menu{
	top:0;
	left:100%;
	margin-top:-6px;
	margin-left:-1px;
	-webkit-border-radius: 0 6px 6px 6px;
	-moz-border-radius:0 6px 6px 6px;
	border-radius:0 6px 6px 6px;
}

.dropdown-submenu>a:after{
	display:block;
	content:" ";
	float:right;
	width:0;
	height:0;
	border-color:transparent;
	border-style:solid;
	border-width:5px 0 5px 5px;
	border-left-color:#cccccc;
	margin-top:5px;
	margin-right:-10px;
}

.dropdown-submenu:hover>a:after{
	border-left-color:#555;
}

.dropdown-submenu.pull-left{
	float:none;
}

.dropdown-submenu.pull-left>.dropdown-menu{
	left:-100%;
	margin-left:10px;
	-webkit-border-radius:6px 0 6px 6px;
	-moz-border-radius:6px 0 6px 6px;
	border-radius:6px 0 6px 6px;
}


/* CUSTOMIZE THE CAROUSEL
 -------------------------------------------------- */

/* Carousel base class */
.carousel {
    margin-bottom: 20px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    z-index: 1;
}

/* Declare heights because of positioning of img element */
.carousel .item {
    /*margin-top: 40px;*/
    background-color: transparent;
}

.carousel img {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
}

.icon-prev, .icon-next{
	background: rgba(101, 101, 101, 0.75) none repeat scroll 0 0;
    border: 0 none;
    border-radius: 100%;
    cursor: pointer;
    color: white;
}

.carousel-indicators li{
	background-color: rgba(101, 101, 101, 1);
}

.carousel-indicators .active{
	background-color: rgba(0, 0, 0, 1);
}

.carousel-indicators {
	display: none;
    bottom: 0px;
}

/* MARKETING CONTENT
 -------------------------------------------------- */

/* Pad the edges of the mobile views a bit */
.marketing {
    padding-left: 10px;
    padding-right: 10px;
}

/* Center align the text within the columns below the carousel */
.marketing .col-md-3 {
    text-align: center;
    margin-bottom: 20px;
}

.marketing h2 {
    font-weight: normal;
}

.marketing .col-md-3 p {
    margin-left: 0;
    margin-right: 0;
}

.marketing .col-md-3 p {
	font-size: 0.9em;
}

.marketing img {
	width: auto;
	height: 190px;
}


/* Formulaire d'envoi de mails */

#form_send_mail {
    position: fixed;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

#container_form_send_mail {
    margin-left: 50px;
    margin-right: 50px;
    background-color: white;
    height: 100%;
    overflow-y: auto;
}



/* TABLE CUSTOMIZE
 -------------------------------------------------- */

.table-hover tbody tr:hover{
	background-color: #EBEBEB;
}



.leg-room { margin-bottom: 0px; padding-bottom: 20px; }


/* LISTE DES FORMATIONS
 -------------------------------------------------- */

.liste_programme {

    --color-debutant: #267e10;
    --color-intermediaire: #ce5c1a;
    --color-perfectionnement: #690000;

    margin: 10px;
    padding: 5px 10px 10px 10px;
    position: relative;
    border-radius: 4px;
    background-color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;

    &:hover {
        opacity: 1;
    }

    & .titre {
        font-size: 1.25em;
        font-weight: bold;
    }

    & a {
        text-decoration: none;
        color: white;
    }

    & .ref {
        font-size: .8em;
        opacity: .7;
    }

    & .duree {
        position: absolute;
        right: 3px;
        bottom: 3px;
        background-color: rgba(245, 245, 245, 0.534);
        padding: 3px;
        border-radius: 5px;
        font-size: .8em;
        color: #000;
        font-weight: bold;
        min-width: 40px;
        text-align: right;
        border: 1px solid #000;
    }

    & .infos {
        position: absolute;
        right: 3px;
        top: 5px;
        display: flex;
        gap: 2px;

        & .cpf {
            background-color: #090052;
            padding: 3px;
            border-radius: 5px;
            font-size: .7em;
            color: white;
            font-weight: bold;
            min-width: 30px;
            text-align: center;
        }

        & .dist {
            background-color: #007BCA;
            padding: 3px;
            border-radius: 5px;
            font-size: .7em;
            color: white;
            font-weight: bold;
            min-width: 30px;
            text-align: center;
        }

        & .pres {
            background-color: #227547;
            padding: 3px;
            border-radius: 5px;
            font-size: .7em;
            color: white;
            font-weight: bold;
            min-width: 30px;
            text-align: center;
        }
    }
}



/* RESPONSIVE CSS
 -------------------------------------------------- */

@media (min-width: 768px) {

    /* Remove the edge padding needed for mobile */
    .marketing {
        padding-left: 0;
        padding-right: 0;
    }

    /* Navbar positioning foo */
    .navbar-wrapper {
        margin-top: 0px;
        /*margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
    }
    /* The navbar becomes detached from the top, so we round the corners */
    .navbar-wrapper .navbar {
        border-radius: 4px;
    }

    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 20px;
        font-size: 21px;
        line-height: 1.4;
    }

}

@media (max-width: 768px) {

    h1 {
        font-size: 2em;
    }

    #global_search {
        width: 100%;
        font-size: 1.4em;
        line-height: 1.4em;
        text-align: center;
    }

    #global_loupe {
        height: 24px;
        position: absolute;
        right: 20px;
        top: 4px;
        left: auto;
        display: none;
    }

    #search_cpf {
        display: none;
    }

    #container_form_send_mail {
        margin-right: 10px;
        margin-left: 10px;
    }
}

@media print{
    .noprint {
        display: none;
    }

    body{
        font-size: 0.8em;
    }
}
