/* ESS-DIVE 03/15/2022 */
.entry-content p, .content-sidebar-wrap p
{
    font-size: 18px;
}

#hs-ess-event-message-bar
{
    width:100%; 
    padding:10px; 
    text-align:center; 
    background-color: #0e75bbff; 
    color:white; 
    margin-top: 90px;
}

#hs-ess-event-message-bar a
{
    color:white !important; 
    text-decoration: underline !important;
}

#hs-ess-front-banner
{ 
	width: 100%;
	background-color: #c4cbd0;
	background-image: url('/wp-content/themes/ess-dive/images/banner-background.jpg');
	background-repeat: no-repeat;
    background-position: center; 
    background-size: cover;
    margin: 0px 0 40px 0; /*90px 0 40px 0; orginal without message bar 0px 0 40px 0; orginal without message bar*/
    height: 30vh;
    min-height: 320px;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.hs-ess-front-banner-btn
{
    background-color: #0e75bbff;
    padding: 10px;
    font-weight: bold;
    color: white;
    margin: 0 0px 0 0px;
    font-size: 1.5em;
    opacity: 0.8;
}

.hs-ess-front-banner-btn:hover
{ 
    color: white; 
    opacity: 1;
}

#hs-ess-front-banner #banner-text
{
    color:#0E75BB; 
    font-weight:bold; 
    width:60%; 
    text-align:center; 
    margin-bottom:20px;
}

#hs-ess-news-title
{
    padding: 0 40px 0 40px;
}

#hs-ess-news-container
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: hidden;
    height: 200px;
    padding: 0 40px 0 40px;
}

#hs-ess-news-container a
{
    width:310px; /*350px;*/
}

.hs-ess-news-item
{
    background: #ddd;
    width:100%;
    height: 200px;
}

.hs-ess-news-item .thumb
{
    width:100%;
    height: 200px;
    overflow: hidden;
}

.hs-ess-news-item img
{
    height: auto;
    width: 310px; /*350px;*/ 
}

.hs-ess-news-item .title
{
    background: rgba(8, 118, 186, 0.8);
    color:white;
    text-overflow: ellipsis;
    width: 100%; 
    overflow: hidden;
    white-space: nowrap;
    padding: 15px;
    position: relative;
    top: -56px;
    font-size: 18px;
}

.hs-ess-news-item .title:hover
{
    background: rgba(8, 118, 186, 0.95); 
}

.more-news-btn
{
    padding-top: 50px;
    width: auto !important;
    text-align: center; 
    color: rgba(8, 118, 186, 1);
}

.more-news-btn .dotdotdot
{
    font-size: 30px;
    font-weight: bold;
}

.hs-ess-home-flex-block
{
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
}

.hs-ess-home-flex-block.our-data-inner
{
    display: flex;
    flex-direction: row;
    justify-content: left; 
    flex: auto;
}

.hs-ess-home-flex-block.our-data-inner div
{
    width:200px;
    line-height: 0;
}

.hs-ess-home-flex-block.video div a img
{
    margin: 0 45px 0 45px;
}

.duo-block div
{
    width: 45%;
}

.site-inner
{
    padding-top: 0;
    background: #fff;
}

.entry-header
{
    display: none;
}

.entry
{
    border: 0;
    margin-bottom: 0;
}

.top-search-bar
{
    background-color: #fff; 
    height: 40px; 
    position: fixed;
    width: 100%;
}

.site-header
{
    /*top:80px;*/
}

.top-search-bar .search-form, #nav-data-portal-btn-container .search-form
{
    display: flex;
    justify-content: end;
    width:100%;
}

.top-search-bar .search-form-input, #nav-data-portal-btn-container .search-form-input
{
    width: 100px;
}

.top-search-bar .search-form:before, #nav-data-portal-btn-container .search-form:before
{
    position: absolute;
    top: 32px;
    right: 28px; 
    font: normal 20px/1 dashicons!important;
    content: "\f179";
    color: #0E75BB;
}

