*{
	margin:0;
	padding:0; 
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

a{
	outline:0;
	border:none;
	text-decoration:none;
}

*.hide{
	display:none;
	}

html{
	min-height:100%;
}

body{
	font-size:.75em;
	font-family: helvetica, arial, sans-serif;
	background: -moz-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(229,229,229,1))); /* Chrome,Safari4+ */
	background: -webkit-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Opera 12+ */
	background: -ms-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* IE10+ */
	background: radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C */
	height:100%;
	width:100%;
	color:rgba(55,53,53,0.9);
	-webkit-font-smoothing:antialiased; 
	font-smoothing:antialiased; 
	text-rendering:optimizeLegibility; 
	min-width:300px;
	padding-left:2em;
	padding-right:2em;
}



@media screen and (min-width: 1200px) {
  body {
	font-size:0.875em;
  }
  
   h3{
	font-weight:normal;
  }
}

@media screen and (max-width: 600px) {
  body {
	font-size:0.625em;
  }
}

/*### Breite ###*/

#header, #avmenu, #contentwide, #footer{
	max-width:1200px;
}

/*### Kopfzeile ###*/

#header{
	background-color:#aaa;
	background-image:url(img/header_c2.jpg);
	margin:20px auto 0 auto;
	height:7em;
	padding:1.5em 2em 3.5em 2em;
    -webkit-border-radius: 5px 5px 0 0 ;
    border-radius: 5px 5px 0 0;
    -webkit-box-shadow:  0px 1px 5px 0px rgba(0, 0, 0, 0.3);
    box-shadow:  0px 1px 5px 0px rgba(0, 0, 0, 0.3); 
	border-style:solid;
	border-width:1px 1px 0 1px;
	border-color:rgba(255,255,255,.5);
}

#cav-logo{
	float:right;
	margin:0.5em 0 0 0; 
}

#dialog{
height:4em;
}


/*### Menu ###*/

#avmenu{
	margin:0 auto;
	padding:0 2em;
	height:auto;
	background-color:rgba(30,70,100,1);
	font-size:1em;
	border-width:0 1px;
	border-style:solid;
	border-color:rgba(30,70,100,.8);
}

#avmenu > ul{
	list-style-type: none; 
	padding:0;
	display:inline-block;
	border-left:1px solid #4B6B83;
	border-left:1px solid rgba(255,255,255,.2);
}


#avmenu > ul > li{
	list-style-type: none; 
	float:left;
	border-right:1px solid #4B6B83;
	border-bottom:0;
	border-top:1px solid #4B6B83;
	border-right:1px solid rgba(255,255,255,.15);
	border-bottom:0 none;
	border-top:1px solid rgba(255,255,255,.3);
	min-width:8em;
}

#avmenu > ul > li > a{
	color:rgba(255,255,255,.7);
	text-decoration:none;
	height:2.5em;
	display:inline-block;
	vertical-align:middle;
	line-height:2.5em;
	text-shadow:-1px -1px 1px rgba(0,0,0,.5);
	border-bottom:1px solid rgba(0,0,0,.3);
	width:100%;
	text-align:center;
}

