/*
Theme Name: PKN
Author: Virtuart.pl
Version: 1.1
*/

@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,500,700&subset=latin-ext);
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed&subset=latin-ext);
@import url(http://fonts.googleapis.com/css?family=Oswald:400,300&subset=latin-ext);
@import url(css/wordpress-reset.css);

@charset "utf-8";
*{
	margin: 0; 
    padding: 0; 
    border: 0; 
    text-decoration: none; 
    outline: 0;
    box-sizing: border-box;
}
body {	
	word-wrap: break-word;
	font-family: Roboto, "Roboto", arial, sans-serif;
	color: #292929;
	background: url(images/topbg.png) center top no-repeat;	
}

.clr{
	clear: both;
}

.container{
	position: relative;
}

.lang{
	float: right;
	margin-top: 10px;
}
.lang ul{
	list-style: none;
}
.lang ul li{
	display: inline-block;
	margin: 0 3px;
	opacity: 0.8;
	-webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: url(grayscale.svg); /* Firefox 4+ */
  filter: gray; /* IE 6-9 */
  transition: all 0.3s;
}
.lang ul li.current-lang, .lang ul li:hover{
	opacity: 1;
	-webkit-filter: grayscale(0);
  -moz-filter: grayscale(0);
  -ms-filter: grayscale(0);
  -o-filter: grayscale(0);
  filter: grayscale(0);
  filter: url(grayscale.svg); /* Firefox 4+ */
  filter: gray; /* IE 6-9 */
  transition: all 0.3s;
}

.logo{
	text-align: center;
	margin-top: 40px;
}
.logo a{
	color: #212123;
}
.logo a:hover{
	text-decoration: none;color: #212123;
}
.logo img{
	display: inline-block;
	vertical-align: middle;
}
.logo h1{
	display: inline-block;
	vertical-align: middle;
	font-size: 49px;
	font-weight: 400;
	line-height: 60px;
	text-align: left;
	margin-left: 20px;
	font-family: 'Roboto Condensed', 'Roboto', arial, sans-serif;
}
.logo h1 span{
	display: block;
	letter-spacing: 1px;
}
/*nawigacja*/

.nawigacja{	
	font-family: 'Roboto Condensed', 'Roboto', arial, sans-serif;	
	font-size: 18px;
	font-weight: 400;
	text-align: center;
	margin: 30px 0 45px 0;
}
.nawigacja ul{
	list-style: none;	
	margin: 0;
}
.nawigacja ul li{
	display: inline-block;
	border-left: 1px solid #ababac;
	padding: 10px 20px 4px 20px;
	position:relative;
}

.nawigacja ul li a{
	display: block;	
	cursor: pointer;
	color: #212123;
	border-bottom: 1px solid #fff;
	transition: border 0.3s;	
}
.nawigacja ul li a:hover, .nawigacja ul li.current_page_item a, .nawigacja ul li a:active{
	text-decoration: none;
	border-bottom: 1px solid #ed1c24;
	transition: border 0.3s;	
}

/*sub-menu*/
.nawigacja ul li ul.sub-menu{
	visibility: hidden;
	position: absolute;
	z-index: 9999999;	
	margin: 0;
	left: -1px;
	text-align: left;	
	font-size: 12px;
	padding: 7px 0;
	background: #fff;
}

.nawigacja ul li ul li{
	display:block;
	margin-right: 0;
}
.nawigacja ul li ul.sub-menu li a{
	display: block;		
	color: #212121;
	text-shadow: none;	
	border: 0;	
	padding: 10px 20px;
}

.nawigacja ul li ul.sub-menu li a:hover, .nawigacja ul li ul.sub-menu li.current-menu-item a{
	text-decoration: none;	
	color: #ffffff;
	background: #ed1c24;
}

.menu-item-has-children:hover > .sub-menu{
	visibility: visible;	
}

/*slide*/
.slider img{
	width: 100%;
	height: auto;
}
.slider{
	position: relative;
	margin-bottom: 45px;
}
.slider:before{
	content: " ";
	position: absolute;
	z-index: 33;
	top: 0;
	right: 0;
	background: url(images/sliderbefore.png) right top no-repeat;
	height: 29px;
	width: 100%;
}
.slider:after{
	content: " ";
	position: absolute;
	z-index: 33;
	bottom: 0;
	left: 0;
	background: url(images/sliderafter.png) left top no-repeat;
	height: 29px;
	width: 100%;
}
.slider .bx-wrapper .bx-controls-direction a{
	width: 45px;
	height: 45px;
	margin-top: -22px;
	top: 50%;
}
.slider .bx-wrapper .bx-prev{
	background: url(images/prev.png) no-repeat;
	left: 20px;
}
.slider .bx-wrapper .bx-next{
	background: url(images/next.png) no-repeat;
	right: 20px;
}
.slider .bx-wrapper .bx-pager{
	bottom: 10px;
	z-index: 99;	
	padding-top: 0;
}
.slider .bx-wrapper .bx-pager.bx-default-pager a{
	border-radius: 0;
	background: #fff;
	border: 2px solid #ed1c24;
	margin: 0 2px;
	width: 15px;
	height: 15px;
}
.slider .bx-wrapper .bx-pager.bx-default-pager a:hover, .slider .bx-wrapper .bx-pager.bx-default-pager a.active {
	background: #ed1c24;
	border: 2px solid #fff;
}

/*content*/
.title, .subtitle{
	margin: 0;
	font-family: 'Oswald', arial, sans-serif;
	letter-spacing: -1px;
	text-transform: uppercase;
	line-height: 35px;
}
.subtitle{
	font-size: 30px;
	font-weight: 300;		
}
.title{
	font-size: 40px;
	font-weight: 400;	
	border-bottom: 1px solid #ed1c24;
	float: left;
	padding-bottom: 13px;
	margin-bottom: 30px;	
}
.content {
	font-size: 18px;
}
.content p{
	line-height: 24px;
	margin-bottom: 20px;
	display: block;
}
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6{
	font-family: 'Roboto Condensed', 'Roboto', arial, sans-serif;
}
.content h1{
	font-size: 34px;
}
.content h2{
	font-size: 30px;
}
.content h3{
	font-size: 28px;
}
.content h4{
	font-size: 24px;
}
.content h4{
	font-size: 20px;
}
.content h5{
	font-size: 18px;
}
.content h6{
	font-size: 16px;
}
.content table thead tr td{
	text-align: center;
	vertical-align: middle;
	background: #ed1c24;
	padding: 15px 0;
	border:1px solid #fff;
	color: #fff;
}
.content table tbody tr td{
	width: 33%;
	vertical-align: middle;
	font-size: 15px;
}
.content table tbody tr td:nth-child(n+2){
	text-align: center;
}
.content iframe{
	width: 100%;
	height: 350px;
}
.content a{
	color: #ed1c24;
	text-decoration: none;
	transition: color .3s;
}
.content a:hover{
	color: #292929;
	text-decoration: none;
	transition: color .3s;
}

/*produkty*/
.ikona img{
	width: 100%;
	height: auto;
}
.ikona{
	margin-bottom: 30px;
	position: relative;
}
.iko-desc{
	position: absolute;
	width: 100%;
	background: rgba(57,59,53,.85);
	text-align: center;
	bottom: 10px;
	color: #fff;
	transition: all .3s;
	font-size: 16px;
	font-weight: 500;
	padding: 10px 0;
	text-transform: uppercase;
}
.ikona:hover .iko-desc{
	background: #ed1c24;
	color: #fff;
	text-decoration: none;
	transition: all .3s;
}

/*galeria*/
.galeria img{
	max-width: 100%;
	margin-bottom: 30px;
}

.powrot{
	display: block;
	float: left;
	padding: 5px 10px;
	background: #ed1c24;
	color: #fff;
	transition: background-color .3s;
	margin: 0 0 10px 15px;
}
.powrot:hover{
	color: #fff;
	text-decoration: none;
	background: #7a0e13;
	transition: background-color .3s;
}


/*footer*/
.footer{
	border-top: 8px solid #ed1c24;
	margin-top: 40px;
	padding-top: 15px;
}
.footer-logo img{
	max-width: 100%;
}
.foot-desc p{
	font-size: 17px;
	line-height:24px;
}
.foot-desc span{
	font-weight: 500;
	color: #ed1c24;
}
.foot-desc a{
	color: #292929;
}
.foot-desc a:hover{
	color: #ed1c24;
	text-decoration: none;
}
.namiary{
	padding-top: 40px;
}
#totop{
	cursor: pointer;
	padding-top: 30px;
}

