/*!
Theme Name: mitsubishi
Theme URI: 
Author: Voyez Large
Author URI: https://voyezlarge.fr;
Description: Custom theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mitsu
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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.

The mitsubishi theme is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/

/* HEADER */
/* ---------------------------------------------------- */
/*.gs18-Header.is-flyout{
    z-index: 4;
}
*/
/* menu global */
/* ---------------------------------------------------- */
.gs18-HeaderNav__Menu{
	justify-content: center;
}

/* Accueil + Contact fake hero */
/* ---------------------------------------------------- */
.home .gs18-PageTitleUnit,
.page-template-contact .gs18-PageTitleUnit{
	background: #222222;
}
.home .gs18-PageTitleUnit__Inner,
.page-template-contact .gs18-PageTitleUnit__Inner{
	padding: 0;
	min-height: 85px;
	height: 135px;
}
@media only screen and (max-width:980px){
    .home .gs18-PageTitleUnit__Inner,
    .page-template-contact .gs18-PageTitleUnit__Inner{
        padding: 0;
        min-height: 35px;
        height: 40px;
    }
}
/* Home video */
.wp-block-video{
	margin:30px 0 0 0;
}
video {
  width: 100%;
  height: auto;
  display: block;
}

.home-presentation{
	margin-top: 0;
	margin-bottom: 0;
}

.gs18-MicroMacro img{
	display: block;
	margin: 0 auto;
	max-width: 76px;
}
.gs18-MicroMacro.is-tile-open img{
	display: none;
}

/* Ajout MERCE */
.home-visuels .gs18-Tile {
	padding-top: 30px;
}

.home-visuels a{
    display: block;
    color:
    white;
    text-decoration: none;
    -webkit-background-size: cover;
}
.home .scientific{
    -webkit-background-size: cover;
}

/* Content classes */
/* ---------------------------------------------------- */
.gs18-MainContents p{margin:20px 0 0;}

.gs18-MainContents{
    z-index: 0;
    position: relative;;
}

.gs18-MainContents--Narrow:first-child{
    margin-top: 0;
}
.gs18-MainContents--Narrow:last-child{
    margin-bottom: 0;
}

/* R&D */
/* ---------------------------------------------------- */
.r-and-d .gs18-Tile{
    background-color: black !important;
    align-items: stretch;

}
.r-and-d .gs18-TileItem{
    background-color: black !important;
    color: white;
    display: flex;
}
.r-and-d .gs18-TileItem a{
	color: white;
}
.r-and-d h3.gs18-HeadingLv3 {
    color: #f50f10;
    /*text-align: center;*/
}
.r-and-d img{
	display: block;
	margin: 0 auto;
	max-width: 76px;
}
.r-and-d .gs18-TileItem__Foot a{
	color: black;
    float: right;
}
.r-and-d .gs18-TileItem__Foot a:hover{
    color: #f50f10;
}
.r-and-d .gs18-ButtonLink--Arrow{
    background-color: white;
}

/* scientific publication home */
/* ---------------------------------------------------- */
.scientific .gs18-u-FontSizeXXLarge{
    font-size: 2rem;
}
.scientific .gs18-TileItem__Body{
    flex: 0 0 auto;
}

/* merce */
/* ---------------------------------------------------- */

.gs18-TileItem.narrow{
    width: 66.67%;
    margin: 0 auto;
}
@media only screen and (max-width:980px){
    .gs18-TileItem.narrow{
        width: 100%;
        margin: 0 auto;
    }
}

/* contact */
/* ---------------------------------------------------- */
.gs18-HistorySlide .slick-dots{
	max-width: 320px;
    top: 50px;
    right: auto;
    left: 50%;
}