#avmenu  > ul > li > a:hover, #avmenu  > ul > li > a.current{
	color:rgba(255,255,255,1);
	background: #DD8124; /* Old browsers */
		background: -moz-linear-gradient(top,  rgba(237,154,71,1) 0%, rgba(219,116,13,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(237,154,71,1)), color-stop(100%,rgba(219,116,13,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  rgba(237,154,71,1) 0%,rgba(219,116,13,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  rgba(237,154,71,1) 0%,rgba(219,116,13,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  rgba(237,154,71,1) 0%,rgba(219,116,13,1) 100%); /* IE10+ */
		background: linear-gradient(top,  rgba(237,154,71,1) 0%,rgba(219,116,13,1) 100%); /* W3C */
	text-shadow:-1px -1px 1px rgba(177,95,0,.4) !important;
}

/*### Menu 2. Ebene ###*/

#avmenu  li a + ul{
	width:auto;
	margin-top:0px;
	margin-left:-1px;
	position:absolute;
	background-color:rgba(50,50,50,0.95	);
	padding:20px 0 20px 0;
    -webkit-border-radius:0 0 5px 5px;
    border-radius:0 0 5px 5px;
    -webkit-box-shadow:  0px 1px 5px 0px rgba(0, 0, 0, 0.3);
    box-shadow:  0px 1px 5px 0px rgba(0, 0, 0, 0.3);
    display:none;
	border-top:1px solid rgba(255,255,255,.3);
	border-left:1px solid rgba(255,255,255,.15);
	border-right:1px solid rgba(255,255,255,.15);
	border-bottom:1px solid rgba(0,0,0,.3);
}

#avmenu  li a:hover + ul, #avmenu  li a + ul:hover, avmenu  li a:active + ul , avmenu  li a:focus + ul{
	display:block;
}

#avmenu li ul li{
	list-style-type: none; 
	clear:both;
	height:2.5em;
	color:#fff;
	width:100%;
	border:0;
}

#avmenu li ul li a{
	padding:0 1em;
	white-space:nowrap;
	display:block;
	width:100%;
	border:0;
	color:rgba(255,255,255,.7);
	text-decoration:none;
	height:2.5em;
	vertical-align:middle;
	line-height:2.5em;
	text-shadow:-1px -1px 1px rgba(0,0,0,.5);
}

#avmenu li ul li a:hover{
	background: #DD8124; /* Old browsers */
		background: -moz-linear-gradient(top,  rgba(237,154,71,1) 0%, rgba(219,116,13,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(237,154,71,1)), color-stop(100%,rgba(219,116,13,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  rgba(237,154,71,1) 0%,rgba(219,116,13,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  rgba(237,154,71,1) 0%,rgba(219,116,13,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  rgba(237,154,71,1) 0%,rgba(219,116,13,1) 100%); /* IE10+ */
		background: linear-gradient(top,  rgba(237,154,71,1) 0%,rgba(219,116,13,1) 100%); /* W3C */
	border:0;
}

/*### Inhalt ###*/

#contentwide{
	background-color:#fff;
	margin:0 auto 20px auto;
	height:100%;
	padding:20px 2em 40px 2em;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    -webkit-box-shadow:  0px 1px 5px 0px rgba(0, 0, 0, 0.3);
    box-shadow:  0px 1px 5px 0px rgba(0, 0, 0, 0.3);
	border-style:solid;
	border-width:0;
	border-color:rgba(255,255,255,1);	
}

/*### Links ###*/

#contentwide a{
	color:rgba(55,53,53,0.9);
	border-bottom:1px dotted rgba(55,53,53,0.9);
}

#contentwide a:hover{
	color:#f80;
	border-bottom:1px dotted #f80;
}

/*### Ueberschriften ###*/

h1{
	display:none;
}

h1, h2, h3{
	text-shadow: 0 1px 2px rgba(0,0,0,.2); 
	}


#contentwide h2{
	font-weight:normal;
	font-size:2em;
	margin-bottom:1em;
	color:#336699;
}

#contentwide h3{
	font-size:1.5em;
	margin-bottom:1em;
	color:#336699;
	clear:left;
}

#contentwide h4{
	font-size:1em;
	margin-bottom:1em;
	color:#336699;
}

#contentwide p + h4{
	margin-top:1em;
}

/*### Absatz ###*/

#contentwide p{
	line-height:160%;
}

div.txt-wrap-c1 p,
div.txt-wrap-c2 p,
div.txt-wrap-c3 p,
div.tile-txt-wrap{
	/* text-indent:1.5em; */
	text-align:justify;
	margin-bottom:1em;
}

p.alt{
	color:rgba(55,53,53,0.9);
	padding:1em 1.5em;
	font-size:0.875em;
}

/*### Listen ###*/

#contentwide ul,ol,li{
	line-height:160%;
	text-align:justify;
}


