/*
 Theme Name:   Faste Wordpress theme child
 Theme URI:    http://www.faste.ca
 Description:  Thème de base pour le développement Web chez Faste Communication
 Author:       Guillaume Proulx
 Author URI:   http://www.faste.ca
 Template:     faste
 Text Domain:  faste-child
 Version:      1.0.18
*/

html {
  scroll-behavior: smooth;
}

/* CONFIGURATION INITIALE */
*{
	font-family: var(--main-font);
}
h1 {
	font-size: calc(21px + 3.2vw);
	color: var(--color2);
	font-weight: 400;

	margin-bottom: 20px;
}
h2 {
	font-size: calc(20px + 2.2vw);
    font-weight: 500;
	
}
h3 {
	font-size: calc(19px + 1.9vw);
	color: var(--color1);
    font-weight: 600;
}
h4 {
	font-size: calc(18px + 1.6vw);
	color: var(--color1);
    font-weight: 300;
}
h5 {
	font-size: calc(17px + 1.3vw);
		
}

.answer ul li,
p{
	color: var(--color2);
	line-height: 140%;
    font-size: calc(11px + 0.6vw);
}
.rev h1, .rev h2, .rev h3, .rev h4, .rev h5, .rev p{
	color:white;
}
@media screen and (min-width:1920px){
	h1 {
		font-size: 60px;
	}
	h2 {
		font-size: 50px;
	}
	h3 {
		font-size: 40px;
	}
	h4 {
		    font-size: 30px;
	}
	h5 {
		    font-size: 30px;
	}

}

@media screen and (min-width:1300px){
	.answer ul li,
	p{
		font-size: 18px;
	}
}

@media screen and (max-width:640px) {
	.answer ul li,
	p{

		font-size: 16px;
	}
}

blockquote p{
	color: var(--color2);
	font-weight: bold;
}
blockquote p:first-child::before{
	content:"« ";
}
blockquote p:last-child::after{
	content:" »";
}

#gform_confirmation_message_1{
	color: white!important;
    font-size: 18px!important;
}

.b1, .woocommerce a.button.add_to_cart_button, .woocommerce a.added_to_cart{
	background-color: var(--color1);
    color: white;
    padding: 20px 25px;
	font-weight: bold;
	/*text-transform: uppercase;*/
	display: inline-block;
    font-size: 100%;
	border-radius:0;
	margin-bottom: 15px;
}
.b2, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button{
	background-color: #000;
    color: white;
    padding: 20px 25px;
	font-weight: bold;
	text-transform: uppercase;
	display: inline-block;
    font-size: 70%;
	margin-bottom: 15px;
}
.b3{
	background-color: transparent;
	color:#000;
	border: 1px solid var(--color1);
	display: inline-block;
    padding: 20px 25px;
    font-size: 70%;
	margin-bottom: 15px;
}
.rev b1{
}
.rev b2{
}
.rev b3{
	color:white;
}
.container{
	margin:0 auto;
	max-width:1800px;
	padding: var(--pad);
}
.wp-block-cover, .wp-block-cover-image{
	min-height:0;
}
footer > div{
	display: grid;
	grid-gap: 30px;
	grid-template-columns: 1fr 1fr 1fr;
}
/* CONFIGURATION INITIALE END */

footer{
	display: none!important;
}

.copy p{
	margin: 0;
}

.copy {
    background-color: black;
    text-align: center;
    padding: 25px;
    border-top: 1px solid white;
}
.copy a{
	color:white;
}

div.menus{
    display: flex;
    flex-direction: row-reverse;
}

header#header .menus > nav {
    display: flex;
    align-items: center;
}



header#header .secmenu a{
	color: white;
}

header#header .secmenu .menu a{
	background-color: black;
	height: 100%;
    display: flex;
font-size: calc(6px + 1.2vw);
    align-items: center;
    padding: 10px 30px;	
	margin: 0;	
}

.secmenu .menu li{
	height: 100%;
}

header#header .logo img, footer .logo img {
    max-width: 267px;
    padding: 15px 0;
	width: 15vw;	
    min-width: 150px	
}

header#header .menus a {

    letter-spacing: 1px;
}

body header#header:not(.menu){
    position: absolute;
    z-index: 2;
    width: 100%;
	background-color: rgb(255 255 255 / 40%);	
	padding-left: 5vw;	
}

header#header .social, header#header .searchbar .recherche{
	background-color: transparent;
}

header#header nav a{
	color: black;
	text-transform: uppercase;
}

body > div.wpml-ls-statics-footer.wpml-ls.wpml-ls-legacy-list-horizontal{
	display: none!important;
}


.privacy-policy #header{
	position: relative!important;
}

.privacy-policy main{
	padding: 5vw;
}

@media screen and (max-width:1600px){
	header#header .menus a{
		font-size: 14px;
	}
}

@media screen and (max-width:1500px){
	header#header .secmenu .menu a {
		background-color: black;
		height: 100%;
		display: flex;
		font-size: calc(6px + 1vw);
		align-items: center;
		padding: 10px 30px;
		margin: 0;
	}

	header#header nav a {
		padding: 20px 14px;
		
	}	
}

@media screen and (max-width:1300px){

.header .slider h1 {
    font-size: calc(21px + 2.2vw);

}

	body header#header{
		padding-right: 5vw;
        display: flex;
        justify-content: space-between;
        padding-left: 5vw;
        position: absolute;
        width: 100%;
		background-color: rgb(255 255 255 / 40%);	
		z-index: 1;	
	}

	header#header .logo{
		padding: 0;
	}

	header#header .menus > nav{
		overflow: auto;
	}

	header#header .menus{
		z-index: 1;
	}

	header#header .menus{
		width: 25%;
		min-width: 200px;
        display: flex;
        flex-direction: column-reverse;		
	}

	header#header .secmenu .menu a {
        background-color: black;
        height: 100%;
        display: flex;
        font-size: 16px;
        align-items: center;
        padding: 10px 30px;
        margin: 0;
        justify-content: center;
        padding: 25px 15px;
    }

	header#header .menus > .secmenu {

        background-color: var(--color1);
        padding-top: 0;
    }

    header#header .secmenu ul.menu li {
        width: 100%;
        text-align: center;
    }	

	header#header .social img{
		filter: invert(1);
	}

	header#header .socials{
		width: 100%;
	}

	header#header.menu .menus{
		display: flex;
    	flex-direction: column-reverse;
	}
}