@import url(webfonts/playfair-display.css);

:root {
	--color1: #a71e29;
	--color2: #003782;
    
}


body { 
	font-family: 'Playfair Display', serif;
	font-size: 1.1rem;
	color: #333;
}

/* basics */ 
area, usemap {border:0;}
a img {border:0;}
a { color: var(--color1); text-decoration: none; transition: 1s color ;}
a:hover { color: var(--color2) } 



p {	margin: 5px 10px 15px 0; 	line-height:140%;  }


h1, h2, h3, h4 {
	padding: 0;
	margin: 10px 0 5px 0;
	color:var(--color1);
	line-height:120%; 
}

h1, h2 {font-weight: normal; }
h1 { font-size: 2.2em;}
h2 {font-size: 1.7em;}
h3 { font-size: 1.3em; }

h4 { font-size: 1em; line-height:140%; margin:4px 0 0 0;}
h5 { font-size: 0.9em; line-height:120%; margin:4px 0 0 0;}
h6 { font-size: 0.9em; line-height:120%; margin:2px 0 0 0;}



hr{
	border:none;
	border-top:dotted #003782 1px;
	clear:both;
}


li {	
	padding: 3px 0;		
} 
li::marker {
  color: var(--color2); /* Aendert nur die Farbe des Punktes */
  font-size: 1.2em; /* Du kannst auch die Groesse anpassen */
}


ul {	
	margin-top: 5;
	padding-bottom: 15px;
	margin-left: 0.9em;
	padding-left: 0.9em;
	XXlist-style-image: url(img/lipu.svg);
	XXlist-style-type: square	
}


ol {	
	margin-top: 0;
	margin-bottom: 10px;
	margin-left: 0.9em;
	padding-left: 0.9em;		
}


address {
	line-height:120%;
	margin: 10px 0 20px 0;
	padding-left: 10px;
	border-left: 6px solid #327893;
	font-style: normal;
	font-weight: bold;
}


blockquote {
	font-size:0.9em;
	padding: 10px;
	border-left: 2px solid #17396e;
	margin: 3px 0 20px 5%;
	background: rgba(160,160,120,0.2);
}

pre, code {
	padding: 0 0 20px 6px;
	margin: 3px 0 20px 0;
	border: 1px solid #666;
	
	color: var(--color2);
	font-size:1em;	
	overflow:auto; 
	line-height:2.2em;	
		
}


input , textarea { border: 1px solid var(--color2); background: #fff; color: #444; padding:2px; width:98%; }
input[type="image"] { background: none; border:none;}




/* Specials */
p img[align="right"], h3 img[align="right"] {float:right; max-width:48%; margin: 3px 0 2px 1%; height:auto;}
p img[align="left"], h3 img[align="left"] {float:left; max-width:48%; margin: 3px 3% 2px 0; height:auto;}

/*=======================================================================================*/	

/* Standards */

.teaserbutton {
    display: block; clear:both; padding: 2px 10px 5px 10px;  margin: 10px 10px 10px auto;  text-align: center;  border: 2px solid #ccc;  border-radius: 1.2em; transition: 0.8s all;
	background: rgba(200, 200, 200, 0.5);
}

.teaserbutton:hover {
	background: rgba(30, 123, 0, 0.5); color: #fff;  border-radius: 0.5em;  
}

editlink {}

.responsiveVideo, .flex-video {
   position: relative; padding-bottom: 56.25%; padding-top: 30px;  height: 0; overflow: hidden;
}

.responsiveVideo iframe, .flex-video iframe, .responsiveVideo object, .flex-video object, .responsiveVideo embed, .flex-video embed  {
   position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

table {
	border-collapse:collapse;
	border: none;
}


table.table {
	clear:both;	
	border-collapse:collapse;
	border: none;	
	border-top: 1px solid #666;
	margin: 20px 0 5px 0;
	width:100%;
	font: 0.85em;	
}

table.table caption {font-size:1.1em; text-align:left; }
table.table th {font-size:0.9em; padding: 4px; text-align:left; vertical-align: top; ;  border: none; border-bottom: 1px solid #999; background-color:rgba(0,0,0,0.1)}
table.table tbody td {font-size:0.9em; padding: 4px; vertical-align: top;  border: none; border-bottom: 1px solid #999; background-color:rgba(255,255,255,0.01); transition: 0.5s background-color;}
table.table tbody tr:hover td {background-color:rgba(255,255,255,0.8);}
table.table tbody td p, table.table tbody td h1, table.table tbody td h2, table.table tbody td h3, table.table tbody td h4 {margin: 0; line-height:120%;}



img.picfull {width:100%; height:auto;}
img.pic2left {float:left; max-width:48%; margin: 3px 3% 2px 0; height:auto;}
img.pic2right {float:right; max-width:48%; margin: 3px 0 2px 1%; height:auto;}

img.pic3left {float:left; max-width:32%; margin: 3px 1.5% 2px 0; height:auto;}
img.pic3right {float:right; max-width:32%; margin: 3px 0 2px 0.3%; height:auto;}

img.pic4left {float:left; max-width:24%; margin: 3px 1% 2px 0; height:auto;}
img.pic4right {float:right; max-width:24%; margin: 3px 0 2px 0.5%; height:auto;}


/*Show and Hide Responsive*/
.hideOnDesktops {display: none;}
body .showOnDesktops {display: block;}	

	



/* Small devices (tablets, up to 768px) */
@media (max-width: 768px) {
	img.pic2left, img.pic2right {max-width: 100%;  margin: 3px 0 2px 0;}
	img.pic3left, img.pic3right, img.pic4left, img.pic4right  {width: 49%;}
	
	/*Show and Hide Responsive*/
	body .hideOnTablets {display: none;}
	.hideOnDesktops {display: block;}
	body div .showOnTablets {display: block;}
	
	

}

/* Small devices (Smartphone, up to <440px) */
@media (max-width: 440px) {
	img.pic2left, img.pic2right {max-width: 100%;  margin: 3px 0 2px 0;}
	img.pic3left, img.pic3right, img.pic4left, img.pic4right  {max-width: 49%;}
	
	/*Show and Hide Responsive*/
	.hideOnMobiles {display: none;}
	body .hideOnTablets {display: block;}
	body .hideOnDesktops {display: block;}
	body div .showOnMobiles {display: block;}

}