h1,
h2,
h3,
h4,
h5,
h6,
.display-text, 
.display-text--small, 
.display-text--medium, 
.display-text--large, 
.display-text--x-large {
    color: #081e3f;
}
@media (min-width: 1025px) {
    body > header.horizontal-logo .header-grid-logo img {
      max-width: 315px;
    }
}
/* Thumbnail Grids */
@media (min-width: 641px) {
    /* one item */
    ul.thumbnail-grid li:first-child:nth-last-child(1) {
        /* -or- li:only-child { */
        width: 50%;
    }

    /* two items */
    ul.thumbnail-grid li:first-child:nth-last-child(2),
    ul.thumbnail-grid li:first-child:nth-last-child(2) ~ li {
        width: 50%;
    }

    /* three items */
    ul.thumbnail-grid li:first-child:nth-last-child(3),
    ul.thumbnail-grid li:first-child:nth-last-child(3) ~ li {
        width: 33.3333%;
    }
    
    /* four items */
    ul.small-block-grid-1 li:first-child:nth-last-child(4),
    ul.small-block-grid-1 li:first-child:nth-last-child(4) ~ li,
    ul.thumbnail-grid li:first-child:nth-last-child(4),
    ul.thumbnail-grid li:first-child:nth-last-child(4) ~ li {
        margin-top: 0 !important;
        clear: none;
        width: 25%;
    }
    ul.small-block-grid-1 li:first-child:nth-last-child(4) a p.display-text--small,
    ul.small-block-grid-1 li:first-child:nth-last-child(4) ~ li a p.display-text--small {
        font-size: 1rem;    
    }
}
/* Content Blocks */
.content-block .small-12 > *:last-child {
    margin-bottom: 0 !important;
}
@media(max-width: 640px) {
    .content-block .columns + .columns {
        margin-top: 1rem;
    }
}
article[aria-label="Page intro"] + article .content-block.white:first-child {
    padding-top: 0;
}
article[aria-label="Page intro"] + article .content-block.white .energy-lines-corners {
    margin-top: 0;
}
.padded-block-wrapper .row {
    padding-left: .9375rem;
    padding-right: .9375rem;
}
.padded-block-wrapper .padded-block {
    border: 1px solid #dfe7eb;
}
/* Stats */
.content-block.stats {
    text-align: center;
}

/* CTAs */
.cta-section .button-wrapper,
.cta-section .button-wrapper + .button-wrapper,
.cta-section .button-wrapper + .button-wrapper.end {
  display: inline-block;
  float: none;
  width: auto;
  max-width: 100%;
}
@media (min-width: 641px) {
    .cta-section .button-wrapper {
        padding-bottom: 0.75rem;
    }
    .cta-section .button-wrapper:last-child {
        padding-bottom: 0;
    }
    
}
@media only screen and (min-width: 40.063em) { 
    .energized-image img {
        margin-top: 3.5rem;
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 567px) {
    .cta-section .energy-lines-corners {
        margin: 0;
        padding: 2.5rem;
    }
}

/* Blockquote Module */
.blockquote-container {
    padding: 2.5rem 0 !important;
}
/* Webforms */
#mf_iframe {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}
/* Stats Row */
.stats ul li p,
.stats ul li p span {
    line-height: 1.75;
}
.stats ul li p + p {
    font-weight: 500;
}
.content-block .stats {
    background-color: transparent;
    padding: 0;
}
.content-block .stats ul li {
    padding: 0;
}
.content-block .stats ul li p + p {
    color: #333;
}
.content-block .stats.text-left,
.content-block .stats.text-left p span::after {
    left: auto;
    transform: none;
}
/* News */
@media (max-width: 640px) {
    .content-block .text-right p:first-of-type > a {
        display: block;
        border: none;
        text-decoration: underline;
    }
    .news li img[src="stempel-news.jpeg"],
    .news li img[data-src="stempel-news.jpeg"] {
        display: none !important;
    }
}


.energized-underline {
    position: relative;
    transform: translateY(-5px);
    display: inline-block;   
}

.energized-underline:after {
    content: "";
    width: 100%;
    height: 0;
    border-bottom: 5px solid;
    position: absolute;
    background: none;
    border-image: linear-gradient(to bottom left, cyan, #fc0, cyan);
    border-image-slice: 1;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    left: 0;
    bottom: 5px;
    z-index: -1;
}

/* Blog */
#blogPost header figure img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto !important;
    max-width: 100%;
}

 .subscribe-module .cta-wrapper {
	 margin-top: 1.5rem;
}
 @media (min-width: 640px) {
	 .subscribe-module {
		 text-align: left;
	}
	 .subscribe-module {
		 display: -webkit-box;
		 display: -ms-flexbox;
		 display: flex;
		 -webkit-box-align: center;
		 -ms-flex-align: center;
		 align-items: center;
		 -webkit-box-pack: justify;
		 -ms-flex-pack: justify;
		 justify-content: space-between;
	}
	 .subscribe-module .cta-wrapper {
		 margin-top: 0;
	}
}


/* mega menu padding tweak */
body>header.mega-menu #nav .menu-item-wrapper .mm-group-links .mm-links>li {
    padding: 0 1rem .75rem 0 !important;
}

/* Sidebar menu */

.sidebar-menu .related-content  {
	padding:2rem
}

.sidebar-menu .related-content .display-text--small  {
	font-size: 1.25rem;
	line-height: 1.5;
}
.sidebar-menu .related-content ul {
    margin: 0;
    list-style: none;
}

.sidebar-menu .related-content ul li {
    border-bottom:solid 1px #081E3F36;
    padding:1rem 0;
}

.sidebar-menu .related-content ul li:last-child {
    border-bottom:none;
    padding-bottom:0

}

.sidebar-menu .related-content ul li a {
    text-decoration:none !important;
}

.sidebar-menu .related-content ul li a:hover,
.sidebar-menu .related-content ul li a:active,
.sidebar-menu .related-content ul li a:focus
{
    text-decoration:underline !important;
}