﻿body, html {
    overflow: hidden;
    overflow-x: hidden;
}

body {
    overflow: hidden;
    -webkit-overflow-scrolling: touch; /*fixes slow scrolling on touch device*/
    font-size: 0.9rem;
    padding-bottom: 20px;
    overflow-x: hidden;
}

* {
    font-family: Segoe UI, Frutiger, Frutiger Linotype, Dejavu Sans, Helvetica Neue, Arial, sans-serif !important;
}

.home-tagline {
    background-color: #d5dbe3;
    padding-left: 5px
}

.home-tagline .ms-rteElement-H1 {
   font-size: 1.2em!important;    
}

.js-webpart-titleCell {
    display: block;
}


#main .container {
    background: #e5e9ee;
}

.row.clearfix {
    margin-left: 0;
}

/*sp 2019 - hides edit links for nav*/
.ms-displayInlineBlock {
    display: none;
}
/*base map*/

.search-location .HomePageSearch .ms-WPTitle {
    display: none
}

#divHomePageSearch input {
    margin-bottom: 10px
}

.search-location .linkNRMRegion {
    color: #07427d !important;
    line-height: 2;
}

.search-location #SearchItemAdvanced {
    background: #002857 !important;
    text-align: center;
    border-radius: 5px;
    padding: 8px 0 10px 0;
}

.search-location .linkAdvanced {
    color: #fff !important;
}

h4.SearchItemHover {
    background-color: #fff;
}

.ms-webpart-titleText span {
    font-size: 0.95em !important;
    color: #002857;
    font-weight: 600;
    line-height:normal;
}

#footer .container {
    background: #1a3e67;
}
/*header elements*/
.container-nav {
    width: auto !important;
    margin: 0px auto !important;
    max-width: 1252px !important;
}

.navbar-brand-sm img {
    margin-top: 6px;
}

.xs-sm-gosa {
    display: none;
}

@media (max-width: 320px) {
    .navbar-brand-sm img {
        width: 100%;
    }

    .mobile-gosa {
        padding-left: 0px !important;
        margin-left: 0px !important;
    }
}

.ms-displayInlineBlock {
    display: none;
}
/*hotspot image zoom*/
.hotspot-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.hotspot-text {
    height: 102px;
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    transition: all 0.2s ease;
    background: rgba(0,0,0,.7);
    color: #fff;
}

.hotspot-wrapper:hover .hotspot-text {
    bottom: 0;
    left: 0;
    right: 0;
}

.hotspot-wrapper img {
    max-width: 100% !important;
    clear: both;
    -webkit-transition: all 0.7s ease;
    transition: all 0.7s ease;
}

.hotspot-wrapper:hover img {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}
/*************************/

.ms-srch-hover-outerContainer {
    display: none !important
}

/*fix alignment in modal*/
.ms-dialog #s4-workspace {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.ms-dialog #ms-designer-ribbon {
    padding-top: 0px;
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
    /* IE10+ specific styles  */
    .sticky-top {
        position: fixed;
        top: 0;
        display: block;
        width: 100%;
    }
    /*ie flex fix*/
    .row {
        flex: 1;
    }

    .ms-dialog #s4-workspace {
        display: inline-block;
    }
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) and (max-width: 1159px) {
    /* IE10+ specific styles  */
    /*Fix for sticky top not working in IE */
    #ms-designer-ribbon {
        padding-top: 55px;
    }

    .sm-header-logos {
        max-width: 205px;
    }
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) and (max-width: 400px) {
    /* IE10+ specific styles  */
    /*Fix for not working in IE*/
    .navbar-brand-sm img {
        margin-right: -115px;
        width: 90%;
    }

    .mobile-gosa {
        margin-left: -15px;
    }
}

@media screen and (min-width: 1051px) {
    .site-box-title {
        font-size: 16pt;
    }
}

@media screen and (max-width: 1050px) {
    .site-box-title {
        font-size: 14pt;
    }
}

@media screen and (max-width: 330px) {
    .col-6.sm-header-logos #ctl00_PlaceHolderTopNavBar_ctl01_PortalLogo {
        font-size: 15pt !important;
    }
}



@media only screen and (max-width: 428px) and (min-width: 300px) {
    .xs-sm-gosa {
        display: inline-block !important;
        margin-top: -10px;
    }

    .mobile-gosa {
        margin-right: 0px;
        margin-left: 1px !important; /*width:90%;*/
    }

    .sm-header-logos {
        display: block;
        /*	margin-top: -5px;*/
        padding-right: 0px;
    }

    .col-6.sm-header-logos #ctl00_PlaceHolderTopNavBar_ctl01_PortalLogo {
        font-size: 15pt !important;
    }
}

@media screen and (max-width: 500px) {
    .site-header-title a {
        font-size: 6vmin;
    }

    #breadcrumb a {
        font-size: 4vmin;
    }

    .ms-webpart-titleText span {
        font-size: 8vmin;
    }
    /*search results*/
    #SearchBox.ms-floatLeft {
        width: 90% !important
    }

    .ms-searchCenter-result-main .ms-srch-sb-searchLink {
        margin-top: -13px !important;
        margin-right: 30px !important;
    }

    .site-header-title a {
        font-size: 6vmin;
    }

    #breadcrumb a {
        font-size: 4vmin;
    }

    .ms-webpart-titleText span {
        font-size: 8vmin;
    }
}


@media screen and (max-width: 577px) {
    /*allows reordering of columns on collapse*/
    .order-first {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }

    .order-last {
        -webkit-box-ordinal-group: 14;
        -ms-flex-order: 13;
        order: 13;
    }

    .order-0 {
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
        order: 0;
    }
    /*show on mobile only*/
    .location-search-sm {
        display: block;
        margin-left: -12px;
    }

        .location-search-sm .ms-webpart-titleText {
            padding: 10px !important;
        }

    .HomePageMapDiv {
        width: 97% !important;
        margin-right: -50px;
    }

    .location-search {
        display: none;
    }

    .location-search-sm #txtAddressInput {
        margin-bottom: 10px;
    }
    /*footer*/
    .wc-footer-links td {
        display: block;
        text-align: center !important;
        padding: 2px;
    }

    .wc-footer-links {
        margin: auto;
    }
    /*hide home link from footer*/
    #footer-links tbody .zz1_FooterLinks_1tr td a:first-child {
        display: none;
    }

    .wc-footer-links #zz1_FooterLinksn0 table tbody tr td:first-child {
        display: none;
    }
}

@media screen and (min-width: 577px) {
    #footer-links table {
        float: right;
    }
}
/*collapse related links or In this section webpart in left nav*/
@media screen and (min-width: 992px) {
    /*hide the expand arrow on collapsed webparts*/
    .wp-down:after {
        content: " ";
    }

    .adv-search-btn-sm .btn {
        display: none;
    }
}

@media screen and (min-width: 1051px) {
    .site-box-title {
        font-size: 16pt;
    }
}

@media screen and (max-width: 1050px) {
    .site-box-title {
        font-size: 14pt;
    }
}

