__html {font-size: 14px}

/* theme class changes */

/* hide titel on top of navigation menu */
.menu__label {display: none}
/* smaller headlines */
.single__contents > h1 {font-size: 2.2rem; font-weight: bold;}
.single__contents > h2 {font-size: 1.6rem; margin: 2.4rem 0 1.3rem; font-weight: normal;}
.single__contents > h3 {font-size: 1.2rem; margin: 2.0rem 0 1.25rem;}
.single__contents > h4 {font-size: 1rem;}
.single__contents > h5 {font-size: 1rem;}
.single__contents > h6 {font-size: 1rem;}
.single__contents ul  {margin-right: 1rem;}

/* own additional classes */
.theme__light .tbl-tr-color-1 {
    background-color: #84d4e5;
}
.theme__dark .tbl-tr-color-1 {
    background-color: #325157;
}
.theme__light .tbl-tr-color-2 {
    background-color: #84c578;
}
.theme__dark .tbl-tr-color-2 {
    background-color: #395434;
}
.theme__light .tbl-tr-color-3 {
    background-color: #d58181;
}
.theme__dark .tbl-tr-color-3 {
    background-color: #503232;
}

/* trying to visualize the hierarchical structure of parents having children  */
#TableOfContents > ul > li > a {
    font-weight: bold;
}
#TableOfContents > ul > li {
    padding-top: 0.7rem;
}

code {
    padding: 2px 4px;
    color: #d14 !important;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    /*white-space: nowrap;*/
    border-radius: 3px;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
}
.code {
    padding: 2px 4px;
    color: #d14 !important;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    /*white-space: nowrap;*/
    border-radius: 3px;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
}
/* special layout for code in TOC list; we like to keep the color */
li .code {
    padding: 0;
    color: #d14 !important;
    background-color: #f7f7f9;
    border: none;
    white-space: inherit;
    border-radius: 0;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
}

iframe {
    border: 0px;
}

.thumbnail.row img {
	max-width: 100%;
}

.modal-body img {
	max-width: 100%;
}

.hide {
	display: none;
}

img.bottom-txt {
    margin-bottom: 20px;
}

img.modal-align-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* modal window */
.thumbnail.row, .linkbutton.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.thumbnail.row .col-4, .linkbutton.row .col-4 {
    flex: 33%;
    padding: 10px;
}

.linkbutton.row .col-4 {
	 display:inline-block;
	 *display:inline;
	 *zoom:1;
	 color:#333;
    flex: 30%;
    margin: 10px;
	text-align: center;
	background-color:#6f7df2;
}

.linkbutton.row .col-4 a {
	color: #fcfcfa;
}

.linkbutton.row .col-4 a:hover, .linkbutton.row .col-4 a:focus, .linkbutton.row .col-4 a:active {
	 text-decoration:none;
	  color:#333;
	  outline:0;
}

.modali {
 position:fixed;
 top:10%;
 left:50%;
 z-index:1050;
 width:560px;
 margin-left:-280px;
 background-color:#fff;
 border:1px solid #999;
 border:1px solid rgba(0,0,0,0.3);
 *border:1px solid #999;
 -webkit-border-radius:6px;
 -moz-border-radius:6px;
 border-radius:6px;
 -webkit-box-shadow:0 3px 7px rgba(0,0,0,0.3);
 -moz-box-shadow:0 3px 7px rgba(0,0,0,0.3);
 box-shadow:0 3px 7px rgba(0,0,0,0.3);
 -webkit-background-clip:padding-box;
 -moz-background-clip:padding-box;
 background-clip:padding-box;
 outline:0
}
.modali.active {
	display: block;
}
.modali.fade {
 -webkit-transition:opacity .3s linear,top .3s ease-out;
 -moz-transition:opacity .3s linear,top .3s ease-out;
 -o-transition:opacity .3s linear,top .3s ease-out;
 transition:opacity .3s linear,top .3s ease-out;
}
.modali.fade.in {
 top:10%
}
.modal-header {
 padding:9px 15px;
 border-bottom:1px solid #eee
}
.modal-header .close {
 margin-top:2px
}
.modal-header h3 {
 margin:0;
 line-height:30px
}
.modal-body {
 width:98%;
 position:relative;
 overflow-y:auto;
 /*max-height:400px;*/
 padding:1%
}
.modal-body iframe {
 width:100%;
 max-height:none;
 border:0 !important
}
.modal-form {
 margin-bottom:0
}
.modal-footer {
 padding:14px 15px 15px;
 margin-bottom:0;
 text-align:right;
 background-color:#f5f5f5;
 border-top:1px solid #ddd;
 -webkit-border-radius:0 0 6px 6px;
 -moz-border-radius:0 0 6px 6px;
 border-radius:0 0 6px 6px;
 -webkit-box-shadow:inset 0 1px 0 #fff;
 -moz-box-shadow:inset 0 1px 0 #fff;
 box-shadow:inset 0 1px 0 #fff;
 *zoom:1
}
.modal-footer:before,
.modal-footer:after {
 display:table;
 content:"";
 line-height:0
}
.modal-footer:after {
 clear:both
}
.modal-footer .btn+.btn {
 margin-left:5px;
 margin-bottom:0
}
.modal-footer .btn-group .btn+.btn {
 margin-left:-1px
}
.modal-footer .btn-block+.btn-block {
 margin-left:0
}

.lang__dropdown--item.active {
    pointer-events: none;
}

@media(max-width: 769px) {
    .thumbnail.row .col-4,
	.linkbutton.row .col-4	{
        flex: 100%;
    }
	/*.modali.active {
		display: none;
	}*/
	.modal-body {
	 width:90%;
	 position:relative;
	 overflow-y:auto;
	 max-height:400px;
	 padding:1%
	}
}