/* 
Styles for Proact EU Response theme
-------------------------------------------------- */

/* Helpers */

.bordered-left {
  padding-left: 20px;
  border-left-width: 10px;
  border-left-style: solid;
}

.border-accent-2 {
  border-left: 10px solid var(--accent-2);
}

.w-100 {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .lg\:w-50 {
    width: 50%;
  }
}

.text-h1 {
  font-family: var(--gp-font--roboto);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 36px;
  line-height: 1.2em;
}

.grow {
  flex-grow: 1;
}

@media screen and (min-width: 768px) {
  .background-virus-left {
    background-image: url(../images/illustration-virus.png);
    background-repeat: no-repeat;
    background-position: left -150px center;
    background-size: auto 80%;
  }
}

/* Site Content Styles */

.site-content ul {
  list-style: none;
  list-style-position: outside;
  margin-left: 1em;
}
.site-content ul li {
  padding-bottom: 1em;
  padding-left: 1em;
  position: relative;
  list-style: none;
  list-style-position: outside;
}
.site-content ul li:last-child {
  padding-bottom: 0;
}
.site-content li::marker {
  font-family: "FontAwesome";
  content: "\f054";
  color: var(--accent-2);
  margin-right: 1em;
  font-size: 14px;
}

/* Navigation Styles */

#sticky-navigation.main-navigation {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Language Switcher Styles */
.main-navigation
  .main-nav
  ul
  li[class*="current-menu-"].pll-parent-menu-item.current-menu-parent
  > a {
  color: var(--accent);
  background-color: transparent;
}

/* Header Styles */
.proact-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.proact-header .proact-header-image {
  background-image: url(../images/proact-consortium-membres.webp);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: contain;
  height: 300px;
  width: 100%;
  max-width: 50%;
}

@media screen and (max-width: 767px) {
  .proact-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .proact-header .proact-header-image {
    height: 200px;
    max-width: 100%;
  }
}

/* Footer Styles */

.proact-footer {
  background-image: url(../images/footer-background.png);
  background-position: bottom right;
  background-repeat: no-repeat;
}

/* Dialog Styles */
dialog {
  border: 4px solid var(--accent);
}
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Form Styles */
form.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 36em;
  margin: 0 auto;
}

form.wpcf7-form input[type="submit"] {
  background-color: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  float: right;
  border-radius: 40px;
  padding-left: 2rem;
  padding-right: 2rem;
  font-weight: bold;
  text-transform: uppercase;
}
form.wpcf7-form input[type="submit"]:hover {
  background-color: var(--accent-2);
}
form.wpcf7-form label {
  font-weight: bold;
  margin-bottom: 5px;
}
form.wpcf7-form input[type="text"],
form.wpcf7-form input[type="email"],
form.wpcf7-form textarea {
  border: 1px solid #333;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
  display: block;
  width: 100%;
}
form.wpcf7-form input[type="text"]:focus,
form.wpcf7-form input[type="email"]:focus,
form.wpcf7-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}
form.wpcf7-form .wpcf7-response-output {
  margin-top: 10px;
  color: var(--accent);
  font-weight: bold;
}
form.wpcf7-form .wpcf7-validation-errors {
  color: red;
  font-weight: bold;
  margin-top: 10px;
}
