/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*                                                tablets                                                                                */            
/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
@media only screen and (max-width: 1200px) {
	#wrapper, #footer {width: 98%}
}

@media only screen and (max-width: 959px) {
	/*body {padding: 0;}*/
	/*#wrapper, #footer {width: 98%; max-width: 960px;}*/
	/*#header #logo {position: relative; display: block; text-align: center; top: 15px; left: 0;}*/
	/*#dropdown {display: block; text-align: center; float: none;}*/
	#mobile-select {display: none;}
 	/*#mainmenu {padding: 19px 0px 19px 0; margin-top: 10px;}*/
	
	/* mobile-select */
	#mobile-select {display: none;}
	#dropdown li a, #dropdown li span {
		padding: 0;
	}
	ul.img-slideshow0 li .img-text-wrap span.txt {
		font-size: 14px;
		padding: 6px;
		line-height: 14px;
	}

	ul.img-slideshow0 li .img-text-wrap span.h1 {
		font-size: 18px;
		line-height: 18px;
		padding: 6px;
	}
	
	/* ce_gallery */
	.ce_gallery .row2, .ce_gallery .row3, .ce_gallery .row4, .ce_gallery .row5, .ce_gallery .row6, .ce_gallery .row7, .ce_gallery .row8, .ce_gallery .row9, .ce_gallery .row10, .ce_gallery .row11, .ce_gallery .row12 {width: 49.5%; margin-right: 0;}
	.ce_gallery li:nth-child(2n+1) {margin-right: 1%!important;}
	
}


/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*                                                phone                                                                                  */            
/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
@media only screen and (max-width: 767px) {
	body {padding-top: 0px;}
	#navi-top { display: none;}

	#header {height: 155px;}
	
	
	#header #logo { text-align: left; left: 10%;  top: 20px;}
	#sozial-media-icons { display: none; }
	
	
	.ce_colsetPart.col_3.last{ display: none; }
	#footer .ce_text.txt2 { margin-top: 0; }
	
	#wrapper, #footer {width: 100%;}
	#dropdown {display: none;}
	#mobile-select {display: inline-block; width: 93%;}
	#main {width: 100%; margin: 0!important;}
	#main .inside {padding: 0!important;}
	html {-webkit-text-size-adjust: none;} /* disable webkit text size adjust (for iPhone) */
	#container {padding: 20px;}
	#extended {padding: 20px;}
	#footer .inside {padding: 0px 20px;}
	
	body.sidebar_left #main,
	body.sidebar_left #left,
	body.sidebar_right #main,
	body.sidebar_right #right,
	body.sidebar_both #main,
	body.sidebar_both #left,
	body.sidebar_both #right {width: 100%; margin: 0;}
	
	body.sidebar_left #main .inside,
	body.sidebar_left #left .inside,
	body.sidebar_right #main .inside,
	body.sidebar_right #right .inside,
	body.sidebar_both #main .inside,
	body.sidebar_both #left .inside,
	body.sidebar_both #right .inside {width: 100%; float: none; border: 0; margin: 0;}
	
	body.sidebar_left #left .inside,
	body.sidebar_right #right .inside {padding: 10px;}

	
	/* css framework + extension subcolumns */
	.one_half, .half_width, .one_third, .two_third, .one_fourth, .one_fifth, .four_fifth, .one_sixth, .two_fifth, .three_fifth, .four_sixth, .three_fourth {float: none; width: 100%; padding: 0; margin: 0;}
 	.c20r, .c25r, .c33r, .c40r, .c38r, .c50r, .c60r, .c66r, .c62r, .c75r, .c80r, .c15r, .c16r, .c30r, .c45r, .c55r, .c70r, .c85r,
 	.c20l, .c25l, .c33l, .c40l, .c38l, .c50l, .c60l, .c66l, .c62l, .c75l, .c80l, .c15l, .c16l, .c30l, .c45l, .c55l, .c70l, .c85l {float: none; width: 100%; padding: 0; margin: 0;}
 	.subcr, .subcl, .subc {padding: 0!important;}

 	/* image_container */
 	.image_container {margin-bottom: 10px;} 	
 	
 	#footer .one_fifth {display: none;}
 	#mainmenu {text-align: center; padding: 0;}
 	
 	/* tables */
 	table {font-size: 9px;}
 	
 	/* ce_gallery */
	 .ce_gallery .row2, .ce_gallery .row3, .ce_gallery .row4, .ce_gallery .row5, .ce_gallery .row6, .ce_gallery .row7, .ce_gallery .row8, .ce_gallery .row9, .ce_gallery .row10, .ce_gallery .row11, .ce_gallery .row12 { width: 100%; margin-right: 0;}
	 
	 /*
	 .ce_text .float_right { margin-left: 0px; clear:both !important;}	 
	 .ce_text .float_right img { width: 100%; }
	 */
	 
	#logotxt1 {
		top: 2px;
		left: -24px;
		width: 175px;
		height: 43px;
		background: url(../images/sprite.png) -310px -169px no-repeat;
	}
	#logotxt2 {
		font-size: 16px;
		text-align: left;
		line-height: 10px;
		top: 52px;
		left: 1px;
	}
	body.blau #logotxt1 {
		background: url(../images/sprite.png) -310px -409px no-repeat;
	}
	body.lila #logotxt1 {
		background: url(../images/sprite.png) -310px -249px no-repeat;
	}
	body.dunkelblau #logotxt1 {
		background: url(../images/sprite.png) -310px -489px no-repeat;
	}
	body.gruen #logotxt1 {
		background: url(../images/sprite.png) -310px -329px no-repeat;
	}

	
}
