@Theme Name: RCC Foundation
@Description: This site was built by Central States Marketing. For more information about the site or this custom WordPress theme, you can contact Central States Marketing at: info@csm.marketing or call us at: 309-693-2345.
@Author: Central States Marketing
@Author URI: http://www.centralstatesmarketing.com/
@Version: 1.0
@Date: May, 2024
@charset "utf-8";

/**-------------------------------FONTS-----------------**/
@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');

/**------------------------------ GENERAL ------------------------------**/
:root {
    --light-blue: #8BA6CF;
    --medium-blue: #0756A3;
    --dark-blue: #03203d;
    --light-grey: #d3d3d3;
    --medium-grey: #A6A7A9;
}
body {
    margin: 0;
    font-family: "proxima-nova", sans-serif;
    width: 100%;
}
p, h3, h4, h5, h6 {
    font-family: "proxima-nova", sans-serif;
    margin-top: 0;
    margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6, .h2-subhead, .h3-subhead {
    line-height: 1.2em;
}
h1 {
    font-size: 2.4em;
    font-family: "Orbitron", sans-serif;
    letter-spacing: 0.15em;
    font-variant: small-caps;
}
h2 {
    font-size: 2.4em;
    font-family: "Orbitron", sans-serif;
    letter-spacing: 0.15em;
    font-variant: small-caps;
}
h3 {
    font-size: 2.0em;
}
h4 {
    font-size: 1.6em;
}
h5 {
    font-size: 1.2em;
}
h6 {
    font-size: 1em;
}
p, ul li:not(.nav-item), ul li:not(.subnav1-item), ul li:not(.subnav2-item), ol li {
    font-size: 1em;
}
a {
    text-decoration: none;
    color: var(--medium-blue);
    transition: all 0.25s ease-in;
}
a:hover {
    color: var(--medium-grey);
    transition: all 0.15s ease-out;
}
.h2-subhead {
    font-weight: 700;
    margin-top: -10px;
    margin-bottom: 30px;
    font-size: 1.8em;
    font-family: "Orbitron", sans-serif;
    letter-spacing: 0.1em;
    font-variant: small-caps;
}
.h3-subhead {
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 1.25em;
}
img, iframe {
    max-width: 100%;
}
hr {
    border-color: #000;
    opacity: 0.5;
    width: 100%;
    margin: 2em 0;
}
.row {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 15px;
}
section {
    padding: 100px 25px;
}
.column {
    display: flex;
    flex-shrink: 1;
    flex-basis: auto;
    flex-grow: 2;
    align-items: flex-start;
    flex-direction: column;
}
.blue-gradient {
    background: var(--medium-blue);
    background: -moz-linear-gradient(180deg, var(--medium-blue) 0%, var(--dark-blue) 100%);
    background: -webkit-linear-gradient(180deg, var(--medium-blue) 0%, var(--dark-blue) 100%);
    background: linear-gradient(180deg, var(--medium-blue) 0%, var(--dark-blue) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="var(--medium-blue)",endColorstr="var(--dark-blue)",GradientType=1);
}
.blue-gradient-180 {
    background: var(--medium-blue);
    background: -moz-linear-gradient(0deg, var(--medium-blue) 0%, var(--dark-blue) 100%);
    background: -webkit-linear-gradient(0deg, var(--medium-blue) 0%, var(--dark-blue) 100%);
    background: linear-gradient(0deg, var(--medium-blue) 0%, var(--dark-blue) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="var(--dark-blue)",endColorstr="var(--medium-blue)",GradientType=1);
}
.blue-gradient h1, .blue-gradient h2, .blue-gradient h3, .blue-gradient h4, .blue-gradient h5, .blue-gradient h6, .blue-gradient p, .blue-gradient ul, .blue-gradient ol, .blue-gradient-180 h1, .blue-gradient-180 h2, .blue-gradient-180 h3, .blue-gradient-180 h4, .blue-gradient-180 h5, .blue-gradient-180 h6, .blue-gradient-180 p, .blue-gradient-180 ul, .blue-gradient-180 ol, .blue-gradient-180 hr {
    color: #fff;
}
.blue-gradient hr, .blue-gradient-180 hr {
    border-color: #fff;
}
.section-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}
.vertical-center {
    align-items: center;
}
@media screen and (min-width: 767px) {
    .hide-on-desktop {
        display: none!important;
    }
}
@media screen and (max-width: 767px) {
    body {
        font-size: 0.8em;
    }
    p, ul li:not(.nav-item), ul li:not(.subnav1-item), ul li:not(.subnav2-item), ol li {
        font-size: 1.4em;
    }
    .h3-subhead {
        font-size: 2em;
    }
    section {
        padding: 25px;
    }
    section .row {
        flex-direction: column;
    }
}


