﻿@font-face {
    font-family: Prometo;
    src: url('/_content/SJIndustries.Shared/SharedContent/Fonts/Prometo%20Regular.otf')
}

@font-face {
    font-family: Din-Regular;
    src: url(/_content/SJIndustries.Shared/SharedContent/Fonts/DIN-Regular_F.otf)
}

@font-face {
    font-family: Din-Bold;
    src: url(/_content/SJIndustries.Shared/SharedContent/Fonts/DIN-Bold.otf)
}


/*# !TOP OF FILE #*/
/*# 1 General #*/
.formWrapper.conserveblog {
    padding-top: 0;
    background: #fff;
}

    .formWrapper.conserveblog .container {
        max-width: 1270px;
        width: 100%;
        padding: 0 60px;
    }


h1 {
    font-family: Barlow, 'Prometo',sans-serif;
}

h2 {
    font-family: Barlow, 'Prometo',sans-serif;
    margin-top: 0;
}

h3 {
    font-family: Barlow, 'Prometo',sans-serif;
}

a.btn {
    background: #df6122;
    color: #ffffff;
    text-transform: uppercase;
    border-radius: 0;
}

.bottomBlock {
    background: #e5eaf1;
    background-color: #fff;
}

.prefooter {
    max-width: 1270px;
    width: 100%;
    margin: 0 auto;
}

img {
    max-width: 100%;
}

/*# 2 Blog Heading #*/
.conserveheading {
    height: 117px;
}

.logo {
    float: left;
    width: 73%;
    vertical-align: top;
    padding: 14px 0 0;
    border-top: 1px solid #959595;
    border-bottom: 1px solid #959595;
    min-height: 117px;
}

    .logo p {
        font-size: 16px;
        font-weight: 700;
    }

    .logo img {
        max-width: 255px;
        width: 100%;
        padding-bottom: 10px;
        padding-bottom: 0px;
    }

.conserveheading .greenbg {
    float: right;
    width: 27%;
    vertical-align: top;
    background: url('/SJG/media/img/conserve-blog/green-logo-background.jpg');
    background: url('/SJG/media/img/conserve-blog/blue-logo-background.jpg');
    background-size: cover;
    background-position: right bottom;
    padding: 20px 26px;
    min-height: 117px;
}

    .conserveheading .greenbg h2 {
        font-size: 17px;
        color: #ffffff;
        margin-top: 0;
        font-family: Barlow, "Roboto", sans-serif;
    }
/*# 2 Blog Heading / Email Submit #*/

/*# 3 Categories #*/
.categories .list {
    display: inline-block;
    width: 74%;
    vertical-align: top;
}

    .categories .list a {
        color: #f06d2a;
        margin: 30px 13px;
        display: inline-block;
    }

        .categories .list a:first-child {
            margin-left: 0;
        }

