/*@import './msb-shwidget-covidbanner.css';*/

/*********************************************
 * WP Gallery Bug with WP 6.1 (flex layout)
 *********************************************/
.wp-block-gallery.is-layout-flex {
    display: flex;
    flex-wrap: wrap;
}

.wp-block-gallery figure img {
    margin-bottom: 0;
}

/*********************************************
 * Intro Paragraphs
 *********************************************/
p.msb-intro-p, p.msm-intro-p {
    font-size: 1.25em;
    color: #002e5d;
}

/*********************************************
 * Buttons
 *********************************************/
.main-content blockquote {
    font-size: 1.25em;
    color: #0e62ae;
    padding: 0 3em;
}

.main-content blockquote cite {
    font-size: 1em;
}

/*********************************************
 * Buttons
 *********************************************/
.msb-block-button {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-wrap: normal;
}

.msb-block-button.center {
    justify-content: center;
}

.msb-block-button.left {
    justify-content: flex-start;
}

.msb-block-button.right {
    justify-content: flex-end;
}

.msb-block-button.full {
    justify-content: space-between;
}

.msb-block-button.even {
    justify-content: space-evenly
}

.msb-block-button .btn {
    white-space: pre-line;
    margin: 0.25em 0.5em;
}

.msb-block-button.left .btn, .msb-block-button.full .btn, .msb-block-button.even .btn {
    margin-left: 0;
}

.msb-block-button.right .btn, .msb-block-button.full .btn, .msb-block-button.even .btn {
    margin-right: 0;
}

.msb-block-button.center .btn {
    margin: 0.25em 0.25em;
}

/*********************************************
 * Images
 *********************************************/
/* Wordpress styles to align images */
.main-content img {
    display: block;
    max-width: 100%;
    margin-bottom: 1em;
}

.msb-block-image {
    display: flex;
    justify-content: center;
    margin: 0;
    max-width: 100%;
}

.msb-block-image .msb-caption {
    font-size: 14px;
    text-align: center;
}

.msb-block-image figure img {
    width: 100%;
    margin: 0 0 10px 0;
}

figure.size-msm_thumb,
figure.size-msm_small,
figure.size-msm_medium,
figure.size-msm_large {
    display: block;
    max-width: 100%;
}

figure.size-msm_thumb {
    width: 240px;
}

figure.size-msm_small {
    width: 320px;
}

figure.size-msm_medium {
    width: 480px;
}

figure.size-msm_large {
    width: 960px;
}

/*********************************************
 * Block Separators
 *********************************************/
.wp-block-separator {
    border: none;
    border-top: 1px solid #e5e5e6;
}

/*********************************************
 * Tables
 *********************************************/
.msb-block-table .a-l {
    text-align: left;
}

.msb-block-table .a-c {
    text-align: center;
}

.msb-block-table .a-r {
    text-align: right;
}

/*********************************************
 * MSM Template
 *********************************************/
.wp-caption-text {
    font-family: proxima-nova, arial, sans-serif;
    font-size: 14px;
    color: #75757a;
    text-align: center;
}

.msm-success {
    color: green;
    font-weight: bold;
}

.msm-error {
    color: red;
    font-weight: bold;
}

.msm-highlight {
    color: red;
}

.msm-hidden {
    display: none;
}

.msm-fl {
    float: left;
}

.msm-fr {
    float: right;
}

.msm-clear {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
}

.msm-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}

.msm-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*********************************************
 * Shlider/Banner
 *********************************************/
#shlider-front-wrapper, #banner-front-wrapper {
    width: 100%;
    margin: 0 auto;
}

#banner-front-wrapper img {
    width: 100%;
}

.main-content .shlider-content {
    margin-top: 15px;
}

/*********************************************
 * Stories Widgets
 *********************************************/
#stories-wrapper .story-wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e4e6;
}

#stories-wrapper .story-wrapper:last-child {
    border-bottom: none;
}

.story {
    padding: 15px;
    font-size: 1em;
    line-height: 1.4em;
}

