/*!
Theme Name: 13c Wordpress Theme
Author: Gilston Digital SA
Author URI: https://gilston.digital/
Description: Theme de départ pour wordpress
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: 13c
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
-----------------------------------------------------*/

/* NORMALIZED
--------------------------------------------- */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
  font-size: 16px;
}
body {
	margin: 0;
}
main {
	display: block;
}
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}
a {
	background-color: transparent;
}
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}
b,
strong {
	font-weight: 600;
}
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}
small {
	font-size: 80%;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub {
	bottom: -0.25em;
}
sup {
	top: -0.5em;
}
img {
	border-style: none;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

body{
	background-color: #1d1d1b;
}
#content{
	background-color: #fff;
}
a,img,header#masthead,#left-logo,#content,.nav-link{
  transition: all ease-in 0.2s;
  -webkit-transition: all ease-in 0.2s;
  -ms-transition: all ease-in 0.2s;
  -o-transition: all ease-in 0.2s;
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #1d1d1b;
	font-family:"Poppins",Helvetica, sans-serif;
	font-size: 1rem;
	line-height: 1.3rem;
  font-weight: 200;
}
p {
	margin-bottom: 1rem;
}
p:last-of-type{
	margin-bottom: 1rem;
}
h1,h2,h3,h4,h5,h6{
  font-weight: 500;
}

/* Links 
---------------------------------------------- */
a{
  text-decoration: none;
  color: #2e4a99;
}
a:hover{
  color: #18387f;
}
a:focus {
	outline: none;
}
a:hover,
a:active {
	outline: 0;
}

i{
  display: flex;
  align-items: content;
}

/* CONTENT
--------------------------------------------- */
#content.site-content{
  padding-top: 100px;
}
body.sticky-header #content.site-content{
  padding-top: 50px;
}

.btn.btn-primary{
  background-color: #2e4a99;
  border-color: #2e4a99;
}
.btn.btn-primary:hover {
  background-color: #18387f;
  border-color: #18387f;
}
.btn.btn-outline-primary{
  color: #2e4a99;
  border-color: #2e4a99;
}
.btn.btn-outline-primary:hover{
  color: #fff;
  border-color: #2e4a99;
  background-color: #2e4a99;
}
.bg-primary{
  background-color: #2e4a99!important;
}

.subtitle-with-square::after{
  content:"";
  width: 12px;
  height: 12px;
  margin-left: 6px;
  display: inline-block;
  background-color: #2e4a99;
}
/* NAV
--------------------------------------------- */

header#masthead {
  margin-bottom: 0;
  background-color: #FFF;
  box-shadow: 1px 3px 5px rgba(27, 28, 33, 0.1);
  padding:0;
  height: 100px;
  width: 100%;
  position: fixed;
  display: flex;
  align-items: center;
  z-index: 1000;
}
header#masthead .container{
  height: 100%;
}
body.sticky-header header#masthead{
  height: 50px;
}
header#masthead #left-logo{
  position: absolute;
  left:0;
}
header#masthead #left-logo img{
  height: 50px;
}
body.sticky-header header#masthead #left-logo img{
  height: 30px;
}
#left-logo:hover img{
  opacity: 0.7;
}
#masthead nav {
  padding: 0;
  height: 100%;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  justify-content: flex-start;
}
#masthead .navbar-nav{
  flex-direction: row;
  justify-content: flex-end;
}
#masthead #mobile-navbar-toggler{
  display: none;
  position: relative;
  z-index: 2001;
	border: 0;
  padding: 0;
  margin-left: 1rem;
}
#masthead #mobile-navbar-toggler,
#masthead #mobile-navbar-toggler:focus,
#masthead #mobile-navbar-toggler:hover,
#masthead #mobile-navbar-toggler:active{
	outline: none;
	border: 0!important;
	border-style: none!important;
	box-shadow: none;
}
#masthead #mobile-navbar-toggler img{
	height: 18px;
}
#masthead #main-nav-flex-container{  
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 120px;
}
#masthead #main-nav{
  padding-left: 0;
  padding-right: 0;
}