@media (max-width: 3840px) and (min-width:1159px) {
    .navbar {
        display: inline-block;
        padding-left: 0px;
        padding: 5px 0 px 0;
        z-index: 1000;
    }

    .static.dynamic-children .dynamic {
        margin-left: -10px;
    }

    .ms-core-listMenu-horizontalBox .dynamic-children.additional-background {
        background-image: none;
    }
    /*edit mode*/
    .tagline .ms-webpart-titleText, .tagline .ms-webpart-zone-title {
        color: #FFF;
    }

    .nav-collapse {
        display: inline-block;
    }

    .portal-img {
        display: inline-block;
    }
}
/* launch survey*/
@media screen and (max-width: 993px) {
    .site-box-title {
        font-size: 12pt;
    }
    /*advanced search - for small device*/
    .subsite-content .adv-search-btn .btn {
        display: none;
    }

    .home-left .adv-search-btn .btn {
        display: block;
    }

    .adv-search-btn-sm {
        padding-bottom: 10px;
    }

        .adv-search-btn-sm .btn {
            background: #002857;
            border: #002857;
            color: #FFF !important;
        }

            .adv-search-btn-sm .btn:before {
                content: "Advanced map search ";
            }

            .adv-search-btn-sm .btn:after {
                font-family: "Font Awesome 5 Free" !important;
                font-weight: 600;
                content: "\f00e";
                padding-left: 5px;
            }

            .adv-search-btn-sm .btn:hover {
                background: #274e78;
            }

        .adv-search-btn-sm a:link {
            text-decoration: none;
            color: #FFF !important;
        }

        .adv-search-btn-sm a:hover {
            text-decoration: none !important;
        }

        .adv-search-btn-sm:hover {
            cursor: pointer !important;
        }

    .wp-down::after {
        font-family: "Font Awesome 5 Free" !important;
        content: "\f0d7" !important;
        color: #002857;
        margin-top: -25px;
        float: right;
        padding-right: 10px;
        margin: 0 0 0px -25px;
    }

    .wp-right::after {
        font-family: "Font Awesome 5 Free" !important;
        content: "\f0da" !important;
        color: #002857;
        margin-top: -25px;
        float: right;
        padding-right: 10px;
        margin: 0 0 0px -25px;
    }
}

@media screen and (min-width: 1545px) {
    .nav-margins {
        margin-left: 5%;
        margin-right: 5%;
        text-align: center; /*! height: 73px; */
    }

    .portal-img img {
        width: 250px;
        max-width: 100%;
        height: auto;
    }

    .sm-gosa {
        margin-right: -40px;
    }
}

@media screen and (max-width: 1437px) {
    div.tagline {
        font-size: large;
    }
}

#navbarResponsive {
    background: #1a3e67;
}

.navbar-toggler {
    min-width: 2em !important;
    margin-right: 10px !important;
    border-radius: 0;
    font-size: 1rem;
}
/*uploader*/
div#ms-dnd-dropbox {
    top: 0 !important;
    left: 15px !important;
}
/*small logo in nav*/
.sm-portal-img {
    width: 145px;
    margin-left: -5px;
}

.sm-header-logos img {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    padding-right: 25px;
}
/*advanced search homepage*/
h4.SearchItemsHome {
    padding-bottom: 1.5px !important;
}

#navbarResponsive .static .dynamic-children:nth-child(7) {
    margin-right: -25px !important;
}
/*show on mobile only*/
.location-search-sm {
    display: none;
}

.ms-searchCenter-refinement {
    margin-top: 0px;
}

.tagline .col-md-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/*tiles*/
.site-box-title {
    background: #274e79;
    color: #FFF;
    padding: 10px 0px 10px 10px;
    margin-bottom: 25px;
}

.site-box .about .img {
    background: #002857 !important;
    display: block !important;
    height: 200px !important;
}

.ms-webpart-titleText nobr {
    white-space: pre-line !important;
}

.site-box-img img {
    width: 100%;
}

.cqfeed {
    text-align: right;
    float: right;
    margin-top: -40px;
    right: 0;
    position: absolute;
}

    .cqfeed img {
        z-index: -1px;
        width: 200px !important;
        position: absolute;
        margin-top: 8px;
        opacity: 0;
        filter: alpha(opacity=0); /* For IE8 and earlier */
    }

    .cqfeed:after {
        font-family: "Font Awesome 5 Free" !important;
        font-weight: 900;
        font-size: 1.5rem;
        content: "\f09e";
        color: #ea7819;
    }

.dynamic-children .menu-item-text {
    padding-bottom: 30px;
}

.dynamic .dynamic:hover {
    /*background: #274e78;*/
    background-color: #002857;
}
/**bullet**/

ul.dfwp-list li .bullet:before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 600;
    font-size: 12px !important;
    color: #07427d !important;
    content: "\f054";
    padding-right: 5px;
    margin-left: -1.1em;
}

.dfwp-item li {
    list-style-type: none;
    display: block;
    margin-left: 1em;
    margin-top: 0.5em;
}

.dfwp-list .image-area-left {
    min-height: 25px;
}

.xsl-file-info {
    font-size: 10pt
}
/*fix webpart top margin*/
#DeltaPlaceHolderSearchArea {
    border-style: solid;
    border-width: 1px;
    border-color: #002857;
}

#DeltaPlaceHolderPageTitleInTitleArea span {
  display: none
}

#DeltaPlaceHolderPageTitleInTitleArea span span img {
    max-width: none;
    width: auto;
    -webkit-filter: invert(10);
    filter: invert(10));
}

#DeltaSiteLogo .ms-siteicon-a {
    display: flex;
}

.ms-srch-sb {
    display: inline-block;
    width: 100% !important;
}

    .ms-srch-sb > input {
        width: 250px;
        color: #000;
    }

        .ms-srch-sb > input:focus {
            width: 250px;
        }

#SearchBox {
    border: 1px solid #002857;
}
/*tables*/
.ms-alternating {
    background-color: #EEEEEE;
}
/*advanced search*/
.adv-search-btn .btn {
    background: #002857;
    border: #002857;
    color: #FFF !important;
}

    .adv-search-btn .btn:before {
        content: "Advanced map search ";
    }

    .adv-search-btn .btn:after {
        font-family: "Font Awesome 5 Free" !important;
        font-weight: 600;
        content: "\f00e";
        padding-left: 5px;
    }

    .adv-search-btn .btn:hover {
        background: #274e78;
    }

.adv-search-btn a:link {
    text-decoration: none;
    color: #FFF !important;
}

.adv-search-btn a:hover {
    text-decoration: none !important;
}

.adv-search-btn:hover {
    cursor: pointer !important;
}
/*search results page*/
#sideNavBox {
    margin-left: 5px !important;
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.ms-searchCenter-result-main h3 {
    font-size: 1.2rem;
}

.ms-searchCenter-result-main {
    padding-top: 10px;
}

.ms-searchCenter-refinement .ms-displayInlineBlock {
    display: block;
}

.ms-srch-item-icon {
    margin-top: -2px !important;
}

