﻿.slideshowcontainer {
    max-height: 100vh;
    overflow: hidden;
    width: 100%;
    position: relative;
    top: -100px;
    margin-bottom: -147px;
}

.main-page-slider .slider {
    margin: 0 auto;
    height: 95vh;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-radius: 0;
    border: 0;
}

    .main-page-slider .slider:hover .slick-arrow {
        display: block;
    }

.main-page-slider .container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
}

.main-page-slider .slide {
    text-align: center;
    position: relative;
}

    .main-page-slider .slide picture {
        max-height: 100%;
        display: block;
        max-width: 100%;
    }

        .main-page-slider .slide picture img {
            max-width: 100%;
            min-height: 900px;
            width: 100%;
            height: 100vh;
            object-fit: cover;
        }

    .main-page-slider .slide.slick-active img {
        -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.8);
        -moz-box-shadow: 0 0 20px rgba(0,0,0,0.8);
        box-shadow: 0 0 20px rgba(0,0,0,0.8);
    }

.main-page-slider .slide-text {
    position: absolute;
    top: 42vh;
    margin: 0 auto;
    left: 0;
    right: 0;
}

    .main-page-slider .slide-text p {
        color: #fff;
        height: auto;
        overflow: hidden;
        font-family: Montserrat,sans-serif;
        font-size: 18px;
        line-height: 19px;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-weight: bold;
        line-height: 1.3;
    }

    .main-page-slider .slide-text h2 {
        font-size: 50px;
        font-family: "Nunito Sans";
        color: rgb(255, 255, 255);
        font-weight: 800;
        line-height: 1;
        /* text-align: center; */
        text-shadow: 0px 0px 30px #000000;
    }

    .main-page-slider .slide-text.text-left .left-right-container, .main-page-slider .slide-text.text-right .left-right-container {
        max-width: 600px;
    }

.green-bar {
    width: 40px;
    height: 6px;
    background: #41ad49;
    display: inline-block;
    /* margin: 0 auto; */
}


html.font-download .main-page-slider .slide-text p {
    font-family: 'Roboto',sans-serif;
}

.main-page-slider .slide-text .btn {
    border-style: solid;
    border-width: 1px;
    border-color: rgb(255, 255, 255);
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 14px;
    font-family: "Barlow";
    color: rgb(255, 255, 255);
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px;
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
}

    .main-page-slider .slide-text .btn:hover {
        text-decoration: none;
        background: #328538;
    }

.main-page-slider .slide-text.left {
    left: 0%;
}

.main-page-slider .slide-text.right {
    right: 0%;
}

.main-page-slider .slick-arrow {
    height: 70px;
    width: 70px;
    border: none;
    font-size: 0;
    color: transparent;
    position: absolute;
    top: 50%;
    margin-top: -35px;
    background: transparent;
    padding: 0;
    display: none;
}

    .main-page-slider .slick-arrow svg {
        width: 100%;
    }

    .main-page-slider .slick-arrow:hover, .main-page-slider .slick-arrow:focus, .main-page-slider .slick-arrow:active {
        outline: none;
    }

    .main-page-slider .slick-arrow.slick-prev {
        left: 40px;
    }

    .main-page-slider .slick-arrow.slick-next {
        right: 40px;
    }

.main-page-slider .slick-dots {
    position: absolute;
    left: 60px;
    right: 0;
    top: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    width: 320px;
    text-align: center;
    padding: 5px 25px 10px;
    margin: 0;
}

    .main-page-slider .slick-dots li {
        display: inline-block;
        vertical-align: top;
        margin-left: 10px;
    }

        .main-page-slider .slick-dots li.slick-active button {
            background: #e52c35;
        }

        .main-page-slider .slick-dots li:first-child {
            margin-left: 0;
        }

    .main-page-slider .slick-dots button {
        display: block;
        height: 19px;
        width: 19px;
        background: rgba(255,255,255,0.5);
        border: none;
        font-size: 0;
        color: transparent;
        -webkit-border-radius: 19px;
        -moz-border-radius: 19px;
        border-radius: 19px;
    }

        .main-page-slider .slick-dots button:hover, .main-page-slider .slick-dots button:focus, .main-page-slider .slick-dots button:active {
            outline: none;
        }

