*
{
	margin: 0px;
	padding: 0px;
}

body
{
	width: 100%;
	height: 100%;	
	background: #fff;
	margin: 0px;
	padding: 0px;	
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	text-align: center;	
}

header
{
	width: calc(100% - 60px);
	/*max-width: 1380px;*/
	max-width: 1270px;
	height: 90px;
	margin: 0px auto;
	padding: 0px 30px;
	font-size: 14px;
	text-transform: uppercase;
}

header a
{
	color: #000;
}

header ul
{
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}

header li
{
	padding-top: 40px;
	padding-bottom: 10px;
	letter-spacing: 3px;
    text-indent: 3px;
	float: left;
}

header li.active
{
	border-bottom: 2px solid #000;
}

div.menu1
{
	/*width: calc(50% - 60px);*/
	width: calc(50% - 85px);
	float: left;
}

div.menu1 ul
{
	float: left;
}

div.menu1 li
{
	/*margin-right: 85px;*/
	margin-right: 45px;
}

div.menu1 ul li ul
{
	display: block;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease-in-out;
    z-index: 10;
}

div.menu1 ul li:first-child:hover ul
{
    opacity: 1;
	display: block;
    pointer-events: auto;
	background: #fff;
}

div.menu1 ul li ul li
{
	margin: 0px;
	margin-right: 15px;
	margin-bottom: 30px;
	padding: 0px;
	text-transform: lowercase;
	float: none;
}

div.menu1 ul li ul li.active
{
	border-bottom: none;
}

div.menu1 ul li ul li a
{
	display: block;
	width: 110px;
	height: 15px;
	padding-top: 50px;
    background-size: 35px auto;
    background-repeat: no-repeat;
    background-position: center 0px;
    transition: background-size 0.15s ease-in-out, background-position 0.15s ease-in-out;
}

div.menu_mobile ul li a {
	background-repeat: no-repeat;
	background-position: center 0px;
	margin-top: 30px;
}

div.menu1 ul li ul li a:hover {
    background-position: center 5px;
    background-size: 30px auto;
}

div.menu1 ul li ul li:first-child a,
div.menu_mobile ul li ul li:first-child a
{
	background-image: url('../images/inne.png');
	margin-top: 30px;
}
div.menu1 ul li ul li:nth-child(2) a,
div.menu_mobile ul li ul li:nth-child(2) a
{
	background-image: url('../images/salon.png');
}
div.menu1 ul li ul li:nth-child(3) a,
div.menu_mobile ul li ul li:nth-child(3) a
{
	background-image: url('../images/kuchnia.png');
}

div.menu1 ul li ul li:nth-child(4) a,
div.menu_mobile ul li ul li:nth-child(4) a
{
	background-image: url('../images/sypialnia.png');
}

div.menu1 ul li ul li:nth-child(5) a,
div.menu_mobile ul li ul li:nth-child(5) a
{
	background-image: url('../images/lozka.png');
}

div.menu1 ul li ul li:nth-child(6) a,
div.menu_mobile ul li ul li:nth-child(6) a
{
	background-image: url('../images/stoly.png');
}

div.menu1 ul li ul li:nth-child(7) a,
div.menu_mobile ul li ul li:nth-child(7) a
{
	background-image: url('../images/lawy.png');
}

div.menu1 ul li ul li:nth-child(8) a,
div.menu_mobile ul li ul li:nth-child(8) a
{
	background-image: url('../images/krzesla.png');
}



div.logo
{
	/*width: 120px;*/
	width: 170px;
	height: 90px;
	line-height: 85px;
	float: left;
}

div.logo h1
{
	margin: 0px;
	padding: 0px;
}

div.menu2
{
	/*width: calc(50% - 60px);*/
	width: calc(50% - 85px);
	float: left;
}

div.menu2 ul
{
	float: right;
}

div.menu2 li
{
	margin-left: 40px;
}

div.menu2 ul li ul
{
	display: none;
}

