@import url('https://fonts.googleapis.com/css?family=Kaushan+Script|Roboto:100,100i,300,300i,400,400i,500,500i,700,700i');

/**
couleurs :
rouge : #F04D62
bleu : #074DA2
vert : #9FD18A
rose : #D39AC5
 */


body {
    font-family: 'Roboto', sans-serif;
}

/* ************* */
/*    BASE       */
/* ************* */
a {
    color: #074DA2;
}

a:hover {
    color: #F04D62;
}

.container-fluid {
    max-width: 1500px;
}

.btn.btn-primary {
    background-color: rgba(7, 77, 162, 0.8);
    color: white;
}

h2 {
    color: #074DA2;
    font-size: 2em;
    width: auto;
    min-width: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-top: 1em;
}

article section.presentation h2 {
    margin-top: 0;
}

article aside {
    font-style: italic;
    font-size: 0.9rem;
}

article h2 {
    /*
    background: left 1em/1em 0.2em;
    background-image: linear-gradient(to bottom, rgba(240,77,98, 0.5) 0%, rgba(240,77,98, 0.5) 100%);
    background-repeat: repeat-x;
     */
    margin-bottom: 1rem;
    padding: 0 !important;
    color: rgba(7, 77, 162, 0.8);
    position: relative;
    display: inline-block;
    font-size: 2rem !important;
    text-transform: uppercase;
}

article h2:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    width: 40%;
    height: 3px;
    background: rgba(7, 77, 162, 0.8);
}

/*
article <meta name="google-site-verification" content="b0njthS5FR7aS8UAFTDZUOIG7hvvzKh-Hxk6Penp0yI" />h2::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    margin: 10px auto;
    width: 50px;
    height: 3px;
    background: #77757a;
}
 */
article img {
    max-width: 100%;
    height: auto;
}

.theodore-news-list .views-view-grid .row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.theodore-news-list .views-view-grid .row .field-content,
.theodore-news-list .views-view-grid .row .views-field-field-diapositive,
.theodore-news-list .views-view-grid .row .views-field-field-vignette,
.theodore-news-list .views-view-grid .row .card {
    height: 100%;
}
.theodore-news-list .views-view-grid .row > div {
   margin-bottom: 2rem;
}


h3 {
    color: #074DA2;
    font-size: 1.35em;
    font-style: normal;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-top: 0.75rem;
    text-transform: uppercase;
    position: relative;
    width: auto;
}

h4 {
    color: #074DA2;
    font-size: 1.15em;
    font-style: normal;
    font-family: 'Roboto', sans-serif;
    font-weight: lighter;
    margin-top: 1em;
    text-transform: uppercase;
    position: relative;
    width: auto;
}

/*** NAVBAR ***/
#toolbar-administration, #toolbar-administration * {
    z-index: 10000;
}
nav {

}
li.dropdown-submenu > a::after {
    display: inline-block;
    margin-right: 0.255em;
    margin-top: 0.5rem;
  /*  vertical-align: 0.255em;*/
    content: "";
    border-left: 0.3em solid;
    border-bottom: 0.3em solid transparent;
    border-right: 0;
    border-top: 0.3em solid transparent;
    clear: both;
    float: right;
}
@media only screen and (min-width: 960px) {
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .navbar .dropdown-menu {
        min-width: 30rem;
    }
    .navbar .dropdown-menu .dropdown-menu {
        min-width: 40rem;
    }
    .navbar .dropdown-menu > .nav-item:hover {
        background-color: #074DA2;
        color: white;
    }
    .navbar .dropdown-menu > .nav-item:hover > a {
        color: white;
    }
}
/* multilevel navigation */
ul.dropdown-menu li > ul.dropdown-menu {
    left: 100%;
    top: 0;
}

ul.dropdown-menu li:hover > ul.dropdown-menu,
ul.dropdown-menu li:focus > ul.dropdown-menu {
    display: block;
}
.navbar.bg-dark {
    width: 100%;
    background-color: rgba(7, 77, 162, 0.8) !important;
    color: white;
    padding: 0 1rem;
}

.navbar-dark .navbar-nav .dropdown-menu .nav-link {
    color: #074DA2;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
    /* text-transform: uppercase;*/
    font-size: 1.1rem;
}