div#RefinementName {
    color: #07427d !important;
}

.ms-ref-ctrl div {
    color: #000 !important;
}

.ms-srch-ellipsis a {
    padding-bottom: 3px;
}

#topnavbar li.dynamic > .menu-item:hover {
    background-color: #002857;
}

.sm-gosa {
    margin-right: -40px;
}

.nav-container .ms-core-listMenu-item {
    color: #fff !important;
}

#topnavbar .collapse li.static > .menu-item {
    display: inline-block;
    padding-right: 40px;
}

@media screen and (max-width:1159px) {
    /*hide search to show in nav*/
    .container.search-bar {
        display: none;
    }

    .navbar-brand {
        /*display: none;*/
    }
    /*hide gosa from nav*/
    .sm-gosa {
        display: none;
    }

    .sm-header-logos {
        display: block;
        padding-right: 15px;
    }

    .edsa-logo span img {
        margin-top: 10px;
        margin-bottom: 0 !important;
    }

    /*search results*/
    .ms-searchCenter-result-main {
        padding-top: 0px;
    }

    #SearchBox.ms-floatLeft {
        width: 100% !important;
        margin-left: -15px;
    }

    .ms-srch-sb-searchLink {
        background-color: #274e79 !important;
        margin-top: 2px;
    }


        .ms-srch-sb-searchLink:hover {
            background-image: url("/_catalogs/masterpage/WaterConnect.Branding.2019/Images/search-hover.png");
            background-color: #fff;
        }

    .search-nav #SearchBox {
        height: 30px !important;
    }

    #SearchBox {
        border: 1px solid #274e79;
    }

    .ms-searchCenter-result-main .ms-srch-sb-searchLink {
        margin-top: -13px !important;
        margin-right: 30px !important;
    }




    .ms-srch-sbLarge {
        background: transparent !important;
    }

    .ms-searchCenter-result-main .ms-srch-sb-searchLink {
        margin-top: -15px;
    }

    .ms-core-listMenu-horizontalBox .dynamic-children.additional-background {
        background: none;
    }

        .ms-core-listMenu-horizontalBox .dynamic-children.additional-background:after {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            content: "\f0da";
            padding-left: 20px;
        }

        .ms-core-listMenu-horizontalBox .dynamic-children.additional-background.down:after {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            content: "\f0d7";
        }

    .static.dynamic-children.shown .additional-background.ms-navedit-flyoutArrow.dynamic-children:after {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f0d7" !important;
    }

    #topnavbar li.static {
        display: block;
        width: 100%;
        position: relative;
        padding: 0;
        margin-bottom: 10px !important;
    }

    #navbarResponsive .static .static .static.dynamic-children .dynamic .dynamic .dynamic.menu-item.ms-core-listMenu-item.ms-displayInline.ms-navedit-linkNode .additional-background.ms-navedit-flyoutArrow .menu-item-text {
        margin-left: 15px !important;
    }

    #navbarResponsive .static .static .static.dynamic-children .dynamic .dynamic .dynamic.menu-item.ms-core-listMenu-item.ms-displayInline.ms-navedit-linkNode:hover {
        background: #002857;
    }

    .ms-srch-sb-border {
        width: 100%;
    }

    .ms-srch-sb > input {
        height: 29px;
        width: 100% !important;
    }

    .ms-srch-sb-searchLink {
        position: absolute;
        right: 0;
        top: 14px;
        margin-right: 15px;
    }

    #searchImg {
        display: none;
    }

    .portal-img img {
        max-width: 100%;
        height: auto;
        margin-top: 0px;
    }

    .navbar {
        padding-left: 0;
        padding-right: 0;
        z-index: 1000;
    }

    .container-navbar {
        height: 56px;
    }

    div.tagline {
        font-size: medium;
    }

    .search-nav {
        display: block;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
    }
    /*fix navbar mobile scrolling - temp disabled!	
.navbar {
  height: 90vh; 
}	
*/
    .ms-searchCenter-refinement .ms-webpart-titleText {
        cursor: pointer !important;
        background-color: #ccd4dd;
        padding: 10px 10px 10px 10px;
        margin-left: 0px;
        margin-right: 15px;
    }

        .ms-searchCenter-refinement .ms-webpart-titleText span {
            font-size: 1.5rem !important;
        }

    .ms-searchCenter-refinement {
        padding-bottom: 0px !important;
        margin-bottom: -40px !important;
    }

        .ms-searchCenter-refinement .ms-webpart-titleText::after {
            font-family: "Font Awesome 5 Free" !important;
            font-weight: 900;
            content: "\f0d7";
            color: #002857;
            margin-top: -25px;
            float: right;
            padding-right: 10px;
            margin: 0 0 0px -25px;
        }
}

.jumbotron {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: #eceeef;
    border-radius: 0.3rem;
    line-height: 0; /*this fixes a top padding issue in IE*/
    text-align: center;
}

@media (min-width: 576px) {
    .jumbotron {
        padding: 4rem 2rem;
        line-height: 0;
    }
    /*dlg fix*/
    #aspnetForm.container {
        max-width: 540px;
        margin-left: 0;
    }
}
/*make img in this webpart responsive*/
.jumbotron-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
}
/******footer***/
.searchbox {
    padding-top: 15px;
}

.container-navbar {
    background: #1a3e67;
}
/*hide survey button from dialog windows*/
.ms-dialog .launch-survey {
    display: none !important;
}
/* Custom page footer */
.footer {
    padding-top: 19px;
    color: #777;
    border-top: 1px solid #e5e5e5;
}

.container-narrow > hr {
    margin: 30px 0;
}
/* Main marketing message and sign up button */
.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}
/* Supporting marketing content */
.marketing {
    margin: 40px 0;
}

    .marketing p + h4 {
        margin-top: 28px;
    }
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    /* Remove the padding we set earlier */
    .header, .marketing, .footer {
        padding-left: 0;
        padding-right: 0;
    }
    /* Remove the bottom border on the jumbotron for visual effect */
    .jumbotron {
        border-bottom: 0;
    }
}
/**make text layouts responsive on wiki pages*/

#layoutsTable td:first-child {
    width: 20% !important;
}

.dfwp-item .bullet {
    background-image: none;
    background-position: 0 10px
}

#layoutsTable td:first-child + td {
    width: 45% !important;
    text-align: left;
    margin-left: -10px;
}

    #layoutsTable td:first-child + td + td {
        width: 35% !important;
        text-align: left;
        margin-left: -10px;
    }
/* third column */
@media only screen and (max-width: 991px) {
    #layoutsTable td:first-child {
        display: inline !important;
        /*! width: 90% !important; */
        text-align: left;
    }
        /*first column*/
        #layoutsTable td:first-child + td {
            display: inline !important;
            /*! width: 90% !important; */
            text-align: left;
            margin-left: -10px;
        }
            /* second column */
            #layoutsTable td:first-child + td + td {
                display: inline !important;
               /* width: 90% !important;*/
                text-align: left;
                margin-left: -10px;
            }
    /* third column */
}
/*end*/

