/*-------------------------
*
*-------------------------*/

:root {
	--primary-color: #004f9f;
	--secondary-color: #ffd141;
	--gris: rgb(250, 250, 250);
	--taille-container: 2000px;
}

::selection {
	background-color: var(--secondary-color);
	color: var(--primary-color);
}

.container {
    width: calc(var(--taille-container) + 4%);
    padding: 0px 4%;
}

div.grecaptcha-badge {
	pointer-events: none;
	opacity: 0;
}

div.site-content {
    padding: 50px 4% 80px;
}

.site-content blockquote {
    padding: 30px;
    color: white;
    background: #d15157;
    font-style: italic;
    margin: 0 auto;
}

i { vertical-align: middle; }

/*-------------------------
* TITRES
*-------------------------*/

h1.entry-title, h2.main-title {
    font-size: 50px;
    text-transform: uppercase;
    font-weight: 300;
    color: var(--primary-color);
    margin: 0 auto 20px;
}

h3:not(.tab-title):not(.chapter-title), .entry-content h2 {
    font-size: 30px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 30px;
}

h3:not(.tab-title):not(.chapter-title):before, .entry-content h2:before {
    content: '';
    width: 14px;
    height: 35px;
    background-color: var(--primary-color);
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 20px;
}

/*-------------------------
* BATEAUX HEADER
*-------------------------*/

div.background-boat {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	position: relative;
}

.background-boat > div {
    position: relative;
}

.background-boat div object {
    position: absolute;
    bottom: 0;
}

.level-1 {
    background-color: #f5f5f5;
}

.level-1 object {
    opacity: 0.08;
    animation: boattop 30s linear 0s infinite;
}

.level-2 {
    background-color: #e9f1f5;
}

.level-2 object {
    opacity: 0.1;
    animation: boatmiddle 50s linear 0s infinite;
}

.level-3 {
    background-color: #d2e9f3;
}

.level-3 object {
    animation: boatbottom 90s linear 0s infinite;
}

/*-------------------------
* HEADER & NAVIGATION
*-------------------------*/

header#masthead {
    margin-bottom: 50px;
}

a#zone-logos {
    z-index: 2;
    position: absolute;
    top: 0;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

a#zone-logos div.row, div.header-logos {
    padding: 2%;
    height: 100%;
}

svg.icon.logo {
    width: 100%;
    max-width: 100%;
    display: block;
}

nav#site-navigation a {
    padding: 0px 8px;
}

section.zone-navigation {
    background-color: var(--primary-color);
    text-transform: uppercase;
    padding: 4px 4%;
    font-size: 16px;
}

section.zone-navigation a {
    color: white;
    transition: ease all 0.2s;
}

section.zone-navigation a:hover {
    color: var(--secondary-color);
}

nav#navigation-annees a {
    background-color: rgba(255,255,255,0.1);
    text-decoration: none;
    border-radius: 50px;
    padding: 4px 16px;
    margin-right: 10px;
    display: inline-block;
}

nav#navigation-annees a:last-child {
    margin-right: 0px;
}

li.wpml-ls-current-language {
	position: relative;
}

li.wpml-ls-current-language:after {
    content: '';
    background-color: var(--secondary-color);
    position: absolute;
    height: 4px;
    width: 30px;
    left: 5px;
    bottom: -12px;
}



/*-------------------------
* ONGLETS DE NAVIGATION
*-------------------------*/

nav.onglet-homepage {
    text-transform: uppercase;
}

a.single-onglet {
    opacity: 0.4;
    border-top: 3px solid black;
    transition: ease all 0.2s;
    padding: 20px 15px 30px;
    text-decoration: none;
}

a.single-onglet:not(.vide):hover {
    opacity: 1;
}

a.single-onglet.active:not(.vide) {
    background-color: var(--gris);
    opacity: 1;
}

a.single-onglet.vide {
    cursor: not-allowed;
}

