/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/*
Theme Name: Stal Child
Theme URI: http://stal.mikado-themes.com
Description: A child theme of Stal
Author: Mikado Themes
Author URI: http://themeforest.net/user/mikado-themes
Version: 1.0.0
Text Domain: stal
Template: stal
*/


a.custom-link{
	position: relative;
	color: #bf2f35;
}

a.custom-link:hover {
	color: #bf2f35;
	text-decoration: none;
}
a.custom-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    top: auto;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: 0 0;
    transition: .3s cubic-bezier(.785,.135,.15,.86);
	color: #bf2f35;
}
a.custom-link:hover::before {
    width: 100%;
    transform: scaleX(1);
	color: #bf2f35;
}

#qodef-page-outer {
	margin-top: 80px;
}

@media only screen and (max-width:1400px) {
	 #qodef-page-outer,
	 .qodef-header--vertical #qodef-page-outer{
		margin-top: 0;
	}
	
	.qodef-header--vertical #qodef-page-footer,
	.qodef-header--vertical #qodef-page-outer{
		padding-left: 0!important;
	}
}

/**************************************/
/*************** HEADER ***************/

#qodef-page-header{
	position: fixed;
	border-bottom: 1px solid #23282d!important;
	margin-top: 0!important;
}

#qodef-page-header .qodef-header-logo-link img.qodef-header-logo-image.qodef--main{
	opacity: 1;
}
#qodef-page-header .qodef-header-logo-link.qodef-height--not-set img {
    width: auto;
}

#qodef-page-footer-top-area #qodef-page-footer-top-area-inner {
	padding:70 0 70px;
	border-top:0 solid #e1e1e1;
}


/************************************/
/*************** MENU ***************/
#qodef-mobile-header-navigation ul li ul {
    background: #333;
    padding: 4px 0px 7px 15px;
    border-radius: 3px;
}
#qodef-mobile-header-navigation ul li:hover > a {
    text-decoration: none;
}
#qodef-mobile-header-navigation ul.sub-menu li > a {
    text-decoration: none;
}
#qodef-mobile-header-navigation ul.sub-menu li:not(.current-menu-parent):not(.current-menu-item) > a {
    color: #fff;
}

.qodef-header-navigation > ul > li.current-menu-ancestor > a .qodef-menu-item-inner::before,
.qodef-header-navigation > ul > li.current-menu-item > a .qodef-menu-item-inner::before {
    width: 100%;
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

@media only screen and (max-width:1400px) {
	#qodef-page-header {
		display:none;
	}
	#qodef-page-mobile-header {
		display:block;
	}
}


/*********************************************/
/*************** LISTE PRODUIT ***************/
.template_products_list .product_item{
	margin: 0 15px 50px 15px;
	padding: 10px;
	box-shadow: 0px 0px 4px #2d2c2c;
	border-radius: 8px;
}
.template_products_list .product_item:hover{
	box-shadow: 0px 0px 10px #6a6a6a;
	transition: all 0.5s ease-out;
}
.template_products_list .product_item h4{
	font-size: 1.3rem;
	font-weight: 600;
}
.template_products_list .product_item img{
	max-width: 100%;
	max-height: 250px;
	margin-bottom: 15px;
}

.motorisation-type-somfy{
	background: url("/wp-content/uploads/2021/02/powered-by-somfy-small.jpg") no-repeat right top;
	background-size: 100px;
	padding-top: 55px;
}

/*********************************************/
/*************** FICHE PRODUIT ***************/
.template_product{
	margin-top: 40px;
}

.template_product .produit-image-mea img{
	max-height: 400px;
}
.template_product .produit-image-miniature .item{
	text-align: center;
}
.template_product .produit-image-miniature .item img{
	display: inline-block;
	max-width: 100%;
	width: auto;
	max-height: 150px;
	height: auto;
}

.template_product .produit-liste-normes img{
	max-height:100px;
	width:auto;
}

/********************************************/
/*************** NEXT GALLERY ***************/
.ngg-image-search-filter a.button,
.ngg-image-search-filter a.button:visited{
	padding: 5px 12px;
	background: none;
	border: 1px solid #000;
	border-radius: 5px;
	color: #000;
}
.ngg-image-search-filter a.button:hover,
.ngg-image-search-filter a.button:active,
.ngg-image-search-filter a.button:focus {
	transition: color .2s ease-in-out,background-color .2s ease-in-out,border-color .2s ease-in-out;
	background-color: #bf2f35;
	color: #fff;
}

