/*
		studiofabryka.pl
		mc, HFS, 12 sty 2012

		last update: mc, 14 sty 2013
*/




/* RESET */
html, body, div, span, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, a, address, img, strong, ul, ol, li, fieldset, form, label, legend, table, tbody, thead tr, th, td, button { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; text-decoration: none; } header, article, footer, aside, section, nav {display:block;} body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } sup { vertical-align: super; font-size: smaller; } small { font-size:smaller; }



@font-face {
    font-family: 'MyriadProSemiboldCondensed';
    src: url('css/font/myriadpro-semiboldcond-webfont.eot');
    src: url('css/font/myriadpro-semiboldcond-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/font/myriadpro-semiboldcond-webfont.woff') format('woff'),
         url('css/font/myriadpro-semiboldcond-webfont.ttf') format('truetype'),
         url('css/font/myriadpro-semiboldcond-webfont.svg#MyriadProSemiboldCondensed') format('svg');
    font-weight: normal;
    font-style: normal;

}


/*
		--- classes, constants
*/

.full {
	position:relative;
	width:100%;
	float:left;
}

.radius(@radius) {
	border-radius: @radius;
	-moz-border-radius: @radius;
	-webkit-border-radius: @radius;
}

::-moz-selection {color: #fff; background: #d70000;}
::selection {color: #fff; background: #d70000;}

body {
	font-family: Tahoma, arial, sans-serif;
	color:@color1;
}

.font {font-family: 'MyriadProSemiboldCondensed'; font-weight:normal;}

@color1: #414042;
@color2: #636262;
@color3: #f6282c;
@color4: #aeaeae;



/*
		--- Basic
*/

header, article, footer, .top, .bottom {.full;}

body {background: white url(images/repeat-bg.jpg) top repeat-x;}

.top {
	background: url(images/topbg.jpg) top no-repeat;
	min-height:761px;
}

.bottom {
	background: #414143 url(images/footer.jpg) top no-repeat;
	height:200px;
}

.content {
	position: relative;
	margin:0 auto;
	width:973px;
}





/*
		--- Typografia
*/

.sub {
	h1, h2, h3, h4, h5 {.font; color:@color1;}

	h1 {
		font-size:30px;
		text-transform: uppercase;
		margin:5px 0 10px 0;
		text-shadow:1px 1px 0 #f5f5f5;
	}

	h2, h3, h4, h5 {
		margin:1em 0 .5em;
	}

	h2 {font-size:23px;}
	h3 {font-size:20px;}
	h4 {font-size:17px;}
	h5 {font-size:15px;}

	.lid p {font-weight:bold;}

	p, .main ul, .main ol {
		color:@color1;
		font-size:12px;
		line-height: 1.4em;
		padding-bottom:1em;
	}

	.main ul li {
		list-style: disc outside;
		margin-left:35px;
	}

	.main ol li {
		list-style: decimal outside;
		margin-left:35px;

		ol li {
			list-style: lower-latin outside;
			margin-left:25px;
		}
	}

	.lid a, .main a {
		color:@color3;
		&:hover {color:@color3 /1.3;}
	}

	.lid p img,
	.main p img {
		border:0px solid @color2 *1.2;
		.radius(10px);
	}

}




/*
		--- Header
*/

.logo {
	position: absolute;
	z-index: 20;
	top:22px;
	left:0;

	transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-webkit-transition: all .3s ease-in-out;

	&:hover {left:5px;}
}

.flags {
	display:none;
	float:left;
	margin:2px 0 0 185px;

	li {float:left;}

	a {
		position: relative;
		overflow: hidden;
		display: block;
		float:left;
		width:35px; height:26px;

		transition: all .2s ease-in-out;
		-moz-transition: all .2s ease-in-out;
		-webkit-transition: all .2s ease-in-out;

		img {
			position: absolute;
			left:0; bottom:0;
		}

		&:hover {
			height:29px;
		}
	}
}

nav {
	float: right;
	margin-top:2px;

	li {
		float:left;
		padding-bottom:5px;
		border-left:1px solid #ccc;
	}

	li:first-child a:hover, .hit:first-child a {font-size:15px !important;}

	a {
		text-transform: uppercase;
		text-align: center;
		font-size: 18px;
		color: @color1;
		float:left;
		.font;

		width:70px;
		margin:0 10px;
		padding:40px 0 11px 0;
		background: url(images/menu-bg.png) 0 -73px no-repeat;

		transition: all .2s ease-in-out;
		-moz-transition: all .2s ease-in-out;
		-webkit-transition: all .2s ease-in-out;
	}

	.hit a, a:hover {
		color:white;
		background: url(images/menu-bg.png) 0 -5px no-repeat;
	}
}

.slideshow {
	float:left;
	margin-top:15px;
	position: relative;
	overflow:hidden;
	width: 974px;
	height: 306px;

	.prev, .next {
		position: absolute;
		cursor: pointer;
		top:130px;
		z-index: 30;

		transition: all .2s ease-in-out;
		-moz-transition: all .2s ease-in-out;
		-webkit-transition: all .2s ease-in-out;
	}
	.prev {
		left: 10px;
		&:hover {left:5px;}
	}
	.next {
		right: 10px;
		&:hover {right:5px;}
	}
}

.home-box {
	float: left;
	.full;
	height:320px;
	z-index: 50;
	margin:-105px 0 0 0;
	background: url(images/home-main-box.png) top no-repeat;

	a img {
		transition: opacity .3s ease-in-out;
		-moz-transition: opacity .3s ease-in-out;
		-webkit-transition: opacity .3s ease-in-out;

		&:hover {
			opacity:.7;
			filter:alpha(opacity=80);
		}
	}
}

.pages {
	position: absolute;
	z-index: 100;
	width:100%;
	text-align: center;
	top:48px;
	left:0;

	a {
		padding:6px;
		font-size:0px !important;
		margin:0 1px;
		color: transparent;
		text-indent: -9999em;
		overflow: hidden;
		background: url(images/page.png) 0 0 no-repeat;
	}
	.activeSlide {background: url(images/activeSlide.png) 0 0 no-repeat;}
}

.home-box {
	.box {
		margin-top:105px;
		float:left;
		height: 208px;

		h2 {
			color:white;
			float:left;
			width:100%;
			.font;
			height:23px;
			font-size: 22px;
			padding:0 0 0 15px;
			text-transform: uppercase;
			background: url(images/raquo.png) 0 6px no-repeat;
		}

		img {float:left;}
	}

	.item1 {
		width:226px;
		margin-left:42px;
		img {margin-left:-5px;}
	}
	.item2 {
		width:212px;
		img {margin-left:-16px;}
	}
	.item3 {
		width:212px;
		margin-left:23px;
		img {margin-left:-16px;}
	}
	.item4 {
		width:212px;
		margin-left:24px;
		img {margin-left:-13px;}
	}
}







/*
		--- Article
*/

.txt-boxes {
	float:left;

	.box {
		float:left;
		width:194px; height:200px;
		padding:10px 20px;
		border-right:1px solid #e2e2e2;

		p {
			font-size:12px;
			line-height: 1.3em;
			text-align: justify;
			text-indent: 2em;
			color:@color2;
		}
	}
	.box:first-child {
		border-left:1px solid #e2e2e2;
		margin-left:15px;
	}
	.item3 {width:196px;}
	.item4 {width:194px;}
}

.more {
	float:right;
	color:@color3;
	font-size:11px;
	margin:0.5em 0;
	padding-right:10px;
	background: url(images/more.png) right 3px no-repeat;

	&:hover {
		color:@color3 /1.5;
	}
}





/*
		--- Article sub
*/

.sub .article-top {
	margin-top:-150px;
}

.sub .pages {
	top:277px;
}

.sub .article-top,
.sub .article-bottom {
	float:left;
	margin-left:11px;
	position: relative;
	z-index: 30;
}

.sub article {
	z-index:30;
	margin-top:-10px;
	margin-left:-1px;
	background: url(images/article-repeater.jpg) top repeat-y;

	.article-inner {
		min-height:268px;
		background: url(images/article-inner.jpg) top no-repeat;
	}
}

aside {
	float:left;
	width:190px;
	overflow:hidden;
	margin:-50px 0 10px 35px;

	li {
		float:left;
		clear:left;
		width:100%;
	}

	a:hover, .current > a {
		color: @color3 !important;
		cursor: pointer;
	}

	.current {background: url(images/current.png) 0 4px no-repeat;}

	.lvl1 > li {border-top:1px solid #ccc;}

	.lvl1 > li:first-child {border:0;}

	.lvl1 > li > a {
		.font;
		float:left;
		width:100%;
		font-size:26px;
		color:@color1;
		line-height:1.3em;
		margin-left:15px;
		padding:3px 0 3px 14px;
		background: url(images/lvl1.png) 0 15px no-repeat;
	}

	.lvl1 > li > a:hover,
	.lvl1 > li.current > a {
		background: url(images/lvl1-hover.png) 0 15px no-repeat;
	}

	.lvl2 {
		float:left;
		margin-left:30px;
		padding-bottom:10px;
	}

	.lvl2 > li > a {
		.font;
		color:@color1;
		font-size:20px;
		padding:2px 0 2px 14px;
		background: url(images/lvl2.png) 0 10px no-repeat;
	}

	.lvl2 > li > a:hover,
	.lvl2 > li.current > a {
		background: url(images/lvl2-hover.png) 0 10px no-repeat;
	}

	.lvl3 {
		float:left;
		margin-left:15px;
		margin-bottom: 5px;
	}

	.lvl3 a {
		.font;
		color:@color1;
		font-size:12px;
		text-transform: uppercase;
		padding:0 0 0 10px;
		background: url(images/lvl3.png) 0 4px no-repeat;
	}
}

.sections {
	float:left;
	width:660px;
	margin:-50px 0 10px 50px;
}





/*
		--- Footer
*/

address {
	float:left;
	font-style: normal;
	font-size: 11px;
	color:@color4;
	margin:40px 0 0 16px;
	a {color:@color4; &:hover{color:@color4 *1.2;}}
}

.madeby {
	float:right;
	margin:37px 12px 0 0;

	img {float:left;}

	strong {
		color: white;
		font-weight:normal;
		font-size:10px;
		float:left;
		margin:3px 4px 0 0;
	}
}







/*
		--- Gallery
*/

.gallery {
	float:left;
	width:100%;
	margin:15px 0 0 0;

	ul {
		margin:0 !important;
		padding:0 !important;
		width:102%;
		float:left;
	}

	li {
		list-style:none !important;
		float:left;
		margin:0 0 15px 15px !important;
		position: relative;
		padding:0 !important;
		position: relative;
		overflow: hidden;
	}

	a {
		float:left;
		display:block;
	}

	img {
		border:0;
		padding:0;
		float:left;
		border:0;
		display:block;
		border:3px solid @color2 *1.2;
		.radius(10px);

		opacity:.9;
		filter:alpha(opacity=90);

		transition: all .3s ease-in-out;
		-moz-transition: all .3s ease-in-out;
		-webkit-transition: all .3s ease-in-out;
	}

	a:hover img {
		opacity:1;
		filter:alpha(opacity=100);
	}

	li:first-child {margin-left:0 !important;}
}

.gi {

	li {
		width:152px;
	}

	img {
		border:1px solid @color1;
	}

	strong {
		float:left;
		width:100%;
		font-size:16px;
		text-align:left;
		color:@color1;
		padding:3px 0 0 0;
	}
}


.sub .ba {
	width:666px;
	height:449px;
	margin:0 0 30px 0;
}

.ba-caption {
	position: absolute;
	bottom:0; left:0;
	z-index:100;
	padding:8px 5px;
	width:656px;
	background: url(images/white80.png);
	.font;
	text-align:center;
	font-size:21px;
	text-transform: uppercase;
}





/*
		--- other
*/

table {
	margin:15px auto;
	border-collapse:separate;
	border-spacing:2px;

	td {
		padding:5px !important;
		border:1px solid #ccc;
		font-size:12px;
	}

	td p {padding:0 !important;}
}

#main ul li {
	list-style:disc inside;
	margin-left:20px;
}

#main ol li {
	list-style:decimal inside;
	margin-left:20px;
}









/*
		--- Formularz
*/

.form {
	border-top:1px dashed #ccc;
	float:left;
	margin-top:15px;
	padding-top:15px;
	width:100% !important;

}

#contact-form {
	width:99%;
	padding-bottom:15px;
	}
	fieldset:first-child {width:40%;}
	fieldset {
		float:left;
		width:60%;
	}
	.subject {display:none;}
	label {
		float:left;
		width:100%;
		margin:3px 0;
		}
		label span {
			float:left;
			width:100%;
			color: @color1 *1.5;
			font-size:12px;
			padding:3px;
		}

		label input, textarea {
			float:left;
			width:90%;
			padding:3px 6px;
			border:1px solid #ccc;
			.radius(8px);
		}

		textarea {
			width:97%;
			height:110px;
		}

		#contact-form button {
			float:right;
			background: @color2;
			color: white;
			font-size:13px;
			font-weight:bold;
			padding:5px 10px;
			cursor:pointer;
			.radius(10px);

			transition: all .3s ease-in-out;
			-moz-transition: all .3s ease-in-out;
			-webkit-transition: all .3s ease-in-out;

			&:hover {
				background: @color2 /1.2;
				box-shadow: 0 0 6px @color1 inset;
			}
		}

		form #error,
		form #ok {
			display:none;
			float:left;
			padding:7px 10px;
			background: #ff0000;
			margin-left:5px;
			color: #fff;
			font-weight:bold;
			font-size:13px;
			.radius(10px);
		}

		form #ok {background: #1fac06;}

		.error-input {
			border:1px solid #ff0000;
			background: #ffe1e1;
		}

