/*
Theme Name: 	boxesthree-theme
Version: 		2.0
Author: 		E-MACO SP. z o.o. 
*/

body {
	font-size: 20px;
	color: #7b374e;
	font-family: latoregular;
	background: #ffffff;
}

h1, h2, h3 {
	display: block;
	margin: 0;
	padding: 0;
	margin-top: 30px;
	margin-bottom: 45px;
}

h2 {
	font-family: latoblack;
	font-size: 40px;
	color: #343434;
	text-align: center;
	text-transform: uppercase;
}

h2 span {
	width: 160px;
	height: 8px;
	background: #46272f;
	display: block;
	margin: 0 auto;
	margin-top: 25px; 
}

h3 {
	font-size: 25px;
	font-family: latosemibold;
}

.center {
	width: 1170px;
	margin: 0 auto;
}

a.more-button {
	display: inline-block;
	padding: 20px 40px;
	border: 2px solid #ffff;
	text-decoration: none;
	color: #fff;
	background: #46272f;
}

.bottom {
	text-align: center;
}

.slicknav_menu {
	display: none;
}

#slideshow {
	position: relative;
}

#slideshow img {
	display: block;
	width: 100%;
}

header {
	max-height: 1920px;
}

header nav ul li a, a.more-button, .form-box input.submit, .offer-module .item .up {
	-webkit-transition: all 350ms ease-out;
	-moz-transition: all 350ms ease-out;
	-ms-transition: all 350ms ease-out;
	-o-transition: all 350ms ease-out;
	transition: all 350ms ease-out;
}

header, .news-module .item, .gallery .item {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffe4b1+0,f4e4ad+46,ead8a6+100 */
	background: #ffe4b1; /* Old browsers */
	background: -moz-linear-gradient(top, #ffe4b1 0%, #f4e4ad 46%, #ead8a6 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #ffe4b1 0%,#f4e4ad 46%,#ead8a6 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #ffe4b1 0%,#f4e4ad 46%,#ead8a6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffe4b1', endColorstr='#ead8a6',GradientType=0 ); /* IE6-9 */

}

header {
	height: 100px;
	overflow: hidden;
	background: #fff; /* Old browsers */

}

header a {
	text-decoration: none;
	color: #3f5052;
}

header .center {
	width: 80%;
	margin: 0 auto;
}

header .logo-box {
	float: left;
	width: 20%;
}

header nav {
	float: left;
	width: 80%;
	text-align: right;
	padding-top: 30px;
}

header nav ul {
	list-style: none;
	margin:1px;
}

header nav ul li {
	display: inline-block;
}

header nav ul li a {
	display: block;
	border-right: 2px solid #46272f;
	font-family: latosemibold;
	text-transform: uppercase;
	padding: 5px 20px;
	font-size: 16px;
}

header nav ul li a:hover, header nav ul li.current_page_item a, header nav ul li.current-menu-item a, header nav ul li.current-post-ancestor a {
	color: #7b374e;
}

header nav ul li:first-child a {
	background: url(images/icon-home.png) left center no-repeat;
	padding-left: 45px;
}

header nav ul li:last-child a {
	border-right: none;
}

#content.subpage .offer-module {
	margin-top: 50px;
}

.offer-module .item {
	text-shadow: 0.1em 0.1em 0.2em black;
	display: block;
	float: left;
	width: 25%;
	height: 328px;
	background: #809a98;
	text-align: center;
	font-family: latoblack;
	font-size: 40px;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	line-height: 40px;
}

#content.subpage .offer-module .item {
	font-size: 30px;
	height: 300px;
}

.offer-module .item .up:hover {
	-moz-transform: translateX(0px) translateY(-20px);
	-webkit-transform: translateX(0px) translateY(-20px);
	-o-transform: translateX(0px) translateY(-20px);
	-ms-transform: translateX(0px) translateY(-20px);
	transform: translateX(0px) translateY(-20px);
}

.offer-module .item:first-child {
	background: #809a98 url(images/box1.jpg) center center no-repeat;
}

.offer-module .item:nth-child(2) {
	background: #3f5052 url(images/box2.jpg) center center no-repeat;
}

