/*
Theme Name: Template
Author: Grzegorz Religa
*/

body {
	color: #333;
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-family: 'Tahoma', sans-serif;
	background: #fff url('img/background.png') repeat-x;
}

a {
	color: #8e0202;
}

a:hover {
	color: #8e0202;
}

.header {
	width: 1050px;
	height: 198px;
	margin: 0 auto;
	margin-top: 5px;
	position: relative;
}

.header a {
	display: block;
	width: 1076px;
	height: 198px;
	background: url('img/logo.png') no-repeat center;
}

@media(max-width: 645px) {
	.header a { background-position-x: -185px; }
}
@media(max-width: 455px) {
	.header a { background-size: 90%; }
}

.navbar {
	width: 100%;
	border-radius: 0;
	border: none;
	min-height: 45px;
	margin-bottom: 25px;
	background: #fff url('img/menu.png') repeat-x;
}

.nav {
	max-width: 1050px;
	padding: 0 15px;
	margin: 0 auto;
	list-style: none;
	float: none;
}

.navbar-header {
	max-height: 45px;
}

.navbar-header button {
	background: none;
	border: none;
	color: #fff;
}

.navbar-default .navbar-toggle:hover, 
.navbar-default .navbar-toggle:focus {
	background: none;
}

.navbar-header button .icon-bar {
	background-color: #fff !important;
}

.navbar .nav > li:first-child {
	border-left: 1px solid #7a0202;
}

