:root {
    --hero-theme-color: #0077c8
}

#pnlHeroPins .hero-below {
    background-color: var(--hero-theme-color)
}

    #pnlHeroPins .hero-below:after {
        border-bottom-color: var(--hero-theme-color)
    }

.jumbotron {
    display: flex;
    padding: 0 !important;
    margin: 0 auto;
    margin-bottom: 0 !important;
    min-height: 345px !important;
    background-size: cover;
    overflow: hidden;
    background-color: transparent !important
}

    .jumbotron .img-responsive {
        max-height: 345px;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 0
    }

.social-nav {
    display: flex;
    text-decoration: none;
    list-style: none;
    padding: 0;
    font-family: 'Proxima Nova',sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    margin: 10px 0
}

    .social-nav > li {
        margin-right: 10px
    }

        .social-nav > li > a {
            color: var(--hero-theme-color);
            text-decoration: underline
        }

    .social-nav a:hover {
        color: #c00;
        text-decoration: none
    }

@media (min-width: 768px) {
    .carousel-image {
        width: 27% !important
    }

    #heroBelowLine {
        margin-bottom: 30px
    }

    body .divider-rule {
        background-color: #c6cccd;
        padding: 1px;
        margin-top: 10px;
        margin-bottom: 40px
    }
}

@media (max-width: 767px) {
    .mobile_bg {
        position: absolute;
        left: 0;
        width: 100%;
        height: 500px
    }

    .jumbotron {
        margin-left: 20px;
        height: 175px;
        min-height: 220px !important;
        margin-right: 15px
    }

    .hero-carousel {
        height: 240px
    }

    div#Hero_Module {
        background-color: transparent
    }
}

@media (min-width: 1199px) {
    .jumbotron {
        padding: 0 0;
        margin-top: 0;
        margin-right: 0;
        margin-left: 0;
        height: 100%
    }
}

.hero_container {
    display: flex !important;
    margin-left: 0 !important
}
.hero_container-nys {
    display: flex !important;
    margin-left: 0 !important
}

@media (min-width: 768px) {
    .hero-text-right {
        left: inherit !important;
        position: absolute;
        right: 20px
    }

    .hero_container {
        background-image: none !important
    }
}

#texthero {
    z-index: 1;
    position: absolute;
    left: 0;
    font-family: 'Proxima Nova',Helvetica,Arial
}

    #texthero h1 {
        z-index: 1;
        line-height: 62px;
        font-size: 56px
    }

    #texthero h2 {
        z-index: 1;
        font-size: 19px;
        margin-top: 0
    }

@media (max-width: 767px) {
    .hero-carousel {
        height: 175px
    }

    .slidesjs-previous {
        display: flex !important;
        cursor: pointer;
        position: absolute;
        top: 15%;
        left: 4%
    }

    .slidesjs-next {
        display: flex !important;
        cursor: pointer;
        position: absolute;
        top: 15%;
        right: 4%;
        background-position: -40px 0
    }

    #texthero h1, #texthero h2, #texthero h3 {
        margin-bottom: 20px
    }

    #texthero h1 {
        line-height: 33px;
        font-size: 33px
    }

    #texthero h2 {
        font-size: 19px;
        margin-top: 0
    }

    #texthero div {
        font-family: 'Proxima Nova',Helvetica;
        font-size: 13.5px;
        font-weight: 300
    }

    #texthero h1, .hero-text-light h2, .hero-text-light .hero-desc {
        color: #000 !important;
    }

    .hero-text-light .hero-sub {
        color: #000 !important;
    }

    .jumbotron #texthero {
        width: 300px
    }

    #pnlHeroPins {
        height: 200px
    }

    body .jumbotron .hero_container,
    body .jumbotron .hero_container-nys {
        background: 0 0 !important
    }

    .hero-desc {
        font-style: italic
    }

    #pnlHeroPins {
        height: auto
    }

    .jumbotron {
        height: auto
    }

    div[class*="herotext content-color-"] {
        background: 0 0 !important
    }
    div[class*="herotext  content-color-"] {
        background: 0 0 !important
    }
}

@media (min-width: 768px) {
    .hero-below {
        position: relative
    }

    #pnlHeroPins .hero-below:after {
        bottom: 100%;
        left: 50%;
        border: solid transparent;
        content: ' ';
        position: absolute;
        border-bottom-color: var(--hero-theme-color);
        border-width: 11px;
        margin-left: -11px
    }

    .hero-navtabs-links .selected:after {
        bottom: 150%;
        left: 50%;
        border: solid transparent;
        content: ' ';
        position: absolute;
        border-bottom-color: var(--hero-theme-color);
        border-width: 15px;
        margin-left: -15px
    }

    .jumbotron .hero_container,
    .jumbotron .hero_container-nys {
        padding-top: 20px
    }

        .jumbotron .hero_container .herotext,
        .jumbotron .hero_container-nys .herotext {
            padding-left: 20px;
            padding-right: 20px;
            padding-bottom: 20px
        }

    .hero-text-light {
        color: #fff
    }

    .hero-text-dark {
        color: #000
    }
}

.jumbotron #texthero {
    width: 440px
}

.hero-carousel {
    height: 100px;
    position: relative
}

.mobile-carousel-inner-slide-number {
    margin-top: 10px
}

@media only screen and (max-width: 767px) {
    .hero-carousel {
        height: 320px;
        max-height: 100%
    }

    .jumbotron #texthero {
        width: 100%;
        left: 0 !important
    }

    .slidesjs-navigation {
        width: 7%
    }

    .slidesjs-next {
        -moz-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        filter: fliph;
        -ms-filter: fliph
    }
}

