.modal-xl {
    max-width: 90%;
}

.modal-content {
    border-radius: 0;
}

.video-overlay-link {
    position: relative;
    display: block;
}

.video-overlay-link svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 10;
    transition: transform 0.2s ease-in-out;
}

.video-overlay-link:hover svg {
    transform: translate(-50%, -50%) scale(1.1);
}

html, body {
    height: 100%;
}

body {
    background-color: #FFFFFF !important;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}

header {
    background-color: rgba(255, 255, 255, 0);
}

.nav-gradient {
    position: absolute;
    top: 0;
    left: 0;
    height: 120px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), transparent);
    width: 100%;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1300px !important;
}

img, object, embed, video {
    max-width: 125%;
}

/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
    width: 100%;
}

img {
    border: none;
    outline: none;
}

hr {
    clear: both;
}

a:active {
    outline: none;
}

a:link, a:visited {
    color: #2a8648;
    text-decoration: none;
}

a:hover, a:active {
    color: #686868;
}

/*
a {
	transition: all 0.2s ease-in-out 0s;
	-webkit-transition: all 0.2s ease-in-out 0s;
	-moz-transition: all 0.2s ease-in-out 0s;
}
*/

/* Bounce Stuff */
.bounceit {
    margin-top: 50px;
    width: 100%;
    text-align: center;
    bottom: 0px;
    animation: bounce 1s infinite alternate;
    -webkit-animation: bounce 1s infinite alternate;
    position: absolute;
}

@keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-15px);
    }
}

@-webkit-keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-15px);
    }
}

/*Page Fade In*/
/* make keyframes that tell the start state and the end state of our object */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen {
    body {
        opacity: 0; /* make things invisible upon start */
        -webkit-animation: fadeIn ease-in 1; /* call our keyframe named fadeIn, use animattion ease-in and repeat it only 1 time */
        -moz-animation: fadeIn ease-in 1;
        animation: fadeIn ease-in 1;

        -webkit-animation-fill-mode: forwards; /* this makes sure that after animation is done we remain at the last keyframe value (opacity: 1)*/
        -moz-animation-fill-mode: forwards;
        animation-fill-mode: forwards;

        -webkit-animation-duration: 1s;
        -moz-animation-duration: 1s;
        animation-duration: 1s;

        -webkit-animation-delay: 0.1s;
        -moz-animation-delay: 0.1s;
        animation-delay: 0.1s;
    }
}

/*Page Fade End*/


/* Site Headers */

h1, h2, h3, h4, h5, h6 {
    color: #1a4a33;
    /*font-family: all-round-gothic, sans-serif;*/
    font-family: 'oswald';
    font-family: oswald, sans-serif;
    font-weight: 600;
    font-style: normal;
}

h1 {
    font-size: 3.3em;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 10px;
    margin-left: 0px;
}

h2 {
    font-size: 2.5em;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 35px;
    margin-left: 0px;
    font-weight: bold;
}

h3 {
    font-size: 1.9em;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 5px;
    margin-left: 0px;
}

h4 {
    font-size: 1.7em;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 5px;
    margin-left: 0px;
}

h5 {
    font-size: 1.4em;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 5px;
    margin-left: 0px;
}

h6 {
    font-size: 1.1em;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 5px;
    margin-left: 0px;
}

.logo-size {
    width: 70%;
    transition: all 0.2s ease-in-out 0s;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
}

.navbar {
    font-size: 1.2em;
}

/*.navbar:after {*/
/*    content: "";*/
/*    display: block;*/
/*    height: 10px;*/
/*    background-color: rgba(22, 64, 37, 0.1);*/
/*    position: absolute;*/
/*    bottom: -10px;*/
/*    left: 0;*/
/*    width: 100%;*/
/*}*/

.home-text h2 {
    font-size: 2.6em;
    font-weight: 500;
    line-height: 1.2em;
}

.dark-green {
    background-color: #114e25;
}

.links-bar {
    background-color: #114e25;
    padding: 15px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.links-bar a {
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9em;
    margin: 10px 20px;
    letter-spacing: 1px;
    font-family: oswald, sans-serif;
    display: flex;
    align-items: center;
}

.links-bar a i {
    font-size: 1.2em;
}

.links-bar a:first-child {
    background-color: #2a8648;
    padding: 10px 20px;
    border-radius: 5px;
    margin-right: 30px;
}

.links-bar a:first-child:hover {
    background-color: #216a39;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .links-bar a:first-child {
        margin-right: 20px;
        margin-bottom: 20px;
        width: 100%;
        justify-content: center;
    }
}

