/*
 Theme Name:   Ron Noble
 Theme URI:    https://wordpress.org/themes/twentyninteen/
 Description:  Custom theme built for Ron Noble
 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:  ron-noble
*/




/* ========= COLOR REFERENCES ========= */
:root {
    --bg: #FAFAFA;
    --gold: #e7b104;
    --blue: #293154;
    --gray: #525252;
    --border: #D6D5D5;
}

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


/* ======== TABLE OF CONTENTS =========
	1. TYPOGRAPHY
	2. GLOBAL
	3. MAIN CONTENT
	- 3a. Hero Section
	- 3b. Form Section
	4. HOME CONTENT
	5. ABOUT CONTENT
	6. PRIORITIES CONTENT
	7. NEWS CONTENT
	8. ENDORSEMENT CONTENT
	9. JOIN US CONTENT
/* ==================================== */


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

h1,
.h1 {
    font-family: proxima-nova, sans-serif;
    font-weight: 700;
    font-size: 78px;
    letter-spacing: 0.12em;
    line-height: 1.35;
    color: white;
    text-transform: uppercase;
}

h2,
.h2 {
    font-family: adobe-garamond-pro, serif;
    font-style: italic;
    font-size: 37px;
    line-height: 1.08;
    color: var(--blue);
}

h3,
.h3 {
    font-family: proxima-nova, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.05;
    color: var(--blue);
}

h3 span {
    font-weight: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

p,
.p,
ul {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
}

a,
.anchor-theme {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
    text-decoration: none !important;
    transition: none;
    font-family: proxima-nova, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-transform: uppercase;
    border: none;
    background: none;
}

a:hover,
a:focus,
.anchor-theme:hover,
.anchor-theme:focus {
    color: var(--blue);
    font-style: italic;
}

header #logo_full_color {
    max-width: 114px;
    width: 100%;
    height: auto;
}

nav {
    max-width: 1325px;
    margin: 0 auto;
}

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

nav a {
    font-weight: 400;
}

nav li:last-child a span {
    color: white;
    background-color: var(--gold);
    font-weight: 700;
    border-radius: 17px;
    padding: 8px 17px;
}

.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(41,49,84, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-toggler {
    border-color: var(--blue);
}

.mobile-social {
    display: none;
}

.mobile-social.show {
    display: block;
    margin-top: 1rem;
}

.footer img {
    width: 80%;
    margin: 0 auto;
}

.footer .social-icon {
    height: 25px;
    width: 25px;
    font-size: 1.5em;
    line-height: 28px;
    color: white;
    background-color: var(--gold);
    border: 1px solid #fff;
    border-radius: 25px;
    padding: 10px;
}

.footer .social-icon:hover {
    background-color: var(--blue);
}

.footer .social-icon a {
    color: white;
}

.footer p {
    width: fit-content;
    border: 1px solid var(--gray);
    padding: 5px 10px;
}

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




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

html {
    font-size: 14px;
}

body {
    font-weight: normal;
    font-size: 14px;
    /* Adjust this on mobile to globally change P-tags :NOT H-tags) */
    color: var(--gray);
}

.sans {
    font-family: proxima-nova, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.35;
}

.serif {
    font-family: adobe-garamond-pro, serif;
    font-size: 16px;
    line-height: 1.375;
}

.white {
    color: white !important;
}

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

.desktop {
    display: block !important;
}

.mobile {
    display: none !important;
}

.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: none;
}

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

.f-700 {
    font-weight: 700;
    /* Bold */
}

.italic {
    font-style: italic;
}

.normal {
    font-style: normal;
}

section {
    position: relative;
}

img,
video {
    width: 100%;
}

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

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

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

.btn-yellow {
    background-color: var(--gold);
    color: white;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 17px;
    margin: 0 !important;
    padding: 8px 50px !important;
}

.bg-off-white {
    background: #FAFAFA;
}

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




/* ------------------------------ 
    3. Start Main Content
------------------------------ */
/*  - 3a. Hero Section  */
.splash {
    padding: 20% 15px 5% 15px;
}

/*  - 3b. Form Section  */
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
------------------------------ */




/* ------------------------------ 
    4. Start Home Content
------------------------------ */

.home .splash {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)), url("../../uploads/2021/12/1_hero.jpg") no-repeat center center;
    background-size: cover;
}

.home .body img {
    height: 327px;
    object-fit: cover;
}

.home .gfield:nth-child(2),
.home .gfield:nth-child(3),
.home .gfield:last-child,
.home .name_first,
.home .name_last,
.home .ginput_container {
    padding: 0 !important;
}

.home .name_first,
.home .name_last,
.home .ginput_container input {
    width: 100% !important;
}

.home .gfield:nth-child(2),
.home .gfield:nth-child(3),
.home .ginput_container {
    margin: 0 !important;
}

.name_first input,
.name_last input,
.ginput_container input,
.ginput_container textarea {
    background-color: var(--bg);
    border: 1px solid #D6D5D5;
    border-radius: 3px;
    padding: 8px 20px !important;
}

