/*
Theme Name: Inis-cea
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 *******************/
/*****************************/

/* latin */
@font-face {
  font-family: 'Droid Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Droid Sans'), local('DroidSans'), url(/wp-content/themes/inis-cea/fonts/droidsans400.woff) format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin */
@font-face {
  font-family: 'Droid Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Droid Sans Bold'), local('DroidSans-Bold'), url(/wp-content/themes/inis-cea/fonts/droidsans700.woff) format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin */
@font-face {
  font-family: 'Droid Serif';
  font-style: normal;
  font-weight: 400;
  src: local('Droid Serif'), local('DroidSerif'), url(/wp-content/themes/inis-cea/fonts/droidserif400.woff) format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin */
@font-face {
  font-family: 'Droid Serif';
  font-style: normal;
  font-weight: 700;
  src: local('Droid Serif Bold'), local('DroidSerif-Bold'), url(/wp-content/themes/inis-cea/fonts/droidserif700.woff) format('woff');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
    margin: 0;
    font-size: 62.5%;
    width: 100%;
    margin: 10px auto;
}
body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    background-color: #eaeffa;
    font-family: "Droid Sans","Arial",sans-serif;
    width: 100%;
    height: auto;
}
h1, h2, h3, h4, h5, h6 {
    color: #474747;
    font-weight: 400;
}
a {
    color: #2076D8;
    text-decoration: none;
}
a:visited {
    color: #868686;
    text-decoration: none;
}
a:hover, a:focus {
    color: #BC8F5D;
    text-decoration: underline;
}
a img {
    border: none;
}
p {
    text-align: justify;
    margin-bottom: 1.5rem;
}
.bsbb {
    box-sizing: border-box;
}
/*****************************/
/* Header ********************/
/*****************************/
header {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    background-color: #fff;
    width: 100%;
    border-top: 12px solid #7094db;
    border-bottom: 2px solid #7094db;
    min-height: 123px;
}

#zoneheader{
    max-width: 1200px;
    width: 100%;
    margin:0 auto !important;
}
#zoneheader>img {
    position: absolute;
    top:-12px;
    left:0;
    width: 240px;
    height: 21px;
}
.logos {
    display: flex;
    min-height: 12rem;
    float: left;
    margin-top: -10px;
    align-items: center;
}
.logoInstance {
    height: 11rem;
    padding-left: 0;
}
.logoPartenaire {
    padding-left: 5px;
    height: 8rem;
}
.logos img {
    margin-left: 5px;
    margin-right: 5px;
    vertical-align: middle;
}
.titre {
    padding: 0 1rem;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.texte {
    flex-shrink: 85%;
    display: inline-block;
    text-align: right;
}
.texte h1 {
    font-family: "Droid Sans", "Open Sans", Georgia,"Times New Roman", sans-serif;
    font-size: 2.4rem;
}
.language {
    flex-basis: 25%;
    margin-left: 2rem;
    display: inline-block;
    text-align: right;
}
.language select{
    border-radius: 5px;
    min-width: 100px;
}
#hierarchie {
    width: 100%;
    display: inline-block;
    margin-bottom: 10px;
}
#cnrs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-end;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    -webkit-justify-content: flex-end;
    -webkit-align-items: flex-end;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    -ms-flex-pack: end;
    -ms-flex-align: flex-end;
    float: right;
    list-style-type: none;
    font-size: 1.4rem;
    margin: 0;
}
#cnrs li:not(:last-child)::after {
    font-size: 1.4rem;
    content: " | ";
    color: #696969;
}
.cnrsli a {
    color: #000;
    vertical-align: middle;
    padding-left: 5px;
}

/*****************************/
/* Bandeau connexion *********/
/*****************************/

