/*
Theme Name: Joe Hogan for Rep
Theme URI: http://www.hogan4rep.com/
Description: Custom theme for Joe Hogan for Rep
Author: Catch Digital Strategy
Author URI: http://www.catchdigitalstrategy.com/
Version: 1.0
*/

@import url('bootstrap/css/bootstrap.css');
@import url("https://use.typekit.net/dsj8lby.css");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");

html, body {
    height: 100%;
}

body {
    background: #fff;
    color: #333;
    font-family: "montserrat", sans-serif;
    font-weight: 400;
}

a, a:hover, a:focus {
    color: #223f80;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus {
    outline: none;
}

h1 {
    color: #ee334a;
    font-weight: 900;
    text-transform: uppercase;
}

h2, h3, h4 {
    color: #ee334a;
    font-weight: 800;
    text-transform: uppercase;
}

b, strong {
    color: #223f80;
    font-weight: 700;
}

small {
    font-size: 13px;
    line-height: 19.5px;
}

.text-justify {
    text-align: justify;
}

.date {
    position: relative;
    top: -8px;
    color: #9e9aad;
    text-transform: uppercase;
}

.hide, .hide a {
    display: none !important;
}

img {
    max-width: 100%;
}

figure > img, figure > a > img {
    width: auto;
    height: auto;
}

input[type=text], input[type=email], textarea, select {
    margin: 0;
    border: 1px solid #dadae5;
    border-radius: 0;
    padding: 10px;
    background: #fff;
    color: #333;
    font-size: inherit;
    -webkit-appearance: none;
}

textarea {
    height: 200px;
}

input[type=submit], button, .button, input[type=submit]:focus, button:focus, .button:focus {
    display: inline-block;
    margin: 0;
    border: 0px none;
    border-radius: 0;
    padding: 10px 30px;
    background: #ee334a;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
}

input[type=submit]:hover, button:hover, .button:hover {
    background: #223f80;
    color: #fff;
    text-decoration: none;
}

.more {
    border-bottom: 2px solid #ee334a;
    padding-bottom: 5px;
    color: #223f80;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
}

.more:hover {
    color: #ee334a;
    text-decoration: none;
}

/* HEADER */

#header {
    
}

#header #logo a {
    display: inline-block;
}

#header #menu .navbar {
    padding: 0;
}

#header #menu .navbar .navbar-nav li a {
    display: block;
    opacity: 1.0;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
}

#header #menu .navbar .navbar-nav li a:hover {
    color: #ee334a;
    text-decoration: none;
}

#header #social {
    overflow: hidden;
}

#header #social a {
    display: inline-block;
}

#header #social a img {
    filter: drop-shadow(0px 100px 0 #fff);
    transform: translateY(-100px);
    transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
}

#header #social a:hover img {
    filter: drop-shadow(0px 100px 0 #ee334a);
    transform: translateY(-100px);
}

#header .button:hover {
    background: #fff;
    color: #ee334a;
}

@media (min-width: 1400px) {
    #header #logo img {
        height: 100px;
    }
    #header #menu {
        font-size: 18px;
        line-height: 36px;
    }
    #header #menu .navbar .navbar-nav li a {
        padding: 0 15px 0 15px;
    }
    #header #social a {
        margin: 0 3px;
    }
    #header #social a img {
        width: 36px;
        height: 36px;
    }
    #header .button {
        margin-left: 20px;
        padding: 0 25px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    #header #logo img {
        height: 90px;
    }
    #header #menu {
        font-size: 15px;
        line-height: 32px;
    }
    #header #menu .navbar .navbar-nav li a {
        padding: 0 12px 0 12px;
    }
    #header #social a {
        margin: 0 2px;
    }
    #header #social a img {
        width: 32px;
        height: 32px;
    }
    #header .button {
        margin-left: 15px;
        padding: 0 20px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #header #logo img {
        height: 80px;
    }
    #header #menu {
        font-size: 12px;
        line-height: 28px;
    }
    #header #menu .navbar .navbar-nav li a {
        padding: 0 9px 0 9px;
    }
    #header #social a {
        margin: 0 1px;
    }
    #header #social a img {
        width: 28px;
        height: 28px;
    }
    #header .button {
        margin-left: 10px;
        padding: 0 15px;
    }
}

