/*
Theme Name:     Poligon
Description:    Layout witryny firmy Poligon. Do wyłącznego użytku firmy Poligon.
Author:         Paweł Adamowicz &copy; 2012
Author URI:     http://blendit.xaa.pl/
Version:        0.1.0
*/

/* -------------------------------------------------------------- 
  
   Reset default browser CSS.
   
   Based on work by Eric Meyer:
   http://meyerweb.com/eric/tools/css/reset/index.html
   
-------------------------------------------------------------- */

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,
b, u, i, center,
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-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a img { border: none; }

/* -------------------------------------------------------------- */

/* Headings */
h1,h2,h3,h4,h5,h6 {

}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.625em;
}

/* Text elements */
p {
	margin-bottom: 1.625em;
	padding: 0px 0px 0px 34px;
	line-height: 1.3em;
}
ul, ol {
	margin: 0 0 1.625em 2.5em;
	padding-left: 24px;
}
ul {
	list-style: square;
}
ol {
	list-style-type: decimal;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 1.625em;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 1.625em;
}
strong {
	font-weight: bold;
}
cite, em, i {
	font-style: italic;
}
blockquote {
	font-family: Georgia, "Bitstream Charter", serif;
	font-style: italic;
	font-weight: normal;
	margin: 0 3em;
}
blockquote em, blockquote i, blockquote cite {
	font-style: normal;
}
blockquote cite {
	color: #666;
	font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
pre {
	background: #f4f4f4;
	font: 13px "Courier 10 Pitch", Courier, monospace;
	line-height: 1.5;
	margin-bottom: 1.625em;
	overflow: auto;
	padding: 0.75em 1.625em;
}
code, kbd, samp, var {
	font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym, dfn {
	border-bottom: 1px dotted #666;
	cursor: help;
}
address {
	display: block;
	margin: 0 0 1.625em;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}

/* Forms */
input[type=text],
input[type=password],
textarea {
	background: #fafafa;
	border: 1px solid #ddd;
	color: #888;
}
input[type=text]:focus,
textarea:focus {
	color: #373737;
}
textarea {
	padding-left: 3px;
	width: 98%;
}
input[type=text] {
	padding: 3px;
}
input#s {
	background: url(images/search.png) no-repeat 5px 6px;
	font-size: 14px;
	height: 22px;
	line-height: 1.2em;
	padding: 4px 10px 4px 28px;
}
input#searchsubmit {
	display: none;
}

/* Links */
a {
	/*color: #0E9948;*/
	/*color: #21DB00;*/
	color: #10C000;
	text-decoration: none;
}
a:focus,
a:active,
a:hover {
	text-decoration: underline;
}

/* Assistive text */
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #0E9948;
	clip: auto !important;
	font-size: 12px;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}
/* -------------------------------------------------------------- */

body {
	background-color: #808080;
	background-image: url('img/main_bg.png');
	background-position: top center;
	background-repeat: repeat-x;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 75%; /*12pt*/
	color: #444;
}

div.main_container_top {
	margin: 70px auto 0px auto;
	max-width: 1024px;
	height: 11px;
	background-image: url('img/bg_container_top.png');
	background-position: bottom center;
	background-repeat: no-repeat;
}

div.main_container_footer {
	margin: 0px auto 0px auto;
	padding: 145px 0px 10px 0px;
	max-width: 1024px;
	background-image: url('img/bg_footer.png');
	background-position: top center;
	background-repeat: no-repeat;
	text-align: center;
	color: #3C3C3C;
}

.main_container_footer a {
	color: #484848;
}

div.internal_container {
	margin: 0px auto 0px auto;
	background-color: #FFF;
	border-left: 1px solid #d1d1d1;
	border-right: 1px solid #d1d1d1;
	overflow: auto;
}

div.social_media_bar {
	text-align: right;
	color: #FFF;
	padding: 0px 60px;
	max-width: 902px;
	border-bottom: 1px solid #0E9948;
	background-color: #00F603;
	background-image: url('img/bg_header_top.png');
	background-position: top;
	background-repeat: repeat-x;
	min-height: 38px;
}

.social_media_bar a {
	line-height: 38px;
	padding: 0px 5px;
	text-decoration: none;
	color: #FFF;
}

div.title_container {
	padding: 0px;
	max-width: 1022px;
	line-height: 0;
	overflow: hidden;
}

div.menu_bar {
	z-index: 9999;
	padding: 0px 60px;
	max-width: 902px;
	background-color: #008200;
	background-image: url('img/bg_main_link.png');
	background-position: bottom;
	background-repeat: repeat-x;
	min-height: 48px;
}

div.submenu_bar {
	background-color: #EEE;
	background-image: url('img/bg_submenu2.png');
	min-height: 32px;
}

