/*-------------------------
	Simple reset
--------------------------*/


*{
	margin: 0;
	padding: 0;
	color: #fff;
}

a {text-decoration: none}


/*-------------------------
	General Styles
--------------------------*/


body{
	color:#fcfcfc;
	font:14px/1.3 'Segoe UI',Arial, sans-serif;
	min-height: 330px;
}

/*----------------------------
	Headers & Footers
-----------------------------*/


header{
	width: 100%; 
	position: fixed;
	left: 0;
	top: 0;
	z-index: 777;
}

h2{
	width: 100%; 
	position: fixed;
	left: 0;
	z-index: 888;
}

h1{
	width: 100%; 
	position: fixed;
	left: 0;
	z-index: 999;
}

h1b{
	width: 100%; 
	position: fixed;
	left: 0;
	z-index: 1199;
}

footer{
	width: 100%; 
	position: fixed;
	left: 0;
	z-index: 999;
}



/*----------------------------
	Filter bar
-----------------------------*/


#filter {
	display: block;
	height: 39px;
	position: relative;
	left: 0;
	top: 0px;
	width: 70%;
	text-align:center;
	
	-moz-box-shadow:0 4px 4px #000;
	-webkit-box-shadow:0 4px 4px #000;
	box-shadow:0 4px 4px #000;
}

#filter:before, #filter:after {
	height: 43px;
	position: absolute;
	top: 0;
	width: 78px;
	content: '';
	
	-moz-box-shadow:0 2px 0 rgba(0,0,0,0.4);
	-webkit-box-shadow:0 2px 0 rgba(0,0,0,0.4);
	box-shadow:0 2px 0 rgba(0,0,0,0.4);
}

#filter:before {
	background-position: 0 -47px;
	left: -78px;
}

#filter:after {
	background-position: 0 0;
	right: -78px;
}

#filter a{
	color: #FFFFFF;
	display: inline-block;
	height: 39px;
	line-height: 37px;
	padding: 0 15px;
}

#filter a:hover{
	text-decoration:none;
}

#filter a.active{
	box-shadow:	1px 0 0 rgba(255, 255, 255, 0.2),
				-1px 0 0 rgba(255, 255, 255, 0.2),
				1px 0 1px rgba(0,0,0,0.2) inset,
				-1px 0 1px rgba(0,0,0,0.2) inset;
}

.list-pic {
	width: 250px ;
	height: 168px ;
}
.list-header {
	font-size: 15px ;
	color: #00B7C6 ;
}
.list-button {
	background: 0 0 repeat-x #00B7C6 ;
}
.list-button .disabled{
    background: #00B7C6 ;
}
.list-button:hover {
    background: #006871 ;
}
.list-header-l {
	font-size: 15px ;
	display:block;
	text-align:left;
	float:left;
	width: 70% ;
	white-space:nowrap ;
	overflow: hidden;
	text-overflow: ellipsis;
}
.list-header-r {
	font-size: 15px ;
	display:block;
	text-align:right;
}

.list-text {
	font-size: 12px;
	height: 32px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.list-text2 {
	font-size: 12px;
}
.list-button {
	font-size: 14px;
	display: inline-block;
	line-height: 1.05em;
	font-weight: 400;
	letter-spacing: -1px;
	padding: 3px 12px 3px;
	color: #fff;
	background: #00B7C6 ;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px ;
}
#container{
	position: relative;
	top: -100px;
	display:block;
	overflow:hidden;
	margin:0 auto;
}

#container li{

	float: left;
	height: 244px;
	list-style: none outside none;
	margin: 6px;
	position: relative;
	width: 250px;
	
	-moz-box-shadow: 0 0 5px #000;
	-webkit-box-shadow: 0 0 5px #000;
	box-shadow: 0 0 5px #000;
}

#container ul{
	overflow:hidden;
}

#container ul.hidden{
	display:none;
}


/*----------------------------
	The Footer
-----------------------------*/


footer{
	display:block;
	background-color:#13181d;
	position:fixed;
	width:100%;
	height:70px;
	bottom:0;
	left:0;
}

footer #footer_l {
	display:none;
	position:absolute;
	bottom: 10px;
}
footer #footer_q {
	position:absolute;
	top:40px;
}
footer #footer_r {
	position:absolute;
	bottom: 10px;
}
footer #footer_r2 {
	display:none ;
	position:absolute;
	bottom: 30px;
}
footer #footer_r3 {
	display:none ;
	position:absolute;
	bottom: 10px;
}
footer a.chilli,a.chilli:visited{
	border:none;
	text-decoration:none;
	color:#FCFCFC;
	font-size:12px;
	height:120px;
	left:calc(50% - 60px);
	line-height:22px;
	margin:10px 0px;
	position:absolute;
	width:120px;
	background:url("../img/Portfolio_CHILLI.png") no-repeat right top;
}

