/*
Theme Name: RAR Étanchéité
Author: 16h33
Author URI: https://www.16h33.fr
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

input, textarea, select, .seldiv, .select2-choice, .select2-selection--single {
	max-width: 100%;
	padding:5px;
}

textarea {
    width: 313px;
}

form.wpcf7-form p{
	line-height:0.75;
}

.tmb-carousel .t-entry-text {
	position: relative;
	z-index: 10;
	max-width: 400px;
	padding: 30px 50px;
	background-color: white;
}

.tmb-carousel .t-entry-text-tc {
	padding: 0 !important;
}

.tmb-carousel .t-entry-text .t-entry-title {
	color: #EA5B0C !important;
}

.tmb-carousel .t-entry-text hr {
	background-color: black !important;
}

.tmb-carousel .t-entry-text .t-entry-meta,
.tmb-carousel .t-entry-text .t-entry-meta span {
	color: black !important;
}

p.t-entry-excerpt {
    color: black !important;
    font-weight: 600;
    font-size: 12px;
}

.sgpb-popup-dialog-main-div-theme-wrapper-1 {
	max-width: 100%;
}

#sgpb-popup-dialog-main-div {
	max-height: 90vh !important;
	width: 450px !important;
	max-width: 90% !important;
}

#sgpb-popup-dialog-main-div input,
#sgpb-popup-dialog-main-div textarea {
	width: 100%;
}

.sgpb-theme-1-content {
	border-bottom: 0 !important;
}

.bordureimage .tmb .t-inside .t-entry-visual {
    border: 12px solid #444444 !important;
}

.aligneragauche{
	padding-left:0 !important;
}

@media (min-width: 993px) {
	.tmb-carousel .t-entry-text {
		transform: translateY(-130px);
	}
	
	.tmb-dark.tmb .t-entry-visual *:not(.add_to_cart_text):not(.view-cart),
	.tmb-dark.tmb .t-entry-visual a:not(.add_to_cart_text):not(.view-cart) {
		padding-left: 15px;
	}
	
	.owl-carousel-container.single-gutter .owl-prev,
	.owl-carousel-container.single-gutter .owl-next {
		transform: translateY(-80px);
	}
	
	.grey-block-bg > div > .row-inner {
    	position: relative;
	}

	.grey-block-bg > div > .row-inner:before {
		content: '';
		position: absolute;
		top: 60px;
		left: 25%;
		width: 50%;
		height: 100%;
		background-color: #383838;
	}
	
		.job-domain .column_child .uncode-single-media-wrapper {
		position: relative;
		background-color: #383838
	}

	.job-domain .t-entry-visual {
		overflow: visible;
	}

	.job-domain .column_child .uncode-single-media-wrapper img {
		transform: translate(40px, -40px);
		transition: transform 0.3s ease, outline 0.3s ease;
	}

	
	.job-domain .wpb_column:hover .text-lead p {
    	color: #EA5B0C;
	}


	.job-domain .wpb_column:hover .uncode-single-media-wrapper img {
		outline: 5px solid #EA5B0C;
		transform: translate(0, 0);
	}

	a.single-media-link:before {
		content: 'Voir ce domaine →';
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: -40px;
		left: 40px;
		z-index: 100;
		width: 100%;
		height: 100%;
		color: white;
		background: rgba(0, 0, 0, 0.6);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease, top 0.3s ease, left 0.3s ease;
		font-size: 15px;
	}

	.job-domain .wpb_column:hover a.single-media-link:before {
		top: 0;
		left: 0;
		opacity: 1;
	}

	.job-domain .uncode_text_column {
		position: absolute;
		bottom: 0;
		left: -40px;
		transform-origin: top left;
		transform: translateY(100%) rotate(-90deg);
	}
}

@media (max-width: 959px) {
	#sgpb-popup-dialog-main-div {
		padding: 0 15px;
	}
}
.btn.btn-sm{
	padding: 10px 30px !important;
}
.menu-item-button .sg-popup-id-610{
	background: #ea5b0c;
    padding: 10px 30px !important;
    border: none;
    letter-spacing: 0 !important;
    font-weight: 500 !important;
}
.menu-item-object-popupbuilder span{
	font-weight: 500 !important;
}
.menu-item-button .sg-popup-id-610:hover{
	background: white;
	color: #EA5B0C
}
@media (min-width: 960px){
	.sgpb-popup-close-button-3{
	    top: 20px !important;
    	right: 65px !important;
    	width: 21px !important;
    	height: 21px !important;
	}	
}

.paginationWrapper {
    color: black;
    font-size: 20px;
}


#sgpb-popup-dialog-main-div textarea {
    height: 100px;
}
.uncoltable .vc_custom_heading_wrap a:before {content: "";display: inline-block;width: 20px;height: 18px;background-image: url("https://q53llapjsu.preview.infomaniak.website/wp-content/uploads/2022/01/long-arrow-down-solid-w.svg");background-repeat: no-repeat;transform: rotate(-45deg);background-size: contain;}

.style-light .link, .style-dark .style-light .link, .style-light a, .style-dark .style-light a, .style-light input[type=checkbox]:checked:before, .style-dark .style-light input[type=checkbox]:checked:before {
    color: #ea5b0c;
}

.wpcf7 input,
.wpcf7 textarea{
	width: 100%;
}


/* -------------- RECETTAGE APRÈS DUPLICATION SITE -------------- */



@media (max-width: 959px){
  #logo-container-mobile > .mmb-container{
	right: initial;
    left: 0px;
  }
  
  #logo-container-mobile #main-logo{
	  margin: 0 0 0 auto;
  }
  
  #logo-container-mobile{
	  display: flex;
  }
	#menu-menu-principal a{
		font-size: 18px !important;
	}
	.btn-container .custom-link.btn{
		font-size: 16px !important;
	}
	.wpcf7 input[type="submit"]{
		padding: 10px 10px !important;
		font-size: 14px;
	}
	#gmap_canvas,
	.gmap_canvas iframe{
		max-width: 100%;
	}
	.bordureimage .vc_row{
		margin-top: 0px !important;
	}
}
