/*
Theme Name: afweb
Description: Theme enfant Divi
Author: afweb corporation
Author URI: https://af-web.fr/
Template: Divi
Version: 1.0.0
*/

/* ---- Global ---- */
img {
    pointer-events: none;
}

.vertical-align-column {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: 100%;
}


.back-vertical-align-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.home-green {
    display: flex ;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
    background-image: linear-gradient(0deg,rgba(114, 183, 62, 0.9) 50%,rgba(38,64,89,0) 100%) !important;
}

.home-blue {
    display: flex ;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
    background-image: linear-gradient(0deg,rgba(28, 133, 192, 0.9) 50%,rgba(38,64,89,0) 100%) !important;
}

body header .menu-green a {
    background: #72b73e;
    color: #fff !important;
    padding: 21px 12px !important;
    border-radius: 25px;
    margin: 0;
    line-height: 0;
    height: inherit;
}

header .menu-blue a {
    background: #1c85c0;
    color: #fff !important;
    padding: 21px 12px !important;
    border-radius: 25px;
    margin: 0;
    line-height: 0;
    height: inherit;
}

.et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li.menu-green > a, .et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li.menu-blue > a {
  background: initial;
  padding: initial !important;
  border-radius: initial !important;
  margin: initial !important;
  line-height:initial !important;
  height: initial !important;
}

/* ---- contact form 7 ---- */
form.wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.line_cf7_50 {
  width: 49%;
}

.line_cf7_100 {
  width: 100%;
}

input.text, input.title, input[type=text], .wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], select, textarea {
  margin: 0;
  width: 100%;
  margin-top: 10px;
  padding: 14px 4% !important;
  border: 0;
  border-bottom: 3px solid #72b73e;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 1);
  color: #000000;
  font-size: 1rem;
}

::placeholder {
	color: #000;
	font-size: 1rem;
}

input[type=submit] {
	width: 100%;
	border-radius: 3px;
	text-transform: uppercase;
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	background: #1c85c0;
	border: 0;
	text-align: center;
	padding: 7px 14px;
	cursor: pointer;
}

input[type=submit]:hover {
	opacity: 0.7;
}

.rgpd {
  color: #000;
  font-size: 13px;
  margin-bottom: 10px;
  display: flex;
}


.bt input {
    width: initial;
}

.wpcf7-not-valid-tip {
    font-size: 11px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output {
    border: 0;
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
    margin: 20px 0;
}

.wpcf7 form.invalid {
	color: #dc3232;
}

.wpcf7 form.sent .wpcf7-response-output {
	color: #b89539;
}

/* --- recaptcha google */
.grecaptcha-badge {
    visibility: collapse!important;
}

body .mfp-title {
  display: none;
}


/* --- responsive */
@media only screen and (max-width: 767px) {
  .line_cf7_50 {
    width: 100%;
  }

  .flex-reverse {
    display: flex;
    flex-direction: column-reverse;
}

  li.menu-green, li.menu-blue {
    margin-bottom: 10px;
  }

  body .grid-custom.et_pb_gallery .et_pb_grid_item {
    width: 49%;
  }
}
