﻿/*
Theme Name:     Tradiv
Description:    Tradiv de Benjamin
Author:         Benjamin de DevnCloud
Author URI:     https://dev-n-cloud.com
Template:       Divi                         
Version:        0.1.0
*/



/******************* MENU *******************/
#main-header.et-fixed-header #logo { height:70px;}

@media screen and (min-width: 1085px) and (max-width: 1561px) { #top-menu-nav { margin-right: 40px; }}
@media screen and (max-width: 1050px) { #top-menu li.menu-facebook { display:none !important; }}
@media screen and (min-width: 980px) and (max-width: 1260px) { .et_pb_column.et_pb_column_1_3.et_pb_column_2 { display: none; }}

.et_non_fixed_nav.et_transparent_nav.et_show_nav #page-container, .et_fixed_nav.et_show_nav #page-container {
    padding-top: 70px !important;
}

#logo {
	position: absolute;
    height: 100px;
	margin: 1em;
    max-height: 70px !important;
	transition: all 1s;
    top: -2px;
    z-index: 10000;
    max-width: none !important;
}

#logo:hover {
	transform: scale(1.1);
}

@media screen and (max-width: 980px){
	.et_header_style_left #logo, .et_header_style_split #logo {
	    max-height: 50px !important;
	}
	#et-main-area {overflow: hidden}
}
#main-header {
    height:80px;
    transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
}

#main-header .nav li ul a {
    transition: all .3s;
}

#main-header .nav li ul a:hover {
	opacity: 1;
    transition: all .3s;
    transform: scale(1.1);
    letter-spacing: 0;
}

#top-menu li a, .et_search_form_container input {
	font-weight: 500!important;
}

#top-menu li a:hover {
	opacity: 1 !important;
    transition: all .3s;
    letter-spacing: 1px;
}

#top-header > .container { max-width: 1600px; width:100%; }

#main-header > .container { max-width: 1600px; width:100%; background-color: #fff;  border-bottom: 4px solid #EB5D0B; }
@media screen and (max-width: 980px){ 
	#main-header > .container { height: 100%}
} 
#main-header.et-fixed-header{ height: 65px; }
#main-header.et-fixed-header:before{ height: 0px; }
#main-header.et-fixed-header .menu-iso-ext > a:before, #main-header.et-fixed-header .menu-iso-int > a:before, #main-header.et-fixed-header .menu-iso-combles > a:before, #main-header.et-fixed-header .menu-facade > a:before, #main-header.et-fixed-header .menu-deco > a:before { display:none; }


#et-top-navigation { margin-top:-19px; }

#et-secondary-menu>ul>li a { padding-bottom: 2px; }
#top-header .container { padding-top:6px; }
#top-header .et-social-icons { float:right; }