@media (min-width: 992px) {
    #header {
        position: absolute;
        width: 100%;
        z-index: 1000;
        padding: 20px;
        background: linear-gradient(to bottom, rgba(17,32,64,1.0) 0%, rgba(17,32,64,0.0) 100%);
    }
    #header #menu {
        padding: 10px;
    }
    #header #menu .navbar {
        float: right;
    }
    #header #menu .navbar .navbar-nav li ul {
        display: none;
    }
    #header #menu .navbar .navbar-nav li:hover ul {
        display: block;
        position: absolute;
        list-style: none;
        margin: 0;
        padding: 5px 0 5px 0;
        box-shadow: 1px 1px 2px 1px rgba(76, 78, 100, .25);
        background: #fff;
    }
    .home #header #menu .navbar .navbar-nav li a {
        color: #fff;
    }
    .home #header #menu .navbar .navbar-nav li a:hover {
        color: #ee334a;
    }
    #header #menu .navbar .navbar-nav li:hover ul li a {
        padding: 0 10px 0 10px;
        color: #4c4e64;
        font-size: 14px;
        line-height: 21px;
    }
}

@media (max-width: 991px) {
    #header {
        padding: 20px;
        background: #112040;
    }
    .home #header {
        background: #223f80;
    }
    #header #logo {
        text-align: center;
    }
    #header #logo img {
        height: 80px;
    }
    #header #logo img {
        position: relative;
        z-index: 1000;
    }
    #header #menu {
        font-size: 20px;
        line-height: 40px;
    }
    #header #menu .navbar {
        display: block;
        width: 100%;
        text-align: center;
    }
    #header #menu .navbar .navbar-toggler {
        margin-top: 0;
        margin-bottom: 0;
        border: 0px none;
        border-radius: 0;
        padding: 10px;
        background: transparent;
        font-size: 20px;
        line-height: 20px;
    }
    #header #menu .navbar .navbar-toggler:focus {
        background: transparent;
        box-shadow: none;
    }
    #header #menu .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    #header #menu .navbar .navbar-nav {
        margin-bottom: 0 !important;
        padding-top: 0px;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    #header #menu .navbar .navbar-nav li ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    #header #social {
        padding-bottom: 12px;
    }
    #header #social a {
        margin: 0 3px;
    }
    #header #social a img {
        width: 36px;
        height: 36px;
    }
    #header .button {
        display: block;
        padding: 0 25px;
    }
}

/* BANNER */

#banner {
    border-bottom: 10px solid #ee334a;
    position: relative;
    overflow: hidden;
    background: url('images/banner-page-01.jpg') 50% 0% no-repeat;
    -webkit-background-size: cover;
    -moz-backround-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#banner h1 {
    color: #fff;
}

#banner .gform_footer {
    padding-bottom: 0;
}

@media (min-width: 1400px) {
    #banner #spacer {
        height: 140px;
    }
    #banner h1 {
        font-size: 40px;
        line-height: 50px;
    }
    #banner #signup input {
        font-size: 20px;
        line-height: 30px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    #banner #spacer {
        height: 130px;
    }
    #banner h1 {
        font-size: 34px;
        line-height: 42.5px;
    }
    #banner #signup input {
        font-size: 18px;
        line-height: 27px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #banner #spacer {
        height: 120px;
    }
    #banner h1 {
        font-size: 28px;
        line-height: 35px;
    }
    #banner #signup input {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (min-width: 992px) {
    .home #banner {
	    position: relative;
	    overflow: hidden;
        background: url('images/banner-01.jpg') 50% 0% no-repeat;
        -webkit-background-size: cover;
        -moz-backround-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    #banner #content {
        margin: 5% 0;
    }
    .home #banner #content {
        margin: 20% 0;
    }
}

