/*
 Theme Name:   Paul Harris
 Theme URI:    https://wordpress.org/themes/twentyninteen/
 Description:  Custom theme built for Paul Harris
 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:  harris-wa-lp
*/

/* ========= COLOR REFERENCES ========= */
:root {
  --blue: #00aeef;
  --charcoal: #231f20;
  --yellow: #fcda00;
  --red: #d71920;
}

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

/* ------------------------------ 
    Backgrounds and colors
------------------------------ */
.red {
  color: var(--red);
}

.charcoal {
  color: var(--charcoal);
}

/* ------------------------------ 
    Typography
------------------------------ */

.expressway-book {
  font-family: expressway, sans-serif;
  font-weight: 500;
  font-style: normal;
}

.expressway-extrabold {
  font-family: expressway, sans-serif;
  font-weight: 800;
  font-style: normal;
}

h3 {
  font-size: 30px;
}

p {
  font-family: expressway, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 34px;
}

.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;
}

/* ------------------------------ 
    Global Elements
------------------------------ */
@-ms-viewport {
  width: device-width;
}

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: expressway, sans-serif;
  overflow-x: hidden;
}

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

section {
  position: relative;
}

img {
  width: 100%;
}

footer {
  height: 250px;
  background-color: var(--charcoal);
  padding-top: 55px;
  position: relative;
}

footer .donate-button {
  position: absolute;
  top: -20px;
}

a,
.anchor-theme {
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  color: white;
  border: none;
  background: none;
}

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

a.red:hover {
  color: var(--charcoal);
}

a.nav-link {
  color: var(--charcoal);
  font-size: 20px;
}

a.nav-link.current {
  color: var(--charcoal);
  font-weight: 700;
}

/* nav */
.navbar-toggler {
  border-color: white !important;
  background-color: #252f38 !important;
  border-radius: 0.25rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg%27%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ------------------------------ 
    Button styles
------------------------------ */
/* gravityform button styles should be in the form styling section */
.gform_button,
button {
  font-family: expressway, sans-serif;
  font-weight: 800;
  color: var(--charcoal);
  background-color: var(--yellow);
  line-height: 34px;
  font-size: 30px;
  text-transform: uppercase;
  border: none;
  padding: 3px 15px;
  transition: all 0.3s ease-in-out;
}

button:hover,
button:focus {
  outline: none;
  border: none;
  /* opacity: 0.7; */
  background-color: var(--charcoal);
  color: #fff;
}

button:active {
  outline: none;
  border: none;
  opacity: 1;
}

/* ------------------------------ 
    Main Content
------------------------------ */

.fit-content {
  width: fit-content;
}

.logo {
  width: 103px;
  height: auto;
}

.yellow-overlay {
  background-color: var(--yellow);
  height: 100%;
  opacity: 0.4;
  position: absolute;
  top: 0;
  left: 0;
}

.splash {
  padding: 100px 0 80px 0;
  position: relative;
  background: url("/wp-content/uploads/2022/04/1_d_BG.png") no-repeat;
  background-size: cover;
  background-position: center center;
  font-size: 24px;
}

.splash h1 {
  line-height: 1;
  font-size: 4.7em;
}

.splash h2 {
  font-size: 3.4em;
  line-height: 0.5;
}

.splash h4 {
  font-size: 1em;
}

.middle-section h1,
.middle-section .h1 {
  font-size: 55px;
  line-height: 1;
  /* padding-top: 45px; */
}

.middle-section h2 {
  font-size: 30px;
}

.sky {
  position: absolute;
  z-index: -1;
  opacity: 0.3;
}

.landscape {
  margin-top: -120px;
}

.line {
  height: 3px;
  flex: 1;
  background-color: var(--red);
}

.line.yellow {
  background-color: var(--yellow);
}

.card-icon {
  height: 60px;
  width: auto;
}

#popupModal {
  background-color: rgba(0, 0, 0, 0.5);
}

#popupModal .modal-content {
  background-color: transparent;
  border: none;
}

#popupModal .modal-header {
  border-bottom: none;
  padding: 0;
}

#popupModal .modal-header .close {
  color: var(--red);
  font-size: 30px;
  opacity: 1;
  text-shadow: none;
}

#popupModal .modal-header .close:hover {
  background-color: transparent;
  color: #fff;
}

.link-red {
  color: var(--red);
  font-size: 20px;
  font-weight: 800;
  text-decoration: underline;
}

.link-red:hover {
  color: var(--red);
  text-decoration: none;
}

/* ------------------------------ 
    Endorsement Page
------------------------------ */
.page-template-page-endorsements .splash {
  padding: 300px 0 0 0;
  position: relative;
  background: url("/wp-content/uploads/2024/07/2_hero.jpg") no-repeat;
  background-size: cover;
  background-position: center center;
}

.page-template-page-endorsements h1,
.page-template-page-endorsements .h1 {
  font-size: 83px;
  line-height: 1;
}

.page-template-page-endorsements h2 {
  font-size: 30px;
}

.page-template-page-endorsements .p {
  font-size: 18px;
}

/* ------------------------------ 
    Form Styling
------------------------------ */
h4.form-title {
  top: 25px;
}

h4.form-title:before {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  left: 0;
  border-bottom: 3px solid var(--red);
  height: 3px;
  max-width: 50px;
  width: 100%;
}

h4.form-title:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  bottom: 0;
  border-bottom: 3px solid var(--red);
  height: 3px;
  max-width: 50px;
  width: 100%;
}

.gform_wrapper {
  padding: 30px 20px 0 20px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  border-right: 3px solid var(--red);
}

.gform_wrapper.gravity-theme .gform_footer,
.gform_wrapper.gravity-theme .gform_page_footer {
  margin: 6px 0 0;
  padding: 0 !important;
  position: relative;
  top: 25px;
}

input::-webkit-input-placeholder,
input::-moz-placeholder,
input:-ms-input,
input:-moz-placeholder {
  color: var(--charcoal);
}

.gform_confirmation_message {
  margin-bottom: 15px !important;
  color: var(--charcoal);
}

.ginput_container input {
  border: none;
  color: var(--charcoal);
  font-weight: 500;
  font-family: expressway, sans-serif;
  font-style: normal;
  font-size: 20px;
}

.ginput_container input::placeholder {
  color: var(--charcoal);
  font-weight: 500;
  font-family: expressway, sans-serif;
  font-style: normal;
  font-size: 20px;
}

.ginput_container input:hover,
.ginput_container input:focus,
.ginput_container input:active {
  outline: none;
  border: none;
}

.gform_footer {
  width: 100% !important;
  justify-content: center;
}

/* .gform_button:before {
    content: '';
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    border-bottom: 3px solid var(--red);
    height: 3px;
    max-width: 50px;
    width: 100%;
} */

/* .gform_button:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    bottom: 0;
    border-bottom: 3px solid var(--red);
    height: 3px;
    max-width: 50px;
    width: 100%;
} */

.gform_button:hover {
  opacity: 0.95;
}

/* ------------------------------ 
    Privacy Policy
------------------------------ */

.page-template-page-privacypolicy header {
  display: none;
}

.page-template-page-privacypolicy .main-content {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 100px;
  padding: 10px;
}

.page-template-page-privacypolicy .main-content h1 {
  font-size: 4em;
  font-style: normal;
}

.page-template-page-privacypolicy .main-content p,
.page-template-page-privacypolicy .main-content a {
  font-size: 1.5em;
}

.privacy-policy-link {
  color: #fff;
}
