/*
// --------------------------------------
// Formatvorlagen für www.trianglesquares.de
// (c) 2008-2022 Thomas Omerzu, Dortmund
// --------------------------------------
*/
* {
    font-family:Arial,Univers,Helvetica,sans-serif;
    box-sizing:border-box;
    margin:0; padding:0;
}
html, body { 
    height:100.1vh;
    font-size:14px;
    font-weight:400;
    color: #000;
    text-align: left;
    text-rendering: optimizeLegibility;
    background: #933 url(/layout/tri-new-bg-rot.png) repeat-y top;
}    


tt, pre, blockquote, .tt {
/*
    font-family:'Lucida Console', monospace;
    */
    font-family: monospace;
}
#tri-main p {
	margin: 14px 0;
}
ul {
    padding:0 0 1em 2em;
    margin:1em 0;
}

h1 { 
    font-size:1.5em; color: #933; font-weight:bold;
    margin-bottom:0.5em;
}
h2 { 
    	font-size:1em; color:#933; font-weight:bold;
	margin:1em 0 0.75em 0;
        padding:0.5em 0;
        width:100%;
}
h3 { font-size:14px;
    color:#933; font-weight:bold;margin:5px 0;}
hr { border:0px;
     color:#933;background-color:#933;
     height:1px;
     margin:0.5em 0;
   }



/**********************
*   Header            *
***********************/

#tri-header {
        position:fixed;
        top:0; left:50%;
        z-index:10;
        width: 1060px;
        height: 72px;
        margin-left: -530px;
        background: #555;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        border-bottom:5px solid white;
        }


#tri-title {
    padding-top:1.5em;
}
#tri-titel a,
#tri-title a:link,
#tri-title a:visited,
#tri-title a:active {
	color: white;
	text-decoration: none;
	font-weight:bold;
	}
#tri-title a:hover {
	color: #e33;
}

#tri-title h1 {
    color:white; padding:0 1em; float:left;
    border:0;
}
#tri-logo  {
    float:right;
    margin:30px 0 0 10px;
    z-index:99;
    border-radius:100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border:5px solid white;
}
#tri-fahne  {
    float:right;
    width:28px; height:13px;
    margin:32px 14px 0 0;
    z-index:99;
}


/**********************
*   Navigation
***********************/

#tri-navbar {
    color:orange;
    right:0;
    margin:8px auto 0 30px; padding:0; 
    overflow:hidden;
}
nav > input {
    display: none;
}
nav > ul {
    padding: 0;
    margin: 0;
    list-style:none;
}

nav > ul > li {
    float: left;
    margin-right:1em;
    color:white;
    font-weight:bold;
    height:40px;
    font-size:12pt;
}
nav > ul > li > ul {
    display: none;
    list-style:none;
    border-top: 4px solid white;
    margin: 20px 0 0 0px;
    padding:0;
    z-index:99;
    box-shadow: rgba(0, 0, 0, 0.8) 5px 5px 5px 0px;
    min-width:100px;
}

nav > ul a {
  display: block;
  white-space: nowrap;
  color: #fff;
  text-decoration:none;
  font-weight:bold;
  z-index:99;
}
nav ul > li > ul > li a {
  background: #555;
  color: white;
  text-align: left;
  font-weight:normal;
  padding:4px 8px;
  font-size:10pt;
  z-index:99;
}
label.drop-icon img {
    width:25px;
    height:13px;
    padding-left:5px;
}
/* Handy Nav-Menu-Elemente ausblenden */
nav > ul input, nav > ul label {
    display: none;
}
label.drop-icon::after {
      content:attr(name);
    }


@media all and (min-width: 800px) {

nav li[aria-current] {
    background-position:center 30px;
}
nav > ul > li > a:hover {
  color: #e33;
}
nav ul > li > ul > li a:hover {
  color: #e33;
}
nav > ul > li:hover > ul {
  display: block;
  position: absolute;
}

}

/**********************
*   Splash
***********************/
#tri-splash {
    position:relative;
    width:100%;
    height:200px;
    background: #933;
    overflow:hidden;
    display:block;
}
#tri-splash img {
    width:25%;
    height:100%;
    object-fit:cover;
    float:left;
}