.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .dropdown-menu {
  position: absolute;
  left: -1rem;
  border-radius: 0;
  padding: 0;
  background-color: rgba(255, 255, 255, 1);
  border: 0;
  padding: .5rem 0 0 0;
  min-width:300px;
}

.navbar-nav .dropdown-menu .nav-item {
  text-align: start;
  padding: 0 1rem;
  font-weight: 200;
}

.navbar-nav .dropdown-menu .nav-item .nav-link { 
  position: relative;
  text-transform: uppercase;
}

.navbar-nav .dropdown-menu .nav-item .nav-link:hover,
.navbar-nav .dropdown-menu .nav-item.current_page_item .nav-link {
  color: #2e4a99;
}
#secondary-nav{
  flex:1;
}
#secondary-nav .top-link{
  display: block;
  color: #1d1d1b;
  margin-left: 1rem;
  font-size: 1.2rem;
  line-height: 1.2rem;
  text-transform: uppercase;
  font-weight: 200;
}
#secondary-nav .top-link:hover{
  color: #2e4a99;
}

@media only screen and (max-width: 991px) { /** before large **/
  #content.site-content{
    padding-top: 50px;
  }
  header#masthead{
    height: 50px;
  }
  header#masthead #left-logo{
    opacity: 1;    
  }
  header#masthead #left-logo img{
    height: 30px;
  }
  #masthead #mobile-navbar-toggler{
    display: block;
  }
  #masthead #main-nav-flex-container{
    height: 0;
    display: flex;
    justify-content: center;
    align-items: end;
    position: fixed;
    overflow: hidden;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-color: rgba(255, 255, 255, 1);
    flex-direction: column;
    padding: 0;
  }
  #masthead .navbar-nav{
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 0 2rem;
  }
 
  #masthead .dropdown-menu{
    padding-top: 0!important;
    width: 100%!important;
    position: relative;
    top:-10px;
  }
  #masthead .navbar-nav .dropdown-menu .nav-item  {
    text-align: end;
  }
}

#masthead .navbar-nav > li > a {
  color: #1B1C21;
  font-size: 1.2rem;
  line-height: 1.2rem;
  text-transform: uppercase;
  font-weight: 200;
  position: relative;
  padding: 0 1.5rem 0 0;
}

body.sticky-header header#masthead .navbar-nav > li > a{
  font-size: 1rem;
  line-height: 1rem;
}


#masthead .navbar-nav > li > a:hover,
#masthead .navbar-nav > li.current_page_item > a {
  color: #2e4a99;
}

@media only screen and (max-width: 991px) { /** before large **/
  #masthead .navbar-nav > li > a {
    font-size: 1.5rem;    
    line-height: 1.5rem;
    margin-bottom:1.3rem;
    text-align: end;
  }
  body.sticky-header #masthead .navbar-nav > li > a {
    font-size: 1.5rem!important;
    line-height: 1.5rem!important;;
    margin-bottom:1.3rem!important;
    text-align: end;
  }
}

.top-nav-separator{
  height:8px;
  width: 8px;
  background-color: #18387f;
}

/* PAGE HEADER
--------------------------------------------- */
@media only screen and (min-width: 991px) { /** before large **/
  #page-header{
    box-shadow: 1px 3px 5px rgba(27, 28, 33, 0.1);
  }
}
body.home #page-header{
  margin-bottom: 8px;
  box-shadow:none;
}

  
#page-header #page-header-image{
  height: 200px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
 
}
body.home #page-header #page-header-image{
 border-bottom-right-radius: 6px;
}
#page-header #page-header-text{
    padding: 1rem;
}
#page-header #page-header-text h1{
  font-size: 2rem;
  font-weight: 700;
}
#page-header #page-header-text h2{
  font-size: 1.5rem;
  font-weight: 100;
}
@media only screen and (min-width: 576px) { /** before large **/
  #page-header #page-header-text h1{
    font-size: 3rem;
  }
}