/**------------------------------ HEADER ------------------------------**/
button.menu-icon {
    display: none;
}
header {
    height: 50px;
    background: rgba(255,255,255,0.9);
    padding: 25px 140px;
    align-items: center;
    width: calc(100% - 280px);
    backdrop-filter: blur(2px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.sticky {
    position: fixed;
    top: 0;
    z-index: 9999;
}
header .row {
    height: 100%;
    column-gap: 0;
    justify-content: center;
}
header div.column {
    justify-content: center;
    height: 100%;
}
header .main-nav {
    justify-content: center;
    height: 100%;
    align-items: flex-end;
}
.nav-logo {
    height: 32px;
    display: inline-block;
    vertical-align: middle;
}
.nav-wrapper {
    height: 100%;
}
.main-nav .nav-items-wrapper, .main-nav ul {
    margin: 0;
    padding: 0;
    text-align: right;
    display: flex;
    align-items: center;
    flex-shrink: 1;
    flex-basis: auto;
}
.main-nav .nav-item, .subnav1-item, .subnav2-item, .main-nav ul li {
    display: inline-block;
    list-style: none;
    position: relative;
}
.main-nav .nav-item a {
    font-size: 14px;
}
.main-nav .nav-item > a, .main-nav ul li > a {
    padding: 5px 10px;
    text-decoration: none;
    color: var(--medium-blue);
    transition: all 0.25s ease-in;
}
.main-nav .nav-item a:hover, .main-nav ul li a:hover {
    color: #000;
    transition: all 0.15s ease-out;
}
.main-nav .nav-item:hover .subnav1-items-wrapper, .main-nav ul li:hover ul {
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.1s ease-out;
}
.main-nav .subnav1-items-wrapper, .main-nav .subnav2-items-wrapper, .main-nav ul ul {
    opacity: 0;
    transition: opacity 0.15s ease-in;
    pointer-events: none;
    position: absolute;
    padding: 5px 10px;
    width: 140px;
}
.main-nav .subnav1-items-wrapper, .main-nav ul ul {
    background: var(--light-grey);
    top: 25px;
    left: 10px;
}
.main-nav .subnav2-items-wrapper, .main-nav ul ul {
    background: var(--medium-grey);
    top: -5px;
    left: 140px;
}
.main-nav .subnav2-items-wrapper:before, .main-nav ul ul:before {
    content: "";
    display: block;
    position: absolute;
    top: 12px;
    left: -9px;
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; 
    border-right:10px solid var(--medium-grey); 
}
.main-nav .subnav1-items-wrapper .subnav1-item, .main-nav .subnav2-items-wrapper .subnav2-item, .main-nav ul ul li {
    float: left;
    display: block;
    width: 100%;
    line-height: 2em;
}
.main-nav .subnav1-items-wrapper .subnav1-item:hover .subnav2-items-wrapper, .main-nav ul ul li:hover ul {
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.1s ease-out;
}
.main-nav .subnav1-items-wrapper .subnav1-item > a, .main-nav .subnav2-items-wrapper .subnav2-item > a,
.main-nav ul ul li > a{
    text-align: left;
    display: inline-block;
    width: 100%;
}
.contact-button, .main-nav li.contact {
    color: #fff!important;
    display: flex;
    gap: 0.5em;
    margin-left: 1em;
    align-items: center;
}
.contact-button, .main-nav li.contact > a {
    color: #fff!important;
    display: flex;
    gap: 0.5em;
    margin-left: 1em;
    align-items: center;
	background-color: var(--medium-blue);
    padding: 5px 10px;
	 transition: all 0.25s ease-in;
}
.contact-button, .main-nav li.contact > a:before{
	content:"";
	display:inline-block;
	background:url('img/RCCFoundation_ContactIcon.svg');
	background-repeat:none;
	background-position:center;
	background-size:contain;
	width:18px;height:18px;
}

.contact-button, .main-nav li.contact > a:hover {
    background-color: var(--medium-grey);
    transition: all 0.15s ease-out;
}
.contact-button:hover span, .main-nav li.contact:hover {
    color: #fff!important;
    transition: all 0.15s ease-out;
}
.contact-button img {
    height: 14px;
    width: auto;
}
.mobile-nav {
    margin: 0 -25px;
    background: #fff;
    position: relative;
    top: -74px;
    left: calc(100% + 50px);
    padding: 90px 25px 25px 25px;
    display: flex;
    width: 100%;
    height: calc(100vh - 100px);
    transition: left 0.2s ease-in;
}
.mobile-nav.open {
    left: 0;
    transition: left 0.2s ease-out;
}
.mobile-nav > .nav-items-wrapper {
    min-height: 100%;
    overflow: scroll;
}
.mobile-nav .nav-items-wrapper, .mobile-nav .subnav1-items-wrapper, .mobile-nav .subnav2-items-wrapper {
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    flex-shrink: 1;
    flex-basis: auto;
    flex-direction: column;
    width: 100%;
    position: relative;
}
.mobile-nav .nav-item, .mobile-nav .subnav1-item, .mobile-nav .subnav2-item {
    display: inline-block;
    list-style: none;
    position: relative;
    width: 100%;
    padding: 10px 0;
}
.mobile-nav .subnav1-item {
    font-size: 0.9em;
}
.mobile-nav .subnav2-item {
    font-size: 0.8em;
}
.mobile-nav .subnav2-item:first-of-type {
    margin-top: 10px;
}
.mobile-nav .subnav2-item:last-of-type {
    margin-bottom: -10px;
}
.mobile-nav .subnav1-items-wrapper, .mobile-nav .subnav2-items-wrapper {
    display: none;
}
.mobile-nav .nav-item:hover > .subnav1-items-wrapper, .mobile-nav .subnav1-item:hover > .subnav2-items-wrapper {
    display: block;
}
.mobile-nav .subnav1-items-wrapper:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: calc(50% - 5px);
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent; 
    border-top: 10px solid #fff;
    z-index: 5;
}
.mobile-nav .subnav1-item {
    background: var(--light-grey);
}
.mobile-nav .subnav2-items-wrapper:before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    left: calc(50% - 5px);
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent; 
    border-top: 10px solid var(--light-grey);
    z-index: 5;
}
.mobile-nav .subnav2-item {
    background: var(--medium-grey);
}
.mobile-nav .nav-items-wrapper .nav-item a {
    text-align: center;
    font-size: 1.6em;
}
.mobile-nav .contact-button {
    margin: 0 auto;
    width: 124px;
}
.mobile-nav .exit {
    position: absolute;
    top: 37px;
    right: 31px;
    width: 28px;
    height: 28px;
    padding: 10px;
    cursor: pointer;
    background: url(img/icon-close.svg) center / 100% no-repeat;
    border: none;
}
@media screen and (max-width: 1310px) {
    header {
        padding: 25px;
        width: calc(100% - 50px);
    }
}
@media screen and (max-width: 1085px) {
    button.menu-icon {
        display: inline-block;
        width: 40px;
        height: 40px;
        cursor: pointer;
        line-height: 0.6;
        transition: all 0.5s ease;
        border: none;
        background: none;
    }
    .menu-icon span {
        display: inline-block;
        width: 100%;
        height: 3px;
        background: var(--medium-blue);
        border-radius: 3px;
    }
    .main-nav .nav-items-wrapper {
        display: none;
    }
    header .row {
        column-gap: 25px;
    }
    header div.column {
        flex-grow: 1;
    }
    header nav.column {
        flex-grow: 0;
    }
}
@media screen and (max-width: 767px) {
    .mobile-nav .contact-button {
        width: 180px;
    }
    .contact-button img {
        height: 24px;
        width: auto;
    }
}
@media screen and (min-width: 1085px) {
    .mobile-nav {
        display: none;
    }
}
@media screen and (min-width: 767px) {
    .mobile-nav .contact-button {
        width: 162px;
    }
    .contact-button img {
        height: 22px;
        width: auto;
    }
}