/**********************
*   Content           *
***********************/
#tri-container {
        position:relative; /* für footer-pos erforderlich */
        width: 1060px;
        margin: 0 auto; /* zentriert */
        padding-top: 72px;
        background: #fff;
        /*height:auto;*/
        min-height:calc(100.1vh - 72px);  /* volle Hoehe - Header */
}

#tri-content {
    position:relative;
    width:100%;
    padding:0 0 20px 0;
    min-height:calc(100.1vh - 72px - 200px - 20px - 60px);  /* volle Hoehe - Header - Splash - Padding - Footer */
    /*
    min-height:calc(100.1vh - 72px - 340px - 20px - 60px);
  */  /* volle Hoehe - Header - Splash - Padding - Footer */
}



/**********************
*   Main area
***********************/

#tri-main {
        position:relative;
        background: #fff;
        margin:20px 30px 0 30px;
        padding:0;
        }

div.tri-row {
    padding:0;
    width:100%;
    display: flex;
    flex-wrap: wrap;
}

div.tri-row  > div.tri-col {
	max-width:50%;
	flex: 0 0 auto;
	padding: 0 15px 0 0;
    }

div.tri-row > div.tri-col3 {
	width: 33%;
}
div.tri-row > div.tri-col7 {
	max-width: 67%;
	width: 67%;
}
div.tri-row > div.tri-col2 {
	width: 50%;
}


/**********************
*   Bottom            *
***********************/

#tri-footer {
    	position:relative;
	width: 1060px;
	max-width:100%;
	height:60px;
	text-align: left;
	background-color: #555;
	font-size: 12px;
	color: #fff;
	margin:0;
	padding:0 0 10px 0;
}

#tri-footercontent {
    padding:10px 25px 0 25px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#tri-footercontent  > div.tri-footer-col {
	flex-basis: 33.33333333%;
	max-width: 33.33333333%;
	width: 33.33333333%;
	flex: 0 0 auto;
	padding: 0 5px;
    }

#tri-footer p {
	font-size: 12px;
	font-weight:normal;
	color: #fff;
	/*
	border: 1px solid yellow;
	*/
	}
#tri-footer a, #tri-footer a:visited {
	text-decoration:none;
	font-weight:normal;
	color: #fff;
	}
#tri-footer a:hover {
	text-decoration:none;
	font-weight:normal;
	color: #e33;
	}

div.tri-footer-col p {
    text-align: center;
}
div.tri-footer-col:first-child p {
    text-align: left;
}
div.tri-footer-col:last-child p {
    text-align: right;
}
.clear {
    float:none; clear:both;
    }
.clearright {
    float:none; clear:right;
    }
.clearleft {
    float:none; clear:left;
    }

/* Farbänderungen falls kein roter Rand sichtbar */
@media all and (max-width: 1059px) {
nav > ul > li > a:hover {
  color: red;
}
nav ul > li > ul > li a:hover {
  color: red;
}
#tri-header {
        background: #933;
    }
#tri-title a:hover {
	color: red;
}
nav ul > li > ul > li a {
  background: #555;
}
#tri-footer {
	background-color: #933;
    }

}

/*
 * -------------------------------------------------
 */

figure {
    display:table;
    margin:0.75em auto;
}

figure.full {
}
figure.full img {
    max-width:100%;
}
figure.right {
    float:right;
    max-width:50%;
}

figcaption {
    text-align:center;
    padding-top:5px;
    font-style:italic;
    color:#933;
    display:table-caption;
    caption-side:bottom;
}
figure.right img {
    padding-left:10px;
}
/* 3-er Bilderblock */
.galcont {
width:100%;
display:flex;
flex-direction:row;
}
.galcont2 {
display:flex;
flex-direction:column;
}
.galcont2i {
max-width:100%;
margin-left:15px;
}
div.galcont2 figure:last-child {
    margin-top: -3px;
}
div.galcont2 figure:last-child img {
    margin-top: 0;
}
.galcont2i img {
max-width:100%;
}