nav.onglet-homepage a.single-onglet:nth-child(1) {
	border-color: green;
    margin-left: 0px;
}

nav.onglet-homepage a.single-onglet:nth-child(2) {
	border-color: red;
}

nav.onglet-homepage a.single-onglet:nth-child(3) {
	border-color: orange;
}

nav.onglet-homepage a.single-onglet:nth-child(4) {
	border-color: yellow;
    margin-right: 0px;
}

a.single-onglet h3 {
    margin: 0px;
    font-weight: normal;
    font-size: 26px;
}

a.single-onglet span.sous-titre {
    font-weight: bold;
    display: block;
    font-size: 28px;
}

/*-------------------------
* LISTE DES RAPPORTS
*-------------------------*/

section#liste-rapports .tab-content{
    display: none;
}

section#liste-rapports .tab-content.active{
    display: inherit;
}

section#liste-rapports {
    background-color: var(--gris);
    padding: 20px 30px;
    border: 1px solid #e5e5e5;
    border-radius: 0px 0px 5px 5px;
}

div.liste-chapitres.row {
    justify-content: flex-start;
}

div.chapitre-single {
  padding-right: 20px;
  margin-bottom: 20px;
}

div.chapitre-single .chapitre-content {
    padding: 50px 30px;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, rgba(0,0,0,0.8)),color-stop(100%, rgba(0,0,0,0)));
    background-image: -moz-linear-gradient(top, rgba(0,0,0,0.8),rgba(0,0,0,0));
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.8),rgba(0,0,0,0));
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.8),rgba(0,0,0,0));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div.chapitre-single .chapitre-inner {
  background-size: cover;
  min-height: 500px;
  position: relative;
}

div.chapitre-single .chapitre-inner h4 {
    font-size: 30px;
    margin: 0 auto;
    text-transform: uppercase;
    color: white;
    word-break: break-word;
    font-weight: normal;
    line-height: 1.3;
}

span.hover-chapitre {
    opacity: 0;
    display: inline-block;
    background-color: rgba(255,255,255,0.7);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 20px;
}

div.chapitre-single span.hover-chapitre{
  transition: ease all 0.3s;
}

div.chapitre-single:hover span.hover-chapitre {
  opacity: 1;
}

div.chapitre-single a {
    display: block;
    width: 100%;
    text-decoration: none;
}

