/* Ribbon Overrides */
a[id$="Underline-Small"] {
    display: none;
}

/* Portal Alert Styles */
.homepage-alert {
    text-align: center;
    background: #d97641!important;
    /*
background: #802f67 !important; (Tier 1)
background: #c43d53 !important; (Tier 2)
background: #d97641 !important; (Tier 3)
background: #e6b735 !important; (Tier 4)
*/
    position: relative;
}

.homepage-alert div.col-md-12 {
    min-height: 0px;
}

.homepage-alert .ms-WPBody p {
    margin: 10px 0;
    padding: 0;
    line-height: normal;
    font-size: 1.2em !important;
    color: #fff;
}

.homepage-alert a {
    color: #fff !important;
}

/* End Portal Alert Styles */
.hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.header-brand h1 {
    margin: 0;
    padding: 0;
    height: 1px;
}

body, td, th {
    font-family: "open_sansregular";
}

h1, h2, h3, .h1, .h2, .ms-rteElement-H2 strong, .h3, .ms-rteElement-H3 strong {
    font-family: 'open_sanslight' !important;
    color: #144e82 !important;
    line-height: 1.1 !important;
    font-weight: 500 !important;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

h4, h5, h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h1 small, h2 small, h3 small, h1 .small, h2 .small, h3 .small {
    font-size: 65% !important;
    line-height: 1 !important;
}

h4 small, h5 small, h6 small, h4 .small, h5 .small, h6 .small {
    font-size: 75% !important;
    line-height: 1 !important;
}

h1, .h1 {
    font-size: 2.571em;
}

h2, .h2, .ms-rteElement-H2 {
    font-size: 2.143em;
    font-style: normal;
}

h3, .h3, .ms-rteElement-H3 {
    font-size: 1.714em;
    font-style: normal;
}

h4, .h4, .ms-rteElement-H4 {
    font-size: 1.286em;
    font-style: normal;
}

h5, .h5, .ms-rteElement-H5 {
    font-size: 1.000em;
    font-style: normal;
}

h6, .h6, .ms-rteElement-H6 {
    font-size: 0.857em;
    font-style: normal;
}

.portalhighlight {
    font-size: 1.714em;
    font-style: normal;
    color: #373737
}

.rsDefault .rsTmb h5 {
    font-size: 16px !important;
    line-height: 1.5em !important;
}

p {
    font-size: 1.000em;
}

.block-body ul {
    font-size: 1.1em;
}

.content ul ul {
    margin-bottom: 0;
}

.portalhighlight span {
    font-size: 1.4em;
}

.section-colored.home h3 {
    margin: 0 !important;
    color: #4d4d4d !important;
    line-height: 1.6em !important;
}

/* Links */
a, a:link, a:visited {
    color: #1f5b83;
}

a:hover, a:focus {
    color: #144e82;
    text-decoration: none !important;
}

.captionText a, .captionText a:link, .captionText a:visited {
    color: #fff;
}

/* Hover effect for SACCOUNTYNEWS */
#newslist .h2 a:after {
    content: 'SACCOUNTY NEWS';
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

#newslist .h2:hover a:after {
    content: 'VISIT SACCOUNTY NEWS';
    color: #144e82;
    font-weight: bold;
    color: #124972;
}

/* Skip Nav */
#skip {
    position: absolute;
    left: 0px;
    width: 100%
}

#skip a, #skip a:hover, #skip a:visited {
    position: absolute;
    left: 0px;
    top: -500px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    color: #fff;
}

#skip a:active, #skip a:focus {
    position: relative;
    top: 100px;
    z-index: 102;
    width: 150px;
    height: auto;
    padding: 10px;
    margin: 0 auto;
    color: #fff !important;
    background-color: #000;
    display: block;
}

#skipnav {
    position: absolute;
    top: -1000px;
    clear: both
}

/* Adjustments because of Sharepoint Styles */
/* Site Actions Drop Down Menu Issue Fix
.navbar{z-index: 2 !important;} */
.image-link {
    padding-top: 1em;
}

div.item a.image-link {
    padding-top: 0
}

/* End Site Actions Drop Down Menu Issue Fix */
.s4-breadcrumb-menu {
    background-color: #fff;
}

/***********************************************************************/
.ms-cui-menusection {
    clear: left !important;
    margin-top: 10px !important;
}

