/*
Theme Name: Inha
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.
*/
/* alegreya-sans-regular - vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/alegreya-sans-v13-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.eot'); /* IE9 Compat Modes */
    src: local('Alegreya Sans Regular'), local('AlegreyaSans-Regular'),
        url('fonts/alegreya-sans-v13-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('fonts/alegreya-sans-v13-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('fonts/alegreya-sans-v13-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
        url('fonts/alegreya-sans-v13-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('fonts/alegreya-sans-v13-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.svg#AlegreyaSans') format('svg'); /* Legacy iOS */
}
/* source-sans-pro-regular - vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-pro-v14-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.eot'); /* IE9 Compat Modes */
    src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
        url('../fonts/source-sans-pro-v14-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('../fonts/source-sans-pro-v14-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('../fonts/source-sans-pro-v14-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
        url('../fonts/source-sans-pro-v14-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('../fonts/source-sans-pro-v14-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}


/*****************************/
/* General *******************/
/*****************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
    width: 100%;
    margin: 0 auto;
}
body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    font-family: 'Source Sans Pro', sans-serif;
    width: 100%;
    height: auto;
    background-color: #D04949;
}
/*** elements ****/
h1, h2, h3, h4, h5, h6 {
    color: #d04949;
    font-weight: 400;
    font-family: 'Alegreya Sans', sans-serif;
    /*line-height: 4.2rem;*/
    font-size: 4.2rem;
    margin-bottom: 20px;
}
a {
    color: #bb5959;
    text-decoration: none;
}
a:visited {
    color: #bb5959;
    text-decoration: none;
}
a:hover, a:focus {
    color: #e32e2e;
    text-decoration: underline;
}
a img {
    border: none;
}
p {
    margin-bottom: 1.5rem;
    text-align: justify;
}
.bsbb {
    box-sizing: border-box;
}
/*****************************/
/* Header ********************/
/*****************************/
header {
    width: 100%;
    position: relative;
    justify-content: center;
}
#zoneheader {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    display: -webkit-flex;
    -webkit-flex-wrap: nowrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    display: -ms-flexbox;
    -ms-flex-wrap: nowrap;
    -ms-flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-pack: start;
    max-width: 1200px;
    width: 100%;
    height: 284px;
    background-color: transparent; 
    background-image: url(/vibad/images/banniere-header.jpg); 
    background-position: center bottom;
    background-size: contain; 
    background-repeat: no-repeat;
    margin: auto;
}
#header__icon{
    order:2;
}
#hierarchie {
    width: 100%;
    height: 4rem;
    text-align: right;
    font-size: 1.4rem;
    background-color: #000;
    order:1;
}
#cnrs {
    display: none;
}
#zoneheader #hierarchie .language{
    margin: 10px;
}
#zoneheader .language select{
    border-radius: 5px;
    width: 100px;
}
/*.openbibart {
    position: absolute;
    left: 15vh;
    top: 48%;
    z-index: 1000;
}*/
#zoneheader .logos{
    padding-left: 55px;
    flex:5 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    order:3;
}
#zoneheader .logos a{
    display: block;
}
#zoneheader .logos img {
    vertical-align: bottom;
}
#zoneheader .titre {
    flex:2 0 auto;
    color: #fff;
    z-index: 2000;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    order:4;
}
#zoneheader .titre .texte{
    padding-left: 65px;
    padding-right: 15px;
    display:flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #000;
}
#zoneheader .titre .texte h1{
    margin:0;
    font-size: 2.4rem;
    line-height: 3.2rem;
    color: #fff;
}

/*****************************/
/* MENUS *********************/
/*****************************/
.noclic {
    cursor:default !important;
}
.mainmenu {
    max-width: 1200px;
    width: 100%;
    background-color: #eee;
    margin:auto;
}
.mainmenu ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    width: 100%;
}
.mainmenu ul li {
    flex: 1;
}
.mainmenu li:not(:last-child) {
    border-right: 1px solid #d9d4d3;
}
.mainmenu ul li a:hover {
    font-weight: bold;
}