.categories .searchBox {
    display: inline-block;
    width: 25%;
    vertical-align: top;
    position: relative;
    padding: 28px 0;
    left: 0;
    border: 0;
    top: 0;
    z-index: 999;
}

    .categories .searchBox input[type="image"] {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .categories .searchBox input[type="text"] {
        border: 1px solid #959595;
    }

/*# 4 Featured Post #*/
.hero {
    margin-bottom: 38px;
}

    .hero .image {
        float: right;
        width: 65%;
    }

    .hero .text {
        float: left;
        width: 35%;
        position: relative;
    }

        .hero .text > div {
            top: 50%;
            position: absolute;
            transform: translateY(-50%);
            text-align: center;
            padding-right: 14%;
        }

        .hero .text h2 {
            font-size: 34px;
            padding: 0 39px;
            line-height: 1.2em;
            margin-bottom: 10px;
        }

            .hero .text h2 a {
                color: #1f1f1f;
            }

        .hero .text p {
            font-size: 19px;
            padding: 0 20px;
            line-height: 1.3em;
        }

/*# 5 CTAs #*/
.bluecta, .listing .greencta {
    float: right;
    width: 31.3%;
    height: 400px;
    background: #003579;
    color: #ffffff;
    padding: 25px 40px;
    padding: 1em;
    text-align: center;
    margin-bottom: 52px;
}

    .bluecta h2 {
        font-size: 26px;
        line-height: 1.2em;
        margin-bottom: 24px;
    }

    .bluecta a.btn {
        margin-bottom: 45px;
    }

.greencta,
.listing .greencta {
    background: url('/SJG/media/img/conserve-blog/green-logo-cta-background.jpg');
    padding: 40px;
    padding: 1em;
    background-size: cover;
    background-position: bottom right;
}

    .listing .greencta h2 {
        font-size: 28px;
        line-height: 1.3em;
    }

    .listing .greencta hr {
        margin-top: 13px;
        border-top: 1px solid #ffffff;
    }

    .listing .greencta p {
        font-size: 18px;
        line-height: 1.3em;
    }
/*# 6 Articles #*/
.listing {
    padding-bottom: 170px;
    padding-bottom: 2em;
    position: relative;
}

    .listing div .article {
        float: left;
        width: 30.3%;
        height: 400px;
        margin-bottom: 52px;
        margin-right: 3%;
        display: none;
    }
/*
    .listing div:nth-child(3n) {
        margin-right: 0 !important;
    }*/

    .listing .article .image img {
        width: auto;
        max-width: 100%;
    }

    .listing .article .image {
        margin-bottom: 22px;
    }

    .listing .article .text .category {
        margin-bottom: 15px;
    }

        .listing .article .text .category a {
            text-transform: uppercase;
            color: #f06d2a;
        }

    .listing .article .text h2 {
        font-size: 27px;
        line-height: 1.15em;
    }

        .listing .article .text h2 a {
            color: #1f1f1f;
        }

div.funFact {
    padding: 1em;
    text-align: center;
    background: #e2efd9;
    width: 100%;
    margin: 1em auto 1.5em auto;
}

#load {
    width: 200px;
    background-color: #f06609;
    border: 0;
    font-family: Barlow, "Din-Regular",sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 34px;
    border-radius: 4px;
    display: block;
    color: #ffffff;
    padding: 0 30px;
    text-align: center;
    margin: 0 auto;
}

    #load:hover, #load:focus {
        background-color: #286090;
    }

/*# 6 Articles / Pager #*/
.listing .PagerControl {
    position: absolute;
    bottom: 130px;
    width: 100%;
    max-width: 1150px;
    text-align: center;
    color: #1f1f1f;
    font-weight: 700;
}

    .listing .PagerControl a {
        color: #f0641b;
    }

        .listing .PagerControl a.UnselectedPage {
            color: #888888;
            padding: 10px;
        }

    .listing .PagerControl span {
        padding: 0 !important;
    }

        .listing .PagerControl span.SelectedPage {
            padding: 10px !important;
        }

.listing .PagerResults {
    display: none;
}

.listing hr {
    border-top: 1px solid #000000;
    margin-top: 30px;
}

/*# 7 Subscription Box #*/
.NewsletterSubscription {
    text-align: left;
    position: relative;
    margin-top: 0px;
}

.greenbg p {
    color: #ffffff;
}


.NewsletterSubscription .form-group {
    margin: 0;
    display: inline-block;
    width: 55%;
}

.NewsletterSubscription a {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 90px;
    background-color: #f06609;
    border: 0;
    font-family: Barlow, "Din-Regular", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 34px;
    padding: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

    .NewsletterSubscription a.disabled,
    .NewsletterSubscription a.disabled:hover {
        pointer-events: none;
        background: #f3f3f3 !important;
        color: #000000 !important;
    }

    .NewsletterSubscription a:hover {
        background-color: #286090;
    }

.NewsletterSubscription input[type="text"] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    width: calc(100% - 90px);
}

.NewsletterSubscription input[type="submit"] {
    background-color: #f06d2a;
}

.conserveheading .NewsletterSubscription label {
    display: none;
}