/*### 1Spalter (bei Screens > 900px) ###*/

div.one-col-wrap{
	width:33.33%;
	float:left;
	margin-bottom:3.5em;
	border-color:rgba(55,53,53,0.9);
	border-style:solid;
	border-width:0;
}

div.one-col-wrap:nth-child(3n){
	width:-moz-calc(33.33% - 0.333em - 1px); 
	width:-webkit-calc(33.33% - 0.333em - 1px); 
	width:calc(33.33% - 0.333em - 1px); 
	border-right-width:1px;
	margin-left:0;
}

div.one-col-wrap:nth-child(3n+1) {
	width:-moz-calc(33.33% + 0.666em - 1px);
	width:-webkit-calc(33.33% + 0.666em - 1px);
	width:calc(33.33% + 0.666em - 1px);
	border-right-width:1px;
	border-left-width:1px;
	margin-left:-1px;
}

div.one-col-wrap:nth-child(3n+2) {
	width:-moz-calc(33.33% - 0.333em - 1px); 
	width:-webkit-calc(33.33% - 0.333em - 1px); 
	width:calc(33.33% - 0.333em - 1px);
	border-left-width:1px;
	margin-left:-1px;
}

div.one-col-wrap:nth-child(3n+3) {
	clear:left;
}

div.noborder{ /* keine Trennlinie zur Nachbarspalte. Geht nur als Ergänzung zu one-col-wrap*/
	border-color:transparent !important;
}

/*### h3 fuer 1Spalter ###*/

div.one-col-wrap:nth-child(3n) h3{
	margin-left: 0;
}

div.one-col-wrap:nth-child(3n+1) h3, 
div.one-col-wrap:nth-child(3n+2) h3{
	margin-left: .66em;
}

/*### img  fuer 1Spalter ###*/

div.one-col-wrap:nth-child(3n) div.tile-img-wrap{
	margin-right:1em; 
	margin-bottom:1em;
}

div.one-col-wrap:nth-child(3n+1) div.tile-img-wrap{
	margin-right:1em; 
	margin-bottom:1em; 
	margin-left:1em
}

div.one-col-wrap:nth-child(3n+2) div.tile-img-wrap{
	margin-left:1em; 
	margin-bottom:1em;
	margin-right:0;
}

div.one-col-wrap div.small-img{
	width:50%;
	margin-bottom:0.5em !important;
	margin-right:1em  !important;
}

/*### txt  fuer 1Spalter ###*/

div.one-col-wrap:nth-child(3n+0) div.tile-txt-wrap{
	margin: 0 1em .5em 0;
}

div.one-col-wrap:nth-child(3n+1) div.tile-txt-wrap{
	margin: 0 1em .5em 1em;
}

div.one-col-wrap:nth-child(3n+2) div.tile-txt-wrap{
	margin: 0 0 .5em 1em;
}

/*### downloads ###*/

div.download-wrap{ /* Wraps nehmen bei großen Bildschirmen ein Drittel der Arbeitsflächenbreite ein, ab 900px die halbe und ab 600px die ganze Breite. Siehe @media screen Bereich am Ende des Dokuments*/
	width:31.8%;
	width:-moz-calc(33.33% - 1em - 0px);
	width:-webkit-calc(33.33% - 1em - 0px);
	width:calc(32% - 2px);
	float:left;
	margin-right:1em;
	margin-bottom: 3.5em;
	padding:1em 0 0 0;
}

div.download-wrap:nth-child(3n+2) {
	margin-right:0;
}


div.download-wrap div.tile-img-wrap a {
    border:0 !important;
}

div.download-wrap div.tile-img-wrap{ 
	width:auto !important;
	max-width:238px !important;
	margin-bottom:1em !important;
}

div.download-wrap  img{ 
	width:auto !important;
	max-width:100% !important;
	border:1px solid #ccc;
}

div.download-wrap  div.tile-txt-wrap{
	text-indent:0;
	text-align:left;
	margin-right:1em;
}

