/****************************
*
*       CORE
*
*/

.clearfix {
    claer: both;
    width: 100%;
}


.border-bottom {
    position: relative;
    float: left;
    border-bottom: 1px solid #8e8e8e;
    width: 100%;
    margin-bottom: 25px;
}
.border-bottom h2 {
    font-weight: 700;
    float: left;
    margin: 0;
    line-height: 1.8;
}
.border-bottom h2:after {
    content: "";
    position: relative;
    float: left;
    background-color: #EC7404;
    width: 100%;
    height: 4px;
}

/****************************
*
*       HEADER
*
*/
header.site-header {
    position: inherit;
    z-index: 9999;
    padding: 50px 0 0;
    border-bottom: 1px solid #8e8e8e;
    max-width: 1140px;
    margin: 0 auto;
}
header .header-inner, header .nav-primary-wrapper {
    margin-top: 0;
    max-width: 1140px;
    clear: both;
    margin: 0 auto;
    padding: 0 0 25px 0;
}

.header .logo {
    float: left;
    border-right: 1px solid #000;
}
.header .title {
    float: left;
    font-size: 25px;
    line-height: 30px;
    padding: 22px 0 0 20px;
	max-width: 50%;
}
.header .title a {
    color: #333;
}
.header .simple-social-icons {
    float: right;
}
.dashicons-home {
    float: left;
    margin-top: 27px;
    margin-left: 25px;
    color: #000;
}

.dashicons-home span {
    display: none;
}
.dashicons-home::before {
    content: "\f102";
    font-size: 25px;
}
.header .logo-41 {
    float: left;
}
.header .logo-41 img {
    max-width: 350px;
    height: auto;
}

/****************************
*
*       START - TEASER / NEU
*
*/

.page-template-page_landingextended .content {
    width: 100%;
}
.page-template-page_landingextended .wp-block-image {
    position: relative;
}
.page-template-page_landingextended .wp-block-image figcaption {
    background: #e2001a;
    color: #fff;
    display: inline-block;
    padding: 15px 50px;
    font-size: 20px;
    position: absolute;
    bottom: 25px;
    max-width: 40%;
    font-weight: 600;
    left: 0;
}
.ts-start {
    display: flex;
	flex-wrap: wrap;
    margin-bottom: 40px;
}
.ts-start > div {
    flex-basis: calc(50% - 15px);
}
.ts-start > div:nth-of-type(1) {
    margin-right: 15px;
}
.ts-start > div:nth-of-type(2) {
    margin-left: 15px;
}
.ts-teaser {
    -webkit-box-shadow: 0px 0px 17px 1px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 17px 1px rgba(0,0,0,0.1);
}
.ts-start h2 {
    color: #e2001a;
    font-weight: 600;
}
.ts-start .button {
    background-color: #e2001a;
    padding: 10px 20px;
}
.ts-start .button:hover {
    background-color: #666;
}
.ts-inside {
    padding: 30px;
}
.ts-teaser ul {
    font-size: 16px;
    padding: 0 20px 20px 20px;
}
.ts-teaser ul li {
    list-style: disc;
}

/****************************
*
*       NEWS LIST
*
*/

.page-template-page_news .content {
    width: 100%;
}
.news-list {
    display: flex;
	flex-wrap: wrap;
    margin-bottom: 15px;
}
.el-news {
    margin: 15px;
    -webkit-box-shadow: 0px 0px 17px 1px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 17px 1px rgba(0,0,0,0.1);
}
.news-list > div {
    flex-basis: calc(33% - 17px);
}
.news-list > div:nth-of-type(1) {
    margin-left: 0;
}
.news-list > div:nth-of-type(3) {
    margin-right: 0;
}
.news-list .news-text {
    padding: 20px 20px 0 20px;
    font-size: 16px;
}
.news-list .news-text .button {
    background-color: #e2001a;
    padding: 5px 20px;
    margin-bottom: 20px;
}
.news-list .news-text .button:hover {
    background-color: #666;
}


/****************************
*
*       AWO-NEWS START
*
*/

