/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com/gallery/foxy/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

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

/* =Theme customization starts here
------------------------------------------------------- */
:root {
  /* == Color Hexes == */
  --black: #000;
  --white: #fff;
  --floral-white: #fffcf2;
  --timberwolf: #ccc5b9;
  --nu-blue: #063966;
  --flame: #eb5e28;
  --jasper: #cd5334;

  --primary-color: #cd5334;
  --default-color: #000;

  /* == Fonts == */
  --bodyFont: "canada-type-gibson", sans-serif;
  --headerFont: "canada-type-gibson", sans-serif;

  /* == Font Sizes == */

  --copyFontLarge: 2rem; /* 20px */
  --copyFontSmall: 1.6rem; /* 16px */

  --biggestFontMax: 7.5rem; /* 75px */
  --biggestFontMin: 5.5rem; /* 55px */

  --bigFontMax: 5rem; /* 50px */
  --bigFontMin: 3.5rem; /* 35px */

  --mediumFontMax: 3rem; /* 30px */
  --mediumFontMin: 2.5rem; /* 25px */

  --smallFontMax: 2.5rem; /* 25px */
  --smallFontMin: 2rem; /* 20px */

  --smallestFontMax: 2rem; /* 20px */
  --smallestFontMin: 1.8rem; /* 18px */

  --tinyText: 1.2rem; /* 12px */

  /* == Other Utilities == */
  --border-md: 10px;
  --border-lg: 20px;
  --border-xl: 28px;
  --box-shadow: 5px 5px 25px 0 rgba(0, 0, 0, 0.07);
  --mobile-header-height: 80px;
}

/* ----------[TYPOGRAPHY STYLES]--------* 
*/
html {
  font-size: 62.5%;
}
body {
  background-color: var(--floral-white);
  font-family: var(--bodyFont);
  font-weight: 300;
  font-style: normal;
  font-feature-settings: "liga", "kern";
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--headerFont);
  font-weight: 300;
}
.biggest-header h1,
.biggest-header h2,
.biggest-header h3,
.biggest-header h4,
.biggest-header h5,
.biggest-header-inline,
h1 {
  font-size: var(--biggestFontMax);
  line-height: 1.2em;
  text-transform: uppercase;
}
.big-header h1,
.big-header h2,
.big-header h3,
.big-header h4,
.big-header h5,
.big-header-inline,
h2 {
  font-size: var(--bigFontMax);
  line-height: 1.25em;
}
.medium-header h1,
.medium-header h2,
.medium-header h3,
.medium-header h4,
.medium-header h5,
.medium-header-inline,
h3 {
  font-size: var(--mediumFontMax);
  line-height: 1.25em;
}
.small-header h1,
.small-header h2,
.small-header h3,
.small-header h4,
.small-header h5,
.small-header-inline,
h4 {
  font-size: var(--smallFontMax);
  line-height: 1.25em;
}
.smallest-header h1,
.smallest-header h2,
.smallest-header h3,
.smallest-header h4,
.smallest-header h5,
.smallest-header-inline,
h5 {
  font-size: var(--smallestFontMax);
  line-height: 1.25em;
}
.section-header {
  text-transform: uppercase;
}
blockquote {
  color: var(--black);
  font-family: var(--bodyFont);
  font-weight: 300;
  font-style: italic;
  border-left: none !important;
  padding-left: 0 !important;
}
ol li {
  margin-bottom: 15px;
}
ol li:last-child {
  margin-bottom: 0;
}
a * {
  text-decoration: none;
}
.hyphens-manual {
  hyphens: manual;
}

/* ==== Utility Classes ==== */
.border-md {
  border-radius: var(--border-md);
}
.border-lg {
  border-radius: var(--border-lg);
}
.border-xl {
  border-radius: var(--border-xl);
}
.balance-text {
  text-wrap: balance;
}
.font-weight-400 {
  font-weight: 400;
}
.font-weight-500 {
  font-weight: 500;
}
.inline-block {
  display: inline-block;
}
.gap-4 {
  gap: 4rem;
}
.gap-6 {
  gap: 6rem;
}
.gap-8 {
  gap: 8rem;
}
@media (max-width: 767px) {
  .hide-mobile {
    display: none;
  }
}

