/*
Theme Name: LOTERRE
Author: Webmaster Inist-CNRS
*/

/*****************************/
/* General *******************/
/*****************************/
html {
    font-size: 62.5%;
}
body {
    font-family: 'Source Sans Pro', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Viga', sans-serif;
    font-weight: 400;
}
a {
    margin: 1px;
    color: #3d8a82;
    text-decoration: none;
}
a:visited {
    color: #3d8a82;
    text-decoration: none;
}
a:hover, a:focus {
    color: #BC8F5D;
    text-decoration: underline;
}
a img {
    border: none;
}
p {
    margin-bottom: 5px;
}
.bsbb {
    box-sizing: border-box;
}
abbr[title] {
    text-decoration: none;
    color: rgb(67,147,195);
}
#error {
    margin-top: 40px;
    color: rgb(67,147,195);
    font-size: 2.4rem;
}
.alerte {
    width: 100%;
    background-color: #fff;
    color: red;
    border-radius: 5px;
    min-height: 40px;
    text-align: center;
    margin: 5px auto;
    line-height: 30px;
    vertical-align: middle;
    border: 1px solid red;
    font-weight: bold;
}
.alerte p {
    margin: 0;
    font-size: 1.8rem;
}
/*****************************/
/* Header ********************/
/*****************************/
 .header {
    max-width: 1240px;
    margin: 0 auto;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 5px 10px 15px 10px;
    position: relative;
 }
.header img {
    max-height: 80px;
    align-self: center;
}
header h1 {
    display: none;
}
#headerLine {
    width: 100%;
    height: 10px;
    background-color: #e3e3e3;
}
.tools {
    width: 32.3%;
    position: relative;
    float: right;
}
#languageSwitch {
    position: absolute;
    right: 15px;
    bottom: 10px;
}
.language {
    height: 40px;
    text-align: right;
    position: absolute;
    top: 46px;
    left: 0px;
}
.language select{
    border-radius: 10px;
    min-width: 100px;
}
.instituteLinks {
    list-style-type: none; 
    text-align: right;
    margin: 0;
 }
.instituteLinks li {
    display: inline-block;
}
.instituteLinks a {
    color: #383838;
    font-size: 1.6rem;
}
.instituteLinks li:not(:last-child)::after {
    font-size: 1.6rem;
    content: " | ";
    color: #383838;
}
/*****************************/
/* Homepage   ****************/
/*****************************/
#breadcrumbs{
    margin-bottom: 15px;
    margin-top: 25px;
    padding-left: 10px;
    background-color: #f5f5f5;
    font-size: 1.6rem;
}
#breadcrumbs a {
    color: #383838;
    font-size: 1.6rem;
}
.breads {
     color: #383838;
    font-style: italic;
    font-size: 1.6rem;   
}
#siteContent {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
#homeContent {
    width: 100%;
}
#homeTop {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
#homePresentation {
    font-size: 1.8rem;
    color: #696969;
    line-height: 2.4rem;
    width: 45%;
    text-align: justify;
    padding: 10px;
    min-width: 300px;
}
#homePresentation h2, #homeNews h2 {
    font-size: 2.4rem;
    color: #383838;
    margin-bottom: 10px;
}
#searchNews {
    width: 45%;
    padding: 10px;
}
#searchNews a h2 {
    font-size: 2.4rem;
    color: #3d8a82;
    margin-bottom: 10px;
}
#searchNews a:hover h2{
    color: #BC8F5D;
}
#skosmosSearch {
    width: 100%;
    min-width: 160px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}
::-webkit-input-placeholder {
    color: #dcdcdc;
} 
#homeNews {
    min-width: 200px;
}
.newsTitle, .newsTitle:visited, .newsTitle:hover {
    font-size: 1.8rem;
    font-weight: 600;
    color: #3d8a82;
    text-decoration: none;
}
.newsDate {
    display: inline-block;
    font-style: italic;
    font-size: 1.8rem;
    color: #696969;
}
.newsAbstract {
    font-size: 1.4rem;
    color: #696969;
    text-align: justify;
}
#allNews {
    margin-top: 20px;
    text-transform: uppercase;
    height: 3rem;
    line-height: 3rem;
    width: 200px;
    background-color: #e3e3e3;
    text-align: center;
}
#allNews a, #allNews a:visited, #allNews a:hover {
    font-size: 1.4rem;
    font-weight: 700;
    color: #383838;
    text-decoration: none;
}
#services {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: flex-start;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 30px;    
}
.itemService {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.itemService h3 {
    font-size: 2.4rem;
    padding-left: 10px;
    display: inline-block;
    color: #383838;
    margin-bottom: 10px;
 }
 .itemService p {
    font-size: 1.6rem;
    color: #696969;
    line-height: 2rem;
    margin-top: 0;
    width: 200px;
 }
 #ssServices {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: flex-start;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 20px;    
}
.itemSsService {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.itemSsService h3 {
    position: absolute;
    top: 50px;
    left: 0;
    font-size: 2.4rem;
    padding-left: 10px;
    padding-right: 10px;
    color: #fff;
    text-align: center;
    width: 100%;
}
.itemSsService img {
    filter: grayscale(1);   
}
#ssServices a:hover img {
    filter: grayscale(0);   
}
.serviceLine {
    width: 100%;
    height: 2px;
    background-color: #e3e3e3;
    margin-top: 20px;
    margin-bottom: 10px;
}
.itemSsService p {
    font-size: 1.6rem;
    color: #696969;
    line-height: 2rem;
    margin-top: 0;
    text-align: center;
 }