.offer-module .item:nth-child(3) {
	background: #809a98 url(images/box3.jpg) center center no-repeat;
}

.offer-module .item:last-child {
	background: #3f5052  url(images/box4.jpg) center center no-repeat;
}

.offer-module .item img {
	margin-top: 40px;
}

#content.subpage .offer-module .item img {
	margin-top: 30px;
}

.offer-module .item:first-child img {
	margin-bottom: 20px;
}

.offer-module .item .bull-box span {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50px;
}

#content.subpage .offer-module .item .bull-box span {
	width: 15px;
	height: 15px;
}

.aboutus-module .box {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#7b374e+0,723348+45,542532+100 */
	background: #7b374e; /* Old browsers */
	background: -moz-linear-gradient(top, #7b374e 0%, #723348 45%, #542532 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #7b374e 0%,#723348 45%,#542532 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #7b374e 0%,#723348 45%,#542532 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7b374e', endColorstr='#542532',GradientType=0 ); /* IE6-9 */
}

.aboutus-module .info-box {
	float: left;
	width: 50%;
	color: #f1f1f3;
	padding: 60px 5%;
}

.aboutus-module .info-box .txt {
	height: 225px;
	overflow: hidden;
	margin-bottom: 30px;
}

.aboutus-module .info-box a.more-button:hover {
	background: #78b7dc;
	color: #3f5052;
}

.aboutus-module .img-box {
	float: left;
	width: 40%;
	height: 450px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#7b374e+0,723348+45,542532+100 */
	background: #7b374e; /* Old browsers */
	background: -moz-linear-gradient(top, #7b374e 0%, #723348 45%, #542532 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #7b374e 0%,#723348 45%,#542532 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #7b374e 0%,#723348 45%,#542532 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7b374e', endColorstr='#542532',GradientType=0 ); /* IE6-9 */
}

.imgLiquidFill {
	width: 100%;
	height: 100%;
}


.imgLiquidFill:hover {
; 

  
  
}

.news-module .item {
	float: left;
	width: 28.3333%;
	padding: 23px 2%;
	padding-bottom: 60px;
	position: relative;
	margin-right: 1.5%;
}

.news-module .item:nth-child(3n+1) {
	margin-right: 0;
}

.news-module .item .thumb-box {
	height: 255px;
	background: #f1f1f3 url(images/icon-noimg.png) center center no-repeat;
	overflow: hidden;
	margin-bottom: 23px;
}

.news-module .item h3 {
	height: 60px;
	overflow: hidden;
	line-height: 28px;
	margin-bottom: 15px;
}

.news-module .item h3 a {
	color: #46272f;
	text-decoration: none;
}

.news-module .item h3 a:hover {
	text-decoration: underline;
}

.news-module .item .desc {
	height: 142px;
	overflow: hidden;
}

.news-module .item a.more-button {
	display: block;
	width: 32%;
	background: #7b374e;
	border: none;
	color: #f1f1f3;
	position: absolute;
	bottom: -20px;
	left:0;
    right:0;
    margin-left:auto;
    margin-right:auto;
    z-index: 999;
}

.news-module .item a.more-button:hover {
	background: #46272f;
}

.news-module .item:nth-child(3) a.more-button {
	background: #46272f;
}

.news-module .item:nth-child(3) a.more-button:hover {
	background: #7b374e;
}

.news-module.subpage .item {
	margin-bottom: 60px;
}

.gallery-module {
	margin-top: 60px;
}

.gallery-module .box {
	margin-bottom: 30px;
}

.gallery-module .item {
	float: left;
	display: block;
	width: 25%;
	height: 250px;
	overflow: hidden;
	background: #46272f;
}

.gallery-module .item .imgLiquidFill {
	opacity: 0.8;
	
}
.gallery-module .imgLiquidFill:hover {
	-moz-transform: scale(1.25) rotate(10deg);
	-webkit-transform: scale(1.25) rotate(10deg);
	-o-transform: scale(1.25) rotate(10deg);
	-ms-transform: scale(1.25) rotate(10deg);
	-moz-transform: scale(1.25) rotate(10deg);
	-webkit-transition-duration: 800ms;
	-o-transition-duration: 800ms;
	-ms-transition-duration: 800ms;
	-moz-transition-duration: 800ms;
	
}

 
.gallery-module .item:nth-child(2), .gallery-module .item:nth-child(4), .gallery-module .item:nth-child(5), .gallery-module .item:nth-child(7) {
	background: #7b374e;
}

.gallery-module a.more-button {
	background:#fff;
	border-color: #7b374e;
	color: #7b374e;
	
}

.gallery-module a.more-button:hover, #content.single a.more-button:hover {
	background: #46272f;
	color: #fff;

}

footer {
	min-height: 300px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#7b374e+0,723348+45,542532+100 */
	background: #7b374e; /* Old browsers */
	background: -moz-linear-gradient(top, #7b374e 0%, #723348 45%, #542532 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #7b374e 0%,#723348 45%,#542532 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #7b374e 0%,#723348 45%,#542532 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7b374e', endColorstr='#542532',GradientType=0 ); /* IE6-9 */
	margin-top: 300px;
}

footer .center {
	position: relative;
}

footer .map-module {
	position: absolute;
	top: -300px;
	width: 100%;
}

footer .map-module .box {
	height: 390px;
	background: #e6e6e6;
	overflow: hidden;
	position: relative;
}

footer .map-module #map {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
}

footer .map-module #map iframe {
	width: 100%;
	height: 100%;
}