/*text styles*/

.ms-rte-layoutszone-inner a:visited {
    color: #005f97
}

.ms-rteElement-H1 {
    font-size: 1.4em !important;
    color: #002857;
    line-height:normal;
}

.ms-rteElement-H1B {
    font-size: 1.4em !important;
    color: #002857;
        line-height:normal;
}

.ms-rte-layoutszone-inner H1 {
    font-size: 1.4em !important;
    color: #002857 !important;
        line-height:normal;
}

.ms-rteElement-H1 a {
    color: #002857 !important
}

    .ms-rteElement-H1 a:visited {
        color: #002857 !important
    }

.ms-rtestate-field h1 {
    font-size: 1.4em !important;
    color: #002857 !important;
        line-height:normal;
}

    .ms-rtestate-field h1 a {
        color: #002857 !important
    }

.ms-rteElement-H2 {
    font-size: 1em !important;
    color: #1e6f94 !important;
}

.ms-rteElement-H2B {
    font-size: 1em !important;
    color: #1e6f94 !important;
}

.ms-rtestate-field h2 {
    color: #1e6f94 !important;
}

.ms-rteElement-H2 a {
    color: #1e6f94 !important;
}

.ms-rteElement-H2B a {
    font-size: 1em !important;
    color: #1e6f94 !important;
}

.ms-rte-layoutszone-inner H2 {
    font-size: 1em !important;
    color: #1e6f94 !important;
}

    .ms-rte-layoutszone-inner H2 a {
        font-size: 1em !important;
        color: #1e6f94 !important;
    }

.ms-rtestate-field h2 {
    font-size: 1em !important;
    color: #1e6f94 !important;
}

.ms-srch-ellipsis a {
    color: #002857 !important
}

.ms-rteElement-H3 {
    font-size: 1.2em !important;
    color: #002857
}

.ms-rteElement-H3B {
    font-size: 1.2em !important;
    color: #002857
}

.ms-rte-layoutszone-inner H3 {
    font-size: 1.2em !important;
    color: #002857
}

.ms-rtestate-field h3 {
    font-size: 1.2em !important;
    color: #002857
}

.ms-rteElement-H4, h4 {
    font-size: 1em !important;
    color: #002857
}

.ms-rteElement-H4B {
    font-size: 1em !important;
    color: #002857
}

.ms-rte-layoutszone-inner H4 {
    font-size: 1em !important;
    color: #002857
}

.ms-rtestate-field h4 {
    font-size: 1em !important;
    color: #002857
}

.ms-rteThemeForeColor-8-0 a {
    color: #005f97 !important
}

    .ms-rteThemeForeColor-8-0 a:hover {
        color: #005f97 !important
    }

    .ms-rteThemeForeColor-8-0 a:visited {
        color: #005f97 !important
    }

.wc-sp-more {
    color: #005f97 !important
}

.dfwp-item a {
    color: #1e6f94
}

    .dfwp-item a:hover {
        color: #1e6f94;
        text-decoration: underline
    }

.ms-rteElement-P a {
    color: #000
}

#layoutsTable .ms-webpart-titleText span {
    font-size: 1.35em !important;
    color: #002857;
    font-weight: normal;
       line-height:normal;
}


/*bootstrap 4 resets for SharePoint*/
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

@media (min-width: 576px) {
    .container {
        width: 100%;
        max-width: 100%;
    }
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

h1, .h1 {
    font-size: 2.5rem;
}

h2, .h2 {
    font-size: 2rem;
}

h3, .h3 {
    font-size: 1.75rem;
}

h4, .h4 {
    font-size: 1.2rem;
}

h5, .h5 {
    font-size: 1.25rem;
}

h6, .h6 {
    font-size: 0.9rem;
}
/*border-box causes many issues with SP*/
*, *:before, *:after {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
/*override bootstrap style*/
a, a:hover {
    color: #000;
    text-decoration: none;
}

img {
    max-width: none;
    width: auto;
}

* [class^="col-"] img {
    max-width: 100%; /*for images inside span grid*/
}

#scriptWPQ2 img, img.ms-webpart-menuArrowImg, #applist img, .ms-core-menu-icon > img {
    width: auto; /*within a span may still need to have width of image not 100% for SP2013 OOTB features/imges*/
    max-width: none;
}

.ms-siteactions-imgspan {
    float: none;
    margin: 0px;
}

input.ms-cui-cb-input {
    height: 14px;
    padding: 3px 7px 2px;
}

select, input[type="file"] {
    height: auto;
    line-height: 20px;
}

label {
    display: inline-block;
    margin-bottom: 0px;
    font-weight: normal;
}

.ms-authoringcontrols label {
    display: initial !important;
}

.navbar-toggle {
    min-width: 0px;
}

a:focus {
    outline: none;
}

button::-moz-focus-inner {
    border: 0;
}
/*end bootstrap resets*/
/* ribbon*/
#suiteBar {
    display: block;
}

#suiteBarLeft, #suiteBarRight {
    width: 100%;
}

#s4-ribbonrow [class*="col-"] {
    float: none;
    margin-left: 0px;
}

#suiteBarLeft {
    background-color: #0088CC;
}

.ms-cui-dd-text, input.ms-cui-cb-input, input[type="text"].ms-cui-cb-input {
    border-color: #D3D6D9;
    border-image: none;
    border-style: solid;
    border-width: 1px 0 1px 1px;
    cursor: default;
    display: block;
    height: 14px;
    padding: 3px 7px 2px;
    white-space: nowrap;
    font-size: inherit;
}

.headtitle {
}

ul.s4-breadcrumb, ul.s4-breadcrumb ul {
    margin: 0px 0px 5px;
    padding: 0px;
    list-style: none inside none;
    display: inline-block;
}

    ul.s4-breadcrumb .s4-breadcrumb-arrowcont {
        display: inline-block;
        width: 16px;
        height: 16px;
        background: transparent url("/_catalogs/masterpage/WaterConnect.Branding.2019/img/glyphicons-halflings.png") no-repeat -262px -92px;
    }

        ul.s4-breadcrumb .s4-breadcrumb-arrowcont img {
            display: none !important;
        }

    ul.s4-breadcrumb > li:first-child > span.s4-breadcrumb-arrowcont {
        display: none;
    }

    ul.s4-breadcrumb a.s4-breadcrumbCurrentNode {
        color: #000;
    }
/* end breadcrumb*/
.header .searchbox {
    display: block;
    float: none;
    clear: both;
}
/*top nav */
#topnavbar .navbar-collapse {
    max-height: none;
    clear: both;
}
/*on mobile devices top nav bar will be a drop down, so we want to show across*/
.ms-core-listMenu-horizontalBox {
    display: block;
}

#topnavbar ul.dynamic {
    display: none !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    box-shadow: none;
    padding: 0 !important;
    /*margin-top: 19px;*/
    border: 0 !important;
}

