/*
 Theme Name:   Ron Oler
 Theme URI:    https://wordpress.org/themes/twentyninteen/
 Description:  Custom theme built for Ron Oler
 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:  oler-in-lp
*/




/* ========= COLOR REFERENCES ========= */
:root {
    --red: #980C22;
    --text-blue: #002242;
    --bg-blue: #04315D;
    --text-grey: #707172;
    --text-lightgrey: #DEDEDE;
}

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


/* ------------------------------ 
    Backgrounds and colors
------------------------------ */
.bg-table {
    background: url("/dejilah/sites/528/2023/09/1_body_bkg.jpg") no-repeat;
    background-size: cover;
    background-position: center center;
    /* padding: 55px 0; */
}

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

.bg-gradient-blue {
    background: linear-gradient(95deg, rgba(0, 1, 40, 1) 0%, rgba(4, 49, 93, 1) 50%);
}

.text-grey {
    color: var(--text-grey);
}

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

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

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

.arno-pro-regular {
    font-family: "arno-pro", serif;
    font-weight: 400;
    font-style: normal;
}

.arno-pro-italic {
    font-family: "arno-pro", serif;
    font-weight: 400;
    font-style: italic;
}

.arno-pro-semibold {
    font-family: "arno-pro", serif;
    font-weight: 600;
    font-style: normal;
}

.arno-pro-semibold-italic {
    font-family: "arno-pro", serif;
    font-weight: 600;
    font-style: italic;
}

.arno-pro-bold {
    font-family: "arno-pro", serif;
    font-weight: 700;
    font-style: normal;
}

.acumin-pro-condensed {
    font-family: "acumin-pro-condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1,
.h1 {
    line-height: 0.8;
    font-size: 87px;
    text-transform: uppercase;
}

h1 .larger {
    /* font-size: 163px; */
    font-size: 1.87356322em;
}

h2,
.h2 {
    font-size: 32px;
}

h3,
.h3 {
    font-family: "arno-pro", serif;
    font-weight: 400;
    letter-spacing: 0.04em;
    font-size: 20px;
}

p {
    font-size: 21px;
    line-height: 28px;
    font-family: "acumin-pro-condensed", sans-serif;
    font-weight: 400;
}

.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: "arno-pro", serif;
    font-weight: 400;
    overflow-x: hidden;
}

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

section {
    position: relative;
}

img {
    width: 100%;
}

a,
.anchor-theme {
    text-decoration: none !important;
    /* transition: none; */
    /* color: white; */
    border: none;
    background: none;
}

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

.btn-donate {
    font-family: "arno-pro", serif;
    font-weight: 600;
    font-size: 19px;
    color: #fff;
    background-color: var(--red);
    border-radius: 5px;
    text-transform: uppercase;
    padding: 10px 30px;
    line-height: 1;
    transition: all 300ms linear;
}

.btn-donate:hover {
    background-color: var(--bg-blue);
    color: #fff;
    text-decoration: none;
}


/* ------------------------------ 
    Main Content
------------------------------ */
.splash {
    background: url("/dejilah/sites/528/2023/09/1_body_bkg.jpg") no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 550px;
    height: 60vw;
}

.ribbon {
    left: 0;
    top: 0;
    z-index: 2;
    width: 50px;
}

.book-contents {
    z-index: 1;
    top: 30px;
    left: 0;
}

.right-page .book-photo {
    width: 50%;
}

.book-contents .republican-ron-oler {
    max-width: 445px;
    width: 55%;
}

.book-contents h3 {
    font-size: 28px;
    max-width: 130px;
}

.book-contents .header-logo {
    width: 150px;
}

.book-contents .social-icon {
    width: 20px;
}

.book-contents .form-box {
    max-width: 255px;
    margin: 0 auto;
    background-color: #fff;
    -webkit-box-shadow: 3px 3px 5px 1px rgba(112, 113, 114, 0.3);
    -moz-box-shadow: 3px 3px 5px 1px rgba(112, 113, 114, 0.3);
    box-shadow: 3px 3px 5px 1px rgba(112, 113, 114, 0.3);
}

.book-contents .form-box p {
    font-family: "arno-pro", serif;
    font-weight: 400;
    line-height: 1;
    font-size: 18px;
}

.scene {
    width: 50%;
    margin: 0 0 0 50%;
    perspective: 1000px;
    /* height: 100%; */
}

.book {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.page {
    position: absolute;
    width: 100%;
    height: 100%;

    transition: 1.5s transform;
    transform: translateZ(-1px);
    transform-style: preserve-3d;
    transform-origin: left center;
}

.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    backface-visibility: hidden;
}

.back {
    transform: rotateY(180deg);
}

.page.active {
    z-index: 1;
    transform: translateZ(0);
}

.page.flipped {
    transform: translateZ(0) rotateY(-180deg);
}

.page.flipped:last-of-type {
    z-index: 1;
}


/* CARD SECTION */
/* .card-section {
    min-height: 550px;
} */

.card {
    border-radius: 0px;
    padding: 15px 5px 10px 5px;
    min-height: 275px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-icon.calculator {
    width: 87px;
}

.card-icon.growth-curve {
    width: 110px;
}

.card-icon.police-badge {
    width: 83px;
}

.card-icon.handshake {
    width: 150px;
}

.social-icon {
    width: 30px;
}

.right-pointing-triangle::after {
    content: "\25B6 \FE0E";
    color: #707172;
    font-size: 11px;
}

.btn-expand-card {
    border: none;
    background-color: transparent;
    text-transform: uppercase;
    color: var(--text-grey);
    font-family: "acumin-pro-condensed", sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.btn-expand-card:focus {
    outline: none;
}





/* ------------------------------ 
    Form Styling
------------------------------ */

.gform_confirmation_message {
    margin-bottom: 15px !important;
    /* color: #fff; */
    text-align: center;
}

.gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 0px !important;
}

.ginput_container input {
    font-family: "acumin-pro-condensed", sans-serif;
    font-weight: 400;
    font-size: 17px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #707070;
    text-align: center;
}

.ginput_container input:focus,
.ginput_container input:active {
    border-color: #04315D;
}

.gform_wrapper.gravity-theme .gform_footer {
    justify-content: center;
    padding-bottom: 0 !important;
}

.gform_button {
    text-transform: uppercase;
    color: var(--red);
    background-color: transparent;
    border: none;
    transition: all 200ms linear;
}

.gform_button:hover {
    color: #000;
    text-decoration: underline;
}


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

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

.page-template-page-privacypolicy h1 {
    font-size: 40px;
}