/*
Theme Name:   Alto	
descriptif-col-gauche:  Alto
Author:       LB-creations
Template:     Divi
Version:      1.0.0
*/


/*****************/
/**MODIF POLICES**/
/*****************/
html {
    font-size: 10px;
}
#et-main-area, #et-main-area p {
    font-size: 2.5rem;
	line-height: 2.85rem;
}
h1, .section-intro h2 {
	font-size: 5rem;
	line-height: 6.5rem;
	font-weight: 400;
	padding-bottom: 0;
}
h2 {
	font-size: 4.2rem;
}
h3 {
	font-size: 3rem;
	color: #333 !important;
}
h4 {
	font-size: 2.2rem;
}
blockquote p, blockquote {
    font-size: 3rem;
    font-style: italic;
	border-width: 0.7rem;
}
.section-visuel, .section-visuel p {
	font-size: 5rem !important;
	line-height: 5rem !important;
}
ul {
    line-height: 1.6em !important;
}
@media (max-width: 1380px) {
	html {
    	font-size: 8px;
	}	
}
@media (max-width: 480px) {
	html {
    	font-size: 7px;
	}
	h1, .section-intro h2 {
	font-size: 7.6vw;
	line-height: 10vw;
	}
	h2 {
	font-size: 6.5vw;
	}
}

/*****************/
/**MODIF DIVERS***/
/*****************/

/*modifier la scroll bar sur certain navigateur*/
::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}
::-webkit-scrollbar-thumb {
    background: #ED6B1C;
}
::-webkit-scrollbar-track {
    background: #193E72;
}

/*fix horizontal scroll*/
#page-container {
	overflow-x: hidden;
}

/*row width*/
.et_pb_row, .container {
	width: 90%;
}

/*vertical center*/
.vertical-center {
	display: flex;
    flex-direction: column;
    justify-content: center;
	/*ou
	display: flex;
	flex-wrap: wrap;
	align-content: center;*/
}
/*forcer format image*/
.image-1_1 img {
    aspect-ratio: 1/1;
    object-fit: cover;
}
.image-2_3 img {
    aspect-ratio: 2/3;
    object-fit: cover;
}
.image-3_2 img {
    aspect-ratio: 3/2;
    object-fit: cover;
}
/*forcer remplissage image*/
.full-image, .full-image span {
	height: 100%;	
}
.full-image img {
	height: 100%;
	object-fit: cover;
}
/*supprimer légende image zoom*/
.mfp-bottom-bar {
	display: none;
}

/*coin arrondi img*/
.coin-arrondi, .coin-arrondi img, .coin-arrondi .et_pb_slide, .content-menu .coin-arrondi {
	border-radius: 25px;
	overflow: hidden;
}
/*circle-title*/
.circle-title h2:before {
    content: '';
    z-index: -1;
    width: 6rem;
    height: 6rem;
    left: -1.5rem;
    top: -1rem;
    border-radius: 100em;
    position: absolute;
    background-color: #82B19E;
}
.circle-title h3:before {
    content: '';
    z-index: -1;
    width: 4rem;
    height: 4rem;
    left: -0.9rem;
    top: -0.5rem;
    border-radius: 100em;
    position: absolute;
    background-color: #82B19E;
}

/*TITRE SOULIGNE*/
.titre-souligne {
	width: fit-content;
	padding-left: 2.5rem;
}
.titre-souligne.title-center {
	margin: auto;
}
.titre-souligne h2:before {
    content: "";
    width: 0.7rem;
    height: 6rem;
    background: #193e72;
    display: block;
    position: absolute;
    left: -2rem;
    bottom: 0rem;
    z-index: -1;
	transform: skewX(340deg);
}
.titre-souligne h2:after {
    content: "";
    width: 10rem;
    height: 0.7rem;
    background: #ED6B1C;
    display: block;
    position: absolute;
    left: -1.5rem;
    bottom: 0rem;
    z-index: -1;
	transform: skewX(-20deg);
}

/*PAGE ARTICLES*/
.single-post .wp-block-gallery {
	padding-top: 3rem;
}

/**********************/
/**PAGE REALISATIONS***/
/**********************/

/*Vignette blog*/
.vignettes .et_pb_post{
	cursor: pointer;
}
.vignettes .et_pb_post {
	background-color: rgba(255,255,255,0.8);
    border-radius: 20px 20px 20px 20px;
    overflow: hidden;
    border-width: 1px;
    border-color: #888888;
    padding-right: 20px;
    padding-bottom: 30px;
    padding-left: 20px;
    box-shadow: inset 3px 3px 3px 0px RGBA(255,255,255,0);
    transition: transform 300ms ease 0ms,box-shadow 300ms ease 0ms,background-color 300ms ease 0ms,background-image 300ms ease 0ms;
}
.vignettes .et_pb_post img, .vignettes .et_pb_post a {
    border-radius: 20px 20px 0 0;
	overflow: hidden;
	transition: all 300ms ease 0ms;
}
.vignettes .et_pb_post:hover {
	background-image: initial;
    background-color: rgba(240,240,240,0.8);
	transform: translateY(1px);
	box-shadow: inset rgb(0 0 0 / 50%) 3px 3px 3px;
}

.vignettes .et_pb_post:hover h2 {
   color: #333;
}

.vignettes .et_pb_post:hover .et_pb_image_container::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    border-radius: 20px 20px 0 0;
	box-shadow: inset rgb(0 0 0 / 50%) 3px 3px 3px;
}
.vignettes .et_pb_post:hover img {
	transform: scale(1.1);
}
.vignettes .et_pb_post .post-meta {
    margin: 5px 0 15px 0;
}
.row-actus article {
	margin: 8px !important;
	min-height: 480px;
}
.row-actus article:nth-child(2n) {
	margin-top: 16px !important;
}

@media (max-width: 767px) {
	.vignettes .et_pb_post .post-meta {
		margin: 15px 0 15px 0;
	}
	.row-actus article {
		width: initial !important;
		margin-top: 16px !important;
		min-height: initial;
	}
}