/*



*/

html { overflow-x: hidden; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 1 em;
    overflow-x: hidden;
}

p, span, a { color: #333; }
hr { 
    border-top-color: #CCC; 
    margin-top: 5px;
    margin-bottom: 5px;
}

.logo {width:150px; text-align: center;}
.form-control::-webkit-input-placeholder { color: #999; }  
.form-control:-ms-input-placeholder { color: #999; }  
.form-control::placeholder { color: #999; }


.tm-header {
    background-color: #e30513;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: 400px;
    overflow-y: visible;     
}

.tm-header-wrapper {
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 30px;
    width: 100%;
    height: 100%; 
}

.tm-header-wrapper::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.tm-site-header {
    margin-top: 0px;
    margin-bottom: 30px;
	text-align: center;
}

.tm-site-logo {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: white;    
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-site-logo i { color: #e30513; }

.tm-main {
    margin-left: 350px;
    padding: 20px 100px 25px;
}


.tm-post { max-width: 450px; }

.tm-row {
    max-width: 1540px;
 /*   justify-content: space-between;      letzter Artikel wird im blocksatz gestezt */
}

/* test   */

ul.bycategories {
margin: 0;
padding: 0;
}
ul.bycategories li {
display: inline;
list-style: none; 
list-style-type: none;
margin: 0; 
padding: 0;
}
ul.bycategories li a {
list-style: none; 
list-style-type: none;
margin: 0 20px 15px 0; 
float: left; 
background: #f5f1ee; 
color: #999; 
padding: 2px 10px;

}
ul.bycategories li a:hover{
text-decoration: none; 
background: #e30513; 
color: #fff;
}
.clear{clear: both;}

ul.bycategories li.current-cat a{
	background: #e30513; color: #fff;
}



ul.bypostes {
margin: 0;
padding: 0;
}
ul.bypostes li {
display: inline;
list-style: none; 
list-style-type: none;
margin: 0; 
padding: 0;
border-bottom: 1px solid #dddddc;
}
ul.bypostes li a {
list-style: none; 
list-style-type: none;
margin: 0 0 5px 10px; 
background: none; 
color: #ae0f09; 
padding: 0px 0px 0px 0px;
border-bottom: 1px solid #dddddc;
}
ul.bypostes li a:hover{
text-decoration: none; 
background: none; 
color: #e30513;
}

ul.byposts li.current-cat a{
	background: #e30513; color: #fff;
}

.bydate {content: "- ";color: #5f6267; font-size:12px; margin-left:5px;}


.bytax {
margin: 0;
padding: 0;
display: inline;
list-style: none; 
list-style-type: none;
margin: 0; 
padding: 0;
}
.bytax a {
list-style: none; 
list-style-type: none;
margin: 0 20px 15px 0; 
float: left; 
background: #f9f7f4; 
color: #0a8291; 
padding: 2px 10px;

}
.bytax a:hover, .bytax a:fokus, .bytax a:active{
text-decoration: none; 
background: #e30513; 
color: #fff;
}

.bytax a:fokus  {
	background: #e30513; color: #fff;
}


/*
Navigation NAV
*/
.color-new {clip-path: polygon(30% 1%, 100% 0, 100% 100%, 0% 100%);background:#0a8291;color:#fff; padding: 2px 5px 2px 15px;}
.nav { margin-bottom: 100px; margin-left: -30px;}

.nav ul { position: relative; }

.menu-nav ul { 
    margin: 0; 
    padding: 0;
}

.menu-nav li {
    list-style: none;
    margin-bottom: 30px;
	margin-top: 30px;
	padding: 20px 0 20px 0;
	display: block
}

.menu-nav li a {
    color: white;
    height: 75px;
    width: 100%;
    max-width: 300px;    
    align-items: center;
    font-size: 1.4rem;
    padding: 10px;
	border: 0px solid white; font-family: 'Source Sans Pro', sans-serif; font-weight: lighter;
	margin-left: 10px;
}

 .menu-nav li a:hover,
 .menu-nav li a:focus,
 .menu-nav li.active > a

 {
    color: #ffffff;
    text-decoration: none;
	border: 1px solid #ffffff;
}


.nav. .menu-nav :before {
	font-family: 'Source Sans Pro', sans-serif;
	display: inline-block;
    
}

/* Pagnation */



.pagenavi {
    margin: 0 0 20px 30px;
    padding: 5px 1px 5px;
    float:left;
    width: 98%;
	text-align:center;
}   

.pagenavi .dashicons {color: #a3a4a4; font-size:60px; text-align:center;}
.pagenavi .dashicons:hover {color: #e30513;}





/* Ende Navigation */

.tm-social-link {
    display: inline-block;
    background-color: white;    
    font-size: 1.4rem;
    width: 50px;
    height: 50px;
    text-align: center;
    padding-top: 8px; 
    margin-right: 15px;   
    margin-bottom: 15px;
}

.tm-social-icon { 
    color: #e30513;    
    transition: all 0.3s ease;
}

.tm-social-link:hover .tm-social-icon.fa-facebook { color: #3b5998; }
.tm-social-link:hover .tm-social-icon.fa-twitter { color: #00acee; }
.tm-social-link:hover .tm-social-icon.fa-instagram { color: #3f729b; }
.tm-social-link:hover .tm-social-icon.fa-linkedin { color: #0e76a8; }

.navbar-toggler { display: none; }

.tm-search-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.form-inline .form-control.tm-search-input {
    display: block;
    height: 60px;
    width: 480px;
    margin-right: 30px;
    border-radius: 0;
    border-color: #e30513;
    font-size: 1.2rem;
}

.tm-search-button {
    width: 60px;
    height: 60px;
    border: none;
    background-color: #e30513;
    transition: all 0.3s ease;
}

.tm-search-button:hover { background-color: #630b00; }

.tm-search-icon {
    color: white;
    font-size: 1.3rem;
}

.tm-post-link {
    display: block;
    position: relative;
	cursor: pointer;
}

.tm-post-link-inner {
    overflow: hidden;
    background: none;
}

.tm-post-link img {
    position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;

}

.effect-lily img {
	max-width: none;
	width: -webkit-calc(100% + 50px);
	width: calc(100% + 50px);

	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-40px,0, 0);
	transform: translate3d(-40px,0,0);
}

.effect-lily:hover img { opacity: 1; }

.effect-lily:hover img {
    -webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.tm-post { margin-bottom: 30px; }

.tm-new-badge {
    top: 25px;
    right: -10px;
    background-color: #e30513;
    color: white;
    padding: 5px 20px;
}

.tm-post-title {
    font-size: 1.7rem;
    transition: all 0.3s ease;
	color: #ae0f09;
}

.tm-h3 {
    font-size: 1.3rem;
    color: #999;
}

.tm-post-link:hover .tm-post-title { color: #e30513; }

.tm-btn {
    display: inline-block;
    border-radius: 5px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.tm-btn-primary {    
    background-color: #e30513;
    color: white;  
    padding: 8px 43px;
    border: none;
}

.tm-btn-small { padding: 8px 33px; }

.tm-btn-primary:hover {
    background-color: #630b00;
    color: white;
}

.tm-paging-nav ul li {
    list-style: none;
    display: inline-block;
    margin-right: 10px;
}

.tm-paging-nav ul li:last-child { margin-right: 0; }

.tm-paging-link {
    background-color: #F0F0F0;
    color: #999;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;    
}

.tm-paging-item .tm-paging-link:hover,
.tm-paging-item.active .tm-paging-link {
    background-color: #e30513;
    color: white;
}

.tm-btn.disabled {
    background-color: #F0F0F0;
    color: #999;
    cursor: not-allowed;
}

.tm-external-link { color: #e30513; }
.tm-external-link:hover { color: #630b00; }

.tm-paging-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.tm-prev-next-wrapper,
.tm-paging-wrapper {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

.tm-copyright { text-align: right; }





/* Single Post page */
hr.tm-hr-primary { border-top: 3px solid #e30513; }
hr.tm-hr-secondary { border-top: 2px solid #e30513; }
hr.tm-hr-grey { border-top: 1px solid #999; }

video {
    width: 100%;
    height: auto;
}

.tm-comment {
    display: flex;
    align-items: flex-start;
}

.tm-comment-figure {
    margin-top: 10px;
    margin-right: 30px;
}

.tm-comment-reply { padding-left: 37px; }

.form-control {
    height: 45px;
    border-color: #e30513;
    border-radius: 0;
}

.tm-comment-form { max-width: 360px; }
.tm-category-list { list-style-type: none; }
figure { margin: 0; }
figcaption { line-height: 1.4; }

.tm-post-full { max-width: 1200px; }

.tm-post-sidebar {
    max-width: 280px;
    margin-left: auto;
    margin-right: 0;
}

.tm-pt-5 { padding-top: 5px; }
.tm-pt-10 { padding-top: 10px; }
.tm-pt-20 { padding-top: 20px; }
.tm-pt-30 { padding-top: 30px; }
.tm-pt-45 { padding-top: 45px; }
.tm-pt-60 { padding-top: 60px; }
.tm-mb-40 { margin-bottom: 40px; }
.tm-mb-45 { margin-bottom: 45px; }
.tm-mb-55 { margin-bottom: 55px; }
.tm-mb-60 { margin-bottom: 60px; }
.tm-mb-65 { margin-bottom: 65px; }
.tm-mb-75 { margin-bottom: 75px; }
.tm-mb-80 { margin-bottom: 80px; }
.tm-mb-120 { margin-bottom: 120px; }
.tm-mt-40 { margin-top: 40px; }
.tm-mt-100 { margin-top: 100px; }
.tm-mr-20 { margin-right: 20px; }
.tm-color-primary, span.tm-color-primary { color: #ae0f09; }
span.tm-color-date { color: #999; }
a.tm-color-gray, .tm-color-gray { color: #999; }
a.tm-color-gray:hover { color: #099; }
.tm-bg-gray { background-color: #F3F4F5; }
button:focus { outline: none; }
a:hover { 
    text-decoration: none; 
    color: #e30513;
}

a:hover figcaption { color: #630b00; }
.img-thumbnail { max-width: none; }
.tm-about-pad { padding: 40px 35px; }
.tm-person { max-width: 430px; }
.tm-line-height-short { line-height: 1.8; }

.gmap_canvas {
    overflow:hidden;
    background:none!important;
    height:477px;
    width:100%;
}

.tm-social-links li { 
    list-style: none; 
    display: inline-block;
}

.tm-social-links li a {
    display: block;
    color: white;
    background-color: #e30513;
    width: 45px;
    height: 45px;    
    margin-right: 15px;    
}

.tm-social-links li a i { transition: all 0.3s ease; }
.tm-social-links li a:hover i.fa-facebook { color: #3b5998; }
.tm-social-links li a:hover i.fa-twitter { color: #00acee; }
.tm-social-links li a:hover i.fa-youtube { color: #c4302b; }
.tm-social-links li a:hover i.fa-instagram { color: #3f729b; }

.tm-contact-right { padding-left: 55px; }
.tm-contact-form { max-width: 488px; }

.tm-contact-form input,
.tm-contact-form textarea {
    max-width: 360px;
}

.tm-contact-form label { font-size: 1.4rem; }
.tm-contact-form .form-group { display: flex; }

/* wp styles */

.post-categories {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.post-categories li a {
  display: block;
  color: #ccc;
}

.post-categories li a:before { content: "/ "; }
.post-categories li a:hover {color:#e30513;}

.link-main {padding: 5px 50px 5px 0px;}
.link-main a {color: #a3a4a4;}
.link-main a:before { content: "/ "; color:#e30513;}
.link-main a:hover {color:#e30513;}

.link-bread {padding: 5px 50px 5px 0px;}
.link-bread a {color: #a3a4a4;}
.link-bread a:before { content: "/ ";}
.link-bread a:hover {color:#e30513;}

.link-post {padding: 0px;}
.link-post a {color: #a3a4a4;}
.link-post a:before { content: "/ ";}
.link-post a:hover {color:#e30513;}

.link-cat {margin-left:20px;}
.link-cat a {color: #5f6267; border: 1px solid #5f6267;padding: 5px 50px 5px 50px;}
.link-cat a:hover {color:#e30513; border: 1px solid #e30513}


span.link-front {float:none; padding-bottom: 20px;}
span.link-front a.link-front {color: #5f6267;}
span.link-front a:before { content: "/ "; color:#e30513;}
span.link-front a:hover {color:#e30513;}

.link-term {color: #0a8291;float:none; padding: 5px;}
.link-term a {color: #0a8291; padding: 5px ; }
.link-term a:hover {color:#e30513;}

/* Dokumente  */

.dokumente {background: #f5f1ee; padding:10px;}
.post-rahmen {background: #f9f7f4; padding:10px;}
.term-rahmen {background-color: rgba(249,247,244,0.4); padding:10px;}

/* buttons  */

p.tm-button {padding-top: 20px; font-size: 14px;text-align: left;}
.tm-button a {color:#999; background-color:#fff; padding:10px; border: 1px solid #999;}
.tm-button a:hover {color:#e30513; background-color:#fff; padding:10px; border: 1px solid #e30513;
	}

button:not(:disabled) {font-size: 14px; color:#999; background-color:#fff; padding:10px; border: 1px solid #999;border-radius:0px;}
.btn:hover {color:#e30513; background-color:#fff; border: 1px solid #e30513;}

.sub-link {padding-bottom: 20px}

hr .grey {color: #999;border-bottom: 1px solid #999;}

.links {left: 450px; position: absolute;}
.rechts {right: 10px; position: absolute;}

/* tabelle    */

tbody {border: 1px solid #dddddc;}
td {
  border: 0px solid #ddd;
  padding: 8px;
  height: 30.0pt;
  width: auto; max-width:400px;
}
tr {border: 0px solid #dddddc; height: 30.0pt;width: auto; max-width:400px;}
tr:nth-child(1){background-color: #5f6267;color:#ffffff;font-weight:bold; border: 1px solid #dddddc;}
tr:nth-child(even){background-color: #f9f7f4;}



/* media */


@media (max-width: 1540px) {
    .tm-header { width: 320px; }

    .tm-main {
        margin-left: 320px;
        width: calc(100% - 320px);
    }
}

@media (max-width: 1300px) {
    .tm-about-col {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 1288px) {
    .tm-social-link { margin-right: 10px; }
}

@media (max-width: 1199px) {
    .tm-post-sidebar { max-width: 440px; }
    .form-inline .form-control.tm-search-input { width: 420px; }
}

@media (max-width: 1086px) {
    .form-inline .form-control.tm-search-input {
        width: 80%;
        margin-right: 15px;
    }
}

/* Hide sidebar */
@media (max-width: 991px) {
    
	.tm-header {
        width: 320px;
        left: -320px;        
        transition: all 0.3s ease;
    }

    .tm-header.show { left: 0; }
    .tm-header-wrapper { padding: 15px; }

    .navbar-toggler {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        background-color: rgba(56, 204, 204, 0.75);
        color: white;
        padding: 10px 15px;
        transition: all 0.3s ease;
        border-radius: 0;
        top: 5px;
    }

    .tm-header.show .navbar-toggler { left: 320px; }

    .tm-main {
        margin-left: 0;
        padding: 50px 40px;
        width: 100%;
    }

    .tm-post-sidebar {
        margin-left: 0;
        margin-right: auto;
    }

    .tm-person-col { width: 50%; }
    .tm-person { flex-direction: row; }

    .tm-contact-left {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .tm-contact-right {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .tm-post-full { max-width: none; }
}

@media (max-width: 767px) {
	
    .form-inline .form-control.tm-search-input {
        width: 70%;
        max-width: 375px;
        margin-right: 15px;
    }

    .tm-search-form { justify-content: flex-start; }
    .tm-main { padding: 60px 10px; }

    .tm-prev-next-wrapper,
    .tm-paging-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tm-paging-wrapper { 
        margin-top: 50px; 
        justify-content: flex-start;
    }

    .tm-copyright { text-align: left; }
}

@media (max-width: 1199px) and (min-width: 992px) {
    
	.tm-person-col,
    .tm-contact-left,
    .tm-contact-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tm-contact-right { padding-left: 15px; }

    .tm-post-col,
    .tm-aside-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tm-post-sidebar {
        margin-left: 0;
        margin-right: auto;
    }
}

@media (max-width: 709px) {
    .tm-person-col { width: 100%; }
}

@media (max-width: 991px) and (min-width: 826px) {
    
	.tm-about-col {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    .tm-person { flex-direction: row; }
}

@media (max-width: 630px) {
    .tm-contact-left,
    .tm-contact-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .tm-contact-right { padding-left: 15px; }
}

@media (max-width: 575px) {
    .tm-contact-form input, 
    .tm-contact-form textarea {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .tm-person-col { width: 100%; }
    .tm-person { flex-direction: row; }
}

@media (max-width: 380px) {
    .tm-person img { max-width: 120px; }
}


