/*
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('/wp-content/themes/inha/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('/wp-content/themes/inha/fonts/alegreya-sans-v13-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/wp-content/themes/inha/fonts/alegreya-sans-v13-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('/wp-content/themes/inha/fonts/alegreya-sans-v13-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
        url('/wp-content/themes/inha/fonts/alegreya-sans-v13-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('/wp-content/themes/inha/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('/wp-content/themes/inha/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('/wp-content/themes/inha/fonts/source-sans-pro-v14-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/wp-content/themes/inha/fonts/source-sans-pro-v14-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('/wp-content/themes/inha/fonts/source-sans-pro-v14-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
        url('/wp-content/themes/inha/fonts/source-sans-pro-v14-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('/wp-content/themes/inha/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 {
    margin: 0 auto;
    font-size: 62.5%;
    width: 100%;
}
body {
    background-color: #d04949;
    font-family: 'Source Sans Pro', sans-serif;
    width: 100%;
    height: auto;
    background-repeat: no-repeat repeat;
    background-image: linear-gradient(to bottom,black 40px,transparent 1px), url("images/bg_inha.png");
    background-position: center, center top 40px;
}
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;
}
a:visited {
    color: #bb5959;
}
a:hover, a:focus {
    color: #e32e2e;
}
a img {
    border: none;
}
p {
    text-align: justify;
    margin-bottom: 1.5rem;
}
.bsbb {
    box-sizing: border-box;
}
/*****************************/
/* Liens  ********************/
/*****************************/
#links {
    width: 100%;
    background-color: #000;
    height: 40px;
}
#hierarchie {
    max-width: 1200px;
    margin: 0 auto;
    height: 40px;
}
#hierarchie .language {
	float: right;
	margin-top: 10px;
    margin-right: 10px;
}
#cnrs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    float: right;
    list-style-type: none;
    font-size: 1.4rem;
    margin-top: 10px;
    padding-right: 5px;
}
.cnrsli a {
    color: #fff;
    vertical-align: middle;
    padding-left: 5px;
}
.language select{
    border-radius: 5px;
    min-width: 100px;
    margin-left: 5px;
}
/*****************************/
/* Layout  *******************/
/*****************************/
#centerbody {
    max-width: 1200px;
    margin: 0 auto;
}
#zonecentrale  {
    width: 100%;
    background-color: #fff;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}
.bgimg {
    width: 14%;
}
header {
    width: 100%;
    height: 244px;
    position: relative;
}
.openbibart {
    position: absolute;
    padding-left: 55px;
    left: 0;
    bottom: 31.6%;
    z-index: 1000;
}
.bgheader {
    width: 100%;
    height: auto;
}
.centretitre {
    position: absolute;
    padding-left: 65px;
    font-size: 2.4rem;
    line-height: 3.2rem;
    color: #fff;
    bottom: 18.5%;
    z-index: 2000;
    background-color: #000;
    padding-right: 15px;
}
#breadcrumbs {
    padding-left: 10px;
    background-color: #fff;
    width: 100%;
    height: 40px;
}
#breadcrumbs a {
    color: #4e4e4e;
    font-style: italic;
    font-size: 1.4rem;
    text-decoration: none;
    line-height: 40px;
}
.homesearch {
    width:100%;
    text-align: center;
    margin-top: 10px;
}
.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;
}
.homesearch >form input[type="submit"] {
    cursor: pointer;
}
.homesearch >form input[type="text"] {
    padding-left: 10px;
    font-style: italic;
    background-repeat: no-repeat;
    background-image: url("images/loupe.png");
    background-position: center right 10px;    
}
.homesearch img {
    margin-left: 10px;
    vertical-align: middle;
}
#logos {
    min-height: 160px;
    background-color: #eee;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: auto;
}
#logos img {
    padding: 10px;
}
#logos a[title="GETTY"]{
    margin:0 2rem;
}
#logos img[alt="INHA"]{
    height: 9rem;
}
#logos img[alt="GETTY"]{
    height: 9rem;
}
#logos img[alt="INIST"]{
    height: 4rem;
}

/*****************************/
/* Footer ********************/
/*****************************/
footer {
    width: 100%;
    height: 40px;
    background-color: #000;
    font-size: 1.4rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    -webkit-justify-content: center;
    -webkit-align-items: center;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    -ms-flex-pack: center;
    -ms-flex-align: center;
    align-self: flex-end;
}
footer ul {
    list-style-type: none;
    padding: 0;
    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;
}
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;
}
/*****************************/
/* Header  *******************/
/*****************************/