/**------------------------------ BUTTON STYLING ------------------------------**/
a.button {
    background-color: var(--medium-blue);
    padding: 5px 10px;
    color: #fff;
    transition: all 0.25s ease-in;
}
a.button:hover {
    background-color: var(--medium-grey);
    transition: all 0.15s ease-out;
}
a.alt-button {
    width: 100px;
    text-align: center;
    background-color: #fff;
    color: var(--medium-blue);
}
a.alt-button:hover {
    color: #000;
    background-color: var(--light-blue);
}
.fixed-buttons {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 999;
}
.fixed-buttons a {
    border: 1px solid #fff;
    color: #fff;
    text-align: center;
    width: 120px;
    text-transform: uppercase;
    padding: 10px 20px;
    transition: all 0.25s ease-in;
    opacity: 0.9;
}
.fixed-buttons a:hover {
    background-color: var(--medium-grey);
    transition: all 0.15s ease-out;
    opacity: 1;
}
.btt-button {
    background-color: var(--light-blue);
    margin-bottom: 5px;
}
.rcc-button {
    background-color: var(--medium-blue);
}
@media screen and (max-width: 767px) {
    .button {
        font-size: 1.6em;
    }
    .fixed-buttons {
        display: none;
    }
    a.learn-more {
        width: auto;
    }
}