div.download-wrap  div.tile-img-wrap{
	margin:0 1em 4em 0;
	float:left !important;
}

/*### 2Spalter ###*/
div.two-col-wrap{
	width:66.66%;
	float:left;
	margin-bottom:3.5em;
	border-color:rgba(55,53,53,0.9);
	border-style:solid;
	border-width:0;
	-moz-column-gap: 2em;
	-moz-column-rule: 1px dotted #ccc;
	-webkit-column-gap: 2em;
	-webkit-column-rule: 1px dotted #fff;
	column-gap: 2em;
	column-rule: 1px dotted #fff;
	-moz-column-count: 2;
	-webkit-column-count: 2;
	column-count: 2;
}

/*### 3Spalter ###*/
div.tree-col-wrap{

}

div.txt-wrap-c1, div.txt-wrap-c2, div.txt-wrap-c3{
	-moz-column-gap: 2em;
	-moz-column-rule: 1px dotted #ccc;
	-webkit-column-gap: 2em;
	-webkit-column-rule: 1px dotted #fff;
	column-gap: 2em;
	column-rule: 1px dotted #fff;
	margin-bottom:4em;
}

div.txt-wrap-c1{ /* Text für 3Spalter in Kombination mit img-wrap-c2 */
	-moz-column-count: 1;
	-webkit-column-count: 1;
	column-count: 1;
}

div.txt-wrap-c2{ /* Text für 3Spalter in Kombination mit img-wrap-c1 */
	-moz-column-count: 2;
	-webkit-column-count: 2;
	column-count: 2;
}

div.txt-wrap-c3{ /* Text für 3Spalter in Kombination mit img-wrap-c3 */
	-moz-column-count: 3;
	-webkit-column-count: 3;
	column-count: 3;
}

/*### Imagewraps ###*/

#contentwide img{
	/* fna: width:100% !important; */
	width:100%;
}

div.img-wrap-c1, div.img-wrap-c2, div.img-wrap-c3, div.tile-img-wrap{
background: #eee; /* Old browsers */
		background: -moz-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */
		background: -webkit-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Opera 12+ */
		background: -ms-radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* IE10+ */
		background: radial-gradient(center, ellipse cover,  rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C */
}

div.tile-img-wrap{
	margin:0 0 1em 0;
	float:left;
}

div.img-wrap-c1, div.img-wrap-c2{
	margin:0 1em 4em 0;
	float:left;
}

div.img-wrap-c3{
	margin:0 0 4em 0;
}

div.img-wrap-c1, table.c1 {
	width:33.33%;
}

div.img-wrap-c2, table.c2{
	width:66.67%;
}

div.img-wrap-c3, table.c3{
	margin-bottom:1em;
	width:100%;
}

/*### Table ###*/

table {
	margin:0 1em 1em 0;
	padding:0;
	line-height:160%;
	border-collapse:collapse;
	border:1px solid #d8d8d8;
	font-size:1em;
	float:left;
}

caption {
	text-align:left;
	font-size:1.25em;
	color:rgba(55,53,53,0.9);
	font-weight:normal;
	margin-bottom:1em;
	padding:6px 0 8px 0;
}

th {
	padding:.5em 1em;
	text-align:left;
	background:#aaa;
	color:#505050;
	border-left:1px solid #ccc;
}

td {
	padding:.5em 1em;
	text-align:left;
	color:rgba(55,53,53,0.9);
	border-left:1px solid #ccc;
}

tr:nth-child(even) {
    background-color: #eee;
}

#contentwide table img{
	width:auto;
}

/*### Forms ###*/


form{
	background-color:#fdfdfd;
	border:0px solid #ccc;
	float:left;
	width:100%;
	padding:1em 0;
	margin-bottom:1em;
    -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 5px ;
    border-radius: 5px;
	font-size:1em;
}

form table{
	width:100% !important;
	margin:0;
}

form table , form tr, form th, form td{
    background-color: transparent !Important;
	border:0;
}