.mobile_menu_bar:before { margin: 1em; }
.et_mobile_menu { border-top:3px solid #ffffff; }
.et_header_style_left .mobile_menu_bar, .et_header_style_split .mobile_menu_bar { padding: 1em; }
#mobile_menu .menu-facebook { display: none !important; }

/*.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
	padding: 23px 0 0 0;
}
*/


img.home-img-enveloppe-contact {
    padding-top: 2px;
    margin-bottom: -4px;
    margin-right: 1px;
}
#home_section_bg .et_parallax_bg { z-index: 1; background-position-y: -250px; }

h1 > span.title-shadow-grey {
    position: absolute;
    top: -8px;
    left: 30%;
    font-size: 70px;
    color: #928b82;
    z-index: -1;
}
h1 > span.title-shadow-orange {
    position: absolute;
    top: -8px;
    left: -25%;
    font-size: 70px;
    color: #fb8c02;
    z-index: -1;
    white-space: nowrap;
}
h1 > span.title-shadow-black {
    position: absolute;
    top: -8px;
    left: 24%;
    font-size: 63px;
    color: #271e14;
    z-index: -1;
}
h1 > span.title-shadow-black-2 {
    position: absolute;
    top: -8px;
    left: -18%;
    font-size: 63px;
    color: #271e14;
    z-index: -1;
    white-space: nowrap;
}
h1 > span.title-shadow-black-3 {
    position: absolute;
    top: -8px;
    left: 14%;
    font-size: 63px;
    color: #271e14;
    z-index: -1;
    white-space: nowrap;
}
h1 > span.title-shadow-green {
    position: absolute;
    top: -8px;
    left: 30%;
    font-size: 70px;
    color: #95a801;
    z-index: -1;
}
span.greendot {
    color:#8ac240;
}

span.surlignage-orange {
    background-color: #EA7624;
    padding: 2px 0 2px 10px;
    display: block;
    width: 200%;
    text-transform: uppercase;
}

span.surlignage-orange a {
    text-transform: lowercase;
    color:#ffffff;
}

/************** SLIDER HOME **************/

.full-image-slider .et_pb_slide {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.full-image-slider .et_pb_container {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
}

.full-image-slider .et_pb_slide_image img {
    max-height: none !important;
    width: 100% !important;
}

.full-image-slider .et_pb_slide_image {
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    position: relative !important;
    width: 100% !important;
    display: block !important;
    -webkit-animation-name: fade !important;
    -moz-animation-name: fade !important;
    -ms-animation-name: fade !important;
    -o-animation-name: fade !important;
    animation-name: fade !important;
}

.full-image-slider .et_pb_slider_container_inner {
    position: relative;
}

.full-image-slider .et_pb_slide_description {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right:  0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}
.full-image-slider .et_pb_slide_description .et_pb_button_wrapper,
.full-image-slider .et_pb_slide_description .et_pb_button_wrapper a,
.full-image-slider .et_pb_slide_description .et_pb_button_wrapper a:hover {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    color: rgba(0, 0, 0, 0) !important;  
    border: none !important;
    background: none !important;
}

.full-image-slider .et-pb-controllers {
    right: 0;
    left: unset;
    width: 20%;
    text-align: center;
}

.full-image-slider .et_pb_slide_title {
    background-color: #005b81;
    width: 500px;
    padding: 15px;
    position: absolute;
    right: 10%;
    top: 50px;
    z-index: 10;
}
.full-image-slider .et_pb_slide_content {
    background-color: #ffffff;
    width: 500px;
    padding: 40px 15px 15px 15px;
    position: absolute;
    right: 10%;
    z-index: 9;
    top: 100px;
}
.et_pb_slide_0 .et_pb_slide_content {
    background-color:#e9edf0 !important;
    text-align: center;
    width: 400px !important;
    right: 5% !important;
}
.full-image-slider .et_pb_button_wrapper {
    display: none;

}
.home_slider_link {
    text-align: right;
}
.home_slider_link a {
    font-weight: bold;
    padding: 12px 18px;
    color:#ffffff;
    background-color:#006288;
    text-shadow: none !important;
}
.home_slider_link a:hover {
    color:#f26537;
    text-shadow: none !important;
}
@media screen and (min-width: 1036px) and (max-width: 1240px) { #home_picto_mr_tradinov_face{ left:0; } }
@media screen and (max-width: 1035px) { #home_picto_mr_tradinov_face{ display:none; } }
@media screen and (max-width: 1215px) { #home_picto_mr_tradinov_dos{ display:none; } }

#home_picto_mr_tradinov_face > span { background-size: contain !important; background-position: center !important; }
#home_picto_mr_tradinov_dos > span { background-size: contain !important; background-position: bottom !important; }
#signature-p-courtier > span { background-size: contain !important; background-position: center !important; }

.et_pb_contact_field_4 .et_pb_contact_message { min-height:110px !important; }


/************** home > blog **************/
body.home .et_pb_blog_0 .et_pb_post {
    min-height: 502px;
}

/************** footer **************/
#footer-widgets {
    padding-top:20px;
}
.footer-widget {
    margin-bottom:20px !important;
}
.footer-widget .title {
    color: #89ba36;
    font-weight: 600;
    text-transform: uppercase;
}
.footer-widget ul { line-height: 14px; } 
.et-search-form, .et_mobile_menu, .footer-widget li:before, .nav li ul, blockquote { border-color: #89ba36; }
#footer-widgets .footer-widget li:before { top:5px; }
#main-footer .footer-widget h4 {
	color: #eb5d0b !important;
}
#menu-footermenu li a:hover { color:#ea5b2e !important; }

/************** page categorielle **************/
.page_categorielle h1 { 
    display: block;
    width: 100%;
    background-color: #33a02d;
    padding: 15px;
}
.page_categorielle#isolation_ext h1 { background-color: #3aaa35; }
.page_categorielle#isolation_int h1 { background-color: #f18700; }
.page_categorielle#isolation_combles h1 { background-color: #ea7505; }
.page_categorielle#ravalement_facade h1 { background-color: #a27d54; }
.page_categorielle#platrerie_peinture h1 { background-color: #6f6152; }

.page_categorielle#isolation_ext a { color: #3aaa35; }
.page_categorielle#isolation_int a { color: #f18700; }
.page_categorielle#isolation_combles a { color: #ea7505; }
.page_categorielle#ravalement_facade a { color: #a27d54; }
.page_categorielle#platrerie_peinture a { color: #6f6152; }

.page_categorielle#isolation_ext a:hover,
.page_categorielle#isolation_int a:hover,
.page_categorielle#isolation_combles a:hover,
.page_categorielle#ravalement_facade a:hover,
.page_categorielle#platrerie_peinture a:hover { text-decoration: underline; }

.page_categorielle p {
    padding:15px;
}
.page_categorielle h2 {
    padding:15px 15px 5px 15px;
}
.page_categorielle h3, .page_categorielle h4 {
    padding:15px 15px 0 15px;
}
.page_categorielle ul, .page_categorielle ol {
    margin:0 30px;
}

/************** blog **************/
body.blog #main-content .container,
body.archive #main-content .container,
body.single-post #main-content .container,
body.search #main-content .container {
    padding-top:0;
}
body.blog #main-content .container:before,
body.archive #main-content .container:before,
body.single-post #main-content .container:before,
body.search #main-content .container:before {
    width: 2px;
    background-color: #6b7f6f;
}
body.blog #main-content #content-area,
body.archive #main-content #content-area,
body.single-post #main-content #content-area,
body.search #main-content #content-area {
    overflow: hidden;
}
body.blog #main-content #left-area,
body.archive #main-content #left-area,
body.single-post #main-content #left-area,
body.search #main-content #left-area {
    padding-top: 50px;
}
@media (min-width: 981px) {
    body.blog #main-content #sidebar,
    body.archive #main-content #sidebar,
    body.single-post #main-content #sidebar,
    body.search #main-content #sidebar {
        background-color: #AFCA0B;
        margin-top: -9950px;
        margin-bottom: -9999px;
        padding-top: 9999px;
        padding-bottom: 9999px;
    }  
}
@media (max-width: 980px) {
    body.blog #main-content #sidebar,
    body.archive #main-content #sidebar,
    body.single-post #main-content #sidebar,
    body.search #main-content #sidebar {
        background-color: #c3cf13;
        padding: 50px 25px 25px;
    }
}