div.float_clear {
	clear: both;
}

div.main_content {
	z-index: 1;
	padding: 18px 0px 18px 0px;
	max-width: 1022px;
	background-image: url('img/bg_main_content.png');
	background-position: top;
	background-repeat: repeat-x;
}

div.internal_content {
	z-index: 1;
	padding: 0px 70px 20px 70px;
	max-width: 882px;
	border: none;
	font-size: 110%;
	line-height: 150%;
}

div.news_box_top {
	margin: 0 auto;
	padding: 0px;
	max-width: 1024px;
	height: 71px;
	background-image: url('img/bg_articles_top.png');
	background-position: bottom center;
	background-repeat: no-repeat;
}

div.news_box{
	padding-top: 6px;
	padding-bottom: 6px;
	overflow: auto;
}

.news_box ul{
	list-style: none;
	margin: 0;
	padding: 0;
	float: left;
}

.news_box > ul > li{
	display: inline;
	float: left;
	padding-right: 5%;
	width: 28%;
}

.widget-social,
.widget-social div,
.widget-social li{
display: inline;
}

/*------------------------------------------------------------------- */
.menu_bar ul,
.submenu_bar ul{
	margin: 0;
	padding: 0;
	width: 100%;
	
}

.menu_bar ul li{
	display: inline;
}

.menu_bar ul li a{
	float: left;
	color: #FFF;
	padding: 18px 11px;
	text-decoration: none;
	
     border-left: none;
    border-right: solid 1px #ebebeb;
}
}

.menu_bar ul li:hover a{
color: #ebebeb;
/*
	background-image: url('img/bg_link_hover.png');
	background-position: bottom center;
	background-repeat: no-repeat;
	
	background-image: url('img/highlight.png');
	background-position: center;
	background-repeat: repeat-x;*/
}

.menu_bar li.current-page-ancestor a,
.menu_bar li.current_page_item a,
.menu_bar li.current-page-ancestor:hover a,
.menu_bar li.current_page_item:hover a{
	background-image: url('img/bg_link.png');
	background-position: bottom center;
	background-repeat: no-repeat;
}

.submenu_bar table{
	padding: 0;
	margin: 0;
	border-spacing: 0;
	border-collapse:collapse;
	border:none;
}

.submenu_bar tr{
	padding: 0;
	margin: 0;
}

.submenu_bar td{
	padding: 0;
	margin: 0;
	border: none;
	width: 25%;
	vertical-align: bottom;
	background: none;
}

.submenu_bar td a{
	display: block;
	color: #484848;
	padding: 14px 7px;
	text-decoration: none;
}
.submenu_bar td a:hover{
color: #1c6f32;}
.submenu_bar td:hover{

	/*background-image: url('img/bg_small_link_hover.png');
	background-position: bottom center;
	background-repeat: no-repeat;
	background-image: url('img/shadow.png');
	background-position: center;
	background-repeat: repeat-x;*/
}

.submenu_bar td.current_page_item,
.submenu_bar td.current-page-ancestor{
	background-image: url('img/bg_small_link.png');
	background-position: bottom center;
	background-repeat: no-repeat;
}

.submenu_bar td.no_hover:hover{
	background: transparent;
	background-image: none;
}
.final_links td {
background-color: #e0e0e0;
}
.final_links td a{
	font-weight: bold;
}

/* ----------------------------------------------------------------- */
h1,h2,h3,h4,h5,h6{
	font-weight: normal;
	margin: 0.6em 0px 0.6em -32px;
	padding-left: 32px;
	z-index: 1;
	color: #AAA;
}

.entry-header h1,
.entry-header h2,
.entry-header h3,
.entry-header h4,
.entry-header h5,
.entry-header h6{
	background-image: url('img/mid_spot_green.png');
	background-repeat: no-repeat;
	background-position: left;
}

h1{
	font-size: 240%;
	line-height: 120%;
	font-weight: normal;
	background-image: url('img/mid_spot_green.png');
	background-repeat: no-repeat;
	background-position: left;
}

h2{
	font-size: 200%;
	line-height: 120%;
	font-weight:lighter;
}

h3{
	font-size: 150%;
	line-height: 150%;
	font-weight:lighter;
}

h4{
	font-size: 120%;
	line-height: 150%;
	font-weight:bold;
}

h5{
	font-size: 120%;
}

h6{
	font-size: 120%;
	font-style: italic;
}

p{
	text-align: justify;
	margin: 8px 0px 8px 0px;
}

div.text a{
	border-bottom: 1px dotted #555;
}

div.text a:active,
div.text a:hover{
	border-bottom: 1px dotted #888;
}	
	
div.text a[rel]{
	border-bottom: none;
}

table{
	margin: 0px 0px 15px 0px;
	padding: 0px;
	border-spacing: 0px;
	border-collapse:collapse;
	width: 100%;
}

th{
	text-align: center;
	vertical-align: top;
	font-weight: bold;
	border-bottom: 1px solid #444;
	border: solid 1px #CCFFCC;
}

td{
	text-align: left;
	vertical-align: top;
	padding: 5px;
	border: solid 1px #CCFFCC;
}
/*
tr:hover>td {
	background: #AAFFAA;
}*/

ul{
	margin-left: 0px;
	padding-left: 48px;
	padding-right: 50px;
	list-style-image: url('img/green_dot.png');
/*	margin: 0px 0px 15px 14px;
	padding: 0px;*/
}

p.quote, p.quotesubscr{
	text-align: right;
	font-size: 120%;
	font-family: "Times New Roman",Georgia,Serif;
	font-style: italic;
}

p.capital:first-letter, p.quote:first-letter{	
	font-size: 200%;
}

/* ------------------------------------------------------------------ */
article.feature-image.small .entry-summary p a {
	z-index: 1;
}
section.recent-posts .other-recent-posts .comments-link a,
section.recent-posts .other-recent-posts .comments-link > span {
	z-index: 1;
}
#nav-single {
	z-index: 1;
}