footer .map-module .map-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgba(30,39,46,0.2);
	bottom: 0;
	left: 0;
	cursor: pointer;
	z-index: 850;
}

footer .map-module .map-show, footer .map-module .map-hide {
	display: block;
	width: 210px;
	padding: 20px 0;
	color: #fff;
	margin: 0 auto;
	margin-top: 188px;
	text-align: center;
	background: #46272f;
	border-color: #fff;
}

footer .map-module .map-hide {
	margin-top: 260px;
}

footer .map-module .map-hide {
	position: relative;
	z-index: 900;
	margin-top: 400px;
	-webkit-transition-duration: 400ms;
    -moz-transition-duration: 400ms;
    -o-transition-duration: 400ms;
     transition-duration: 400ms;
     cursor: pointer;
}

footer .three-box {
	padding-top: 280px;
	padding-bottom: 25px;
}

footer .three-box .left, footer .three-box .center, footer .three-box .right {
	font-family: latoblack;
	font-size: 18px;
	color: #f1f1f3;
	float: left;
	width: 33%;
}

footer .three-box .left {
	width: 26%;
}

footer .three-box .right {
	width: 31%;
	text-align: right;
}

footer .three-box .center {
	width: 42.5%;
	text-align: center;
}

footer .three-box .center {
	border-left: 2px solid #46272f;
	border-right: 2px solid #46272f;
	font-size: 14px;
	font-family: latolight;
	color: #f1f1f3;
	position: relative;
	top: 15px;
}

footer a {
	text-decoration: none;
	color: #f1f1f3;
}

footer a.tel {
	display: block;
	background: url(images/icon-phone.png) left center no-repeat;
	padding-left: 40px;
	min-height: 45px;
}

footer a.mail {
	display: inline-block;
	background: url(images/icon-email.png) left center no-repeat;
	padding-left: 65px;
	min-height: 45px;
	line-height: 45px;
}

#content.subpage {
	line-height: 30px;
	margin-top: 50px;
}

#content.contact-page a {
	text-decoration: none;
	color: #809a98;
	font-family: latoblack;
	font-size: 25px;
}

#content.contact-page a:hover {
	text-decoration: underline;
}

#content.single a.more-button {
	color: #3f5052;
	border-color: #3f5052;
}

.form-box {
	width: 70%;
	margin: 0 auto;
	margin-top: 50px;
}

.form-box input, .form-box textarea {
	display: block;
	border: none;
	color: #3f5052;
	padding: 15px 4%;
	text-transform: uppercase;
	width: 92%;
	background: #fff;
}

.form-box .line {
	margin-bottom: 20px;
}

.form-box .line.two input {
	float: left;
	width: 40%;
}

.form-box .line.two input:first-child {
	margin-right: 2%;
}

.form-box .line.two input:last-child {
	margin-left: 2%;
}

