﻿div, p, span, label {
    font-size: 16px;
}

.banner {
    height: 344px;
}
    
    .banner .banner-nav {
        height: 48px;
        margin-top: 16px;
        padding-top: 1.5px;
    }
        .banner .banner-nav a {
            display: inline-block;
        }
            .banner .banner-nav a:first-of-type {
                margin-right: 24px;
            }

h2 {
    font-size: 40px;
    line-height: 47px;
    font-weight: bold;
    color: #333333;
    margin: 0px 0px 24px 0px;
}

h3 {
    font-size: 32px;
    line-height: 38px;
    text-transform: uppercase;
    font-weight: bold;
    color: #006940;
    margin: 0px 0px 4px 0px;
}

h5 {
    font-size: 18px;
    line-height: 20px;
    font-weight: bold;
}

.resources-nav-container h2 {
    margin: 16px 0px 24px;
}

.resources-nav-container hr {
    border-top: 2px solid #0D6940;
    border-bottom: none;
    margin: 32px 0px;
}

.nav-row {
    font-size: 20px;
    font-weight: bold;
}
    .nav-row .divider {
        padding: 0px 30px;
    }

.page-section {
    margin-bottom: 64px;
}

.featured-whitepaper .content-container {
    display: table;
    width: 75%;
    margin: 0 auto;
}
.featured-whitepaper .img-container, .featured-whitepaper .descr-container {
    display: table-cell;
    vertical-align: top;
}
    .featured-whitepaper .img-container {
        padding: 0px 24px;
    }
        .featured-whitepaper .img-container img {
            height: 210px;
            border: 1px solid #707070;
        }

.recent-blog-container .post-container .post-thumbnail {
    height: 192px;
    position: relative;
}
    .recent-blog-container .post-container .post-thumbnail img {
        width: 100%;
        position: absolute;
        bottom: 0;
    }

.recent-blog-container .nav-container {
    text-align: center;
    margin-top: 40px;
}

.eri-toolbox-container .row {
    display: flex;
    flex-grow: 1;
    margin-bottom: 16px;
}

.eri-toolbox-container .row:last-of-type {
    margin-bottom: 24px;
}

.eri-toolbox-container .row .left-col {
    padding-right: 18px;
}
.eri-toolbox-container .row .right-col {
    padding-left: 18px;
}

.eri-toolbox-container .tool {
    display: flex;
    align-items: flex-start;
    height: 100%;
}
    .eri-toolbox-container .tool:not(.noborder) {
        border-bottom: 1px solid #707070;
    }

    .eri-toolbox-container .tool img {
        margin-right: 21px;
        min-width: 36px;
        width: 36px;
    }

    .eri-toolbox-container .tool .tool-description a {
        color: #006940;
        display: inline-block;
        font-size: 16px;
        font-weight: bold;
        line-height: 22px;
        margin-bottom: 10px;
        padding-left: 0px;
        text-decoration: underline;
    }

    .eri-toolbox-container .tool .tool-description p {
        color: #424242;
        font-size: 16px;
        line-height: 22px;
    }

.eri-toolbox-container .row:last-of-type .tool {
    border-bottom: none;
}

.definitions-section-container {
    height: 460px;
    margin-bottom: 96px;
    vertical-align: middle;
}

.definitions-section {
    width: 80%;
    margin: auto;
    padding-top: 120px;
}

.definitions-divider-container {
    width: 100%;
    height: 460px;
    margin: -556px 0px 96px 0px;
    display: table;
}

    .definitions-divider-container .left-col, .definitions-divider-container .right-col {
        display: table-cell;
        width: min(50vw - 600px, 406px);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .definitions-divider-container .left-col {
        background-image: url(/wp-content/themes/wp-bootstrap-starter-eri/inc/assets/images/Rectangle_Background_Left_DT.svg);
        background-position: right;
    }

    .definitions-divider-container .right-col {
        background-image: url(/wp-content/themes/wp-bootstrap-starter-eri/inc/assets/images/Rectangle_Background_Right_DT.svg);
        background-position: left;
    }

    .definitions-divider-container .center-col {
        display: table-cell;
        width: max(990px, 100vw - 812px);
    }

.row.two-columns {
    margin-left: -20px;
    margin-right: -20px;
}

    .row.two-columns .col-lg-6, .row.two-columns .col-sm-6 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .row.two-columns.wide-buffer .col-lg-6:first-of-type {
        padding-right: 40px;
    }

    .row.two-columns.wide-buffer .col-lg-6:last-of-type {
        padding-left: 40px;
    }

.news-section-container h3, .more-resources-container h3 {
    margin-bottom: 16px;
}

.news-section-container h2 {
    margin-bottom: 16px;
}

.news-section-container ul {
    list-style-type: none;
    padding-inline-start: 0px;
    font-size: 20px;
}
    .news-section-container ul li {
        margin-bottom: 16px;
    }
        .news-section-container ul li:last-of-type {
            margin-bottom: 24px;
        }


.more-resources-container h2 {
    margin-bottom: 0px;
}
.more-resources-container .resource-content {
    margin-bottom: 16px;
}
.more-resources-container .resource-divider hr {
    margin: 24px 0px;
    border-top: 2px solid #0D6940;
    border-bottom: none;
}

#dlc-webinar a.btn {
    min-width: 300px;
}

