/*
 Theme Name:     Mairie de Lacres
 Theme URI:      https://lacres.fr/
 Description:    Thème enfant basé sur le thème Divi
 Author:         Pierre Fatoux
 Author URI:     https://pierre-fatoux.fr/
 Template:       Divi
 Version:        1.0.0
*/


/* Contact Form 7 */

.lcdt-contact-footer input[type=text], .lcdt-contact-footer input[type=email], .lcdt-contact-footer textarea {
	width: 100%;
	font-size:16px;
	padding: 10px;
	border:none;
}

.lcdt-contact-footer input:focus, .lcdt-contact-footer textarea:focus {
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
}

.lcdt-contact-footer input[type=submit] {
	border: 2px #3ea5bb solid;
	font-size:18px;
	border-radius: 10px;
	color: #3ea5bb;
	padding: 10px 20px;
}

.lcdt-contact-footer input[type=submit]:hover {
	color: white;
	padding: 10px 20px;
	background-color: #3ea5bb;
	cursor:pointer;
}

.lcdt-submit-button {
	display: flex;
    align-items: center;
    justify-content: center;
}

/* FIN Contact Form 7 */

.et_pb_text_inner strong {
	font-weight: 500;
	color: #e59900;
}

.dipl_modal_content_text strong {
	font-weight: 600;
	color: #e59900;
}

.centrer-vertical {
  display: flex;
  flex-direction: column;
  justify-content: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
}

/* Retrait icone Panier dans le menu
#et-top-navigation .et-cart-info {
	display: none;
}
*/

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

.two-columns .et_pb_column {
width: 50%!important;
}

.three-columns .et_pb_column {
width: 33.33%!important;
}

.four-columns .et_pb_column {
width: 25%!important;
}

.five-columns .et_pb_column {
width: 20%!important;
}

/*** 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;
}

}

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

.two-columns .et_pb_column {
width: 50%!important;
}

.three-columns .et_pb_column {
width: 33.33%!important;
}

.four-columns .et_pb_column {
width: 25%!important;
}

.five-columns .et_pb_column {
width: 20%!important;
}

.lcdt-atelier-header {
	margin-top:-50px !important;
}

}

@media only screen and (max-width: 980px) and (min-width:480px) {

.two-columns-tab .et_pb_column {
width: 50%!important;
}

.three-columns-tab .et_pb_column {
width: 33.33%!important;
}

.four-columns-tab .et_pb_column {
width: 25%!important;
}

.five-columns-tab .et_pb_column {
width: 20%!important;
}

}



/* OVA EVENTS */

a.event_type, .event-category a, .ovaev-shortcode-title a, .ovaev-shortcode-thumbnail a {
	pointer-events: none;
}

.type1 .desc .event_post .event_title a {
	font-size: 30px;
}

.type1 .desc .event_post .time-event {
	font-weight: 300;
}

.type1 .desc .event_post .button_event .view_detail:hover {
	color:white !important;
}

.ovaev-shortcode-date, .ovaev-shortcode-time, .ovaev-shortcode-location {
	text-align: center;	
}

.ovaev-shortcode-date span, .ovaev-shortcode-time span, .ovaev-shortcode-location span {
	font-weight: 600;
	color:white;
	font-size: 24px;
}

.ovaev-shortcode-date i, .ovaev-shortcode-time i, .ovaev-shortcode-location i {
	color:#ffb100;
}

.ovaev-shortcode-date .fas, .ovaev-shortcode-time .far, .ovaev-shortcode-location .fas {
	font-size: 24px;	
}

.ovaev-shortcode-categories i {
	display: none;
}

.ovaev-shortcode-categories span.event-category a {
	font-weight: 600;
	font-size: 20px;
}

.ovaev-shortcode-share .share-social-icons li a:hover {
	background-color:#3ea5bb !important;
}

#lcdt-atelier .ovaev-shortcode-thumbnail img {
	border-radius: 10px 10px 10px 10px;
	box-shadow: 6px 6px 18px 0px rgba(0,0,0,0.3);
}

figcaption {
	text-align: center;
}

/* Bug font */
.single-event h1, .single-event h2, .single-event h3 {
	font-family: 'Amatic-Bold',Helvetica,Arial,Lucida,sans-serif;
}
