/*
 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.52
*/

/* CONFIGURATION INITIALE */
html, body{
	height: 100%;
}
:root {
  --calendarboxpadding: 10px 20px;
  --calendarboxbigfont: 20px;
}
body{
	display: grid;
	grid-template-columns: 500px minmax( 50%, 1fr);
	grid-template-rows: 95px 95px 1fr
}
body.page-template-template-calendar-completed{
    display: block;
}
header{
	grid-row: 1 / span 2;
}
main{
	grid-row: 2 / span 2;
}
*{
	font-family: var(--main-font);
}
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 20px 0;
}
h1 {
	font-size: calc(15px + 2.2vw);
	color: var(--color2);
	font-weight: 400;
	text-transform: uppercase;
	margin-bottom: 20px;
}
h2 {
	font-size: calc(14px + 1.7vw);
    font-weight: normal;
	text-transform: uppercase;	
}
h3 {
	font-size: calc(12px + 1.2vw);
	color: var(--color3);
    font-weight: 600;
}
h4 {
	font-size: calc(12px + 1.3vw);
	color: var(--color1);
    font-weight: 800;
}
h5 {
	color: var(--color2);
	font-size: calc(10px + 0.3vw);
	font-weight: bold;
}
p{
	color: var(--color2);
	font-size: calc(10px + 0.3vw);
	margin-top: 0;
	font-weight: 300;
}
.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: 17px;
	}

}

@media screen and (min-width:1300px){
	p{
		font-size: 16px;
	}
}

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

.b1, .woocommerce a.button.add_to_cart_button, .woocommerce a.added_to_cart{
	background-color: var(--color1);
    color: white;
    padding: 8px 16px;
	font-weight: bold;
	text-transform: uppercase;
	display: inline-block;
    font-size: 75%;
	border-radius:10px;
	margin: 0 5px 5px 0;
}
.b2, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button{
	background-color: var(--color3);
    color: white;
    padding: 8px 16px;
	font-weight: bold;
	text-transform: uppercase;
	display: inline-block;
    font-size: 75%;
	border-radius:10px;
	margin: 0 5px 5px 0;
}
.b3, input[type="submit"]{
	border:none;
	background-color: var(--color1);
	color:var(--blanc);
	display: inline-block;
    padding: 15px 25px;
	font-weight: 600;
    font-size: 110%;
}
.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 */
header#header{
	padding: 0;
	display: block;
	position: relative;
	z-index: 5;
}
header .logo{
	background-color: var(--color2);
	padding: 4vh 4vw;
	position: relative;
	height: 100%;
}
header#header .logo a{
	text-align: center;
}
header .logo img{
	width: 100%;
	max-width:100%;
}
header .logo::after{
	content:"";
	display: block;
	position: absolute;
	top: 100%;
	width: 100%;
	height: 75px;
	left: 0;
	background-color: var(--color2);
	background: linear-gradient(to top left, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, #000 50%, #000 100%);
}
sidebar{
	height: 100%;
	display: block;
	background-color: var(--color1);
	grid-row: 3;
	padding: 10vh 20px;
	overflow-y: scroll;
	text-align: center;
}
sidebar h2, sidebar h3, sidebar h1, sidebar p{
	color:white;
}
sidebar label[for="user_login"]{
	display: none;
}
sidebar label[for="user_pass"]{
	display: none;
}
sidebar input[type="text"], sidebar input[type="password"]{
	font-size:100%;
	padding: 10px 0 0 0;
	width: 100%;
	background-color: transparent;
	border: none;
	border-bottom:1px solid white;
	color:white;
}
sidebar input[type="checkbox"]{
	accent-color:var(--color3);
}
input#user_login::placeholder, input#user_pass::placeholder{
	color: white;
}
sidebar input[type="submit"]{
	background-color: var(--color3);
	color:white;
	border:none;
	font-size:90%;
	text-transform: uppercase;
	font-weight: 600;
	border-radius:8px;
	padding: 8px 14px;
}
.login-remember label{
	color:white;
}
i:empty{
	display: inline-block;
	width: 28px;
	height: 28px;
	background-size: contain;
    flex-grow: 0;
}
i.new{
	background-image: url(img/svg/new.svg);
	justify-self: flex-end;
	flex-grow: unset;
}
i.cal{
    position: relative;
    width: 19px;
    height: 19px;
    min-width: 19px;
}
i.cal::after{
	content: "\f508";
	display: block;
	font-family: "dashicons";
	position: absolute;
	left: 50%;
	top: 50%;
	font-size: 110%;
	transform: translate(-50%, -50%);
	font-style: normal;
	color:#000;
}
i.emails::after{
	content: "\f466";
	display: block;
	font-family: "dashicons";
	position: absolute;
	left: 50%;
	top: 50%;
	font-size: 200%;
	transform: translate(-50%, -50%);
	font-style: normal;
	color:#fff;
}
i.urgent{
	background-image: url(img/svg/warn.svg);
	min-width:28px;
	filter: brightness(0) saturate(100%) invert(11%) sepia(84%) saturate(5721%) hue-rotate(358deg) brightness(118%) contrast(112%);
}
i.normal{
	background-image: url(img/svg/warn.svg);
	min-width:28px;
	filter: brightness(0) saturate(100%) invert(60%) sepia(52%) saturate(488%) hue-rotate(44deg) brightness(106%) contrast(92%);
}
i.grayed{
	background-image: url(img/svg/warn.svg);
	min-width:28px;
	background-size: contain;
	opacity:0.4;
}
i.client{
	background-image: url(img/svg/client.svg);
	min-width:28px;
	background-size: contain;
}
i.equipe{
	background-image: url(img/svg/equipe.svg);
	min-width:28px;
	background-size: contain;
}
i.tooltip{
	position: relative;
}
i.tooltip::after{
	content: "\f502";
	display: block;
	font-family: "dashicons";
	width: 15px;
	height: 15px;
	font-style: normal;
	color:#c9c9c9;
}
i.tooltip:hover .popuptooltip{
	opacity:1;
}
.popuptooltip{
	pointer-events: none;
	opacity: 0;
	position: absolute;
	top: 100%;
	right: 100%;
	width: 240px;
	background-color: #f5f5f5;
	transition: opacity 0.4s ease-in;
	padding: 10px;
	border-right:1px solid var(--color2);
	border-bottom:1px solid var(--color2);
}
.popuptooltip span{
	display: block;
	font-style: normal;
	font-size: 90%;
	margin-bottom: 5px;
}
div.warn{
	background-color: red;
	padding: 20px;
	position: absolute;
	right: 0;
	bottom: 0;
	color:white;
}
div.warn:before{
	font-family: "dashicons";
	font-size: 20px;
	font-weight:bold;
	display: inline-block;
	margin-right: 10px;
	content: "\f14c";
	vertical-align: middle;
}
.commentfield{
	width: 100%;
	margin: 10px 0;
}
.commentfield textarea{
	width: 100%;
	padding: 10px;
}
@media screen and (max-width:768px){
	body, html {
		display: block;
		height: auto;
	}
	header#header .logo{
		padding: 4vh 4vw;
	}
	p {
		font-size:16px;
	}
	header .logo::after{
		height: 0;
	}
	header#header .ham-icon{
		display: none;
	}
	sidebar{
		padding: 40px 20px;
	}
}
main.loginpage{
display: none;
}