.story-header {
    margin: 8px 0;
    color: #002e5d;
    font-size: 1.2em;
    font-weight: 600;
}

.story-title {
    margin-bottom: 5px;
    font-size: 1.4em;
    font-weight: 600;
}

.story-title a {
    color: #0e62ae;
}

.story-content a {
    color: #404040;
    display: block;
}

.more-stories {
    padding: 20px 0 40px 0;
}

#stories-wrapper .msm-widget .msm-widget-picture {
    margin-bottom: 10px;
}

#stories-wrapper .msm-widget .msm-widget-subtitle {
    margin-bottom: 6px;
}

#stories-wrapper .msm-widget .msm-widget-header .msm-widget-icon {
    display: none;
}

#stories-wrapper .msm-widget .msm-widget-footer {
    display: none;
}

/*********************************************
 * Widgets
 *********************************************/
#widgets-widget-wrapper {
    background-color: #e5e5e6;
}

#widgets-row {
    color: #404040;
    /*background-color: #e5e5e6;*/
}

#widgets-container {
    padding-top: 25px;
    padding-bottom: 25px;
}

#widgets-container .widget-wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 0;
    position: relative;
    border-bottom: 1px solid #6c757d;
}

#widgets-container .widget-wrapper:last-child {
    border-bottom: none;
}

/*!* MSM Scrollbar Styles *!*/
.widget-wrapper .mCS-dark .mCSB_scrollTools .mCSB_draggerContainer {
    display: none;
}

/*********************************************
 * Start Widget Styles (Defaults)
 *********************************************/

.msm-widget {
    word-wrap: break-word;
}

.msm-widget a {
    text-decoration: none;
}

.msm-widget a:hover {
    text-decoration: underline;
}

.msm-widget .msm-hide-mobile {
    display: none;
}

.msm-widget .msm-widget-header {
    margin-bottom: 10px;
}

.msm-widget .msm-widget-header .msm-widget-title {
    font-family: proxima-nova, arial, sans-serif;
    font-size: 1.28em;
    color: #002e5d;
    font-weight: 600;
    text-transform: uppercase;
}

.msm-widget .msm-widget-header .msm-widget-icon {
    float: right;
    padding: 0 0 0 10px;
}

.msm-widget .msm-widget-header .msm-widget-icon img {
    height: 24px;
}

.msm-widget .msm-widget-content .msm-widget-content-item {
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.msm-widget .msm-widget-content .msm-widget-content-block {
    border-bottom: 1px solid #cccccd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.msm-widget .msm-widget-content .msm-widget-content-block:after, .msm-widget .msm-widget-content .msm-widget-content-item:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
}

.msm-widget .msm-widget-content .msm-widget-indent {
    margin: 5px 0 5px 25px;
}

.msm-widget .msm-widget-content .msm-widget-picture {
    padding: 0;
    margin: 0;
    width: 100%;
}

.msm-widget .msm-widget-content .msm-widget-chart {
    padding: 0;
    width: 100%;
}

.msm-widget .msm-widget-content .msm-widget-thumb {
    float: left;
    margin: 0 10px 5px 0;
    max-width: 150px;
    width: 40%;
}

.msm-widget .msm-widget-content .msm-widget-subtitle {
    font-size: 1.08em;
    font-weight: bold;
    margin: 8px 0 3px 0;
}

.msm-widget .msm-widget-content .msm-widget-sub-title:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
}

.msm-widget .msm-widget-caption {
    font-size: 0.8em;
}

.msm-widget .msm-widget-footer {
    margin-top: 10px
}

.msm-widget .msm-widget-content .msm-widget-read-more {
    font-size: 0.9em;
}

.msm-widget .msm-widget-content .msm-widget-content-block .msm-widget-read-more {
    font-size: 0.8em;
}

.msm-widget .msm-widget-footer .msm-widget-read-more {
    font-size: 1em;
}

.msm-widget .msm-widget-chart svg rect {
    cursor: default;
}

.msm-widget-block-images img {
    width:49%;
    display:inline;
    padding-top:4px;
}

.msm-widget-block-images a:nth-child(even) img {
    margin-left: .1%;
}

