/* --- CSS --- MEDIA ---
-------------------------------------------------------------------- */

/*
BREAK POINTS
	1024px	iPad Landscape
    768px   iPad Portrait
    568px   iPhone 5 Landscape
    320px   iPhone Portrait
*/

@media (min-width: 1025px) {

	/*---------------------------------------------
    MENUBAR
    ----------------------------------------------*/
	
    #wrapper {
        position: relative;
        width: 90%;
        max-width: 990px;
        height: 100%;
        margin: 0 auto;
        z-index: 1;
        -webkit-backface-visibility: hidden;
    }
    
    #menubtn {
        display: none;
    }

    #stripe {
        display: none;
    }


    .nofullscreen {
        display: none;
    }

    #kslogonav {
        display: none;
    }
    
	#menubar {
        position: absolute;
        top: 100px;
        left: 0px;
        width: 100%;
        margin: 0 auto;
        z-index: 5;
        display: block;
    }

    #menubar ul {
        position: relative;
        display: block;
        list-style: none;
        width: 90%;
        max-width: 990px;
        padding: 0.5em 0;
        margin: 0 auto;
        text-align: left;
        border-bottom: 3px solid #eee;
    }

    #menubar ul a {
        color: #3f3f3f;
    }

    #menubar ul li {
        margin: 1em 1.2em;
        padding: 0.65em 0;
        display: inline;
        color: #3f3f3f;
    }

    #menubar ul li:first-child {
        margin: 1em 1.2em 1em 0;
    }

    #menubar ul li.active {
        color: #3f3f3f;
        border-bottom: 3px solid #5e5e5e;
    }

    #menubar ul li:hover {
        color: #ff6000;
        border-bottom: 3px solid #ff6000;
    }
    
    .neu {
        position: absolute;
        width: 35px;
        top: -15px;
    }

    .neu img {
        width: 100%;
    }

    .neu.ani {
        left: 255px;
    }

    .neu.pub {
        left: 385px;
    }

    .neu.ani.block,
    .neu.pub.block {
        display: block;
    }

    .neu.ani.none,
    .neu.pub.none {
        display: none;
    }
    
    .slideleft,
    .slidedown,
    .topdown {
        transform: translate3d(0,0,0);
        -webkit-transform: translate3d(0,0,0);
    }

    .anithumbs li a img {
        max-height: 132px;
    }
}

@media (max-width: 1600px) {

    #kari-slider {
        position: relative;
        max-width: 850px;
        margin: 0 auto;
    }

    .kari {
        width: 100%;
        max-width: 850px;
    }

    .anithumbs li a img {
        max-height: 132px;
    }
}

@media (max-width: 1140px) {

	.control-left {
		left: -50px;
	}
	.control-right {
		right: -50px;
	}

    .anithumbs li a img {
        max-height: 130px;
    }
}