.form-box input.submit {
	width: 40%; 
	margin: 0 auto;
	padding: 20px 30px;
	background: #49abbc;
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	border: none;
}

.form-box input.submit:hover {
	background: #3f5052;
}

.form-message {
	margin-bottom: 30px;
    padding: 30px;
    background: none repeat scroll 0 0 #F1FFF0;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    margin-top: 30px;
    text-transform: uppercase;
    line-height: 30px;
}

.form-box input.red, .form-box textarea.red, .form-message.red {
	background: #ffebe8;
}

.gallery {
	margin-top: 40px;
}

.gallery .item {
	display: block;
	float: left;
	width: 28.3333%;
	padding: 23px 2%;
	margin-right: 1.5%;
	margin-bottom: 15px;
}

.gallery .item .inside {
	height: 255px;
	overflow: hidden;
	position: relative;
}

.gallery .item:nth-child(3n) {
	margin-right: 0;
}

.gallery .item .inside span.roll {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #809a98 url(images/small-hover-gallery.png) center center no-repeat;
}

.theme-default .nivo-controlNav {
		bottom: 5px;
	}

/* ---------- CLEARFIX ---------- */

.cf:before,
.cf:after {
    content: " ";
    display: table; 
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1;
}
/* ---------- GOOGLE+ ---------- */

#face-slider {
	position:fixed;
	right:-302px;
	top: 100px;
	z-index: 900;
}

#face-slider #tab {
	cursor:pointer;
	height:110px;
	width:35px;
	float:left;
	background: url(images/facebook.png) no-repeat center center;
}

#face-code {
	padding:5px;
	border: solid #232a43 3px;
	background: #fff;
	float:left;
	width:286px;
	height:320px;
	-moz-border-radius: 0 0 0 8px;
	-webkit-border-radius: 0 0 0 8px;
	border-radius: 0 0 0 8px;
}
/* ---------- FACEBOOK ---------- */

#face1-slider {
	position:fixed;
	right:-302px;
	top: 100px;
	z-index: 900;
}

#face1-slider #tab {
	cursor:pointer;
	height:110px;
	width:35px;
	float:left;
	background: url(images/facebook1.png) no-repeat center center;
}

#face1-code {
	padding:5px;
	border: solid #232a43 3px;
	background: #fff;
	float:left;
	width:286px;
	height:230px;
	-moz-border-radius: 0 0 0 8px;
	-webkit-border-radius: 0 0 0 8px;
	border-radius: 0 0 0 8px;
}
#yt {
	position:fixed;
	right:-23px;
	top: 148px;
	z-index: 900;
	width: 58px;
	height: 48px;
	background: url(images/insta.png) 0 0 no-repeat;
}
#allegro {
	position:fixed;
	right:-23px;
	top: 100px;
	z-index: 900;
	width: 58px;
	height: 48px;
	background: url(images/yt2.png) 0 0 no-repeat;
}
/* ---------- GOOGLE+ ---------- */

#face-slider {
	position:fixed;
	right:-302px;
	top: 195px;
	z-index: 900;
}

#face-slider #tab {
	cursor:pointer;
	height:110px;
	width:35px;
	float:left;
	background: url(images/facebook.png) no-repeat center center;
}

#face-code {
	padding:5px;
	border: solid #232a43 3px;
	background: #fff;
	float:left;
	width:286px;
	height:320px;
	-moz-border-radius: 0 0 0 8px;
	-webkit-border-radius: 0 0 0 8px;
	border-radius: 0 0 0 8px;
}
/* ---------- FACEBOOK ---------- */

#face1-slider {
	position:fixed;
	right:-302px;
	top: 100px;
	z-index: 900;
}

#face1-slider #tab {
	cursor:pointer;
	height:110px;
	width:35px;
	float:left;
	background: url(images/facebook1.png) no-repeat center center;
}

#face1-code {
	padding:5px;
	border: solid #232a43 3px;
	background: #fff;
	float:left;
	width:286px;
	height:230px;
	-moz-border-radius: 0 0 0 8px;
	-webkit-border-radius: 0 0 0 8px;
	border-radius: 0 0 0 8px;
}