/***********************************************************************/
/*Webpart Tool Pane
.ms-ToolPaneOuter {
position:relative;
z-index:1000;
}*/
/*End Tool Pane*/
@media (min-width: 768px) {
    .navbar-search {
        position: absolute;
        left: 0;
        top: -500px;
        width: 1px;
        height: 1px;
        overflow: hidden;
        display: none;
    }

    .navbar-header {
        float: right;
    }

    .featuredslide>img, .featuredslide>a>img {
        min-height: 200px !important;
    }

    /* Featured Links */
    .col-sm-6 .cbq-layout-main {
        max-width: 295px !important;
    }

    .s4-search {
        width: 100%
    }

    .s4-search input.ms-sbplain {
        display: block;
        width: 100% !important;
        font-size: 14px;
        font-style: italic;
        font-family: 'open_sansregular';
        height: 32px;
        padding: 6px 12px;
        line-height: 1.4285;
        color: #fff;
        vertical-align: middle;
        background: transparent;
        background-color: rgba(20, 81, 132, 0.50);
        border: 1px solid rgba(225, 225, 225, 0.3);
        border-radius: 4px 0 0 4px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
        transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    }

    .s4-search input.ms-sbplain:focus {
        font-style: normal;
    }

    .s4-search input.ms-sbplain:focus, .s4-search input.ms-sbplain:hover {
        color: #fff;
        background-color: transparent;
        border-color: rgba(225, 225, 225, 0.6);
        outline: none;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    }

    .s4-search .ms-sbgo a {
        background: url(/SiteAssets/responsive/img/search_32x32_darkbg_noborder.png) no-repeat;
        width: 32px;
        height: 32px;
        display: block;
        border: 0;
    }

    .s4-search .ms-sbgo a:hover {
        background: url(/SiteAssets/responsive/img/search_32x32_lightbg_noborder.png) no-repeat;
        width: 32px;
        height: 32px;
        display: block;
        border: 0;
    }

    .s4-search .srch-gosearchimg, .s4-search .ms-sbgo span {
        display: none;
    }

    .carousel-caption {
        left: 100px;
        !important }
}

/* End Media min-width:768px */
.ms-WPBody h3 {
    font-size: 24px !important;
}

.ms-WPBody p, .ms-WPBody h5 {
    font-size: 14px !important;
    font-weight: normal !important;
}

.ms-WPBody .block-body p {
    font-size: 13px !important;
}

/* For Your Information */
.link-portfolio {
    overflow: hidden;
    display: block;
    position: relative;
    margin-bottom: 15px;
    height: 200px;
}

.link-portfolio a h5, .link-portfolio .overlay-portfolio {
    background: rgba(0, 0, 0, 0.71);
    padding: 25px;
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: #E9E9E9;
    opacity: 0;
    filter: alpha(opacity=0);
}

.link-portfolio .overlay-portfolio h3 {
    font-size: 14px;
    font-family: 'open_sansbold';
    margin: 0 0 20px 0;
}

/* FYI Slider */
.block-body h5 a, .block-body h5 a:link, .block-body h5 a:visited {
    font-weight: bold;
}

/* Slider Image Padding Fix */
.carousel-inner>.item {
    padding: 0 !important;
}

a.carousel-control {
    color: #fff;
}

.fill {
    display: block;
}