.links-bar a:hover {
    color: #96c93e !important;
    text-decoration: none;
}

.navbar-brand {
    max-width: 242px;
}

.nav-link {
    padding-right: .5rem !important;
    padding-left: .5rem !important;
    font-size: 1em;
}


.dropdown-item.hover, .dropdown-item:hover {
    background-color: #2a8648;
    color: #FFFFFF;
}

.navbar-nav .dropdown-menu {
    position: static;
    float: none;
    margin-top: 0px;
    font-size: .9em;
    border-radius: 0px;
}


.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #96c93e;
}

.image-wrap {
    width: 230%;
    height: 99vw;
    margin: 0 auto;
    overflow: hidden;
    top: 6px;
    position: relative;
}

.image-wrap img {
    width: 130% !important;
    animation: move 40s ease;
    /* Add infinite to loop. */
    -ms-animation: move 40s ease;
    -webkit-animation: move 40s ease;
    -o-animation: move 40s ease;
    -moz-animation: move 40s ease;
    position: absolute;
}

.carousel-caption {
    top: 109px;
    left: 20px;
    right: 0;
    /* font-weight: bold; */
    font-size: 1.8em;
    font-family: oswald, sans-serif;
    font-weight: 600;
    font-style: normal;
}

.carousel-caption h1 {
    font-weight: bold;
    font-size: 1.5em;
    color: #ffffff;
    max-width: 1080px;
}

.home-bg {
    background-image: url('https://beta.susoils.com/media/uploads/home-blurbs/camelina-combine-flags-med.jpg');
    background-size: cover;
}

.grain-location {
    padding: 30px;
    border: 2px solid #2a8648;
    border-radius: 25px;
    margin: 15px;
    /* margin: -1px; */
    min-height: 331px;
}

.container-fluid.mb-5.home-text-top.home-bg {
}

.carousel-caption .lead {
    color: #333333;
    font-size: 1em;
    max-width: 1080px;
}

#about {
    margin-top: 0px;
    background-position-x: 120%;
    background-position-y: bottom;
    background-repeat: no-repeat;
    background-size: 50%;
}

#about h2 {
    color: #2a8648;
    font-weight: bold;
    font-size: 2.6em;
    max-width: 1080px;
}

#about p {
    font-size: 1.3em;
    line-height: 1.5em;
}

#growing {
    margin-top: 0px;
    background-repeat: no-repeat;
    background-size: cover;
}

#growing h2 {
    color: #FFFFFF;
    font-weight: bold;
    font-size: 3.3em;
    max-width: 1080px;
}

#growing p {
    color: #FFFFFF;
    font-size: 1.3em;
    line-height: 1.5em;
}

#performance {
    background-size: cover;
    background-position-y: 40px;
    background-repeat: no-repeat;
}

#performance p {
    font-size: 1.2em;
    line-height: 1.5em;
    color: #FFFFFF;
}


.feature-card h3 {
    margin-top: 40px;
    font-size: 1.7em;
}

.feature-card:hover #up-svg g,
.feature-card:hover #mid-svg g,
.feature-card:hover #down-svg g {
    stroke: #11b0ab;
}

#overview h1 {
    font-size: 3.4em;
}

.border-2 {
    border-width: 2px !important;
}

.btn {
    border-radius: 30px;
    padding-top: 6px;
    font-size: 1.1em;
    font-family: "Poppins", sans-serif;
    padding-left: 20px;
    padding-right: 20px;
}

.btn-primary {
    background-color: #2a8648;
    border-color: #2a8648;
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background-color: #11b0ab !important;
    color: #FFFFFF;
}

.btn-outline-primary {
    border-color: #2a8648;
    color: #2a8648;
}

.btn-outline-primary:hover {
    background-color: #2a8648;
    color: #FFFFFF;
}

.btn-secondary {
    color: #FFFFFF !important;
}

.btn-outline-secondary {
    border-color: #FFFFFF;
    color: #FFFFFF !important;
}

.btn-outline-secondary:hover {
    background-color: #11b0ab;
    color: #FFFFFF;
}

.btn-info {
    border-radius: 0px;
    border: none;
}

.btn-info:hover {
    border: none;
}

.btn-info:link {
    color: #FFFFFF !important;
}

.btn-info:visited {
    color: #FFFFFF !important;
}


.blurb-header-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    height: 259px;
    opacity: 90%;
}