.cta-side-by-side {
    background-image: url('/content/images/page/resources/green_bg.png'), url('/content/images/page/resources/blue_bg.png');
    background-position: left, right;
    background-repeat: no-repeat, no-repeat;
    background-size: 50.01% 100%;
    color: #ffffff;
    padding: 60px 0 70px 0;
}

    .cta-side-by-side .col-sm-6 {
        text-align: center;
        padding: 0 40px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .cta-side-by-side img {
        height: 100px;
    }

    .cta-side-by-side h4 {
        font-size: 30px;
        line-height: 34px;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .cta-side-by-side h6 {
        font-size: 16px;
        font-weight: 300;
        margin-top: 0;
        margin-bottom: 24px;
    }




#subscribe {
    background-color: #006940;
    color: #ffffff;
    text-align: center;
    padding: 48px 30px;
    margin-bottom: 96px;
}

    #subscribe h4 {
        font-size: 30px;
        font-weight: bold;
        line-height: 30px;
        margin-bottom: 20px;
    }

    #subscribe h6 {
        font-size: 28px;
        font-weight: bold;
        line-height: 33px;
        margin-bottom: 16px;
    }

    #subscribe form {
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        #subscribe form .checkboxes {
            margin-bottom: 24px;
            font-size: 24px;
        }

            #subscribe form .checkboxes label {
                font-size: 20px;
                font-weight: 300;
                line-height: 32px;
                padding: 0 52px;
                position: relative;
                padding-left: 40px;
                cursor: pointer;
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
                text-align: left;
            }

                #subscribe form .checkboxes label:last-of-type {
                    padding-right :0px;
                }

                #subscribe form .checkboxes label input {
                    position: absolute;
                    opacity: 0;
                    cursor: pointer;
                    height: 0;
                    width: 0;
                }

                #subscribe form .checkboxes label .custom-checkbox {
                    position: absolute;
                    top: 0;
                    left: 0;
                    height: 25px;
                    width: 25px;
                    background-color: #ffffff;
                    border: solid 1px #707070;
                }

                #subscribe form .checkboxes label input:checked ~ .custom-checkbox:after {
                    content: "";
                    position: absolute;
                    display: none;
                }

                #subscribe form .checkboxes label input:checked ~ .custom-checkbox:after {
                    display: block;
                }

                #subscribe form .checkboxes label .custom-checkbox:after {
                    left: 7px;
                    top: 0px;
                    width: 10px;
                    height: 20px;
                    border: solid #414141;
                    border-width: 0 4px 4px 0;
                    -webkit-transform: rotate(45deg);
                    -ms-transform: rotate(45deg);
                    transform: rotate(45deg);
                }

        #subscribe form input[type=text] {
            color: #414141;
            font-size: 16px;
            height: 45px;
            line-height: 32px;
            max-width: 522px;
            padding-left: 30px;
            padding-right: 30px;
            width: 100%;
            margin-bottom: 8px;
        }

            #subscribe form input[type=text]::placeholder,
            #subscribe form input[type=text]:-ms-input-placeholder,
            #subscribe form input[type=text]::-ms-input-placeholder {
                color: #888888;
            }

        #subscribe form input[type=submit] {
            max-width: 300px;
            width: 100%;
            line-height: 32px;
            margin-top: 8px;
        }