.navbar-dark .navbar-brand img, .footer-dark .navbar-brand img {
    filter: none;
}

section.navigation .navbar-brand img {
    height: 70px;
}

section.navigation .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.site-logo {
    background-color: white;
}

.navbar-dark .navbar-brand img, .footer-dark .navbar-brand img {
    filter: none;
    opacity: 1;
}

.navbar .dropdown-menu {
    min-width: 20rem;
}

#block-ifitsbs-logoidf p {
    margin-bottom: 0;
}

#block-ifitsbs-logoidf img {
    width: 100% !important;
    height: auto !important;
}

.region-nav-main {
    margin-left: auto;
    margin-right: auto;
}

/***** FICHIERS *****/
article .file--application-pdf,
article .file {
    background-image: none;
    padding-left: 0;
}


/**** Formations *****/
.region-sidebar-first {
    position: -webkit-sticky;
    position: sticky;
    top: 4rem;
    height: calc(100vh - 4rem);
    overflow-y: auto;
    font-size: .875rem;
}

.region-sidebar-first li.nav-item a {
    display: block;
    padding: .125rem 0;
    color: #77757a;
}

.page-node-type-formation article section {
    /*padding: 1rem;*/
}

.page-node-type-formation article section:last-child {
    margin-bottom: 1rem;
}

/*** HEADER ***/
header {
    background-size: cover;
    background-position: center;
    height: 520px;
    background-color: white;
    text-align: center;
    /*overflow: hidden;*/
    position: relative;
    z-index: 100;
    width: 100%;
    border-bottom: 3px solid #074DA2;

}

.header-inner {
    width: 100%;
    height: 100%;
   /* background-color: rgba(0, 0, 0, 0.4);*/
}

.header-region {
    color: #fff;
    max-width: 80%;
    width: 80%;
    display: inline-block;
    z-index: 1;
    margin: 0;
    line-height: 1.4;
}

.header-region h1 {
    display: inline-block;
    font-size: 2rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    letter-spacing: 3px;
    /*text-shadow: 0 0 20px rgba(0, 0, 0, 0.9);*/
    /* 0 0 7px rgba(0, 0, 0, 0.5) */
    line-height: 1;
    color: white;
    padding: 10px;
    text-transform: uppercase;
}
.frontpage .header-region h1 {
    display: none;
}

.header-region ol {
    background: none;
    font-size: 1.25rem;
    display: inline-block;
    padding: 2px 10px;
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

.header-region ol a,
.header-region ol a:hover {
    color: white;
    font-size: 0.75rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: white;
}

.breadcrumb {
    background-color: none;
}

.header-region ol li:last-child a,
.header-region ol li:last-child:hover {
    font-weight: bold;
}

header .anchor-header {
    position: absolute;
    bottom: 120px;
    left: 50%;
    width: 100px;
    margin-left: -50px;

    text-align: center;
    margin-top: 5.625rem;
}

header .anchor-header a {
    color: white;
}

header .anchor-header a:hover {
    text-decoration: none;
    color: #9FD18A;
    opacity: 0.8;
}

header .anchor-header a:focus {
    outline: none;
    text-decoration: none;
}

header .anchor-header a:before {
    font-size: 2rem;
}


#bgvid {
    display: none;
}
section.frontpage.header {
    display: none;
}
@media screen and (max-width: 36em) {
    header {
        background-image: none !important;
        height: auto;
    }
    .header-inner {
        background: rgba(7, 77, 162, 0.8);
    }
    .region-nav-branding,
    .region-nav-additional-mobile {
        display: inline-block;
    }
    .region-nav-additional-mobile p {
        margin-bottom: 0;
    }
    .region-nav-additional-mobile img {
        height: 35px;
    }
    .region-footer  {
        padding: 0;
    }
}
.field--name-field-video {
/*    display: none;*/
}
@media screen and (min-width: 36em) {
    .field--name-field-video {
        display: block;
    }
    #block-logoidf-2 {
        display: none;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
}
@media screen and (min-width: 76em) {
    .header-region h1 {
        color: #0c3d5d;
        font-size: 3.5rem;
        background-color: rgba(255, 255, 255, 0.6);
    }
    section.frontpage.header {
        display: block;
    }
    .header-region {
        max-width: 66%;
        width: 66%;

        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .frontpage header {
        width: 100%;
        height: 100vh;
        position: relative;
    }
    #bgvid {
        display: block;
        position: absolute;
        right: 0;
        bottom: 0;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: -100;
    }
}