.podfooter{
	font-size:	14px;
	margin-top: 30px;
}
.copy{
	float: left;
}
.wykon{
	float: right;
	color: #ed1c24;
}
.wykon:hover{
	color: #ed1c24;
}

/*responsive*/
.tinynav { display: none }

@media (max-width: 1200px) {
	.lang {
		margin-top: 3px;
	}
	.subtitle{
		font-size: 25px;
	}
	.title{
		font-size: 35px;
	}
	.content, .foot-desc p{
		font-size: 15px;
	}
}

@media (max-width: 992px) {		
	.logo h1{
		font-size: 40px;
	}
	.nawigacja ul li{
		padding: 10px 10px 4px 10px;
	}
	.foot-desc p{
		font-size: 12px;
	}
	
	#totop{
		position: absolute;
		z-index: 33;
		right: 0;
	}
}

@media (max-width: 768px) {	
	.tinynav {
		display: block;
		width: 100%;
		cursor: pointer;
		padding: 5px;
		margin: 10px 0 10px 0;
		border: 2px solid #ed1c24;
	}   
   #nav{ display: none }
   .logo {		
		margin-top: 10px;
	}
	.logo h1 {
		font-size: 30px;
		line-height: 30px;
		display: block;
		text-align: center;
	}
	.nawigacja {
		margin: 15px 0 20px 0;
	}
	.footer-logo{
		text-align: center;
		margin-bottom: 16px;
	}
	.foot-desc{
		text-align: center;
	}
	.namiary{
		padding-top: 0;
	}
	#totop {
		right: 10px;
		bottom: 50px;
	}
}

@media (max-width: 560px) {

}
@media (max-width: 480px) {
	.logo h1 {
		font-size: 24px;
		line-height: 24px;
	}
	.slider .bx-wrapper .bx-controls-direction a{
		display: none;
	}
	.subtitle {
		font-size: 15px;
		letter-spacing: 0;
	}
	.title, .subtitle{
		line-height: 25px;
	}
	.title {
		font-size: 25px;
		letter-spacing: 0;
	}
	#totop {	
		bottom: 100px;
	}
	.copy, .wykon{
		float: none;
	}
	.podfooter{
		text-align: center;
	}
}
@media (max-width: 390px) {
	#totop {	
		bottom: 150px;
	}
	.logo h1 {
		font-size: 20px;
		line-height: 20px;
	}
	.subtitle {
		font-size: 14px;
		letter-spacing: 0;
	}
	.title, .subtitle{
		line-height: 20px;
	}
	.title {
		font-size: 20px;
		letter-spacing: 0;
	}
}