.nav-previous {
	padding-bottom: 12px;
	float: left;
	width: 50%;
}

.nav-next {
	padding-bottom: 12px;	
	float: right;
	text-align: right;
	width: 50%;
}

/* ------------------------------------------------------------------ */
div.flash_left {
	float: left;
	background: #333;
	overflow: hidden;
	margin: 0px 20px 20px -70px;
	padding-left: 70px;
}

div.flash_right {
	float: right;
	background: #333;
	overflow: hidden;
	margin: 0px -70px 20px 20px;
	padding-right: 70px;
}

div.flash_center {
	text-align:center;
	background: #333;
	width: 100%;
	overflow: hidden;
	margin: 0px -70px 20px -70px;
	padding: 0px 70px 0px 70px;
}

/* ------------------------------------------------------------------ */
div.fbook {
	z-index: 9999;
  position: fixed;
  left: -300px;
  top: 20%;
  width: 292px;
  padding-right: 40px;
  background-image: url('img/bg_fbslider.png');
	background-repeat: no-repeat;
	background-position: top right;
}

div.fbook:hover {
  left: 0px;
}

div.fbinternal{
	background: #CCC;
	border: 1px solid #0E9948;
	border-left: none;
}

.contact_form {
	float:left;
	width:580px;
}

.end {
	clear:both;
}

.contact_dane {
	float:right;
	width:250px;
}

.contact_form form {
	margin:0px;
}

.contact_form input[type="text"] {
	background:#ffffff;
	font-size:12px;
	color:rgba(0,0,0,0.7);
	padding:10px;
	border-radius:3px;
	margin:0 0 10px 0;
	display:block;
	width:100%;
}

.contact_form textarea {
	background:#ffffff;
	font-size:12px;
	color:rgba(0,0,0,0.7);
	padding:10px;
	height:130px;
	border-radius:3px;
	margin:0 0 10px 0;
}

.contact_form input[type="submit"] {
	color:#ffffff;
	background:#10c000;
border-radius:4px;
	border:none;
	padding:15px;
	cursor:pointer;
	font-size:17px;
	font-weight:bold;
}


.yarpp-related {
	margin:60px 0 30px 0!important;
	color:rgba(0,0,0,0.6)!important;
}

.yarpp-related a {
	color:rgba(0,0,0,0.8)!important;
	font-weight:normal!important;
}

.yarpp-related a:hover {
color:#10C000!important;}

.yarpp-related ul {
margin:0!important;
margin-left:0!important;
margin-right:0!important;
padding:0;
}

.yarpp-related ul li {
background:none;
padding:0px;
display:inline-block;
}

/* ------------------------------------------------------------------ */
@media (max-width: 600px) {

	div.internal_container {
		padding: 0 5%;
	}

	div.title_container {
		padding: 0px;
		max-width: 1024px;
	}

	.menu_bar{
		overflow: hidden;
		padding: 0px !important;
	}
	
	.menu_bar ul li a{
		border-top: none!important;
		border-right: none! important;
		
		border-bottom: solid 1px #ebebeb !important;
		 padding: 18px 0px;
	}
	
   

	.menu_bar ul li a,
	.submenu_bar td{
		display: block;
		width: 100%;
		text-align: center;
		overflow: hidden;
	}
	
	div.flash_left,
	div.flash_right,
	div.flash_center {
		text-align:center;
		width: 100%;
		overflow: hidden;
		margin: 0px;
		padding: 0px;
	}
	
	div.fbook
	{
		display:none;
	}
}


.gallery-item {
margin: 10px 0 10px 0!important;
}