/*
Theme Name: Hexapac
Theme URI: http://stal.mikado-themes.com
Description: Theme enfant conçu pour Hexapac.
Author: Mentalworks
Author URI: https://www.mentalworks.fr
Version: 1.0.0
Text Domain: stal
Template: stal
*/

/* PAGE PRODUIT UNIQUE */
.single-product .contact .qodef-button.qodef-layout--splitted {
	border: none !important;
}

.single-product .contact .qodef-button.qodef-layout--splitted:hover {
	border: none !important;
}

.single-product .product_meta .product_terms {
	display: block !important;
}

.single-product .product_meta .product_terms p {
	color: #000;
	font-weight: 400;
	font-size: 12px;
	line-height: 25px;
}

.single-product .product_meta .product_terms p span {
	font-size: 20px;
}

.single-product .product_meta .product_terms p a {
	text-transform: uppercase;
}

.single-product .contact {
	width: 100vw;
	position: relative;
	margin-left: -50vw;
	left: 50%;
	background-color: #D9000D;
	margin-top: 85px;
}

.single-product .contact,
.single-product .contact h3 {
	color: #fff;
}

.single-product .contact .qodef-content-grid {
	display: flex;
	justify-content: center;
	align-items: center;
}

.single-product .contact .qodef-content-grid div {
	width: 100%;
}

.single-product .contact .qodef-content-grid div.description {
	padding-right: 60px;
}

.single-product .contact .qodef-content-grid div.description h3 {
	font-size: 40px;
}

.single-product .contact .qodef-content-grid div.description p {
	font-size: 20px;
	font-weight: 300;
}

.single-product .contact .qodef-content-grid div.formulaire { 
	position: relative;
	color: #000;
	margin: 60px 0;
    z-index: 2;
}
.single-product .contact .qodef-content-grid div:nth-child(2) {
	position: relative;
	z-index: 2;
}
.single-product .contact .qodef-content-grid div.formulaire #gform_wrapper_1 {
	padding: 60px 0 60px 60px;
	margin: 0 !important;
}

.single-product .contact .qodef-content-grid div.bg {
	width: 100vw;
    top: 0;
    position: absolute;
    bottom: 0;
    background-color: #fff;
}

.single-product .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image a {
	height: 120px !important;
	display: flex !important;
    justify-content: center;
    align-items: center;
}

.single-product .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image img {
	height: 100% !important;
	width: auto !important;
}

#qodef-woo-page.qodef--single .woocommerce-product-gallery figure>.qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image {
	box-shadow: 0 3px 10px rgba(0,0,0,.1);
	width: calc(33% - 18px);
	margin: 16px 10px 0;
	padding: 20px;
}

#qodef-woo-page.qodef--single .woocommerce-product-gallery figure>.woocommerce-product-gallery__image {
	box-shadow: 0 3px 10px rgba(0,0,0,.1);
	padding: 20px;
}

/* GRAVITY FORMS */
.gform_wrapper li.hidden_label input,
body .gform_wrapper ul li.gfield {
	margin-top: 0 !important;
}

::placeholder {
	color: #000 !important;
}

.gfield_select{
	position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    margin: 0 0 35px;
    padding: 8px 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #dcdcdc;
    border-radius: 0;
    outline: 0;
    cursor: text;
    transition: color .2s ease-out,background-color .2s ease-out,border-color .2s ease-out;
}

/* PAGE CATALOGUE PRODUITS */
.post-type-archive-product #qodef-woo-page,
.tax-product_cat #qodef-woo-page,
.tax-product_tag #qodef-woo-page{
	float: right !important;
}

ul.product-categories li {
	font-weight: 400;
}

ul.products li.product .qodef-woo-product-categories:not(.product-types.product-applications) {
	display: none;
}

ul.products li.product .qodef-woo-product-categories.product-types.product-applications {
	line-height: 18px;
	margin-bottom: 10px;
}


.tax-application #qodef-page-inner,
.tax-type #qodef-page-inner,
.tax-emballage #qodef-page-inner,
.tax-marque #qodef-page-inner,
.single-post #qodef-page-content > .qodef-grid-inner {
	display: flex;
    flex-direction: row-reverse;
}