.conserveheading .NewsletterSubscription .emailerrormessage {
    display: none;
    color: #f06609;
}

    .conserveheading .NewsletterSubscription .emailerrormessage.disabled {
        display: block;
    }

.conserveheading .greenbg .message.disabled {
    display: none;
}

.NewsletterSubscription .form-group-submit {
    width: 40%;
    padding-left: 9px;
}

/*# 8 Article Detail #*/
/*# 8 Article Detail / Hero #*/
.hero {
    margin-top: 44px;
    margin-top: 0px;
}

    .hero .category {
        margin-bottom: 20px;
    }

        .hero .category a {
            text-transform: uppercase;
            color: #f06d2a;
        }

    .hero img {
        margin-top: 25px;
    }

.blogPostHeroImage {
    max-width: 90%;
    margin: 0px auto;
}
/*# 8 Article Detail / Content #*/
.blogpost .content {
    display: inline-block;
    width: 71%;
    vertical-align: top;
    padding: 16px 60px;
}

    .blogpost .content,
    .blogpost .content p {
        font-size: 18px;
        font-family: Barlow, "Din-Regular", sans-serif;
        line-height: 1.45em;
        margin-bottom: 15px;
    }

        .blogpost .content hr {
            margin-top: 34px;
            border-top: 1px solid #1f1f1f;
            width: 100%;
            max-width: 250px;
            margin-left: 0;
            margin-bottom: 34px;
        }
/*# 8 Article Detail / ShareThis #*/
.blogpost .sharethis {
    margin-bottom: 22px;
}

    .blogpost .sharethis p {
        font-size: 14px;
        font-family: Barlow, "Din-Regular", sans-serif;
        display: inline-block;
        vertical-align: top;
        padding-right: 10px;
    }

    .blogpost .sharethis .addthis_inline_share_toolbox {
        display: inline-block;
        vertical-align: top;
    }

        .blogpost .sharethis .addthis_inline_share_toolbox a {
            padding: 0 !important;
            border-radius: 16px !important;
            margin-top: -5px;
            margin-right: 9px;
        }

            .blogpost .sharethis .addthis_inline_share_toolbox a svg {
                width: 22px !important;
                height: 22px !important;
                margin: 5px !important;
            }

/*# 8 Article Detail / Tags #*/
.blogpost p.tags {
    font-size: 14px;
    font-family: Barlow, "Din-Regular", sans-serif;
}

    .blogpost p.tags span {
        padding-left: 20px;
        font-weight: 700;
    }

/*# 8 Article Detail / Right Rail #*/
.blogpost .rightrail {
    display: inline-block;
    width: 28%;
    vertical-align: top;
    margin-top: 2.4%;
    max-width: 270px;
}

    .blogpost .rightrail .bluecta,
    .blogpost .rightrail .greencta {
        width: 100%;
        padding: 25px;
        height: auto;
        float: none;
        margin-bottom: 20px;
    }

    .blogpost .rightrail .greencta {
        text-align: center;
        color: #ffffff;
    }

    .blogpost .rightrail hr {
        margin-top: 31px;
        border-top: 1px solid #1f1f1f;
        margin-bottom: 17px;
    }

    .blogpost .rightrail .recommended h2 {
        font-size: 14px;
        text-transform: uppercase;
        font-weight: 700;
        font-family: Barlow, "Din-Bold", sans-serif;
        margin-bottom: 18px;
    }

    .blogpost .rightrail .recommended h3 {
        font-size: 17px;
        margin-top: 18px;
        margin-bottom: 18px;
    }

.rightrail .bluecta h2,
.rightrail .greencta h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.rightrail .bluecta a.btn {
    margin-bottom: 20px;
}

.rightrail .greencta h2 {
    color: #ffffff;
}

.rightrail .greencta hr {
    margin-top: 0;
    border-color: #ffffff;
}

.rightrail .greencta p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.3em;
}

.rightrail .NewsletterSubscription input[type="submit"] {
    width: 52px;
    font-size: 14px;
    line-height: 30px;
}

