/*!
Theme Name: Genin Carrelage 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: genin-carrelage
*/  

/* NORMALIZED
--------------------------------------------- */
html {
	line-height: 1.2;
	-webkit-text-size-adjust: 100%;
  font-size: 18px;
}
@media only screen and (max-width: 991px) { /** before large **/
  html {
    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: rgba(238, 238, 231, 1);
}
#content{
	background-color: rgba(238, 238, 231, 1);
}
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: #191510;
	font-family: "Host Grotesk", sans-serif;
	font-size: 1rem;
	line-height: 1.2;
  font-weight: 300;
}
p {
	margin-bottom: 1rem;
}
h1,h2,h3,h4,h5,h6{
  font-weight: 600;
  line-height: 1.1;
}
h2{
  font-size: 2.5rem;
}
.text-normal{
  font-weight: 400;
  font-size: 1rem;
}
/* Links 
---------------------------------------------- */
a{
  text-decoration: none;
  color: #aa7e4d;
}
a:hover{
  color: #6b4d2b;
}
a:focus {
	outline: none;
}
a:hover,
a:active {
	outline: 0;
}

/* CONTENT
--------------------------------------------- */
#content.site-content{
  padding-top: 100px;
}
#content .container,
header#masthead .container,
#site-footer .container{
    border-left: 1px solid #c9c9c9;
    border-right: 1px solid #c9c9c9;
}
.pt-6{
  padding-top: 6rem!important;
}
.pb-6{
  padding-bottom: 6rem!important;
}
.ps-6{
  padding-left: 6rem!important;
}
.pe-6{
  padding-right: 6rem!important;
}

.p-6{
  padding: 6rem!important;
}
.py-6{
  padding-top: 6rem!important;
  padding-bottom: 6rem!important;
}
.px-6{
  padding-left: 6rem!important;
  padding-right: 6rem!important;
}

.bottom-border{
  border-bottom: 1px solid #c9c9c9;  
}

body.sticky-header #content.site-content{
  padding-top: 50px;
}
body.home #content.site-content{
  padding-top: 0;
}
.btn{
  
}
.btn.btn-primary{
  background-color: #aa7e4d;
  border-color: #aa7e4d;
}
.btn.btn-primary:hover {
  background-color: #6b4d2b;
  border-color: #6b4d2b;
}
.btn.btn-outline-primary{
  color: #aa7e4d;
  border-color: #aa7e4d;
}
.btn.btn-outline-primary:hover{
  color: #fff;
  border-color: #aa7e4d;
  background-color: #aa7e4d;
}
.bg-primary{
  background-color: #aa7e4d!important;
}

/* NAV
--------------------------------------------- */

header#masthead {
  margin-bottom: 0;
  background-color: rgba(238, 238, 231, 0.7);
  padding:0;
  height: 100px;
  width: 100%;
  position: fixed;
  display: flex;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Pour Safari */
  border-bottom: 1px solid #c9c9c9;  
}

body.home:not(.sticky-header) header#masthead{
  background-color: transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter: none; /* Pour Safari */  
}
body.home:not(.pass-header) header#masthead{
  background-color: transparent;  
  border: 0;
}
body.home:not(.pass-header) header#masthead .container{
  border: 0;
}

header#masthead .container{
  height: 100%;
}
body.sticky-header header#masthead{
  height: 100px;
}
header#masthead #left-logo{
  position: absolute;
  left:0;
}
header#masthead #left-logo img{
  height: 80px;
}
body.sticky-header header#masthead #left-logo img{
  height: 80px;
}
#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;
}
#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{
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
#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: 1rem 0;
  min-width:300px;
}

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

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

#masthead .navbar-nav .dropdown-menu .nav-item .nav-link:hover,
#masthead .navbar-nav .dropdown-menu .nav-item.current_page_item .nav-link {
  color: #aa7e4d;
}

#masthead .navbar-nav > li > a {
  color: #191510;
  font-size: 1.1rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 0 1.5rem 0 0;
}
body.home:not(.pass-header) header#masthead .navbar-nav > li > a{
  color: #fff;
}

#masthead .navbar-nav > li > a:hover,
#masthead .navbar-nav > li.current_page_item > a,
body.home:not(.pass-header) #masthead .navbar-nav > li > a:hover,
body.home:not(.pass-header) #masthead .navbar-nav > li.current_page_item > a {
  color: #aa7e4d;
}

@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: center;
    position: fixed;
    overflow: hidden;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-color: rgba(255, 255, 255, 0.9);
  }
  #masthead .navbar-nav{
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 0 2rem;
  }
 
  #masthead .dropdown-menu{
    padding-top: 0!important;
    width: 100%!important;
  }
  #masthead .navbar-nav .dropdown-menu .nav-item  {
    text-align: center;
  }
  #masthead .navbar-nav > li > a {
    font-size: 1.5rem;    
    line-height: 1.5rem;
    margin-bottom:1.3rem;
    text-align: center;
  }
}

/* FOOTER
--------------------------------------------- */

#site-footer{
	position: relative;
  font-size: .8rem;
}

#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;
}

/* HOME
--------------------------------------------- */

/** homepage **/

body.home #section-top {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	height: 1000px;
	background-color: #FFF;
}
body.home #section-top #section-top-slogan{
  position: absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  z-index: 100;
  padding: 2rem;
  background-color: rgba(0, 0, 0, .4);
}
body.home #section-top #section-top-slogan h1{
  color: #FFF;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 0 12px rgba(0,0,0,0.6);
}

body.home #section-top #section-top-slogan h2{
  color: #FFF;
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.2;
  text-shadow: 0 0 3px rgba(0,0,0,0.8);
}
@media only screen and (min-width: 576px) {
body.home #section-top #section-top-slogan h1{    
    font-size: 2.5rem;    
  }

  body.home #section-top #section-top-slogan h2{    
    font-size: 1rem;    
  }
}
@media only screen and (min-width: 991px) {
  body.home #section-top #section-top-slogan h1{    
    font-size: 4rem;    
  }

  body.home #section-top #section-top-slogan h2{    
    font-size: 1.1rem;    
  }

	body.home #section-top::before {
		content: "";
		position: absolute;
		min-height: 200px;
		height: 40%;
		top: 0;
		left: 0;
		right: 0;
		background: rgb(0, 0, 0);
		background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .8) 95%);
		z-index: 99;
	}
}

body.home #section-top-slick .slick-list,
body.home #section-top-slick .slick-track,
body.home #section-top-slick .slick-slide {
	height: 100%;
}

body.home #section-top-slick .slick-slide {
	position: relative;
	background-size: cover;
}

body.home #section-top-slick .slick-arrow {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 60px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 26px auto;
	cursor: pointer;
	z-index: 100;
}

body.home #section-top-slick .slick-arrow:hover {
	background-size: 36px auto;
}

body.home #section-top-slick .slick-arrow.slick-prev {
	background-image: url('img/prev-arrow.svg');
	left: 0;
}

body.home #section-top-slick .slick-arrow.slick-next {
	background-image: url('img/next-arrow.svg');
	right: 0;
}

@media only screen and (min-width:768px) {
	body.home #section-top #section-top-legend {
		border-top-right-radius: 165px;
		width: 600px;
	}

	body.home #section-top #section-top-legend::after {
		content: "";
		background-image: url('img/wave-bottom-left.svg');
		position: absolute;
		right: -70%;
		width: 100%;
		bottom: 0;
		top: 0;
		background-repeat: no-repeat;
		z-index: -1;
		background-size: auto 100%;
	}
}