@charset "utf-8";

/* RESET */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	text-decoration: none;
}

:focus, :active { outline: 0 }

ol, ul { list-style: none }

.right { float: right }
.left { float: left }

/* Clearfix */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
* html .clearfix             { zoom: 1 } /* IE6 */
*:first-child+html .clearfix { zoom: 1 } /* IE7 */

header, nav { display: block } /* HTML5 tags */


/* L A Y O U T */
body { background: url(textur2.jpg) no-repeat top center; min-height: 450px; }

/* Navigation */
ul li {
	display: inline-block;
	position: relative;
	float: left;
	margin-bottom: 32px;
}
ul li a {
	background: url(images/bgNav.png) no-repeat;
	text-indent: -9999px;
	height: 80px;
	width: 155px;
	text-align: center;
	display: block;
	position: relative;
	float: left;
}

.maintwo {
	margin-top: -20px;
	margin-bottom: 10px;
	text-align: center;
}

.maintwo a, span {
	color: yellow;
	font-weight: bold;
}

.maintwo span {
font-size: 18px;
	margin-left: 8px;
	cursor: default;
}
.maintwo a {
	font-size: 10px;
}


.maintwo a:hover {
	color: gray;
}

#main {
	padding-top: 125px;
}

#text {
	max-width: 100%;
}

.lepka p {
	display: none;
}

#nHom { background-position: 0 0 }
#nAbo { background-position: -155px 0px }
#nPro { background-position: -310px 0px }
#nNew { background-position: -465px -80px }
#nSer { background-position: -620px -80px }
#nCon { background-position: -775px 0px }

ul li a span {
	background: url(images/bgNav.png) no-repeat;
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	height: 80px;
	width: 155px;
}

#nHom span { background-position: 0 -80px }
#nAbo span { background-position: -155px -80px }
#nPro span { background-position: -310px -80px }
#nNew span { background-position: -465px 0px; display: block;}
#nSer span { background-position: -620px 0px; display: block;}
#nCon span { background-position: -775px -80px }

/* Hover States */
.cssOnly #nHom:hover { background-position: 0 -80px }
.cssOnly #nAbo:hover { background-position: -155px -80px }
.cssOnly #nPro:hover { background-position: -310px -80px }
.cssOnly #nNew span:hover { background-position: -465px -80px }
.cssOnly #nSer span:hover { background-position: -620px -80px }
.cssOnly #nCon:hover { background-position: -775px -80px }

/* Active State */
.active #nHom { background-position: 0 -160px; cursor: default; }
.active #nPro { background-position: -310px -160px; cursor: default; }

#pull {
	display: none;
}

.prize {
	overflow: hidden;
	margin-bottom: 60px;
}

.prize div {
	float: left;
	margin-bottom: 15px;
}

.prize a {
	color: yellow;
	font-weight: bold;
	text-decoration: none;
}

.pp {
	margin: 0 auto;
	overflow: hidden;
	width: 251px;
	text-align: center;	
}

.about {
	margin: 0 auto;
	width: 500px;
}

.leop p, h3, a {
	text-align: center !important;
	color: yellow;
}


/* ADAPTATION */
@media only screen and (max-width: 1250px) {
	body { 
		background: url(textur3.jpg) no-repeat;
	}
	
			#headermobile {
		margin: 82px auto 38px;
		width: 260px;
		height: 58px;
		background: url(headermobile3.png) no-repeat;
	}

	#main {
		margin: -30px auto -37px !important;
		max-width: 965px;
	}
	
	
	#main {
		margin: 0 auto;
		max-width: 550px;
		padding-top: 0px;
	}

ul li a span {
	background: none;
	display: block;
	position: absolute;
	height: 0px;
}

ul li {
	display: inline-block;
	position: relative;
	float: left;
	margin-bottom: 65px;
}
ul li a {
	background: none;
	text-indent: 0;
	height: 0;
	width: 90px;
	text-align: center;
	display: block;
	position: relative;
	float: left;
}

ul li a span:hover {
	color: gray;
}
	
	

}

@media only screen and (max-width: 947px) {
	#main {
		margin: 0 auto;
		max-width: 550px;
		padding-top: 0px;
	}

ul li a span {
	background: none;
	display: block;
	position: absolute;
	height: 0px;
}

ul li {
	display: inline-block;
	position: relative;
	float: left;
	margin-bottom: 65px;
}
ul li a {
	background: none;
	text-indent: 0;
	height: 0;
	width: 90px;
	text-align: center;
	display: block;
	position: relative;
	float: left;
}

ul li a span:hover {
	color: gray;
}

	.theme-default .nivoSlider {
		width: 652px;
		height: 263px;
	}
	
	.active #nHom { background-position: 0 -160px; cursor: pointer; }
.active #nPro { background-position: -310px -160px; cursor: pointer; }

		#headermobile {
		margin: 82px auto 38px;
		width: 260px;
		height: 58px;
		background: url(headermobile3.png) no-repeat;
	}	
	

}

@media only screen and (max-width: 800px) {

	#main {
		padding-top: 30px;
	}
	#gallery {
		display: none;
	}

	.maintwo {
		margin: 0 auto;
		margin-bottom: 45px;
		width: 246px;
	}

	
	.maintwo span {
		display: none;
	}

	body { 
		background: url(texturmobile.jpg) repeat-y;
	}
	
	#headermobile {
		width: 583px;
		height: 111px;
		background: url(headermobile.png);
		margin: 10px auto 0;
	}
	
	.leplap p {
		text-align: center;
	}
	
}

@media only screen and (max-width: 605px) {
	#headermobile {
		width: 260px;
		height: 162px;
		background: url(headermobile2.png);
	}	
	
	ul li a span {
	font-size: 13px;
}
}

@media only screen and (max-width: 485px) {
	#pull {
		display: block;
		font-size: 14px;
		font-weight: bold;
		color: #e8ddbf;
		text-decoration: none;
		padding: 7px 3%;
		width: 94%;
		position: relative;
		background: gray;
		margin: 20px 0 20px;
	}

	#pull:after {
		content: "";
		background: url(images/icon-menu.png) no-repeat;
		width: 12px;
		height: 13px;
		display: inline-block;
		position: absolute;
		top: 10px;
		right: 5px;
	}

	.clearfix {
		display: none;
	}

	#main {
		padding-top: 0;
		margin: 0 auto;
		max-width: 155px;
	}


	.lepka p {
		display: block;
		text-align: center;
		font-size: 20px;
		margin-bottom: 30px;
	}
	
	.leplap h1 {
		font-size: 16px !important;
	}

	.lepka img {
		display: none;
	}

	.maintwo {
		margin-bottom: 30px;
	}
	
	ul li {
	margin-top: 20px;
}

.about {
	width: 275px;
}

}