#connexion {
    background: #adc1ea none repeat scroll 0 0;
    padding: 0;
    display: flex;
    flex-flow: column wrap;
    width: 100%;
}
#connexion #bandeauConnexion{
    margin:0 auto;
    width: 100%;
    max-width: 960px;
    align-items: center;
    background: transparent none repeat scroll 0 0;
    color: #000;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    font-size: 1.4rem;
}
#connexion #bandeauConnexion span{
    padding-right: 0.5em;
}
.button,
.button:visited {
    background: #2773b5 none no-repeat scroll 10px center;
    border: 1px solid #2773b5;
    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-search {
  text-transform:none;
  font-weight:normal;
  font-size: 1.4rem;
  border-radius:0;
}

.button.button-arrow-right {
  background-image:url(images/picto-fleche-blanche-petit-btn.png);
  padding-right: 25px;
  background-position: right 10px center;
}

.button:hover,
.button:focus {
    background-color: #fff;
    border: 1px solid #2c80ca;
    color: #474747;
}

.button.button-arrow-right:hover,
.button.button-arrow-right:focus {
  background-image:url(images/picto-fleche-beige-petit-btn.png);
}

/*****************************/
/* Homepage ******************/
/*****************************/
#breadcrumbs{
    padding-left: 10px;
    background-color: #fff;
    margin-bottom: 20px;
    margin-top: 3px;
}
#breadcrumbs a{
    color: #000000;
    font-style: italic;
    font-size: 1.4rem;
    text-decoration: none;
}
.site-content {
    position: relative;
    background:#fff;
    max-width: 1200px;
    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;
}
.site-content > img {
    position: absolute;
    right: 0px;
    bottom: -12px;
}
.homesearch {
    width:100%;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 0rem;
}
.homesearch > form {
    display: inline-block;
    height: 37px;
    padding: 0px;
}
.homesearch >form input {
    width: 630px;
    height: 35px;
    border: #2c80ca 1px solid;
}
.homesearch >form input[type="submit"] {
    cursor: pointer;
}
.homesearch >form input[type="text"] {
    padding-left: 10px;
}
.homesearch img {
    margin-left: 10px;
    vertical-align: middle;
}
input#connect {
	background: url("images/btn-search4.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;
}
#hometext ul {
    margin-bottom: 1em;
    margin-left: 1em;
}
#hometext ul li {
    list-style-image: url("images/puce.png");
    list-style-position: inside;
}
#homepresent{
    margin: 20px 0 2px 0;
    padding: 10px 20px 10px 20px;
    min-height: 150px;
    text-align: justify;
}
#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: #2c80ca;
    padding-left: 10px;
    align-items: flex-end;
    margin-bottom: 20px;
}
.itemactus {
    padding: 0 5px 3px 10px;
}
.itemactus a {
    color: #2c80ca;
    font-size: 1.6rem;
    font-style: italic;
}
/*****************************/
/* Slider ********************/
/*****************************/
.slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 0px;
    padding-bottom: 42%;
}
.slider img {
    width: 100%;
    position:absolute;
    top:0;
    opacity:0;
}

.slider_nav .prev{
    text-align: center;
    margin: 0 auto;
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000000;
    color: #fff;
    top: 45%;
    left: 10px;
}
.slider_nav .next {
    text-align: center;
    margin: 0 auto;
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000000;
    color: #fff;
    right: 10px;
    top: 45%;
}
.slider_nav .stop {
    text-align: center;
    margin: 0 auto;
    position: absolute;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000000;
    color: #fff;
    left: 45%;
    bottom: 25px;
}
.slider_nav .start {
    text-align: center;
    margin: 0 auto;
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000000;
    color: #fff;
    right: 45%;
    bottom: 20px;
}
.slider_nav span {
    cursor:pointer;
}

/*****************************/
/* Page **********************/
/*****************************/
#text {
    width: 100%;
    min-width: 290px;
    min-height: 550px;
    margin: 20px 10px 0 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
}
#text h1{
    font-size: 2.6rem;
    margin: 0 0 20px 0;
    min-width: 200px;
    color: #2c80ca;
    line-height: 2.6rem;
}
#text ul {
    margin-bottom: 1em;
    margin-left: 1em;
}
#text ul li {
    list-style-image: url("images/puce.png");
    list-style-position: outside;
}
code {
    font-family:monospace,monospace;
    font-size:1.6rem;
}

#text table {
    border-bottom: 1px solid #d8d8d8;
    border-top: 1px solid #d8d8d8;
    margin: 2rem 0;
    text-align: left;
    width: 100%;
}
#text table tr th, #text table tr td {
    padding: 5px 10px;
}
#text table tr th {
    border-bottom: 1px solid #d8d8d8;
    font-size: 1.7rem;
    font-weight: normal;
}
#text table tr td {
    font-size: 1.4rem;
}
#text table caption {
    color: #a89178;
    font-family: "Droid Serif";
}

