* {
	letter-spacing: 1px;
	border:0px;
	border-collapse:collapse;
	webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust:none;
    background-repeat: no-repeat;
    background-position: center;
	padding:0px;
	margin:0px;
	font-family: arial;
	font-size: 15px;
}

html,body {
	height:100%;
	width:100%;
}

html{
	overflow: hidden;
}

body{
	overflow: hidden;
}

p{
	padding: 3px 0px;/*5px*/
}

a{
	color: #FFF;
	text-decoration: underline;
}

#overlay{
	position: fixed;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	background-color: #FFF;
	z-index: 10000;
	display:block;
}

#black{
	background-color: rgba(0,0,0,0.7);
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 1;
	top: 0px;
	left: 0px;
	overflow: auto;
	display: none;
}

#lightbox{
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 3;
	top: 0px;
	left: 0px;
	overflow: auto;
	display: none;
}

	#lightbox > div{
		padding: 70px 0px;
	}

	#lightbox section{
		width: 650px;
		margin: 0px auto;
		margin-bottom: 30px;
		position: relative;
		z-index: 3;
		margin-top: -1px;
	}

		#lightbox section .first{
			margin-top: 32px;
		}

		#lightbox section img:nth-of-type(2){
			margin-top: 10px;
		}

		#lightbox .text section img:nth-of-type(2){
			margin-top: 50px;
		}

		#lightbox section img{
			width: 100%;
			/*padding-top: 30px;*/
			/*margin-bottom: -20px;*/
			margin-bottom: 9px
		}

			#lightbox section img:last-child{
				padding-bottom: 100px;
			}

		#lightbox section #cross{
			width: auto;
			position: absolute;
			right: 0px;
			top: 10px;
			cursor: pointer;
			padding: 0px;
			width: 15px;
		}

		.text #cross{
			top: 20px;
		}

		#lightbox section h2, #lightbox section h3, #lightbox section h1{
			color: #FFF;
			font-size: 15px;
		}

			/*#lightbox section h2:first-child, #lightbox section h3:first-child{
				margin-top: 12px;
			}*/

		#lightbox section article{
			width: calc(100% - 40px);
			padding: 20px;
			background-color: rgb(50,50,50);
			color: #FFF;
			min-height: 100%;
			/*margin-top: 10x;*/
		}

	#lightbox nav{
		width: 960px;
		margin: 0px auto;
		padding: 0px;
		padding-left: 17px;
		margin-top: -16px;
		position: fixed;
		left: 50%;
		/*margin-left: -496px;*/
	}

/*.text{
	padding-top: 150px !important;
}*/

		.text section article{
			float: left;
			width: 285px !important;
			margin-top: 36px;
		}

			.text section article :last-child{
				margin-bottom: 50px;
			}

		/*.text section #cross{
			top: 5px !important;
		}*/

main{
	width: 960px;
	margin: 0px auto;
	display: block;
}

	main nav{
		width: 100%;
		padding: 40px 0px;
	}

		main nav ul{
			list-style-type: none;
			height: 30px;
			position: relative;
			width: 100%;
		}

			main nav ul li{
				display: inline;
				position: absolute;
			}

				main nav ul li:first-child{
					left: 0px;
				}

				main nav ul li:last-child{
					right: 0px;
				}

				main nav ul li a{
					color: #000;
					cursor: pointer;
					text-decoration: underline;
					font-size: 15px;
					position: relative;
					font-weight: bold;
				}

					/*main nav ul li a #selected{
						color: #FFF;
					}*/

	main > section{
		margin-left: -17px;
	}

	main > section div{
		float: left;
		text-align: center;
		margin-left: 12px;/*17px*/
	}

	main > section div > img{
		cursor: pointer;
		margin: 9px 0px;
		display: inline;
		width: 100%;
	}

		main > section div:last-child img{
			margin-right: 0px;
		}

	.selected{
		color:#FFF !important;
		z-index:2;
	}

	.img_link{
		margin-top: 50px;
		margin-bottom: -30px !important;
	}

	#lightbox section h1{
		font-size: 25px;
		padding-bottom: 10px;
	}

	#lightbox section h2{
		font-size: 15px;
	}

	#lightbox section h3{
		font-size: 15px;
		padding-bottom: 3px;
		font-weight: normal;
	}

	footer{
		height: 21px;
		width: 100%;
		text-align: center;
		margin-top: 30px;
		position: relative;
		z-index: 1;
	}

	footer p{
		padding: 0px;
		margin: 0px;
		padding-right: 10px;
		font-size: 11px;
	}

	footer a{
		font-size: 11px;
		color: #000;
	}

@media only screen and (min-width :1960px) {
	#lightbox section{
		width: 900px;
	}

	main{
		width: 1500px;
	}

	.text section article{
		width: 410px !important;
	}


}

@media only screen and (max-width :1023px) {
	#lightbox section{
		width: 400px;
	}

	main{
		width: 700px;
	}

	.text section article{
		width: 160px !important;
	}

	.text section #cross{
		/*top: -25px !important;*/
	}

	#lightbox > div{
		padding-top: 70px;
	}
	
	main nav ul li a{
		color: #000;
	}
}

@media only screen and (max-width :720px) {
	#lightbox section #cross{
		right: 5px;
		top: 40px;
	}

	/*#lightbox section article{
		background-color: #000;
	}*/

	#lightbox section{
		width: 480px;
		margin-top: -15px;
	}

	main{
		width: 480px;
	}

	.text section article{
		width:calc(100% - 40px) !important;
	}

	main > section div:first-child img{
		margin-left: 0px;
	}

	/*.text section article{
		margin-top: 60px;
	}*/

	/*.text section article{
		margin-top: 50px;
	}*/
	
	.text section article:first-child{
		margin-top: 60px;
	}

	.text section article#left{
		/*margin-top: 55px;*/
	}

	.text section article#right{
		margin-top: 9px;
	}

	#lightbox section h2, #lightbox section h3{
		width: 450px;
	}

	#lightbox > div{
		padding: 75px 0px;
	}

	main nav ul li a{
		color: #000;
	}

	.selected{
		color: #FFF !important;
	}
}

@media only screen and (max-width :530px) {
	/*main nav ul li a{
		font-size: 10px;
		padding-left: 5px;
	}*/

	#lightbox section{
		width: 280px;
	}

	#lightbox section h2, #lightbox section h3{
		width: 250px;
	}

	main{
		width: 280px;
	}

		main nav{
			padding-top: 30px;
			padding-bottom: 60px;
		}

			main nav ul{
				text-align: center;
			}

		main nav ul li{
			/*position: static;*/
			display: block;
		}

	.text section article{
		width: 240px !important;
	}

	#lightbox > div{
		padding: 90px 0px;
	}

	main nav ul li {
		width: calc(50% - 10px);
		display: block !important;
	}

	main nav ul li:first-child{
		text-align: left;
	}

	main nav ul li:last-child{
		text-align: right;
	}
}