#topnavbar .ms-core-listMenu-horizontalBox .dynamic .dynamic-children.additional-background {
    background-image: url("/_layouts/15/images/menu-down.gif");
}
/*end top nav */
#sideNavBox.col-md-3 {
    float: none;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0px;
    margin-right: 0px;
    width: auto;
}
/*Settings page - Add app page*/
#idStorefrontManagementLeftNavBar.ms-core-sideNavBox-removeLeftMargin {
    margin-left: 0;
}

a.ms-storefront-selectanchor, a.ms-storefront-selectanchor:link, a.ms-storefront-selectanchor:visited {
    clear: both;
    width: auto;
}
/*end site settings*/
/*web part zones*/
* [class^="col-"] .ms-webpart-zone, * [class^="col-"] .ms-webpart-cell-vertical, * [class^="col-"] .ms-webpart-chrome-vertical {
    display: block; /*forces zone to stay within confines of responsive zone*/
}

* [class^="col-"] .ms-WPBody > table, * [class^="col-"] .ms-WPBody > table > tbody, * [class^="col-"] .ms-WPBody > table > tbody > tr, * [class^="col-"] .ms-WPBody > table > tbody > tr > td {
    display: block;
    width: 100%;
}

    * [class^="col-"] .ms-WPBody > table img {
        width: 100%; /*reset back to bootstrap for web part images*/
    }

.ms-SPZone.ms-webpart-zone {
    padding: 5px;
}

.ms-SPZone > .s4-wpcell, .ms-SPZone > .s4-wpcell-plain, .ms-rtestate-write > .ms-rte-wpbox > div > .s4-wpcell, .ms-rtestate-write > .ms-rte-wpbox > div > .s4-wpcell-plain {
    padding: 5px 5px 10px;
}
/*web part properties*/
/*edit mode table fixes*/
#MSOTlPn_WebPartPageDiv > tbody > tr > td:first-child {
    padding-right: 10px; /*without the padding the left column overflows over the webpart properties toolpane*/
}
/*end edit mode table fixes*/
.ms-ToolPaneBody select, .ms-ToolPaneBody textarea, .ms-ToolPaneBody input[type="text"], .ms-ToolPaneBody input[type="password"], .ms-ToolPaneBody input[type="datetime"], .ms-ToolPaneBody input[type="datetime-local"], .ms- ToolPaneBody input[type="date"], .ms-ToolPaneBody input[type="month"], .ms-ToolPaneBody input[type="time"], .ms-ToolPaneBody input[type="week"], .ms-ToolPaneBody input[type="number"], .ms-ToolPaneBody input [type="email"], .ms-ToolPaneBody input[type="url"], .ms-ToolPaneBody input[type="search"], .ms-ToolPaneBody input[type="tel"], .ms-ToolPaneBody input [type="color"], .ms-ToolPaneBody .uneditable-input {
    margin-bottom: 0px;
    width: auto;
    height: auto;
    line-height: 20px;
}

.ms-ToolPaneBody label {
    display: inline-block;
    margin-bottom: 0px;
}
/*end web part properties*/
/*Gallery Grid in Banner/Homepage2*/
ul.three-up {
    display: block;
    overflow: hidden;
    margin: 0 -8px;
    padding: 0;
}

    ul.three-up > li {
        display: block;
        float: left;
        height: auto;
        margin: 0 8px 8px;
        width: 27%;
        list-style: none;
    }

        ul.three-up > li:nth-child(3n+1) {
            clear: none;
        }
/*end web part zones*/
/* end main content areas */

/*Fullscreen*/
.ms-fullscreenmode #mainbody, .b3-fullscreenmode #mainbody {
    margin-left: 0px;
    width: 100%;
}

#mainbody {
    min-height: 50vh; /*maintain min-height of the window to fit the screen*/
}

.ms-fullscreenmode #sideNavBox, .b3-fullscreenmode #sideNavBox {
    display: none;
}
/*end template styles */
/*responsive*/
@media only screen (min-width: 768px) {
    /*fix ribbon back to normal*/
    #suiteBar {
        display: table-row;
        height: 30px;
    }

    #suiteBarLeft, #suiteBarRight {
        display: table-cell;
        /*  width: 100%; */
    }

    #suiteBarRight {
        width: auto;
    }

        #suiteBarRight .ms-core-deltaSuiteBarRight {
            float: none;
        }
    /*end ribbon*/
    .header .searchbox {
        display: block;
        float: right;
        clear: none;
        padding-top: 25px;
    }
    /*end search box*/
}

@media (min-width: 1159px) {
    .collapse {
        display: block;
    }

    .navbar-toggler {
        display: none;
    }

    #topnavbar .nav-collapse {
        margin-top: 0px;
    }
    /*reset back to inline for normal view*/
    #topnavbar .ms-core-listMenu-horizontalBox {
        display: block;
    }

    #topnavbar .collapse ul.static {
        display: inline-block;
        padding: 0;
    }

    #topnavbar .collapse li.static {
        display: inline-block;
        width: auto;
    }
    /*hide or provide padding for downdown arrow*/
    #topnavbar .ms-core-listMenu-horizontalBox .dynamic-children.additional-background {
        padding-right: 15px;
        width: 100%;
        display: inline;
    }
    /*show the edit nav link again for larger devices*/
    #topnavbar .collapse ul.root > li.ms-navedit-editArea {
        display: inline-block;
    }

    #topnavbar .collapse .ms-navedit-editLinksText {
        padding: 15px 0 15px 10px;
        display: block;
    }
    /*we need to override where SP is placing dynamic nav items*/
    #topnavbar .collapse ul.static > li.dynamic-children > ul.dynamic {
        position: absolute !important;
        left: 0 !important;
        margin-left: -5px !important; /*added*/
    }

    #topnavbar ul.dynamic > li {
        min-width: 150px;
        position: relative;
        white-space: nowrap;
    }

        #topnavbar ul.dynamic > li:first-child {
            border-top: 0px transparent none;
        }

    #topnavbar .collapse li.dynamic-children.hover > ul.dynamic {
        display: block !important;
    }

    #topnavbar li.dynamic > .menu-item {
        line-height: 1em;
        margin: 0;
        padding: 9px 15px;
    }
    /*3rd level +*/
    #topnavbar .collapse ul.dynamic > li.dynamic-children > ul {
        position: absolute !important;
        top: 0px !important;
        left: 100% !important;
    }
    /*end top nav*/
    /*left nav */
    #sideNavBox {
        float: none;
        margin: 0px;
        width: auto;
    }

        #sideNavBox.col-md-3 {
            float: left;
            width: 25%;
        }
    /*search refinement */
    .ms-searchCenter-refinement .ms-WPBody {
        display: block !important;
    }
}
/*****view\edit properties*****/
.ms-calloutLink:link, a.ms-calloutLink:visited {
    color: #000;
    min-width: 20px;
}

.js-callout-body a {
    color: #022958 !important;
}

.syspage {
    display: table;
    padding-top: 30px;
}

.wc-site-title {
    display: none;
}

.navbar-default {
    background: none !important;
    border: none !important;
}

.ms-siteicon-a {
    max-height: 100% !important;
}

