/*
Theme Name: JCD Consulting
Theme URI: https://www.jcdconsulting.net
Description: Custom theme for JCD Consulting
Author: Catch Digital Strategy
Author URI: https://www.catchdigitalstrategy.com
Version: 1.0
*/

@import url('bootstrap/css/bootstrap.css');
@import url("https://use.typekit.net/hwb6ues.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: "greycliff-cf", sans-serif;
    font-weight: 400;
}

a, a:hover, a:focus {
    color: #ba2025;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus {
    outline: none;
}

h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

h1 {
    color: #050708;
}

h2, h3, h4 {
    color: #ba2025;
}

h1 span {
    color: #ba2025;
}

h2 span, h3 span, h4 span {
    color: #050708;
}

b, strong {
    font-weight: 700;
}

small {
    font-size: 12px;
    line-height: 18px;
}

.post {
    padding-bottom: 20px;
}

.text-justify {
    text-align: justify;
}

.date {
    position: relative;
    top: -8px;
    color: #999;
    letter-spacing: 0.5px;
    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], input[type=tel], textarea, select {
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0;
    padding: 10px !important;
    background: rgba(242, 242, 242, 0.75);
    color: #333;
    font-size: inherit;
    -webkit-appearance: none;
}

textarea {
    height: 200px;
}

input[type=submit], .gform_wrapper button, .button, input[type=submit]:focus, .gform_wrapper button:focus, .button:focus {
    display: inline-block;
    margin: 0;
    border: 1px solid #ba2025;
    border-radius: 0;
    padding: 10px 30px;
    background: transparent;
    color: #ba2025;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    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;
}

input[type=submit]:hover, .gform_wrapper button:hover, .button:hover {
    border: 1px solid #ba2025;
    background: #ba2025;
    color: #fff;
    text-decoration: none;
}

/* HEADER */

#header {
    background: #050708;
    position: relative;
    z-index: 1000;
}

#header #logo a {
    display: inline-block;
}

#header #menu .navbar {
    padding: 0;
}

#header #menu .navbar .navbar-nav li a {
    display: block;
    opacity: 1.0;
    border: 1px solid rgba(5, 7, 8, 0.0);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    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: #ba2025;
    text-decoration: none;
}

#header #menu .navbar .navbar-nav li.contact a {
    display: block;
    border: 1px solid #ba2025;
    background: #ba2025;
    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;
}

#header #menu .navbar .navbar-nav li.contact a:hover {
    background: #050708;
    color: #fff;
    text-decoration: none;
}

@media (min-width: 1400px) {
    #header #logo img {
        height: 36px;
    }
    #header #menu {
        
    }
    #header #menu .navbar .navbar-nav li a {
        padding: 0 12.5px 0 12.5px;
        font-size: 18px;
        line-height: 34px;
    }
    #header #menu .navbar .navbar-nav li.contact {
        padding-left: 12.5px;
    }
    #header #menu .navbar .navbar-nav li.contact a {
        padding: 0 20px 0 20px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    #header #logo img {
        height: 32px;
    }
    #header #menu {
        
    }
    #header #menu .navbar .navbar-nav li a {
        padding: 0 10px 0 10px;
        font-size: 16px;
        line-height: 30px;
    }
    #header #menu .navbar .navbar-nav li.contact {
        padding-left: 10px;
    }
    #header #menu .navbar .navbar-nav li.contact a {
        padding: 0 15px 0 15px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #header #logo img {
        height: 28px;
    }
    #header #menu {
        
    }
    #header #menu .navbar .navbar-nav li a {
        padding: 0 7.5px 0 7.5px;
        font-size: 14px;
        line-height: 26px;
    }
    #header #menu .navbar .navbar-nav li.contact {
        padding-left: 7.5px;
    }
    #header #menu .navbar .navbar-nav li.contact a {
        padding: 0 10px 0 10px;
    }
}