/**------------------------------ SLIDER ------------------------------**/
.slider {
    height: 650px;
    width: 100%;
    background-image: url("img/RCCFoundation_TopImage.jpg");
    background-size: cover;
    background-position: 50% 50%;
}


/**------------------------------ ABOUT ------------------------------**/
#about {
    color: #fff;
}
#about .logo {
    height: 46px;
    margin-bottom: 20px;
}


/**------------------------------ REGIONS SERVED ------------------------------**/
#regions-served .row {
    flex: 1 0 50%; 
    align-items: center;
    margin: -150px 0;
    column-gap: 30px;
}
#regions-served .column {
    flex: 1 1 0;
}
#regions-served .column:nth-child(2) {
    padding: 80px 0;
}
#regions-served h1 {
    color: var(--medium-blue);
    font-size: 2.4em;
    letter-spacing: 0.15em;
}
#regions-served .states {
    width: 100%;
}
#regions-served img {
    margin: 0 20px;
    width: calc(100% - 20px);
    height: auto;
}
#regions-served ul {
    padding-left: 30px;
    margin-top: -10px;
    margin-bottom: 2em;
}
#regions-served ul li {
    font-style: italic;
    font-size: 1.75em;
}
#regions-served ul li::marker {
    font-size: 18px;
}
@media screen and (max-width: 767px) {
    #regions-served .row {
        margin-top: -40px;
    }
    #regions-served .column:nth-child(2) {
        padding: 0 0 140px 0;
        margin-top: -30px;
    }
}