.ms-siteicon-img {
    max-height: 100% !important;
}

#topnavbar li.dynamic > .menu-item {
    background-color: #274e78;
}

#topnavbar .nav li.dynamic-children.hover > ul.dynamic {
    border-style: none;
}

    #topnavbar .nav li.dynamic-children.hover > ul.dynamic li {
        border-style: none;
    }

ul.s4-breadcrumb {
    display: none;
}

.ms-core-listMenu-horizontalBox li.static > a {
    display: none !important;
}

.ms-core-listMenu-horizontalBox li.static > ul a {
    display: block !important;
}

#sideNavBox {
    display: none;
}

#pageTitle {
    font-size: 1.5em;
    color: #fff;
    text-shadow: 2px 2px 4px #000, 0 0 5px #000;
}

    #pageTitle a {
        color: #fff;
    }

.ms-core-navigation a {
    color: #FFF !important;
}

.font-gray {
    color: #333;
}

div#SearchBox {
    background-color: #fff;
    height: 30px;
}

.search-nav #SearchBox {
    height: 29px;
}

.ms-srch-sb-borderFocused {
    border-style: none;
}

.ms-storefront-searchbox {
    background-color: #fff;
}

.TmtTree .ms-pagetitle {
    color: #000;
}

.js-callout-sharedWithLink {
    color: #000;
}


/*4.1.3*/
/*fixes*/
@media (min-width: 768px) {
    .container {
        width: 720px;
        max-width: 100%;
    }
}

.navbar-toggler {
    min-width: 2em !important;
    margin-right: 10px !important;
    border-radius: 0;
}
/*hide feedback button from modal*/
.ms-dialog .feedback-button {
    display: none;
}
/*search results*/
.ms-srch-sbLarge {
    background: transparent !important;
}

.ms-srch-item-link {
    margin-top: -30px;
    margin-left: 23px;
    display: inline !important;
}

.subsite-tilednav {
    padding-top: 10px;
}

#footer {
    background: #002857 url("/_catalogs/masterpage/WaterConnect.Branding.2019/Images/BG.png") no-repeat;
}

.mobile-gosa {
    /*   padding-left: 15px;
    margin:10px;*/
}
/*only show for small device*/
.extra-sm-gosa {
    display: none;
}

.sm-header-logos {
    display: none;
}

.nrm-reports .wrapper a {
    color: #FFF !important;
}
/*doc library alternate shading fix*/
#onetidDoclibViewTbl0 tr:nth-child(even) {
    background: #f1f1f1;
}

.state-logo {
    padding-bottom: 20px;
}

.wc-footer-links {
    margin-bottom: 10px;
}

.footer-filler {
    padding-bottom: 40px !important;
}

/*fix webpart top margin*/
.related-links .ms-webpartzone-cell {
    margin: 0;
}
/*search results page*/
@media screen and (max-width: 577px) {
    /*allows reordering of columns on collapse*/
    .order-first {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }

    .order-last {
        -webkit-box-ordinal-group: 14;
        -ms-flex-order: 13;
        order: 13;
    }

    .order-0 {
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
        order: 0;
    }
    /*show on mobile only*/
    .location-search-sm {
        display: block;
        margin-left: -12px;
    }

        .location-search-sm .ms-webpart-titleText {
            padding: 10px !important;
        }

    .HomePageMapDiv {
        width: 97% !important;
    }

    .location-search {
        display: none;
    }

    .location-search-sm #txtAddressInput {
        margin-bottom: 10px;
    }
    /*collapse map on small device*/
    .HomePageMapDiv {
        width: vw !important;
        margin-right: -50px;
    }

    .wc-footer-links td {
        display: block;
        text-align: center !important;
        padding: 2px;
    }

    .wc-footer-links {
        margin: auto;
    }
    /*hide home link from footer*/
    #footer-links tbody .zz1_FooterLinks_1tr td a:first-child {
        display: none;
    }

    .wc-footer-links #zz1_FooterLinksn0 table tbody tr td:first-child {
        display: none;
    }
}

@media screen and (min-width: 577px) {
    /*footer*/
    #footer-links table {
        float: right;
    }
}
/*collapse related links or In this section webpart in left nav*/
@media screen and (min-width: 992px) {
    /*hide the expand arrow on collapsed webparts*/
    .wp-down:after {
        content: " ";
    }

    .adv-search-btn-sm .btn {
        display: none;
    }
}

@media screen and (max-width: 993px) {
    .site-box-title {
        font-size: 12pt;
    }
    /*advanced search - for small device*/
    .subsite-content .adv-search-btn .btn {
        display: none;
    }

    .adv-search-btn-sm {
        padding-bottom: 10px;
    }

        .adv-search-btn-sm .btn {
            background: #002857;
            border: #002857;
            color: #FFF !important;
        }

            .adv-search-btn-sm .btn:before {
                content: "Advanced map search ";
            }

            .adv-search-btn-sm .btn:after {
                font-family: "Font Awesome 5 Free" !important;
                font-weight: 600;
                content: "\f00e";
                padding-left: 5px;
            }

            .adv-search-btn-sm .btn:hover {
                background: #274e78;
            }

        .adv-search-btn-sm a:link {
            text-decoration: none;
            color: #FFF !important;
        }

        .adv-search-btn-sm a:hover {
            text-decoration: none !important;
        }

        .adv-search-btn-sm:hover {
            cursor: pointer !important;
        }

    .wp-down::after {
        font-family: "Font Awesome 5 Free" !important;
        content: "\f0d7" !important;
        color: #002857;
        margin-top: -25px;
        float: right;
        padding-right: 10px;
        margin: 0 0 0px -25px;
    }

    .wp-right::after {
        font-family: "Font Awesome 5 Free" !important;
        content: "\f0da" !important;
        color: #002857;
        margin-top: -25px;
        float: right;
        padding-right: 10px;
        margin: 0 0 0px -25px;
    }
}

.content p {
    font-size: 1rem;
}

#main {
    font-size: 1rem;
    background: #002857 url("/_catalogs/masterpage/WaterConnect.Branding.2019/Images/BG.png") no-repeat;
}

.container a:link {
    color: #07427d;
}

.container a:visited {
    color: #07427d;
}

.container a:hover {
    text-decoration: underline;
}

h1 {
    color: rgb(39, 78, 120);
    font-weight: 600;
    font-size: 2.5rem;
}

h2, h2 span {
    color: rgb(39, 78, 120);
    font-weight: 600;
    font-size: 2rem;
}

h3 {
    color: rgb(0, 40, 87);
    font-weight: 600;
    font-size: 1.75rem;
}

h4 {
    color: rgb(0, 40, 87);
    font-size: 1.2rem;
}

.site-header-title h3 a {
    color: #FFF;
}

.advanced-search {
    border-radius: 5px;
    background: #002857;
    padding: 20px;
    /*width:290px;*/
    height: 10px;
}

    .advanced-search p {
        text-align: center;
        color: #FFF;
        font-size: 14pt;
        margin-top: -7px;
    }

#header {
    background: #002857;
}