body.blog #main-content #sidebar h4,
body.archive #main-content #sidebar h4,
body.single-post #main-content #sidebar h4,
body.search #main-content #sidebar h4 {
    color:#ffffff;
    font-weight: 600;
} 
body.blog #main-content #sidebar li,
body.archive #main-content #sidebar li,
body.single-post #main-content #sidebar li,
body.search #main-content #sidebar li {
    color: #ffffff;
    position: relative;
    padding-left:14px;
}
body.blog #main-content #sidebar li a,
body.archive #main-content #sidebar li a,
body.single-post #main-content #sidebar li a,
body.search #main-content #sidebar li a {
    color: #ffffff;
}
body.blog #main-content #sidebar li:before,
body.archive #main-content #sidebar li:before,
body.single-post #main-content #sidebar li:before,
body.search #main-content #sidebar li:before {
    color: #ffffff;
    position: absolute;
    top: 9px;
    left: 0;
    border-width: 3px;
    border-style: solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    content: "";
}
body.blog #main-content #sidebar .widget_search,
body.archive #main-content #sidebar .widget_search,
body.single-post #main-content #sidebar .widget_search,
body.search #main-content #sidebar .widget_search {
    width: 80%;
}
body.blog #main-content #sidebar .widget_search input#searchsubmit,
body.archive #main-content #sidebar .widget_search input#searchsubmit,
body.single-post #main-content #sidebar .widget_search input#searchsubmit,
body.search #main-content #sidebar .widget_search input#searchsubmit {
    width: 95px;
    background-color: #F26537;
    border:2px solid #F26537;
    color:#ffffff;
}
body.blog #main-content #sidebar .widget_search input#searchsubmit:hover,
body.archive #main-content #sidebar .widget_search input#searchsubmit:hover,
body.single-post #main-content #sidebar .widget_search input#searchsubmit:hover,
body.search #main-content #sidebar .widget_search input#searchsubmit:hover {
    background-color: #ffffff;
    color:#f26537;
}

body.blog h1,
body.archive h1,
body.single-post h1,
body.search h1 {
    color: #005b81; 
}
body.blog h2,
body.archive h2,
body.single-post h2,
body.search h2 {
    color:#005b81;
}

body.blog .post-meta, body.blog .post-meta a,
body.archive .post-meta, body.archive .post-meta a,
body.single-post .post-meta, body.single-post .post-meta a,
body.search .post-meta, body.search .post-meta a {
    color: #005b81 !important;
}

body.blog a.entry-featured-image-url img,
body.archive a.entry-featured-image-url img,
body.search a.entry-featured-image-url img {
    float: left;
    width: 40%;
    padding-right: 20px;
    padding-bottom: 30px;
    max-height: 210px;
}