div.content1
{
	width: 100%;
	/*max-width: 1380px;*/
	max-width: 1270px;
	min-height: 730px;
	margin: 0px auto;
	background-image: url('../images/content.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
	overflow: hidden;
}

div.content1.hidden
{
	display: none;
}

body.item105 div.content1
{
	background: url('../images/salony.jpg') no-repeat top center;
}

div.content2
{
	width: 80%;
	/*width: 50%;*/
	min-height: 730px;
	min-width: 690px;
	background: white;
	font-size: 13px;
	color: #000;
	line-height: 150%;
	text-align: left;
	float: right;
}

body.item105 div.content2
{
	width: 50%;
}

div.content2 a
{
	color: #000;
}
div.content2 div.page-header {
	background-color: #b6c6dc;
	padding: .1rem 0;
}
div.content2 div.page-header h2
{
	background: url('../images/content_h2.png') no-repeat bottom center;
	margin: 0px;
    margin-bottom: 20px;
    padding: 0px;
    padding-top: 20px;
    padding-bottom: 40px;
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: normal;
    text-align: center;
}
.showplusx-slideshow {
	margin: 0 auto;
}
div.content2 p
{
	padding: 0px 50px;
	line-height: 150%;
}

div.content2 ul, div.content2 ol
{
	margin-left: 50px;
	padding-left: 20px;
}
.moduletable > .showplus-container > .showplusx-slideshow {
	width: 845px !important;
	height: 615px !important;
}
div.content2 img
{
/*	max-width: 100%;
	max-height: 270px;*/
    max-width: 100%;
    /*max-height: 270px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0 auto;
}
div.content2 section.tkaniny img
{
	max-height: none !important;
	display: block;
}
section.tkaniny {
	padding: 2rem;
}
div.content2 h3
{
	margin: 0px;
	padding: 0px;
}

div.frontpage1
{
	width: calc(100% - 60px);
	/*max-width: 1380px;*/
	max-width: 1270px;
	height: 739px;
	margin: 0px auto;
	padding: 0px 30px;
}

div.frontpage2
{
	width: 100%;
	height: 739px;
	position: relative;
}

div.frontpage2 .content
{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: rgba(0, 0, 0, .35)
}

div.frontpage2 .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

div.frontpage2 .slide.current {
    z-index: 4;
    opacity: 1;
}

div.frontpage2 .content .wrapper h1, div.frontpage2 h2
{
	margin: 0px;
	padding: 0px;
	font-family: 'Playfair Display', serif;
	font-size: 34px;
	font-weight: normal;
	color: #fff;
}

div.frontpage2 .content .wrapper h1
{
	background: url('../images/frontpage.png') no-repeat bottom center;
	padding-bottom: 30px;
	font-size: 48px;
    line-height: 60px;
    letter-spacing: 1px;
}

@media(min-width: 576px) {
    
    div.frontpage2 .content .wrapper h1{
        font-size: 72px;
        letter-spacing: 2px;
    }
    
}

div.frontpage2 .content .wrapper h2
{
	margin-bottom: 0;
    font-style: italic;
}

footer
{
	width: 100%;
	height: 90px;
	font-family: 'Lato', sans-serif;
	font-size: 9px;
	color: #797979;
	line-height: 90px;
	text-align: center;
}

footer a
{
	color: #797979;
}

a
{
	text-decoration: none;
}

a img
{
	border: 0px;	
}

img
{
	vertical-align: middle;
}

table.salony td
{
	vertical-align: top;
}

table.salony h4, h4.kontakt
{
	margin: 10px 0px;
	padding: 0px 50px;
	font-weight: normal;
}

table.salony strong, p.kontakt strong
{
	font-size: 16px;
}

/* lista produktow */

body.meble div.content1
{
	min-height: auto;
}

body.meble div.content2
{
	width: 100%;
	min-height: auto;
	float: none;
}

div.content2 section.meble
{
	width: 100%;
	background: #fff;
	margin-top: 50px;
	padding: 20px 0px;
}

table.meble
{
	border-collapse: separate;
	border-spacing: 20px;
	width: 100%;
}

table.meble td
{
	/*width: 330px;*/
	width: 33%;
	border: 1px solid #000;
}

table.meble td.pusta
{
	border: none;
}

table.meble h2
{
	margin: 0px;
	padding: 0px;
	padding: 10px;
	text-align: center;
	vertical-align: middle;	
	height: 270px;
}

table.meble h3
{
	display: block;
	width: calc(100% - 10px);
	height: 17px;
	background: url('../images/plus.jpg') no-repeat top right;
	border-top: 1px solid #000;
	margin: 0px;
	padding: 10px;
	padding-top: 6px;
	padding-right: 0px;
	font-weight: normal;
	text-transform: uppercase;
}

table.meble h3 a
{
	display: block;
	color: #000;
}

div.content2 h3.kolekcja
{
	margin: 20px 30px 0 30px;
    letter-spacing: .5px;
	padding: 0px;	
}

h3.kolekcja a
{
	display: block;
	width: 225px;
	height: 26px;
	background: url('../images/download.png') no-repeat top right;
	border: 1px solid #000;
	margin: 0px;
	padding: 0px;
	padding-top: 7px;
	padding-left: 20px;
	font-size: 14px;
	font-weight: normal;
	color: #000;
	text-transform: uppercase;
}

/* opis produktu */

body.produkt div.content1
{
	background-image: url('../images/product.jpg');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
}

body.produkt div.content2
{
	/*padding-bottom: 50px;*/
}

/* slider*/

span.jwts_toggleControlTitle
{
    letter-spacing: .5px;
}

div.jwts_toggleControlContainer
{
	margin: 15px 0 0 0;
	padding: 0px 30px;
}

div.jwts_toggleControlContainer a.jwts_toggleControl
{
	height: 33px;
	background: url('../images/slider_off.png') no-repeat top right;	
	border: 1px solid #000;
	border-radius: 0px;
	padding: 0px;
	color: #000;
	line-height: 33px;
	text-transform: uppercase;
}

div.jwts_toggleControlContainer a.jwts_toggleControl.jwts_toggleOn
{
	background: url('../images/slider_on.png') no-repeat top right;
	border-right: none;
}

div.jwts_toggleControlContainer a.jwts_toggleOn
{
	color: #000;
}

div.jwts_toggleControlContainer a.jwts_toggleOff span.jwts_toggleControlTitle
{
	background: none;
}

div.jwts_toggleControlContainer a.jwts_toggleOn span.jwts_toggleControlTitle
{
	background: none;
}

div.jwts_toggleControlContainer a.jwts_toggleOn span.jwts_toggleControlNotice
{
	display: none;
}

div.jwts_content
{
	border: 0;
	border-radius: 0px;
	padding: 0px;
    margin-bottom: 0;
}

div.jwts_content img {
    margin: 15px 0;
}

div.jwts_content > p
{
    font-size: 14px;
    letter-spacing: .5px;
	margin: 0 30px 15px 30px;
    padding: 10px 20px;
}

div.jwts_content > p {
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: #000;
}

div.jwts_content p:blank {
    display: none;
}

div.jwts_toggleContent.visible
{
   -webkit-animation: fadeIn 2s;
    animation: fadeIn 2s;
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}  
@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

div.jwts_toggleContent.hidden
{
   -webkit-animation: fadeOut 2s;
    animation: fadeOut 2s;
}

@-webkit-keyframes fadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}  
@keyframes fadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