/*--- Schmaler Rand -----*/
@media only screen and (max-width: 767px) {
	header{
		height: 12px;
	}
	h2{
		top: 12px;
		height: 70px;
	}
	h1{
		top: 12px;
		height: 70px;
	}
	h1b{
		zoom: 65%;
		-moz-transform: scale(0.65);
		top: 11px;
		height: 130px;
	}
	footer{
		height:40px;
	}
	footer a.chilli,a.chilli:visited{
		margin:30px 0px;
		zoom:55%;
		-moz-transform: scale(0.55);
	}
}
/*--- Breiter Rand -----*/
@media only screen and (min-width: 768px) {
	
	#filter {
		margin: 120px auto 120px ;
		zoom: 100% ;
		-moz-transform: scale(1);
	}
	
	header{
		height: 12px;
	}
	h2{
		top: 12px;
		height: 90px;
	}
	h1{
		top: 12px;
		height: 90px;
	}
	h1b{
		zoom: 100%;
		-moz-transform: scale(1);
		top: 11px;
		height: 120px;
	}
	footer{
		height:50px;
	}
	
	footer a.chilli,a.chilli:visited{
		margin:0px 0px;
		top: 20px ;
		zoom:85%;
		-moz-transform: scale(0.85);
	}
}

/*--- iPhone 4/5 portrait 320 -----*/
@media only screen and (max-width: 359px) {
	#container{
		width: 314px ;
	}
	#filter {
		top: 0px ;
		margin: 210px auto 260px auto;
		zoom: 40% ;
		-moz-transform: scale(0.4);
	}
	footer{
		height:40px;
	}
	footer a.chilli,a.chilli:visited{
		top:-5px;
	}
	#footer_l {
		left: calc((100% - 314px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 314px)/2 + 3px) ;
	}
	
	.list-header-r {
		margin: 3px;
	}
	
	.list-pic {
		width: 314px ;
		height: 212px ;
	}
	#container li{
		height: 295px;
		width: 314px;
		margin: 3px;
	}
}
/*--- Android portrait 360 -----*/
@media only screen and (min-width: 360px) and (max-width: 374px) {
	#container{
		width: 350px ;
	}
	#filter {
		top: 0px ;
		margin: 210px auto 260px auto ;
		zoom: 50% ;
		-moz-transform: scale(0.5);
	}
	footer a.chilli,a.chilli:visited{
		top:-5px;
	}
	#footer_l {
		left: calc((100% - 350px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 350px)/2 + 3px) ;
	}
	
	.list-text {
		margin: 0px 3px 3px 0px ;
		height: 44px;
	}
	
	.list-header-r {
		margin: 3px;
	}
	
	.list-pic {
		width: 350px ;
		height: 234px ;
	}
	#container li{
		height: 340px;
		width: 350px;
		margin: 3px;
	}
}
/*--- iPhone 6 portrait 375 -----*/
@media only screen and (min-width: 375px) and (max-width: 383px) {
	#container{
		width: 367px ;
	}
	#filter {
		top: -50px ;
		margin: 190px auto 140px auto ;
		zoom: 58% ;
		-moz-transform: scale(0.58);
	}
	footer a.chilli,a.chilli:visited{
		top:-5px;
	}
	#footer_l {
		left: calc((100% - 367px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 367px)/2 + 3px) ;
	}
	
	.list-text {
		margin: 0px 3px 3px 0px ;
		height: 44px;
	}
	
	.list-header-r {
		margin: 3px;
	}
	
	.list-pic {
		width: 367px ;
		height: 249px ;
	}
	#container li{
		height: 355px;
		width: 367px;
		margin: 3px;
	}
}
/*--- Android portrait 384 -----*/
@media only screen and (min-width: 384px) and (max-width: 413px) {
	#container{
		width: 358px ;
	}
	#filter {
		top: 0px ;
		margin: 120px auto 150px auto ;
		zoom: 68% ;
		-moz-transform: scale(0.68);
	}
	footer a.chilli,a.chilli:visited{
		top:-5px;
	}
	#footer_l {
		left: calc((100% - 358px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 358px)/2 + 3px) ;
	}
	
	.list-text {
		margin: 0px 3px 3px 0px ;
		height: 44px;
	}
	
	.list-header-r {
		margin: 3px;
	}
	
	.list-pic {
		width: 358px ;
		height: 241px ;
	}
	#container li{
		height: 346px;
		width: 359px;
		margin: 3px;
	}
}
/*--- iPhone 6 portrait 414 -----*/
@media only screen and (min-width: 414px) and (max-width: 479px) {
	#container{
		width: 404px ;
	}
	#filter {
		top: 0px ;
		margin: 120px auto 150px auto ;
		zoom: 70% ;
		-moz-transform: scale(0.7);
	}
	footer a.chilli,a.chilli:visited{
		top:-5px;
	}
	#footer_l {
		left: calc((100% - 404px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 404px)/2 + 3px) ;
	}
	
	.list-text {
		margin: 0px 3px 3px 0px ;
		height: 44px;
	}
	
	.list-header-r {
		margin: 4px;
	}
	.list-pic {
		width: 402px ;
		height: 275px ;
	}
	#container li{
		height: 380px;
		width: 404px;
		margin: 3px;
	}
}
/*--- iPhone 4 landscape 480 -----*/
@media only screen and (min-width: 480px) and (max-width: 567px) {
	#container{
		width: 480px ;
	}
	#filter {
		top: 0px ;
		margin: 110px auto 130px auto ;
		zoom: 80% ;
		-moz-transform: scale(0.8);
	}
	footer{
		height:46px;
	}
	footer a.chilli,a.chilli:visited{
		top: 0px;
	}
	#footer_l {
		left: calc((100% - 480px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 480px)/2 + 3px) ;
	}
	
	.list-text {
		margin: 0px 3px 3px 0px ;
		height: 32px;
	}
	
	.list-header-r {
		margin: 3px;
	}
	.list-pic {
		width: 230px ;
		height: 155px ;
	}
	#container li{
		height: 242px;
		width: 234px;
		margin: 3px;
	}
}
/*--- iPhone 5 landscape 568 -----*/
@media only screen and (min-width: 568px) and (max-width: 666px) {
	#container{
		width: 568px ;
	}
	#filter {
		top: 0px ;
		margin: 100px auto 120px auto ;
		zoom: 90% ;
		-moz-transform: scale(0.9);
	}
	footer{
		height:46px;
	}
	footer a.chilli,a.chilli:visited{
		top: 0px;
	}
	#footer_l {
		left: calc((100% - 568px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 568px)/2 + 3px) ;
	}
	
	.list-text {
		margin: 0px 3px 3px 0px ;
		height: 32px;
	}
	
	.list-header-r {
		margin: 3px;
	}
	.list-pic {
		width: 274px ;
		height: 184px ;
	}
	#container li{
		height: 270px;
		width: 278px;
		margin: 3px;
	}
}
/*--- iPhone 6 landscape 667 -----*/
@media only screen and (min-width: 667px) and (max-width: 735px) {
	#container{
		width: 667px ;
	}
	#filter {
		top: 0px ;
		margin: 100px auto 120px auto ;
		zoom: 90% ;
		-moz-transform: scale(0.9);
	}
	footer{
		height:46px;
	}
	footer a.chilli,a.chilli:visited{
		top: 0px;
	}
	#footer_l {
		left: calc((100% - 667px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 667px)/2 + 3px) ;
	}
	
	.list-text {
		margin: 0px 3px 3px 0px ;
		height: 32px;
	}
	
	.list-header-r {
		margin: 3px;
	}
	.list-pic {
		width: 323px ;
		height: 217px ;
	}
	#container li{
		height: 310px;
		width: 327px;
		margin: 3px;
	}
}
/*--- iPhone 6+ landscape 736 -----*/
@media only screen and (min-width: 736px) and (max-width: 767px) {
	#container{
		width: 736px ;
	}
	#filter {
		top: 0px ;
		margin: 100px auto 120px auto ;
		zoom: 90% ;
		-moz-transform: scale(0.9);
	}
	#footer_l {
		left: calc((100% - 736px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 736px)/2 + 3px) ;
	}
	
	.list-text {
		margin: 0px 3px 3px 0px ;
		height: 32px;
	}
	
	.list-header-r {
		margin: 3px;
	}
	.list-pic {
		width: 358px ;
		height: 240px ;
	}
	#container li{
		height: 326px;
		width: 362px;
		margin: 3px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 785px) {
	#container{
		width: 768px ;
	}
	#container li{
		margin: 3px;
	}
	#filter {
		margin: 120px auto 120px ;
		zoom: 100% ;
		-moz-transform: scale(1);
	}
	#footer_l {
		left: calc((100% - 768px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 768px)/2 + 3px) ;
	}
}
@media only screen and (min-width: 786px) and (max-width: 1023px) {
	#container{
		width: 786px ;
	}
	footer a.chilli,a.chilli:visited{
		top:20px;
	}
	#footer_l {
		left: calc((100% - 786px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 786px)/2 + 3px) ;
	}
}
@media only screen and (min-width: 1024px) and (max-width: 1047px) {
	#container{
		width: 1024px ;
	}
	#container li{
		margin: 3px;
	}
	footer a.chilli,a.chilli:visited{
		top:20px;
	}
	#footer_l {
		left: calc((100% - 1024px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 1024px)/2 + 3px) ;
	}
}
@media only screen and (min-width: 1048px) and (max-width: 1309px) {
	#container{
		width: 1048px ;
	}
	footer a.chilli,a.chilli:visited{
		top:20px;
	}
	#footer_l {
		left: calc((100% - 1048px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 1048px)/2 + 3px) ;
	}
}
@media only screen and (min-width: 1310px) and (max-width: 1571px) {
	#container{
		width: 1310px ;
	}
	footer a.chilli,a.chilli:visited{
		top:20px;
	}
	#footer_l {
		left: calc((100% - 1310px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 1310px)/2 + 3px) ;
	}
}
@media only screen and (min-width: 1572px) and (max-width: 1833px) {
	#container{
		width: 1572px ;
	}
	footer a.chilli,a.chilli:visited{
		top:20px;
	}
	#footer_l {
		left: calc((100% - 1572px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 1572px)/2 + 3px) ;
	}
}
@media only screen and (min-width: 1834px) and (max-width: 2095px) {
	#container{
		width: 1834px ;
	}
	footer a.chilli,a.chilli:visited{
		top:20px;
	}
	#footer_l {
		left: calc((100% - 1834px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 1834px)/2 + 3px) ;
	}
}
@media only screen and (min-width: 2096px) {
	#container{
		width: 2096px ;
	}
	footer a.chilli,a.chilli:visited{
		top:20px;
	}
	#footer_l {
		left: calc((100% - 2096px)/2 + 3px) ;
	}
	#footer_r {
		right: calc((100% - 2096px)/2 + 3px) ;
	}
}

