/*
Theme Name: Parowozownia 2.0
Author: N/N
Description: Motyw ParowozowniWolsztyn
Version: 1.0

*/
input[type="checkbox"i] {
	width: 16px;
}

span.wpcf7-list-item {
	margin: 0 !important;
}

input {
	width: 100%;
	padding: 6px 10px;
	margin: 8px 0;
	box-sizing: border-box;
	border: 2px solid #CCC;
	border-radius: 4px;
	background-color: #F8F8F8;
}

textarea {
	width: 100%;
	height: 150px;
	padding: 6px 10px;
	box-sizing: border-box;
	border: 2px solid #CCC;
	border-radius: 4px;
	background-color: #F8F8F8;
	resize: none;
}

img.alignright {
	float: right;
	margin: 0 0 1em 1em;
}

img.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

body {
	margin: 0;
	font-family: 'PT Sans', sans-serif;
}

h2 {
	margin: 5px;
}

#container {
	margin-left: auto;
	margin-right: auto;
	min-width: 1200px;
}

#nav {
	text-align: center;
	width: 100%;
	height: 60px;
	background: linear-gradient(to bottom, rgba(255, 204, 51, 1) 30%, rgba(0, 0, 0, 1) 100%);
	/*background: linear-gradient(to bottom, rgba(255,204,51,1) 30%, rgba(0,0,0,1) 100%);*/
	line-height: 60px;
	list-style-type: none;
	font-size: 20px;
	color: #FFF;
	font-weight: bold;
}

#nav>ol {
	margin: 0;
	padding: 0;
	text-align: center;
	height: 60px;
	background: linear-gradient(to bottom, rgba(255, 204, 51, 1) 30%, rgba(0, 0, 0, 1) 100%);
	/*background: linear-gradient(to bottom, rgba(255,204,51,1) 30%, rgba(0,0,0,1) 100%);*/
	line-height: 60px;
	list-style-type: none;
	display: inline-block;
	font-size: 20px;
	color: #FFF;
	font-weight: bold;
	position: relative;
}

#nav>ol a {
	padding: 0 10px;
}

#nav>ol>li {
	padding: 0;
	display: inline-block;
	float: left;
}

#nav>ol>li>a {
	text-decoration: none;
	display: block;
	color: #FFF;
}

#nav>ol>li:hover>a {
	background: linear-gradient(to bottom, rgba(231, 182, 37, 1) 30%, rgba(0, 0, 0, 1) 100%);
	/*background: linear-gradient(to bottom, rgba(255,204,51,1) 0%, rgba(158,115,6,1) 100%);*/
}

#nav>ol>li:hover {
	background-color: #C10C03;
}

#nav li:hover>ul {
	display: block;
}

#nav>ol>li>ul {
	display: none;
	background: #D6A514;
	position: absolute;
	/*left: 0;*/
	top: 60px;
	padding: 0;
	z-index: 2;
	line-height: 40px;
}

#nav>ol>li>ul>li a {
	display: block;
}

#nav>ol>li>ul>li:first-child {
	border-top: solid 0 #000;
}

#nav>ol>li>ul>li {
	border-top: solid 1px #000;
	position: relative;
	display: block;
	padding: 0;
}

#nav>ol>li>ul>li:hover {
	background: #C59403;
}

#nav>ol>li>ul>li>ul {
	position: absolute;
	left: 100%;
	width: 120%;
	background: #ffce3b;
	list-style-type: none;
	margin-top: -2em;
	padding: 0;
	display: none;

}

#nav>ol>li>ul>li:hover>ul {
	display: block;
}

#nav>ol>li>ul>li>ul>li:hover {
	background: #ffbf00;
}

#nav>ol>li>ul>li>ul>li a {
	display: block;
}

#nav>ol>li>ul>li>ul>li:first-child {
	border-top: solid 0 #000;
}

#nav>ol>li>ul>li>ul>li {
	border-top: solid 1px #000;
	position: relative;
	display: block;
	padding: 0;
}



a {
	text-decoration: none;
	color: #000;
}

.tresc a {
	text-decoration: underline;
}

.tresc a:hover {
	font-weight: bold;
}

#logo {
	text-align: center;
	position: relative;
	width: 100%;
	display: block;
	background: #000;
}

#logo2 {
	position: relative;
	background: url(images/coal.jpg) repeat;
	display: block;
}

#logo>img {
	display: block;
	margin-top: -250px;
}

@media screen and (max-width: 1931px) {
	#logo2>img {
		display: block;
		margin: auto;
		width: 100%;
	}
}

@media screen and (min-width: 1930px) {
	#logo2>img {
		display: block;
		margin: auto;
		max-height: 505px;
	}
}

@media screen and (min-width: 1200px) {
	.bip {
		width: 30px;
		height: 30px;
		float: left;
		position: absolute;
		top: 10px;
		right: 1%;
		z-index: 2;
	}
}

