/*
 Theme Name:   Gary Miller
 Theme URI:    https://wordpress.org/themes/twentyninteen/
 Description:  Custom theme built for Gary Miller
 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:  miller-gary-wy
*/




/* ========= COLOR REFERENCES ========= */
:root {
    --red: #880723;
    --dusty-grey: #304251;
    --garamond: garamond-premier-pro, serif;
}

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


/* ======== TABLE OF CONTENTS =========
	1. TYPOGRAPHY
	2. COLORS
	3. GLOBAL
    4. MAIN CONTENT
	- 4a. Landing Page
	- 4b. About Page
    - 4c. Issues Page
    5. FORM
    6. PRIVACY POLICY
/* ==================================== */


/* ------------------------------ 
    1. Start Typography
------------------------------ */
.fw-400 {
    font-weight: 400;
}

.garamond-premier-pro {
    font-family: var(--garamond);
}

.bold-italic {
    font-weight: 700;
    font-style: italic;
}

.medium {
    font-weight: 500;
}

.garamond-bold-caption {
    font-family: garamond-premier-pro-caption, serif;
    font-weight: 700;
}

.garamond-medium-subhead {
    font-family: garamond-premier-pro-subhead, serif;
    font-weight: 500;
}


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

h1 {
    font-family: garamond-premier-pro-caption, serif;
    font-weight: 700;
    font-size: 3.7em;
    line-height: 0.75;
}

h2 {
    font-size: 35px;
}

h3 {
    font-size: 30px;
    font-family: var(--garamond);
    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.8rem !important;
    text-align: right;
}

nav a {
    color: #fff;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 18px;
}

nav a:hover {
    font-style: italic;
    color: #fff;
}

nav a:focus {
    font-weight: 700;
    font-style: normal;
}

nav .current-menu-item a {
    font-weight: 700;
}



/* ------------------------------ 
    2. Colors
------------------------------ */
.pg-background {
    background-color: var(--dusty-grey);
}

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

.bg-gray {
   background: #556470;
}



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

html {
    font-size: 16px;
}

body {
    font-family: var(--garamond);
    font-size: 18px;
    background-color: var(--dusty-grey);
    letter-spacing: 0.03em;
}

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

header .social-icon {
    margin-left: 15px;
}

section {
    position: relative;
}

img {
    width: 100%;
}

footer {
    position: relative;
}

footer p {
    opacity: 0.5;
}

.social-icon img {
    width: 30px;
}

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

.donate-btn:hover {
    font-style: normal !important;
    opacity: 0.9;
}

/* Global SPLASH */
.splash {
    position: relative;
    font-size: 35px;
}

.splash .container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.splash video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

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

.header-logo {
    width: 220px;
}

/* GLOBAL QUOTE BOX SECTION */
.quote-column {
    border-top: 1px solid rgba(255, 255, 255, 0.32);
    border-left: 1px solid rgba(255, 255, 255, 0.32);
    border-right: 1px solid rgba(255, 255, 255, 0.32);
    position: relative;
}

.quote-column p {
    font-size: 30px;
    padding-top: 50px;
    padding-bottom: 30px;
}

.quote-icon {
    position: absolute;
    width: 65px;
}

.quote-icon#top {
    top: -20px;
    left: 0;
}

.quote-icon#bottom {
    bottom: -20px;
    right: 0;
}

.attribution {
    position: absolute;
    width: 100%;
    bottom: -19px;
    left: 0px;
}

h3.attribution {
    flex-basis: auto;
}

.line {
    height: 1px;
    background-color: #fff;
    opacity: 0.32;
}

.line#before {
    width: 7%;
}

.line#after {
    flex-grow: 1;
}

/* general styles */
.framed-img {
    border: 5px solid #fff;
    box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.62);
}

.icon-column img {
    width: 60%;
    margin: 0 auto 30px auto;
    max-width: 210px;
}

.bullet-list {
    list-style: square outside url('/wp-content/uploads/sites/186/2022/06/check.png');
    font-family: var(--garamond);
    font-weight: 500;
    font-size: 18px;
}

.bullet-list li {
    padding-bottom: 10px;
}



/* ------------------------------ 
    4. Start Main Content
------------------------------ */
/*  - 4a. Landing Page  */
.page-template-page-lp .splash .container {
    min-height: 500px;
    padding-top: 100px;
}

.page-template-page-lp .form-section {
    margin-top: -80px;
}

.page-template-page-lp #form-container {
    border-radius: 20px;
    filter: drop-shadow(2px 3px 20px rgba(0, 0, 0, 0.36));
}

.page-template-page-lp .homepage-card {
    background-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 45px 10px 30px 10px;
    height: 100%;
}

.page-template-page-lp .homepage-card:hover {
    background-color: var(--red);
}

.page-template-page-lp a:focus .homepage-card {
    background-color: var(--red);
}

.page-template-page-lp .homepage-card img {
    width: 60%;
    padding-bottom: 20px;
}




/*  - 4b. About Page  */
.page-template-page-about .quote-img {
    position: absolute;
    left: 50%;
    height: 330px;
    width: auto;
    top: 0;
    transform: translate(22%);
    z-index: 1;
}

.page-template-page-about .bullet-list {
    columns: 2;
    column-gap: 70px;
    padding-top: 15px;
    font-size: 20px;
}




/*  - 4c. Issues Page  */
.page-template-page-issues .quote-img {
    position: absolute;
    left: 50%;
    height: 490px;
    /* height: 520px; */
    width: auto;
    top: 0;
    transform: translate(22%);
    z-index: 1;
}

.page-template-page-issues .quote-column p {
    font-size: 28px;
}

.page-template-page-issues .issue-card-row h2 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.36);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.page-template-page-issues .issue-card-row p {
    font-size: 24px;
}

.page-template-page-issues .lighter-text {
    color: rgba(255, 255, 255, 0.5);
}




/* ------------------------------ 
    5. Form
------------------------------ */
input::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #f5f5f5;
}

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

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

.gform_wrapper {
    padding: 20px 40px;
    /* margin: 0 auto; */
}

.ginput_container input {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-family: var(--garamond);
    font-weight: 500;
    border: none;
    border-radius: 10px;
    opacity: 0.8;
    text-align: center;
    padding: 15px 5px !important;
}

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

/* center the submit button */
.gform_wrapper.gravity-theme #field_submit {
    justify-content: center;
}

.gform_wrapper.gravity-theme #field_submit input {
    align-self: flex-start !important;
}

.gform-button {
    text-transform: uppercase;
    font-family: var(--garamond);
    font-weight: 700;
    background-color: var(--dusty-grey);
    color: white;
    border: none;
    border-radius: 5px;
    letter-spacing: 1px;
    padding: 15px 20px;
}

.gform_footer {
    width: fit-content !important;
    position: absolute;
    right: 0;
    top: 95px;
}

.gform_confirmation_message {
    color: white;
    text-align: center;
    margin: 30px 10px;
}




/* ------------------------------ 
   6. Privacy Policy
------------------------------ */

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

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