.page-blurb-title {
    color: #FFFFFF !important;
    position: absolute;
    top: 62%;
    font-size: 2em;
}

.page-blurb-title h1 {
    color: #FFFFFF !important;
}

.blurb-button {
    position: absolute;
    bottom: 40px;
    transition: all 0.2s ease-in-out 0s;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -moz-transition: all 0.2s ease-in-out 0s;
}

.feature-card {
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s;
    /* min-height: 698px; */
    background-color: rgba(255, 255, 255, 0.7);
}

.feature-card:hover {
    transform: translateY(-20px);
}

#net-zero {
    padding-top: 90px !important;
    padding-bottom: 130px !important;
}

.upstream {
    padding-top: 10px !important;
    padding-bottom: 80px !important;
}


.module-image {
    margin-top: -170px;
}

.cta-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.cta-container {
    margin-top: -10px;
}

.larger-font {
    font-size: 3em;
}

.large-font {
    font-size: 1em;
}

.content-margin-top {
}

.upstream-midstream-downstream-buttons {
    background: #2a8648;
    display: none;
}
.navbar-collapse {
   background-color: #1a4a33 ;
}

.mid-nav {
    display: block;
    margin-left: 0px !important;
    margin-right: 0px !important;
    margin-top: 8px;
    margin-bottom: 8px;
}

.menus {
    margin-top: 43px;
    padding-left: 10px;
}

.menus a {
    position: relative;
    display: inline-block;
    width: 31%;
    font-size: 1.2em;
    font-weight: 600;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 7em;
    padding-left: 7em;
    text-align: center;
    text-align: center;
}

.menus a:hover {
    background-color: #2a8648;
    color: #FFFFFF;
}

.gr-border-right {
    border-right: 2px solid #2a8648;
}

.gr-border-left {
    border-left: 2px solid #2a8648;
}

.menu-active {
    background-color: #faf8f4;
}

.upstream-menu {
}


.midstream-menu {
    margin-left: -5px;
}

.downstream-menu {
    margin-left: -5px;
}

.mobile-bg {
    display: block;
    width: 100%;
    background-color: #faf8f4;
}


.overlay-margins {
    margin-top: -460px !important;
    margin-bottom: -65px !important;
}

.bg-black {
    background-color: #000000;
}

.bg-light-green {
    background-color: #bdd98c;
}

.bg-neutral {
    background-color: #F9F6F3;
}

.mid-down {
    min-height: 420px;
}

#GoldintoGreen {
    padding-top: 9rem !important;
    padding-bottom: 14rem !important;
    background-position-y: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff !important;
}

.alert-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.alert {
    margin-bottom: 0px !important;
}

.btn-bottom {
    position: absolute;
    bottom: 20px;
}

.bio-pic {
    margin-top: 26px;
    padding: 22px;
}

.overview-col {
    min-height: 640px;
}

.social-col {
    min-height: 340px;
}

@-webkit-keyframes move {
    0% {
        -webkit-transform-origin: bottom left;
        -moz-transform-origin: bottom left;
        -ms-transform-origin: bottom left;
        -o-transform-origin: bottom left;
        transform-origin: bottom left;
        transform: scale(1.0);
        -ms-transform: scale(1.0);
        /* IE 9 */

        -webkit-transform: scale(1.0);
        /* Safari and Chrome */

        -o-transform: scale(1.0);
        /* Opera */

        -moz-transform: scale(1.0);
        /* Firefox */
    }
    100% {
        transform: scale(1.2);
        -ms-transform: scale(1.2);
        /* IE 9 */

        -webkit-transform: scale(1.2);
        /* Safari and Chrome */

        -o-transform: scale(1.2);
        /* Opera */

        -moz-transform: scale(1.2);
        /* Firefox */
    }
}

.sticky {
    background-color: rgba(11, 58, 36, .7);
}

.sticky .top-bar {
    max-height: 140px;
    z-index: 4000;
}

.sticky .logo-size {
    width: 78%;
}

.sticky .fa-phone {
    display: inline-block;
}

.sticky .phone-number {
    display: none;
}

.sticky .search-bar {
    margin-bottom: 10px;
}

.sticky .navbar-nav .dropdown-menu {
    margin-top: 30px;
}

.user-panel .card-body {
    padding: 1rem;
}

#message-outer {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 5000;
}