.tax-application #qodef-page-content,
.tax-type #qodef-page-content,
.tax-emballage #qodef-page-content,
.tax-marque #qodef-page-content,
.single-post .qodef-page-content-section {
	width: 75%;
}

.tax-application #qodef-page-content,
.tax-application #qodef-page-sidebar,
.tax-type #qodef-page-content,
.tax-type #qodef-page-sidebar,
.tax-emballage #qodef-page-content,
.tax-emballage #qodef-page-sidebar,
.tax-marque #qodef-page-content,
.tax-marque #qodef-page-sidebar,
.single-post .qodef-page-content-section,
.single-post .qodef-page-sidebar-section {
    padding: 0 15px;
    margin: 0 0 30px;	
}

.tax-application #qodef-page-sidebar,
.tax-type #qodef-page-sidebar,
.tax-emballage #qodef-page-sidebar,
.tax-marque #qodef-page-sidebar,
.single-post .qodef-page-sidebar-section {
	width: 25%;
}

.woocommerce-ordering {
	display: none !important;
}

/* PAGE D'ACCUEIL */
.page-id-5332 .contact {
	width: 100vw;
	position: relative;
	margin-left: -50vw;
	left: 50%;
	background-color: #005397;
	margin-top: 85px;
}

.page-id-5332 .contact,
.page-id-5332 .contact h3 {
	color: #fff;
}

.page-id-5332 .contact .qodef-content-grid {
	display: flex;
	justify-content: center;
	align-items: center;
}

.page-id-5332 .contact .qodef-content-grid div {
	width: 100%;
}

.page-id-5332 .contact .qodef-content-grid div.description {
	padding-right: 60px;
}

.page-id-5332 .contact .qodef-content-grid div.description h3 {
	font-size: 40px;
}

.page-id-5332 .contact .qodef-content-grid div.description p {
	font-size: 20px;
	font-weight: 300;
}

.page-id-5332 .contact .qodef-content-grid div.formulaire { 
	position: relative;
	color: #000;
	margin: 60px 0;
    z-index: 2;
}
.page-id-5332 .contact .qodef-content-grid div:nth-child(2) {
	position: relative;
	z-index: 2;
}
.page-id-5332 .contact .qodef-content-grid div.formulaire #gform_wrapper_1 {
	padding: 60px 0 60px 60px;
	margin: 0 !important;
}

.page-id-5332 .contact .qodef-content-grid div.bg {
	width: 100vw;
    top: 0;
    position: absolute;
    bottom: 0;
    background-color: #fff;
}

.page-id-5332 .contact #gform_submit_button_1 {
	background-color: #43AFE8;
}

.page-id-5332 .contact #gform_submit_button_1:hover {
	background-color: #101010;
} 

.page-id-5332 .contact input[type=text]:focus,
.page-id-5332 .contact textarea:focus{
	border-color: #43AFE8;
}

.page-id-5332 .contact .qodef-button.qodef-layout--splitted {
	background-color: #43AFE8;
	border: none !important;
}

.page-id-5332 .contact .qodef-button.qodef-layout--splitted:hover {
	border: none !important;
}

/* RESPONSIVE */
@media screen and (max-width: 1024px) {
	/* PAGE PRODUIT UNIQUE */
	.single-product .contact .qodef-content-grid {
		flex-direction: column;
	}
	.single-product .contact .qodef-content-grid div.description {
		padding-right: 0px;
	}

	/* PAGE CATALOGUE */
	.tax-application #qodef-page-inner,
	.tax-type #qodef-page-inner,
	.tax-emballage #qodef-page-inner,
	.tax-marque #qodef-page-inner,
	.single-post #qodef-page-content > .qodef-grid-inner {
		flex-direction: column;
	}

	.tax-application #qodef-page-content,
	.tax-application #qodef-page-sidebar,
	.tax-type #qodef-page-content,
	.tax-type #qodef-page-sidebar,
	.tax-emballage #qodef-page-content,
	.tax-emballage #qodef-page-sidebar,
	.tax-marque #qodef-page-content,
	.tax-marque #qodef-page-sidebar,
	.single-post .qodef-page-content-section,
	.single-post .qodef-page-sidebar-section {
		width: 100%;
	}
}