/*
Theme Name: libre acces 2020
Author: Webmaster Inist-CNRS
Version: 1.0
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/*****************************/
/* General *******************/
/*****************************/
:root {
  --main-color: #f65d19;
}
@font-face {
    font-family: 'Barlow';src: url('fonts/Barlow-Bold.woff2') format('woff2');font-weight: bold;font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
    font-size: 62.5%;
    width: 100%;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.7rem;
}
h1 {
    margin-top: 25px;
    margin-bottom: 20px;
    margin-right: 0px;
    font-size: 2.8rem;
    color: var(--main-color);
    font-weight: normal;
}
h2 {
    color: var(--main-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: normal;
}
h3 {
    color: var(--main-color);
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: normal;
}
hr {
    margin-bottom: 20px;
}
a {
	text-decoration: none;
	color: var(--main-color);
	cursor: pointer;
}
a:hover {
    text-decoration: underline;
}
a:visited; a:hover {
	color: var(--main-color);
}
p {
	margin-bottom: 20px;
}
ul {
	padding-inline-start: 20px;
    list-style-position: inside;
}
.flexrow {
    display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.flexcolumn, .flexMultiColumn {
	display: flex;
	flex-direction: column;
}
/*****************************/
/* Layout ********************/
/*****************************/
header {
    height: 153px;
    border-right: 2px solid #ececec;
    border-left: 2px solid #ececec;
    margin: 0 auto;
    max-width: 1300px;
}
#cartouche {
    height: 100%;
    padding: 2.8rem 2rem 2rem 3.5rem;
    width: calc(100% - 400px);
 }
#logos {
    height: 100%;
    width: 400px;
    justify-content: center;
    align-items: center;
}
#logoInist {
    font-family: "Barlow",sans serif;
    font-weight: 800;
    font-size: 4rem;
    padding-right: 20px;
    padding-left: 20px;
}
#logos a, #logos a:hover, #logos a:visited {
    color: #000;
    text-decoration: none;
}
#titreSite {
    margin-top: 25px;
    margin-right: 0px;
    font-size: 3.2rem;
    color: var(--main-color);
    font-weight: normal;
    text-align: right;
    font-family: "Times New Roman", Times, serif;
}
#headSlogan {
    color: #3076B9;
    font-style: italic;
    text-align: right;
    font-family: "Times New Roman", Times, serif;
}
#breadcrumbs {
    display: block;
    margin: 0 auto;
    max-width: 1300px;
    height: 20px;
    border-right: 2px solid #ececec;
    border-left: 2px solid #ececec;
}
.itemBC {
    display: inline-block;
    height: 20px;
    font-size: 1.2rem;
    float: left;
    padding: 0px 5px 0px 15px;
    margin-left: 5px;
    background: url(images/chevron.png) no-repeat top 3px left;
    line-height: 2rem;
    vertical-align: middle;
}
.itemBC a, .itemBC a:hover {
    color: #000;
}
#center {
    width: 100%;
    margin: 0 auto;
    max-width: 1300px;
    border-right: 2px solid #ececec;
    border-left: 2px solid #ececec;
}
#main {
    padding: 2rem 2.5rem 2rem 2.5rem;
    width: calc(100% - 400px);
    min-width: 400px;
    margin-bottom: 50px;
}
#sidebar {
    width: 400px;
    padding: 2rem 2rem 2rem 2rem;
}
.itemSidebar, .itemSidebarCenter {
    padding: 2rem 1rem 2rem 1rem;
    background-color: #ececec;
    margin-bottom: 30px;
}
.sidebarTitle {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.voir {
    display: inline-block;
    background-color: var(--main-color);
    width: 150px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-top: 10px;
    margin-left: calc(210px - 2rem);
}
.voir a, .voir a:hover, .voirActus a, .voirActus a:hover {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}
.voirActus {
    display: block;
    background-color: var(--main-color);
    width: 250px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-top: 10px;
    margin-left: calc(100% - 250px - 2.5rem);    
}
.itemSidebarCenter {
    justify-content: center;
    text-align: center;
}
.imgSidebar {
    width: 250px;
    height: 70px;
    background-color: #fff;
    align-self: center;
}
.eventList {
    padding-right: 1em;
    padding-left: 1em;    
}
.eventTitle a {
    color: var(--main-color);
}
.actus {
    margin-top: 30px;
    margin-bottom: 30px;
}
.actus h2 {
    color: var(--main-color);
    margin-bottom: 20px;
    margin-top: 20px;
    background-color: #fff;
}
.actus ul {
    margin-bottom: 20px
}
.post_excerpt {
    font-weight: bold;
}
img.alignleft {
    margin-right: 10px;
}
.eventDate {
    margin-bottom: 20px;
    font-style: italic;
}
.datePublication {
    margin-bottom: 20px;
}
.rubside {
    margin-bottom: 20px;
}
.rubside .boxTitle {
    margin-bottom: 5px;
    border-radius: 10px;
    font-weight: 700;
}
.catDescription {
    margin-top: 30px;
    margin-bottom: 30px;
}
/*****************************/
/* News **********************/
/*****************************/
.listNews {
    width: 100;
}
.blockYear {
    margin-top: 30px;
}
.blockYearPost {
	margin-left: 100px;
	text-indent: -100px;
}
.blockYearPost a:hover {
    text-decoration: underline;
}
.dateArchive {
    font-style: italic;
}
#years {
    margin-top: 30px;
    justify-content: center;
}
.yearItem {
    padding-right: 5px;
    padding-left: 5px;
    cursor: pointer;
}
.yearItem:not(:last-child) {
    border-right: 1px solid;
}
.blockYear {
    display: none;
}
/*****************************/
/* Pagination ****************/
/*****************************/
.listPost {
    width: 100%;
    justify-content: space-between;
}
.postItemFirst {
    width: 100%;
    min-width: 400px;
    padding: 1rem;
}
.postItemHome {
    width: 400px;
    padding: 1rem;
}
.postItem {
    width: 100%;
    min-width: 400px;
}
.postItemTexte {
    width: 100%;
    min-width: 400px;
}
.listTitle {
    color: var(--main-color);
    font-size: 1.8rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 0px;
}
.listTitle a {
    color: var(--main-color);    
}
.listTitle a:hover {
    text-decoration: underline;
}
.listDate {
    margin-top: 10px;
    margin-bottom: 10px;
}
.postExcerpt {
    margin-top: 10px;
    margin-bottom: 10px;    
}
.postItem .postDescription {
    margin-bottom: 0px
}
#pagination {
    margin-top: 30px;
    margin-bottom: 50px;
    padding-inline-start: 0;
}
.pagines{
    cursor: pointer;
    list-style: none;
    display: inline-block;
    width: 40px;
    text-align: center;
}
.pointpages {
    list-style: none;
    display: inline-block;
    width: 40px;    
}
.activePage {
    background-color: var(--main-color);
    color: white;
    text-align: center;
}
.lire {
    margin-top: 1rem;
    padding-left: 15px;
    font-size: 0.9em;
    color: #3b3b3b;
    background-image: url(images/arrow1.png);
    background-repeat: no-repeat;
    background-position: 0px 0px;
    height: 19px;
    width: 237px;
}
#listCategories {
    margin-top: 30px;
}
#listCategories li a {
    color: var(--main-color);   
}
/*****************************/
/* glossaire *****************/
/*****************************/
.glossaryLink {
    font-weight: bold;
    border-bottom: dotted 1px var(--main-color)!important;
}
.glossaire {
    justify-content: center;
    margin-top: 50px;
}
#letterBox {
    width: 204px;
    background-color: var(--main-color);
    justify-content: center;
    border-radius: 10px;
    align-self: flex-start;
    padding: 2px;
}
.itemLetter {
    width: 40px;
    height: 40px;
    line-height: 34px;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}
