/*
 Theme Name: Divi for Elisa
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Caroline Cornil
 Author URI: https://www.carolinecornil.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */


.mobile_menu_bar:before {
    color: #fff!important;
}

li.lang-item a {
  font-size:12pt !important;
}

li.lang-item-11 a {
	margin-right:-16px !important
}

/*Bold text in paragraphs heavier*/
p strong {
	font-weight: 800;
}

li strong {
	font-weight: 800;
}

lu strong {
	font-weight: 800;
}

div strong {
	font-weight: 800;
}

.label-blue {
	background-color:#130995;
	padding: 0 5px;
}


/*services cards vertical alignment*/
.column-vertical-justify {
display: flex;
flex-direction: column;
justify-content: space-between;
}

h2.entry-title {
	padding:0px!important;
	margin-left:0px!important;
}



@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_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;
}
 
}

/*Blog posts grid formatting*/
/* Reset Salvattore Grid Layout */
.et_pb_salvattore_content .column {
  float: left;
  width: 33.33%;
  box-sizing: border-box;
  padding: 1rem;
  margin-bottom: 4rem !important;
}

/* One-column layout for mobile */
@media screen and (max-width: 767px) {
  .et_pb_salvattore_content .column {
    width: 100%;
    padding: 0.5rem;
  }
}

/* Normalize image spacing */
.et_pb_image_container {
  padding: 0 !important;
  margin: 0 !important;
}

.et_pb_post {
  padding: 0 !important;
  margin: 0 0 4rem 0 !important;
}

/* Maintain 4:3 ratio */
.dc_blog-ratio_4-3 .entry-featured-image-url {
  padding-top: calc(2 / 3 * 100%);
  position: relative;
}

.dc_blog-ratio_4-3 .entry-featured-image-url img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}