@media (min-width: 992px) {
    #header {
        padding: 20px 0 20px 0;
    }
    .page-template-index #header {
        /* background: transparent; */
        background: linear-gradient(to bottom,  rgba(5,7,8,0.875) 0%,rgba(5,7,8,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    }
    .page-template-index #header .contact a {
        /* background: rgba(5, 7, 8, 0.5); */
    }
    #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;
    }
    #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: 15px;
    }
    #header #logo {
        padding-left: 10px;
    }
    #header #logo img {
        height: 24px;
    }
    #header #logo img {
        position: relative;
        z-index: 1000;
    }
    #header #menu {
        margin-top: -41px;
    }
    #header #menu .navbar {
        display: block;
        width: 100%;
        text-align: right;
    }
    #header #menu .navbar .navbar-toggler {
        margin-top: 4px;
        margin-bottom: 4px;
        border: 0px none;
        border-radius: 0;
        padding: 11px;
        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 {
        padding-top: 0px;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }
    #header #menu .navbar .navbar-nav li a {
        font-size: 18px;
        line-height: 36px;
    }
    #header #menu .navbar .navbar-nav li ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    #header #menu .navbar .navbar-nav li.contact {
        padding-top: 10px;
    }
    #header .button {
        display: block;
        padding: 0;
        border: 1px solid #ba2025;
        background: #ba2025;
        color: #fff;
        font-size: 18px;
        line-height: 36px;
        font-weight: 700;
        text-align: center;
    }
    #header .button:hover {
        background: #050708;
        color: #fff;
    }
}

/* PANE */

#page {
    background: url('images/back-services.jpg') 50% 0% no-repeat;
    background-size: 100%;
}

.page-id-11 #page, .parent-pageid-11 #page {
    background: url('images/back-about.jpg') 50% 0% no-repeat;
    background-size: 100%;
}

.page-id-13 #page {
    background: url('images/back-about.jpg') 50% 0% no-repeat;
    background-size: 100%;
}

.pane {
    padding: 60px 0 60px 0;
}

@media (max-width: 991px) {
    #page {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* PHOTOS */

@media (min-width: 992px) {
    .profile figure {
        width: 50%;
    }
}

.frame img {
    border: 1px solid #efefef;
    padding: 10px;
    border-radius: 12.5px;
    box-shadow: 2.5px 2.5px 7.5px rgba(0, 0, 0, 0.125);
    background: #f7f7f7;
}

/* BANNER */

#banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #050708;
    text-align: center;
}

#banner video {
    left: 50%;
    top: 50%;
    min-width: 101%;
    min-height: 101%;
    position: absolute;
    z-index: 1;
    -webkit-filter: opacity(50%);
    filter: opacity(50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

#banner #intro {
    z-index: 2;
    padding-left: 15px;
    padding-right: 15px;
    color: #fff;
    text-align: left;
}

#banner #intro b {
    font-weight: 800;
}

#banner #intro span {
    color: #ba2025;
    text-shadow: -2px -2px 0 #050708, 2px -2px 0 #050708, -2px 2px 0 #050708, 2px 2px 0 #050708;
}

#banner #intro h1, #banner #intro h2 {
    margin: 0 0 10px 0;
    color: #fff;
}

#banner .button {
    background: #ba2025;
    color: #fff;
}

#banner .button:hover {
    background: #050708;
    color: #fff;
}

@media (min-width: 992px) {
    #banner {
        padding-top: 100px;
        padding-bottom: 37.5%;
        height: 0;
    }
    #banner #intro {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        padding-top: 100px;
        -webkit-transform: translate(-50%,-50%);
        -moz-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }
}

@media (max-width: 991px) {
    #banner {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    #banner #intro {
        position: relative;
    }
}

@media (min-width: 1400px) {
    #banner {
        margin-top: -78px;
    }
    #banner #intro {
        font-size: 24px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    #banner {
        margin-top: -74px;
    }
    #banner #intro {
        font-size: 22px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #banner {
        margin-top: -70px;
    }
    #banner #intro {
        font-size: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #banner #intro {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    #banner #intro {
        font-size: 16px;
    }
}