table.rot {
    font-size:14px;
    max-width:100%;
}
th, td {
    font-size:14px;
    padding:3px 2px;
    text-align:left; 
    vertical-align:top;
    color:black;
}
th {
    font-weight:bold;
}
table.rot td, table.rot th {
    vertical-align:middle;
    color:black;
}
th.rot, table.rot th { 
    background-color:#933; color:white; 
}
table.rot tr.rot1 td, td.rot1 { 
    background-color:#f0d5d5; 
}
table.rot tr.rot0 td, td.rot0 { 
    background-color:#e3acac; 
}
table.rot tr.weiss td, td.weiss { 
    background-color:white;
}
td.center, th.center {
    text-align:center;
}
dd {
    margin-left:40px;
}

p  { color:black;}
p.kleiner  { font-size:12px; margin:0; padding:0; }
td.ht { font-size:14px;
    color:black; padding-bottom:0px; vertical-align:top; }
td.hm { font-size:14px;
    color:black; padding-bottom:0px; vertical-align:middle; }
td.kleiner { font-family:Arial,Univers,Helvetica,sans-serif; font-size:12px;
    color:black; padding-bottom:2px; vertical-align:top; }
td.krot { 
    font-size:9px;
    color:#993333; padding-bottom:0px;}
table.rot tr.tr0, table.rot tr.rot {
    font-size:14px;
    background-color:#e3acac; 
    color:black; padding-bottom:6px; }
table.rot tr, table.rot tr.tr1, table.rot tr.rosa {
    font-size:14px;
    background-color:#f0d5d5; 
    color:black; padding-bottom:6px; }
table.rot tr.gruen {
    font-size:14px;
    background-color:#c0ffc0; 
    color:black; padding-bottom:6px; }
table.rot tr.lgruen {
    font-size:14px;
    background-color:#d7ffd7; 
}
table.rot tr.weiss {
    font-size:14px;
    background-color:#f0f0f0; 
}
table.rot tr.gelb {
    font-size:14px;
    background-color:#FFFFB7; 
    color:black; padding-bottom:6px; }
td.rotc0 { 
    font-size:14px;
    background-color:#e3acac; 
    text-align:center; vertical-align:middle;
    color:black; padding-bottom:6px;}
td.rotc1 { 
    font-size:14px;
    background-color:#f0d5d5; 
    text-align:center; vertical-align:middle;
    color:black; padding-bottom:6px;}
td.rot2 { 
    font-size:14px;
    background-color:#dce7f5; 
    text-align:left; vertical-align:middle;
    color:black; padding-bottom:6px;}
td.rotc2 { 
    font-size:14px;
    background-color:#dce7f5; 
    text-align:center; vertical-align:middle;
    color:black; padding-bottom:6px;}
th.g { 
    font-size:12px;
    background-color:#993333; 
    text-align:left; font-weight:bold;
    color:white; padding-bottom:3px;}
th.gc { 
    font-size:12px;
    background-color:#993333; 
    text-align:center; font-weight:bold;
    color:white; padding-bottom:3px;}
td.g1 { 
    font-size:12px;
    background-color:#993333; 
    text-align:left;
    color:black; padding-bottom:3px;}
td.g2 { 
    font-size:14px;
    background-color:#a0a0a0; 
    text-align:left;
    color:black; padding-bottom:3px;}
th.srot { 
    font-size:14px;
    background-color:#993333; padding:1px 3px 1px 3px;
    text-align:left; vertical-align:middle; font-weight:bold;
    color:white; }
tr.srot0 td, td.srot0 { 
    font-size:14px;
    background-color:#e3acac; padding:1px 3px 1px 3px;
    text-align:left; vertical-align:middle;
    color:black; }
tr.srot1 td, td.srot1 { 
    font-size:14px;
    background-color:#f0d5d5; padding:1px 3px 1px 3px;
    text-align:left; vertical-align:middle;
    color:black; }
table.srot, table.srot td { 
    font-size:13px;
    vertical-align:middle; }
table.mini td {
    font-size:10px;
    }
table.srot td { 
    padding:1px 3px 1px 3px; }
table.srot th { 
    background-color:#993333; 
    font-weight:bold; color:white; }
table.srot tr.tr0 {
    background-color:#e3acac; color:black; }
table.srot tr, table.srot tr.tr1 {
    background-color:#f0d5d5; color:black; }
table.srot tr.grau {
    background-color:#e0e0e0; color:black; }
table.srot td {
}
table.g {
    width:100%;
    border-collapse:collapse;
    }
td.c, th.c, table.rot th.c { text-align:center;}
td.r, td.r { text-align:right;}

/* b { color:#993333; } */
.rot { color:#993333; }
i { color:#993333; text-decoration:none; }
i.gray { color:#c0c0c0; text-decoration:none; }

#roterrahmen {
	border-width:1px;
	border-style:solid;
	border-color:#993333;
	min-width:48%;
	padding:5px;
	margin:0 20px 20px 0;
    }
#kleiner { color:#993333; 
    text-decoration:none; font-weight:normal; 
    padding:0; margin:0;
}

/*
// --------------------------------------
// Spezielle Anker-Version für die Menüs
// --------------------------------------
*/
a { color:black; text-decoration:underline; font-weight:500; }
a.hidden { color:#993333; text-decoration:none; font-weight:normal; }
.menu1  { 
    text-decoration:none; color:white; 
    font-family:Arial,Univers,Helvetica,sans-serif; 
    font-weight:bold; font-size:16px; 
    text-indent:0px; 
    margin:0 0 5px 0;
    padding:0;
    }
.menu2  { 
    text-decoration:none; color:white; 
    font-family:Arial,Univers,Helvetica,sans-serif; 
    font-weight:500; font-size:11px; 
    text-indent:15px; margin-top:0px; margin-bottom:5px;
    }
a.black  { 
    font-family:Arial,Univers,Helvetica,sans-serif; font-size:14px;
    text-decoration:none;
    color:black;}
div.menu {
    box-sizing:border-box;
    margin-top:0px; margin-left:0px; 
    padding-top:100px;
    position:absolute; 
    /*border:1px solid yellow;*/
    top:0px; left:0px; 
    width:180px; height:100%; 
    z-index:1;
    background-image:url(../layout/triangles-159x105.jpg);
    background-position:11px 7px;
    background-color:#993333;
    background-repeat:no-repeat;
    }
div.menu ul {
    list-style: none;
    /*border:1px solid orange;*/
    padding:6px 0 0 45px;
}

div.menu ul.bottom {
    position:absolute; 
    bottom:0;
}

dt { font-weight:bold; }
dd { margin-bottom:10px; }

.suggest_link {
	background-color: #FFFFFF;
	padding: 2px 6px 2px 6px;
}
.suggest_link_over {
	background-color: #ffc080;
	padding: 2px 6px 2px 6px;
}
#nachname_suggest, #zimmer1_suggest, #zimmer2_suggest {
	position: absolute; 
	background-color: #ffffff; 
	text-align: left; 
	border: 1px solid #c0c0c0;			
	margin-left:1px;
	margin-top:-2px;
}		
.rot {
    color:#ff0000;
}
span#p2, span#p2a, span#p1, span#p3, span#p1a { vertical-align:baseline; }

div.main, div.footer {
    box-sizing:border-box;
    width:580px;
    margin-left:200px;
}

div.footer {
    margin-top:3em;
    margin-bottom:10px;
    font-size:9px;
    color:#993333;
}

.afterhr {
    padding: 0;
    margin: 0;
    /*height: 0.5em;*/ 
    height:0;
    background: transparent;
}

img.right {
    float:right;
    padding:0;
    margin:0.5em 0 1em 1em;
}

/*
 * ----- Unter 800 px -----------------
 */
@media (max-width: 799px) {
span.full, table.full, th.full, td.full {
    display:none;
}
table.mobile {
    display:block;
    width:100%;
}

div.sidebarblog2022 {
    display:none;
}
div.contentboxblog {
    max-width:100%;
}

#tri-header, #tri-container, #tri-footer {
	width:100%;
	min-width:300px;
	left:0;
	margin-left:0;
    }
#tri-title h1 {
    	padding:0 10px;
    }

#tri-main ul,  #tri-main ol {
	padding-left:1em;
    }
#tri-logo  {
    height: 120px;
    margin:14px 14px 0 10px;
}
#tri-fahne  {
    display:none;
}

/* Nav-Menu aendern, Stufe 1 */
nav input#toggle {
    display: none;
}
nav input#toggle + label {
    display: block;
    width: 50px;
    height: 50px;
    background:url(/layout/menu-20x20.png) center left no-repeat;
    border:0;
    position: absolute;
    left: 14px;
    top: 15px;
    cursor: pointer;
    z-index: 10;
}

