/*
Theme Name: Pascal Francis ACCES LIBRE
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 *******************/
/*****************************/

/* Fonts Droid */
/* latin */
@font-face {
  font-family: 'Droid Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Droid Sans'), local('DroidSans'), url(/vibad/css/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(/vibad/css/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(/vibad/css/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(/vibad/css/fonts/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 {
    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: #f2ede5;
    font-family: "Arial", "Droid Sans", 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 {
    margin-bottom: 1.5rem;
    text-align: justify;
}
.bsbb {
    box-sizing: border-box;
}
/*****************************/
/* Header ********************/
/*****************************/
header {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    background-color: #fff;
    border-bottom: 2px solid #bfa991;
    border-top: 12px solid #bfa991;
    min-height: 123px;
    width: 100%;
}
/* BANDEAU CONNEXION */

/* bandeau haut de page */
#connexion {
    background: rgb(70, 70, 71) none repeat scroll 0 0;
    padding: 0;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */  
    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: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;
    justify-content: flex-end;
    padding: 0;
    font-size: 1.4rem;
}
#connexion #bandeauConnexion span{
    padding-right: 0.5em;
}
input#connect {
    background: rgba(0, 0, 0, 0) url("images/btn-search3.png") no-repeat scroll 0 0;
    display: inline-block;
    left: -2px;
    height: 37px;
    text-indent: -9999px;
    width: 37px;
    box-sizing: border-box;
}

#zoneheader {
    margin: 0 auto !important;
    max-width: 1200px;
    position: relative;
    width: 100%;
    background-color: #fff;
}
#zoneheader > img {
    height: 21px;
    left: 0;
    position: absolute;
    top: -12px;
    width: 240px;
}
#hierarchie {
    width: 100%;
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    margin-bottom: 10px;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    align-items: baseline;
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
}
#cnrs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    -webkit-justify-content: flex-end;
    -webkit-align-items: baseline;
    display: -ms-flexbox;
    -ms-flex-wrap: wrap;
    -ms-flex-pack: end;
    -ms-flex-align: baseline;
    list-style-type: none;
    font-size: 1.4rem;
    margin: 0;
    padding: 0;
}
#cnrs li:not(:last-child)::after {
    font-size: 1.4rem;
    content: " | ";
    color: #696969;
}
.cnrsli a {
    color: #000;
    vertical-align: middle;
    padding-left: 5px;
}
.alignright {
    float: right;
    margin: 0.5em 0 0.5em 1em;
}
.alignleft {
    float: left;
    margin: 0.5em 1em 0.5em 0;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
/* positionnement choix langue */
#zoneheader .language {
    display: inline-block;
    text-align: right;
}
#zoneheader .language select{
    border-radius: 5px;
    min-width: 100px;
}
#zoneheader .titre .language {
    margin-left: 2rem;
}
#zoneheader #hierarchie .language{
    margin: 0 10px;
}
.logos {
    display: flex;
    min-height: 100px;
    float: left;
    margin-top: -10px;
    align-items: center;
}
.logos a {
  text-decoration: none;
}
.logos img {
    margin-left: 5px;
    margin-right: 5px;
    vertical-align: middle;
}
/*.logovibad*/
.logos a img.logoInstance{
    padding-left: 0;
}
.logos a img.logoPartenaire {
    padding-left: 5px;
}
#zoneheader .titre {
    padding: 0 1rem;
    min-height: 90px;
    display: flex;
    align-items: center;
}
#zoneheader .texte {
    flex:auto;
}
#zoneheader .texte h1 {
    font-family: "Droid Sans", "Open Sans", Georgia,"Times New Roman", sans-serif;
    font-size: 2.4rem;
    text-align: center;
}
/*****************************/
/* page ******************/
/*****************************/
#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;
}
#breadcrumbs a:hover,
#breadcrumbs a:focus {
    text-decoration: underline;
}
.site-content {
    align-items: flex-start;
    background: #fff none repeat scroll 0 0;
    display: flex;
    flex-flow: row wrap;
    font-size: 1.4rem;
    line-height: 2rem;
    margin: auto;
    max-width: 1200px;
    position: relative;
}
.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: #bfa991 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;
}
#text {
    width: 70%;
    min-width: 290px;
    margin: 0 10px 20px 10px;
    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: #a89178;
    padding-left: 10px;
    line-height: 2.6rem;
}
#text ul {
    margin-bottom: 1em;
    margin-left: 1em;
}
#text ul li {
    list-style-image: url("/vibad/images/puce.png");
    list-style-position: inside;
}
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";
}