.main-page-slider.inner-page {
    max-height: 250px;
}

    .main-page-slider.inner-page .slide picture img {
        min-height: 250px;
    }

.main-page-slider .sl-d {
    top: inherit;
    bottom: 0;
    height: 70px;
}

.coewrapper h2, .pressreleaseswrapper h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 25px;
}

.coewrapper .eventitem .eventdate {
    font-size: 16px;
    font-family: "Nunito Sans";
    color: rgb(64, 184, 73);
    font-weight: bold;
    text-align: left;
}

.eventitem, .pressreleaseitem {
    border-left: 1px solid rgba(255,255,255,.5);
    margin-left: 40px;
    padding: 1px 0 30px 10px;
}

.events-tab, .pressrelease-tab {
    position: absolute;
    left: 15px;
    top: 20px;
}

    .events-tab img, .pressrelease-tab img {
        height: 40px;
    }

.eventnamedesc h3, .pressreleasenamedesc h3 a {
    font-size: 23px;
    font-family: "Nunito Sans";
    color: rgb(255, 255, 255);
    font-weight: 700;
    line-height: 1;
    margin: 3px 0 7px;
    text-align: left;
}

.eventnamedesc p, .pressreleasenamedesc p {
    font-size: 15px;
    font-family: "Barlow";
    color: rgb(255, 255, 255);
    line-height: 1.3;
    text-align: left;
}

.learnMorePromo {
    border-style: solid;
    border-width: 1px;
    border-color: rgb(65, 173, 73);
    border-radius: 4px;
    background-color: rgb(255, 255, 255);
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
    color: rgb(65, 173, 73);
    padding: 5px 12px;
    font-size: 14px;
    font-family: "Barlow";
    text-decoration: none !important;
    font-weight: 800;
}

    .learnMorePromo:hover {
        color: #fff;
        background-color: #328538;
    }

#promoAreaHome .promo-container {
    background: url(/images/colr_mp_parallax.jpg) fixed center center no-repeat;
    background-size: cover !important;
    padding: 5.5% 0;
}

.mayor #promoAreaHome .promo-container {
    background: url(/images/colr_parallax_mayor.jpg) fixed center center no-repeat;
}

.police #promoAreaHome .promo-container {
    background: url(/images/colr_parallax_police.jpg) fixed center center no-repeat;
}

.fire #promoAreaHome .promo-container {
    background: url(/images/colr_parallax_fire.jpg) fixed center center no-repeat;
}

.parks #promoAreaHome .promo-container {
    background: url(/images/colr_parallax_parks.jpg) fixed center center no-repeat;
}


.feedAreaHome {
    padding: 54px 0 74px;
    background: rgb(55,57,105);
    background: linear-gradient(0deg, rgba(55,57,105,1) 0%, rgba(32,35,88,1) 100%);
}

.promoItemContainer {
    direction: ltr !important;
    margin: 0 17px;
}

    .promoItemContainer .promoItem .promoImage {
        position: relative;
        overflow: hidden;
        display: block;
        box-shadow: 0px 0px 3px rgba(0,0,0,.5);
        margin: 0 7px;
    }

        .promoItemContainer .promoItem .promoImage a {
            display: block;
            position: relative;
        }

        .promoItemContainer .promoItem .promoImage img {
            width: 100%;
        }

    .promoItemContainer .promoItem h3.promoTitle {
        font-size: 28px;
        font-family: "Barlow";
        color: rgb(255, 255, 255);
        font-weight: bold;
        text-transform: uppercase;
        line-height: 1.0;
        text-align: center;
        margin: 0;
        bottom: 24px;
        padding: 5px 20px;
        position: absolute;
        width: 100%;
    }