@media (min-width: 768px) {
    .hero-below {
        position: relative
    }

    .hero-below-home {
        top: -5px
    }

    #pnlHeroPins .hero-below:after {
        bottom: 100%;
        left: 50%;
        border: solid transparent;
        content: " ";
        position: absolute;
        border-bottom-color: var(--hero-theme-color);
        border-width: 11px;
        margin-left: -11px
    }

    .hero-navtabs-links .selected:after {
        bottom: 150%;
        left: 50%;
        border: solid transparent;
        content: " ";
        position: absolute;
        border-bottom-color: #77b800;
        border-width: 15px;
        margin-left: -15px
    }
}

#heroPins {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0
}

.mapLabels {
    color: #fff;
    font-family: Arial;
    font-size: 12px
}

#Hero_Module .glyphicon-chevron-left:before, #Hero_Module .glyphicon-chevron-right:before {
    color: #fff;
    font-size: 26px;
    text-shadow: #fff 0 -1px 2px,#000 0 0 8px,rgba(0,0,0,.8) 0 0 3px
}

#texthero div {
    padding-bottom: 10px;
    z-index: 1;
    font-family: 'Proxima Nova',Helvetica;
    font-size: 13.5px;
    font-weight: 300
}

#slides {
    display: none;
    height: 100%
}

.slides_container div {
    display: block
}

.slidesjs-navigation {
    position: absolute;
    height: 100px;
    width: 4%;
    background-repeat: no-repeat;
    z-index: 99
}

.slidesjs-navigation-arrows {
    background-image: url(/images/slidesjs-navigation.png)
}

.slidesjs-previous {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 4%
}

.slidesjs-next {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    background-position: -40px 0
}

.slidesjs-play {
    cursor: pointer;
    position: absolute;
    bottom: 0;
    right: 0;
    height: 20px;
    background-position: -80px 0;
    z-index: 99
}

.slidesjs-stop {
    cursor: pointer;
    position: absolute;
    bottom: 0;
    right: 0;
    height: 20px;
    background-position: -120px 0;
    z-index: 99
}

.slidesjs-pagination {
    position: absolute;
    bottom: 0;
    left: 4%;
    list-style: none
}

    .slidesjs-pagination li {
        float: left;
        margin: 0 2px
    }

        .slidesjs-pagination li a {
            display: block;
            width: 10px;
            height: 0;
            padding-top: 10px;
            background-image: url(/images/slidesjs-pagination.png);
            background-position: 0 0;
            float: left;
            overflow: hidden
        }

            .slidesjs-pagination li a.active, .slidesjs-pagination li a:hover.active {
                background-position: 0 -10px
            }

            .slidesjs-pagination li a:hover {
                background-position: 0 -20px
            }

.jumbotron .image-map-wrapper {
    max-height: 345px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0
}


/* Hero Simple */
.hero-simple-inner {
    position:relative;
}

.sc-editing-preview .component-hero-simple {
    width:999px;
}
.sc-editing-preview.sc-preview-mode .component-hero-simple {
    width: auto;
}



/* microsite hero */
.microsite-hero {
    position: relative;
    min-height: 200px;
    overflow: hidden;
    background-color: #0085AD;
}

.microsite-hero-image {
    min-height: 250px;
}

.microsite-hero .text-block,
.microsite-hero img {
    position: absolute;
    max-width: 1000px;
}

.microsite-hero .text-block {
    z-index: 2;
    color: #fff;
    padding-right: 20px;
}


@media (min-width:768px) {
    .microsite-hero .text-block.right-align {
        right: 0;
    }
}

.microsite-hero-h1 {
    font-size: 3em;
    margin-top: 44px;
    margin-bottom: 25px;
    font-family: "Proxima Nova",Helvetica, Arial;
    font-weight: 800;
}

.microsite-hero-h2 {
    font-size: 1.33em;
    margin: 0;
    font-weight: 600;
    font-family: "Proxima Nova",Helvetica, Arial;
}
.microsite-hero h1, .microsite-hero h2 {
    font-size: 1em;
}

.microsite-hero-description {
    font-size: 1em;
    margin: 20px 0 0 0;
    font-weight: 400;
    font-family: "Proxima Nova",Helvetica, Arial;
}


.microsite-hero-shade .microsite-hero-h1 {
    margin-top: 32px;
    padding-left: 20px;
    padding-top: 15px;
}

    .microsite-hero-shade .microsite-hero-h1 h1 {
        margin: 0px;
    }

.microsite-hero-shade .microsite-hero-h2, .microsite-hero-shade .microsite-hero-description {
    padding-left: 20px;
    padding-right: 20px;
}

    .microsite-hero-shade .microsite-hero-h2 h2 {
        margin-top: 20px;
    }

.microsite-hero-shade .microsite-hero-description {
    padding-bottom: 15px;
}

/* desktop only */
@media (min-width:768px) {


    .hero-nyserda {
        margin-bottom:30px !important;
    }

    .microsite-hero .text-block {
        max-width: 60%;
        padding-left: 35px;
    }

    .microsite-hero-shade-shifted .text-block {
        max-width: 98%;
        padding-left: 30%;
    }

    .microsite-hero-shade .microsite-hero-h1 {
        margin-top: 32px;
        padding-left: 20px;
        padding-top: 15px;
    }

        .microsite-hero-shade .microsite-hero-h1 h1 {
            margin: 0px;
        }

    .microsite-hero-shade .microsite-hero-h2, .microsite-hero-shade .microsite-hero-description {
        padding-left: 20px;
        padding-right: 20px;
    }

        .microsite-hero-shade .microsite-hero-h2 h2 {
            margin-top: 20px;
        }

    .microsite-hero-shade .microsite-hero-description {
        padding-bottom: 15px;
    }
}