@media screen and (max-width: 1199px) {
	.bip {
		width: 30px;
		height: 30px;
		position: absolute;
		margin-left: 1100px;
		z-index: 3;
		top: 10px;
	}
}

@media screen and (min-width: 1310px) {
	#nav>a>img {
		position: absolute;
		margin-left: -250px;
		z-index: 2;
		top: 10px;
	}
}

@media screen and (max-width: 1309px) {
	#nav>a>img {
		max-height: 80px;
		position: absolute;
		left: 0;
		margin-left: 10px;
		z-index: 2;
		top: 10px;
	}
}

#terminarz {
	padding: 10px;
	text-align: center;
	width: 300px;
	height: 100px;
	background: #000;
	color: #FFF;
	position: absolute;
	z-index: 2;
	top: 80px;
	left: 71px;
	padding-bottom: 20px;
	border: 2px solid #F3BD27;
	border-radius: 5px;
}

#top {
	padding: 10px 0 10px 0;
	width: 100%;
	background: #EEE;
	text-align: center;
	vertical-align: text-middle;
	font-weight: bold;
	float: left;
}

#up {
	width: 1200px;
	overflow: hidden !important;
}

#title {
	border-right: 5px solid #F3BD27;
	width: 300px;
	font-size: 40px;
	padding: 0 0 15px;
	display: table-cell;
	height: auto;
	float: left;
	padding-bottom: 200px;
	margin-bottom: -200px;
	overflow: hidden !important;
}

#title-2 {
	float: left;
	width: 895px;
	font-size: 30px;
	padding: 5px 0 15px 0;
	display: table-cell;
	height: auto;
	padding-bottom: 200px;
	margin-bottom: -200px;
	overflow: hidden !important;
}

#container2 {
	margin-left: auto;
	margin-right: auto;
	width: 1100px;
}

#content {
	margin-top: 10px;
	text-align: center;
	width: 100%;
	float: left;
}

#posty {
	width: 825px;
	padding: 0 35px;
}

h1 {
	margin: 0 0 10px 0;
	font-size: 20px;
	text-align: left;
	background: #F3BD27;
	font-weight: 700;
	padding: 10px 15px;
}

.tresc {
	text-align: justify;
	width: 100%;
	padding: 0 0 20px 0;
	cursor: default;
}

.tresc>p {
	padding: 0 15px;
}

.data {
	float: right;
	font-size: 14px;
	font-style: italic;
}

.post {
	background: url("images/post.png");
	height: 480px;
	width: 255px;
	margin: 0 10px 20px 10px;
	float: left;
	display: block;
	display: inline-block;
	border-radius: 5px 5px 0 0;
}

img.attachment-post-thumbnail {
	width: 245px;
	margin: 5px;
	height: auto;
	border-radius: 5px;
}

.tytul {
	text-align: center;
	font-size: 1.5em;
	font-weight: bold;
	margin: 5px 0 10px 0;
}

.tekst {
	padding: 0 10px 20px 10px;
	text-align: center;
}

.tekst>p {
	margin: 0;
}

.tresc>table {
	background-color: #FFF;
	border: 2px solid #FFF;
	width: 100%;
	text-align: center;
	border-collapse: collapse;
}

.tresc>table td,
.tresc>table th {
	border: 1px solid #B8B8B8;
	padding: 3px 4px;
}

.tresc>table tbody td {
	font-size: 13px;
}

.tresc>table td:nth-child(even) {
	background: #EBEBEB;
}

.tresc>table thead {
	background: #FFF;
	border-bottom: 4px solid #333;
}

.tresc>table thead th {
	font-size: 15px;
	font-weight: bold;
	color: #333;
	text-align: center;
	border-left: 2px solid #333;
}

.tresc>table thead th:first-child {
	border-left: none;
}

.tresc>table tfoot {
	font-size: 14px;
	font-weight: bold;
	color: #333;
	border-top: 4px solid #333;
}

.tresc>table tfoot td {
	font-size: 14px;
}

#sidebar {
	display: none;
	margin: 10px 35px 50px 0;
	width: 305px;
	min-height: 200px;
	float: left;
}

#sidebar>ol {
	width: 300px;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#sidebar>ol>li {
	font-size: 20px;
	list-style-type: none;
	margin: 0;
	padding: 10px 0;
	background: #F3BD27;
	font-weight: bold;
	text-align: center;
}

#sidebar>ol>ul {
	padding: 0;
}

#sidebar>ol>ul>li {
	list-style-type: none;
	padding: 5px 15px;
	margin: 0;
	border-bottom: 1px solid #CCC;
}

#sidebar>ol>ul>li>a {
	text-decoration: none;
}

#sidebar>ol>ul>li>a:hover {
	font-weight: 700;
}

#sidebar>ol>ul>li>ul {
	display: none;
	list-style: none;
	padding: 0;
	margin: 10px;
}

