/*
 Theme Name:   Viaggi Russia Cristiana Child Theme
 Theme URI:    https://viaggi.russiacristiana.org/
 Description:  Child Theme per Divi
 Author:       Alessandro lagasca
 Author URI:   https://www.alessandrolagasca.it/
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

.duomo-form,
.duomo-form input,
.duomo-form select,
.duomo-form textarea,
.duomo-form label {
  font-family: 'Montserrat', sans-serif;
}

.duomo-form input,
.duomo-form select,
.duomo-form textarea {
  padding: 12px 14px;
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.duomo-form textarea {
  min-height: 110px;
}

.duomo-form input[type="submit"],
.duomo-form .wpcf7-submit {
  background-color: #003A84;
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.duomo-form input[type="submit"]:hover,
.duomo-form .wpcf7-submit:hover {
  background-color: #002a61;
}

/* Stato "in invio": CF7 aggiunge la classe .submitting */
.duomo-form .wpcf7-submit:disabled,
.duomo-form .submitting .wpcf7-submit {
  background-color: #6f8bb0;
  cursor: wait;
}

.wpcf7 .wpcf7-response-output {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  padding: 18px 22px;
  margin: 24px 0 0;
  border-radius: 6px;
  border-width: 2px;
}

/* Invio riuscito */
.wpcf7 form.sent .wpcf7-response-output {
  background-color: #e7f4ea;
  border-color: #46b450 !important;
  color: #1a5e2a !important;
}

/* Errori di validazione / invio fallito */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  background-color: #fcecec;
  border-color: #dc3232 !important;
  color: #8a1f1f !important;
}

.duomo-form .wpcf7-not-valid-tip {
  font-size: 14px;
  font-weight: 600;
}

.duomo-form .consent .wpcf7-list-item {
  margin: 0;
}

.duomo-form .consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.duomo-form .consent input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

@media (min-width: 981px) {
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 {
	width: 28.667% !important;
	}
}

.et_post_meta_wrapper {
	display: none;
}

.single .et_pb_post {
 margin-bottom: 0;
 padding-bottom: 0;
}
#left-area {
 padding-bottom: 0 !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;
}
 
}