body.blog .et_pb_post,
body.archive .et_pb_post,
body.search .et_pb_post {
    min-height: 210px;
}

#main-content .container { width:95%; }
#main-content .container:before
#main-content .et_pb_row { width:95%; }

.picto_btn_lien:hover {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

/****** placement des blocs en version mobile ******/
@media all and (max-width: 980px) {
    /*** wrap row in a flex box ***/
    .et_pb_section.custom_row > .et_pb_row {
      display: -webkit-box;
      display: -moz-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    flex-wrap: wrap;
    }
     
    /*** custom classes that will designate the order of columns in the flex box row ***/
    .first-on-mobile {
    -webkit-order: 1;
    order: 1;
    }
     
    .second-on-mobile {
    -webkit-order: 2;
    order: 2;
    }
     
    .third-on-mobile {
    -webkit-order: 3;
    order: 3;
    }
     
    .fourth-on-mobile {
    -webkit-order: 4;
    order: 4;
    }
    /*** add margin to last column ***/
    .custom_row:last-child .et_pb_column:last-child {
    margin-bottom: 30px;
    }
     
    }
    
    .devis_eform_container > .et_pb_text_inner > p { padding:0 !important; }
#menu-item-3111 {
    background-color: #eb5d0b;
	color:white!important;
	height: 36px;
	width: 96px;
	letter-spacing: 1px;
	text-align:center;
	padding: 0 !important;
	margin: 0 3px !important;
}
#menu-item-3110 {
	margin: 0 3px;
}
#menu-item-3111 > a {
	padding: 12px 25px !important;
	color: #ffffff !important;
}
.et-fixed-header .logo_container {
    background-repeat: no-repeat;
    background-size: auto 65px;
}


.container {
  width:1024px;
  max-width:100%;
  margin:0 auto;
}

.slider {
  position:relative;
  height:0px;
  padding-bottom:66.666666667%;
  margin-top:24px;
  margin-bottom:24px;
}

.slider__after {
  position:absolute;
  top:0px;
  left:0px;
  z-index:1;
  width:100%;
  height:100%;
  background-image:url('images/happy.jpg');
  background-size:cover;
  pointer-events: none;
}

.slider__before {
  position:absolute;
  top:0px;
  left:0px;
  z-index:2;
  width:50%;
  height:100%;
  background-image:url('images/sad.jpg');
  background-size:cover;
  pointer-events: none;
  overflow:hidden;
}

.slider__before:before {
  content:'Avant';
  position:absolute;
  left:8px;
  bottom:8px;
color: #fff;
}

.slider__after:before {
  content:'Après';
  position:absolute;
  right:8px;
  bottom:8px;
color: #fff;
}

.slider__separator {
  position:absolute;
  left:50%;
  width:2px;
  top:0px;
  bottom:0px;
  background:rgba(255,255,255,0.7);
  box-shadow: 0 5px 10px 0px rgba(0,0,0,0.5);
  cursor:ew-resize;
  z-index:3;
  transform:translateX(-50%);
}

.slider__range {
  position:absolute;
  width:100%;
  bottom:0px;
  z-index: 3;
  appearance: none;
  background:rgba(255,255,255,0.3);
  outline:none;
  margin:0px;
}

.slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width:12px;
  height:16px;
  background:white;
}

.slider__range::-moz-slider-thumb {
  -moz-appearance: none;
  width:12px;
  height:16px;
  background:white;
}

.slider--tokyo .slider__before {
  background-image: url("https://www.tradinov-sas.fr/wp-content/uploads/2022/06/AVANT_APRES_2.jpg");
}

.slider--tokyo .slider__after {
  background-image: url("https://www.tradinov-sas.fr/wp-content/uploads/2022/06/AVANT_APRES_1.jpg");
}

.slider--tokyo .slider__separator:before {
  content:'';
  width:32px;
  height:32px;
  border-radius:50%;
  border:solid 2px white;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
}

.slider--tokyo .slider__range {
  display:none;
}

.fb-logo {
	height: 36px;
	width: 36px;
	bottom: -8px;
	margin-left: 1em;
	background: center / contain no-repeat url("https://www.tradinov-sas.fr/wp-content/uploads/2021/05/facebook.png");
}

.five-point span{
	letter-spacing: 1em;
	display: inline-block;
	width: 60px;
}

.five-point span:after{
	 content: '';
    position: absolute;
    background-color: #afca0b;
    height: 46px;
    width: 46px;
    border-radius: 50%;
    left: -15px;
    z-index: -1;
    margin-top: -10px;
}

.hr-box hr {
	margin-top: 1px;
}
.hr-box p {
	padding-bottom: .1em;
}

.et_pb_code_0  {
	min-height: 0 !important;
}