span.non-dispo i svg {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

span.hover-chapitre svg {
    width: 60px;
    height: 60px;
    position: relative;
    top: calc(50% - 30px);
}

/*----------------------------
* SINGLE CHAPITRES
*-----------------------------*/

section.zone-chapitre {
    padding: 30px 12px 20px;
    background-color: var(--gris);
    max-width: 100%;
    margin: 0 auto;
    border-top: 1px solid #dee2e6;
}

ul.related-chapters {
    list-style: none;
    padding: 0px 30px 0px 0px;
}

li.chapter-single {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

li.chapter-single a {
    display: block;
    text-decoration: none;
}

h3.chapter-title {
    font-size: 22px;
    color: white;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0 auto;
    line-height: 1.3;
}

span.black-gradient {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(255,255,255,0) 100%);
    transition: ease all 0.3s;
}

ul.related-chapters span.black-gradient:hover {
    background-color: rgba(0,0,0,0.4);
}

li.chapter-single span {
    padding: 30px 30px 60px;
    display: block;
    height: 100%;
    width: 100%;
}

span.white-overlay {
    font-size: 22px;
    line-height: 1.3;
    text-transform: uppercase;
    background-color: rgba(255,255,255,0.8);
}

article.chapitre {
    -webkit-box-shadow: 0 2px 10px rgb(0 0 0 / 19%);
    box-shadow: 0 2px 10px rgb(0 0 0 / 19%);
    background-color: white;
    max-width: 100%;
    overflow: hidden;
}

aside.zone-pdf-footer {
    text-align: center;
    margin: 60px auto -160px;
    position: relative;
    z-index: 2;
}

div.telechargement-pdf {
    border: 5px solid var(--primary-color);
    background-color: var(--primary-color);
    color: white;
    margin: 0 auto;
    display: block;
    width: 430px;
    padding: 20px 0px 12px;
    text-transform: uppercase;
}

h4.intitule-rapport {
    font-weight: 300;
    margin: 0 auto;
}

span.sous-titre-rapport {
    font-size: 24px;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}

div.telechargement-pdf i.download-icon {
    position: relative;
}

div.telechargement-pdf i.download-icon:before {
    content: '';
    background-color: var(--secondary-color);
    height: 36px;
    width: 36px;
    position: relative;
    display: inline-block;
    border-radius: 20px;
}

div.telechargement-pdf i.download-icon svg {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 8px;
    top: -13px;
}

article.chapitre header.entry-header {
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

article.chapitre header.entry-header span.black-gradient{
    display: block;
    padding: 50px 40px 136px;
    max-height: 236px;
}

a.btn-download-pdf {
	display: inline-block;
    background-color: var(--secondary-color);
    border-radius: 40px;
    padding: 6px 20px;
    margin-top: 20px;
    text-decoration: none;
    transition: ease all 0.2s;
}

a.btn-download-pdf i.download-icon svg {
    width: 20px;
    height: 20px;
    margin-right: 4px;
}

article.chapitre .entry-content {
    padding: 30px 80px;
}

article.chapitre h1.entry-title {
    color: white;
    font-weight: 300;
    margin: 0 auto;
    text-transform: none;
}

article.chapitre h4 {
    font-weight: 300;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

article.chapitre li {
    margin-bottom: 20px;
}

article.chapitre blockquote p strong {
	display: block;
}

article.chapitre em {
    padding-top: 5px;
    font-style: italic;
    font-size: 16px;
    opacity: .85;
}

table.tablepress {
    margin: 40px auto 0px;
}

div.visualizer-front {
    margin-left: -80px;
}

.navigation-chapitres .nav.next svg {
    transform: rotate(180deg);
}

.navigation-chapitres .nav svg {
	width: 30px;
    height: 50px;
}

.navigation-chapitres .nav.empty svg {
	opacity: 0.2;
}

.titre-chapitre-hover {
    color: var(--accent-color);
    position: absolute;
    right: 90%;
    top: 0;
    white-space: nowrap;
    width: auto;
    text-transform: uppercase;
    background: white;
    padding: 45.5px 20px;
    -webkit-box-shadow: 10px 2px 30px rgba(0,0,0,0.09);
    box-shadow: 10px 2px 30px rgba(0,0,0,0.09);
    opacity: 0;
    transition: ease all 0.3s;
}

.titre-chapitre-hover:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 100%;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 12px solid white;
    margin-right: -12px;
    margin-top: -12px;
}

.navigation-chapitres .nav.prev:hover .titre-prev-chapitre, 
.navigation-chapitres .nav.next:hover .titre-next-chapitre {
	opacity: 1;
	right: 99%;
}

.navigation-chapitres .nav {
    border-bottom: 1px solid #d4d4d4;
    padding: 30px 20px;
    width: 100%;
    text-align: center;
    display: inline-block;
    position: relative;
}

.navigation-chapitres .nav div {
    border-bottom: none;
}

div.zone-nav {
	padding-left: 0px;
}

div.zone-titre {
    padding-right: 0px;
}

div.navigation-chapitres a {
	display: block
}

aside#notes-bas-de-page {
    margin-top: 20px;
    display: block;
    padding: 0px 80px 30px;
    border-top: 1px dotted var(--primary-color);
    font-size: 14px;
}

aside#notes-bas-de-page h4 {
    font-size: 24px;
    font-weight: 400;
}