@media only screen and (max-width:980px){
    .gs18-HistorySlide .slick-dots{
        background: #222222;
        max-width: 100%;
       top: -70px;
       left: 0;
       padding: 0 20px;
    }
    .gs18-HistorySlide .slick-dots li{
       border: 2px solid white;
       margin: 10px 0;
       width: 80px;
    }
    .gs18-HistorySlide .slick-dots span{
       /*color: black;*/
    }
    .gs18-HistorySlide{
        margin-top: 70px;
    }

}
.gs18-HistorySlide .gs18-HistorySlide__Guide::after{
	width: calc(100% - 400px);
}
.gs18-HistorySlide__Title{
	text-shadow: 0 0 30px #000;
}
.gs18-HistorySlide__TextListItem,
.gs18-HistorySlide__Text,
.gs18-HistorySlide .gs18-HistorySlide__Text, .gs18-HistorySlide .gs18-HistorySlide__TextList {
font-size: 14px;
}
.gs18-HistorySlide__TextListItem a,
.gs18-HistorySlide__Text a{
color: white;
}
.gs18-HistorySlide__TextListItem.flexed{
	display: flex;
	flex-wrap: wrap;
}
.gs18-HistorySlide__TextListItem img{
    max-width: 100%;
    height: auto;
}
.gs18-HistorySlide .gs18-HistorySlide__Text, .gs18-HistorySlide .gs18-HistorySlide__TextList{
	margin: 20px 0 0;
}

.gs18-HistorySlide .gs18-HistorySlide__Img{
    height: auto;
}

/* Jobs */
/* ---------------------------------------------------- */

.search_jobs{
	border-top: 1px solid #757575;
	border-bottom: 1px solid #757575;
	padding: 15px 0;
	display: flex;
}
.search_jobs div:not(:last-child){
	margin-right: 15px;
}
.search_jobs label{
	display: none;
}

.search_submit input,
.search_keywords input,
.search_location input{
	padding: 4px 4px 5px 5px;
	border-color:
	#000;
	border-style: solid;
	border-width: 1px;
	display: inline-block;
	line-height: 1.2;
	background-color:
	#fff;
	font-size: 0.75em;
}
.job-types{
	display: flex;
	font-size: 0.75em;
}
.job-types label:not(:last-child){
    margin-right: 15px;
}