.main-content .msm-widget-block-images a:nth-child(even) img {
    margin-left: 0%;
}

/* AJAX loader style for widgets */
.msm-ajax-widget {
    display: block;
    width: 100%;
    height: 128px;
    background-image: url('../img/loading.gif');
    background-repeat: no-repeat;
    background-position: center center;
    background-color: transparent;
    filter: alpha(opacity=30);
    -khtml-opacity: 0.3;
    -moz-opacity: 0.3;
    opacity: 0.3;
}

/*********************************************
 * Widget Widgets
 *********************************************/
#widgets-container .msm-widget .msm-widget-content {
    font-size: 0.9em;
}

#widgets-container .msm-widget .msm-iframe-wrapper {
    padding-bottom: 75%;
}

/*********************************************
 * Sidebar Widgets
 *********************************************/
#msm-sidebar-widgets .msm-widget {
    font-size: 0.9em;
    margin-bottom: 30px;
}

#msm-sidebar-widgets .msm-widget .msm-widget-title {
    border-bottom: 1px solid #bdbec0;
}

/*********************************************
* Content
*********************************************/

/* Wordpress related links */
.related-links {
    margin: 20px 0;
    background-color: #bdbec0;
    padding-bottom: 8px;
}

.related-links h6:first-child {
    background-color: #0e62ae;
    color: white;
    padding: 8px;
    font-weight: 600;
    letter-spacing: 1px;

}

.related-links p {
    color: black;
    text-decoration: none;
    padding: 0 8px;
}

.related-links a:hover {
    color:black;
    text-decoration: underline;
}

/* MSM Employee Profile */
.msm-profile-caption {
    min-height: 38px;
}

.msm-profile img {
    border: none;
    width: 100%;
}

.msm-profile:hover img {
    outline: #002e5d solid 5px;
    border-radius: 0;
}

.msm-profile-popup {
    max-width: 1920px;
}

.msm-profile-popup .quote {
    font-style: italic;
    line-height: normal;
    white-space: normal;
    font-size: 1.5em;
}

.msm-profile-popup .quote:before, .msm-profile-popup .quote:after {
    content: '"';
}

.msm-profile-popup hr {
    border-top: 1px solid #002e5d;
}

/**********************
 * 404 search bar
 **********************/
#search-form2 {
    margin: 40px 0;
    position: relative;
}

#search-field2 {
    padding: 15px 45px 15px 7px;
    width: 100%;
    max-width: 550px;
    border: 1px solid #0e62ae;
    float: left;
}

#search-404 {
    margin-top: 10px;
    margin-left: -40px;
    width: 30px;
    height: 30px;
    border-style: none;
    background-image: url('../img/search-blue.svg');
    background-color: white;
    background-repeat: no-repeat;
}

/*custom class for brand site images with transparent background*/
.msb-img-background-color {
    background-color: #002d5d;
}

/*********************************************
*Media Queries
*********************************************/