.navbar-default .navbar-nav > li > a {
	color: #fff;
	display: block;
	border-right: 1px solid #7a0202;
	padding: 13px 14px 12px 14px;
	font-size: 13px;
	background: url('img/menu.png') repeat-x;

	-webkit-transition: 0.15s linear background, 0.15s linear color, border-color 0.15s linear;
	-o-transition: 0.15s linear background, 0.15s linear color, border-color 0.15s linear;
	-ms-transition: 0.15s linear background, 0.15s linear color, border-color 0.15s linear;
	-moz-transition: 0.15s linear background, 0.15s linear color, border-color 0.15s linear;
	transition: 0.15s linear background, 0.15s linear color, border-color 0.15s linear;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active> a:focus {
	text-decoration: none;
	background: url('img/menu-2.png') repeat-x;
	color: #333;
}

.navbar-default .navbar-nav > li > a .caret {
	color: #c87575;
	margin: -3px 0 0 5px;

	-webkit-transition: 0.15s linear color;
	-o-transition: 0.15s linear color;
	-ms-transition: 0.15s linear color;
	-moz-transition: 0.15s linear color;
	transition: 0.15s linear color;
}

.navbar-default .navbar-nav > li > a:hover .caret,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a .caret {
	color: #333;
}

.nav li ul {
	z-index: 10;
	display: none;
	width: 550px;
	padding: 10px;
	border-radius: 0 0 5px 5px;
	top: 45px;
	left: -1px;
	background: #f3f2f2;
	height: auto;
	position: absolute;
	border: 1px solid #ccc;
	border-top: none;
}

.nav li.menu-right ul {
	left: auto;
	right: 0;
}

.nav li ul li {
	display: inline;
	float: left;
	width: 50%;
	position: relative;
}

.nav li ul li a {
	display: block;
	padding: 7px 10px;
	font-size: 11px;
	border: none;
	color: #333;
	background: #eee url('img/sidebar-li.png') repeat-x top;
	margin: 3px;
	border: 1px solid #ccc;

	-webkit-transition: 0.15s linear border-color, 0.15s linear color, 0.15s linear background;
	-o-transition: 0.15s linear border-color, 0.15s linear color, 0.15s linear background;
	-ms-transition: 0.15s linear border-color, 0.15s linear color, 0.15s linear background;
	-moz-transition: 0.15s linear border-color, 0.15s linear color, 0.15s linear background;
	transition: 0.15s linear border-color, 0.15s linear color, 0.15s linear background;
}

.nav li ul li a:hover,
.nav li ul .active > a {
	color: #fff;
	border-color: #780000;
	text-decoration: none;
	background: #860303 url('img/menu.png') repeat-x center;
}

.nav li ul li ul {
	background: #860303;
	top: 100%;
	left: 2px;
	margin-top: -4px;
	width: 260px;
}

.nav li ul li ul li {
	width: 100%;
}

.navbar-collapse {
	max-height: none;
	width: 100%;
}

.container {
	max-width: 1050px;
	margin: 0 auto;
}

.sidebar {
	float: left;
}

.sidebar h1 {
	display: none;
}

.sidebar ul {
	background: #fff;
	list-style: none;
	padding: 0;
	margin: 0 0 25px 0;
	border: 1px solid #B9B9B9;
}

.sidebar li {
	position: relative;
	font-size: 12px;
	
}

.sidebar li a {
	display: block;

	padding: 9px 15px 9px 15px;
	color: #000;
	/*background: #960202 url('img/sidebar-li-2.png') repeat-x center;*/
	background: #F8F8F8;
	background: #D5D5D5;
	border-bottom: 1px solid #B9B9B9;

	color: #fff;
	background: #616161;

	-webkit-transition: 0.15s linear background, 0.15s linear color;
	-o-transition: 0.15s linear background, 0.15s linear color;
	-ms-transition: 0.15s linear background, 0.15s linear color;
	-moz-transition: 0.15s linear background, 0.15s linear color;
	transition: 0.15s linear background, 0.15s linear color;
}

.sidebar li.active > a,
.sidebar li a:hover {
	background: #960202 url('img/menu.png') repeat-x center;
	color: #fff;
	text-decoration: none;
}

.sidebar li a .caret {
	float: right;
	margin: 8px 0;
}

.sidebar li:last-child a {
	border-bottom: none;
}
 
.sidebar li ul {
	display: none;
	position: absolute;
	left: 100%;
	top: -1px;
	z-index: 10;
	width: 220px;
}

.slider {
	/*margin: 10px 0;
	overflow: hidden;*/
}

.slider .nivo-controlNav {
	position: absolute;
	margin-top: -36px;
}

body .slider .nivo-controlNav .nivo-control {
	background: #C7C7C7;
	border-radius: 50%;
	width: 9px;
	height: 9px;
}

body .slider .nivo-controlNav .nivo-control.active {
	background: #202020;
}

.content {
	border: 1px solid #ddd;
	background: #fff;
	padding: 0 15px;
	margin-top: 15px;
}

.content h1 {
	padding: 15px;
	margin: 0;
	font-size: 18px;
	text-transform: uppercase;
	font-weight: bold;
}

.content article,
.content .news {
	margin-bottom: 15px;
	border: 1px solid #ddd;
	box-shadow: 0 1px 0 rgba(255,255,255,1) inset;
	background: #f7f7f7 url('img/news.png') repeat-x;
}

.single article,
.content .news {
	margin: 15px 0;
}

article.has-post-thumbnail,
.news.has-post-thumbnail {
	min-height: 245px;
}

.content .news-title h2 {
	font-size: 15px;
	line-height: 25px;
	margin: 0;
	padding: 15px 15px 10px 15px;
	font-weight: bold;
}

.content .news-title h2 a {
	color: #780000;
}

.content .news-title h3 {
	font-size: 11px;
	color: #999;
	margin: 0;
	padding: 0 15px 15px 15px;
}

.content .news-content {
	padding: 0 15px 15px 15px;
	font-size: 13px;
	line-height: 20px;
}

.content .news-content .image {
	width: 200px;
	display: block;
	height: 150px;
	margin: 0 15px 15px 0;
	float: left;
}

.content .news-content .image img {
	display: inline-block;
	float: left;
	margin: 0 15px 0 0;
}

.content .news-content table td,
.content .news-content table th {
  border: 1px solid #ccc;
  padding: 3px 10px;
}

.content .more {
	display: inline-block;
	border: 1px solid #780000;
	background: #fff url('img/menu.png') repeat-x center;
	color: #fff;
	font-size: 11px;
	padding: 5px 10px;
	box-shadow: 0 1px 0 rgba(255,255,255,.2) inset;
}

.content .more:hover {
	text-decoration: none;
}

.content .pagination {
	font-size: 13px;
}

.content .pagination a, .content .pagination span {
	color: #A80000;
}

.content .pagination .active span {
	background-color: #A80000;
	border-color: #A80000;
	color: #fff !important;
}

.content .pagination>li>a:hover,
.content .pagination>li>span:hover,
.content .pagination>li>a:focus,
.content .pagination>li>span:focus {
	color: #A80000;
}

.single .more {
	margin: 0 0 15px 15px;
}

.important {
	margin-bottom: 15px;
	border: 1px solid #7a0202;
	padding: 10px 15px;
	color: #333;
	font-size: 13px;
	box-shadow: 0 1px 0 rgba(255,255,255,1) inset;
	position: relative;
	
	background: rgb(238,238,238);
	background: -moz-linear-gradient(top,  rgba(238,238,238,1) 0%, rgba(247,247,247,1) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,238,238,1)), color-stop(100%,rgba(247,247,247,1)));
	background: -webkit-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(247,247,247,1) 100%);
	background: -o-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(247,247,247,1) 100%);
	background: -ms-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(247,247,247,1) 100%);
	background: linear-gradient(to bottom,  rgba(238,238,238,1) 0%,rgba(247,247,247,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#f7f7f7',GradientType=0 );
}

.important img {
	width: 50px;
	position: absolute;
	top: 50%;
	margin-top: -25px;
}

.important p {
	padding: 15px 0;
	margin-left: 50px;
	margin-bottom: 0;
}

footer {
	width: 100%;
	margin-top: 25px;
	background: #f7f7f7;
	font-size: 12px;
	border-top: 1px solid #ddd;
}

footer .partners {
	max-width: 1050px;
	margin: 0 auto;
	text-align: center;
	padding: 15px 0;
}

footer .copyright {
	max-width: 1050px;
	margin: 0 auto;
	height: 35px;
	padding: 10px 0;
}

@media (max-width: 1090px) {
	.header {
		width: 100%;
		overflow: hidden;
	}

	.navbar > .container-fluid {
		padding: 0;
	}
}

@media (max-width: 1000px) {
	.navbar-header {
		display: block;
	}
	.container>.navbar-header, 
	.container-fluid>.navbar-header, 
	.container>.navbar-collapse, 
	.container-fluid>.navbar-collapse {
		margin: 0;
		padding: 0;
		border: none;
	}

	.navbar-default .navbar-nav > li > a {
		border-left: 1px solid #7a0202;
	}

	.nav > li:first-child {
		border: none;
	}

	.nav li ul {
		width: 100%;
		left: 0;
	}

	.navbar-default .navbar-nav > li > a:hover,
	.navbar-default .navbar-nav > .active > a,
	.navbar-default .navbar-nav > .active > a:hover,
	.navbar-default .navbar-nav > .active> a:focus {
		border-color: #ddd;
	}
}

@media (max-width: 768px) {
	.sidebar li ul {
		left: 0;
		position: relative;
		width: 100%;
		border: none;
		margin-bottom: 0;
		top: 0;
	}

	.sidebar li ul li:last-child a {
		border-bottom: 1px solid #B9B9B9;
	}

	.sidebar li ul li a {
		border: none;
		padding-left: 25px;
		border-bottom: 1px solid #777;
	}

	.sidebar {
		padding: 0;
	}

	.container .row {
		padding: 0 25px;
	}

	footer {
		padding: 0 25px;
	}
}