﻿h1 {
    font-size: 26px;
    color: #000;
    margin-top: 0;
}

.sec-title {
    text-align: center;
    padding-bottom: 18px;
}

    .sec-title .header-line {
        height: 2px;
        width: calc( 100% - 30px );
        display: block;
        position: absolute;
        top: 30px;
        z-index: 20;
        background-color: #fff;
    }

    .sec-title .header-line {
        background-color: #00558c;
    }

    .sec-title h2 {
        position: relative;
        display: inline-block;
        color: #000;
        font-size: 18px;
        font-weight: 700;
        line-height: 40px;
        background-color: #ffffff;
        margin: 0;
        padding: 10px;
        z-index: 40;
        text-transform: uppercase;
    }

        .sec-title h2.title-white {
            color: #ffffff;
            border-color: #ffffff;
        }

        .sec-title h2.bkg-none {
            background-color: transparent;
        }

a.btn {
    display: block;
    width: 100%;
    background: #00558c;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    padding: 10px 0;
    margin-top: 10px;
    border: 1px solid #00558c;
    -webkit-transition: all .25s;
    transition: all .25s;
}

    a.btn:hover {
        background: #fff;
        color: #00558c;
        border: 1px solid #00558c;
    }

section {
    margin-top: 40px;
}

    section:first-child {
        margin-top: 0;
    }

/* Seeds */
#seeds-intro p {
    margin-bottom: 0;
}

.seed-section {
    margin-top: 40px;
    margin-left: 90px;
    margin-right: 90px;
}

#other-crops {
    margin-left: 130px;
    margin-right: 130px;
}

.seed-section:first-child {
    margin-top: 0;
}

.seed-section .row > div {
    justify-content: flex-start;
}

.seed-section .row .col-sm-7 {
    margin-top: 30px;
}

.seed-section img {
    display: block;
    margin: 0 auto;
}

.seed-buttons {
    display: flex;
    flex-grow: 0;
    flex-wrap: wrap;
    justify-content: space-around;
}

    .seed-buttons a {
        max-width: 49%;
    }

    .seed-buttons.gh a {
        max-width: 100%;
    }

.seed-section:last-child .seed-buttons {
    justify-content: flex-start;
}

@media only screen and (min-width: 768px) {
    .seed-section .row .col-sm-7 {
        margin-top: 0;
    }

    .seed-section img {
        margin: 0;
    }
}

/* Other Crops */
#other-crops img {
    width: 100%;
    margin-bottom: 20px;
}

#other-crops .col-sm-4 {
    margin-top: 30px;
}

#seeds-intro {
    position: relative;
    width: 100%;
}

.overlay-text {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    padding: 20px;
    text-align: left;
    max-width: 500px;
    margin-right: 40%;
}

    .overlay-text h1 {
        margin: 0 0 10px 0;
        font-size: 40px;
        font-weight: 500;
    }

    .overlay-text p {
        margin: 0;
        font-size: 18px;
        color: #000000;
    }

.seeds-headers h1 {
    font-size: 48px;
    font-weight: 500;
}

.black-text p {
    color: #000000 !important;
}

.seed-section p {
    color: #2E2E2E !important;
}
/*.container:has(.seeds-home) {
    width: 100% !important;
    padding: unset;
    margin-top: -15px;
}*/
@media only screen and (min-width: 768px) { /*Desktop*/
    #other-crops .col-sm-4 {
        margin-top: 0;
    }

    .header-para {
        text-align: center;
        padding-left: 125px;
        padding-right: 77px;
        padding-top: 10px;
    }

    /*.header-image {
        content: url("https://assets.syngentaebiz.com/images/seeds-home-header-desktop@2x.png");
        padding-top: 26px;
        padding-bottom: 10px;
    }*/
    .header-image {
        background-image: url('https://assets.syngentaebiz.com/images/seeds-home-header-desktop@2x.png');
        background-size: cover;
        background-position: center;
        height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .seed-section {
        margin-left: 130px;
        margin-right: 130px;
    }

    .seeds-other-crops-row {
        display: flex;
        flex-wrap: wrap;
    }

    .seeds-other-crop-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

        .seeds-other-crop-col p {
            flex: 1 1 auto;
        }

        .seeds-other-crop-col .btn {
            margin-top: auto;
            margin-bottom: 0;
        }
}

.legal-policy {
    font-size: 11px;
    padding-top: 25px;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media only screen and (max-width: 767px) { /*Mobile devices*/
    .header-para {
        text-align: center;
        padding-top: 10px;
    }

    /*.header-image {
        content: url("https://assets.syngentaebiz.com/images/seeds-home-header-mobile@2x.png");
        width: 540px;
        padding-top: 26px;
        padding-bottom: 10px;
    }*/
    .header-image {
        background-image: url('https://assets.syngentaebiz.com/images/seeds-home-header-mobile@2x.png');
        background-size: cover;
        background-position: center;
        height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        margin-top: -10px !important;
    }

    .seed-section {
        margin-left: 25px;
        margin-right: 25px;
    }

    #other-crops {
        margin-left: 25px !important;
        margin-right: 25px !important;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .overlay-text {
        background-color: #55565a14;
        padding: 20px;
        text-align: center;
        max-width: 500px;
        margin-right: unset !important
    }
}
