/*
 Theme Name:   Divi Child
 Theme URI:    http://www.barrydesign.ie/source/Divi-child/
 Description:  Divi Child Theme
 Author:       Krzysztof Siczek
 Author URI:   https://www.barrydesign.ie
 Template:     Divi
 Version:      2.2
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  Divi-child
*/

@import url("../Divi/style.css");

:root {
  --green: #2dcf2d;
  --white: #ffffff;
  --gray: #242424;
  --red: #cf2d2d;
  --lightGrey: #fafafa;
}

.body {
  margin: 0;
  padding: 0;
  font-weight: 300;
}

h1.heading span {
  color: var(--white);
}

.flex-center {
  display: flex;
  align-items: center;
}

.column-spacing {
  padding: 2em;
}

#et-top-navigation {
  padding: 0 !important;
}

.contact_form-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3em;
}

.captcha-image {
  width: 100%;
}

@media screen and (max-width: 981px) {
  .contact_form-wrapper {
    margin-top: 0;
  }
}

.contact_form-wrapper h2 span {
  color: #5ba9ea;
}

.interest-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.interest-wrapper p {
  font-size: 1.2rem;
  line-height: 1.6em;
}

@media screen and (max-width: 981px) {
  .interest-wrapper p {
    font-size: 1rem;
  }

  .wpcf7-form-control-wrap {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .form-submit p {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
}

.form-group-wrapper {
  margin-top: 2em;
}

.interest-panel {
  display: flex;
  align-items: center;
}

.interest-form__title {
  font-size: 2.5rem;
  margin-bottom: 5px;
  font-weight: 800;
  text-transform: uppercase;
  padding-bottom: 0;
}

@media screen and (max-width: 981px) {
  .interest-form__title {
    font-size: 1.75rem;
    line-height: 1.2em;
  }
}

.form-group {
  margin-bottom: 16px;
}

input.form-control,
textarea.form-textarea,
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d2d6da;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus {
  border-color: #005b8e;
  box-shadow: 0 0 0 2px rgba(0, 91, 142, 0.15);
}

textarea.form-textarea {
  min-height: 80px;
  max-height: 150px;
  resize: vertical;
}

::placeholder {
  color: #888;
}

.form-submit input[type="submit"] {
  background: #efc04e;
  border: none;
  padding: 12px 24px;
  color: #142c53;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 20px;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s;
  margin-top: 1em;
  width: 100%;
}

.form-submit input[type="submit"]:hover {
  background: #efbf4ebf;
}
