/** 
 * Document    : Style
 * Author      : Jerzy Piechowiak
 * Description : Styles document for www.uslugistolarskie.eu
 */

/**
 * Fonts
 */
@font-face {
    font-family: "DroidSansRegular";
    src: url("fonts/DroidSans-webfont.eot");
    src: url("fonts/DroidSans-webfont.eot?#iefix") format("embedded-opentype"),
         url("fonts/DroidSans-webfont.woff") format("woff"),
         url("fonts/DroidSans-webfont.ttf") format("truetype"),
         url("fonts/DroidSans-webfont.svg#DroidSansRegular") format("svg");
    font-weight: normal;
    font-style: normal;

}


/**
 * Basic CSS elements
 */
article, canvas, details, figcaption, figure, footer, header, 
hgroup, menu, nav, section, summary {
	display: block;
}

a{
	text-decoration: none;
}

body{
	background: #F4F4F4;
	padding: 0;
	border: 0;
	font-size: 10pt;
}

body, p, a, table, form, input, select, img, textarea, ul, h1, h2, h3{
	font-family: Tahoma, Arial, Verdana, sans-serif;
	color: #333;
	border: 0;
	margin: 0;
	padding: 0;
	line-height: 1.5em;
}

h1, h2, h3{
	font-family: "DroidSansRegular", "Trebuchet MS", Trebuchet, Arial, sans-serif;
	text-shadow: 0 1px 1px #CCC;
}
	
a:link, a:visited{
	color: #333;
	/*color: #26A;*/
}

a:hover, a:active{
	color: #FF7B00;
}

ul{
	list-style: none;	
}

/**
 * General classes
 */
.center{
	margin: 0 auto;
	width: 950px; 
}

/**
 * Outline
 */
nav > h1,
aside h1,
footer > h1{
	display: none;	
}

/**
 * Page elements
 */

/* Header */
body > header{
	overflow: hidden;
}	
	
body > header > h1{
	float: left;
	display: inline;	
}

body > header > ul{
	margin-top: 32px;
	float: right;
}
	
body > header > ul li{	
	padding-left: 30px;	
	height: 24px;
	margin-bottom: 3px;
}	
	
body > header > ul li:nth-child(1){	
	background: url("gfx/email.png") no-repeat;
}

body > header > ul li:nth-child(2){	
	background: url("gfx/phone.png") no-repeat;
}

/* Nav */
nav{
	background: #522E26;
	box-shadow: 0 0 10px #555;	
	margin: 5px 0 15px 0;
}

nav > ul{
	padding: 0;
}

nav > ul li{
	display: inline-block;
	height: 100%;
	font-size: 18px;
	line-height: 2.2em;
}

nav > ul li.active-tab{
	border-bottom: 2px solid #D5D5D5;
}
	
nav > ul li a{
	font-family: "DroidSansRegular", "Trebuchet MS", Trebuchet, Arial, sans-serif;
	padding-left: 2px;
	padding-right: 50px;
	text-shadow: 0 2px 2px #000;
}

nav > ul li:nth-child(6){
	position: relative;	
	left: 43px;
	width: 260px
}

nav > ul li a:link, nav > ul li a:visited{	
	color: #EAEAEA;	
}

nav > ul li a:hover, nav > ul li a:active{	
	color: #FF7B00;	
}
	
/* Main div */
#main{
	width: 950px;
	margin: 0 auto;
	height: 100%;	
	overflow: hidden;
}

/* Content section */
section#content{
	float: left;	
	width: 670px;
	margin-right: 20px;
}

#content h1{
	font-size: 20px;
}

#content h2{
	font-size: 17px;	
	margin: 5px 0 0 0;
}

#content h3{
	font-size: 15px;	
	margin: 5px 0 0 0;
	letter-spacing: 1px;
	font-weight: bold; 
}

#content ul{
	list-style: inside;
	list-style-type: square;	
}

#content article{
	margin: 10px 0 10px 0;	
}

#content p{
	margin: 5px 0 5px 0;
}

#content a:link, #content a:visited{
	color: #522E26;
}

#content a:hover, #content a:active{
	color: #D66E1A;
}

/* Aside */
aside {
	float: right;	
	width: 260px;
}

aside > ul li {
	height: 16px;
	background: url("gfx/folder.png") no-repeat;
	padding-left: 22px;
	margin-bottom: 10px;	
}

#social{
	margin-top: 25px;
	border-top: 1px solid #DFDFDF;
	border-bottom: 1px solid #DFDFDF;

}

#social li{
	margin: 8px 0;
}

#social li:nth-child(2) span{
	position: relative;
	left: 10px;
}

/* Footer */
footer{
	margin-top: 15px !important;
	border-top: 1px solid #DFDFDF;
	padding: 4px;
	overflow: hidden;
	height: 100%;
}

footer p, footer li, footer a{
	font-size: 8pt;
}

footer ul li{
	display: inline;	
}

footer > ul{
	float: left;
}

footer > span{
	float: right;	
}

footer a:link, footer a:visited{
	color: #555;
}

footer a:hover, footer a:active{
	color: #D66E1A;
}

/*
 * Screns panel
 */
#screens { 
	padding-top: 20px;
	width: 950px;
	clear: both;
}

#screens h1{
	border-bottom: 1px solid #DFDFDF;
	font-size: 17px;
	margin-bottom: 10px;	
	padding-bottom: 5px;
}

#screens img{
	width: 100px; 
	height: 75px; 
	margin: 4px;
	border: 3px solid #DFDFDF;
	box-shadow: 0 0 2px #AAA;
}

/**
 * Pages
 */
 
/* Contact page */
.contact-info{
	width: 310px;
	float: left;
}

.contact-map{
	width: 350px;
	float: right;
	text-align: center;
}

/**
 * Slides
 */
 
#slides{
	margin-top: 15px;
	padding-top: 11px;
	overflow: hidden;
	height: 340px;
	width: 660px;
	background: url("gfx/sliderframe.png") no-repeat;
}

.slides-container {
	width: 590px;
	height: 300px;
	display: inline-block;
	position: relative;
	left: 35px;
}

.slides-container img{
	width: 590px;
	height: 300px;	
}

#slides .slides-next, #slides .slides-prev {
	width: 24px;
	height: 43px;
	position: relative;
	top: -170px;
}

#slides .slides-next {
	left: 610px;
}

.caption{
	z-index: 500;
	position: absolute;
	bottom: -35px;
	left: 0;
	height: 30px;
	padding: 5px 20px 0 20px;
	background: #000;
	background: rgba(0,0,0,.5);
	width: 590px;
	border-top: 1px solid #333;
}

.caption p{
	color: #FFF;
	line-height: 0.8em;
	font-size: 14px;
	font-family: "DroidSansRegular", "Trebuchet MS", Trebuchet, Arial, sans-serif;
	letter-spacing: 1px;	
}

/**
 * Pagination
 */

.pagination {
	margin: -20px auto;
	width: 100px;
}

.pagination li {
	float: left;
	margin: 0 1px;
	list-style: none;
}

.pagination li a {
	display: block;
	width: 12px;
	height: 0;
	padding-top: 12px;
	background-image: url("libs/slides/pagination.png");
	background-position: 0 0;
	float: left;
	overflow: hidden;
}

.pagination li.current a {
	background-position: 0 -12px;
}