@media (max-width: 767px) {
    /* Featured Links */ .carousel-caption {
        left: 20px;
        !important }

    .home.section-colored h3 {
        font-size: 13px !important;
        font-family: "open_sansregular" !important;
        color: #666 !important;
    }

    .learnmore {
        font-size: 13px;
    }

    .col-sm-6 .cbq-layout-main {
        max-width: 100% !important;
        position: relative;
        margin-right: 10px;
    }

    .navbar-search, .navbar-search .ms-sbtable {
        width: 100%;
        margin-top: 10px;
    }

    .navbar-search {
        z-index: 1002
    }

    .navbar-search .s4-search input.ms-sbplain {
        display: block;
        width: 100% !important;
        background: rgba(255, 255, 255, 0.6);
        border: none;
        color: #666;
        font-size: 13px;
        font-style: italic;
        -webkit-transition: all 0.4s ease-in-out;
        -moz-transition: all 0.4s ease-in-out;
        -o-transition: all 0.4s ease-in-out;
    }

    .navbar-search .s4-search input.ms-sbplain:focus {
        font-style: normal;
    }

    .navbar-search .s4-search input.ms-sbplain:focus, .navbar-search .s4-search input.ms-sbplain:hover {
        background: #ECF0F1;
        color: #000;
        border: solid 1px #145084;
        box-shadow: none;
        -webkit-box-shadow: none;
    }

    .navbar-search .s4-search input.ms-sbplain, .navbar-search .s4-search .srch-gosearchimg {
        height: 32px;
        padding: 6px 12px;
    }

    .navbar-collapse {
        overflow-x: hidden;
    }

    button.navbar-toggle span {
        color: #fff;
    }

    .navbar-search .s4-search .ms-sbgo a {
        background: url(/SiteAssets/responsive/img/search_32x32_darkbg_noborder.png) no-repeat;
        width: 32px;
        height: 32px;
        display: block;
        border: 0;
    }

    .navbar-search .s4-search .ms-sbgo a:hover {
        background: url(/SiteAssets/responsive/img/search_32x32_lightbg_noborder.png) no-repeat;
        width: 32px;
        height: 32px;
        display: block;
        border: 0;
    }

    .navbar-search .s4-search .srch-gosearchimg, .s4-search .ms-sbgo span {
        display: none;
    }

    .mega .image-link {
        position: absolute;
        left: -3000px;
    }

    .menu-2nd a, .menu-2nd a:link, .menu-2nd a:visited, .menu-3rd a, .menu-3rd a:link, .menu-3rd a:visited {
        color: #fff !important;
    }

    .menu-2nd a:hover, .menu-2nd a:focus, .menu-3rd a:hover, .menu-3rd a:focus {
        color: #000 !important;
    }

    .menu-2nd div.fill, .menu-3rd div.fill {
        background-image: none !important;
    }

    .carousel-indicators li, .carousel-indicators .active {
        width: 15px;
        height: 15px;
        margin: 2px 6px;
    }

    .carousel-indicators {
        width: 100%;
        margin-left: -50%;
    }

    .main-header h1 img {
        background-color: #A8BFD3;
        padding: 5px;
    }

    footer ul, footer h3 {
        margin-left: 20px;
    }
}

/* End Media max-width:767px */
/* Header */
.header {
    clear: left !important;
}

.header-brand {
    position: relative !important;
    top: auto
}

.newslist ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 1em;
}

.newslist ul li {
    margin: 0;
}

.newslist ul li a {
    padding: 6px;
    display: block;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

.footer-after {
    position: relative;
    z-index: 100;
}

.block-body li a, .block-body li a:link, .block-body li a:visited {
    color: #1f5b83;
}

.block-body li a:hover, .block-body li a:focus {
    color: #DCDCDC
}

header.h2 a, header.h2 a:visited, header.h2 a:link, .block-body a, .block-body a:link, .block-body a:visited, .section-colored.home h3 a, .section-colored.home h3 a:visited, .section-colored.home h3 a:link {
    color: #1f5b83;
}

header.h2 a:hover, header.h2 a:focus, .section-colored.home h3 a:focus, .section-colored.home h3 a:hover {
    color: #144e82;
    text-decoration: none;
}

.newslist a, .newslist a:link, .newslist a:visited {
    padding: 6px;
    display: block;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    border-bottom: 1px solid #bababa;
}

.newslist ul li a:hover, .newslist ul li a:focus {
    color: #144e82;
    text-decoration: none;
}

.block-body a:hover, .block-body a:focus {
    color: #144e82
}

/* Footer Styles */
.footer-after a, .footer-after a:link, .footer-after a:visited {
    color: #fff;
    font-size: 1em;
    line-height: 18px;
}

.footer-after a:hover, .footer-after a:hover {
    text-decoration: underline;
}

.footer-after p {
    color: #fff;
}

#footer h3 a, #footer h3 a:link, #footer h3 a:visited {
    color: #82c0e9;
    font-size: 1em;
}

#footer {
    background: #34495E;
    padding: 0 0 30px 0;
    color: #BDC3C7;
    font-size: 1em;
    line-height: 18px;
    padding: 0 15px;
}

footer h3 a:hover, footer h3 a:focus, #footer h3 a:hover, #footer h3 a:focus {
    color: #fff !important;
    text-decoration: none;
}