.social-icon-container {
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .btn-white {
        width: 100%;
        font-weight: bold;
    }

    .btn-white-outline {
        width: 100%;
        border: none;
        text-decoration: underline;
        margin-top: 15px;
    }

    .featured-whitepaper .content-container {
        width: 100%;
    }

    .eri-toolbox-container {
        padding: 0 50px;
        margin-bottom: 0;
    }

        .eri-toolbox-container .row {
            display: block;
            margin-bottom: 0;
        }

            .eri-toolbox-container .row:last-of-type .tool {
                border-bottom: 1px solid #707070;
            }

        .eri-toolbox-container .tool {
            padding-bottom: 30px;
            margin-bottom: 30px;
        }

        .eri-toolbox-container #see-all {
            display: none;
        }

    .definitions-divider-container {
        height: 300px;
        margin: -425px 0px 125px 0px;
    }

        .definitions-divider-container .left-col {
            background-image: url(/wp-content/themes/wp-bootstrap-starter-eri/inc/assets/images/Rectangle_Background_Left_DT_Small.svg);
            width: min(50vw - 225px, 150px);
        }

        .definitions-divider-container .right-col {
            background-image: url(/wp-content/themes/wp-bootstrap-starter-eri/inc/assets/images/Rectangle_Background_Right_DT_Small.svg);
            width: min(50vw - 225px, 150px);
        }

        .definitions-divider-container .center-col {
            width: max(450px, 100vw - 300px);
        }

    .row.two-columns.wide-buffer .col-lg-6:first-of-type {
        padding-right: 20px;
        padding-bottom: 32px;
    }

    .row.two-columns.wide-buffer .col-lg-6:last-of-type {
        padding-left: 20px;
    }



    .cta-side-by-side {
        background-position: top, bottom;
        background-size: 100% 50%, 100% 50%;
        padding: 0;
    }

        .cta-side-by-side .col-sm-6 {
            padding: 77px 40px;
        }


    .reorder {
        display: flex;
        flex-direction: column;
    }



    #subscribe form .checkboxes label {
        display: block;
    }

        #subscribe form .checkboxes label:not(:last-of-type) {
            margin-bottom: 28px;
        }
}
@media (min-width: 577px) {
    .banner h1 {
        margin: 70px 0px 16px;
    }
    .featured-whitepaper h2, .featured-whitepaper h3 {
        text-align: center;
    }
}
@media (max-width: 576px) {
    div, p, span {
        font-size: 16px;
    }
    h2 {
        font-size: 32px;
        line-height: 38px;
    }
    h3 {
        font-size: 24px;
        line-height: 28px;
    }
    .btn-green {
        width: 100%;
    }
    .banner {
        height: 320px;
    }
        .banner .banner-nav {
            text-align: center;
        }
    #lnk-guided-tour {
        border: none;
        text-decoration: underline;
    }
    .nav-row {
        line-height: 36px;
    }
        .nav-row .divider {
            padding: 0px 8px;
        }
    .page-section {
        margin-bottom: 48px;
    }
    .resources-nav-container hr {
        margin: 24px 0px 48px;
    }
    .featured-whitepaper .content-container, .featured-whitepaper .descr-container {
        display: block;
    }
    .featured-whitepaper .img-container {
        display: block;
        padding: 0px;
        margin-bottom: 24px;
    }
        .featured-whitepaper .img-container img {
            height: 381px;
        }
    .row.two-columns.wide-buffer .col-lg-6:first-of-type {
        padding-bottom: 24px;
    }
    .recent-blog-container .nav-container {
        margin-top: 16px;
    }
    .eri-toolbox-container {
        padding: 0 10px;
    }
        .eri-toolbox-container .tool {
            padding-bottom: 16px;
            margin-bottom: 16px;
        }
            .eri-toolbox-container .tool.noborder {
                margin-bottom: 8px;
            }
            .eri-toolbox-container .tool p {
                margin-bottom: 0px;
            }

    .definitions-section-container {
        height: auto;
    }
    .definitions-section {
        padding-top: unset;
    }
    .definitions-divider-container {
        display: none;
        margin: 0;
    }
    .news-section-container {
        margin-top: 32px;
    }
        .news-section-container .img-container {
            width: 100%;
            height: calc(0.703 * (100vw - 20px));
        }
            .news-section-container .img-container img {
                width: 100%;
            }

    .more-resources-container .img-container {
        width: 100%;
        height: calc(0.7052 * (100vw - 20px));
    }
        .more-resources-container .img-container img {
            width: 100%;
        }
}