.name_first input::placeholder,
.name_last input::placeholder,
.ginput_container input::placeholder {
    color: var(--blue);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.name_first input:hover::placeholder,
.name_last input:hover::placeholder,
.ginput_container input:hover::placeholder,
.ginput_container textarea:hover::placeholder,
.gform_button:hover {
    font-style: italic;
}

.ginput_container textarea::placeholder {
    font-family: adobe-garamond-pro, serif;
    font-size: 16px;
    line-height: 1.375;
}

.home .name_first input,
.home .name_last input {
    margin: 8px 0 !important;
}

.gform_footer {
    display: flex;
    justify-content: flex-end;
    margin: 0 !important;
}

.gform_button {
    background-color: var(--gold);
    color: white;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 17px;
    margin: 0 !important;
    padding: 8px 50px !important;
}

.gform_button:active {
    background-color: #D0A009;
}

.district img {
    height: auto !important;
    width: 100%;
}


/* ------------------------------ 
    4. End Home Content
------------------------------ */




/* ------------------------------ 
    5. Start About Content
------------------------------ */

.page-template-page-about .img-row {
    margin: 30px 0;
}

.page-template-page-about .img-row [class*="col-"]:first-child {
    padding-left: 0;
}

.page-template-page-about .img-row [class*="col-"]:last-child {
    padding-right: 0;
}

.page-template-page-about .serif p {
    margin: 0;
}

/* ------------------------------ 
    5. End About Content
------------------------------ */





/* ------------------------------ 
    6. Start Priorities Content
------------------------------ */

.page-template-page-priorities .hero img {
    height: 475px;
    object-fit: cover;
}

.page-template-page-priorities .img-container {
    background-color: var(--blue);
    height: 157px;
}

.page-template-page-priorities .img-container img {
    margin: auto;
}

.page-template-page-priorities ul {
    padding-left: 10px;
}

.page-template-page-priorities .legislative-wins {
    background-color: var(--bg);
}

.page-template-page-priorities .legislative-wins ul {
    list-style-image: url('../../uploads/2021/12/star.png');
    margin-right: 12%;
    padding-left: 0;
}

.page-template-page-priorities .legislative-wins li::marker {
    font-size: 10px;
}

.page-template-page-priorities .legislative-wins li span {
    font-size: 1rem;
}

/* ------------------------------ 
    6. End Priorities Content
------------------------------ */




/* ------------------------------ 
    7. Start News Content
------------------------------ */

.page-template-page-news .splash {
    background: url("../../uploads/2021/12/4_hero.jpg") no-repeat center center;
    background-size: cover;
}

.news-articles {
    padding: 0 10%;
}

.news-articles h1 {
    font-size: 48px;
    text-transform: unset;
    letter-spacing: 0;
}

/* ------------------------------ 
    7. End News Content
------------------------------ */




/* ------------------------------ 
    8. Start Endorsements Content
------------------------------ */

.page-template-page-endorsements .splash {
    background: url("../../uploads/2021/12/5_hero.jpg") no-repeat center center;
    background-size: cover;
}

.page-template-page-endorsements hr {
    border-bottom: 1px solid var(--gold);
}

.page-template-page-endorsements .supporters-container .serif {
    line-height: 1.6875;
}

.page-template-page-endorsements ul {
    list-style: none;
    columns: 2;
    padding: 0;
}

.page-template-page-endorsements .gfield {
    -ms-grid-column-span: 6 !important;
    grid-column: span 6 !important;
}

.page-template-page-endorsements .last_name {
    grid-row: 2/1 span;
}

.page-template-page-endorsements .city {
    grid-row: 3/1 span;
}

.page-template-page-endorsements .message {
    grid-row: span 3;
}

.page-template-page-endorsements .message .small {
    height: 150px !important;
}

.page-template-page-endorsements label {
    font-family: adobe-garamond-pro, serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.375;
}

.page-template-page-endorsements .image-video-margin {
    position: relative;
    margin-top: -125px;
    padding-top: 150px;
    z-index: -100;
}

.page-template-page-endorsements .endorsement-content .quote p {
    font-family: inherit;
}

/* ------------------------------ 
    8. End Endorsements Content
------------------------------ */




/* ------------------------------ 
    9. Start Join Us Content
------------------------------ */

.page-template-page-join,
.page-template-page-endorsements {
    position: relative;
    overflow-x: hidden;
}

.page-template-page-join .splash {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)), url("../../uploads/2021/12/6_hero.jpg") no-repeat center center;
    background-size: cover;
}

.d-365 {
    display: none;
}

.gform_wrapper.gravity-theme .gform_fields {
    grid-column-gap: 30px !important;
}

input[type=checkbox] {
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    outline: none;
    content: none;
    background-color: transparent;
    border: none;
    padding: 0 0 0 14px !important;
}

input[type=checkbox]:before {
    font-family: "FontAwesome";
    content: "\f00c";
    font-size: 20px;
    color: transparent !important;
    background: var(--bg);
    display: block;
    width: 21px;
    height: 21px;
    border: 1px solid var(--border);
}

input[type=checkbox]:checked:before {
    color: var(--blue) !important;
}

.gform_wrapper.gravity-theme .gfield_checkbox label {
    margin-left: 14px;
}

.page-template-page-join .gform_body {
    margin-top: 30px;
}

.first_name,
.last_name,
.email_address,
.phone_number {
    grid-column: 1/4 span !important;
}

.address,
.city,
.state {
    grid-column: 5/4 span !important;
}

.address {
    grid-row: 1;
}

.city {
    grid-row: 2;
}

.state {
    grid-row: 3;
}

.phone_number,
.zip {
    -ms-grid-column-span: 4 !important;
    grid-column: span 4 !important;
}

.page-template-page-join .serif {
    grid-column: 9/4 span !important;
    grid-row: 1/4 span;
}

.gchoice:not(:first-child) {
    margin: 14px 0;
}

.page-template-page-join .gform_footer {
    justify-content: center;
}

.page-template-page-join .gform_button {
    margin-left: 7rem !important;
}

.page-template-page-join .gform_confirmation_message {
    text-align: center;
    margin-top: 10px;
}

/* ------------------------------ 
    9. End Join Us Content
------------------------------ */