/* Color custom properties de la skin provenant de metronic.css  */

header .slogan {
    color: var(--color-brand-1);
}

footer {
    background-color: var(--color-brand-1);
}

footer .slogan {
    color: #fff;
}

.colorBrand1 {
    color: var(--color-brand-1);
}

.colorBrand2 {
    color: var(--color-brand-2);
}

.bgBrand1 {
    background-color: var(--color-brand-1);
}

.bgBrand2 {
    background-color: var(--color-brand-2);
}

.container-resources-opd .pair .picto-opd {
    background-color: var(--color-brand-1);
}

.container-resources-opd .impair .picto-opd {
    background-color: var(--color-brand-2);
}

/* / */

body {
    background-color: #f6f6f6;
    font-family: Inter var, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji !important;
}

body.has-background-image {
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


header.navbar {
    min-height: 70px;
}

header.navbar .navbar-header {
    width: 100%;
}

header.navbar .navbar-header .zone-authent {
    padding-top: 18px;
}

.navbar-brand {
    /* resultat 50 - (2 * 14) = 22px */
    min-height: 70px;
    height: 70px;
    padding-top: 4px;
    padding-bottom: 4px;
}

header.navbar .navbar-header .login-link {
    margin-right: 10px;
}

header.navbar .navbar-header .slogan {
    display: inline-block;
    font-size: 12pt;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.carousel-caption p {
    font-size: 25px;
    margin: 0 10px;
    font-weight: 600;
}

@media only screen and (max-width: 360px) {
    .carousel-caption p  {
        font-size: 20px;
    }
}

.carousel-indicators {
    display: none;
}

.intro-text {
    text-align: center;
    margin: 30px 0;
}

.intro-text p {
    font-size: 20px;
    padding: 0 10px;
}

.carousel-inner {
    height: 270px;
}

.carousel-inner .item {
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
}

header .logo-brand {

    margin: 0;
    padding: 0;
    display: inline-block;
}

header .logo-brand {
    max-width: 180px;
    max-height: 100px;

    margin-right: 10px;
}

header .container-logo {
    display: inline-block;
    max-height: 70px;
    text-decoration: none;
}

footer {
    min-height: 80px;
    padding: 10px;
    text-align: left;
}

footer .container-logo {
    display: inline-block;
    text-decoration: none;

}

footer .logo-brand {
    max-width: 200px;
    max-height: 100px;
    margin: 0;
    padding: 0;
    display: inline-block;
}

footer .slogan {
    display: inline-block;
    float: right;
    font-size: 12pt;
}

form .container-input-eye {
    position: relative;
    display: inline-block;
}

form .container-input-eye .champ-eye {
    position: absolute;
    right: 15px;
    top: 10px;
    width: 13px;
    height: 13px;
    border: solid 1px #000;
    border-radius: 75% 15%;
    transform: rotate(45deg);
    cursor: pointer;
}

form .container-input-eye .champ-eye:before {
    content: '';
    display: block;
    position: absolute;
    width: 5px;
    height: 5px;
    border: solid 1px #000;
    border-radius: 50%;
    left: 3px;
    top: 3px;
}

form .container-input-eye .champ-eye.active {
    border-color: blue;
}

form .container-input-eye .champ-eye.active:before {
    border-color: blue;
    background-color: blue;
}

.bloc-edu-nat .logo-fr {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
    width: 30px;
    height: 30px;
    background-image: url(./drapeau-fr.png);
    background-repeat: no-repeat;
}

.container-resources-opd {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.container-resources-opd .resource {
    flex: auto;
    text-align: center;
    vertical-align: top;
    border-right: 1px solid #e8e8e8;
    width: 20%;
}

.container-resources-opd .resource:last-child {
    border-right: 0;
}

.container-resources-opd .texte {
    display: block;
    font-weight: bold;
    font-size: 12pt;
    text-transform: uppercase;
}

.container-resources-opd .nb-opd {
    display: block;
    font-size: 20pt;
    font-weight: bold;
    padding-top: 10px;
}

.container-resources-opd .picto-opd {
    display: block;
    margin: auto;
    width: 80px;
    height: 80px;
}

.container-resources-opd.pictos-light .picto-opd {
    background-image: url(./sprite-resources.png);
}

.container-resources-opd .picto-opd.picto-cours {
    background-position: 0 0;
}

.container-resources-opd .picto-opd.picto-video {
    background-position: -96px 0;
}

.container-resources-opd .picto-opd.picto-fiche-synthese {
    background-position: -194px 0;
}

.container-resources-opd .picto-opd.picto-qcm,
.container-resources-opd .picto-opd.picto-sujet-corrige {
    background-position: -292px 0;
}

.container-resources-opd .picto-opd.picto-pazapa {
    background-position: -388px 0;
}

.container-resources-opd .picto-opd.picto-exercice-interactif {
    background-position: -583px 0;
}

.container-resources-opd .picto-opd.picto-illustration {
    background-position: -483px 0;
}

.mdperdu {
    display: inline-block;
}

.msg-site-close {
    margin-top: 20px;
    padding-top: 10px;
}

.signature {
    width: 150px;
    height: 100px;
}

@media (min-width: 990px) {
    .mdperdu {
        display: inline-block;
        margin-left: 20px;
    }
}

@media (max-width: 990px) {
    .container-resources-opd .resource {
        margin: 1em 0;
        width: 50%;
        border: 0;
    }
}

@media (max-width: 620px) {
    body,
    body.has-header {
        padding-top: 0 !important; /* cause metronics */
    }

    .navbar-fixed-bottom, .navbar-fixed-top {
        padding-bottom: 20px;
        position: static;
    }
}