footer a, footer a:link, footer a:visited, #footer a, #footer a:link, #footer a:visited {
    color: #fff;
}

footer a:hover, footer a:focus, #footer a:hover, #footer a:focus {
    color: #fff;
    opacity: 1
}

#footer .translate span a, #footer .translate span a:link, #footer .translate span a:visited {
    color: #82c0e9 !important;
}

#footer .translate span a:hover, #footer .translate span a:focus {
    color: #fff !important;
}

/* Breadcrumbs */
.breadcrumb a, .breadcrumb a:link {
    color: ##1f76b1
}

.breadcrumb a:hover, .breadcrumb a:focus {
    color: #144e82
}

/* Organizational Chart */
#OrgChart {
    margin: 0 135px;
    padding-top: 20px;
}

.bubble, .bubble:before, .bubble:after {
    -webkit-box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    box-sizing: content-box !important;
}

.bubble, .bubble p {
    margin: 0;
    padding: 0;
}

.bubble .head {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.head h3 {
    padding: 5px;
    margin: 0;
    color: #fff !important;
}

.photoArea {
    float: right;
    width: 125px;
    margin: 0 0 0 10px;
    text-align: center;
}

.photoArea p {
    font-weight: bold;
}

.bubble caption {
    font-size: 80%
}

.bubble hr, #OrgChart hr {
    clear: both;
    margin: 0 !important;
    padding: 0 !important;
    height: 2px !important;
    color: #fff !important;
}

.description {
    float: left;
    width: 260px;
    margin: 0;
    padding: 0;
    color: #fff !important;
    font-size: 100%
}

.director {
    font-weight: bold;
}

.contactInfo a {
    font-weight: bold;
}

/* FIX FOR THE SHAREPOINT RIBBON TURNING WHITE IE BUG
 .ms-cui-modalDiv-ie, .ms-cui-glass-ie{background-color:transparent !important;}*/
/* End IE Bug */
#colorbox, #cboxOverlay, #cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
}

#cboxOverlay {
    position: absolute;
    width: 100%;
    height: 100%
}

#cboxOverlay {
    background: url(/SiteAssets/overlay/jquery/stylesheets/images/overlay.png) repeat 0 0;
}

.content ul {
    font-size: 1em;
}

.content div ul li {
    padding: 4px;
}

/*Slider*/
@media (max-width: 767px) {
    .dropdown-menu.mega .menu-content p {
        color: #fff;
    }
}

@media screen and (max-width: 500px) and (min-width: 0px) {
    .box-slider .rsThumbs.rsThumbsVer {
        width: 100% !important;
        padding: 4px !important;
    }
}

@media screen and (max-width: 500px) and (min-width: 0px) {
    .box-slider .rsThumbs .rsThumb {
        width: 100% !important;
    }
}

@media screen and (max-width: 767px) and (min-width: 0px) {
    .box-slider .rsTmb {
        padding: 6px 8px !important;
    }
}

body #s4-bodyContainer {
    min-width: 300px;
    padding-bottom: 0;
}

.ms-dlgOverlay {
    width: 100% !important;
}

#scopedByScopedPolyfill_1 .prefix-overlay-content {
    color: #fff !important;
}

/* End Scroll Bar Fix */
/* Customized Mobile Nav */
@media (max-width: 767px) {
    #portal-mobile-nav .navbar-toggle {
        margin-right: 0px;
    }

    #portal-mobile-nav .textonly {
        /* margin-left: 0px; */
    }

    #portal-mobile-nav.navbar-inverse {
        margin-top: -120px;
    }

    #portal-mobile-header.header {
        background: none;
        width: 100%;
        height: 120px;
        font-size: 0.9em;
        z-index: 999;
        border-bottom: 0px;
        background-image: none;
    }

    #portal-mobile-header #header>div>h1>a>img {
        display: none;
    }

    #portal-mobile-nav .navbar-search, #portal-mobile-nav .navbar-search .ms-sbtable {
        width: 90%;
        margin: 61px auto 10px auto;
        bottom: 0;
        float: none;
    }

    #portal-mobile-nav .menu-2nd a:hover, #portal-mobile-nav .menu-2nd a:focus, #portal-mobile-nav .menu-3rd a:hover, #portal-mobile-nav .menu-3rd a:focus {
        color: #9BA9B3 !important;
    }
}