/* Flex Utility Classes */
.flex {
  display: flex;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.flex-row-bottom {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}
.flex-row-center {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.flex-end {
  justify-content: flex-end;
}
.flex-start {
  justify-content: flex-start;
}
.flex-baseline {
  align-items: baseline;
}
.flex-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flex-col-center-all {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-baseline {
  align-items: baseline;
}
.align-center {
  display: flex;
  align-items: center;
}
.text-balance {
  text-wrap: balance;
}

/* Background color utilities */
.bg-white-40 {
  background-color: rgba(255, 255, 255, 0.4);
}
.bg-blue-60 {
  background-color: rgba(6, 57, 102, 0.6);
  color: var(--white, #fff);
}
.bg-white {
  background-color: var(--white, #fff);
}
.bg-blue {
  background-color: var(--nu-blue, #063966);
}
.bg-orange {
  background-color: var(--flame, #eb5e28);
}
.bg-orange-40 {
  background-color: rgba(235, 94, 40, 0.4);
}
.bg-orange a,
.bg-blue a,
.bg-blue-60 a {
  color: var(--white, #fff);
}

/* ----------[BUTTON STYLES]--------*
*/
.text-btn a,
.pill-btn a {
  text-decoration: none;
}
.pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 7px 7px 25px;
  text-transform: uppercase;
  border-radius: var(--border-xl);
  border: 0;
  height: 56px;
  width: fit-content;
  font-size: var(--copyFontLarge);
  font-weight: 300;
  line-height: 1;
  text-align: center;
}
.pill-btn::after {
  content: "";
  margin-left: 14px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-image: url("img/orange-on-white-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
/* CF7 Submit buttons with pill-btn class (input elements can't use ::after) */
.wpcf7-submit.pill-btn,
.wpcf7-form-control.wpcf7-submit.pill-btn {
  background-image: url("img/orange-on-blue-arrow.svg");
  background-size: 42px 42px;
  background-repeat: no-repeat;
  background-position: right 7px center;
  padding-right: 65px;
  text-align: left;
  cursor: pointer;
}
.text-btn {
  font-family: var(--bodyFont);
  font-style: normal;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.text-btn::after {
  content: "→";
  padding-left: 2px;
}
.text-btn-left {
  display: flex;
  justify-content: flex-start;
}
.text-btn-center {
  display: flex;
  justify-content: center;
}
.text-btn-right {
  display: flex;
  justify-content: flex-end;
}
.btn-card {
  width: 100%;
  padding-top: 98px;
}
.cta-banner a.pill-btn {
  color: var(--white);
  text-decoration: none;
  font-weight: 300;
  width: 242px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 7px 56px 7px 7px;
}
.cta-banner a.pill-btn::after {
  position: absolute;
  right: 7px;
  margin-left: 0;
  margin-right: 0;
}

/* 
* ----------[ACCORDION STYLES]--------*
*/
.faq-accordion .et_pb_accordion_item {
  margin-bottom: 0 !important;
}

.faq-accordion .et_pb_toggle_close,
.faq-accordion .et_pb_toggle_open {
  padding: 47px 0;
}

.faq-accordion .et_pb_toggle_title {
  display: flex;
  padding-left: 50px;
}

.faq-accordion .et_pb_toggle_content {
  max-width: 768px;
  position: relative;
  padding-left: 50px;
}

.faq-accordion .et_pb_toggle_content::before,
.faq-accordion .et_pb_toggle_title::before {
  font-family: var(--headerFont) !important;
  font-weight: 300;
  font-size: 30px;
  position: absolute;
  left: 0;
  display: inline-block !important; /* Override Divi's display none for open item */
}

.faq-accordion .et_pb_toggle_content::before {
  content: "A";
}

.faq-accordion .et_pb_toggle_title::before {
  content: "Q";
  margin-top: 0;
  top: 5px;
}

/*
* ----------[CUSTOM MENU STYLES]--------*
*/
.custom-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-menu li {
  list-style: none;
}

/* Error Page Menu Styles (based on popup menu) */
#error-page-menu {
  width: fit-content;
  display: inline-block;
}

#error-page-menu .custom-menu {
  padding: 0;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
}

#error-page-menu .custom-menu li {
  margin: 0;
  height: 27px;
  display: flex;
  align-items: center;
  padding: 8px 0;
}

#error-page-menu .custom-menu li a {
  color: var(--nu-blue);
  font-size: 20px;
  line-height: 27px;
  padding: 0;
  transition: opacity 0.3s ease;
}

#error-page-menu .custom-menu li a:hover {
  opacity: 0.8;
}

/* Back Button */
#back-button {
  color: var(--nu-blue);
  font-size: 20px;
  line-height: 27px;
  text-transform: uppercase;
  padding: 8px 0;
  text-decoration: none;
  transition: opacity 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
}

#back-button:hover {
  opacity: 0.8;
}

#back-button::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  margin-top: 4px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 14" fill="%23063966"><path d="M11 1L1 7l10 6" stroke="%23063966" stroke-width="1.5" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Error Page Search Bar Styles */
#error-page-search {
  width: 100%;
}

#error-page-search .resource-search-container {
  width: 100%;
}

#error-page-search .resource-search-arrow {
  content: url("img/white-on-blue-arrow.svg");
}

