
/*
 Theme Name:   immodiag
 Template:     twentytwentyone
 Version:      1.0.0
*/

/* Importation du style du thème parent */
@import url("../twentytwentyone/style.css");



/*****************************MENU************************/

.elementor-nav-menu .menu-item .elementor-item:after {
    width:100%!important;
	height:15px;
	content:'';
	opacity:1!important;
	position: absolute;
    top: 40px;
}

.elementor-nav-menu .menu-item .elementor-item:hover::after {
    top: 25px;
}


.elementor-nav-menu .menu-item.current-menu-item .elementor-item:after {
    top: 25px;
}


.elementor-nav-menu .vert.menu-item .elementor-item:after {
	background-color:#2a7c3c!important;
}
.elementor-nav-menu .jaune.menu-item .elementor-item:after {
	background-color:#e4aa2c!important;
}
.elementor-nav-menu .orange.menu-item .elementor-item:after {
	background-color:#f99935!important;
}
.elementor-nav-menu .rouge.menu-item .elementor-item:after {
	background-color:#cd342f!important;
}
.elementor-nav-menu .gris.menu-item .elementor-item:after {
	background-color:#404042!important;
}
.elementor-nav-menu .bleu.menu-item .elementor-item:after {
	background-color:#3b87ab!important;
}


@media only screen and (min-width: 1401px) and (max-width: 1630px){
.elementor-nav-menu--main .elementor-nav-menu .elementor-item {
    font-size: 14px!important
}
}


@media only screen and (min-width: 1250px) and (max-width: 1400px){
.elementor-nav-menu--main .elementor-nav-menu .elementor-item {
    font-size: 14px!important;
}
.elementor-nav-menu--layout-horizontal .elementor-nav-menu>li:not(:last-child)>a {
    margin-inline-end: 15px!important;
}
.elementor-nav-menu--layout-horizontal .elementor-nav-menu>li:not(:first-child)>a {
    margin-inline-start: 15px!important;
}
}


@media only screen and (max-width: 1249px){
    .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main {
        display: none!important;
    }

    .elementor-nav-menu--dropdown-tablet .elementor-menu-toggle,
.elementor-nav-menu--dropdown-tablet .elementor-nav-menu--dropdown	{
        display: block!important;
    }
	.elementor-menu-toggle {
    font-size: 35px!important
}
.elementor-location-header .elementor-element.e-con-full.e-flex.e-con.e-parent{
    z-index: 10!important;
}


 .elementor-nav-menu--dropdown a {
        padding-top: 20px!important;
        padding-bottom: 20px!important;
    }

.elementor-nav-menu .menu-item .elementor-item:after {
    width: 100% !important;
    height: 9px;
    content: '';
    opacity: 1 !important;
    position: absolute;
    top: 51px;
}
.elementor-nav-menu .menu-item .elementor-item:hover::after {
    top: 51px;
}

.elementor-location-header .elementor-widget-image img{
    max-width: 200px!important;
}

#slider{
margin-block-start: 0px!important;
}

.elementor-nav-menu--dropdown.elementor-nav-menu__container {
    margin-top: 0px!important;
}
}

@media only screen and (min-width: 768px) and (max-width: 1249px){
.elementor-nav-menu--dropdown .elementor-item{
        font-size: 16px!important;
    }
}


@media only screen and (max-width: 767px){
.elementor-nav-menu--dropdown .elementor-item{
        font-size: 14px!important;
    }
}

/***************************SLIDE HOME*************************************/

#slider{
    height: calc(100vh - 250px) !important;
}

#slider-page{
    height: calc(100vh - 350px) !important;
}

@media only screen and (max-width: 1024px) {
	#slider{
    height: calc(100vh - 320px) !important;
}

#slider-page{
    height: calc(100vh - 400px) !important;
}
}

@media only screen and (max-width: 767px) {
	#slider{
    height: calc(100vh - 370px) !important;
}

#slider-page{
    height: calc(100vh - 420px) !important;
}

#slider .elementor-heading-title,
#slider-page .elementor-heading-title {
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.62)!important;
}
}

/******************************FLIP BOX********************/

#FLIP-BOX .elementor-flip-box__front h3{
        background-color: #ffffffd4;
    line-height: 55px;
}

#FLIP-BOX  a{
	font-size: 0px;
	margin-top: -30px;
}

#FLIP-BOX  a:after{
    content: "\2192";
	font-size: 55px;
	transform: translate(0px);
    display: inline-block;
	transition: all 0.5s ease-out;
}
#FLIP-BOX  a:hover::after{
	transform: translate(25px);
	transition: all 0.5s ease-out;
}

@media only screen and (min-width: 1025px) and (max-width: 1400px) {
#FLIP-BOX .elementor-flip-box__front h3 {
    line-height: 48px!important;
	        font-size: 18px!important
}

#FLIP-BOX .elementor-flip-box__back .elementor-flip-box__layer__description {
    line-height: 23px;
}
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    #FLIP-BOX .elementor-flip-box__front h3 {
        line-height: 48px !important;
        font-size: 13px !important;
        font-weight: bold;}

#FLIP-BOX .elementor-flip-box__back .elementor-flip-box__layer__description {
    line-height: 21px;
	font-size: 15px !important;
}

#FLIP-BOX  .elementor-flip-box__back .elementor-flip-box__layer__title {
    font-size: 18px;
}
}


/********************************FOOTER*******************/
.footer a{
	color:white!important;
}

@media only screen and (max-width: 1249px){
#picto-footer {
    position: relative;
    width: 370px;
    margin: auto;
}
}

/************************************PAGE DEVIS*************************/

.elementor-field-group-acceptation .elementor-field-label,
.elementor-field-group-ville .elementor-field-label,
.elementor-field-group-cp .elementor-field-label,
.elementor-field-group-logements .elementor-field-label,
.elementor-field-group-batiments .elementor-field-label,
.elementor-field-group-message .elementor-field-label,
.elementor-field-group-adresse .elementor-field-label{
   display:none;
}

#form-field-acceptation{
        width: 20px;
        height: 20px;
        border: 2px #39414d solid;
    }

/******************************ARTICLE**************************************/

.single-post .wp-block-columns.is-layout-flex{
    margin-top: 30px;
}

.single-post .wp-block-columns.is-layout-flex h2 {
    color: #404041 !important;
    font-family: "Raleway", Sans-serif;
    font-size: 30px !important;
    font-weight: 800;
	    margin-bottom: 0px;
}

.single-post .wp-block-columns.is-layout-flex .wp-block-spacer{
    margin: 11px 0px 0px 0px;
    background-color: transparent;
    background-image: linear-gradient(90deg, #FFFFFF 0%, #333132 100%);
    height: 7px!important;
    width: 350px;
}

/***********************page subventions************************************/
.elementor-tabs .elementor-tab-title{
  width:33%!important;
  }
.elementor-tabs .elementor-tabs-wrapper{
    display: grid!important;
    grid-template-columns: 1fr 1fr 1fr;
}

.elementor-tabs-wrapper {
    width: 800px;
	    margin: auto;
}

.elementor-tabs-wrapper img{
    width: auto!important;
    height: auto!important;
}

#elementor-tab-title-1261{
    display: none;
}