/*****************************/
/* Plan **********************/
/*****************************/
#siteMap {
    width: 100%;
    font-size: 1.6rem;
}
#siteMap a {
    color: #696969;
}
/*****************************/
/* Category ******************/
/*****************************/
#entetePage {
    width: 100%;
    height: 90px;
    position: relative;
    background-image: url(images/image-principale3.jpg);
    background-repeat: no-repeat;
    background-size: 100% 90px, cover;
}
#titlePage, #titleCategory {
    width: 1240px;
    height: 90px;
    margin: 0 auto;
    padding-left: 10px;
}
#titlePage h1, #titleCategory h1 {
    display: inline-block;
    line-height: 90px;
    margin: 0;
    color: #fff;
    font-size: 3.6rem;
    text-transform: uppercase;
    padding-left: 10px;
}
#titlePage h1 {
    padding-left: 20px;
}
#titlePage img {
    max-height: 5rem;
    vertical-align: -15px;
}
#blogContent {
    font-size: 1.6rem;
    padding: 10px;
    width: 100%;
    margin: 0 auto 10px auto;
    min-height: 60vh;
}
#blogContent h1, #blogContent h2, .newsAbstract a {
    color: #3d8a82;
}
.newsTitle a:hover, 
.newsTitle a:visited, 
.newsAbstract a:hover, 
.newsAbstract a:visited {
    color: #3d8a82;
}
.newsAbstract a {
    text-decoration: none;
}
.newsPost {
    margin-bottom: 10px;
}
.newsPost .newsDate, .newsPost .newsAbstract {
    font-size: 1.6rem;
}
/*****************************/
/* Single ********************/
/*****************************/
#singleContent {
    max-width: 1240px;
    margin: 0 auto 180px auto;
    font-size: 1.4rem;
    padding: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}
#singleContent .singlePresent {
    width: 60%;
    min-width: 200px;
    font-size: 1.6rem;
}
.serviceSinglePresent {
    width: 100%;
}
#singleContent .blogNews {
    width: 35%;
    min-width: 200px;
}
.serviceSinglePresent p img {
    max-width: 100%;
    height: auto;
}
/*
.singlePresent a[href$=".pdf"] {
    background-color: #fff;
    color: #000;
}
*/
/*****************************/
/* FAQ ***********************/
/*****************************/
.faqTitle, .resTitle {
    cursor: pointer;
    font-size: 1.8rem;
    margin-bottom: 5px;
}
.itemResp {
    width: 160px;
    height: 70px;
    margin-right: 10px;
}
.resResp {
    margin: 15px 0 15px 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.faqResp, .resResp  {
    display: none;
    margin-left: 30px;
}
.item {
    margin-left: 50px;
}
.faqResp p {
    margin-block-start:10px;
    margin-block-end: 10px;
}
.faqResp img {
    max-width: 100%;
    height: auto; 
}
#blogContent h3 {
    margin-bottom: 5px;
}
/*****************************/
/* Search ********************/
/*****************************/

/*****************************/
/* Footer ********************/
/*****************************/
footer {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}
#footerLine {
    height: 10px;
    background-color: #e3e3e3;
    padding-left: 10px;
    padding-right: 10px;
}
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;
}
.twitter {
    position: absolute;
    right: 0;
    top: 10px;
    height: 65px;
    width: 65px;
}
footer ul li a, 
footer ul li a:visited, 
footer ul li a:focus, 
footer ul li a:hover {
    color: #696969;
    font-size: 1.6rem;
    text-decoration: none;
    line-height: 70px;
    text-transform: uppercase;
}
footer ul li img {
    margin-top: 10px;
    margin-left: 20px;    
}
footer ul li:not(:nth-last-child(-n+2))::after {
    font-size: 1.6rem;
    content: " | ";
    color: #696969;
}
/***********************************************/
/*           Responsive                        */
/***********************************************/
@media screen and (max-width: 637px) {
    #homePresentation, #searchNews {
        width: 100%
    }
}

@media screen and (max-width: 555px) {
    #singleContent .singlePresent, #singleContent .blogNews {
        width: 100%;
    }
}
@media screen and (max-width: 510px) {
    .twitter {
        top: 60px;
    }
}
@media screen and (max-width: 417px) {
    .itemService {
        width: 100%
    }
}