.itemLetter.show-on {
    color: #fff;    
}
.itemLetter.show-off {
    color: #000;
}
.listGlossaire {
    width: calc(100% - 254px);
    min-width: 280px;
    margin-left: 50px;
}
.noshow {
    display: none;
}
.showBlock {
    display: block;
}
.active {
    display: block;
}
.ask {
    border: 3px solid #fff;
    border-radius: 50%;
}
.itemGlossaire {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 10px;
    color: var(--main-color);
    cursor: pointer;   
}
.contentGlossaire {
    display: none;
}
/*****************************/
/* hamburger *****************/
/*****************************/
.header__icon {
    cursor: pointer;
    display: none;
    height: 50px;
    position: absolute;
    right: 10px;
    top: 0;
    width: 50px;
}
/*****************************/
/* Search ********************/
/*****************************/
#searchForm {
    width: 300px;
    height: 50px;
    border: 2px solid var(--main-color); ;
    margin: 0 auto;
    background-color: #fff;
}
#searchForm input {
    height: 46px;
    width: 240px;
    border: none;
    padding-left: 20px;
    font-size: 1.4rem;
    font-weight: bold;
}
#searchForm button {
    display: inline-block;
    width: 50px;
    height: 30px;
    background-color: var(--main-color); ;
    color: #fff;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
}
.searchTerm {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}
//*****************************/
/* single ********************/
/*****************************/
.imageEnAvant {
    max-height: 275px;
    width: auto;
}
.centreImage {
    justify-content: center;
    margin-bottom: 20px;
}
/*****************************/
/* contact ********************/
/*****************************/
.wpcf7-submit {
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    height: 30px;
    line-height: 30px;
    width: 150px;
    color: white;
    font-weight: bold;
}
.wpcf7-text, .wpcf7-textarea {
    border: 2px solid var(--main-color);
    margin-top: 10px; 
    border-width: 1px
}
/*****************************/
/* menu **********************/
/*****************************/
nav {
    margin: 0;
    list-style-type: none;
    height: 40px;
    width: 100%;
    background-color: var(--main-color);
}
nav ul, nav ul ul {
	list-style: none;
}
nav ul {
    width: 100%;
    margin: 0 auto;
    max-width: 1300px;
    line-height: 40px;
    padding-left: 1rem;
    list-style: none;
}
nav ul li {
    float: left;
    color: #fff;
    cursor: pointer;
    font-size: 1.8rem;
}
nav a, nav a:hover {
    color: #fff;
    text-decoration: none;
}
nav .menu-haut {
    height: 40px;
}
nav .menu-haut li {
    position: relative;
    padding: 0px 1.5rem 0px 2.5rem;    
}
nav .menu-bas {
    min-height: 40px
}
nav .menu-bas li {
    padding: 0px 2.5rem 0px 1.5rem;    
}
.navDecoTop {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}
.navDecoBottom {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}
nav .menu-haut ul {
    display: none;
    position: absolute;
    top: 40px;
    left: 15px;
}
nav .menu-haut li li {
    background-color: var(--main-color);
    padding-left: 10px;
    min-width: 280px;
    font-size: 1.4rem;
    text-transform: none;
    display: inline-block;
}
nav .menu-haut li:hover ul {
    display: block;
    position: absolute;
    z-index: 1000;
    min-width: 280px;
    background-color: var(--main-color);
    padding-left: 0px;
}
nav .menu-bas {
    justify-content: center;
    min-height: 40px;
}
.surligne {
    background-color: #ffff00;
}
/*****************************/
/* Responsive ****************/
/*****************************/
@media screen and (max-width: 1261px) {
    .postItem {
        width: 100%;
    }
}
@media screen and (max-width: 1005px) {
    .glossaire {
        flex-direction: column;
        justify-content: flex-start;
    }
    .listGlossaire {
        margin-left: 0;
        margin-top: 30px;
    }
}
@media screen and (max-width: 821px) {
    #main, #sidebar {
        width: 100%;
    }
    #sidebar {
        align-items: center;
    }
    .itemSidebar, .itemSidebarCenter {
        width: 396px;
    }
}
@media screen and (max-width: 849px) {
    #cartouche {
        width: calc(100% - 200px);
    }
    #logos {
        width: 200px;
    }
    nav {
        background-color: var(--main-color);
        position: relative;
    }
    .header__icon {
        display: block;
    }
    .header__icon::after {
        box-shadow: 0 12px 0 2px white, 0 22px 0 2px white, 0 32px 0 2px white;
        content: "";
        display: block;
        height: 0;
        left: 15px;
        position: absolute;
        top: 0px;
        width: 2rem;
    }
    #fullNav {
        position: fixed;
        right: 0px;
        top: 0px;
        -ms-transform: translateX(300px);
        transform: translateX(300px);
        width: 300px;
    }
    .site-pusher, .site-container {
       height: 100%;
    }
    .with--sidebar .site-cache {
        background-color: rgba(0, 0, 0, 0.6);
        bottom: 0;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 9999;
    }
    .with--sidebar .site-pusher {
        -ms-transform: translateX(-300px);
        transform: translateX(-300px);
    }
    .site-pusher {
        -ms-transform: translateX(0px);
        transform: translateX(0px);
        transition-duration: 0.3s;
    }
    nav .menu-haut {
        min-width: 300px;
    }
    nav ul {
        line-height: 30px;
        height: auto;
        padding-inline-start: 0;      
    }
    nav .menu-haut ul {
        padding-inline-start: 0;
        top: 0;
        left: 0;
    }
    nav .menu-haut li {
        padding: 0px 1rem 0px 1rem;
    }
    nav .menu-haut li li {
        min-width: inherit;
        padding-left: 2rem;
    }
    #fullNav, #fullNav ul{
        display: flex;
        flex-direction: column;
    }
    #fullNav ul {
        position: relative;
    }
    #fullNav .menu-item, #fullNav li ul li {
        font-size: 1.5rem;
        background-color: var(--main-color);
    }
    #fullNav li a, #fullNav li ul li a{
        color: #fff;
        text-transform: none;
    }
}
@media screen and (max-width: 618px) {
    #logos {
        display: none;
    }
    #cartouche {
        width: 100%;
    }
}
@media screen and (max-width: 614px) {
    h1 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 419px) {
    #titreSite {
        font-size: 2.8rem;
    }
}
@media screen and (max-width: 335px) {
    .surTitre {
        display: none;
    }
}