/* SERVICES */

#services a {
    display: block;
    margin: 22.5px 10px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    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;
}

#services a:hover {
    color: #050708;
    text-decoration: none;
}

#services #government-relations {
    background: #ba2025 url('images/service-government-relations-01.jpg') 100% 100% no-repeat;
    -webkit-background-size: contain;
    -moz-backround-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

#services #digital-advocacy {
    background: #ba2025 url('images/service-digital-advocacy-01.jpg') 100% 100% no-repeat;
    -webkit-background-size: contain;
    -moz-backround-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

#services #public-affairs {
    background: #ba2025 url('images/service-public-affairs-01.jpg') 100% 100% no-repeat;
    -webkit-background-size: contain;
    -moz-backround-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

#services #public-relations {
    background: #ba2025 url('images/service-public-relations-01.jpg') 100% 100% no-repeat;
    -webkit-background-size: contain;
    -moz-backround-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

#services #political-consulting {
    background: #ba2025 url('images/service-political-consulting-01.jpg') 100% 100% no-repeat;
    -webkit-background-size: contain;
    -moz-backround-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

#services #consumer-outreach {
    background: #ba2025 url('images/service-consumer-outreach-01.jpg') 100% 100% no-repeat;
    -webkit-background-size: contain;
    -moz-backround-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

.service {
    border: 1px solid #efefef;
    border-radius: 25px;
    box-shadow: 2.5px 2.5px 7.5px rgba(0, 0, 0, 0.125);
    padding: 25px 25px 15px;
    background: #f7f7f7;
}

.service-icon {
    color: #ba2025;
    font-size: 96px;
    font-weight: 700;
}

@media (min-width: 1400px) {
    #services a {
        padding: 60px 30px 30px;
        font-size: 30px;
        line-height: 30px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    #services a {
        padding: 50px 25px 25px;
        font-size: 27px;
        line-height: 27px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #services a {
        padding: 40px 20px 20px;
        font-size: 24px;
        line-height: 24px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #services a {
        padding: 30px 15px 15px;
        font-size: 21px;
        line-height: 21px;
    }
}

@media (max-width: 767px) {
    #services a {
        padding: 40px 20px 20px;
        font-size: 24px;
        line-height: 24px;
    }
}

/* STATISTICS */

#statistics {
    background: #050708;
    color: #fff;
    text-align: center;
}

#statistics h2 {
    color: #ba2025;
}

#statistics h2 span {
    color: #fff;
}

#statistics .statistic {
    padding: 20px;
}

#statistics .statistic-icon-large span {
    color: #fff;
    font-weight: 400;
}

#statistics .statistic-number-large {
    color: #ba2025;
    font-weight: 800;
}

#statistics .statistic-icon span {
    color: #fff;
    font-weight: 400;
}

#statistics .statistic-number {
    color: #ba2025;
    font-weight: 800;
}

#statistics .statistic-label {
    font-weight: 700;
}