#connexion {
    background: rgb(70, 70, 71) none repeat scroll 0 0;
    padding: 0;
    display: flex;
    flex-flow: column wrap;
    width: 100%;
}
#connexion #bandeauConnexion{
    margin:0 auto;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    background: transparent none repeat scroll 0 0;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: flex-end;
    padding: 0;
    font-size: 1.4rem;
}
#connexion #bandeauConnexion span{
    padding-right: 0.5em;
}
.button, .button:visited {
    background: #A28464 none no-repeat scroll 10px center;
    border: 1px solid #A28464;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 5px 10px;
    text-transform: uppercase;
    text-decoration: none !important;
}
.button.button-arrow-right:hover, .button.button-arrow-right:focus {
    background-image: url(images/picto-fleche-beige-petit-btn.png);
}
.button:hover, .button:focus {
    background-color: #fff;
    border: 1px solid #bfa991;
    color: #474747;
}
.button.button-arrow-right {
    background-image: url(images/picto-fleche-blanche-petit-btn.png);
    padding-right: 25px;
    background-position: right 10px center;
}
.button.button-search {
    text-transform: none;
    font-weight: normal;
    font-size: 1.4rem;
    border-radius: 0;
}


/*****************************/
/* 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;
}
/*****************************/
/* Homepage ******************/
/*****************************/
.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
}
.site-content {
    position: relative;
    background:#fff;
    max-width: 1200px;
    font-size: 1.4rem;
    line-height: 2rem;
    margin-top: 30px ; 
    margin-bottom: 30px;
    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;
}
.site-content > img {
    position: absolute;
    right: 0px;
    bottom: -12px;
}
.slider {
    min-height: 150px;
}
.slider img {
    width: 100%;
    margin-bottom: 10px;
}
input#connect {
	background: url("images/btn-search3.png") no-repeat 0 0;
	display: inline-block;
    left: -2px;
	height: 37px;
	text-indent: -9999px;
	width: 37px;
    box-sizing: border-box;
}

#hometext{
    width: 100%;
    min-width:290px;
    padding: 0 20px 0 20px;
}
#hometext ul {
    margin-bottom: 1em;
    margin-left: 1em;
}
#hometext ul li {
    list-style-image: url("images/puce.png");
    list-style-position: inside;
}
#homepresent {
    width: 60%;
    margin: auto; 
    text-align: center; 
}
#homepresent p {
    text-align: center;
    font-size: 2.2rem;
    line-height: 2.8rem;
}
#actus {
    margin: 30px 0 50px 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
}
#titrerubactus{
    height: 30px;
    max-width: 340px;
    color: #a89178;
    padding-left: 10px;
    align-items: flex-end;
    margin-bottom: 20px;
}
.itemactus {
    padding: 0 5px 3px 10px;
    text-align: justify;
}
.itemactus a {
    color: #a89178;
    font-size: 1.6rem;
    font-style: italic;
}
.resume {
    display: inline;
}
/*****************************/
/* Page **********************/
/*****************************/
#pagetext {
    padding: 20px 30px 0px 30px;
    width: 100%;
    min-width:290px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}
#pagepresent {
    min-width: 300px;
    padding-left: 30px;
}
#pagepresent h1 {
    color: #ca4848; 
}
#pagepresent p{
    text-align: left;
    font-size: 1.8rem;
    color: #464647;
    line-height: 26px;
}
#pagepresent ul {
    margin-bottom: 1.5rem;
    list-style-type: none;
}
#pagepresent li {
    font-size: 1.8rem;
    line-height: 30px;
    color: #464647;
    background-image: url(images/puce2.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 20px;
}
/*****************************/
/* Category ******************/
/*****************************/
.faqtitle, .newstitle {
    margin-bottom: 10px;
}
.newstitle a, .faqtitle a {
    text-align: left;
    font-size: 1.8rem;
    color: #464647;
    line-height: 26px;
    text-decoration: none;
   
}
.faqtitle + .faqabstract {
    display:none;
}
.faqtitle:hover + .faqabstract {
    display: inline-block;
    padding: 10px 30px 10px 100px;
}
.newsabstract {
    display: inline-block;;
    padding-bottom: 20px;
}
/*****************************/
/* Contact *********************/
/*****************************/
.wpcf7-submit {
    background-color: #ca4848;
    width: 120px;
    height: 40px;
    border-radius: 15px;
    border: 1px solid #ca4848;
    color: #fff;
    font-size: 18px;
}
/*****************************/
/* MENUS *********************/
/*****************************/
.noclic {
    cursor:default !important;
}
.mainmenu {
    height: 60px;
    background-color: #eee;
    line-height: 60px;
    width: 100%;
}
.mainmenu ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    height: 60px;
}
.mainmenu ul li {
    flex: 1; 
    align-self: center;
    font-size: 1.6rem;
    line-height: 60px;
    text-align: center;
}
.mainmenu ul li:hover {
    font-weight: 500;
}
.mainmenu a {
    color: #000;
    text-decoration: none;
 }