.mapa {
	float:right;
	margin-bottom:15px;

	small {
		font-size:10px;
		color:@color1;

		a {
			color: @color2 !important;
			&:hover {color:@color2 /2 !important;}
		}
	}
}









/*
		--- download
*/

#download {
	float:left;
	width:99% !important;
	margin-top:15px;
	padding-top:5px;
	border-top:1px dashed #ccc;

	li {
		float:left;
		clear:left;
		padding:3px 0;
		margin-left:20px;
		padding-left:20px;
		list-style:none !important;
		background: url(images/download.png) 0 4px no-repeat;
	}

	a {
		font-size:12px;
		color: @color1 !important;

		&:hover {
			text-decoration:none;
			color: @color3 !important;
		}
	}

	.typPliku {color:@color3;}
}





/*
		--- paginator
*/

#pages-container {
	float:left;
	width:100%;
	#pages {
		float:left;
		width:100%;
		text-align: center;
		padding:0 !important;

		* {
			font-size:12px;
			display:inline;
			float: none !important;
		}

		a, span {
			padding:0 5px;
		}

		a {cursor:pointer;}
	}
}

.jPag-current {color: #999;}








/*
		--- sortowalna tabela z menu
*/


.menu table {
	border-collapse: collapse;
}

.menu td {
	padding:5px;
	border:0;
	border-top: 1px dashed #d9c4ae;
}

.menu .even td {
	background: #f2ebdf;
}

.menu tr td:first-child,
.menu .prices {text-align:center;}

.menu tr:first-child td {border:0;}

.sort tr:hover td {
	color: white;
	background: @color3;
}

thead th {
	color:@color2;
	font-weight:bold;
	font-size:13px;
	text-align:left;
	border: 1px solid #d9c4ae;
	padding:3px 20px 3px 5px;
	background: url(images/table-unsort.gif) right no-repeat;
	cursor:pointer;
}

thead th.notsorted {
	background: none;
	cursor: text;
}

th.headerSortUp {
    background-image: url(images/table-asc.gif);
    background-color: #fef7ed;
}

th.headerSortDown {
    background-image: url(images/table-desc.gif);
    background-color: #fef7ed;
}

table.sort {
	width:85%;
	margin:10px auto;
}

.sort .item0 {width:22px;}
.sort .item1 {width:160px;}
.sort .item2 {width:300px;}