@media (min-width: 1400px) {
    #statistics .statistic-icon-large span {
        font-size: 160px;
        line-height: 160px;
    }
    #statistics .statistic-number-large {
        font-size: 120px;
        line-height: 120px;
    }
    #statistics .statistic-icon span {
        font-size: 90px;
        line-height: 90px;
    }
    #statistics .statistic-number {
        font-size: 60px;
        line-height: 60px;
    }
    #statistics .statistic-label {
        font-size: 22px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    #statistics .statistic-icon-large span {
        font-size: 150px;
        line-height: 150px;
    }
    #statistics .statistic-number-large {
        font-size: 110px;
        line-height: 110px;
    }
    #statistics .statistic-icon span {
        font-size: 80px;
        line-height: 80px;
    }
    #statistics .statistic-number {
        font-size: 50px;
        line-height: 50px;
    }
    #statistics .statistic-label {
        font-size: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #statistics .statistic-icon-large span {
        font-size: 140px;
        line-height: 140px;
    }
    #statistics .statistic-number-large {
        font-size: 100px;
        line-height: 100px;
    }
    #statistics .statistic-icon span {
        font-size: 70px;
        line-height: 70px;
    }
    #statistics .statistic-number {
        font-size: 40px;
        line-height: 40px;
    }
    #statistics .statistic-label {
        font-size: 18px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #statistics .statistic-icon-large span {
        font-size: 110px;
        line-height: 110px;
    }
    #statistics .statistic-number-large {
        font-size: 80px;
        line-height: 80px;
    }
    #statistics .statistic-icon span {
        font-size: 60px;
        line-height: 60px;
    }
    #statistics .statistic-number {
        font-size: 30px;
        line-height: 30px;
    }
    #statistics .statistic-label {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    #statistics .statistic-icon-large span {
        font-size: 110px;
        line-height: 110px;
    }
    #statistics .statistic-number-large {
        font-size: 80px;
        line-height: 80px;
    }
    #statistics .statistic-icon span {
        font-size: 60px;
        line-height: 60px;
    }
    #statistics .statistic-number {
        font-size: 30px;
        line-height: 30px;
    }
    #statistics .statistic-label {
        font-size: 16px;
    }
}

/* CLIENTS */

@media (min-width: 768px) {
    #clients #logos img {
        width: 20%;
        padding: 20px;
    }
}

@media (max-width: 767px) {
    #clients {
        padding-left: 10px;
        padding-right: 10px;
    }
    #clients #logos img {
        width: 33.3%;
        padding: 10px;
    }
}

/* LATEST */

#latest {
    padding-left: 20px;
    padding-right: 20px;
    background: #ba2025;
}

#latest h2 {
    color: #fff;
}

#latest h2 span {
    color: #050708;
}

#latest .post {
    margin-top: 15px;
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
    padding: 20px;
    background: #f2f2f2;
}

#latest .post img {
    margin-bottom: 5px;
    border: 1px solid #e5e5e5;
}

/* NEWS */

#news .post {
    margin-top: 30px;
    margin-bottom: 30px;
    border: 1px solid #efefef;
    border-radius: 25px;
    box-shadow: 2.5px 2.5px 7.5px rgba(0, 0, 0, 0.125);
    padding: 25px 25px 15px;
    background: #f7f7f7;
}

#news .post img {
    margin-bottom: 5px;
    border: 1px solid #e5e5e5;
}

/* CONTACT */

.contact-icon {
    color: #ba2025;
    font-size: 48px;
    font-weight: 700;
}

/* SIGNUP */

#signup {
    padding: 35px 20px 45px 20px;
    background: #050708;
}

#signup #title {
    margin-bottom: 20px;
    color: #ba2025;
}

#signup #title span {
    color: #fff;
}

#signup .gform_body input {
    background: #fff;
}

#signup .gform_footer {
    padding: 0;
}

#signup .gform_footer input {
    width: 100%;
}

@media (min-width: 1400px) {
    #signup input {
        font-size: 18px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    #signup input {
        font-size: 16px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #signup input {
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    #signup form {
        display: table;
        width: 100%;
    }
    #signup .gform_body {
        display: table-cell;
        width: 80%;
        vertical-align: top;
    }
    #signup .gform_footer {
        display: table-cell;
        width: 20%;
        padding-left: 1.65%;
        vertical-align: top;
    }
}

@media (max-width: 991px) {
    #signup input {
        font-size: 18px;
    }
    #signup .gform_footer {
        padding-top: 15px;
    }
}

#signup .gform-field-label {
    color: #fff;
}

#signup .gfield--type-html {
    margin-top: -5px;
    padding-bottom: 15px;
    font-size: 10px;
    line-height: 15px;
    color: #fff;
}