/**------------------------------ GRANT COMMITTEES ------------------------------**/
#grant-committees .row {
    margin-bottom: 20px;
}
#grant-committees .row .column {
    flex-direction: row;
    align-items: center;
    padding: 15px;
}
#grant-committees h2 {
    margin-bottom: 20px;
}
#grant-committees h3 {
    width: 100%;
    text-align: center;
    font-weight: 500;
    margin: 0;
}
.white-border {
    border: 3px solid rgba(255,255,255,0.5);
}
@media screen and (max-width: 767px) {
    #grant-committees .row .column {
        flex-direction: column;
    }
    #grant-committees h3 {
        margin-bottom: 20px;
        line-height: 1.2em;
    }
    #grant-committees h2 {
        text-align: center;
    }
    #regions-served ul li::marker {
        font-size: 15px;
    }
}


/**------------------------------ PARTNERING EVENTS ------------------------------**/
#partnering-events h2, #partnering-events h3 {
    color: var(--medium-blue);
    text-align: center;
    width: 100%;
}
#partnering-events h3 {
    font-style: italic;
}
#partnering-events p {
    text-align: center;
    width: 100%;
}
#partnering-events .h2-subhead {
    color: var(--medium-blue);
    font-weight: 700;
}
#partnering-events a.button {
    margin: 0 auto;
}
.grey-border {
    border: 3px solid var(--medium-grey);
}
.grey-border .column {
    padding: 20px;
}
@media screen and (min-width: 768px) {
    #partnering-events h2 {
        margin-top: 0;
    }
}


/**------------------------------ FOUNDATION RECAP ------------------------------**/
#foundation-recap {
    padding: 40px 20px;
    background: #000;
    color: var(--light-blue);
    text-align: center;
}
#foundation-recap h2, #foundation-recap p {
    width: 100%;
}
#foundation-recap h2 {
    margin-top: 0;
}
#foundation-recap p {
    margin-bottom: 10px;
}
.recap-slider {
    width: 100%;
    max-width: 100vw;
}
.recap-wrapper {
    margin: 0;
    padding: 0;
    height: auto;
}
.recap-item {
    list-style: none;
}
.recap-item .row {
    column-gap: 0px;
}
.recap-item:nth-of-type(odd) .photo {
    order: 2;
}
.recap-item:nth-of-type(odd) .description {
    order: 1;
}
.recap-item .photo, .description {
    flex: 1 0 50%;
    align-items: center;
}
.recap-item .photo {
    min-height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
}
.description h3 {
    font-family: "Orbitron", sans-serif;
    letter-spacing: 0.1em;
    color: var(--medium-blue);
    font-variant: small-caps;
}
.description h3, .description p {
    text-align: center;
    width: 100%;
    max-width: 75%;
    padding: 0 15px;
}
.description a.button {
    margin: 0 auto 20px auto;
}
.recap-heading {
    margin-bottom: 0;
    font-weight: bold;
}
.recap-heading span {
    color: var(--medium-blue);
    text-transform: uppercase;
}
.central-illinois-region .photo {
    background-image: url("img/RCCFoundation_FoundationRecap_CentralIllinoisRegion.jpg");
    background-position: 50% 100%;
}
.central-missouri-region .photo {
    background-image: url("img/RCCFoundation_FoundationRecap_CentralMissouriRegion.jpg");
    background-position: 50% 90%;
}
.southern-illinois-region .photo {
    background-image: url("img/RCCFoundation_FoundationRecap_SouthernIllinoisRegion.jpg");
    background-position: 50% 50%;
}
.slider-controls {
    background: #000;
    display: flex;
    justify-content: center;
    padding: 25px 0;
    column-gap: 25px;
}
.slider-controls button {
    background: var(--light-blue);
    border: none;
    font-size: 1.8em;
    border-radius: 5px;
}
.slider-controls button.left {
    padding: 3px 7px 1px 5px;
}
.slider-controls button.right {
    padding: 3px 5px 1px 7px;
}
@media screen and (max-width: 767px) {
    .recap-item:nth-of-type(odd) .photo {
        order: 1;
    }
    .recap-item:nth-of-type(odd) .description {
        order: 2;
    }
    .recap-slider {
        overflow: hidden;
        position: relative;
    }
    .recap-wrapper {
        display: flex;
        transition: transform 0.3s ease;
    }
    .recap-item {
        flex: 0 0 100%;
        height: 100%;
    }
    /**
    .recap-item:nth-of-type(2), .recap-item:nth-of-type(3) {
        display: none;
    }**/
    .recap-item .row {
        flex-direction: column;
    }
    .recap-item .photo {
        min-height: 80vw;
        width: 100%;
    }
    .recap-item .description {
        padding: 20px 0;
    }
    .recap-heading span {
        display: block;
        margin: 10px 0;
        font-size: 1.2em;
    }
    .description a.button {
        margin-top: 5px;
    }
}