.top-search-bar .search-form-input, #nav-data-portal-btn-container .search-form-input
{  
    padding: 5px 15px; 
}

.top-search-bar .search-form-submit, #nav-data-portal-btn-container .search-form-submit
{ 
    background-color: #fff0;
    border: none;
    border-radius: 3px;
    color: #fff;
    cursor: pointer; 
    padding: 5px 15px;
    margin-right: 10px;
    width: auto;
    line-height: 0;
    z-index: 3;
    box-shadow: none;
}

#hs-ess-hr-tweets-container
{
    padding:0 40px 0 40px;
}


/* hide data portal button and home nav link in navagation*/
#nav-data-portal-btn, #menu-item-1505, #menu-item-1655
{
    /*display: none;*/
}
/*
.genesis-nav-menu .sub-menu{ 
    line-height: 2; 
    font-weight: normal;
}

.genesis-nav-menu .sub-menu a {
    background-color: #0876bb !important;
    border:0px;
    border-top: none; 
    color: #fff;
    font-size: 12px; 
    padding: 5px 10px;  
    position: relative;
    width: 225px;
}

.genesis-nav-menu .sub-menu a:hover {
    background-color: #04578a; 
    color:#fff;
}
*/

@media only screen and (max-width: 1160px){  
    
    #nav-data-portal-btn, #menu-item-1505, #menu-item-1655, #nav-data-portal-btn-container .search-form
    {
        display: none;
    }

    .entry-content
    {
        text-align: center;
    }

    #hs-ess-front-banner, #hs-ess-event-message-bar
    {
        margin-top: 0;
    }

    #hs-ess-front-banner #banner-text
    {
        font-size: 14px;
    }

    #hs-ess-news-title
    {
        padding: 0;
        text-align: center;
    }

    #hs-ess-news-container
    { 
        flex-direction: column; 
        height: auto; 
        padding: 0;
        align-items: center;
    }

    #hs-ess-news-container a
    {
        width: 100%;
    }

    .hs-ess-news-item
    {
        margin-bottom: 10px;
    }

    .hs-ess-news-item img {
        height: auto;
        width: 100%;
    }

    .entry
    {
        padding: 0;
        margin: 40px 0 40px 0;
    }

    .hs-ess-home-flex-block
    { 
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hs-ess-home-flex-block.our-data-inner { 
        justify-content: center; 
        margin-bottom: 10px;
    }

    .wrap-reverse
    {
        flex-wrap: wrap-reverse;
    }

    .wrap
    {
        flex-wrap: wrap;
    }

    .duo-block div
    {
        width: 100%;
    }

    .our-data div
    {
        /*
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        */
        text-align: center;
    }

    .our-data div img 
    {
        width:100%;
        /*width:100px;
        height: 67.5px;*/
    }

    .hs-ess-home-flex-block.video
    {
        display: flex;
        flex-direction: column;
        justify-content: space-between; 
        text-align: center;
    }

    .hs-ess-home-flex-block.video div
    {
        /*width:100% !important;*/
        margin-bottom: 20px;
    }

    .hs-ess-home-flex-block.video div a img
    {
        /*width:100% !important;*/
        max-width: 310px; 
        margin: 0;
    }

    .hs-ess-home-flex-block img
    { 
        width: 100%;  
    }

    .hs-ess-home-flex-block.our-data-inner div
    {
        width:auto;
    }

    #hs-ess-hr-tweets-container
    {
        padding:0;
    }

    #hs-ess-hr-tweets-container h2
    {
        text-align: center;
    }

    .hs-ess-get-involved-mid-block
    {
        flex: none !important;
    }
}


@media only screen and (max-width: 600px){  
    .hs-ess-home-flex-block.video div
    {
        width:100% !important; 
        margin-bottom: 20px;
    }

    .hs-ess-home-flex-block.video div a img
    {
        width:100% !important; 
    }
}
 
/*
@media only screen and (min-width: 1161px){  
    .sub-menu-last 
    {
        right: 100px;
    }
}
*/