/* galeria */

body.produkt .showplus-container
{
	background: #fff;
}

body.produkt .showplusx-slideshow
{
	background: #fff;
	margin: 20px auto 0 auto;
}

body.produkt .showplusx-item
{
	/*background-size: 80% 80%;*/
	background-size: contain;
	background-color: white;
	background-repeat: no-repeat;
	background-position: center;	
}
.showplusx-item
{
	background-color: white;
}
.showplusx-previous, .showplusx-next
{
	cursor: pointer;
}

.showplusx-previous, .showplusx-slideshow[dir="rtl"] > .showplusx-next
{
	left: 30px;
}

.showplusx-previous, .showplusx-slideshow[dir="rtl"] > .showplusx-next, .showplusx-slideshow[dir="rtl"] > div.showplusx-next:hover, div.showplusx-previous:hover
{
	background-image: url('../images/prev.png');
}

.showplusx-next, .showplusx-slideshow[dir="rtl"] > .showplusx-previous, .showplusx-slideshow[dir="rtl"] > div.showplusx-previous:hover, div.showplusx-next:hover
{
	background-image: url('../images/next.png');
}

/* pliki cookies */

body #ca_banner p span
{
	color: #000;
	text-decoration: none;
}

body #ca_banner .accept
{
	background: none;
	border: 1px solid #000;
	color: #000;
	border-radius: 0px;
	text-shadow: none;
	text-transform: uppercase;
}