.promo-overlay {
    display: none;
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
    background: rgba(32, 35, 88, .3);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

    .promoItemContainer .promoItem .promoImage:hover .promo-overlay, .promo-overlay:hover {
        display: block;
    }

.home #content .container {
    min-height: 420px;
}

.home #content .bg-image-container {
    padding: 20px 0;
    background: #fff url(/images/colr_mp_desktop_mayor_portrait_v5.jpg) no-repeat right bottom;
}

    .home #content .bg-image-container .col-md-12 {
        width: 62%;
    }

    .home #content .bg-image-container .container {
        padding: 0;
        background: none;
    }

.home .extra-content {
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(241,239,230,1) 100%);
}

    .home .extra-content .col-md-6:first-child {
        padding-right: 0;
    }

    .home .extra-content .col-md-6:nth-child(2) {
        padding-left: 0;
    }

    .home .extra-content h2, .home .extra-content p {
        padding: 0 15px;
    }

.microsite #content .container {
    min-height: 0;
}

.microsite #content .bg-image-container {
    padding: 20px 0;
    background: none;
}

    .microsite #content .bg-image-container .col-md-12 {
        width: 100%;
    }

.extra-content img {
    min-height: 420px;
    object-fit: cover;
}

.bottompromoarea {
    padding-top: 20px;
}

.bottomPromoFullWidth {
    width: 100%;
    background-size: cover !important;
    min-height: 433px;
    position: relative;
}

    .bottomPromoFullWidth h2 {
        color: #ffffff;
        font-size: 33px;
        font-weight: bold;
        margin-bottom: 0px;
        font-family: 'Roboto Slab', serif;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

    .bottomPromoFullWidth p {
        font-family: "Montserrat", sans-serif;
        font-size: 20px;
        padding-bottom: 0;
        color: #ffffff;
        font-weight: normal;
        margin-top: 0;
        margin-bottom: 5px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

    .bottomPromoFullWidth a.learnMorePromo {
        color: #ffffff;
        font-family: "Montserrat",sans-serif;
        font-size: 13px;
        padding: 2px 7px;
        display: inline-block;
        text-align: left;
        background: #8CBD39;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
        border-radius: 10px;
    }

    .bottomPromoFullWidth .promoinfotopmargin {
        margin-top: 200px;
    }

    .bottomPromoFullWidth .promoinfotopmarginright {
        margin-top: 200px;
        text-align: right;
    }

@media(min-width:768px) {
    .home #content .container, .extra-content .row {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .microsite #content .container {
        display: block;
        justify-content: unset;
        align-items: unset;
    }
}

@media (max-width:991px) and (min-width: 768px) {
    .homepageintro img {
        width: 20%;
        height: auto;
    }

    .bottomPromoFullWidth .promoinfotopmargin {
        margin-top: 150px;
    }

    .bottomPromoFullWidth {
        min-height: 300px;
    }

        .bottomPromoFullWidth .promoinfotopmarginright {
            margin-top: 150px;
        }
}

@media (max-width:767px) and (min-width: 320px) {
    .homepageintro img {
        width: 67px;
        height: auto;
    }

    .main-page-slider {
        top: 0;
        margin-bottom: 0;
        max-height: 90vh;
    }

        .main-page-slider .slide picture img {
            min-height: 0;
        }

        .main-page-slider .slide-text h2 {
            font-size: 40px;
        }

    #promoAreaHome .promo-container {
        padding: 20px 0;
    }

    .home #content .container .col-md-12 {
        margin-left: 0;
        width: 100%;
    }

    .home #content {
        box-shadow: 0 0 1px 0 rgba(0,0,0,.3);
        background: #F7F7F7 url(/images/colr_content_bg_mobile.jpg) no-repeat scroll center;
        padding: 0;
    }

    .microsite #content {
        box-shadow: none;
        background: none;
    }

    .coewrapper .eventitem h3 {
        font-size: 17px;
    }

    .bottompromoarea {
        padding-top: 0px;
    }

    .bottomPromoFullWidth {
        min-height: 200px;
    }

        .bottomPromoFullWidth .promoinfotopmargin {
            margin-top: 50px;
        }

        .bottomPromoFullWidth .promoinfotopmarginright {
            margin-top: 50px;
        }

        .bottomPromoFullWidth h2 {
            font-size: 24px;
            line-height: 22px;
        }

        .bottomPromoFullWidth p {
            font-size: 16px;
            margin-top: 6px;
        }
}

