/*
Theme Name:     WEBLOFT
Theme URI: 		http://www.webloft.ca/
Description: Thème personnalisé pour le client. Habituellement développé à partir d'un PSD fournis par votre agence de communication. Pour plus d'informations, veuillez communiquer avec votre agence ou le support de Webloft au 514-945-3700 / support@webloft.ca
Author:         WEBLOFT // JFRanger, Maxime & Dominique
Theme URI: 		http://www.webloft.ca/
Template: astra
Version: 2.0.0
Text Domain: astra-child
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Add your custom CSS codes in assets/less/style.less */


/* COULEURS SITE
PRINCIPALES
bleu: 07338c 
vert: 07cc8c

Accueil + langue (gris) : a7a7a7
À propos + commercial : 07338c BLEU (remplace e9233f (rouge))
residentiel + contact : 07cc8c VERT (remplace ffa639 (jaune))
industriel : 76e02f VERT LIME (remplace 85114c (rose))
multiplex : 2b8ac8 BLEU PÂLE (remplace fd6b1f (orange))
relativisation : 1bc7b9 AQUA (remplace c7154c (bourgogne))

*/

/* FONCTIONS */
.cacher{ display:none !important;}
.show-mobile {display: none !important;}
.show-desktop {display: block !important;}

/* ELEMENTS */
.no-margin {margin:0!important;}
.no-padding {padding:0!important;}
.text-white p, .texte-blanc p {color:#ffffff!important;}
.mk-text-block ul {margin-bottom:30px;}
.image_holder, .nicepic, .vertical_area_background, .q_team_image > img, .home .wpb_single_image, .lightbox_single_portfolio  {
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	box-shadow: 0 0.125em 0.275em 0 rgba(0, 0, 0, 0.125);
}

.elementor-section-boxed > .elementor-container {
    width: 69.4% !important;
    max-width: none !important;
}
@media only screen and (max-width: 768px) {
  .elementor-section-boxed > .elementor-container {
    width: 100% !important;
    }
}


/* Header */
.logo_w,
.logo_b {
    max-width: 170px;
}

.sticky {
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.1);
}
.sticky .menu-principal a {
    color: #000 !important;
}
.sticky .menu-principal li:hover a,
.sticky .menu-principal li.current-menu-item a{
    color: #FFF !important;
}
.elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted):after, 
.elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted):before {
    opacity: 1 !important;
}
.menu-principal ul {
    height: 120px;
}
.menu-principal ul li {
    -moz-transition: .5s all cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: .5s all cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-transition: .5s all cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: .5s all cubic-bezier(0.645, 0.045, 0.355, 1);
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    height: 100% !important;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    position: relative;
}
.menu-principal ul li:hover a:before {
        background-color: #fff !important;
        width: 45px;
    }
.menu-principal ul li a {
    margin-top: 20px;
}

.menu-principal ul li a:before {
    content: "";
    position: absolute;
    left: 2%;
    bottom: -8px;
    height: 2px;
    width: 30px;
    -moz-transition: .5s all cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: .5s all cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-transition: .5s all cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: .5s all cubic-bezier(0.645, 0.045, 0.355, 1);
}

.menu-principal li:nth-child(1) a:before, /* Accueil */
.menu-principal li:nth-child(1):hover,
.menu-principal li:nth-child(1).current-menu-item,
#lang li:nth-child(1) a:before, /* English */
#lang li:nth-child(1):hover,
#lang li:nth-child(1).current-menu-item { 
    background-color: #a7a7a7 !important;
}
.menu-principal li:nth-child(2) a:before, /* A propos */
.menu-principal li:nth-child(2):hover,
.menu-principal li:nth-child(2).current-menu-item,
.elementor-widget-call-to-action:before {
    background-color: #07338c !important;
}
.menu-principal li:nth-child(3) a:before, /* Residentiel */
.menu-principal li:nth-child(3):hover,
.menu-principal li:nth-child(3).current-menu-item,
.menu-principal li:nth-child(8) a:before, /* Contact */
.menu-principal li:nth-child(8):hover,
.menu-principal li:nth-child(8).current-menu-item {
    background-color: #07cc8c !important;
}
.menu-principal li:nth-child(4) a:before, /* Commercial */
.menu-principal li:nth-child(4):hover,
.menu-principal li:nth-child(4).current-menu-item {
    background-color: #07338c !important;
}
.menu-principal li:nth-child(5) a:before, /* Industriel */
.menu-principal li:nth-child(5):hover,
.menu-principal li:nth-child(5).current-menu-item {
    background-color: #76e02f !important;
}
.menu-principal li:nth-child(6) a:before, /* Multi-plex */
.menu-principal li:nth-child(6):hover,
.menu-principal li:nth-child(6).current-menu-item {
    background-color: #2b8ac8 !important;
}
.menu-principal li:nth-child(7) a:before, /* Réalisations */
.menu-principal li:nth-child(7):hover,
.menu-principal li:nth-child(7).current-menu-item {
    background-color: #1bc7b9 !important;
}
.elementor-slide-heading,
.elementor-slide-description {
    text-shadow: 0px 0px 10px rgba(0,0,0,0.84);
}
.slick-slide-bg {
    background-attachment: fixed;
}

@media (max-width: 767px) {
	.slick-slide-bg {
		background-attachment: scroll;
	}
	.elementor-80 .elementor-element.elementor-element-29e46e8c > .elementor-widget-container {
		padding-top: 0 !important;
		padding-right: 20px !important;
	}
	.elementor-nav-menu--dropdown {
		background-color: transparent !important;
	}
	.elementor-nav-menu--dropdown a:hover, 
	.elementor-nav-menu--dropdown a.elementor-item-active, 
	.elementor-nav-menu--dropdown a.highlighted{
		background-color: transparent !important;
	}
	.menu-principal ul {
		height: fit-content;
	}
	.menu-principal ul li {
		width: 100%;
    	height: auto !important;
    	display: block !important;
		text-align: left !important;
		background-color: rgba(255,255,255,0.95);
	}
	.menu-principal ul li a{
		padding: 22px 20px !important;
		margin-top:0 !important;
	}
	.menu-principal ul li a:before {
    	bottom: 10px;
		left:20px;
	}
}	