/**
 * News Gallery
 */

.widget_news_gallery .row {
    margin-left: 0;
    margin-right: 0;
}

.sidebar-before-header .widget_news_gallery .widget,
.sidebar-after-header .widget_news_gallery .widget {
    padding: 0;
}
.widget_news_gallery .row > div {
    padding: 0;
}
.news-gallery-item-content > img {
    width: 100%;
}
.news-gallery-item .news-gallery-item-content {}
.news-gallery-item:last-child .news-gallery-item-content {
    margin-right: 0;
}
.news-gallery-item-content {}
.news-gallery-item-content:first-child {
    margin-top: 0;
}
.news-gallery-high {
    height: 245px;
}
.news-gallery-low {
    height: 81px;
}
.news-gallery-high,
.news-gallery-item {
    position: relative;
}

.news-gallery-item-content--table {
    text-align: center;
    display: table;
    height: 100%;
    width: 100%;
}
.news-gallery-item-content--cell {
    position: relative;
    display: table-cell;
    width: 100%;
    vertical-align: bottom;
    line-height: 0; /* need to remove unnecessary spaces inline-block's */
}
.news-gallery-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.news-gallery-item-meta {
    position: relative;
}
.news-gallery-item-content .overlay {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.news-gallery-item-content .overlay {background: rgba(41, 42, 46, 0.3); /* #292a2e */ }
.news-gallery-item-content:hover .overlay {background: rgba(41, 42, 46, 0.5);}
.news-gallery-item-content .overlay:before,
.news-gallery-item-content .overlay:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.news-gallery-item-content .overlay:before {}
.news-gallery-item-content .overlay:after {}

/* News Gallery -- Category */

.news-gallery-category {
    display: inline-block;
    margin-bottom: 10px;
}
.news-gallery-category a {
    display: inline-block;
    font-size: 10px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 0.99;
    margin: 0 5px 5px 0;
    color: #ffffff;
}
.news-gallery-category a,
.news-gallery-category a:focus,
.news-gallery-category a:active {
    color: #ffffff;
}
.news-gallery-category a:hover {
    color: #b0aead;
}

/* News Gallery -- Title */

.entry-content h2.news-gallery-title:not(.page-title),
.news-gallery-title {
    font-size: 24px;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    margin: 0;
    padding: 0 1.25em 1.25em 1.25em;
    color: #ffffff;
}
.entry-content .news-gallery-high h2.news-gallery-title:not(.page-title),
.news-gallery-high .news-gallery-title {
    font-size: 24px;
    font-size: 2.4rem;
    padding: 0 0.5833em 1.25em 0.5833em;
}
.entry-content .news-gallery-high h2.news-gallery-title:not(.page-title).with-post--meta,
.news-gallery-high .news-gallery-title.with-post--meta {
    padding: 0 0.5833em 0.5833em 0.5833em;
}

.entry-content h2.news-gallery-title:not(.page-title) a,
.news-gallery-title a {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}
.entry-content h2.news-gallery-title:not(.page-title) a,
.entry-content h2.news-gallery-title:not(.page-title) a:focus,
.entry-content h2.news-gallery-title:not(.page-title) a:active,
.news-gallery-title a,
.news-gallery-title a:focus,
.news-gallery-title a:active {
    color: #ffffff;
}
.entry-content h2.news-gallery-title:not(.page-title) a:hover,
.news-gallery-title a:hover {
    color: #b0aead;
}

/* News Gallery -- Layouts */

/* Layout 1 */

.big-image-1 .news-gallery-high {margin-top: 1px;}
.big-image-1 .news-gallery-item {margin-top: 1px; margin-left: 1px;}

/* Layout 2 */

.big-image-2 .news-gallery-item {margin-top: 1px; margin-right: 1px;}

/* Font family */

/* Animate/Transition */

.news-gallery-item-content .overlay,
.news-gallery-item-content:hover .overlay,
.transition--on {
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

/**
 * Responsive and widget placements
 */

/* Secondary left/right sidebar */

.secondary .big-image-1 > .col-md-6 {width: 100%;}
.secondary .big-image-1 > .col-md-6 + .col-md-6 {width: 100%;}
.secondary .big-image-1 .col-md-6.row-1 .row-3,
.secondary .big-image-1 .col-md-6.row-1 .row-6 {display: none;}

.secondary .big-image-2 > .col-md-6 {width: 100%;}
.secondary .big-image-2 > .col-md-2 {width: 33.33333333%;}
.secondary .big-image-2.row-6 {display: none;}
.secondary .big-image-2.row-12 .row-item-15,
.secondary .big-image-2.row-12 .row-item-16,
.secondary .big-image-2.row-12 .row-item-17 {display: none;}

/* Footer */

.footer .big-image-1 > .col-md-6 {width: 100%;}
.footer .big-image-1 > .col-md-6 + .col-md-6 {width: 100%;}
.footer .big-image-1 .col-md-6.row-1 .row-3,
.footer .big-image-1 .col-md-6.row-1 .row-6 {display: none;}

@media (min-width: 768px) {
    .footer .big-image-2 > .col-md-6 {width: 100%;}
    .footer .big-image-2 > .col-md-2 {width: 33.33333333%;}
}
.footer .big-image-2 + .big-image-2 .row-9,
.footer .big-image-2 + .big-image-2 .row-12 {display: none;}
.footer .big-image-2.row-12 .row-item-15,
.footer .big-image-2.row-12 .row-item-16,
.footer .big-image-2.row-12 .row-item-17 {display: none;}
.footer .news-gallery-high h2.news-gallery-title:not(.page-title),
.footer .news-gallery-high .news-gallery-title {
    font-size: 24px;
    font-size: 2.4rem;
    padding: 0 0.3889em 0.8334em 0.3889em;
}