/* End Customized Mobile Nav */
.statsNumber {
    font-size: 32px;
    float: left;
    width: 50%;
    text-align: right;
    font-weight: bold;
    padding-top: 19px;
}

.statsText {
    font-size: 15px;
    float: right;
    width: 50%;
    text-align: left;
    padding-left: 15px;
    line-height: 1.1em;
    padding-top: 26px;
}

.ie div.section-colored.home.statsContainer, .gecko div.section-colored.home.statsContainer {
    padding: 30px 0px 0px;
}

@media (min-width: 300px) and (max-width:767px) {
    .statsNumber {
        width: 30%;
    }

    .statsText {
        width: 70%;
    }
}

/* Search */
#SearchBox .ms-srch-sb-border, #SearchBox .ms-srch-sb {
    width: 98%;
    border-collapse: collapse;
    border-width: 0;
    white-space: nowrap;
}

#SearchBox .ms-srch-sb>input, #SearchBox .ms-srch-sb-border>input, #SearchBox .ms-srch-sbLarge>input {
    display: inline-block;
    width: calc(100% - 27px) !important;
    /*   this calc takes into account the width of the search box and the search button to align it center */
    font-size: 14px;
    font-style: italic;
    font-family: 'open_sansregular';
    height: 32px;
    padding: 6px 12px;
    line-height: 1.4285;
    color: #fff;
}

.ms-srch-sb>input {
    margin: 0px;
    vertical-align: middle;
    background: transparent;
    background-color: rgba(20, 81, 132, 0.50);
    border: 1px solid rgba(225, 225, 225, 0.3);
    border-radius: 4px 0 0 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.ie9 .ms-srch-sb>input {
    padding: 5px 5px 10px !important;
    background-color: #fff !important;
    border: none !important;
}

input[type=password]:focus, input[type=text]:focus, select:focus, textarea:focus, .sp-peoplepicker-topLevelFocus, .ms-inputBoxActive, .ms-inputBoxActive.ms-inputBox:hover {
    /* border-color: #2a8dd4;*/
    border: 1px solid rgba(225, 225, 225, 0.3);
    border-radius: 4px 0 0 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

#SearchBox .ms-srch-sb-border>input:focus {
    font-style: normal;
}

/*dropdown*/
#SearchBox .ms-srch-sb-navLink, .navbar-collapse .searchbar {
    display: none;
}

/*Search button*/
a.ms-srch-sb-searchLink {
    background: none;
    background-color: #426F96;
    color: #1F476A;
    width: 32px;
    height: 32px;
    display: inline-block;
    border: 0;
}

a.ms-srch-sb-searchLink:hover {
    background: none;
    background-color: #C6E8FF;
    color: #144e82;
    width: 32px;
    height: 32px;
    display: inline-block;
    border: 0;
}

a.ms-srch-sb-searchLink:before {
    content: "\f002";
    position: absolute;
    top: 6px;
    color: #1F476A;
    z-index: 222;
    font-family: FontAwesome;
    background: none;
    left: 9px;
    font-size: 15px;
    transform: scaleY(1) translateX(0);
}

a.ms-srch-sb-searchLink img {
    display: none;
}

.ms-srch-sb>.ms-srch-sb-searchLink {
    height: 32px;
    width: 32px;
    margin: 0;
}

@media (max-width: 767px) {
    .container>.navbar-collapse {
        max-height: none;
    }

    .navbar-form-expanded {
        width: 100%;
    }

    #SearchBox .ms-srch-sb-border>input:focus, #SearchBox .ms-srch-sb-border>input:hover {
        color: #fff !important;
        box-shadow: none;
        -webkit-box-shadow: none;
    }

    .topics .col-sm-3 .block-icon {
        margin-top: 0;
        font-size: 23px;
        height: 53px;
        width: 53px;
        line-height: 53px;
        border-radius: 40px;
        -webkit-border-radius: 40px;
        -moz-border-radius: 40px;
    }

    .topics .col-sm-3 .block-body h2 {
        margin-top: 10px;
        margin-bottom: 5px;
    }
}

ul.dfwp-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.dfwp-list li ul li {
    font-size: 14px;
}

li.list-header div.groupheader {
    cursor: pointer;
    color: #0061b5;
    font-weight: bold;
    font-size: 1.5em;
}

li.list-header div.groupheader:hover {
    text-decoration: underline;
}

