/*
 Theme Name:   agencerie albi 
 Theme URI:    https://anewstory.fr
 Description:  Child theme by agencerie albi
 Author:       agencerie
 Author URI:   https://anewstory.fr
 Template:     Divi
 Version:      1.0.0
*/
/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 


/*----------------------------------------------------*/
/*----------------------Snakeline---------------------*/
/*----------------------------------------------------*/


/*Add the start and end circles*/

.ds-timeline::before,
.ds-timeline::after {
    content: '';
    background: #fff;
    height: 30px;
    width: 30px;
    border: 5px solid;
    border-radius: 50%;
    position: absolute;
    right: calc(50% - 15px);
    z-index: 1;
}


/*Style & position start circle*/

.ds-timeline::before {
    border-color: #D9AC6D;
    top: -17.5px;
}


/*Style & position end circle*/

.ds-timeline::after {
    border-color: #D9AC6D;
    bottom: -17.5px;
}


/*Verticaly align module content*/

.ds-timeline .et_pb_row .et_pb_module {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


/*Size & position the row background gradients*/

.ds-timeline .et_pb_row:nth-of-type(odd) {
    background-size: 50% 100%;
    background-position: left;
}

.ds-timeline .et_pb_row:nth-of-type(even) {
    background-size: 50% 100%;
    background-position: right;
}


/*Add the white backgrounds to create the lines*/

.ds-timeline .ds-left::before,
.ds-timeline .ds-right::before {
    content: '';
    background: #fff;
    height: calc(100% - 10px);
    width: calc(100% - 5px);
    position: absolute;
    top: 5px;
}


/*Position & radius for left*/

.ds-timeline .ds-left::before {
    left: 5px;
    border-radius: 105px 0 0 105px;
}


/*Position & radius for right*/

.ds-timeline .ds-right::before {
    right: 5px;
    border-radius: 0 105px 105px 0;
}


/*Adjust for mobile*/

@media all and (max-width: 980px) {
    /*Reverse columns on even rows*/
    .ds-timeline .et_pb_row:nth-of-type(even) {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
    /*Center the heading*/
    .ds-timeline h2 {
        text-align: center;
    }
    /*Adjust border radii for white background*/
    .ds-timeline .ds-left::before {
        border-radius: 50px 0 0 50px;
    }
    .ds-timeline .ds-right::before {
        border-radius: 0 50px 50px 0;
    }
    /*Adjust border radii for row background (gradients)*/
    .ds-timeline .et_pb_row:nth-of-type(odd) {
        border-radius: 55px 0 0 55px;
    }
    .ds-timeline .et_pb_row:nth-of-type(even) {
        border-radius: 0 55px 55px 0;
    }
}


/*----------------------------------------------------*/
/*-------------------End Snakeline--------------------*/
/*----------------------------------------------------*/

.dc-modal {
  visibility: hidden;
    /* Pour centrer verticalement le contenu de la modale */
    display: -webkit-box;
    display: -ms-flexbox;
   display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.dc-modal.visible_modal, .dc-close.visible_modal {
    visibility: visible;
}

.dc-trigger {
    cursor: pointer;
}

.dc-close {
    display: none;
    font-family: "ETmodules";
    font-size: 70px;
    color: white;
    z-index: 250000;
    position: fixed;
    top: 5%;
    right: 2%;
    cursor: pointer;
}


.titre_prestation{
font-weight: 600;
    font-size: 25px;
    background-color: #f3f4f5;
    padding-left: 2%!important;
}


.property-diagnostic h2{
color:#D9AC6D;
}



@media  only screen and (max-width: 767px) {

.titre_prestation{
    font-weight: 600;
    font-size: 20px;
    background-color: #f3f4f5;
}

.property-diagnostic p{
font-size: 18px !important;
}

.property-diagnostic h2{
font-size: 26px;
color:#D9AC6D;
}

.diagnostic-scale li {
    width: 40px !important;
    line-height: 40px !important;
}

.photo_bien{
    min-height: 244px !important; 
}

}
@media  only screen and (max-width: 500px) {

.info_autre{
    display:block !important;
}
.info_autre .info_bien{
display: flex;
    justify-content: start;

}

.info_autre .info_bien p{

    margin-top: 1rem;
    padding-left: 3%;
}



}



/*************
*** Custom ***
*************/

.et_pb_scroll_top {
    font-family: ETmodules !important;
}
.dashicons{
    font-family: dashicons !important; 
}





@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {


.section_mobile{background-color: #F3F4F5!important;}
.border_mobile{border-radius: 35px 35px 35px 35px !important; }
.photo_une{display:none;}

.dc-close {
    display: none;
}
.slider_bien{
	    display: flex!important;
	    position: relative!important;
         height: initial!important;
         padding-top: initial !important;
}

.slider_bien .et_pb_row{
width:100%;
}

.swiper-container {

    height: 55vh !important;
}

.gallery-thumbs {
	margin-top: 10px;
    height: 13vh !important;
    width: 88% !important;
}

}


@media only screen and (min-device-width : 375px) and (max-device-width : 812px) and (-webkit-device-pixel-ratio : 3) and (orientation : portrait) { 

.section_mobile{background-color: #F3F4F5!important;}
.border_mobile{border-radius: 35px 35px 35px 35px !important; }
.photo_une{display:none;}

.dc-close {
    display: none;
}
.slider_bien{
        display: flex!important;
        position: relative!important;
         height: initial!important;
         padding-top: initial !important;
}

.slider_bien .et_pb_row{
width:100%;
}

.swiper-container {

    height: 32vh !important;
}

.gallery-thumbs {
    margin-top: 10px;
    height: 6vh !important;
    width: 88% !important;
}


}