article.chapitre a sup {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 12px;
    margin-left: 3px;
    margin-right: 4px;
    background-color: var(--secondary-color);
    border-radius: 50px;
    display: inline-block;
    min-width: 16px;
    min-height: 13px;
    line-height: 1;
    text-align: center;
    padding: 2px;
}

/*----------------------------
* AUTRES RAPPORTS - ARCHIVES
*-----------------------------*/

div.archives-content {
    margin-bottom: 36px;
}

div.ligne-rapport-single {
    background-color: var(--gris);
    padding: 8px 20px 16px;
    margin-bottom: 12px;
    border-radius: 3px;
}

h4.titre-rapport {
    font-size: 22px;
    font-weight: 400;
    margin: 0 auto;
}

ul.pdf-rapports {
    list-style: none;
    padding: 0px;
}

ul.pdf-rapports li {
    display: inline-block;
    margin-right: 4px;
}

ul.pdf-rapports li a {
    background-color: var(--secondary-color);
    padding: 2px 0px;
    border-radius: 16px;
    min-width: 60px;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    color: var(--primary-color);
    transition: ease all 0.3s;
    text-decoration: none;
}

ul.pdf-rapports li a:hover {
    background-color: #e8c34f;
}

div.ligne-rapport-single.special {
    background-color: #eeeeee;
    position: relative;
}

div.ligne-rapport-single.special i {
    position: absolute;
    right: 10px;
    top: 10px;
}

div.ligne-rapport-single span.sous-titre-rapport {
    margin: 0 auto;
    font-size: 18px;
    font-weight: 400;
    line-height: 18px;
}

/*-------------------------
* FOOTER
*-------------------------*/

footer#colophon {
    margin-top: 80px;
}

section.contact-footer {
 	background-image: url(/wp-content/themes/antigone/assets/img/ccnr-background-fond-footer.jpg);
 	padding: 120px 4%;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

a.encadre-question {
    border: 5px solid var(--primary-color);
    padding: 12px 50px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary-color);
    transition: ease all 0.3s;
    display: inline-block;
}

a.encadre-question:hover {
	transform: scale(0.95);
}

section.site-info {
    margin: 20px auto 40px;
    font-size: 16px;
    text-align: center;
}

section.site-info a {
    text-decoration: none;
}

div#logos-footer {
    margin-bottom: 30px;
}


/*-------------------------
* AUTRES PAGES
*-------------------------*/

div.visualizer-actions {
    display: none;
}

/*-------------------------
* ANIMATIONS
*-------------------------*/

@-webkit-keyframes boattop {
  0%   { left: -5%; }
  100% { left: 105%; }
}
@-moz-keyframes boattop {
  0%   { left: -5%; }
  100% { left: 105%; }
}
@-o-keyframes boattop {
  0%   { left: -5%; }
  100% { left: 105%; }
}
@keyframes boattop {
  0%   { left: -5%; }
  100% { left: 105%; }
}

@-webkit-keyframes boatmiddle {
  0%   { right: -5%; }
  100% { right: 105%; }
}
@-moz-keyframes boatmiddle {
  0%   { right: -5%; }
  100% { right: 105%; }
}
@-o-keyframes boatmiddle {
  0%   { right: -5%; }
  100% { right: 105%; }
}
@keyframes boatmiddle {
  0%   { right: -5%; }
  100% { right: 105%; }
}

@-webkit-keyframes boatbottom {
  0%   { right: 50%; }
  100% { right: 105%; }
}
@-moz-keyframes boatbottom {
  0%   { right: 50%; }
  100% { right: 105%; }
}
@-o-keyframes boatbottom {
  0%   { right: 50%; }
  100% { right: 105%; }
}
@keyframes boatbottom {
  0%   { right: 50%; }
  100% { right: -5%; }
}


@media screen and (min-width: 2000px) {

	div.site-content {
	    padding: 50px 0px 80px;
	    max-width: 2000px;
	    margin: 0 auto;
	}

}