.rightrail .NewsletterSubscription input[type="text"] {
    height: 30px;
    width: calc(100% - 52px);
}
/*# 9 Search Results Page #*/
.conserveblog.searchresults .SearchDialog .form-group {
    margin: 0;
    margin-bottom: 10px;
}

.conserveblog.searchresults .SearchDialog .form-horizontal {
    margin-bottom: 30px;
}

.conserveblog.searchresults .SearchDialog input[type="submit"] {
    background-color: #f06609;
    border: 0;
    font-family: Barlow, "Din-Regular",sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 34px;
    padding: 0px 20px;
    border-radius: 4px;
}

/*# !Mobile Styles #*/
/*# !MobileStyles / max-width 1000 #*/
@media (max-width: 1000px) {
    .logo {
        width: 60%;
    }

    .formWrapper.conserveblog .container {
        padding: 0 10px;
    }

    .conserveheading .greenbg {
        width: 40%;
    }

    .categories .list,
    .categories .searchBox {
        width: 100%;
        text-align: center;
    }

        .categories .list a {
            margin-bottom: 0;
        }

    .bluecta,
    .listing .greencta,
    .listing .article {
        width: 45%;
    }

    .listing .article {
        margin-right: 10%;
    }

    .listing div:nth-child(3n) {
        margin-right: 10% !important;
    }

    .listing div:nth-child(even) {
        margin-right: 0 !important;
    }

    .listing .greencta {
        float: left;
        margin-left: 50%;
        transform: translateX(-50%);
    }

    .hero .image,
    .hero .text {
        width: 50%;
    }

    .blogpost .content {
        padding-left: 0;
    }
}
/*# !Mobile Styles / max-width 768 #*/
@media (max-width: 768px) {
    .logo,
    .conserveheading .greenbg {
        width: 100%;
    }

    .categories .list {
        text-align: center;
    }

        .categories .list a {
            margin: 15px 15px 0;
        }

    .hero .image,
    .hero .text {
        float: unset;
        width: 100%;
    }

    .hero .text {
        margin-top: 20px;
    }

        .hero .text > div {
            top: 0;
            position: relative;
            transform: unset;
            padding-right: 0;
        }

    .bluecta,
    .listing .greencta,
    .listing .article {
        width: 100%;
        float: unset;
    }

    .listing {
        padding-bottom: 100px;
    }

        .listing .article {
            text-align: center;
        }

        .listing .PagerControl {
            bottom: 60px;
        }

    .greencta .Subscription {
        margin-top: 30px;
    }

    .blogpost .content,
    .blogpost .rightrail {
        width: 100%;
        padding: 0;
    }

    .blogpost .rightrail {
        margin-top: 0;
        max-width: 100%;
    }

        .blogpost .rightrail .sharethis {
            display: none;
        }

        .blogpost .rightrail hr {
            margin-top: 10px;
        }

        .blogpost .content hr,
        .blogpost .rightrail hr {
            margin-left: auto;
            margin-right: auto;
            max-width: 250px;
        }

    .blogpost .sharethis,
    .blogpost p.tags {
        text-align: center;
    }

    .blogpost .rightrail .recommended {
        text-align: center;
    }

    .blogpost .rightrail .bluecta,
    .blogpost .rightrail .greencta {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/*# 9 Modal Forms #*/
.bluecta .modal, .greencta .modal {
    color: #1f1f1f !important;
    text-align: left !important;
}

.modal .EditingFormTable {
    width: 100%;
}

    .modal .EditingFormTable td {
        padding-bottom: 20px;
    }

    .modal .EditingFormTable .FieldLabel {
        width: 95px;
        vertical-align: middle;
    }

        .modal .EditingFormTable .FieldLabel label {
            margin-bottom: 0;
        }



.newsletterSubscription input {
    background-color: #f06d2a;
}
.subscribed-message{
    color: white;
}

.conserveheading div:nth-of-type(1) {
    overflow: initial !important;
}

.conserveheading div.greenbg {
    padding: 20px 26px !important;
}
/*# !END OF FILE #*/