body #ca_banner .accept:hover
{
	box-shadow: none;
}

body #ca_info_plus
{
	font-size: 12px;
}

body #ca_info_plus
{
	font-size: 12px;
	color: #000;
	line-height: 150%;
}

body #ca_info_plus a, body span.infoplus a
{
	color: #000;
}

body #ca_info_plus strong
{
	margin-bottom: 10px;
}

/* szablon mobilny */

div.logo_mobile, div.button_mobile, div.menu_mobile
{
	display: none;
}

div.instagram
{
	width: 40px;
	height: 40px;
	position: fixed;
	top: calc(20% + 128px);
	left: 0px;
    background: #fff;
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 0px 5px 0px rgba(0,0,0,0.25);
    text-align: center;
    z-index: 1030;
}

div.instagram img
{
    width: 34px;
    position: relative;
    top: 3px;
}

.na-wymiar div.content2 {
    width: 100%;
}

.masonry-gallery {
    column-count: 1;
    column-gap: 10px;
    padding: 0 10px;
}

@media(min-width: 576px) {
    
    .masonry-gallery {
        column-count: 2;
    }
    
}

@media(min-width: 768px) {
    
    .masonry-gallery {
        column-count: 3;
        column-gap: 15px;
        padding: 0 15px;
    }
    
}

@media(min-width: 992px) {
    
    .masonry-gallery {
        column-count: 4;
    }
    
}

.masonry-item {
    display: block;
    position: relative;
    width: 100%;
    display: inline-block;
    margin-bottom: 15px;
}

.masonry-item .img-magnify {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0);
    font-size: 48px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color .15s ease-in-out, color .15s ease-in-out;
}

.masonry-item .img-magnify i {
    transform: scale(0);
    transition: transform .15s ease-in-out
}

.masonry-item:hover .img-magnify {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(0, 0, 0, .75);
}

.masonry-item:hover .img-magnify i {
    transform: scale(1);
}