@media (max-width: 1024px) {
	
	header {
		width: 90%;
		height: 100px;
	}
	
	header h1 {
		padding: 1.2em 0 0.8em;
	}
    
    .subhdl {
        margin-top: 0;
    }
    
    .subhdl.archiv {
        left: 0;
    }
	
	header div#kslogo {
		position: absolute;
		top: 0;
		right: 7em;
		width: 70px;
		margin: 1.8em 1.7em 0 0;
		display: none;
	}

    #kslogonav {
        width: 120px;
        margin: 20px auto 0px;
        display: block;
    }

    #kslogonav img {
        width: 100%;
    }
	
	#menubtn {
		position: absolute;
		top: 40px;
		right: 0px;
		width: 90px;
		height: 20px;
		z-index: 4;
		display: block;
		background: url("../images/icons/ks-menu-btn.png") 0px 0px no-repeat;
		-webkit-background-size: 100% auto;
		-moz-background-size: 100% auto;
		-o-background-size: 100% auto;
		background-size: 100% auto;
		opacity: 1;
	}
	
	#menubtn:hover,
	#menubtn.active-btn {
		background: url("../images/icons/ks-menu-btn.png") 0px -20px no-repeat;
		-webkit-background-size: 100% auto;
		-moz-background-size: 100% auto;
		-o-background-size: 100% auto;
		background-size: 100% auto;
	}
	
	#stripe {
		display: block;
		width: 100%;
		height: 3px;
		border-bottom: 3px solid #eee;
	}
	
	#menubar {
		position: fixed;
		top: 0px;
		right: -200px;
		width: 200px;
		height: 100%;
		background: #eee;
		z-index: 2;
		display: block;
		overflow: scroll;
	}

	#menubar ul {
		display: block;
		list-style: none;
        margin: 45px 0px 120px 0px;
        background: #eeeeee;
	}
	
	#menubar ul a {
		color: #3f3f3f;
        margin-left: 5px;
	}

	#menubar ul li a {
		padding: 0.5em 1em 0.3em 0em;
		margin: 0 0 0.6em 1.5em;
		display: block;
		border-bottom: 3px solid #f2f2f2;
	}
	
	#menubar ul li:last-child a {
		border-bottom: none;
	}
	
	#menubar ul li.active a {
		color: #3f3f3f;
		border-bottom: 3px solid #5e5e5e;
	}
	
	#menubar ul li a:hover,
	#menubar ul li:last-child a:hover {
		color: #ff6000;
		border-bottom: 3px solid #ff6000;
	}
    
    .neu {
        position: absolute;
        width: 35px;
        top: 0px;
        left: 130px;
    }

    .neu img {
        width: 100%;
    }

    .neu.ani {
        top: 242px;
    }

    .neu.pub {
        top: 292px;
    }

    .neu.ani.block,
    .neu.pub.block {
        display: block;
    }

    .neu.ani.none,
    .neu.pub.none {
        display: none;
    }
	
	#topbar {
		position: fixed;
		top: -200px;
		left: 0px;
		width: 100%;
		height: 200px;
		background: #6d7073;
		z-index: 6;
		display: block;
	}
    
    #descr {
        margin-right: 200px;
    }

    #descr p {
        color: #fff;
        padding: 3.5em 0em 0em 4em;
        text-align: left;
    }
    
    .ioswebapp {
        position: relative;
        top: 7px;
        width: 35px;
        height: auto;
        display: inline;
    }
	
	#appicon {
		position: absolute;
		top: 50px;
		right: 50px;
		width: 100px;
		height: 100px;
		border-radius: 20px;
		overflow: hidden;
	}
	
	#appicon img {
		width: 100%;
	}

	footer,
    #foot {
		display: none;
	}
	
	#wrapper {
		position: relative;
		width: 100%;
		height: 100%;
		margin: 0 auto;
		z-index: 1;
		-webkit-backface-visibility: hidden;
	}
	
	#kari-slider {
		position: relative;
		max-width: 800px;
		margin: 0 auto;
	}
	
	.kari {
		width: 100%;
		max-width: 800px;
	}
	
	.control-left {
		/*top: -30px;*/
		left: -28px;
		width: 25px;
		height: 50px;
	}
	
	.control-right {
		/*top: -30px;*/
		right: -28px;
		width: 25px;
		height: 50px;
	}
    
    #search {
        margin: 0 auto;
        width: 90%;
    }
    
    .kontakt-form {
        width: 100%;
        max-width: 650px;
    }
    
    .list {
        width: 90%;
        margin: 0 auto;
    }

	
}




@media (max-width: 865px) {
    
    
    .control-left,
    .control-right {
    	display: none;
    }
    
    #blaettern {
        margin-right: 20px;
    }
    
    .pubthumbs li {
        width: 49%;
    }
    
    .cover img {
        width: 95%;
    }
    
    .cover img#prost {
        width: 75%;
    }
    
    #me-img {
        float: none;
        clear: both;
        width: 200px;
        overflow: hidden;
        margin: 0 auto;
    }
    
    #me-img img {
        width: 100%;
    }
    
    #me-text p {
        max-width: 600px;
        line-height: 1.7em;
    }
    
    #me-text {
        width: 90%;
        padding: 1em 5%;
    }

    .fa-facebook-square, .fa-twitter-square, .fa-google-plus-square, .fa-envelope-square {
        font-size: 1.7em;
    }

    div.social {
        position: relative;
        top: 0px;
        width: 100%;
        text-align: center;
        margin-left: 0px;

    }

}