#sidebar>ol>ul>li>ul>li {
	border-top: 1px solid #CCC;
}

#sidebar>ol>ul>li>ul>li:hover>a {
	font-weight: 700;
}

#sidebar>ol>ul>.current-menu-item>ul {
	display: block !important;
}

#sidebar>ol>ul>.current-menu-ancestor>a {
	font-weight: 700;
}

#sidebar>ol>ul>.current-menu-ancestor>ul {
	display: block !important;
}

#sidebar>ol>ul>li>ul>.current-menu-item {
	font-weight: 700;
}

#strony {
	width: 900px;
	float: right;
}

#sidebar>ol>ul>.current-menu-item>a {
	font-weight: 700 !important;
}

#button1 {
	font-weight: bold;
	width: 275px;
	padding: 10px 0;
	float: left;
	font-size: 18px;
	margin: 0 0 10px 0;
}

#button2 {
	font-weight: bold;
	font-size: 18px;
	width: 275px;
	padding: 10px 0;
	float: right;
	margin: 0 0 10px 0;
}

#button1:hover,
#button2:hover {
	color: #333;
}

#footer {
	overflow: hidden;
	background: #333;
	clear: both;
	min-width: 1200px;
	height: auto;
	text-align: center;
	margin: auto;
	/*position:relative;*/
}

.vcard2 {
	float: left;
	width: 100% !important;
	height: auto;
	display: block;
	color: #FFF;
	margin-bottom: 20px;
}

#pages {
	width: 100%;
	float: right;
}

/*MOBILNA WERSJA*/

#input-toggle {
	display: none;
}

.navigation {
	display: none;
}

@media screen and (max-width: 800px) {
	.navigation {
		position: relative;
		z-index: 2;
		right: 0;
		display: inline-block;
		width: 30px;
		height: 25px;
		padding: 15px;
		margin-bottom: 2px;
		margin-right: 5px;
		cursor: pointer;
		float: right;
	}

	#line1,
	#line2,
	#line3 {
		position: absolute;
		display: block;
		width: 30px;
		height: 4px;
		transition: 0.5s;
		border-radius: 4px;
		background-color: #F5F5F5;
	}

	#line1 {
		top: 15px;
	}

	#line2 {
		top: 23px;
	}

	#line3 {
		top: 31px;
	}

	.click #line1 {
		transform: rotate(-45deg);
		top: 23px;
	}

	.click #line2 {
		opacity: 0;
	}

	.click #line3 {
		transform: rotate(45deg);
		top: 23px;
	}

	@keyframes show-nav {
		0% {
			transform-origin: 50% 0;
			transform: scaleY(0);
		}

		100% {
			transform-origin: 50% 0;
			transform: scaleY(1);
		}
	}

	.show {
		transform: scaleY(1) !important;
		animation: show-nav ease 0.5s;
		position: absolute !important;
	}

	#nav>a>img {
		position: relative;
		height: 100%;
		float: left;
		top: 0;
	}

	#nav>ol {
		display: none;
	}

	.bip {
		display: none;
	}

	#container {
		min-width: auto;
	}

	#terminarz {
		/*padding: 10px;
		text-align: center;
		width: 300px;
		height: 100px;
		background: #000;
		color: #FFF;
		position: absolute;
		bottom: 5px;
		left: 0;
		padding-bottom: 20px;
		border: 2px solid #F3BD27;
		border-radius: 5px;*/
		display: none;
	}

	.post {
		background: url(images/post.png) no-repeat;
		height: 480px;
		width: 255px;
		margin: 0 10px 20px 10px;
		display: table-caption;
		float: none;
		border-radius: 5px 5px 0 0;
	}

	/*	.post img
	{
		max-height: 300px;
		max-width: 245px;
		width: auto;
		display: block;
	}*/
	#container2 {
		width: 100%;
	}

	#title-2 {
		width: 100%;
	}

	#content {
		margin-top: 10px;
		text-align: center;
		width: 100%;
		float: left;
	}

	#posty {
		width: 90%;
		padding: 0 5%;
	}
	#sidebar {
		display: block;
		padding: 0;
		transform: scaleY(0);
		height: auto;
		width: 100%;
		min-height: 0;
		top: 60px;
		position: absolute;
		z-index: 100;
		background: #999;
		margin: 0;
	}

	
	#sidebar>ol {
		width: 100%;
		margin-bottom: 10px;
		text-align: center;
		font-size: 20px;
	}

	#sidebar>ol>li {
		display: none;
	}

	#sidebar>ol>ul>li>a {
		width: 100%;
		display: block;
	}

	.tresc img {
		width: 100%;
		height: auto;
	}

	.post .img {
		max-height: 300px;
	}

	#footer {
		min-width: auto;
	}

	#address {
		width: 100% !important;
		min-width: auto;
	}

	#face-slider {
		display: none;
	}
}