/*** flex slide css ***/
.slider.flexslider.loading .slide:first-child {
    opacity: 1 !important;
}

.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
    outline: none;
}

.slides, .flex-control-nav, .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

@font-face {
    font-family: 'flexslider-icon';
    src: url('/fonts/flexslider-icon.eot');
    src: url('/fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'),url('/fonts/flexslider-icon.woff') format('woff'),url('/fonts/flexslider-icon.ttf') format('truetype'),url('/fonts/flexslider-icon.svg#flexslider-icon') format('svg');
    font-weight: normal;
    font-style: normal;
}

.flexslider {
    position: relative;
    zoom: 1;
}

    .flexslider .slides > li {
        display: none;
        -webkit-backface-visibility: hidden;
        max-width: 640px;
    }

    .flexslider .slides img {
        width: 100%;
        display: block;
    }

.flex-pauseplay span {
    text-transform: capitalize;
}

.slides:after {
    content: "\20";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .slides {
    display: block;
}

* html .slides {
    height: 1%;
}

.no-js .slides > li:first-child {
    display: block;
}

.flex-viewport {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    margin: 0 40px;
}

    .flex-viewport.one-promo {
        margin: 0 auto;
        width: 626px;
    }

.loading .flex-viewport {
    max-height: 300px;
}

.flexslider .slides {
    zoom: 1;
}

.carousel li {
    margin-right: 5px;
}

.flex-direction-nav {
    *height: 0;
}

    .flex-direction-nav a {
        text-decoration: none;
        display: block;
        width: 26px;
        height: 45px;
        margin: -20px 0 0;
        position: absolute;
        top: 50%;
        z-index: 10;
        overflow: hidden;
        opacity: 0;
        cursor: pointer;
        color: rgb(65, 173, 73);
        text-shadow: 1px 1px 0 rgba(0,0,0,.3);
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        transition: all .3s ease;
    }

        .flex-direction-nav a:hover {
            opacity: .5;
        }

    .flex-direction-nav .flex-next {
        text-align: right;
    }

.flexslider .flex-prev {
    opacity: 1;
    left: 0;
}

.flexslider .flex-next {
    opacity: 1;
    right: 0;
}

.main-page-slider .flexslider .flex-prev {
    left: 65px;
}

.main-page-slider .flexslider .flex-next {
    right: 65px;
}

.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
    opacity: 1;
}

.flex-direction-nav .flex-disabled {
    opacity: 0 !important;
    filter: alpha(opacity=0);
    cursor: default;
}

.flex-direction-nav a:before {
    font-family: "flexslider-icon";
    font-size: 40px;
    display: inline-block;
    content: '\f001';
}

.flex-direction-nav a.flex-next:before {
    content: '\f002';
}

.flex-pauseplay a {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 5px;
    left: 10px;
    opacity: .8;
    z-index: 10;
    overflow: hidden;
    cursor: pointer;
    color: #000;
}

    .flex-pauseplay a:before {
        font-family: "flexslider-icon";
        font-size: 20px;
        display: inline-block;
        content: '';
    }

    .flex-pauseplay a:hover {
        opacity: 1;
    }

    .flex-pauseplay a.flex-play:before {
        content: '';
    }