/*****************************/
/* Footer ********************/
/*****************************/
#logosFooter{
    min-height: 160px;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#logosFooter img{
    padding: 1rem;
}
footer {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #ede3d3;
    border-color: #bfa991 #dcded9 #dcded9;
    border-image: none;
    border-style: solid none none;
    border-width: 12px medium medium;
    display: flex;
    flex-flow: row wrap;
    font-size: 1.4rem;
    height: 30px;
    justify-content: center;
    width: 100%;
}
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 0 0 5px;
}
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: #000;
    text-decoration: none;
}
footer ul li a:hover, footer ul li a:focus {
    text-decoration: underline;
}
/*****************************/
/* MENU **********************/
/*****************************/
.noclic {
    cursor:default !important;
}
.mainmenu {
    display: block;
    max-width: 1200px;
    color: #212121;
    font-family: "Droid Sans";
    height: 4rem;
    width: 100%;
    margin: auto;
    z-index: 5;
    background-color: #a28464;
}
.mainmenu ul {
    list-style: outside none none;
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: row;
}
.mainmenu ul li {
    background-color: #a28464;
    border-left: 1px solid #bfa991;
    border-right: 1px solid #bfa991;
    border-top: 1px solid #bfa991;
    font-size: 1.5rem;
    line-height: 1.3em;
    flex:1;
}
.mainmenu li:not(:last-child) {
    border-right: 1px solid #d9d4d3;
}
.mainmenu ul li:hover {
    background-color: #fff;
}
.mainmenu ul li:hover a {
    color: #474747;
}
.mainmenu ul li.active {
  background-color: #fff;
}
.mainmenu ul li.active a {
  color: #474747;
}
.mainmenu a {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 3.7rem;
    padding: 0.1rem 0.5rem;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    margin: 1px;
    min-width: 100px;
}

@media only screen and (max-width: 820px) {
    .texte h1 {
        font-size:2rem; 
        text-align: right;
    }
}
@media screen and (max-width: 790px) {
    .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: 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;
    }
    .mainmenu {
        background-color: #bfa991;
        height: 0;
        position: fixed;
        right: 15px;
        top: 25px;
        -ms-transform: translateX(260px);
        transform: translateX(260px);
        width: 250px;
        margin:0;
        z-index: 5;
    }
    .mainmenu ul{
        flex-direction: column;
        display: block;
        border-bottom: none;
    }
    .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 {
        -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;
    }
    #cnrs, #breadcrumbs {
        display: none;
    }
    #hierarchie{
        width: auto;
    }
    .titre, .logos {
        margin-top: 5px;
        position: relative;
    }
}
@media only screen and (max-width: 720px) and (-ms-high-contrast: none), (-ms-high-contrast: active)  {
    .mainmenu {
        position: absolute;
    }
}
@media only screen and (max-width: 650px) {
    #zoneheader .titre {
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: flex-end;
    }
    #zoneheader .texte {
        order:2;
    }
    #zoneheader .titre .language{
        order:1;
    }
}
@media only screen and (max-width: 440px) {
    #zoneheader .logos a img.logoPartenaire{
        display: none;
    }
    #zoneheader .logos a img.logoInstance {
        width: 70%;
    }
    #zoneheader .titre{
        padding: 0 0.5rem;
    }
    #zoneheader .texte h1 {
        font-size:1.5rem; 
    }
}
#navigation #searchform {
    margin-right: 15px;
}
.navbar-search .search-query {
    border: 1px solid #ac1516;
    border-radius: 2px;
    outline: medium none;
}
.navbar-search input[type="text"] {
    outline: medium none;
    transition: border 0.3s ease-in-out 0s;
}
.navbar-search [type="text"]:focus {
    border: 1px solid #ac1516;
    box-shadow: 0 0 5px rgb(172, 21, 22);
}
.current-menu-ancestor.dropdown {
    background-color: #111111;
}
.navbar .nav > li.current-menu-ancestor > a {
    color: #ffffff;
}