/*
* ----------[CTA BANNER STYLES]--------*
*/
.cta-banner {
  width: 100vw;
  background-color: var(--flame);
  padding: 89px 49px 109px 49px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.cta-banner h1 {
  color: var(--nu-blue);
  font-weight: 300;
  text-transform: uppercase;
  text-wrap: balance;
  text-align: center;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--nu-blue);
  font-size: var(--copyFontLarge);
  line-height: 1.5;
  text-align: center;
  max-width: 768px;
  text-wrap: balance;
  margin-bottom: 44px;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .cta-banner {
    padding: 50px 29px;
  }

  .cta-banner h1 {
    font-size: var(--bigFontMin);
  }

  /* Mobile Styles */
  blockquote {
    margin: 5px 15px 25px !important;
  }

  .wpcf7-form {
    gap: 15px;
  }

  .wpcf7-form-control.wpcf7-text,
  .wpcf7-form-control.wpcf7-email,
  .wpcf7-form-control.wpcf7-select,
  .wpcf7-form-control.wpcf7-textarea {
    font-size: clamp(14px, 2.5vw, 18px);
    padding: 12px 18px;
  }

  .wpcf7-form-control.wpcf7-text::placeholder,
  .wpcf7-form-control.wpcf7-email::placeholder,
  .wpcf7-form-control.wpcf7-textarea::placeholder {
    font-size: clamp(14px, 2.5vw, 18px);
    opacity: 0.85;
  }

  .wpcf7-form-control.wpcf7-select {
    background-size: 36px 36px;
  }

  .wpcf7-form-control.wpcf7-textarea {
    max-height: 150px;
  }

  .wpcf7-form .name-fields {
    gap: 15px;
  }

  .flex-row-bottom {
    flex-direction: column;
    align-items: center;
  }
}