.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -40px;
    text-align: center;
}

    .flex-control-nav li {
        margin: 0 6px;
        display: inline-block;
        zoom: 1;
        *display: inline;
    }

.flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #666;
    background: rgba(0,0,0,.5);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,.3);
    -moz-box-shadow: inset 0 0 3px rgba(0,0,0,.3);
    -o-box-shadow: inset 0 0 3px rgba(0,0,0,.3);
    box-shadow: inset 0 0 3px rgba(0,0,0,.3);
}

    .flex-control-paging li a:hover {
        background: #333;
        background: rgba(0,0,0,.7);
    }

    .flex-control-paging li a.flex-active {
        background: #000;
        background: rgba(0,0,0,.9);
        cursor: default;
    }

.flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
}

    .flex-control-thumbs li {
        width: 25%;
        float: left;
        margin: 0;
    }

    .flex-control-thumbs img {
        width: 100%;
        display: block;
        opacity: 1;
        cursor: pointer;
    }

        .flex-control-thumbs img:hover {
            opacity: 1;
        }

    .flex-control-thumbs .flex-active {
        opacity: 1;
        cursor: default;
    }

@media(max-width:767px) {
    .flex-direction-nav a {
        width: 24px;
        height: 31px;
    }

        .flex-direction-nav a:before {
            font-size: 26px;
        }
}

@media(max-width:991px) {
    .extra-content .container {
        padding: 0;
        min-height: 0 !important;
    }

    .extra-content img {
        min-height: 0;
        width: 100%;
    }

    .extra-content .column {
        padding: 0;
    }

    .extra-content h2, .extra-content p {
        padding: 0 15px;
    }

    .home #content .container h2, .home #content .container p {
        text-align: center;
    }

    .extra-content h2 {
        margin-top: 15px;
        font-size: 30px;
    }
}

@media (max-width:767px) and (min-width: 320px) {
    .main-page-slider .slide-text {
        top: 14vh;
    }

    .slideshowcontainer {
        margin-bottom: 0;
        top: 0;
    }

    .main-page-slider .slider {
        height: 81vh;
    }

    .main-page-slider .slide-text {
        padding: 0 45px;
    }

    .main-page-slider .flexslider .flex-prev {
        left: 15px;
    }

    .main-page-slider .flexslider .flex-next {
        right: 15px;
    }

    .extra-content .row {
        margin: 0;
    }

        .extra-content .row .row {
            margin: 0 -15px;
        }

    .home #content .bg-image-container {
        padding: 0;
        background: #fff url(/images/colr_mp_mobile_mayor_portrait2.jpg) no-repeat center bottom;
        background-size: contain;
    }

        .home #content .bg-image-container, .home #content .bg-image-container .col-md-12, .home #content .bg-image-container .container {
            min-height: 600px !important;
        }

            .home #content .bg-image-container .container {
                padding: 26px 30px 30px;
            }

                .home #content .bg-image-container .container .btn {
                    bottom: 0;
                    position: absolute;
                    left: 50%;
                    width: auto;
                    transform: translateX(-50%);
                }

    .home #content .container {
        min-height: 780px;
    }

    .microsite #content .bg-image-container {
        background: none;
    }

        .microsite #content .bg-image-container, .microsite #content .bg-image-container .col-md-12, .microsite #content .bg-image-container .container {
            min-height: 0 !important;
        }

            .microsite #content .bg-image-container .container {
                padding: 0 15px;
            }

                .microsite #content .bg-image-container .container .btn {
                    bottom: auto;
                    position: relative;
                    left: auto;
                    width: auto;
                    transform: none;
                }

    .microsite #content .container {
        min-height: 0;
    }

    .promoItemContainer .promoItem h3.promoTitle {
        font-size: 20px;
    }

    #promoAreaHome .promo-container {
        height: auto;
    }

    .coewrapper h2, .pressreleaseswrapper h2 {
        font-size: 34px;
    }
}