@media (max-width: 991px) {
    .home #banner {
        background: #223f80;
    }
    #banner #content {
        margin: 10% 0;
        padding: 0 20px;
    }
    .home #banner #content {
        margin: 0;
        padding: 20px;
    }
    #banner h1 {
        font-size: 28px;
        line-height: 35px;
    }
}

/* SIGNUP */

#banner #signup {
    padding-top: 10px;
}

#banner #signup .gform_footer input {
    width: 100%;
}

#banner .gfield_checkbox label {
    color: #fff;
}

.form-disclaimer {
    font-size: 10px;
    line-height: 15px;
}

#banner .form-disclaimer {
    color: #fff;
}

#banner .form-disclaimer a {
    color: #fff;
}

@media (min-width: 1400px) {
    #signup input {
        font-size: 20px;
        line-height: 30px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    #signup input {
        font-size: 18px;
        line-height: 27px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #signup input {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 991px) {
    #signup input {
        font-size: 16px;
        line-height: 24px;
    }
}

/* PANE */

#page {
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 992px) {
    .profile figure {
        width: 50%;
    }
}

@media (min-width: 1400px) {
    .pane {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .pane {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .pane {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (max-width: 991px) {
    .pane {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* POST */

@media (min-width: 1400px) {
    .post .entry {
        font-size: 20px;
        line-height: 30px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .post .entry {
        font-size: 18px;
        line-height: 27px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .post .entry {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 991px) {
    .post .entry {
        font-size: 16px;
        line-height: 24px;
    }
}

/* INTRO */

@media (min-width: 992px) {
    #intro {
        background-image: linear-gradient(90deg, rgba(34,63,128,0.1) 45%, #fff 0%);
    }
}

@media (max-width: 991px) {
    #intro {
        padding-left: 20px;
        padding-right: 20px;
    }
    #intro img {
        padding-bottom: 20px;
    }
}

/* CONTRIBUTE */

#contribute {
    padding: 40px 20px;
    background: #ee334a;
    color: #fff;
}

#contribute h2 {
    color: #fff;
}

#contribute .button {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 12px;
    padding-left: 0;
    padding-right: 0;
    background: #223f80;
    color: #fff;
    text-align: center;
}

#contribute .button:hover {
    background: #fff;
    color: #223f80;
}

@media (min-width: 1400px) {
    #contribute .button {
        font-size: 24px;
        line-height: 36px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    #contribute .button {
        font-size: 20px;
        line-height: 30px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #contribute .button {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (min-width: 992px) {
    #contribute-table {
        display: table;
        width: 100%;
    }
    #contribute-title {
        display: table-cell;
        width: 55%;
        padding-right: 30px;
        vertical-align: middle;
    }
    #contribute-amounts {
        display: table-cell;
        width: 45%;
        vertical-align: middle;
    }
}

@media (max-width: 991px) {
    #contribute {
        text-align: center;
    }
    #contribute h2 {
        padding-bottom: 10px;
    }
    #contribute .button {
        font-size: 20px;
        line-height: 30px;
    }
}

/* ABOUT */

#about {
    color: #fff;
}

#about h1, #about h2, #about h3, #about h4, #about b, #about strong, #about a, #about .more {
    color: #fff;
}

#about b span, #about strong span, #about .more:hover {
    color: #ee334a;
}

@media (min-width: 992px) {
    #about {
        background-image: linear-gradient(90deg, rgba(34,63,128,1.0) 55%, #fff 0%);
    }
}

@media (max-width: 991px) {
    #about {
        padding-left: 20px;
        padding-right: 20px;
        background: #223f80;
    }
    #about img {
        padding-top: 20px;
    }
}

/* FOOTER */

#footer {
    padding: 40px 0 40px 0;
    background: #ee334a;
    color: #fff;
    text-align: center;
}

#footer a {
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
}

#footer a:hover {
    color: #223f80;
}

#footer #disclaimer {
    display: inline-block;
    border: 1px solid #fff;
    padding: 10px 20px;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#footer #legal {
    padding-top: 30px;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (min-width: 1400px) {
}

@media (min-width: 1200px) and (max-width: 1399px) {
}

