/* Header used on templates for module news*/
.news-sub-hero h1{
    word-break: break-word;
    hyphens: auto;
    word-wrap: break-word;
    text-shadow: var( --subHeroTextShadow );
}

.news-sub-hero h4{
    word-break: break-word;
    hyphens: auto;
    word-wrap: break-word;
    text-shadow: var( --subHeroTextShadow );
}

.news-sub-hero .btn {
    border: 2px solid var( --subHeroButtonBorderColor );
    background-color: var( --subHeroButtonBackgroundColor );
    color: var( --subHeroButtonTextColor );
    margin-top: 20px;
}

.news-sub-hero .btn:hover{
    background-color: var( --subHeroButtonBackgroundColorHover );
    opacity: 1;
}

.news-sub-hero.introsmall {
    background-color: var( --subHeroTypeSmallBackgroundColor );
}

@media (max-width: 894px) {
    .news-sub-hero.introsmall .intro-body {
        padding: 20px 0 20px !important;
    }
}

.news-sub-hero.introsmall .intro-body  h1{
    text-shadow: var( --subHeroTypeSmallTextShadow );
}

.news-sub-hero.introsmall .intro-body  h4{
    text-shadow: var( --subHeroTypeSmallTextShadow );
}

.news-sub-hero.introsmall .intro-body .btn {
    border: 2px solid var( --subHeroTypeSmallButtonBorderColor );
    background-color: var( --subHeroTypeSmallButtonBackgroundColor );
    color: var( --subHeroTypeSmallButtonTextColor );
}

.news-sub-hero.introsmall .intro-body .btn:hover{
    background-color: var( --subHeroTypeSmallButtonBackgroundColorHover );
}


/* News */
#news div[class*="col-"] {
    margin-top: 0px;
}

#news div[class*="col-"]:nth-child(n+3) {
    margin-top: 60px;
}

@media (max-width: 767px) {
    #news div[class*="col-"] {
        margin-top: 60px;
    }

    #news div[class*="col-"]:first-child {
        margin-top: 0px;
    }
}

#news .img-container {
    position: relative;
    height: 0;
    padding-bottom: 56.11%;
}

#news .img-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
  
#news h5 {
    margin-top: 15px;
    margin-bottom: 0px;
}
    
/*#news .grid-pad img {
    margin-bottom: 20px;
}*/

#news .news-btn {
    margin-top: 35px;
}

/*#news .row:not(:first-child) {
    padding-top: 40px;
}*/


/* News section */
#news-section div[class*="col-"] {
    margin-top: 0px;
}

#news-section div[class*="col-"]:nth-child(n+4) {
    margin-top: 60px;
}

@media (max-width: 767px) {
    #news-section div[class*="col-"] {
        margin-top: 60px;
    }

    #news-section div[class*="col-"]:first-child {
        margin-top: 0px;
    }
}

#news-section .img-container {
    position: relative;
    height: 0;
    padding-bottom: 56.11%;
}

#news-section .img-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
    
#news-section h5 {
    margin-top: 15px;
    margin-bottom: 0px;
}

#news-section .news-btn {
    margin-top: 35px;
}


/* News single */
#news-single .carousel {
    padding-bottom: 20px;
}

#news-single .news-img {
    margin-bottom: 20px;
}


/* News right colum */
#news-right-column p {
    margin-bottom: 0px;
}

#news-right-column h5 {
    padding-top: 0px;
    margin-bottom: 20px;
    margin-top: 2px;
}

#news-right-column .btn {
    margin-bottom: 40px;
}