/**** SIDEBARS ***/
.region-sidebar-first h2,
.region-sidebar-second h2 {
    font-size: 1.15rem;
    border-bottom: 1px solid #074DA2;
    text-transform: uppercase;
    font-weight: bold;
}

.region-sidebar-first ul,
.region-sidebar-second ul {
    padding-left: 0;
}

.region-sidebar-second {
    position: -webkit-sticky;
    position: sticky;
    top: 4rem;
    height: calc(100vh - 4rem);
    overflow-y: auto;
}

/**** FOOTER ****/
footer .navbar-brand img {
    height: 120px;
}

footer {
    padding-top: 0;
}

footer p {
    margin-bottom: 0.1rem;
}

footer .block {
    margin-bottom: 1rem;
}

footer a:hover {
    color: #F04D62;
}

.footer-bottom {
    background-color: white;
    /*background-color: whitesmoke;*/
}

#block-searchform {
    margin-top: 1rem;
}

footer .block:last-child {
    margin-bottom: 0;
}

footer .footer-copyright {
    text-align: center;
    color: white;
}

footer .footer-copyright p {
    margin-bottom: 0;
}


/*------------------------------------
  Text Highlight
------------------------------------*/
[class*=text-highlight-] {
    background: left 1em/1em 0.2em;
}

/* primary text highlight */
.text-highlight-primary {
    background-image: linear-gradient(to bottom, rgba(55, 125, 255, 0.5) 0%, rgba(55, 125, 255, 0.5) 100%);
    background-repeat: repeat-x;
}

/* secondary text highlight */
.text-highlight-secondary {
    background-image: linear-gradient(to bottom, rgba(113, 134, 157, 0.5) 0%, rgba(113, 134, 157, 0.5) 100%);
    background-repeat: repeat-x;
}

/* success text highlight */
.text-highlight-success {
    background-image: linear-gradient(to bottom, rgba(0, 201, 167, 0.5) 0%, rgba(0, 201, 167, 0.5) 100%);
    background-repeat: repeat-x;
}

/* info text highlight */
.text-highlight-info {
    background-image: linear-gradient(to bottom, rgba(9, 165, 190, 0.5) 0%, rgba(9, 165, 190, 0.5) 100%);
    background-repeat: repeat-x;
}

/* warning text highlight */
.text-highlight-warning {
    background-image: linear-gradient(to bottom, rgba(245, 202, 153, 0.5) 0%, rgba(245, 202, 153, 0.5) 100%);
    background-repeat: repeat-x;
}

/* danger text highlight */
.text-highlight-danger {
    background-image: linear-gradient(to bottom, rgba(237, 76, 120, 0.5) 0%, rgba(237, 76, 120, 0.5) 100%);
    background-repeat: repeat-x;
}

/* light text highlight */
.text-highlight-light {
    background-image: linear-gradient(to bottom, rgba(247, 250, 255, 0.5) 0%, rgba(247, 250, 255, 0.5) 100%);
    background-repeat: repeat-x;
}

/* dark text highlight */
.text-highlight-dark {
    background-image: linear-gradient(to bottom, rgba(30, 32, 34, 0.5) 0%, rgba(30, 32, 34, 0.5) 100%);
    background-repeat: repeat-x;
}

/* indigo text highlight */
.text-highlight-indigo {
    background-image: linear-gradient(to bottom, rgba(45, 21, 130, 0.5) 0%, rgba(45, 21, 130, 0.5) 100%);
    background-repeat: repeat-x;
}

/* navy text highlight */
.text-highlight-navy {
    background-image: linear-gradient(to bottom, rgba(33, 50, 91, 0.5) 0%, rgba(33, 50, 91, 0.5) 100%);
    background-repeat: repeat-x;
}