ul.job-listings  li.job-item{
    border-bottom: 1px solid #989898;
    width: 100%;
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.page .gs18-MainContents ul.job-listings  li.job-item a,
.page .gs18-MainContents ul.job-listings  li.job-item a:visited{
    text-decoration: none;
}


/* Publications */
/* ---------------------------------------------------- */

.gs18-BorderedDateLinkList {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}
.gs18-BorderedDateLinkListItem:first-child {
    border-top-width: 1px;
}
.gs18-BorderedDateLinkListItem--Image {
    padding-bottom: 30px;
}
.gs18-BorderedDateLinkListItem {
    margin: 0;
    padding: 20px 0;
    border-color: #989898;
    border-style: solid;
    border-width: 0 0 1px;
    border-top-width: 0px;
}
.gs18-BorderedDateLinkListItem .gs18-Date {
    line-height: 1.2;
    font-size: 1rem;
    text-align: left;
}
.gs18-AccordionList .gs18-AccordionList__Item > a::after, .gs18-AccordionList .gs18-AccordionList__Item > span::after{
	background-color: transparent;
}
.gs18-AccordionList{
	border-bottom: 0;
}
.gs18-Accordion--NewsCategorySearch .gs18-AccordionList .gs18-AccordionList__Item > a .gs18-AccordionList__Item__SubLabel, .gs18-Accordion--NewsCategorySearch .gs18-AccordionList .gs18-AccordionList__Item > span .gs18-AccordionList__Item__SubLabel {
    margin-left: 20px;
    padding-left: 20px;
    display: inline-block;
}
.gs18-Accordion--NewsCategorySearch .gs18-AccordionList .gs18-AccordionList__Item > a .gs18-AccordionList__Item__SubLabel, .gs18-Accordion--NewsCategorySearch .gs18-AccordionList .gs18-AccordionList__Item > span .gs18-AccordionList__Item__SubLabel {
    border-color: 
    #989898;
    border-style: solid;
    border-width: 0 0 0 1px;
    font-size: .89rem;
    font-weight: 300;
}
.gs18-News__Footer {
    margin-top: 20px;
    padding: 20px;
    text-align: center;
    background-color: 
    #eee;
}
.gs18-News__Footer .gs18-Button {
    margin-top: 0;
    background-color: 
    transparent;
}
.gs18-Button {
    margin: 20px 0 0;
        margin-top: 20px;
    padding: 10px 13px;
        padding-right: 13px;
    border: solid 2px  #000;
display: inline-block;
color:
    #000;
    background-color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
}
.gs18-Button--Down {
    position: relative;
    padding-right: 50px;
}
.gs18-Button--Down::after {

    background-image: url(img/icon/LinkDown.svg);

}
.gs18-Button--Down::after {
    position: absolute;
    top: .5rem;
    right: 15px;
    width: 26px;
    height: 26px;
    content: '';
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.publication-list li{
    font-size: 0.9em; 
    border-bottom: 1px solid;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-weight: normal;
    width: 100%;
}

.publication-list li a,
.publication-list li a:visited{
    text-decoration: none; 
    font-weight: normal;
}

/* PAGE / POST / CPT gutenberg fixes */
/* ---------------------------------------------------- */

.page .gs18-MainContents:not(.science-pub-main) a:link, .page .gs18-MainContents a:visited{color:#000;text-decoration:underline}
.page .gs18-MainContents:not(.science-pub-main) a[href]:active, .page .gs18-MainContents:not(.science-pub-main) a[href]:focus, .page .gs18-MainContents:not(.science-pub-main) a[href]:hover{color:#f50f10}
.single .gs18-MainContents:not(.science-pub-main) a:link, .single .gs18-MainContents a:visited{color:#000;text-decoration:underline}
.single .gs18-MainContents:not(.science-pub-main) a[href]:active, .single .gs18-MainContents:not(.science-pub-main) a[href]:focus, .single .gs18-MainContents:not(.science-pub-main) a[href]:hover{color:#f50f10}
@media only screen and (max-width:767px){
    .gs18-TileItem{padding:25px 15px}
}
.gs18-TileItem{
    padding: 30px;
}

.wp-block-columns{
    margin-bottom: 0;
}

.gs18-Tile{
    align-items: flex-start;
}

.job-listings a{
    color: #000;
    text-decoration: none;
}
.science-pub-main button{
    border: 0 none;
    background: transparent;
    color: #000000;
    font-weight: bold;
    text-align: left;
}
.science-pub-main button.is-checked{
    color:#f50f10;
}
.science-pub-main button:hover{
    color:#f50f10;
    cursor: pointer;
}
.job-listings .gs18-HeadingLv3{
    margin-top: 12px;
}


/* NEWS */
/* ---------------------------------------------------- */
.news-main .page-numbers{
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: center;
}
.news-main .page-numbers li:not(:last-child){
    margin-right: 10px;
}

.gs18-MainContents.news-main .page-numbers li a,
.news-main .page-numbers li span{
    margin: 20px 0 0;
    padding: 10px 13px;
        padding-right: 13px;
    border: solid 2px #000;
    display: table;
    color: #000;
    background-color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    text-decoration: none;
}
.news-main .page-numbers li span{
    border: solid 2px #BBB;
    color: #BBB;
}

/*.alignleft{
    float: left;
    margin: .5em 1em .5em 0;
    max-width: 100%;
    height: auto;
}*/

/* MISC */
/* ---------------------------------------------------- */
.gs18-TileItem{
    display: block;
}

.wp-block-file a:before{
    content:'';
    background: url(img/icon/Pdf.svg) no-repeat;
    padding-left: 30px;
}

.wp-block-group__inner-container h2:first-child,
.wp-block-group__inner-container h3:first-child{
    margin-top: 0;
    margin-bottom: 30px;
}
/*@media only screen and (max-width:768px){
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media{
        -ms-grid-column: 1;
        grid-column: 1;
        -ms-grid-row: 1;
        grid-row: 1;
    }
}*/
@media only screen and (max-width:600px){
    .wp-block-media-text .wp-block-media-text__content{
        padding: 0;
    }
}
.gs18-Link--Pdf{
    text-decoration: none;
}
.gs18-UList{
    overflow: hidden;
}

.gs18-GoTop>a{
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0); 
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap; 
  width: 1px;
}
.wp-block-file a::before {
    padding-bottom: 12px;
}