@media (min-width: 992px) and (max-width: 1199px) {
}

@media (min-width: 992px) {
}

@media (max-width: 991px) {
    #footer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* VIDEO */

div.video {
	position: relative;
	padding-top: 0px;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

div.video iframe, div.video object, div.video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media only screen and (max-device-width: 700px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 700px), only screen and (max-width: 767px) {
	div.video { padding-top: 0; }
}

/* GRAVITY FORMS */

.gform_wrapper.gravity-theme form .gfield_label {
    margin-bottom: 4px;
    font-weight: 400;
}

.gform_wrapper.gravity-theme .gform_footer {
    text-align: center;
}

.gform_wrapper.gravity-theme .gform_footer input {
    margin: 0px auto;
}

.gform_wrapper.gravity-theme form .gfield_required {
    color: #ee334a;
    font-size: inherit;
}

.gform_required_legend {
    display: none;
}

#gf_form_focus:focus-visible, .gform_validation_errors:focus-visible, .gform_fields:focus-visible {
    outline: 0;
}

.gform_wrapper.gravity-theme .gform_validation_errors {
    background: #fff !important;
    margin-bottom: 20px !important;
    border: 1px solid #ee334a !important;
    box-shadow: none !important;
}

.gform_wrapper.gravity-theme .gform_validation_errors > h2 {
    color: #ee334a !important;
    font-weight: 700 !important;
    letter-spacing: 0;
}

.gform_wrapper.gravity-theme form .description, .gform_wrapper.gravity-theme form .gfield_description, .gform_wrapper.gravity-theme form .gsection_description, .gform_wrapper.gravity-theme form .instruction {
    padding: 2px 0;
    font-size: 12px;
}

.gform_wrapper.gravity-theme form .gform_body .gfield_error label {
    color: inherit;
}

.gform_wrapper.gravity-theme form .gfield_error [aria-invalid="true"] {
    border: 1px solid #dbdbdb;
}

.gform_wrapper.gravity-theme form .gfield_error .gfield_repeater_cell label, .gform_wrapper.gravity-theme form .gfield_error label, .gform_wrapper.gravity-theme form .gfield_error legend, .gform_wrapper.gravity-theme form .gfield_validation_message, .gform_wrapper.gravity-theme form .validation_message, .gform_wrapper.gravity-theme form [aria-invalid="true"] + label, .gform_wrapper.gravity-theme form label + [aria-invalid="true"] {
    color: #ee334a;
}

.gform_wrapper.gravity-theme form .gfield_validation_message, .gform_wrapper.gravity-theme form .validation_message {
    margin: 0;
    border: 0px none;
    padding: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.wpcf7-form-control .captcha-image {
    width: 100%;
    border: 0px none;
}

.wpcf7-form-control .captcha-image .captcha_instructions span {
    text-transform: lowercase;
}

/* COLUMNS */

@media (min-width: 600px) and (max-width: 781px) {
    .entry .wp-block-column:not(:only-child) {
        flex-basis: 100% !important;
        flex-grow: 1;
    }
    .entry .wp-block-column:nth-child(2n) {
        margin-left: 0;
    }
}

/* IMAGES */

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

@media (min-width: 992px) {
    .entry .wp-block-image .alignleft {
        margin: 15px 20px 10px 0;
    }
    .entry .wp-block-image .alignright {
        margin: 15px 0 10px 20px;
    }
	img.alignleft {
        margin: 10px 20px 10px 0;
    }
	img.alignright {
        margin: 10px 0 10px 20px;
    }
}

@media (max-width: 991px) {
    .entry .wp-block-image .alignleft {
        float: none;
        display: block;
        margin: 10px auto;
        text-align: center;
    }
    .entry .wp-block-image .alignright {
        float: none;
        display: block;
        margin: 10px auto;
        text-align: center;
    }
	img.alignleft {
        float: none;
        display: block;
        margin: 10px auto;
    }
	img.alignright {
        float: none;
        display: block;
        margin: 10px auto;
    }
}

img.aligncenter {
    display: block;
    margin: 0px auto;
}

.clear {
    clear: both;
}