/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

:root {
	text-transform: uppercase;
}

html body #fl-main-content{
	background-color: #fefef7;
}

html body::-webkit-scrollbar {
    width: 0 !important;
}

/* main menu */
html body .menu {
	width: 100%;
}

html body .menu .fa-leaf {
	font-size: 9px;
}

html body .menu .menu-item {
	text-align: center;
	width: 10%;
	margin: 0 1%;
}

html body .menu .menu-item a {
	padding: 10px 0px;
	text-transform: uppercase;
	font-size: 1.2rem;
}

html body .menu .en_button {
	border-left: solid 1px black;
	width: 8%;
}

html body .menu .menu-item:hover {
	background-color: #faf7ef;
}

html body .menu .current-menu-item, html body .menu .current_page_parent {
	border: solid 1px black !important;
}

html body .menu .current-menu-item > a:hover, html body .menu .current_page_parent > a:hover {
	background-color: transparent;
}

.sub-menu-custom {
	display:none;
}

/* categories menu */ 
#menu-scroll{
	float:left;
	width:79%
}
#icone-left-menu{
	float:left;
	width:21%
}

#icone-left-menu .menu-scroll-colonne-1 {
	width: 100%;
	text-align:center;
	padding-right:60px;

}
#icone-left-menu .menu-scroll-colonne-1 img {
	max-width: 100px !important;
}

#menu-scroll .menu-scroll-colonne {
	float: left;
	width: 20%;
}

#menu-scroll .menu-scroll-colonne:first-child {
	padding: 0;
}

#menu-scroll .menu-scroll-colonne li {
	list-style: none;
	font-size: 1rem;
	line-height: 3rem;
}

#menu-scroll .menu-scroll-colonne li a {
	color: #bbbbbb;
	position: relative;
	font-size:11px;
}

#menu-scroll .menu-scroll-colonne li a .menu_count {
	color: #777;
	font-size: 9px;
	position: absolute;
	top: -12px;
	right: -20px;
}

#menu-scroll .menu-scroll-colonne li a:hover .menu_count {
	opacity: 1;
}

#menu-scroll .menu-scroll-colonne li a:hover {
	font-weight: 400;
	color:black;
	text-decoration: none;
}

#menu-scroll .menu_matieres {
	color:#8c934f;
	font-weight: bold;
}

#menu-scroll .menu_matieres:hover {
	font-weight: bolder;
}

#menu-scroll .menu_count {
	opacity: 0;
	transition: 0.5s;
}

#menu-scroll .menu_count_display {
   opacity: 1 !important;
}

/* lang in nav */
html body .menu .wpml-ls-menu-item {
	text-transform: uppercase;
	visibility: hidden;
}

html body .menu .wpml-ls-current-language {
	display: none !important;
}

/* page content */
.page-side {
	margin-left: 30px;
	margin-right: 40px;
}

.page-side-title {
	color: #a0a0a0;
	text-transform: uppercase;
	font-size: 1.3rem;
	font-weight: 100;
	letter-spacing: 0.3rem;
	margin-bottom: 2.3rem;
}
    
.page-side-content {
	font-weight: 100;
	font-size: 1rem;
	line-height: 1.8rem;
	letter-spacing: 0.1rem;
}

/* borders */
.black-border-top-bottom {
	border-top: 2px solid black;
	border-bottom: 2px solid black;
}

.black-border-all {
	border: 2px solid black;
}

/* image module */
.img-back {
/* 	height: 600px; */
	width: 100%;
/*
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
*/
}

