@import url('loading.css');

html, body {
	font-family: 'Titillium Web', sans-serif;
	padding: 0;
	margin: 0;
	height: 100%;
	min-height: 100%;
	overflow-x: hidden;
}

p {
	font-size: 16px;
}

h3, .h3 {
	font-size: 30px;
}
h2 {
	font-size: 60px;
}
h1, h2, h3 {
	margin-top: 30px;
	margin-bottom: 5px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: inherit;
	font-weight: 400;
	line-height: 1.1;
	color: inherit;
}

.equal {
	display: flex;
	flex-wrap: wrap;
}
.equal > div[class*='col-'] {  
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.equal-top > div[class*='col-'] {  
	justify-content: flex-start !important;
}
.grid-padding {
	padding-left: 30px;
	padding-right: 30px;
}
.grid-item {
	border: 1px solid #ddd;
	border-style: none solid solid none;
	padding-top: 15px;
}
.grid-item h5 {
	font-size: 1.2em;
}
.grid-item img {
	padding-bottom: 15px;
}
.grid-item:nth-child(2n) {
	border-right: none;
}
.grid-item:nth-child(2n+1):nth-last-child(-n+2), .grid-item:nth-child(2n+1):nth-last-child(-n+2) ~ div {
	border-bottom: none;
}

.thumb {
	margin-bottom: 30px;
}


/* SECTION */
section {
	width: 100%;
}
.content-section-navbar {
	/*padding: 30px 0 10px 0;*/
	background-color: #5D4037;
}
.content-main-photo {
	/*min-height: 800px;*/
	background-color: #fff;
	background-image: url('../images/main-photo-4.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: bottom center;
	background-attachment: fixed;
	height: 100%;
	display : flex;
	align-items : center;
	justify-content: center;
}
.content-main-photo .welcome {
	color: #fff;
	text-align: center;
	padding: 30px 50px;
	font-size: 6vh;
	font-weight: 400;
	text-shadow: 2px 2px 3px rgba(66, 66, 66, 1);
	line-height: 9vh;
	border: 0.9vh solid #fff;
	-webkit-box-shadow: 2px 2px 3px 0px rgba(66,66,66,0.5);
	-moz-box-shadow: 2px 2px 3px 0px rgba(66,66,66,0.5);
	box-shadow: 2px 2px 3px 0px rgba(66,66,66,0.5);
}

.content-top-photo {
	max-height: 450px;
	background-color: #fff;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	height: 300px;
}
.top-photo-1 {
	background-image: url('../images/top-photo-1.jpg');
}
.top-photo-2 {
	background-image: url('../images/top-photo-2.jpg');
}
.top-photo-3 {
	background-image: url('../images/top-photo-3.jpg');
}
.top-photo-4 {
	background-image: url('../images/top-photo-4.jpg');
}
.top-photo-5 {
	background-image: url('../images/top-photo-5.jpg');
}
.top-photo-6 {
	background-image: url('../images/top-photo-6.jpg');
}
.content-section-map {
	border-top: 1px solid #ddd;
}
.content-section-footer {
	background-color: #545454;
	background-image: url('../images/footer-photo-2.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.content-section-footer .container {
	padding: 80px 0 100px 0;
}
.content-section-footer h2, .content-section-footer h3, .content-section-footer h4 {
	color: #fff;
	margin-top: 5px;
}
.content-section-footer h2 {
	font-size: 3em;
	font-weight: bold;
	padding: 5px;
}
.content-section-footer h3 {
	font-size: 2.5em;
	font-size: normal;
	margin-top: 5px;
}
.content-section-footer h4 {
	margin-top: 15px;
}
.flexbox-container {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	align-items: center;
	
	justify-content: center;
}
.flexbox-container h3 span.phone {
	font-size: 0.7em;
}

.content-section-a, .content-section-b, .content-section-c, .content-section-d {
	padding: 90px 0;
}
.content-section-a, .content-section-d {
    background-color: #f8f8f8;
	position: relative;
	overflow: hidden;
}

.content-section-a:after, .content-section-a:before {
  content: '';
  position: absolute;
  top: 10%;
  left: 20%;
  width: 500px;
  height: 1000px;
  z-index: 1;
  background: rgba(160, 160, 160, 0.05);
  border: 1px solid rgba(160, 160, 160, 0.1);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.content-section-a:after {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}



.content-section-b {
	border-top: 1px solid #e7e7e7;
	border-bottom: 1px solid #e7e7e7;
}
.content-section-c {
	border-top: 1px solid #b00808;
	border-bottom: 1px solid #b00808;
	background-color: #cb2424;
	color: #fff;
}
.content-section-c a {
	text-decoration: none;
	color: #fff;
}

.section-heading {
    margin-bottom: 30px;
	color: #d9534f;
}
.lead3 {
	margin-bottom: 0px;
	margin-top: 0px;
	font-size: 16px;
	color: #8D8D8D;
	line-height: 1.46428571;
	font-weight: 300;
}
.lead {
	margin-bottom: 30px;
	margin-top: 20px;
	font-size: 20px;
	line-height: 1.46428571;
	font-weight: 300;
}
.artykuly > p {
	font-size: 18px;
	padding-bottom: 15px;
}
.artykuly > .lead {
	margin-bottom: 15px;
}
.artykuly > ul li {
	font-size: 18px;
}
.artykuly > ul {
	padding-bottom: 15px;
}
.artykuly hr {
	height: 30px;
	border-style: none;
}
.artykuly .caption h3 {
	margin-top: 10px;
}
.aktualnosci {
	margin-top:0;
	margin-bottom: 90px;
}
.space-bottom {
	margin-bottom: 30px;
}
#aktualnosci h2 {
	margin-top: 0;
}
.footer-sign {
	max-width: 250px;
	padding-bottom: 30px;
}
.copy {
	background-color: #212121;
	padding-top: 8px;
	border-width: 0px;
}
.copy p {
	font-size: 0.9em;
	color: #757575;
}
.copy a {
	color: #aaa;
}
.copy a span {
	color: #cb2424;
}
.copy a:hover, .copy a:hover span {
	color: #bdbdbd;
	text-decoration: none;
}
.h1-title {
	margin-bottom: 30px;
	font-weight: bold;
}
.logo-image {
	width: 300px;
	margin-bottom: 15px;
	margin-top: 15px;
}
.btn-white, .btn-white:visited {
	border: 5px solid #fff;
	border-radius: 0 !important;
	color: #fff;
	font-weight: bold !important;
	text-transform: uppercase;
	font-size: 2em !important;
	padding: 10px;
	width: 100%;
	margin-top: 15px;
}
.btn-white:hover {
	background-color: #795548;
	color: #fff;
}

.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
	background-color: #5D4037;
	border-color: #795548;
	text-transform: uppercase;
	font-size: 18px;
}

/* END SECTION */

/* START GALLERY */

.gallery a {
	z-index: 3;
	
}

figure {
    display: block;
    overflow: hidden;
    z-index: 100;
	/*padding: 0px !important;*/
	padding: 15px;
	justify-content: center;
}

figure:before {
	content: ' ';
	position: absolute;
	z-index: -1;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	border: 1px solid #ddd;
}

figure .link {
	margin-top: 15px;
	text-align: center;
	text-transform: uppercase;
	font-weight: 600;
}

.link:before,
.link:after {
    background-color: #000;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 20px;
}
.link:before {
    right: 0.5em;
    margin-left: -50%;
}
.link:after {
    left: 0.5em;
    margin-right: -50%;
}

figcaption {
    height: 100%;
    width: 100%;
    width: -webkit-calc(100% - 30px);
    width:    -moz-calc(100% - 30px);
    width:         calc(100% - 30px);
    height: -webkit-calc(100% - 90px);
    height:    -moz-calc(100% - 90px);
    height:         calc(100% - 90px);
    background-color: #5D4037;
    text-align: center;
    position: absolute;
    bottom: 0;
	top: 15px;
    opacity: 0; 
    padding: 5px;
	
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;

	justify-content: center;
	flex-direction: column;
}

figcaption a {
	color: #fff;
	text-decoration: none;
	border: 3px solid #fff;
	padding: 5px;
	width: 70%;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 1.2em;
	letter-spacing: 1px;
	margin-top: 5px;
}

figcaption a:hover, figcaption a:visited {
	color: #fff;
	text-decoration: none;
	background-color: #000;
}

figure:hover figcaption {
    opacity: 0.9;
    top: 15px;
    color: #fff;
    transition: all 0.3s;
}

/* END GALLERY */


/* NAVBAR */
.navbar-default {
	background-color: #5D4037;
	border-width: 0;
	border-radius: 0;
	margin-bottom: 0;
}
.content-section-navbar .nav >li >a, .navbar-default .navbar-nav>.active>a {
  transition: 0.4s;
}
.content-section-navbar .nav >li >a:hover, .navbar-default .navbar-nav>.active>a:hover {
	background-color: #fff;
	color: #5D4037;
	margin-top: 15px;
	margin-bottom: 15px;
	padding-top: 15px;
	padding-bottom: 15px;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus {
	background-color: #795548;
	color: #fff;
}
.navbar-default .navbar-nav .dropdown-menu > .active>a {
	background-color: #795548;
	color: #fff;
}
.navbar-brand {
  padding: 0px;
}
.navbar-brand>img {
  height: 100%;
  padding: 12px;
  width: auto;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
  background-color: #795548;
  color: #fff;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #fff;
}
.dropdown-header {
	color: #5D4037;
}
.dropdown-menu>li>a {
	padding: 10px 20px;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
	border-style: none;
}
.content-section-navbar .navbar-brand {
  height: 100px;
}
.content-section-navbar .nav >li >a {
  padding-top: 30px;
  padding-bottom: 30px;
  color: #fff;
  font-size: 1.2em;
}
.content-section-navbar .navbar-toggle {
  padding: 10px;
  margin: 25px 15px 25px 0;
}
.content-section-navbar .navbar-right {
  padding: 10px 100px 10px 20px;
  background-color: #5D4037;
}

/* END NAVBAR */



/* TABLE */
.text-green {
	color: #5D4037;
}
.text-red {
	color: #d9534f;
}
.text-blue {
	color: #337ab7;
}
.text-yellow {
	color: #faba00;
}

.text-primary{
	color: #337ab7;
}

.text-info{
    color: #5bc0de;
}

.text-success{
    color: #5cb85c;
}

.text-warning{
    color: #f0ad4e;
}

.text-danger{
    color: #d9534f;
}

.background-green {
	background-color: #5D4037;
	color: #fff;
	z-index: 2;
}

.big-padding {
	padding: 35px;
}

p {
	padding-top: 5px;
	padding-bottom: 5px;
	line-height: 1.6em;
}

@media (max-width: 767px) {
	.content-section-a, .content-section-b, .content-section-c {
		padding: 40px 0 30px 0;
	}
	.content-section-a {
		padding-bottom: 0;
	}
	.content-section-d {
		padding: 90px 0 30px 0;
	}
	.content-main-photo .container .welcome {
		position: absolute;
		right: 0;
		bottom: 0;
		padding: 15px;
		width: 100%;
		font-size: 1.5em;
		font-weight: 200;
	}
	.big-padding {
		margin-top: 30px;
	}
	.aktualnosci {
		margin-bottom: 30px;
	}
	.flexbox-container {
		display: block;
		text-align: center;
	}
	.flexbox-container .text-right {
		text-align: center;
		margin-bottom: 15px;
	}
	.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
		background-color: #795548;
	}
	.container-fluid>.navbar-collapse, .container-fluid>.navbar-header, .container>.navbar-collapse, .container>.navbar-header {
		background-color: #5D4037;
	}
	.content-section-navbar .navbar-brand {
	  height: 68px;
	  margin-top: 7px;
	  margin-left: 15px;
	}
	.content-main-photo .welcome {
		padding: 20px 30px;
		margin-right: 15px;
		margin-left: 15px;
	}
	figure figcaption {
		opacity: 0.8;
		top: 15px;
		color: #fff;
		transition: all 0.3s;
	}
	
}

@media (max-width: 991px) {
	.navbar-default {
		background: #fff;
		border-width: 0;
		border-radius: 0;
	}
	.content-section-navbar .navbar-brand {
	  height: 68px;
	}
	.navbar-brand>img {
	  padding: 5px;
	}
	.content-section-navbar .navbar-toggle {
	  padding: 10px;
	  margin: 25px 15px 25px 0;
	}
	.content-section-navbar .navbar-right {
	  padding: 10px;
	  background-color: #5D4037;
	}
	.navbar-default .navbar-toggle {
	  background-color: #5D4037;
	  border-width: 0;
	}
	.navbar-default .navbar-toggle .icon-bar {
	  background-color: #fff;
	}
	.navbar-nav .open .dropdown-menu {
	  background-color: #fff;
	}
	.navbar-default .navbar-nav .open .dropdown-menu>li>a, .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover, .navbar-default .navbar-nav .open .dropdown-menu>li>a:visited {
		padding: 10px 15px;
	}
	.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover {
		background-color: #ddd;
	}
	.grid-padding {
		padding-left: 15px;
		padding-right: 15px;
	}
	.grid-item:nth-child(n), .grid-item:nth-child(1n) {
		border-right: none;
		border-bottom: 1px solid #ddd !important;
	}
	.grid-item:nth-last-child(1) {
		border-bottom: none !important;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.navbar-default {
		background-color: #5D4037;
		border-width: 0;
		border-radius: 0;
		height: 70px;
	}
	.content-section-navbar .nav >li >a {
	  padding-top: 15px;
	  padding-bottom: 15px;
	  color: #fff;
	}
	.content-section-navbar .nav >li >a, .navbar-default .navbar-nav>.active>a {
	  transition: 0.4s;
	}
	.content-section-navbar .nav >li >a:hover, .navbar-default .navbar-nav>.active>a:hover {
		background-color: #fff;
		color: #5D4037;
		margin-top: 5px;
		margin-bottom: 5px;
		padding-top: 10px;
		padding-bottom: 5px;
	}
	figcaption {
		height: -webkit-calc(100% - 87px);
		height:    -moz-calc(100% - 87px);
		height:         calc(100% - 87px);
	}
	figcaption h3 {
		font-size: 1.4em;
	}
	figcaption p {
		font-size: 0.9em;
	}
	figcaption a {
		font-size: 1.2em;
		margin-bottom: 30px;
	}
	figure .link {
		font-size: 1em;
	}
}


@media (min-width: 992px) and (max-width: 1199px) {
	/* css code */
}

@media (min-width: 1200px) {
	/* css code */
}