/*****************************/
/* Category ******************/
/*****************************/
.faqtitle, .newstitle {
    margin-bottom: 10px;
}
.faqtitle a, .newstitle a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
}
.faqtitle + .faqabstract {
    display:none;
}
.faqtitle:hover + .faqabstract {
    display: inline-block;
    padding: 10px 30px 10px 100px;
}
.newsabstract {
    display: inline-block;;
    padding-bottom: 20px;
}
/*****************************/
/* Footer ********************/
/*****************************/
footer {
    width: 100%;
    height: 30px;
    background-color: #adc1ea;
    border: #7094db;
    font-size: 1.4rem;
    border-top: 12px solid #7094db;
    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 .menu-bas-fr {
    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;
    align-items: center;
}
footer .menu-bas-fr li {
    margin-left: 5px;
    position: relative;
    padding: 0 0px 0 5px;
}
footer .menu-bas-fr li::after {
    content: ' | ';
    margin-left: 2px;
}
footer .menu-bas-fr li:last-child::after {
    content: none;
    margin-left: 2px;
}
footer .menu-bas-fr li a, footer .menu-bas-fr li a:visited, footer .menu-bas-fr li a:focus, footer .menu-bas-fr li a:hover {
    color: #000;
    text-decoration: none;
}
footer .menu-bas-fr li a:hover,
footer .menu-bas-fr li a:focus {
  text-decoration:underline;
}
/*****************************/
/* MENU **********************/
/*****************************/
.noclic {
    cursor:default !important;
}
.mainmenu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    max-width: 1200px;
    height: 45px;
    color: #212121;
    font-family: "Droid Sans";
    line-height: 45px;
    width: 100%;
    margin: auto;
}
.mainmenu ul {
    list-style: none;
    max-width: 960px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.mainmenu ul li {
    background-color: #2773b5;
    border-left: 1px solid #417ffa;
    border-right: 1px solid #417ffa;
    border-top: 1px solid #417ffa;
    font-size: 1.5rem;
    line-height: 1.3rem;
    margin-left: 5px;
    margin-right: 5px;
    flex: 1;
}
.mainmenu ul li:hover {
    box-shadow: 0px 2px 0px #fff;
    -moz-box-shadow: 0px 2px 0px #fff;
    -webkit-box-shadow: 0px 2px 0px #fff;
    background-color: #fff;
}
.mainmenu a {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 43px;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    margin: 1px;
    min-width: 100px;
}
.mainmenu ul li:hover a {
    color: #474747;
}
.mainmenu .active {
    box-shadow: 0px 2px 0px #fff;
    -moz-box-shadow: 0px 2px 0px #fff;
    background-color: #fff !important;
    /*background: url('images/arrow-beige.png') no-repeat 6px 50%;*/
}
.mainmenu .active a {
    color: #474747;
}

@media screen and (max-width: 1025px) {
    .site-pusher, .site-container {
        height: 100%;
    }
    .site-pusher {
        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: 80px;
        position: relative;
        width: 50px;
    }
    .header__icon::after {
        box-shadow: 0 12px 0 2px black, 0 22px 0 2px black, 0 32px 0 2px black;
        content: "";
        display: block;
        height: 0;
        left: 15px;
        position: absolute;
        top: 16px;
        width: 2rem;
    }
    .homesearch > form input {
        width: 200px;
    }
    .texte h1 {
        font-size: 1.4rem;
    }
        .texte {
        text-align: left;
    }
    .language {
        position: absolute;
        bottom: 10px;
        right: 10px;
        width: auto;
        margin-right: -45px;
    }
    .mainmenu {
        background-color: #2c80ca;
        height: 0;
        position: fixed;
        right: 15px;
        top: 25px;
        transform: translateX(260px);
        width: 250px;
    }
    .mainmenu ul {
        display: block;
    }
    .mainmenu ul li {
        border-bottom: 1px solid #f2ede5;
        display: block;
        line-height: 40px;
        padding-left: 0;
        text-align: center;
        width: 250px;
    }
    .with--sidebar .site-pusher {
        transform: translateX(-250px);
    }
    .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;
    }
    #hierarchie, #breadcrumbs {
        display: none;
    }
    .titre, .logos {
        margin-top: 25px;
        position: relative;
    }
    .logoinis {
        height: 100px;
        margin-left: 10px
    }
    .principal {
        margin-bottom: 20px;
        min-width: 200px;
    }
    .principal ul {
        padding-right: 10px;
    }
    .principal ul li {
        display: inline-block;
        margin: 5px 0;
        width: 200px;
    }
}
@media only screen and (max-width: 1025px) and (-ms-high-contrast: none), (-ms-high-contrast: active)  {
    .mainmenu {
        position: absolute;
        right: -35px;
        top: -10px;
    }
}
@media only screen and (max-width: 790px) {
    .titre {
        max-width: 300px;

    } 
    .texte h1 {
        font-size: 1.2rem;
    }
}
@media only screen and (max-width: 650px) {
    .texte h1 {
        display: none;
    }
}
@media only screen and (max-width: 442px) {
    .logoPartenaire {
        display: none;
    }
}
@media only screen and (max-width: 410px) {
    .logocnrs, .logocea {
        display: none;
    }
    .principal ul li {
        width: 100px;
    }
}