/* image module */
.img-back-1 {
	height: 600px; */
	width: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.img-phylantropy {
	width: 60%;
	margin: auto;
	padding: 50px 0;
}

/* video module */
.vid-container {
	overflow: hidden;
/* 	height: 600px; */
	height: auto;
	width: 100%;
	background-color: black;
	text-align: center;
}

.vid {
/*
	width: auto;
	height: 100%;
*/
	width: 100%;
	height: auto;
}

@media screen and (min-width: 740px) and (max-width: 839px) { .vid { min-height: 190px;} }
@media screen and (min-width: 840px) and (max-width: 939px) { .vid { min-height: 220px;} }
@media screen and (min-width: 940px) and (max-width: 1039px) { .vid { min-height: 250px;} }
@media screen and (min-width: 1040px) and (max-width: 1139px) { .vid { min-height: 280px;} }
@media screen and (min-width: 1140px) and (max-width: 1239px) { .vid { min-height: 310px;} }
@media screen and (min-width: 1240px) and (max-width: 1339px) { .vid { min-height: 340px;} }
@media screen and (min-width: 1340px) and (max-width: 1439px) { .vid { min-height: 370px;} }
@media screen and (min-width: 1440px) and (max-width: 1539px) { .vid { min-height: 400px;} }
@media screen and (min-width: 1540px) and (max-width: 1639px) { .vid { min-height: 430px;} }
@media screen and (min-width: 1640px) and (max-width: 1739px) { .vid { min-height: 460px;} }
@media screen and (min-width: 1740px) and (max-width: 1839px) { .vid { min-height: 490px;} }
@media screen and (min-width: 1840px) and (max-width: 1939px) { .vid { min-height: 520px;} }
@media screen and (min-width: 1940px) and (max-width: 2039px) { .vid { min-height: 550px;} }

/* video module */
.vid-container-1 {
	overflow: hidden;
	height: 600px;
	width: 100%;
	background-color: black;
	text-align: center;
}

.vid-1 {
	width: auto;
	height: 100%;
}

video{
	vertical-align: middle;
}

@media screen and (min-width: 1960px) {
	.vid {
		width: 100%;
		height: auto;
	}
	.vid-1 {
		width: 100%;
		height: auto;
	}
}

/* contact page */
.contact-name {
	font-size: 1.5rem;
	margin-bottom: 1.6rem;
}

.contact-info {
	display: block;
	
	margin-bottom: 1rem;
	
	font-weight: 100;
	font-size: 1.2rem;
	color: black;
	letter-spacing:0.1rem;
}

.contact-info:hover,
.contact-info:active,
.contact-info:visited{
	text-decoration: none;
	color: black;
}

.contact-info :first-child {
	margin-right: 1.4rem;
}

/* footer styles */
.footer-title {
	font-family: 'Fjalla One', 'Martel', serif;
	font-size: 2.2rem;
	margin-top: 0;
	margin-bottom: 2.5rem;
	margin-right: 40%;
	text-align: left;
}

.footer-text {
	font-size: 1rem;
	line-height: 1.8rem;
	margin-bottom: 1.5rem;
}

.footer-text ul {
	list-style: none;
	padding: 0;
}

.footer-text li {
	font-size: 1rem;
	line-height: 1.8rem;
}

.footer-text li::before {
	content: '–';
	margin-right: 1rem;
}

.footer-text-2 {
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
	text-decoration:none;
	font-style:italic;
	letter-spacing: 0.02rem;
}

.footer-text-2 a {
	color:black;
}

/* product and modal */
.showroom-product-image {
	height: 465px;
	
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.blocker {
	z-index: 2000 !important;
	height: 110% !important;
}
.blocker:before{
	margin-right: 0 !important;
}

.showroom-product-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.modal {
	max-width: 800px !important;
	-webkit-border-radius: 0px !important;
	-moz-border-radius: 0px !important;
	-o-border-radius: 0px !important;
	-ms-border-radius: 0px !important;
	border-radius: 0px !important;
	-webkit-box-shadow: 0 0 10px #999 !important;
	-moz-box-shadow: 0 0 10px #999 !important;
	-o-box-shadow: 0 0 10px #999 !important;
	-ms-box-shadow: 0 0 10px #999 !important;
	box-shadow: 0 0 10px #999 !important;
	padding-top:30px !important;
	background-color: #fefef7 !important;
}

.modal-left {
	float: left;
	object-fit: cover;
	/*width: 65%;
	height: 465px;*/
	width:100%;
	height: 640px;
	object-position: 0 -100px;
}

.modal i {
	color:black !important;
}

.modal-right {
	float: left;
	padding-top: 20px;
	/*width:30%;
	width:100%;
	text-align:center;
	margin-left:5%;*/
	display:none;
}
/*.modal-right>p, .modal-right>hr{
	display:none !important;
}*/

.modal a.close-modal {
	top: 0 !important;
	right: 10px !important;
	background-image: url('/wp-content/uploads/2020/02/croix.png') !important;
}

.blocker {
	background-color: rgba(0,0,0,0.35) !important;
}

.page-404 {
	height: 80vh;
	width: 100%;

	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.fl-post-grid-empty p{
	text-align: center;
	padding: 100px 0 200px 0;
}

/* tablets */
@media screen and (max-width: 1300px) {
	html body .menu .menu-item > a .display_none_mob {
		display: none;
	}

	html body .menu #menu-item-wpml-ls-2-fr {
		border-right: none;
	}
}

@media screen and (max-width: 924px) {
	html body .menu .menu-item a{
		font-size: 1rem;
	}
}

/* phones */
@media screen and (max-width: 768px) {
	
	html body nav>.menu>.menu-item:first-child a{
		padding: 20px 28px;
	}
	
	html body .fl-has-submenu-container>a::before{
		content: "+";
		margin-right: 10px;
		font-weight: bold;
	}
	.modal-left {
		margin-top: 20px;
		height: 300px;
	}
	
	.blocker {
		padding: 0 !important;
	}

	.img-logo-header img{
		max-width: 200px;
	}

	html body .menu .menu-item > a .display_none_mob {
		display: inline-block;
	}
	
	/* product and modal */
	.modal-left {
		width:100%;
	}

	.modal-right {
		width:100%;
		margin-left: 0;
	}
	.modal-right .chevron_right{
		float: right;
	}
	
	.modal{
		width: 97% !important;
	}
	
	/* main menu */
	html body .menu {
		background-color: #fefef7;
		border-top: 1px solid black;

		min-height: 100vh;

		position: absolute;
		left: 0 !important;
		right: 0 !important;
		top: 110px !important;

		z-index: 1500;
	}
	
	html body .menu .menu-item {
		width: 100%;
		margin: 0;
		border-bottom: 1px solid black;
		text-align: left;
	}

	html body .menu .menu-item:first-child {
		border-top: none !important;
	}
	
	html body .menu .current-menu-item {
		border-top: none !important;
		border-left: 5px solid black !important;
		border-right: 5px solid black !important;
	}
	
	html body .menu .menu-item a {
		padding: 20px 50px;
	}
	.sub-menu {
		border-top: 1px solid black;
	}
	
	.sub-menu a {
		margin-left: 20px;
	}
	
	.sub-menu-custom {
		display:block;
	}
	
	/* page content */
	.page-side {
		margin-left: 5px;
		margin-right: 5px;
	}
	
	.page-side-title {
		font-size: 2.6rem;
		font-weight: 400;
	}
		
	.page-side-content {
		font-weight: 400;
	}
	
	/* image module */
	.img-back {
/* 		height: 400px; */
	}
	.img-back-1 {
		height: 400px;
	}

	/* video module */
	.vid-container {
/* 		height: 400px; */
	}
	/* video module */
	.vid-container-1 {
		height: 400px;
	}

}