/* Tablets */
@media only screen and (min-width: 768px), print {
    .msb-block-image.left {
        display: block;
        float: left;
        margin-right: 1.5em;
    }

    .msb-block-image.right {
        display: block;
        float: right;
        margin-left: 1.5em;
    }

    .msb-block-image.left-no-wrap {
        justify-content: flex-start;
    }

    .msb-block-image.right-no-wrap {
        justify-content: flex-end;
    }

    figure.size-msm_thumb {
        width: 157.5px;
    }

    figure.size-msm_small {
        width: 220px;
    }

    figure.size-msm_medium {
        width: 345px;
    }

    figure.size-msm_large {
        width: 720px;
    }

    .main-content figure[style*="240px"] {
        width: 157.5px !important;
    }

    .main-content figure[style*="320px"] {
        width: 220px !important;
    }

    .main-content figure[style*="480px"] {
        width: 345px !important;
    }

    .main-content figure[style*="960px"] {
        width: 720px !important;
    }

    /* Wordpress styles to align images */
    .main-content .alignleft {
        float: left;
        margin-left: 0;
        margin-right: 30px;
    }

    .main-content .alignright {
        float: right;
        margin-right: 0;
        margin-left: 30px;
    }

    /*.widget-wrapper {*/
    /*    !*border-right: 1px solid #888;*!*/
    /*    border-bottom: none;*/
    /*    height: 350px;*/
    /*    overflow: hidden;*/
    /*}*/

    .widget-wrapper:last-child {
        display: none;
    }

    .widget-wrapper:nth-last-child(2) {
        /*border-right: none;*/
    }

    /* unhide widget sub-items */
    #widgets-container .msm-widget .msm-hide-mobile {
        display: block;
    }

    /* Hide third story */
    #stories-wrapper > .widget-area:last-child {
        display: none;
    }

    #stories-wrapper .story-wrapper {
        border-bottom: none;
    }

    #widgets-container .widget-wrapper {
        border-bottom: none;
        height: 350px;
        overflow: hidden;
        padding-top: 0;
        padding-bottom: 0;
    }

    /* https://codepen.io/stephenpaton-tech/full/JjRvGmY */
    /* ===== Scrollbar CSS ===== */
    /* Firefox */
    /*#widgets-container .widget-wrapper {*/
    /*    scrollbar-width: thin;*/
    /*    scrollbar-color: #656565 #cbcbcc;*/
    /*    overflow-y: auto;*/
    /*}*/

    /*!* Chrome, Edge, and Safari *!*/
    /*#widgets-container .widget-wrapper::-webkit-scrollbar {*/
    /*    width: 4px;*/
    /*}*/

    /*#widgets-container .widget-wrapper::-webkit-scrollbar-track {*/
    /*    border: 1px solid #e5e5e6;*/
    /*    background: #cbcbcc;*/
    /*}*/

    /*#widgets-container .widget-wrapper::-webkit-scrollbar-thumb {*/
    /*    background-color: #656565;*/
    /*    border-radius: 10px;*/
    /*    border: 0 solid #e5e5e6;*/
    /*}*/

    /*!* MSM Scrollbar Styles *!*/
    .widget-wrapper .mCS-dark .mCSB_scrollTools .mCSB_draggerContainer {
        display: block;
    }

    /*.widget-wrapper:nth-last-child(2) .mCS-dark .mCSB_scrollTools .mCSB_draggerContainer {*/
    /*    display: none;*/
    /*}*/

    /*.widget-wrapper:last-child .mCS-dark .mCSB_scrollTools .mCSB_draggerContainer {*/
    /*    display: none;*/
    /*}*/
}

/* Desktops */
@media only screen and (min-width: 992px) {
    figure.size-msm_thumb {
        width: 189.375px;
    }

    figure.size-msm_small {
        width: 262.484px;
    }

    figure.size-msm_medium {
        width: 408.75px;
    }

    figure.size-msm_large {
        width: 847.5px;
    }

    .main-content figure[style*="240px"] {
        width: 189.375px !important;
    }

    .main-content figure[style*="320px"] {
        width: 262.484px !important;
    }

    .main-content figure[style*="480px"] {
        width: 408.75px !important;
    }

    .main-content figure[style*="960px"] {
        width: 847.5px !important;
    }

    .widget-wrapper:last-child {
        display: block;
        /*border-right: none;*/
    }

    /*.widget-wrapper:nth-last-child(2) {*/
    /*    !*border-right: 1px solid #888;*!*/
    /*}*/

    /*!* MSM Scrollbar Styles *!*/
    /*.widget-wrapper:nth-last-child(2) .mCS-dark .mCSB_scrollTools .mCSB_draggerContainer {*/
    /*    display: block;*/
    /*}*/

    /* Show third story */
    #stories-wrapper > .widget-area:last-child {
        display: block;
    }
}

/* Large Desktops */
@media only screen and (min-width: 1200px) {
    /* Constrain on new Bootstrap to match old */
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1164px;
    }

    #shlider-front-wrapper, #banner-front-wrapper {
        max-width: 1140px;
    }

    .msm-widget-block-images a:nth-child(even) img {
        margin-left: .5%;

    }
}
