a.link, a.link:active, a.link:focus, a.link:hover, a.link:link, a.link:visited, li:hover {
    /* transition: all .15s ease-in; */
    transition: background-color 150ms ease, color 150ms ease;	
}

/**************
*   Colors    *
**************/

.bg{
    background: var(--bg);
}
.color{
    color:var(--color);
}
article a, 
article a:link, 
article a:visited,
article ul li::before,
footer a, 
footer a:link, 
footer a:visited,
footer ul li::before{
    color:var(--link);
}
.articlelist li:hover{
    background: var(--bg);
}
.articlelist a, 
.articlelist a:link, 
.articlelist a:visited,
.articlelist ul li::before{
    color:var(--color);
}
.articlelist ul li{
    border-bottom: 1px solid var(--bg);	
}
dl,
thead{
    border-bottom: 1px solid var(--bg);
    border-top: 1px solid var(--bg);
}
thead,
tr:nth-child(even),
ul.TOC{
    background: var(--bg);
}


/**************
*   Spaces    *
**************/

.ml-10{ margin-left: 10%; }
.ml-20{ margin-left: 20%; }
.ml-30{ margin-left: 30%; }
.ml-40{ margin-left: 40%; }
.ml-50{ margin-left: 50%; }
.ml-60{ margin-left: 60%; }
.ml-70{ margin-left: 70%; }
.ml-80{ margin-left: 80%; }
.ml-90{ margin-left: 90%; }


/*********************
*  Content Elements  *
*********************/

article a, article a:link, article a:visited{
    text-decoration: none;
}
article a:active, article a:focus, article a:hover{
    text-decoration: underline;
}
article ul, article p, article blockquote, article pre, article table, article dl, article img{
    margin: 1.7em 0;
}
article ul, article ol{
    padding-left: 15px;
}
article ul li{
    list-style: none;
}
article ul li::before {
    content: "•"; 
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    float:left;
}

blockquote{
    position: relative;
    font-family: times new roman,serif;
    font-size: 1.8em;
    font-style: italic;
    z-index: 2;
}
blockquote:before {
    content: '\201C';
    position: absolute;
    top: -0.25em;
    left: -0.25em;
    color: #ddd;
    font-size: 4em;
    z-index: -1;
    font-family: times new roman,serif;
    line-height: 1em;
}
.tm-table {
    overflow-x: auto;
}
table{
    width: 80%;
    border-collapse: collapse;
}
thead{
    font-weight: 700;
    text-align: left;
}
td,th{
    padding: 10px;
    border: 1px solid;
}
dl{
    padding: 0.5em 0;
    box-sizing: border-box;
}
dt,dd{
    width: 100%;
    margin: 0;
    padding: 3px 5px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
}
dt{
    font-weight: 700;
}
dt::after{
    content: ":";
}
dd{
    width: 80%
}

/************************
*  	TABLE OF CONTENTS 	*
************************/

ul.TOC,.TOC ul{
    list-style: none;
    padding-left: 0px;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}
.TOC li:before{
    content: "\2192";
    margin-left: -7px;
    margin-right: 7px;
}
.TOC li.h1:before{
    content: "";
}
ul.TOC{
    width: 100%;
    padding: 20px;
    box-sizing:border-box;
}
li.h1{
    font-weight: 700;
    height: auto;
}
li.h2, li.h3, li.h4, li.h5, li.h6
{
    font-weight: 400;
    padding-left: 25px;	
    height: auto;
}

/************************
*  		IMAGES  		*
************************/

img, figure,figure img{
    max-width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height);
}
figure {
    display: table;
    margin: 2em auto;
    padding: 0;
}
figure.right, figure.left {
    width: auto;
    float: none;
    margin: auto auto;
}
@media (min-width: 40em) {
    figure.right {
        width: auto;
        float: right;
        margin: 0 0 2em 2em;
    }
    figure.left {
        width: auto;
        float: left;
        margin: 0 2em 2em 0;
    }
}
figcaption {
    display: table-caption;
    caption-side: bottom;
    font-size: 0.8em;
    margin-top: .5em;
    line-height: 1.2em;
}
figure img {
    display: block;
    margin: auto;
}
img{
    max-width:100%;
}
img.left{
    margin: 0 1.7em 1.7em 0;
}
img.right{
    margin: 0 0 1.7em 1.7em;	
}
img.middle{
    margin: auto;
    display: block;
}

/*******************
* Headline anchors *
*******************/

/*fix headline anchor css*/
a.tm-heading-anchor {
    display:  inline-block;
    margin-left:  -0.8em;
    width: 0.8em;
    font-weight: 300;
    opacity: .5;
    text-decoration: none;
}
a.tm-heading-anchor:hover,a.tm-heading-anchor:focus {
    text-decoration: none;
}
h2:focus > .tm-heading-anchor, 
h2:hover > .tm-heading-anchor, 
h3:focus > .tm-heading-anchor, 
h3:hover > .tm-heading-anchor, 
h4:focus > .tm-heading-anchor, 
h4:hover > .tm-heading-anchor,
h5:focus > .tm-heading-anchor, 
h5:hover > .tm-heading-anchor,
h6:focus > .tm-heading-anchor, 
h6:hover > .tm-heading-anchor{
    opacity: 1;
    text-decoration: none;
}

/************************
*  	DOWNLOAD LINKS 		*
************************/