div.groupheader {
    background: url(/PublishingImages/plusminus.png) no-repeat 0px 2px;
    padding-left: 20px;
}

div.groupheader.expanded {
    background: url(/PublishingImages/plusminus.png) no-repeat 0px -17px;
}

.item {
    padding: 0;
}

#ms-designer-ribbon {
    position: relative;
    z-index: 1500;
}

#ms-designer-ribbon a {
    border-bottom: 0px;
    content: normal;
}

.ms-core-webpartadder, .ms-core-menu-box {
    position: relative;
    z-index: 100000 !important;
    top: 0;
}

#s4-ribbonrow *, #s4-ribbonrow *:before, #s4-ribbonrow *:after, #suiteBarButtons *, #suiteBarButtons *:before, #suiteBarButtons *:after {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

#suiteBarButtons .img-responsive, #s4-ribbonrow .img-responsive, .s4-clust .img-responsive {
    max-width: none !important;
}

#suiteBarLeft, #suiteBarRight {
    line-height: normal;
}

* [class^="col"], * [class^="col"]:before, * [class^="col"]:after {
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

* [class^="col"] img {
    max-width: 100%;
}

.ms-siteactions-imgspan {
    float: none;
    margin: 0;
}

span.ms-siteactions-imgspan img.img-responsive {
    max-width: none !important;
}

#s4-ribbonrow img {
    max-width: none !important;
    width: auto !important;
}

.ms-cui-menu {
    z-index: 100000 !important;
    position: fixed !important;
    padding-top: 10px;
}

#ms-designer-ribbon {
    padding-top: 0;
}

/*TRANSALTE*/
@media (min-width: 768px) {
    .translate-list {
        min-width: 80px !important;
        height: 50px;
        padding: 10px;
    }

    .translate-list .navbar-right .dropdown-menu {
        left: 0;
    }

    .webkit .topSearch {
        margin-top: -13px !important;
    }

    .translate-list:hover {
        background-color: transparent;
    }

    .translate-list:hover a {
        color: #222 !important;
        background: rgba(255, 255, 255, 0.85) !important;
    }

    .translate-list .dropdown-menu {
        top: 50px;
    }

    .translate-list .dropdown-menu {
        box-shadow: 0 6px 7px rgba(0, 0, 0, 0.4);
        border: 1px;
        margin: 0;
        background-color: #fff !important;
        color: #000 !important;
        z-index: 6000 !important;
        position: absolute !important;
        left: 0;
        right: 0;
        margin-right: -15px;
    }

    .translate-list .dropdown-menu a, .translate-list .dropdown-menu a:visited {
        color: #000 !important;
    }

    .translate-list .dropdown-menu li {
        min-width: 80px;
    }

    .translate-list .dropdown-menu a:hover, .translate-list .dropdown-menu a:focus, .translate-list .dropdown-menu li:hover {
        color: #fff !important;
        background-color: #000 !important;
    }

    .translate-list .dropdown-menu>li>a {
        color: #000 !important;
    }

    .translate-list .btn {
        height: 50px;
        margin-right: -15px;
        font-size: 10px;
    }

    .webkit .topSearch {
        margin-top: 40px;
    }
}

.translate-list .btn-primary {
    background-color: rgba(5, 42, 66, 0.23);
    border-color: transparent;
    padding-top: 13px;
    height: auto;
    padding-bottom: 15px;
    font-size: 1.03em;
}

.translate-list a {
    color: #fff !important;
    border: none;
    margin-top: -5px;
    width: 80%;
    float: left;
    padding: 5px;
    word-wrap: break-word;
    text-align: center;
    /* background: rgba(255,255,255,.5); */
    margin-left: 10px;
}

.translate-list-mobile a {
    color: #fff !important;
    border: none;
    width: 100%;
    float: left;
    padding: 5px;
    word-wrap: break-word;
    text-align: center;
    z-index: 100;
}

@media (max-width: 991px) {
    .translate-list .btn-primary {
        background-color: rgba(5, 42, 66, 0.23);
        /* border-color: rgba(193, 193, 193, 0.7); */
        padding-top: 13px;
        height: auto;
        padding-bottom: 0px;
        font-size: 16px;
    }
}