/*@media (max-width: 1379px)*/
@media (max-width: 1269px)
{
	html
	{
		width: 100%;
		height: 100%;
	}
	header
	{
		width: calc(100% - 30px);
		height: 60px;
		padding: 0px 15px;
	}	
	div.menu1, div.menu2, div.logo,	div.frontpage1.hidden
	{
		display: none;
	}
	div.logo_mobile
	{
		display: block;
		width: 50%;
		height: 60px;
		line-height: 55px;
		text-align: left;
		float: left;
	}
	div.logo_mobile h1
	{
		margin: 0px;
		padding: 0px;
	}
	div.button_mobile
	{
		display: block;
		width: 22px;
		height: 60px;
		line-height: 60px;
		background: url('../images/menu1.png') no-repeat center center;
		text-align: left;
		cursor: pointer;
		float: right;
	}
	div.button_mobile.open
	{
		background: url('../images/menu2.png') no-repeat center center;
	}
	div.menu_mobile
	{
		display: block;
		width: 100%;
		font-size: 14px;
		text-transform: uppercase;
	}
	div.menu_mobile ul
	{
		list-style-type: none;
		margin: 0px;
		padding: 0px;
	}
	div.menu_mobile ul ul
	{
		display: none;
		height: 510px;
		margin-top: 40px;
	}
	div.menu_mobile li
	{
		padding-bottom: 10px;
		margin-bottom: 20px;
	}
	div.menu_mobile li.active a
	{
		border-bottom: 2px solid #000;
	}
	div.menu_mobile li.parent.active
	{
		margin-bottom: 0px;
	}
	div.menu_mobile li.active ul
	{
		display: block;
	}
	div.menu_mobile li.item-107.active
	{
		margin-bottom: 20px;
	}
	div.menu_mobile li.item-107.active ul
	{
		display: none;
	}
	div.menu_mobile a
	{
		padding-bottom: 10px;
		color: #000;
	}	
	div.menu_mobile ul li ul li
	{
		width: 50%;
		height: 120px;
		margin-bottom: 0px;
		float: left;
	}	
	div.menu_mobile ul li.active ul li a
	{
		border: none;
	}
	div.menu_mobile ul li ul li a
	{
		display: block;
		height: 15px;
		padding-top: 70px;
		padding-bottom: 0px;
	}
	div.menu_mobile ul li ul li:first-child a
	{
		background: url('../images/salon.png') no-repeat top center;
	}
	div.menu_mobile ul li ul li:nth-child(2) a
	{
		background: url('../images/kuchnia.png') no-repeat top center;
	}
	div.menu_mobile ul li ul li:nth-child(3) a
	{
		background: url('../images/sypialnia.png') no-repeat top center;
	}
	div.menu_mobile ul li ul li:nth-child(4) a
	{
		background: url('../images/lozka.png') no-repeat top center;
	}
	div.menu_mobile ul li ul li:nth-child(5) a
	{
		background: url('../images/stoly.png') no-repeat top center;
	}
	div.menu_mobile ul li ul li:nth-child(6) a
	{
		background: url('../images/lawy.png') no-repeat top center;
	}
	div.menu_mobile ul li ul li:nth-child(7) a
	{
		background: url('../images/krzesla.png') no-repeat top center;
	}	
	div.menu_mobile.hidden
	{
		display: none;
	}
	div.menu_mobile p
	{
		line-height: 150%;
		font-size: 9px;
		color: #797979;
	}
	div.menu_mobile p a
	{
		color: #797979;
	}
	div.frontpage1
	{
		width: 100%;
		height: calc(100% - 60px);
		padding: 0px;
	}	
	div.frontpage2
	{
		width: 100%;
		height: 100%;
		background-size: cover;
	}
	div.frontpage1 h1
	{
		font-size: 38px;
	}
	div.frontpage2 h2
	{
		padding-top: 25%;
		font-size: 26px;
	}
	div.content1
	{
		background: none;
		min-height: 0;		
	}
	div.content2
	{
		width: 100%;
		min-height: 0;
		min-width: 0;
		padding-bottom: 50px;
	}
	div.content2 div.page-header h2
	{
		margin-bottom: 25px;
		padding-top: 30px;
		padding-bottom: 15px;
		font-size: 35px;
		line-height: 150%;
	}
	footer
	{
		display: none;
	}
	body.produkt .showplusx-slideshow
	{
		margin: 20px auto 0 auto;
	}
	table.meble
	{
		border-spacing: 0px;
	}
	table.meble.centered
	{
		margin: 0px auto;
	}
	table.meble td
	{
		display: block;
		width: calc(50% - 22px);
		margin: 10px;
		font-size: 11px;
		float: left;
	}
}

@media (max-width: 700px)
{
	table.meble
	{
		border-collapse: collapse;
		border-spacing: 0px;
	}	
	table.meble td
	{
		display: block;
		width: calc(100% - 20px);
		margin: 10px;
		float: left;
	}
	body.produkt .showplusx-slideshow
	{
		width: 100% !important;
	}	
	body.produkt .showplusx-item
	{
		background-size: cover !important;
	}	
	#ca_banner
	{
		height: 118px !important;
	}
}

@media (max-width: 420px)
{
	h3.kolekcja a
	{
		font-size: 10px;
	}
	div.jwts_toggleControlContainer a.jwts_toggleControl
	{
		font-size: 10px;
	}
	div.jwts_toggleControlContainer
	{
		padding: 0px 10px;
	}
	div.jwts_toggleControlContainer a.jwts_toggleOff span.jwts_toggleControlTitle
	{
		padding-left: 5px;
	}
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: black;
  color: white;
}

.modal-body {
	text-align: center;
	padding: 2rem 16px;
}

.modal-footer {
  padding: 2rem 16px;
  background-color: black;
  color: white;
}