a.tm-download{}
a.tm-download::before{
    content: "\2193";
      -webkit-mask: url("data:image/svg+xml; utf8, <svg width='24' fill='currentColor' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M23 12c0-3.037-1.232-5.789-3.222-7.778s-4.741-3.222-7.778-3.222-5.789 1.232-7.778 3.222-3.222 4.741-3.222 7.778 1.232 5.789 3.222 7.778 4.741 3.222 7.778 3.222 5.789-1.232 7.778-3.222 3.222-4.741 3.222-7.778zM21 12c0 2.486-1.006 4.734-2.636 6.364s-3.878 2.636-6.364 2.636-4.734-1.006-6.364-2.636-2.636-3.878-2.636-6.364 1.006-4.734 2.636-6.364 3.878-2.636 6.364-2.636 4.734 1.006 6.364 2.636 2.636 3.878 2.636 6.364zM11 8v5.586l-2.293-2.293c-0.391-0.391-1.024-0.391-1.414 0s-0.391 1.024 0 1.414l4 4c0.092 0.092 0.202 0.166 0.324 0.217 0.245 0.101 0.521 0.101 0.766 0 0.118-0.049 0.228-0.121 0.324-0.217l4-4c0.391-0.391 0.391-1.024 0-1.414s-1.024-0.391-1.414 0l-2.293 2.293v-5.586c0-0.552-0.448-1-1-1s-1 0.448-1 1z'></path></svg>") no-repeat 50% 50%;
      mask: url("data:image/svg+xml; utf8, <svg width='24' fill='currentColor' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M23 12c0-3.037-1.232-5.789-3.222-7.778s-4.741-3.222-7.778-3.222-5.789 1.232-7.778 3.222-3.222 4.741-3.222 7.778 1.232 5.789 3.222 7.778 4.741 3.222 7.778 3.222 5.789-1.232 7.778-3.222 3.222-4.741 3.222-7.778zM21 12c0 2.486-1.006 4.734-2.636 6.364s-3.878 2.636-6.364 2.636-4.734-1.006-6.364-2.636-2.636-3.878-2.636-6.364 1.006-4.734 2.636-6.364 3.878-2.636 6.364-2.636 4.734 1.006 6.364 2.636 2.636 3.878 2.636 6.364zM11 8v5.586l-2.293-2.293c-0.391-0.391-1.024-0.391-1.414 0s-0.391 1.024 0 1.414l4 4c0.092 0.092 0.202 0.166 0.324 0.217 0.245 0.101 0.521 0.101 0.766 0 0.118-0.049 0.228-0.121 0.324-0.217l4-4c0.391-0.391 0.391-1.024 0-1.414s-1.024-0.391-1.414 0l-2.293 2.293v-5.586c0-0.552-0.448-1-1-1s-1 0.448-1 1z'></path></svg>") no-repeat 50% 50%;
      -webkit-mask-size: cover;
      mask-size: cover;
    background-color: currentColor;	
    display: inline-block;
    margin-right: 5px;
    width:  24px;
    height: 24px;
    text-decoration: none;
    vertical-align: middle;
}
a.tm-download:hover::before{
    text-decoration: none;
}


/************************
*  		NOTICE 			*
************************/

.notice1 {
    margin: 1em 0;
    padding: 10px 1em;
    background-color: #ffded4;
    border-left: 4px solid #f65a3c;    
}
.notice2 {
    margin: 1em 0;
    padding: 10px 1em;
    background-color: #fff3d4;
    border-left: 4px solid #f6b73c;    
}
.notice3,
.notice4,
.notice5,
.notice6 {
    margin: 1em 0;
    padding: 10px 1em;
    background-color: #d4e0ff;
    border-left: 4px solid #3c7bf6;	
}

/*******************
* youtube videos   *
*******************/

.video-container{
    position: relative;
    text-align: center;
}
img.youtube{
    position: relative;
    max-width: 560px;
}
button.play-video { 
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    height: 100px;
    width: 100px;
    background: #e0474c;
    color: #FFFFFF;
    border-radius: 50%;
    border: 0px;
    padding: 0;
    text-align: center;
}
button.play-video:hover {
    background: #cc4146;
    cursor: pointer;
}
button.play-video::after {
    position: absolute;
    top: 50%;
    margin: -20px 0 0 -15px;
    height: 0;
    width: 0;
    border-style: solid;
    border-width: 20px 0 20px 40px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.75);
    content: ' ';
}



/**************
* Contactform *
**************/

.tm-contactform form{
    width: 100%;
    border: none;
    margin: 20px 0 20px 0;
    padding: 0 0 0 0;
}
.tm-contactform fieldset{
    width: 100%;
    border: none;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}
.tm-contactform label{
    width: 100%;
    display: block;
    color: #555;
}
.tm-contactform input, .tm-contactform textarea{
    width: 100%;
    display: block;
    border: 1px solid rgba(229, 226, 211, 1);
    padding: 15px;
    margin: 0 0 20px 0;
    background: rgba(229, 226, 211, 1);
}
.tm-contactform input:focus, .tm-contactform  select:focus, .tm-contactform  textarea:focus{
    outline: none;
    border: 1px solid rgba(229, 226, 211, 1);
    box-shadow: 0 0 2px #000;
}
.tm-contactform input[type="submit"]{
    cursor: pointer;
    color: #fff;
    background: rgba(232, 99, 78, 1);
}
.tm-contactform input[type="submit"]:hover{
    background: rgba(232, 99, 78, 0.8);
}
.tm-contactform .personal-mail{
    height: 0px;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    border: none;
}

@media only screen and (min-width: 60em) {
    .close {
        display: block;
        max-height: none;
        overflow: visible;
    }	
    dd{
        width: 80%;
    }
    dt{
        width: 19%;
        text-align: right;
    }
    .ml-40-l{
        margin-left: 40%;
    }
}