@media (max-width: 600px) {
    
    
    header h1 {
    	padding: 0.5em 0 0.1em;
    }
    
    #menubtn {
		position: absolute;
		top: 21px;
		right: 0px;
		width: 30px;
		height: 20px;
		z-index: 4;
		display: block;
		background: url("../images/icons/ks-menu-btn.png") -60px 0px no-repeat;
		-webkit-background-size: 90px auto;
		-moz-background-size: 90px auto;
		-o-background-size: 90px auto;
		background-size: 90px auto;
		opacity: 1;
	}
	
	#menubtn:hover,
	#menubtn.active-btn {
		background: url("../images/icons/ks-menu-btn.png") -60px -20px no-repeat;
		-webkit-background-size: 90px auto;
		-moz-background-size: 90px auto;
		-o-background-size: 90px auto;
		background-size: 90px auto;
	}
    
    .neu.ani {
        top: 220px;
    }

    .neu.pub {
        top: 270px;
    }

    #descr p {
        padding: 2.5em 0em 0em 1em;
    }
    
    #kari-slider,
    .kari {
    	max-width: 400px;
    }
    
    .control-left,
    .control-right {
    	display: block;
    }
    
    .control-left {
        left: -38px;
    }
    
    .control-right {
        right: -38px;
    }
    
    #blaettern {
        margin: 3.5em 0 5em 0;
    }
    
    .no-iphone5 {
		display: none;
	}
	
	.only-iphone5 {
		display: block;
	}
	
	#menubar ul {
		margin: 20px 0px 120px 0px;
	}
    
    .archiv-icon {
        padding-top: 10px;
    }
    
    .archiv-form {
        padding-top: 0;
        width: 100%;
    }
    
    #me-text {
        width: 100%;
        padding: 1em 0;
    }
    
    #me-text ul.auszeichnungen {
        font-size: 14px;
    }
    
    #me-text ul.auszeichnungen li.jahr {
        float: left;
        width: 15%;
    }
    
    #me-text ul.auszeichnungen li.auszeichnung {
        float: left;
        width: 85%;
    }

    .control-left, .control-right {
        position: absolute;
        top: 110px;
    }

    div.social {
        position: relative;
        top: 0px;
        width: 100%;
        text-align: center;
        margin-left: 0px;
    }

    .anithumbs li a img {
        max-height: 130px;
    }

}




@media (max-width: 520px) {
    
    
    header h1 {
		line-height: 1.2em;
		padding: 0.6em 0 0.1em;
	}
	
	#content {
		padding-bottom: 2em;
	}
	
	.nomobile {
		display: none;
	}
	
	.mobileonly {
		display: block;
	}
	
	.btn {
		padding: 1em 0;
		width: 80%;
		text-align: center;
		margin: 0 auto;
	}
    
    #descr {
        margin-right: 150px;
    }
	
	#descr p {
		font-size: 0.7em;
        padding: 2.5em 0em 0em 2em;
	}
    
    .ioswebapp {
        position: relative;
        top: 6px;
        width: 26px;
        height: auto;
        display: inline;
    }
	
	#appicon {
		right: 25px;
	}
    
    .anithumbs li {
        float: left;
        margin: 10px 1% 0 0;
        width: 49.5%;
    }
    
    .anithumbs li:nth-child(2n+2) {
        margin-right: 0;
    }
    
    .anithumbs li:last-child {
        margin-bottom: 100px;
    }

    select.datum {
        display: block;
        width: 212px;
    }

    div.social {
        position: relative;
        top: 0px;
        width: 100%;
        text-align: center;
        margin-left: 0px;
    }

    .anithumbs li a img {
        max-height: 118px;
    }
}




@media (max-width: 475px) {
    

	.control-left,
    .control-right {
    	display: none;
        visibility: hidden;
    }
    
    #blaettern {
        margin-right: 20px;
    }
    
    .btn {
    	width: 90%;
    }
    
    .pubthumbs li {
        width: 100%;
    }

    .anithumbs li a img {
        max-height: 100px;
    }
	
}




@media (max-width: 320px) {
    
}




/*---------------------------------------------
RETINA SCREENS
----------------------------------------------*/


@media only screen and (-webkit-min-device-pixel-ratio: 2), 
only screen and (min-device-pixel-ratio: 2) {
    
    /* ... */
}