/* Nur Firefox */
@-moz-document url-prefix() {
    h1b{
		top: 11px;
	}
}


/* ====================================================
   MODAL POPUP
   ==================================================== */

.content-to-populate-in-modal {
	display:none !important;
}

.modal {
	color:#fff;
	font-size: 20px ;
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
	border:none !important;
	outline:none !important;
}

.modal-header {
	font-weight: 700;
}

.modal-backdrop {
	border:none !important;
	outline:none !important;    
}

.modal .modal-content {
	background-color:#000;
	background-color: rgba(0,0,0,0.6);
	border: none;
	border-radius: 0;
	outline: 0;
	-webkit-box-shadow: 0 2px 40px rgba(0,0,0,0.3);
	box-shadow: 0 2px 40px rgba(0,0,0,0.3);
	background-clip: padding-box;   
}

.modal .modal-content .modal-body {
	padding:10px 10px;
	text-align: left;
	margin: 5px auto;
	width: 95% ;
}

#close_me {
	width: 32px ;
	height: 32px ;
}


#close_me_info {
	width: 32px ;
	height: 32px ;
	position: absolute;
	right: -14px ;
	top: -9px;
	z-index:2001;
}
.modal .modal-dialog {
	width: 95% ;
	margin: 5px auto;
}  

@media (min-width: 320px) { 
	.modal .modal-dialog {
		width: 300px ;
		margin: 5px auto;
	}  
	.modal .modal-content .modal-body {
		padding: 5px 5px;
	}      
}

@media (min-width: 640px) { 
	.modal .modal-dialog {
		width: 600px ;
		margin: 5px auto;
	}  
	.modal .modal-content .modal-body {
		padding:10px 10px;
	}      
}

@media (min-width: 768px) { 
	.modal .modal-dialog {
		width: 700px ;
		margin: 5px auto;
	}  
	.modal .modal-content .modal-body {
		padding:10px 10px;
	}      
}
@media (min-width: 992px) { 
	.modal .modal-dialog {
		width: 800px;
		margin: 5px auto;
	}        
	.modal .modal-content .modal-body {
		padding:10px 10px;
	}                   
}