/**------------------------------ CONTACT ------------------------------**/
#contact form {
    width: 100%;
}
#contact form .form-body {
    width: calc(100% - 24px);
}
#contact input[type="text"], #contact input[type="email"], #contact textarea {
    width: 100%;
    background: none;
    border: 3px solid rgba(255, 255, 255, 0.5);
    font-size: 1.25em;
    padding: 10px;
    color: #fff;
    font-family: "proxima-nova", sans-serif;
    transition: border 0.2s ease-in;
}
#contact textarea {
    min-height: 6em;
}
#contact input:focus, #contact textarea:focus, #contact input:hover, #contact textarea:hover {
    color: #fff;
    border: 3px solid #fff;
    transition: border 0.15s ease-out;
}
#contact label {
    display: block;
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}
#contact label span.required {
    color: rgba(255, 255, 255, 0.5);
    margin-left: 0.2em;
}
#contact label span.type-rcc {
    display: block;
    font-style: italic;
    font-size: 0.8em;
}
#contact div.field {
    margin-bottom: 15px;
}
#contact input[type="submit"] {
    float: right;
    border: none;
    color: var(--medium-blue);
    padding: 5px 10px;
    background: #fff;
    border-radius: 0;
    font-size: 1.25em;
    transition: all 0.25s ease-in;
}
#contact input[type="submit"]:hover {
    background: var(--light-blue);
    color: #000;
    transition: all 0.15s ease-in;
}
@media screen and (max-width: 767px) { 
    #contact {
        padding-bottom: 40px;
    }
    #contact h2 {
        text-align: center;
    }
    #contact input[type="submit"] {
        font-size: 1.6em;
        float: none;
        display: block;
        margin: 0 auto;
    }
}


/**----- FOOTER -----**/
footer {
    background-image: url("img/RCCFoundation_FooterBG.jpg");
    background-size: cover;
    background-position: 50% 50%;
    padding: 100px 140px;
    position: relative;
}
footer:before {
    content: "";
    background: rgba(0,0,0,0.75);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}
footer .row {
    flex-direction: column;
    position: relative;
    z-index: 2;
}
footer .logo {
    max-width: 510px;
    margin: 0 auto;
}
footer p, footer p a {
    text-align: center;
    color: #fff;
}
footer .contact-info {
    border-top: 4px solid var(--medium-blue);
    border-bottom: 4px solid var(--medium-blue);
    padding: 30px;
    margin: 30px auto;
    max-width: 600px;
}
footer .contact-info .divider {
    display: inline-block;
    margin: 0 0.5em;
    font-weight: 300;
    color: var(--medium-blue);
}
footer .rcc-button {
    border: 1px solid #fff;
    display: block;
    margin: 0 auto;
}
footer .copyright {
    margin-bottom: 0;
    width: 100%;
}
@media screen and (max-width: 767px) {
    footer {
        padding: 25px 25px 50px 25px;
    }
    footer .logo {
        width: 100%;
        padding: 0;
        margin: 15px auto;
    }
    footer .contact-info {
        margin: 20px 0 40px 0;
        max-width: 100%;
        width: calc(100% - 60px);
    }
    footer .rcc-button {
        margin-bottom: 40px;
    }
    footer .contact-info .info {
        display: block;
    }
    footer .contact-info .divider {
        display: none;
    }
    footer .copyright {
        font-size: 1em;
    }
}