form td{
	padding:.5em 1em;
	height:auto !important;
}

form td:first-child{
max-width:6.25em !important;
}

form  input[type="text"], form  input[type="password"]{
	width:100% !Important;
	max-width:20em;
	display:block;
	font-size:1em;
	border:1px solid #ccc;
	height:1.5em  !Important;
	padding:0 .25em;
}

form  input[type="submit"],form  input[type="reset"], button{
	min-width:10em;
	margin-right:.5em;
	font-size:1em;
}

form strong{
font-weight:normal;
color:rgba(55,53,53,0.9);
}


/*### Fusszeile ###*/

#footer{
	margin:0 auto 20px auto;
	height:auto;
    font-size:10px;
	color:#aaa;
	text-align:center;
}

#footer a{
	color:#aaa;
}

#footer a:hover{
	color:#f80;
}

/*### media queries ###*/

/* hoechstens 900px breit sowie iPad hoch */
@media 
	screen and (max-width: 900px), 
	only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation : portrait) 
{ 
	
	 div.txt-wrap-c3 {
	-moz-column-count: 2;
	-webkit-column-count: 2;
	column-count: 2;
	}
  div.txt-wrap-c2, #contentwide p.c1{
	-moz-column-count: 1;
	-webkit-column-count: 1;
	column-count: 1;
	width:47%;
	margin-right:0;
	}
  
  div.img-wrap-c1, div.img-wrap-c2{
	width:50%;
	}
  
  table.c2{
	width:50%;
	} 
	
  div.one-col-wrap:nth-child(3n+0),
  div.one-col-wrap:nth-child(3n+1),
  div.one-col-wrap:nth-child(3n+2) {
	width:100%;
	border:0;
	margin-left:0;
	margin-right:0;
}

  div.one-col-wrap:nth-child(3n) h3,
  div.one-col-wrap:nth-child(3n+1) h3, 
  div.one-col-wrap:nth-child(3n+2) h3{
	margin-left:0;
}

  div.one-col-wrap:nth-child(3n+0) div.tile-img-wrap,
  div.one-col-wrap:nth-child(3n+1) div.tile-img-wrap,
  div.one-col-wrap:nth-child(3n+2) div.tile-img-wrap{
	width:50%;
	margin-left:0; 
	margin-right:1em; 
	margin-bottom:1em;
	float:left;
}

  div.one-col-wrap div.small-img{
	width:25%  !important;
	margin-bottom:0.5em  !important;
}

div.one-col-wrap  div.tile-txt-wrap{
	margin: 0 1em .5em 0 !important;
}
	
  div.download-wrap {
	width:48.8% !important;
	width:-moz-calc(50% - 1em -1px) !important;
	width:-webkit-calc(50% - 1em -1px) !important;
	width:calc(50% - 1em -1px) !important;
  }
  
  div.download-wrap:nth-child(3n+2) {
	margin-right:1em;
  }
  
  div.download-wrap:nth-child(2n+1) {
	margin-right:0;
  }
  
   #contentwide div.download-wrap img{
	width:33%;
	}
}