/*
    X-Small devices (portrait phones, less than 576px)
    No media query for `xs` since this is the default in Bootstrap
*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .nav-link {
    font-size: .75em;
}

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    .feature-card {
        min-height: 770px;
    }

#about {
    margin-top: 0px;
    background-position-x: 90%;
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.carousel-caption {
    top: 10px;
}
    
    .navbar-collapse {
        background: none;
    }
    
    .navbar-nav .dropdown-menu {
       margin-top: 45px;
    }

    .upstream {
        padding-top: 100px !important;
    }

    .content-margin-top {
        margin-top: 350px;
    }

    .large-font {
        font-size: 1.25em;
    }

    .carousel-caption h1 {
        font-size: 2.5em;
    }

    #services h2 {
        font-size: 2.2em;
    }

    .carousel-caption .lead {
        font-size: 1em;
    }

    .image-wrap {
        width: 100%;
        height: 42vw;
        top: 0px;
    }

    .logo-size {
        width: 99%;
    }

    .page-blurb-title {
        font-size: 4.5em;
    }

    .large-font {
        font-size: 1.25m;
    }

    .mid-nav {
        display: inline-block;
        margin-left: 2px !important;
        margin-right: 2px !important;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .blurb-header-bg {
        height: 520px;
    }

    .overlay-margins {
        margin-top: -460px !important;
        margin-bottom: 145px !important;
    }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    #performance p {
        color: #000000;
    }
    
    .nav-link {
        padding-right: .6rem !important;
        padding-left: .6rem !important;
        font-size: .85em;
    }

    .navbar-brand {
    }

    .carousel-caption h1 {
        font-size: 3em;
    }

    #services h2 {
        font-size: 2.8em;
    }

    .carousel-caption .lead {
        font-size: 1.1em;
    }

    .image-wrap {
    }


}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    .carousel-caption h1 {
        font-size: 3.6em;
    }

    #services h2 {
        font-size: 3.5em;
        padding-right: 90px;
    }

    .carousel-caption .lead {
        font-size: 1.2em;
    }

    .image-wrap {
    }

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

    .nav-link {
        padding-right: .7rem !important;
        padding-left: .7rem !important;
        font-size: 1em;
    }
    .carousel-caption h1 {
        font-size: 4em;
    }

    #services h2 {
        font-size: 3.8em;
        padding-right: 60px;
    }

    .carousel-caption .lead {
        font-size: 1.3em;
    }

    #services {
        margin-top: -54px;
    }

    .image-wrap {
    }

}


/* Footer Styles */
.site-footer {
    background-color: #bfae8f; /* Tan color from image */
    color: #113b25; /* Dark green color from image */
    padding: 4rem 0;
    font-family: "Oswald", sans-serif; /* Best guess for the bold headings */
}

.site-footer h3, .site-footer a, .site-footer .footer-copyright {
    font-family: "Oswald", sans-serif;
}

.site-footer h3 {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.site-footer .footer-title {
    font-size: 2.2rem;
    max-width: 350px;
}

.site-footer a {
    color: #113b25;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.site-footer a:hover {
    color: #2a8648;
    text-decoration: none;
}

.site-footer .v-separator {
    border-left: 1px solid #113b25;
    height: 100%;
    margin-left: 20px;
    padding-left: 30px;
}

.site-footer .social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
}

.site-footer .newsletter-form .form-control {
    background-color: #d8cdb6;
    border: none;
    border-radius: 5px;
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
    color: #113b25;
}

.site-footer .newsletter-form .form-control::placeholder {
    color: #bfae8f;
}

.site-footer .newsletter-form .btn-signup {
    background-color: #113b25;
    color: #ffffff !important;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 2rem;
    text-transform: uppercase;
    font-weight: bold;
}

.site-footer .footer-logo {
    max-width: 250px;
    margin-bottom: 2rem;
}

.site-footer .footer-disclaimer {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    text-transform: none;
    font-family: Arial, sans-serif;
}

.site-footer .footer-copyright {
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    .site-footer .v-separator {
        border-left: none;
        border-top: 1px solid #113b25;
        margin-left: 0;
        padding-left: 0;
        padding-top: 2rem;
        margin-top: 2rem;
    }
}

#grantChartCarousel .carousel-indicators li {
    background-color: #2a8648;
}

#grantChartCarousel .carousel-indicators .active {
    background-color: #113b25;
}

#grantChartCarousel .carousel-item img {
    max-height: 800px;
    width: 100%;
    height: auto;
}

#grantChartCarousel .carousel-control-prev {
    left: -53px;
}

#grantChartCarousel .carousel-control-next {
    right: -53px;
}

#grantChartCarousel {
    padding: 2rem 0;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.chart-key {
    padding-top: 27px;
}