input#toggle:checked ~ label {
    }

input#toggle:checked ~ ul {
    display:block;
    height:auto;
    max-height:500px;
    transition:all 0.5s ease-in;
    color:red;
    background-color:#333;
}


/* Nav-Menu-Elemente Stufe 2 einblenden */
nav > ul > li label {
    display: block;
    text-align:left;
    margin:0px 2px;
    padding:5px 2px 0px 2px;
}

ul.submenu {
    display:block;
    max-height:0;
    overflow:hidden;
    border:0;
    margin-top:3px;
}

nav > ul > li input[type="radio"]:checked ~ ul.submenu {
      display: block;
      height:auto;
      max-height:300px;
    transition:all 0.8s ease-in;
    border-top:1px solid white;
    border-bottom:1px solid white;
}
nav > ul > li input[type="radio"]:checked + label.drop-icon::after {
    content:attr(value);
    color:red;
}

nav > ul {
    display:block;
    height:0;
    max-height:0;
    overflow:hidden;
}

nav > ul > li > a {
    display:none;
}
nav > ul a {
    display:inline;
    line-height:23px;
}

nav > ul  {
    position:absolute;
    width:150px;
    margin:72px auto auto 14px;
    left:0; 
    top:0; 
}
nav > ul > li {
    background-color:#555;
    width:100%;
    margin:0px;
    padding: 0px 7px;
    height:auto;
    background-image:none;
    position:relative;
}
nav > ul > li:last-child {
  padding-bottom:10px;
}
nav > ul > li > ul {
    width:auto;
    box-shadow: none;
    margin:0;
    padding:0;
}
nav ul > li > ul > li a {
  padding:3px 5px;
}