@media only screen and (min-width: 768px) { /** before large **/
  
}
@media only screen and (min-width: 991px) { /** before large **/
  #page-header{
    display: flex;
    align-items: stretch;
    min-height: 200px;
  }

  #page-header #page-header-image{
    flex:5;
    height: auto;
  }
  #page-header #page-header-text{
    flex:3;
    padding: 3rem;
  }
  #page-header #page-header-text h1{
    font-size: 3.5rem;
  }
  #page-header #page-header-text h2{
    font-size: 2rem; 
  }
}
@media only screen and (min-width: 1200px) { /** before large **/
  #page-header #page-header-text{   
    padding: 5rem;
  }
  #page-header #page-header-text h1{
    font-size: 5rem;
  }
  #page-header #page-header-text h2{
    font-size: 3rem; 
  }
}


/* Fixed-gallery
--------------------------------------------- */
.section-fixed-gallery{
  height: 600px;
  display: flex;
}
.section-fixed-gallery .gallery-col-1,
.section-fixed-gallery .gallery-col-2,
.section-fixed-gallery .gallery-col-3{
  flex: 1;
  position: relative;
  overflow: hidden;
}
.section-fixed-gallery .fixed-gallery-item{  
  display: block;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}
.section-fixed-gallery .fixed-gallery-item .fixed-gallery-item-infos{
  color: #1d1d1b;
  background-color: rgba(255, 255, 255, 0.9);
  position: absolute;
  top:0;
  left:0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: all ease-in 0.4s;
  -webkit-transition: all ease-in 0.4s;
  -ms-transition: all ease-in 0.4s;
  -o-transition: all ease-in 0.4s;
  display: flex;
  padding: 2rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.section-fixed-gallery .fixed-gallery-item .fixed-gallery-item-infos .fixed-gallery-item-title{
  font-size: 1.6rem;
}
.section-fixed-gallery .fixed-gallery-item .fixed-gallery-item-infos .fixed-gallery-item-description{
  font-size: 1.2rem;
}

.section-fixed-gallery .fixed-gallery-item:hover .fixed-gallery-item-infos{
  opacity: 1;  
}
.section-fixed-gallery .gallery-col-1{
 
}
.section-fixed-gallery .gallery-col-1 .fixed-gallery-item-1{
  height: 60%;
  border-bottom: 4px solid #FFF;
  border-right: 4px solid #FFF;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.section-fixed-gallery .gallery-col-1 .fixed-gallery-item-2{
  height: 40%;
  border-top: 4px solid #FFF;
  border-right: 4px solid #FFF;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.section-fixed-gallery .gallery-col-2{
  
}
.section-fixed-gallery .gallery-col-2 .fixed-gallery-item-3{
  height: 100%;
  border-radius: 10px;
  border-left: 4px solid #FFF;
  border-right: 4px solid #FFF;
}
.section-fixed-gallery .gallery-col-3{
  
}
.section-fixed-gallery .gallery-col-3 .gallery-block-1{
  
}
.section-fixed-gallery .gallery-col-3 .gallery-block-1,
.section-fixed-gallery .gallery-col-3 .gallery-block-2{
  height: 50%;
  flex:1;
}
.section-fixed-gallery .gallery-col-3 .gallery-block-1 .fixed-gallery-item-4{
  height: 100%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom: 4px solid #FFF; 
  border-left: 4px solid #FFF;
}
.section-fixed-gallery .gallery-col-3 .gallery-block-2{
  display: flex;
}
.section-fixed-gallery .gallery-col-3 .gallery-block-2 .fixed-gallery-item-5{
  flex:1;
  height: 100%;
  border-right: 4px solid #FFF;
  border-left: 4px solid #FFF;
  border-top: 4px solid #FFF;
  border-radius: 10px;
}
.section-fixed-gallery .gallery-col-3 .gallery-block-2 .fixed-gallery-item-6{
  flex:1;
  border-left: 4px solid #FFF;
  border-top: 4px solid #FFF;
  height: 100%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

@media only screen and (max-width: 991px) { /** before large **/
  .section-fixed-gallery .gallery-col-3 .gallery-block-2,
  .section-fixed-gallery .gallery-col-2{
    height: auto;
    display: block;
    border: 0;
  }
  .section-fixed-gallery{
    height: auto;
    display: block;
  }
  .section-fixed-gallery{
    height: auto;
    display: block;
  }
  .section-fixed-gallery .fixed-gallery-item{
    height: 200px!important;
    display: block!important;
    border-top: 4px solid #FFF!important;
    border-bottom: 4px solid #FFF!important;
    border-left: 8px solid #FFF!important;
    border-right: 8px solid #FFF!important;
    border-radius: 12px!important;
  }
}

  /* Realisations
  --------------------------------------------- */
  .realisations-list a{
    color: inherit;
  }
  .realisations-list .card{
    transition: all ease-in 0.2s;
  }
  .realisations-list .card:hover{
    box-shadow: 0 .5rem 1rem rgba(0,0,0, .25);
  }
  .realisation-gallery-row{
    width: 100%;
  }
  .realisation-gallery-col{
    width: 100%;
  }
  .realisation-gallery-item{
    cursor: pointer!important;
  }
  .realisation-gallery-image-block{
    overflow: hidden;
    border-radius: 6px;
  }
  .realisation-gallery-image{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
    display: block;
    transition: all ease-in 0.4s;
    -webkit-transition: all ease-in 0.4s;
    -ms-transition: all ease-in 0.4s;
    -o-transition: all ease-in 0.4s;
    
  }
  .realisation-gallery-image-block:hover .realisation-gallery-image{
    transform: scale(1.2);
  }
  @media only screen and (min-width: 768px) {

    .realisation-gallery-row{
      width: 100%;
      display: flex;
    }
    .realisation-gallery-col{
      width: 50%;
    }
    
    .realisation-gallery-col.order-1{
      margin-right: 4px;
    }
    .realisation-gallery-col.order-2{
      margin-left: 4px;
    }
    
  }

  .realisation-image{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
  }

  .card{
  box-shadow: 0 .5rem 1rem rgba(0,0,0, .15);
  border: 0;
  overflow: hidden;
  }

.collaborateurs-list-image{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  min-height: 300px;
}
@media only screen and (max-width: 991px) {
  .collaborateurs-list-image{
    min-height: 400px;
  }
}

 .collaborateur-rs{
 background-color: #2e4a99;
  border-radius: 30px;
  flex: 30px 0 0;
  height: 30px;
  display: block;
}
.collaborateur-rs:hover{
  background-color: #18387f;
}
.collaborateur-rs img{
  height: 16px;
  position: relative;
  top:3px;
  left: 7px;
}
/* FOOTER
--------------------------------------------- */
#site-footer{
	position: relative;
  color: #FFF;
}
#site-footer a{
  color: #b0c6f6;
}
#site-footer a:hover{
  color: #6480b9;
}
#site-footer #footer-logo{
  height: 100px;
}
#site-footer #gd_credit-inline img{
	height: 18px;
}

#site-footer #credits{
	position: absolute;
	top:10px;
	right: 6px;
	display: flex;
	flex-direction: column;
}

#site-footer #gd_credit img{		
	width: 14px;	
}

#site-footer #gd_credit-inline img {
  height: 18px;
}

#site-footer #footer-rs{
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
#site-footer #footer-rs .link-rs{
  background-color: #FFFFFF;
  border-radius: 36px;
  flex: 36px 0 0;
  height: 36px;
  display: block;
  margin: 0 .3rem;
}
#site-footer #footer-rs .link-rs:hover{
  background-color: #6480b9;
}
#site-footer #footer-rs .link-rs img{
  height: 19px;
  position: relative;
  top:6px;
  left: 8px;
}
#site-footer #lhc-partenaire-logo img{
  height: 100px;
}
#map{
  height: 400px;
  width: 100%;
}
@media only screen and (max-width: 991px) {
  .wp-block-media-text > .wp-block-media-text__media{
    margin-bottom: 1.5rem;
  }
}