.awonews-start {
    -webkit-box-shadow: 0px 0px 17px 1px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 17px 1px rgba(0,0,0,0.1);
    padding: 0 50px 25px 50px;
}
.awonews-start .date {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}
.awonews-start h3 {
    margin-bottom: 10px;
}
.awonews-start .news-text {
    margin-bottom: 10px;
}
.awonews-start .news-link {
    margin-bottom: 10px;
}
.awonews-start hr {
    margin: 15px 0;
}

/****************************
*
*       NEWS SIDEBAR
*
*/

.widget_ts_custom_widget h3 {
    font-weight: 600;
    margin-bottom: 5px;
}
.widget_ts_custom_widget h3 a {
    color: #000;
}
.widget_ts_custom_widget .news-text {
    margin-bottom: 5px;
}
.widget_ts_custom_widget .news-link {
    font-weight: 600;
    margin-bottom: 10px;
}
.widget_ts_custom_widget hr {
    margin: 0;
    padding-bottom: 10px;
}

/****************************
*
*       CONTENT
*
*/
.site-inner {
    margin-top: 30px;
}
.page-template-page_landing .site-inner {
    margin-top: 20px;
}
.entry-content ul.wp-block-gallery {
	margin-left: 0;
}

/****************************
*
*       FOOTER
*
*/

.footer {
    border-top: 1px solid #8e8e8e;
    padding-bottom: 30px;
}
.footer.site-inner {
    padding-top: 30px;
}
.footer-left {
    float: left;
    width: 50%;
}
.footer-right {
    float: left;
    width: 50%;
}
.footer .logo {
    float: left;
    border-right: 1px solid #000;
    margin-left: -50px;
}
.footer .logo img {
    width: 75%;
    float: right;
}

.footer .title {
    float: left;
    font-size: 20px;
    line-height: 25px;
    padding: 15px 0 0 20px;
}
.footer .title a {
    color: #333;
}


/****************************
*
*       NAVIGATION
*
*/

/* -- mainmenu -- */

.homelink {
    display: inline-block;
    float: left;
}


header .nav-primary {
    float: left;
    padding-left: 25px;
}

.sub-menu {
    /*margin-top: 1px !important;*/
    border-top: 0;
}
.sub-menu .sub-menu {
    margin: -50px 0 0 299px !important;
}
.menu-primary.genesis-nav-menu a {
    font-size: 21px;
    font-weight: 600;
}

.menu-primary.genesis-nav-menu .sub-menu a {
    font-size: 18px;
    font-weight: 100;
    min-width: 300px;
}
.menu-primary.genesis-nav-menu > li > a::after {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-right: 1px solid #8e8e8e;
    display: inline-block;
    position: absolute;
    content: " ";
}
.menu-primary.genesis-nav-menu > li:last-of-type > a::after {
    display: none;
}

/* -- topmenu -- */

.topmenu {
    padding-top: 6px;
}

.menu-topmenu-container {
    float: right;
}
.menu-topmenu-container ul li {
    float: left;
}
.menu-topmenu-container ul li a {
    color: #000;
    font-size: 16px;
    padding: 0 10px;
}
/* -- footer -- */

.footer-right .menu li {
    float: left;
}
.footer-right .menu li a {
    color: #000;
    font-size: 14px;
    padding-right: 5px;
}
.footer-right .menu li a:before {
    content: "»";
    display: inline-block;
    padding: 0 5px;
}

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

@media only screen and (min-width: 960px) {


    .header-inner {
        margin-top: 70px;
        max-width: 1140px;
    }
	

}

@media only screen and (max-width: 960px) {
	.news-list > div {
		flex-basis: calc(50% - 15px);
	}
	.news-list > div:nth-of-type(2) {
    	margin-right: 0;
	}
	.news-list > div:nth-of-type(3) {
    	margin-left: 0;
	}
}


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

@media only screen and (max-width: 756px) {

	.ts-start > div {
    	flex-basis: 100%;
		margin: 15px 0 !important;
	}
	.news-list > div {
		flex-basis: 100%;
		margin: 15px 0 !important;
	}
    .teaser-left {
        width: 100%;
        height: auto;
        padding-top: 30px;
        padding-bottom: 10px;
    }
    .teaser-right {
        width: 100%;
        padding-left: 0;
        padding-top: 30px;
    }
    .teaserlist li a {
        padding-right: 65px;
    }
	.header .title {
		max-width: inherit;
	}

}