/** Fixe hauteur minimum du contenu pour l'éditeur et la prise en compte du dimensionnement des sections en % de la hauteur totale **/
#et-fb-app .et-fb-post-content {
	height: calc(100vh - 80px);
}

/** Remove grey background sur preload bg video **/
.et_pb_preload, .et_pb_section.et_pb_section_video.et_pb_preload {
    background-color: transparent;
}
.et_pb_preload:before {
    display: none!important;
}

/** Expand portfolio height to section min-height **/
.et_pb_section.auto-height {
    position: relative;
}
.et_pb_section.auto-height > .et_pb_module {
    position: absolute;
    margin: 0;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
}
#et-fb-app .et_pb_section.auto-height > .et_pb_module {
    position: absolute !important;
    margin: 0;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
}

.et_pb_section.auto-height .et_pb_fullwidth_portfolio .et_pb_portfolio_items {
    height: 100% !important;
    min-width: 100% !important;
    min-height:  100% !important;
}
.et_pb_section.auto-height .et_pb_fullwidth_portfolio .et_pb_carousel_group,
.et_pb_section.auto-height .et_pb_fullwidth_portfolio .et_pb_portfolio_item,
.et_pb_section.auto-height .et_pb_fullwidth_portfolio .et_pb_portfolio_image {
    height: 100% !important;
}

.et_pb_section.auto-height .et_pb_fullwidth_portfolio .et_pb_portfolio_image img {
    display: block;
}

.et_pb_section.auto-height .et_pb_fullwidth_portfolio .et_pb_portfolio_image.landscape img {
    width: auto !important;
    height: 100% !important;
}

.et_pb_section.auto-height .et_pb_fullwidth_portfolio .et_pb_portfolio_image.portrait img {
    width: 100% !important;
    height: auto !important;
}
