/*
 Theme Name:   Ohio Works
 Theme URI:    https://wordpress.org/themes/twentyninteen/
 Description:  Custom theme built for Ohio Works
 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:  ohioworks-oh-micro
*/

/* ========= COLOR REFERENCES ========= */
:root {
  --grey: #f5f5f5;
  --blue: #004b8c;
  --red: #d61e08;
  --greytext: #6c6c6c;
  --placeholder-text: #777777;
}

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

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

/* ------------------------------ 
    1. Start Typography
------------------------------ */
.arboria {
  font-family: "arboria", sans-serif;
  font-weight: 400;
}

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

/*  medium */
.fw-500 {
  font-weight: 500;
}

/*  bold */
.fw-700 {
  font-weight: 700;
}

/* black */
.fw-900 {
  font-weight: 900;
}

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

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

h1,
.h1 {
  font-weight: 900;
  font-size: 80px;
  line-height: 0.9;
  margin-block-end: 0;
}

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

h3,
.h3 {
  /* font-size: 26px; */
  font-size: 29px;
  line-height: 40px;
}

p,
.p {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  font-size: 18px;
  line-height: 30px;
  color: #6c6c6c;
}

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

/* ------------------------------ 
    2. Nav
------------------------------ */
a,
.anchor-theme {
  color: var(--blue);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  background: none;
  border: none;
  transition: all 200ms linear;
}

a:hover,
a:active,
a:focus {
  color: var(--red);
  font-weight: 700;
}

.nav-link {
  padding: 0.5rem 20px !important;
}

/* header .navbar-nav {
    text-align: right;
} */

nav a {
  color: var(--blue);
  font-size: 22px;
  text-decoration: none;
  transition: color 300ms;
}

nav a:hover,
nav a:focus,
nav a:active {
  color: var(--red);
}

nav .current-menu-item a {
  font-weight: 700;
  color: var(--red);
}

.navbar-toggler {
  border-color: var(--blue);
  padding: 0.1rem 0.6rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: var(--blue);
  border-radius: 0.25rem;
  width: 60px;
}

.page-template-page-home .navbar-toggler {
  border-color: white;
  background-color: transparent;
}

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

.btn-red,
.nav-donate-btn span {
  font-size: 30px;
  line-height: 1;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  background-color: var(--red);
  padding: 2px 15px 5px 15px;
  transition: all 200ms linear;
}

.btn-red:hover,
.nav-donate-btn span:hover {
  background-color: var(--blue);
  text-decoration: none;
  color: #fff;
  font-weight: 900;
}

.btn-red:active,
.nav-donate-btn span:active {
  background-color: var(--red);
  color: #fff;
}

/* ------------------------------ 
    3. Start Global
------------------------------ */

@-ms-viewport {
  width: device-width;
}

html {
  font-size: 16px;
}

body {
  font-family: "arboria", sans-serif;
  font-weight: 400;
  font-size: 16px;
}

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

section {
  position: relative;
}

img {
  width: 100%;
}

button:hover,
button:focus {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

video {
  max-width: 100%;
}

.marginblock-0 {
  margin-block-end: 0 !important;
}

.logo {
  max-width: 350px;
}

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

.bg-grey {
  background-color: #f5f5f5;
}

.f-blue {
  color: var(--blue);
}

.f-red {
  color: var(--red);
}

.f-grey {
  color: #6c6c6c;
}

.f-darkGray {
  color: var(--placeholder-text);
}

.spacer {
  height: 100px;
}

/* ------------------------------ 
    4. Start Main Content
------------------------------ */
/*  - 4a. Landing Page  */

.page-template-page-home .splash {
  background: url("/wp-content/uploads/sites/235/2024/04/1_hero_d.jpg")
    no-repeat center center;
  background-size: cover;
  min-height: 80vh;
  /* padding-bottom: 0; */
}

.page-template-page-lp .splash .profile {
  border: 1px solid #fff;
  width: 204px;
  height: 221px;
  object-fit: cover;
  margin-right: 20px;
}

/*  - 4b. About Page  */
.page-template-page-about .splash {
  background: url("/wp-content/uploads/sites/235/2024/04/2_hero_d.jpg")
    no-repeat center center;
  background-size: cover;
  min-height: 80vh;
}

/*  - 4c. Media Page  */
.red-divider {
  height: 8px;
  width: 100%;
  background-color: var(--red);
}

.article-post p {
  font-size: 20px;
}

.read-more {
  color: var(--red);
  font-size: 20px;
  text-decoration: underline;
  transition: all 200ms linear;
}

.read-more:hover {
  color: var(--blue);
}

/*  - 4d. Facts Page  */
.hero-state-img {
  max-width: 255px;
}

/*  - 4e. dark money Page  */
.spreadsheet-btn {
  max-width: 255px;
}

/*  - 4f. no on one  */

.org-logo-card {
  height: 150px;
}

.org-logo {
  height: 100px;
  width: 95%;
  object-fit: contain;
}

.leader-photo {
  width: 165px;
  height: 178px;
  object-fit: cover;
  border: 2px solid #fff;
  position: absolute;
  left: 37%;
  top: 20%;
}

.leader-section .ohio-state {
  width: 190px;
}

/* ------------------------------ 
    5. Video Embed
------------------------------ */
.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%;
}

/* ------------------------------ 
    6. Form
------------------------------ */

input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #777777;
}

input::-moz-placeholder {
  /* Firefox 19+ */
  color: #777777;
}

input:-ms-input-placeholder {
  /* IE 10+ */
  color: #777777;
}

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

.ginput_container input::placeholder {
  color: var(--placeholder-text);
}

#gform_1 .gform_fields {
  row-gap: 10px;
}

#gform_1 .ginput_container input {
  border: none;
}

#gform_1 .gform_footer {
  justify-content: center;
}

#gform_1 #gform_submit_button_1 {
  font-weight: 900;
  font-family: "arboria", sans-serif;
  background-color: #fff;
  color: var(--red);
  border: none;
  font-size: 30px;
  text-transform: uppercase;
  padding-bottom: 3px;
  transition: background-color 200ms;
}

#gform_1 #gform_submit_button_1:hover {
  background-color: var(--blue);
  color: #fff;
}

#gform_submit_button_1:active,
#gform_submit_button_1:focus {
  background-color: #fff;
  color: var(--red);
}

#gform_1_validation_container {
  background-color: white;
}

.gform_confirmation_message {
  color: #fff !important;
  text-align: center !important;
}

/* Privacy Policy */
.disclaimer {
  color: var(--placeholder-text);
}

.privacy-policy-link {
  color: var(--placeholder-text);
}