.mainmenu ul li a {
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    height: 6rem;
    text-decoration: none;
}
.active a {
    font-weight: 600;
}
/*****************************/
/* Page **********************/
/*****************************/

.site-content {
    position: relative;
    background:#fff;
    max-width: 1200px;
    min-height: 50vh;
    font-size: 1.4rem;
    line-height: 2rem;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    -webkit-align-items: flex-start;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    -ms-flex-pack: start;
}
#breadcrumbs {
    padding-left: 10px;
    margin-bottom: 20px;
    background-color: #fff;
   /* width: 100%;*/
    height: 40px;
    flex: 4 0 100%;
}
#breadcrumbs a {
    color: #4e4e4e;
    font-style: italic;
    font-size: 1.4rem;
    text-decoration: none;
    line-height: 40px;
}
#breadcrumbs a:hover,
#breadcrumbs a:focus {
    text-decoration: underline;
}
/*****************************/
/* simplesearch**************/
/*****************************/

#recherche {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 60px 20px 60px 20px;
}
.searchbox {
    position: relative;
    padding: 10px;
}
.searchtitle {
    position: absolute;
    height: 2.4rem;
    width: 226px;
    background-color: #000;
    color: #fff;
    top: 130px;
    left: 35px;
    text-align: center;
    font-size: 1.4rem;
    line-height: 2.4rem;
    border: 1px solid #fff
}
.homesearch {
    width:100%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 2rem
}
.homesearch > form {
    display: inline-block;
    height: 45px;
    padding: 0px;
    /*width: 100%;*/
}
.homesearch >form input {
    width: 58%;
    height: 40px;
    border: 1px solid #d04949;
    border-radius: 20px 0 0 20px;
    border-right: 0 none;
}
.homesearch >form input[type="submit"] {
    cursor: pointer;
}
.homesearch >form input[type="text"] {
    padding-left: 10px;
    font-style: italic;
}
input#connect {
    background: url("/vibad/images/loupe.png") no-repeat 0 center;
    display: inline-block;
    height: 40px;
    text-indent: -9999px;
    width: 40px;
    box-sizing: border-box;
    border: 1px solid #d04949;
    border-radius: 0 20px 20px 0;
    border-left: 0 none;
}
.homesearch img {
    margin-left: 10px;
    vertical-align: middle;
}
/*****************************/
/* Images   ******************/
/*****************************/

.alignright {
    float: right;
    margin: 0.5em 0 0.5em 1em;
}
.alignleft {
    float: left;
    margin: 0.5em 1em 0.5em 0;
}
.aligncenter {
    margin-left: auto;
    margin-right: auto;
}
/* position h1 hors de #text */
.site-content > h1:first-of-type,
.site-content > div > h1:first-of-type {
    padding-left: 30px;
}
#text{
    width: 100%;
    /* padding-top place sur marging-bottom #breadcrumbs*/
    padding: 0px 30px 20px 30px;  
}
#text ul {
    margin-bottom: 1em;
    margin-left: 1em;
}
#text ul li {
    list-style-image: url("/vibad/images/puce.png");
    list-style-position: outside;
}
#text ul li p {
    margin-left: 2rem;
}
#text table {
    border-bottom: 1px solid #d8d8d8;
    border-top: 1px solid #d8d8d8;
    margin: 2rem 0;
    text-align: left;
    width: 100%;
}
#text table tr th {
    border-bottom: 1px solid #d8d8d8;
    font-size: 1.7rem;
    font-weight: normal;
}
#text table tr th, #text table tr td {
    padding: 5px 10px;
}
/*****************************/
/* Footer ********************/
/*****************************/