#signup .gfield--type-html a {
    color: #fff;
}

#signup .gform_footer {
    margin: 0;
}

#signup .gform_footer input {
    margin: 0;
}

/* FORMS */

.form-disclaimer {
    font-size: 10px;
    line-height: 15px;
}

/* FOOTER */

#footer {
    border-bottom: 10px solid #ba2025;
    padding: 40px 0 40px 0;
    background: #fff;
    color: #050708;
    text-align: center;
}

#footer a {
    color: #050708;
    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: #ba2025;
}

#footer #logo {
    padding-bottom: 30px;
}

#footer #links {
    padding-bottom: 30px;
}

#footer #links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer #links ul li {
    margin: 0;
    padding: 0;
}

#footer #links ul li a {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.0);
    color: #050708;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    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 #links ul li a:hover {
    color: #ba2025;
}

#footer #links ul li.contact > a {
    border: 1px solid #ba2025;
    background: #ba2025;
    color: #fff;
}

#footer #links ul li.contact > a:hover {
    background: #050708;
    color: #fff;
}

#footer #social a {
    display: inline-block;
    margin: 3px;
    padding: 3px;
    border-radius: 50%;
    overflow: hidden;
}

#footer #social a img {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0px 100px 0 #050708);
    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;
}

#footer #social a:hover img {
    filter: drop-shadow(0px 100px 0 #ba2025);
    transform: translateY(-100px);
}

#footer #legal {
    padding-top: 30px;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (min-width: 1400px) {
    #footer #logo img {
        height: 36px;
    }
    #footer #links ul li a {
        padding: 0 12.5px 0 12.5px;
        font-size: 18px;
        line-height: 36px;
    }
    #footer #links ul li.contact {
        padding-left: 12.5px;
    }
    #footer #links ul li.contact a {
        padding: 0 20px 0 20px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    #footer #logo img {
        height: 32px;
    }
    #footer #links ul li a {
        padding: 0 10px 0 10px;
        font-size: 16px;
        line-height: 32px;
    }
    #footer #links ul li.contact {
        padding-left: 10px;
    }
    #footer #links ul li.contact a {
        padding: 0 15px 0 15px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #footer #logo img {
        height: 28px;
    }
    #footer #links ul li a {
        padding: 0 7.5px 0 7.5px;
        font-size: 14px;
        line-height: 28px;
    }
    #footer #links ul li.contact {
        padding-left: 7.5px;
    }
    #footer #links ul li.contact a {
        padding: 0 10px 0 10px;
    }
}

@media (min-width: 992px) {
    #footer #links ul li {
        display: inline-block;
    }
    #footer #links ul li ul {
        display: none;
    }
    #footer #links ul li.contact {
        display: inline-block !important;
    }
}

@media (max-width: 991px) {
    #footer {
        padding-left: 15px;
        padding-right: 15px;
    }
    #footer #logo img {
        height: 24px;
    }
    #footer #links ul li a {
        font-size: 18px;
        line-height: 36px;
    }
    #footer #links ul li ul {
        display: none;
    }
    #footer #links ul li.contact {
        padding-top: 10px;
    }
    #footer .button {
        display: block;
        margin-top: 0.5rem;
        padding: 0;
        border: 1px solid #ba2025;
        background: #ba2025;
        color: #fff;
        font-size: 18px;
        line-height: 36px;
        font-weight: 700;
        text-align: center;
    }
    #footer .button:hover {
        background: #050708;
        color: #fff;
    }
}

/* VIDEO */

div.video {
	position: relative;
	padding-top: 0px;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

div.video-vertical {
	padding-bottom: 177.78% !important;
}

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: #ba2025;
    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 #ba2025 !important;
    box-shadow: none !important;
}

.gform_wrapper.gravity-theme .gform_validation_errors > h2 {
    color: #ba2025 !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 #ebebeb;
}

.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: #ba2025;
}

.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;
}