/* hoechstens 600px breit sowie Smartphones */
@media 
	screen and (max-width: 600px), 
	only screen and (max-device-width: 480px),
	only screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2),
	only screen and (max-width: 320px) and (max-device-width: 800px)
{
	body{
	padding:0;
	}

	#dialog{
	margin-left:1.5em;
	}

	#cav-logo img:first-child{
	display:none;
	}
	#cav-logo img:last-child{
	height:32px;
	margin-right:1.5em;
	}
	#header{
	background-size:200%;
	}

	/*### Menü anpassen ###*/
	#header, #avmenu, #contentwide, #footer{
	    border-radius: 0;
	}
	
	#header{
		width:100%;
		background-color:#aaa;
		background-image:url(img/header_c2.jpg);
		margin:0;
		padding:1.5em 0 0.5em 0;
		-webkit-border-radius:0;
		border-radius:0;
		-webkit-box-shadow:0;
		box-shadow:0; 
		border-width:0;
	}
	
	#cav-logo{
	margin-top:0.7em; 
}

	#avmenu{
		width:100%;
		margin:0;
		padding:0;
		font-size:1.25em;
		border-style:none;
		height:auto;
		display:inline-block;
	}

	#avmenu > ul{
	display: inline-block;
    margin: 0 auto;
    padding-bottom: 1px;
    width: auto;
	}
	
	#avmenu > ul > li{
	width:20%;
	}
	
	
	div.txt-wrap-c1, div.txt-wrap-c2, div.txt-wrap-c3{
	-moz-column-count: 1;
	-webkit-column-count: 1;
	column-count: 1;
	width:100%;
	margin-left:0;
  }
  
  div.img-wrap-c1,div.img-wrap-c2{
	width:100%;
	margin-bottom:1em;
  }
  
  table.c2{
	width:100%;
  }
  
  div.one-col-wrap:nth-child(3n+0) div.tile-img-wrap,
  div.one-col-wrap:nth-child(3n+1) div.tile-img-wrap,
  div.one-col-wrap:nth-child(3n+2) div.tile-img-wrap{
	width:100%;
	margin:0 0 1em 0;
}

  div.one-col-wrap div.small-img{
	width:50%  !important;
	margin-bottom:0.5em  !important;
	margin-right:1em !important;
}

  div.one-col-wrap:nth-child(3n+0) div.tile-txt-wrap,
  div.one-col-wrap:nth-child(3n+1) div.tile-txt-wrap,
  div.one-col-wrap:nth-child(3n+2) div.tile-txt-wrap{
	margin: 0 0 .5em 0 !important;
}
  
   div.download-wrap{
	margin-right:0;
	clear:left;
	width:100% !important;
	margin-bottom:0;
	border-bottom:1px dotted #ccc
  }
  
  
  div.download-wrap div.tile-img-wrap{
	width:30% !important;
	margin-bottom:1em;
	}
}

/*### rechte menus rechtsbündig machen ###*/

@media screen and (max-width: 900px) and (min-width: 695px){

	#avmenu > ul > li{
	direction:ltr;
	}
	
	#avmenu > ul > li:nth-child(6n +6 ){
	direction:rtl !important;
	}
	
	#avmenu > ul > li:nth-child(6n +6 ) > ul{
	margin-right:-1px;
	}
}

@media screen and (max-width: 694px) and (min-width: 523px){

	#avmenu > ul > li{
	direction:ltr;
	width:20%;
	}
	
	#avmenu > ul > li:nth-child(5n +5 ){
	direction:rtl !important;
	}
	
	#avmenu > ul > li:nth-child(5n +5 ) > ul{
	margin-right:-1px;
	}
}

@media screen and (max-width: 522px) and (min-width: 408px){

	#avmenu > ul > li{
	direction:ltr;
	width:25%;
	}

	#avmenu > ul > li:nth-child(4n +4 ){
	direction:rtl;
	}
	
	#avmenu > ul > li:nth-child(4n +4 ) > ul{
	margin-right:-1px;
	}
}

@media screen and (max-width: 421px){

	#avmenu > ul > li{
	direction:ltr;
	width:33.33%;
	}

	#avmenu > ul > li:nth-child(3n +3 ){
	direction:rtl;
	}
	
	#avmenu > ul > li:nth-child(3n +3 ) > ul{
	margin-right:-1px;
	}
}


/* iPad Querformat */
@media 
	only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation : landscape) 
{
	body {
		font-size:0.8em;
	}
}


/* iPad Portrait */
@media 
	only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation : portrait) 
{
	body {
		font-size:1.0em;
	}
}

/* iPhone, iPod, Android phones */
@media 
	only screen and (max-device-width: 480px),
	only screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2), 
	only screen and (max-width: 320px) and (max-device-width: 800px)
{
	body {
		font-size:2.0em
	}
}