footer {
    width: 100%;
    background-color: transparent;
    font-size: 1.4rem;
}
#zonefooter{
    width: 100%;
}
#logosFooter{
    max-width: 1200px;
    min-height: 160px;
    margin: 0 auto;
    background-color: #eee;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#logosFooter a[title="GETTY"]{
    margin:0 2rem;
}
#logosFooter img{
    padding: 1rem;
}
#logosFooter img[alt="INHA"]{
    height: 9rem;
}
#logosFooter img[alt="GETTY"]{
    height: 9rem;
}
#logosFooter img[alt="INIST"]{
    height: 4rem;
}
footer ul {
    background-color: #000;
    list-style-type: none;
    padding: 1rem;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    -webkit-justify-content: center;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    -ms-flex-pack: center;
}
footer ul li {
    vertical-align: bottom;
    margin-left: 5px;
    position: relative;
    padding: 0 0px 0 5px;
    color: #fff;
    text-transform: uppercase;
}
footer ul li::after {
    content: ' | ';
    margin-left: 2px;
}
footer ul li:last-child::after {
    content:'';
}
footer ul li a, footer ul li a:visited, footer ul li a:focus, footer ul li a:hover {
    color: #fff;
    text-decoration: none;
}
footer ul li a:hover,
footer ul li a:focus {
    text-decoration:underline;
}
/*desktop*/
@media screen and (min-width: 1201px) {
    .site-container {
        background-repeat: no-repeat repeat;
        background-image: linear-gradient(to bottom,black 40px,transparent 1px), url("/vibad/images/bg-oba.jpg");
        background-position: center, center top 40px;
    }
}
/*responsive*/
@media screen and (min-width: 815px) and (max-width: 1200px) {
    #zoneheader { 
        height: calc(40px + 20vw);
    }
}
@media screen and (max-width: 1200px) {
    #zoneheader .logos{ 
       padding-left: 4.5vw;
    }
    #zoneheader .titre .texte {
        padding-left: 5.7vw;
    }
}
/*mobile*/
@media screen and (max-width: 814px) {
    .site-pusher, .site-container {
        height: 100%;
    }
    .site-pusher {
        -ms-transform: translateX(0px);
        transform: translateX(0px);
        transition-duration: 0.3s;
    }
    #zoneheader {
        height: calc(8rem + 20vw);
    }
    .header__icon {
        align-self: flex-end;
        height: 4rem;
        width: 2.5rem;
        margin: 0 10px;
    }
    .header__icon::after {
        display: block;
        cursor: pointer;
        content: "";
        box-shadow: 0 12px 0 2px #fff, 0 22px 0 2px #fff, 0 32px 0 2px #fff;
    }
    .mainmenu {
        background-color: #CD4848;
        height: 0;
        position: fixed;
        right: 10px;
        top: 25px;
        -ms-transform: translateX(260px);
        transform: translateX(260px);
        width: 250px;
    }
    .mainmenu ul{
        flex-direction: column;
        display: block;
    }
    .mainmenu ul li {
        border-bottom: 1px solid #f2ede5;
        display: block;
        line-height: 40px;
        padding-left: 0;
        text-align: center;
        width: 250px;
    }
    .mainmenu li:not(:last-child) {
    border-right: none;
}
    .mainmenu ul li a {
        color: #fff;        
    }
    .with--sidebar .site-pusher {
        -ms-transform: translateX(-250px);
        transform: translateX(-250px);
    }
    .with--sidebar .mainmenu {
    }
    .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;
    }
    .site-content {
        align-content: flex-start;
        justify-content: center;
    }
    .homesearch > form input {
        width: 60%;
    }
}
@media screen and (max-width: 585px) {
    #zoneheader .logos img{
        height: 11vw;
        min-height: 40px;
    }
    #zoneheader .titre .texte h1{
        font-size: 4vw;
        line-height: 6vw;
    }
    #text{ padding: 0 15px;}
    .site-content > div > h1 {
        padding-left: 15px;
    }
    .invisible {
        display: none;
    }
}
@media screen and (max-width: 300px) {
    #zoneheader .titre .texte h1{
        font-size: 12px;
        line-height: 16px;
    }
}
@media only screen and (max-width: 1025px) and (-ms-high-contrast: none), (-ms-high-contrast: active)  {
    .mainmenu {
        position: absolute;
        right: -35px;
        top: -10px;
    }
}