@media (min-device-width : 480px) and (max-width: 767px) {
    .translate-list {
        margin-right: 35px;
        padding: 10px;
        margin-top: -40px;
    }

    .translate-list .dropdown-menu {
        box-shadow: 0 6px 7px rgba(0, 0, 0, 0.4);
        border: 1px;
        margin: 0;
        background-color: #fff !important;
        color: #000 !important;
        z-index: 6000 !important;
        position: absolute !important;
        left: 0;
        right: 0;
        margin-right: -15px;
    }

    .translate-list:hover {
        background-color: #d36424;
    }

    .translate-list:hover a {
        color: #fff !important;
    }

    .translate-list .btn-primary {
        background-color: rgba(5, 42, 66, 0.23);
        border-color: transparent;
        padding-top: 12px;
        height: auto;
        padding-bottom: 0px;
    }

    .translate-list .dropdown-menu a, .translate-list .dropdown-menu a:visited {
        color: #000 !important;
    }

    .translate-list .dropdown-menu a:hover, .translate-list .dropdown-menu a:focus, .translate-list .dropdown-menu li:hover {
        color: #fff !important;
        background-color: #000 !important;
    }

    .translate-list .dropdown-menu>li>a {
        color: #000 !important;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .translate-list .btn-primary {
        margin-right: -50px;
        margin-top: 49px;
        margin-bottom: -50px;
    }

    .translate-list a {
        color: #fff !important;
        border: none;
        margin-top: -38px;
        float: right;
        width: 50%;
        margin-right: 8px;
    }
}

@media (min-width : 992px) and (max-width: 1200px) {
    .webkit .topSearch {
        margin-top: 30px !important;
    }
}

/* Gov Delivery Sign Up */
.govDelivery {
    display: block;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 2.5% 8%;
    margin-bottom: 10px;
    -webkit-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1607843137254902);
    -moz-box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1607843137254902);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1607843137254902);
}

.govDelivery h4 {
    font-size: 16px;
    font-family: Open Sans, sans-serif;
    margin-top: 5px;
    margin-bottom: 5px;
}

.govDelivery p {
    margin: auto;
    line-height: 20px;
}

a.signup_button:link, a.signup_button:visited {
    width: 110px;
    font-family: Open Sans, sans-serif;
    font-weight: bold;
    color: #ffffff !important;
    background-color: #347AB7;
    border: 1px solid #347AB7;
    text-decoration: none;
    padding: 3px 20px;
    margin-left: 20px;
}

a.signup_button:hover {
    color: #428BCA !important;
    background-color: #ffffff !important;
    border: 1px solid rgb(121, 169, 219);
}

.govDelivery>div:first-child {
    width: 70%;
}

.govDelivery>div {
    vertical-align: middle;
    display: inline-block;
}

@media (max-width: 991px) {
    .govDelivery>div:first-child {
        width: 100%;
        margin-bottom: 10px;
    }

    a.signup_button:link, a.signup_button:visited {
        margin-left: 0;
    }
}

/* fix for image responsiveness */
#main_content img {
    max-width: 100%;
    height: auto !important;
}

/* covid19 page */
.font-darken p, .font-darken ul, .font-darken div {
    color: #000;
}

/* FAQ */
.panel-heading {
    padding: 15px;
}

#accordion .panel-title > a {
    font-weight: bold;
    text-decoration: none !important;
    display: block;
}

#accordion .panel-title > a:before {
    float: right !important;
    font-family: FontAwesome;
    font-size: x-large;
    content: "\f056";
    padding-right: 5px;
}

#accordion .panel-title > a.collapsed:before {
    float: right !important;
    font-size: x-large;
    content: "\f055";
}

/* End FAQ */
/* 311 Ribbon */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap'); @font-face {
    font-family: 'Fredoka One';
    src: url('fonts/Fredoka_One/FredokaOne-Regular.ttf');
    src: url('fonts/Fredoka_One/FredokaOne-Regular.ttf') format('truetype');
    font-style: normal;
}

.sc311 {
    padding: 0;
    border-bottom: 2px solid #fdfdfd;
    background: #e2e3e4;
}

.sc311 .col-md-12 {
    display: flex;
    justify-content: center;
    max-height: 116px;
}

.sc311 img {
    width: -webkit-fill-available;
}

.sc311 a {
    text-align: center;
}

@media (max-width: 576px) {
    #main_content .sc311 img {
        max-width: 160vw;
    }
}