#s4-bodyContainer {
    padding-bottom: 0px;
    width: auto !important;
}

.site-header-title {
    text-align: center;
    margin-top: -45px;
    position: absolute;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

    .site-header-title h3 {
        padding-bottom: 10px;
        padding-top: 5px;
        background: rgba(0, 40, 87, 0.5);
    }

        .site-header-title h3 a:link, a:visited {
            text-decoration: none;
        }

.breadcrumb-row {
    background: #002857;
    font-size: 1rem;
    margin-right: 0;
    margin-top: -1px;
}

#breadcrumb a {
    color: #FFF;
}

#breadcrumb span {
    color: #FFF;
    margin: 2px;
}

#breadcrumb a:hover {
    color: #FFF;
    text-decoration: underline;
}
/*hide search in nav*/
.search-nav {
    display: none;
}

.navbar-dark .navbar-toggler {
    padding: 2px 1px 2px 1px;
    margin-right: -20px;
    border-color: #FFF;
    color: #FFF;
}

.navbar-toggler:hover {
    background: #ccd5de;
}

.navbar-inverse .navbar-toggler {
    min-width: 1em;
    border-radius: 0;
    border-color: #FFF;
}

@media (max-width: 3840px) and (min-width:1159px) {
    .navbar {
        display: inline-block;
        padding-left: 0px;
        padding: 0px 0px 0px 0px;
    }

    .static.dynamic-children .dynamic {
        margin-left: -10px;
    }

    .ms-core-listMenu-horizontalBox .dynamic-children.additional-background {
        background-image: none;
    }
    /*edit mode*/
    .tagline .ms-webpart-titleText, .tagline .ms-webpart-zone-title {
        color: #FFF;
    }

    #navbarResponsive {
        display: inline-block;
    }

    .portal-img {
        display: inline-block;
    }

    .mobile-gosa {
        display: none;
    }
}

@media screen and (min-width: 1545px) {
    .nav-margins {
        margin-left: 5%;
        margin-right: 5%;
        text-align: center;
    }

    .portal-img img {
        width: 250px;
        max-width: 100%;
        height: auto;
    }

    .sm-gosa {
        margin-right: -40px;
    }
}

@media screen and (max-width: 1437px) {
    div.tagline {
        font-size: large;
    }
}

@media screen and (max-width: 1360px) {
    .sm-gosa {
        margin-right: -240px;
    }

    #topnavbar .collapse li.static > .menu-item {
        display: inline-block;
        /*  height: 49px;*/
        padding-right: 20px;
    }
}

@media screen and (max-width:1159px) {
    .sm-gosa {
        display: none;
    }

    .sm-header-logos {
        display: block;
    }

    .extra-sm-gosa {
        display: block;
    }

    .wc-portal-logo {
        display: none;
    }
    /*search results*/
    #SearchBox.ms-floatLeft {
        width: 100% !important;
        margin-left: -15px;
    }

    #SearchBox {
        border: 1px solid #274e79;
    }

    .ms-srch-sbLarge {
        background: transparent !important;
    }

    .ms-searchCenter-result-main .ms-srch-sb-searchLink {
        margin-top: -15px;
    }

    .ms-core-listMenu-horizontalBox .dynamic-children.additional-background {
        background: none;
    }

        .ms-core-listMenu-horizontalBox .dynamic-children.additional-background:after {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            content: "\f0da";
            padding-left: 20px;
        }

        .ms-core-listMenu-horizontalBox .dynamic-children.additional-background.down:after {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            content: "\f0d7";
        }

    .static.dynamic-children.shown .additional-background.ms-navedit-flyoutArrow.dynamic-children:after {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f0d7" !important;
    }

    #topnavbar li.static {
        display: block;
        width: 100%;
        position: relative;
        padding: 0;
        margin-bottom: 10px !important;
    }

        #topnavbar li.static > .menu-item {
            display: block;
            padding: 15px 0;
            margin: 0px;
            position: relative;
            padding-bottom: 0px !important;
            padding-left: 6px !important;
        }

    #navbarResponsive .static .static .static.dynamic-children .dynamic .dynamic .dynamic.menu-item.ms-core-listMenu-item.ms-displayInline.ms-navedit-linkNode .additional-background.ms-navedit-flyoutArrow .menu-item-text {
        margin-left: 15px !important;
    }

    #navbarResponsive .static .static .static.dynamic-children .dynamic .dynamic .dynamic.menu-item.ms-core-listMenu-item.ms-displayInline.ms-navedit-linkNode:hover {
        background: #002857;
    }
    /*search bar*/
    .ms-srch-sb-border {
        width: 100%;
    }

    .ms-srch-sb > input {
        height: 29px;
        width: 100% !important;
    }

    #searchImg {
        display: none;
    }

    .portal-img img {
        max-width: 100%;
        height: auto;
        margin-top: 0px;
    }

    .navbar {
        padding-left: 0;
        padding-right: 0;
    }

    .container-navbar {
        height: 56px;
    }

    div.tagline {
        font-size: medium;
    }

    .search-nav {
        display: block;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
    }

    .search-bar {
        height: 1px !important;
    }
    /*fix navbar mobile scrolling - temp disabled - FIX!	
.navbar {
  height: 90vh; 
}	
*/
    .ms-searchCenter-refinement .ms-webpart-titleText {
        cursor: pointer !important;
        background-color: #ccd4dd;
        padding: 10px 10px 10px 10px;
        margin-left: 0px;
        margin-right: 15px;
    }

        .ms-searchCenter-refinement .ms-webpart-titleText span {
            font-size: 1.5rem !important;
            line-height:normal;
        }

    .ms-searchCenter-refinement {
        padding-bottom: 0px !important;
        margin-bottom: -40px !important;
    }

        .ms-searchCenter-refinement .ms-webpart-titleText::after {
            font-family: "Font Awesome 5 Free" !important;
            font-weight: 900;
            content: "\f0d7";
            color: #002857;
            margin-top: -25px;
            float: right;
            padding-right: 10px;
            margin: 0 0 0px -25px;
        }
}

@media (min-width: 576px) {
    .jumbotron {
        padding: 4rem 2rem;
        line-height: 0;
    }
}

@media (max-width: 576px) {
    .home-right {
        margin-left: 15px;
        padding-right: 12px;
    }

        .home-right .ms-webpart-titleText {
            padding: 8px 0px 2px 0px;
            margin-left: -3px;
        }
}

.jumbotron .ms-webpartzone-cell {
    margin: 0 !important;
    padding: 0 !important;
}

.jumbotron .ms-rtestate-field img {
    margin: 0 !important;
}

.jumbotron-image {
    padding: 0;
    margin: 0;
}
/******footer***/
.copyright a:visited {
    color: #FFF;
}

div #footer * {
    color: #FFF;
}

#footer a:link {
    color: #FFF !important;
    text-decoration: underline;
}

div #footer a:visited {
    color: #FFF !important;
    text-decoration: underline;
}

#footer img {
    padding-top: 7px;
}