.mainmenu ul li:hover a {
    color: #000;
    text-decoration: none;
}
.mainmenu li:not(:last-child) {
    border-right: 1px solid #d9d4d3;
}
.principal ul {
    list-style: none;
    position: relative;
    margin: 0;
}
.principal ul li{
    width: 244px;
	height: 42px;
    margin-bottom: 10px;
    line-height: 42px;
    font-size: 1.8rem;
    background-color: #cc4848;
    border: 1px solid #cc4848;
}
.principal ul li:last-child {
    border-bottom: 1px solid #bfa991;
}
.principal a {
    display: block;
    text-decoration: none;
    color: #fff;
    padding-left: 25px;
}
.principal ul li:hover {
    background-color: #fff;
    background: url('images/puce1.png') no-repeat 8px 50%;
}
.principal ul li:hover a {
    color: #474747;
}

.active a {
    font-weight: 600;
}
.principal .active {
    background-color: #fff;
    background: url('images/puce1.png') no-repeat 8px 50%;
}
.principal .active a {
    color: #474747;
    font-weight: 400;
}
@media screen and (max-width: 1200px) {
    header {
        height: calc(20vw);
    }
    .openbibart {
        padding-left: 4.5vw;
        bottom: calc(18.5% + 3.2rem);
    }
    .centretitre {
        padding-left: 5.7vw;
    }
}
@media screen and (max-width: 866px) {
    #recherche {
        justify-content: center;
    }
}
@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;
    }
    .site-content {
        align-content: flex-start;
        bottom: 0;
        justify-content: center;
        left: 0;
        padding-top: 2rem;
        right: 0;
        top: 0;
    }
    .header {
        position: static;
    }
    .header__icon {
        cursor: pointer;
        display: block;
        float: right;
        height: 40px;
        position: relative;
        width: 100%;
        padding-right: 10px;
    }
    .header__icon::after {
        box-shadow: 0 12px 0 2px #fff, 0 22px 0 2px #fff, 0 32px 0 2px #fff;
        content: "";
        display: block;
        height: 0;
        position: absolute;
        top: 0px;
        right: 12px;
        width: 2.5rem;
    }
    .homesearch > form input {
        width: 50%;
    }
    .texte h1 {
        font-size: 1.4rem;
    }
    .texte {
        text-align: left;
    }
    #zoneheader .language {
        position: absolute;
        bottom: 10px;
        right: 10px;
        width: auto;
        margin-right: -45px;
    }
    .mainmenu {
        background-color: #bfa991;
        height: 0;
        position: fixed;
        right: 10px;
        top: 45px;
        -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 ul li a {
        color: #fff;        
    }
	.mainmenu ul li:hover a {
    	color: #fff;
    	text-decoration: none;
    	font-weight: bold;
	}   
	.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;
    }
    .titre {
        margin-top: 25px;
        position: relative;
    }
    .principal {
        margin-bottom: 20px;
        min-width: 200px;
    }
    .principal ul {
        padding-right: 10px;
    }
    .principal ul li {
        display: inline-block;
        margin: 5px 0;
        width: 200px;
    }
    #zonecentrale, #centerbody {
        width: 100%;
    }
    #homepresent {
        width: 80%;
    }
    .bgimg {
        display: none;
    }
}
@media screen and (max-width: 585px) {
    .openbibart {
        padding-left: 4.5vw;
        bottom: 8vw;
        width: 44vw;
        height: auto;
    }
    .centretitre {
        font-size: 4vw;
        line-height: 6vw;
        bottom: 2vw;
   }
   #pagepresent {
    padding-left: 20px;
   }
}
@media only screen and (max-width: 1025px) and (-ms-high-contrast: none), (-ms-high-contrast: active)  {
    .mainmenu {
        position: absolute;
        right: -35px;
        top: -10px;
    }
}
