/*
 Theme Name:   Ehrhardt Group Pascagoula
 Theme URI:    https://wordpress.org/themes/twentyninteen/
 Description:  Custom theme built for Ehrhardt Group Pascagoula
 Author:       
 Template:     twentynineteen
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  ehrhardt-group
*/

/* ========= COLOR REFERENCES ========= */
:root {
  --primary: #126988;
  --secondary: #0a3445;
  --tertiary: #a02113;
  --quaternary: #d89d61;
  --gray: #353535;
  --right-size: clamp(14px, 1.6vw, 20px);
}

/* ==================================== */

/* ======== TABLE OF CONTENTS =========
	1. TYPOGRAPHY
	2. GLOBAL
	3. MAIN CONTENT
	- 3a. Landing Page
	- 3a. About Page
/* ==================================== */

/* ------------------------------ 
    1. Start Typography
------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6,
a,
ul,
.btn,
button {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  margin: 0;
}

h1,
.h1 {
  font-size: 42px;
  line-height: 0.86;
}

h2,
.h2 {
  font-size: 24px;
  line-height: 1.1;
}

h3,
.h3 {
  font-size: 16px;
  line-height: 1.5;
}

p,
.p {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  line-height: 2;
  color: var(--black);
}

a,
.anchor-theme {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  text-decoration: none !important;
  transition: none;
  letter-spacing: 0.03em;
  line-height: 40px;
  color: white;
  border: none;
  background: none;
}

a:hover,
a:focus,
.anchor-theme:hover,
.anchor-theme:focus {
  color: white;
  font-weight: 700;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.nav-link {
  padding: 0.5rem;
}

nav a {
  border-bottom: 2px solid white;
}

nav .current-menu-item a {
  font-weight: 700;
  border-bottom: 2px solid var(--red);
}

/* ------------------------------ 
    1. End Typography
------------------------------ */

/* ------------------------------ 
    2. Start Global
------------------------------ */
@-ms-viewport {
  width: device-width;
}

html {
  font-size: 16px;
}

body {
  font-family: "source-sans-pro", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

header {
  position: absolute;
  z-index: 3;
  width: 100%;
  top: 0;
  left: 0;
}

.ls-100 {
  letter-spacing: 0.1em;
}

.white {
  color: white !important;
}

.red {
  color: var(--red) !important;
}

.blue {
  color: var(--blue) !important;
}

.desktop {
  display: block !important;
}

.mobile {
  display: none !important;
}

.fw-300 {
  font-weight: 300;
  /* Light */
}

.fw-400 {
  font-weight: 400;
  /* Regular */
}

.fw-700 {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.normal {
  font-style: normal;
}

section {
  position: relative;
}

.bg {
  background: var(--bg);
}

.bg-blue {
  background: var(--blue);
}

.bg-white {
  background: var(--white);
}

/* ------------------------------ 
    2. End Global
------------------------------ */

/* ------------------------------ 
    3. Start Main Content
------------------------------ */
/*  - 3a. Landing Page  */
.page-template-page-lp .splash {
  background: url("/wp-content/uploads/sites/43/2021/12/1_hero.jpg") no-repeat
    center center;
  background-size: cover;
  padding-bottom: 5%;
}

.page-template-page-lp .splash [alt*="logo"] {
  width: 80%;
  padding-top: 30%;
}

input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: var(--white);
}

input::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--white);
}

input:-ms-input-placeholder {
  /* IE 10+ */
  color: var(--white);
}

input:-moz-placeholder {
  /* Firefox 18- */
  color: var(--white);
}

/* ------------------------------ 
    3. End Main Content
------------------------------ */

/*text*/
.speak4-form__input,
#speak4-form-select--cf_ward option {
  color: var(--gray) !important;
  background-color: white !important;
}
/*dear city*/
.speak4-form__item--textarea {
  color: var(--gray);
  margin-bottom: 40px;
}

/* add space at the end of the textarea */
.speak4-form__item--textarea .speak4-form__input,
.speak4-form__input--message {
  box-sizing: border-box;
}

#speak4-form-select--cf_ward {
  padding: 0 16px !important;
}

/*ward label*/
.speak4-form .speak4-form__item .speak4-form__label--cf_ward {
  color: white !important;
}

.speak4-form__input {
  height: 30px !important;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8) !important;
}

.speak4-form__input:hover,
.speak4-form__input:focus {
  color: rgba(53, 53, 53, 0.7) !important;
  background-color: white !important;
}

.speak4-form__input:active {
  color: var(--gray) !important;
  background-color: white !important;
}

.speak4-form__input,
.speak4-embed__bread,
.speak4-form .speak4-form__item label {
  color: rgba(53, 53, 53, 0.5) !important;
  line-height: 1.33 !important;
}

.speak4-form__input {
  border: 1px solid var(--gray) !important;
}

.speak4-form__input.speak4-form__input--message,
.speak4-embed__bread {
  font-size: 0.75em !important;
}

.speak4-form__input.speak4-form__input--message {
  height: 334px !important;
}

.speak4-form__input:not(.speak4-form__input--message),
.speak4-embed__bread {
  padding: 16px !important;
}

.speak4-form__item:not(.speak4-form__item--toplabel)
  .speak4-form__input:focus
  ~ .speak4-form__label,
.speak4-form__item:not(.speak4-form__item--toplabel)
  .speak4-form__input--hasval
  ~ .speak4-form__label {
  background-color: white !important;
  top: -7px !important;
  transform: scale(0.75) !important;
}

.speak4-form__item--zipcode {
  flex: 1 !important;
}

.speak4-form__item.speak4-form__item--submit {
  margin: 10px 0;
}

.speak4-form__item--submit .speak4-form__btn {
  display: flex;
  height: 40px;
  font-weight: 700;
  min-width: 168px;
  max-width: 360px;
  margin-top: 60px;
  padding: 8px 20px 10px;
  align-items: center;
  gap: 10px;
  flex: 1 0 0;
  border-radius: 5px;
  background: var(--tertiary);
}

.speak4-form__item--submit .speak4-form__btn:disabled {
  background: var(--gray);
}

.speak4-form__item--submit .speak4-form__btn:hover,
.speak4-form__item--submit .speak4-form__btn:focus {
  background: var(--tertiary);
  box-shadow: 0px 3px 6px 0px rgba(21, 17, 48, 0.15);
}

.speak4-form__item--submit .speak4-form__btn:active {
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

.speak4-embed__confirmation p {
  color: white !important;
}

.hero-image-row {
  position: relative;
  top: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.hero-container img {
  height: 285px;
  width: auto;
}

.banner-box {
  background: var(--primary);
  display: inline-block;
  padding: 16px 32px;
  margin-bottom: 20px;
}
.headline {
  color: #fff;
  font-weight: 400;
  font-size: 42px;
  margin: 0;
  font-family: "Fugaz One", sans-serif;
  line-height: 0.86;
  font-style: normal;
}

.rightstack {
  position: relative;
  top: -5px;
  line-height: 0.86;
  font-size: 42px;
  color: #818181;
  white-space: nowrap;
}

.banner {
  position: absolute;
  width: 1000px;
  height: 152px;
  right: -622px;
  z-index: -1;
}

.bottom-bg {
  width: 100%;
  height: auto;
  background: linear-gradient(
      320deg,
      rgba(18, 105, 136, 0) 48.33%,
      var(--primary) 48.38%
    ),
    var(--secondary);
  padding: 80px 0;
}

li {
  color: #ffffff;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.d1 {
  font-size: 120px;
  font-style: normal;
  font-weight: 900;
  line-height: 85%; /* 102px */
  text-transform: uppercase;
}