.tagline {
    background: #274e79;
    color: #FFF;
    font-size: 18pt;
    text-align: center;
    margin-bottom: -20px;
    margin-top: -1px;
}

.search-bar {
    background: #274e78;
    /*height: 63px;*/
}
/* Everything but the jumbotron gets side spacing for mobile first views */
.header, .marketing, .footer {
    padding-left: 15px;
    padding-right: 15px;
}
    /* Make the masthead heading the same height as the navigation */
    .header h3 {
        margin-top: 0;
        margin-bottom: 0;
        line-height: 40px;
        padding-bottom: 19px;
    }
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    /* Remove the padding we set earlier */
    .header, .marketing, .footer {
        padding-left: 0;
        padding-right: 0;
    }
    /* Space out the masthead */
    .header {
        /*! margin-bottom: 30px; */
    }
    /* Remove the bottom border on the jumbotron for visual effect */
    .jumbotron {
        border-bottom: 0;
    }
}
/*bootstrap 4 resets for SharePoint*/
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}
/*end bootstrap 4 resets for SharePoint
/*reset elements that B3 is expecting to be border-box*/
* [class^="col-"], * [class^="col-"]:before, * [class^="col-"]:after, .container, .container:before, .container:after, .row, .row:before, .row:after, .nav *, .navbar-toggle, .table, .table-responsive, .form-control, .btn-block, .caret, .dropdown-menu, .navbar-toggle, .page- navigation *, .icon-bar, .breadcrumb, .progress-bar, .modal-dialog, legend, fieldset, code, pre {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/*SharePoint overrides some B3 classes, reset back*/
.container {
    background-color: transparent;
    border: 1px transparent none;
    color: #000;
    margin: 0px auto;
    width: auto;
}
/*end SP resets*/
#suiteBarRight .ms-core-deltaSuiteBarRight {
    float: right;
}

#pageStatusBar[class], .ms-status-msg {
    margin-bottom: 0px;
}

#topnavbar {
    height: auto; /*margin-bottom: -2px;*/
}

    #topnavbar.navbar {
        z-index: 50;
    }

    #topnavbar .collapse ul.static {
        display: block;
        position: relative;
        text-align: left;
    }

    #topnavbar ul.static {
        padding: 0;
    }

    #topnavbar li.static {
        display: block;
        width: 100%;
        position: relative;
        padding: 0; /*	padding-bottom:10px; needs to be for collapse only*/
    }

        #topnavbar li.static > .menu-item {
            display: block;
            padding: 15px 0;
            margin: 0px;
            position: relative; /*	padding-bottom:0px; needs to be for collapse only*/
        }

.ms-core-listMenu-horizontalBox li.static > .ms-core-listMenu-item {
    border: none;
}
/*images within nav should not use respponsive properties*/
#topnavbar .collapse img {
    max-width: none;
}
/*hide the edit nav button on mobile devices*/
#topnavbar .nav ul.root > li.ms-navedit-editArea {
    display: none;
}
/*dynamic menus should not appear*/
#topnavbar li.shown > ul.dynamic {
    display: block !important;
}

#topnavbar ul.dynamic > li {
    background: transparent none;
    border-right: medium none;
    display: block;
    float: none;
    height: auto;
}

#topnavbar li.dynamic .menu-item {
    padding: 15px;
}
/*end left nav */
/* main content areas */
div.table {
    margin: 0px; /*added by design manager admin page, ruins rd layout*/
}

.col-md-9 .ms-table {
    display: inherit;
}

.col-md-9 .tableCol-75 {
    display: inherit;
}

#ms-core-tableNoSpace {
    display: block;
}

@media (min-width: 768px) {
    /*fix ribbon back to normal*/
    #suiteBar {
        display: table-row;
        height: 30px;
    }

    #suiteBarLeft, #suiteBarRight {
        display: table-cell;
        width: 100%;
    }

    #suiteBarRight {
        width: auto;
    }

        #suiteBarRight .ms-core-deltaSuiteBarRight {
            float: none;
        }
    /*end ribbon*/
    /*search box*/
    .header .searchbox {
        display: block;
        float: right;
        clear: none;
        padding-top: 25px;
    }
    /*end search box*/

}

@media (min-width: 1159px) {
    .wrap-nav {
        height: 0px;
    }

    .collapse {
        display: block;
    }

    .navbar-toggler {
        display: none;
    }

    #topnavbar .nav-collapse {
        margin-top: 0px;
    }
    /*reset back to inline for normal view*/
    #topnavbar .ms-core-listMenu-horizontalBox {
        display: block;
    }

    #topnavbar .collapse ul.static {
        display: inline-block;
        padding: 0;
    }

    #topnavbar .collapse li.static {
        display: inline-block;
        width: auto;
    }
    /*hide or provide padding for downdown arrow*/
    #topnavbar .ms-core-listMenu-horizontalBox .dynamic-children.additional-background {
        padding-right: 15px;
        width: 100%;
        display: inline;
    }
    /*show the edit nav link again for larger devices*/
    #topnavbar .collapse ul.root > li.ms-navedit-editArea {
        display: inline-block;
    }

    #topnavbar .collapse .ms-navedit-editLinksText {
        padding: 15px 0 15px 10px;
        display: block;
    }
    /*we need to override where SP is placing dynamic nav items*/
    #topnavbar .collapse ul.static > li.dynamic-children > ul.dynamic {
        position: absolute !important;
        left: 0 !important;
        margin-left: -5px !important; /*added*/
    }

    #topnavbar ul.dynamic > li {
        min-width: 150px;
        position: relative;
        white-space: nowrap;
    }

        #topnavbar ul.dynamic > li:first-child {
            border-top: 0px transparent none;
        }

    #topnavbar .collapse li.dynamic-children.hover > ul.dynamic {
        display: block !important;
    }

    #topnavbar li.dynamic > .menu-item {
        line-height: 1em;
        margin: 0;
        padding: 9px 15px;
    }

    #sideNavBox {
        float: none;
        margin: 0px;
        width: auto;
    }

        #sideNavBox.col-md-3 {
            float: left;
            width: 25%;
        }

    .ms-searchCenter-refinement .ms-WPBody {
        display: block !important;
    }
}

.ms-signInLink {
    display: none !important;
}

.ms-srch-sb-searchLink {
    background-image: url("/_catalogs/masterpage/WaterConnect.Branding.2019/Images/search-hover.png") !important;
    background-color: #fff !important;
    background-position: center;
    background-repeat: no-repeat;
    height: 28px !important;
    width: 29px !important;
}

    .ms-srch-sb-searchLink:hover {
        background-image: url("/_catalogs/masterpage/WaterConnect.Branding.2019/Images/search.png") !important;
        background-color: #1a3e67 !important;
        background-position: center;
        background-repeat: no-repeat;
        height: 28px !important;
    }

.ms-srch-sb-border {
    border: none;
}

    .ms-srch-sb-border:hover {
        border: none;
    }

.ms-srch-sb-prompt {
    height: 29px !important;
    width: 250px !important;
    font-size: 14px;
}