@media screen and (min-width: 1600px) {
    div.chapitre-single.col-xl-3:nth-child(4n) {
      padding-right: 0px
    }
}

@media screen and (min-width: 1200px) and (max-width: 1600px) {
    div.chapitre-single {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    div.chapitre-single.col-xl-3:nth-child(3n) {
      padding-right: 0px
    }
}

@media screen and (min-width: 1200px) and (max-width: 1450px) {
    section.zone-navigation div.col-xl-4 {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 8px 0px;
    }

    section.zone-navigation div.col-xl-4:last-child {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    nav#site-navigation {
        text-align: right;
    }
}

@media screen and (min-width: 1200px) {

    a.single-onglet {
        margin: 0 15px;
        flex: calc((100% / 4) - ((15px * 4) - 15px ));
    }

    body.page-template-preface main.site-main div.col-xl-6:first-child {
        padding-right: 30px
    }

    div.header-logos img {
        max-width: 600px;
    }

    header div.header-logos img {
        max-width: 900px;
    }

    div.header-logos img.commision-euro {
        max-width: 200px;
    }

    article.chapitre h1.entry-title {
        font-size: 45px;
        line-height: 50px;
    }

}

@media screen and (max-width: 1200px) {
    section.zone-navigation {
        padding: 8px 4%;
    }

    section.zone-navigation .align-right {
        text-align: center;
    }

    ul.pdf-rapports {
        margin-top: 20px;
    }

    div.chapitre-single.col-lg-6:nth-child(2n) {
      padding-right: 0px
    }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
    li.chapter-single {
        width: calc((100% /2) - 12px);
        display: inline-block;
        margin-right: 10px;
        vertical-align: top;
    }

    li.chapter-single span {
        min-height: 200px;
    }

    nav#site-navigation {
        text-align: right;
    }

    article.chapitre h1.entry-title {
        font-size: 36px;
        line-height: 40px;
    }
}

@media screen and (min-width: 992px) {
    div.bloc-annee:nth-child(odd) {
        padding-right: 30px;
    }

    .background-boat > div {
	    height: 80px;
	}

}

@media screen and (max-width: 992px) {
	.background-boat > div {
	    height: 100px;
	}

    article.chapitre .entry-content {
        padding: 30px 20px;
    }

    section.site-info {
        text-align: center;
    }

    section.site-info div.row div:first-child {
        margin-bottom: 50px;
    }

    section.zone-navigation {
        text-align: center;
    }

    nav#navigation-annees {
        margin-bottom: 20px;
    }

    ul.related-chapters {
        padding: 0px;
    }

    article.chapitre h1.entry-title {
        font-size: 30px;
        line-height: 35px;
    }

}

@media screen and (max-width: 789px) {
    svg.logo {
        width: 90vw;
    }

    a.zone-logo {
        bottom: 50px;
    }

    img.commision-euro {
        height: 130px;
        margin: 0 auto;
        display: block;
    }

}

@media screen and (max-width: 576px) {

    div.chapitre-single {
      padding-right: 0px
    }

    .navigation-chapitres {
        columns: 2;
        column-gap: 0px;
    }

    div.titre-chapitre-hover {
        display: none;
    }

    .navigation-chapitres .nav {
        border: 1px solid #d4d4d4;
    }

    section.site-info div.row div:nth-child(2){
        margin-bottom: 90px;
    }

    span.eurocom {
        font-size: 14px;
    }

    .col-6 {
	    flex: 0 0 50%;
	    -ms-flex: 0 0 50%;
	    margin-top: -80px;
	}

	nav#navigation-annees a {
		margin-bottom: 6px;
	}

	.background-boat > div {
        height: 75px;
    }

    div.header-logos img {
        margin-top: 30px;
    }

    article.chapitre header.entry-header span.black-gradient {
        padding: 30px;
        max-height: 400px;
    }

    img.commision-euro {
        margin-top: -80px;
    }

}