/*
* ----------[QUOTE STYLES]--------*
*/
.resources-quote {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resources-quote * {
  margin: 0 !important;
}

/*
* ----------[CONTACT FORM 7 STYLES]--------*
*/
.wpcf7-form {
  display: flex;
  flex-direction: column;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-number,
.wpcf7-form-control.wpcf7-date,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  border: none;
  border-radius: 28px;
  font-family: var(--bodyFont);
  font-weight: 300;
  background-color: rgba(204, 197, 185, 0.2);
}

.wpcf7-form-control.wpcf7-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 50px;
  background-image: url("img/orange-on-white-arrow-down.svg");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.wpcf7-form-control.wpcf7-text::placeholder,
.wpcf7-form-control.wpcf7-email::placeholder,
.wpcf7-form-control.wpcf7-tel::placeholder,
.wpcf7-form-control.wpcf7-number::placeholder,
.wpcf7-form-control.wpcf7-date::placeholder,
.wpcf7-form-control.wpcf7-textarea::placeholder {
  color: var(--black);
  font-weight: 300;
}

.wpcf7-form .name-fields {
  display: flex;
}

/* Contact Form 7 Checkbox Styles */
.wpcf7
  .wpcf7-form-control.wpcf7-checkbox
  .wpcf7-list-item
  input[type="checkbox"],
.wpcf7 .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"],
.wpcf7-form .wpcf7-form-control.wpcf7-checkbox input[type="checkbox"],
.wpcf7-form .wpcf7-checkbox input[type="checkbox"],
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"],
.wpcf7-checkbox input[type="checkbox"],
span.wpcf7-list-item input[type="checkbox"] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border: none;
  border-radius: 50%;
  background-color: var(--timberwolf);
  cursor: pointer;
  margin: 0 8px 0 0;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.wpcf7
  .wpcf7-form-control.wpcf7-checkbox
  .wpcf7-list-item
  input[type="checkbox"]:checked,
.wpcf7 .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:checked,
.wpcf7-form .wpcf7-form-control.wpcf7-checkbox input[type="checkbox"]:checked,
.wpcf7-form .wpcf7-checkbox input[type="checkbox"]:checked,
.wpcf7-form-control.wpcf7-checkbox input[type="checkbox"]:checked,
.wpcf7-checkbox input[type="checkbox"]:checked,
span.wpcf7-list-item input[type="checkbox"]:checked {
  background-color: var(--nu-blue);
}

.wpcf7-form-control.wpcf7-submit.blue-arrow {
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  font-family: var(--bodyFont);
  font-weight: 300;
  background-color: transparent;
  background-image: url("img/orange-on-blue-arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}

.wpcf7-list-item {
  margin: 0;
  line-height: 1.25;
}

.wpcf7-acceptance .wpcf7-list-item {
  font-size: 15px;
}

.wpcf7-acceptance .wpcf7-list-item label {
  display: flex;
}

/* Submission Message */
.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #f90909;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: var(--nu-blue);
}

/* Validation Error Message */
.wpcf7-not-valid-tip {
  color: #f90909;
  font-size: 16px;
  font-weight: 300;
  display: block;
  margin-top: 3px;
}

/*
* ----------[SOCIAL SHARE SHORTCODE STYLES]--------*
*/
ul#sns-container {
  padding: 0;
}

.social-links-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.social-links-container .social-link {
  display: block;
  line-height: 0;
  width: 27px;
  height: 27px;
}

.social-links-container img.social-icon {
  width: 100%;
  height: 100%;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/*
* ----------[MEDIA QUERIES]--------*
*/
/* Mobile-responsive heading sizes */
@media screen and (max-width: 767px) {
  .biggest-header h1,
  .biggest-header h2,
  .biggest-header h3,
  .biggest-header h4,
  .biggest-header h5,
  .biggest-header-inline,
  h1 {
    font-size: var(--biggestFontMin);
  }
  .big-header-mobile h1 {
    font-size: var(--bigFontMax);
  }
  .big-header h1,
  .big-header h2,
  .big-header h3,
  .big-header h4,
  .big-header h5,
  .big-header-inline,
  h2 {
    font-size: var(--bigFontMin);
  }
  .medium-header h1,
  .medium-header h2,
  .medium-header h3,
  .medium-header h4,
  .medium-header h5,
  .medium-header-inline,
  h3 {
    font-size: var(--mediumFontMin);
  }
  .small-header h1,
  .small-header h2,
  .small-header h3,
  .small-header h4,
  .small-header h5,
  .small-header-inline,
  h4 {
    font-size: var(--smallFontMin);
  }
  .smallest-header h1,
  .smallest-header h2,
  .smallest-header h3,
  .smallest-header h4,
  .smallest-header h5,
  .smallest-header-inline,
  h5 {
    font-size: var(--smallestFontMin);
  }

  .faq-accordion .et_pb_toggle_close,
  .faq-accordion .et_pb_toggle_open {
    padding: 20px 0;
  }

  #error-page-menu .flex-row-center,
  #error-page-menu .custom-menu {
    flex-direction: column;
    gap: 15px;
  }
}

/* Desktop Styles */
@media screen and (min-width: 768px) {
  blockquote {
    font-size: 35px;
    line-height: 45px;
    margin: 20px 58px 42px !important;
  }

  .wpcf7-form .form-wrapper {
    gap: 15px;
    display: flex;
    flex-direction: column;
  }

  .wpcf7-form-control.wpcf7-text,
  .wpcf7-form-control.wpcf7-email,
  .wpcf7-form-control.wpcf7-select,
  .wpcf7-form-control.wpcf7-textarea {
    font-size: clamp(14px, 2.5vw, 18px);
    padding: 18px 31px;
  }

  .wpcf7-form-control.wpcf7-text::placeholder,
  .wpcf7-form-control.wpcf7-email::placeholder,
  .wpcf7-form-control.wpcf7-textarea::placeholder {
    font-size: clamp(14px, 2.5vw, 18px);
    opacity: 0.85;
  }

  .wpcf7-form-control.wpcf7-select {
    background-size: 42px 42px;
  }

  .wpcf7-form-control.wpcf7-textarea {
    max-height: 200px;
  }

  .wpcf7-form .name-fields {
    gap: 15px;
  }

  /* Error page menu: horizontal layout (desktop) */
  #error-page-menu .flex-row-center,
  #error-page-menu .custom-menu {
    flex-direction: row;
  }

  /* Back Button */
  #back-button {
    margin-right: 53px;
  }

  #error-page-menu .custom-menu {
    gap: 53px;
  }
}

@media screen and (min-width: 1280px) {
  .biggest-header h1,
  .biggest-header h2,
  .biggest-header h3,
  .biggest-header h4,
  .biggest-header h5,
  .biggest-header-inline,
  h1 {
    font-size: var(--biggestFontMax);
  }
  .big-header h1,
  .big-header h2,
  .big-header h3,
  .big-header h4,
  .big-header h5,
  .big-header-inline,
  h2 {
    font-size: var(--bigFontMax);
  }
  .medium-header h1,
  .medium-header h2,
  .medium-header h3,
  .medium-header h4,
  .medium-header h5,
  .medium-header-inline,
  h3 {
    font-size: var(--mediumFontMax);
  }
  .small-header h1,
  .small-header h2,
  .small-header h3,
  .small-header h4,
  .small-header h5,
  .small-header-inline,
  h4 {
    font-size: var(--smallFontMax);
  }
  .smallest-header h1,
  .smallest-header h2,
  .smallest-header h3,
  .smallest-header h4,
  .smallest-header h5,
  .smallest-header-inline,
  h5 {
    font-size: var(--smallestFontMax);
  }
}