#tri-splash {
    	height:180px;
    }
#tri-splash img {
    	width:33.33333%;
    }
#tri-splash img:last-child {
    	display:none;
    }

#tri-main {
    margin: 20px 10px 0 10px;
    max-width: 100%;
}
#tri-footercontent {
    padding:10px 5px 0 5px;
}
#tri-footercontent > div.tri-footer-col {
    padding:0 5px;
    max-height: 33.33333333%;
    height: 33.33333333%;
    width: 100%;
    max-width: 100%;
}

div.tri-footer-col p, 
    div.tri-footer-col:first-child p, 
    div.tri-footer-col:last-child p {
    text-align: center;
}

div.tri-row {
    padding:0;
    width:100%;
    display: flex;
    flex-wrap: wrap;
}

div.tri-row  > div.tri-col {
	flex-basis: 100%;
	max-width: 100%;
	width: 100%;
	flex: 0 0 auto;
	padding: 0;
    }
/* 3-er Bilderblock */
.galcont {
flex-direction:column;
}
.galcont2 {
flex-direction:row;
justify-content: space-between;
}
.galcont2i {
    margin-left:0;
    margin-right:0;
}
div.galcont2 figure {
    max-width: calc(50% - 5px);
}
div.galcont2 figure:last-child {
    margin-top: 0;
}
div.galcont2 figure:last-child img {
    margin-top: 10.5px;
}
.galcont2i img {
}


figure {
    max-width:50%;
    }
figure.full {
    max-width:100%;
    }
figure img {
    max-width:100%;
    }
dd {
    margin-left:20px;
}

}

/*
 * ----- Unter 400 px -----------------
 */
@media (max-width: 400px) {
#tri-splash {
    	height:90px;
    }
    /* optionale, zu lange texte ausblenden */
.opt { display:none; }
}

/*
 * ----- Drucker? -----------------
 */
@media screen {
.onlyprint { display:none; }
}
