@charset "utf-8";
/* CSS Document */


body {
	background-image: url(../img/background_new.webp);
	background-position: center top;
	background-repeat: no-repeat;
	background-color: /*#6db000;*/ #76bc35;
	margin: 0 auto;
	/*font-family: Verdana, Geneva, sans-serif;*/
	color: #FFF;
	font-family: 'Comfortaa', cursive;
}

a {
	text-decoration: none;
	border: none;
	color: #FFF;
}
img {
	border: none;
}
.logo {
	float: left;
}
.logo img {
	width: 120px;
}
.page {
	width: 940px;
	margin: 0 auto;
}
.navbar {
	/*width: 670px;*/
	padding-top: 100px;
	width: 1000px;
	margin: 0 auto;
    font-family: 'filettoregular';
}
.nav {
	/*float: right;
	margin-right: 6px;*/
	margin-left: 270px;
	height: 37px;
}
.nav ul {
	list-style-type: none;
	display: inline-block;
	padding: 0px;
}
.nav li {
	display: inline-block;
	font-size: 20px;
	font-weight: bold;
	-webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFF;
}


.button_onas img { width: 88px; padding: 4px; }

.button_oferta img { width: 104px; padding: 4px; }	 

.button_projekty img { width: 122px; padding: 4px; }	 

.button_realizacje img { width: 137px; padding: 4px; }

.button_sklep img { width: 85px; padding: 4px; }	 

.button_kontakt img { width: 111px; padding: 4px; }


.button_onas img:hover { width: 96px; padding: 0px; }

.button_oferta img:hover { width: 112px; padding: 0px; }

.button_projekty img:hover { width: 130px; padding: 0px; }

.button_realizacje img:hover { width: 145px; padding: 0px; }

.button_sklep img:hover { width: 93px; padding: 0px; }

.button_kontakt img:hover { width: 119px; padding: 0px; }

/*.button {
	border-radius: 2px;
	background-color: #4d4d4d;
	background: -moz-linear-gradient(top, #4d4d4d 0%, #6e6e6e 40%, #6e6e6e 60%, #4d4d4d 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4d4d4d), color-stop(40%,#6e6e6e), color-stop(60%,#6e6e6e), color-stop(100%,#4d4d4d));
	background: -webkit-linear-gradient(top, #4d4d4d 0%, #6e6e6e 40%, #6e6e6e 60%, #4d4d4d 100%);
	background: -o-linear-gradient(top, #4d4d4d 0%, #6e6e6e 40%, #6e6e6e 60%, #4d4d4d 100%);
	background: -ms-linear-gradient(top, #4d4d4d 0%, #6e6e6e 40%, #6e6e6e 60%, #4d4d4d 100%);
	background: linear-gradient(to bottom, #4d4d4d 0%, #6e6e6e 40%, #6e6e6e 60%, #4d4d4d 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6e6e6e', endColorstr='#4d4d4d',GradientType=0 );
	background-repeat: no-repeat;
}*/
.content {
	/*background-image: url(img/content_new.webp);
	background-color: #3b3c3a;*/
	background: rgba(46, 46, 46, 0.9);
	/*width: 1044px;*/
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
	padding: 20px;
	
}
	.content .logo {
		display: inline-block;
		background-image: url(../img/logo_content.webp);
		background-repeat: no-repeat;
		background-size: 100% auto;
		/*background:  rgba(0, 0, 0, 0.9);*/
		width: 180px;
		height: 210px;
		float: none;
		text-align: center;
		margin-left: -10px;
		padding-left: 20px;
		font-size: 20px;
	}
	.content .logo.classic {
		background-image: url(../img/LOGO.webp);
		width: 200px;
		margin: 0px;
		margin-left: 4px;
		padding: 0px;
	}
	.content .logo.lisc {
		background-image: url(../img/logo_lisc.webp);
		float: right;
	}

.inside {
	height: 500px;
	overflow: hidden;
}
.tresc, .realizacja {
	color: #FFF;
	width: 680px;
	font-size: 11.5px;
	text-align: justify;
	line-height: 17px;
	/*float: left;*/
	display: inline-block;
	vertical-align: top;
	margin-bottom: 20px;
	margin-right: 10px;
}
.realizacja {
	width: 900px;
	/*height: 600px;
	overflow: hidden;*/
}
.rado {
	display: block;
}
.lesni, .dom1, .dom2,  {
	display: none;
}
.realizacja .text {
	width: 650px;
	margin-top: -220px;
}
.rado .slider {
	background: url(../img/slajdery/slider_rado2.webp);
}
.lesni .slider {
	background: url(../img/slajdery/slider_lesni.webp);
}
.dom1 .slider  {
	background: url(../img/slajdery/slider_dom1.webp);
}
.dom2 .slider {
	background: url(../img/slajdery/slider_dom2.webp);
}
.dom3 .slider {
	background: url(../img/slajdery/slider_dom3.webp);
}
.dom4 .slider {
	background: url(../img/slajdery/slider_dom4.webp);
}
.realizacja.lesni, .dom1, .dom2,  {
	display: none;
}

.tresc.kontakt {
	width: 100%;
	margin-bottom: 0px;
}
.tresc:first-letter {
	color: #fe730c;
	/*font-size: 14px;*/
	font-weight: bold;
}
.tresc a {
	text-decoration: underline;
}
.table {
	display: table;
}
.projects .tresc {
	margin-bottom: 0;
}
.projects .tresc .table {
	float: right;
}
.text {
	display: inline-block;
	vertical-align: top;
	width: 96%;
}
.projects .text {
	width: 100%;
	margin-right: 10px;
}
	.vert {
		width: 2px;
		height: 200px;
		background-color: #fe730c;
		/*display: inline-block;*/
		display: table-cell;
		vertical-align: top;
		margin-left: 10px;
	}
	.page .content .horiz {
		width: 660px;
		height: 2px;
		background-color: #fe730c;
		margin: 0 auto;
		margin-top: 10px;
	}
.main {
	/*margin-top: 50px;
	margin-left: 60px;
	width: 670px;*/
}
.main .text > ul {
	margin: 0px;
	padding-left: 14px;
	list-style-type: square;
	color: #fe730c;
}
p.first:first-letter {
	color: #fe730c;
	font-weight: bold;
	font-size: 14px;
}
	
.main p {
	margin: 0px;
	margin-bottom: 6px;
	text-indent: 30px;
}
.budowa {
	font-size: 20px;
	text-align: center;
	line-height: 20px;
	margin-top: 100px;
	margin-left: 300px;
	float: left;
}
.budowa:first-letter {
	font-size: 20px;
	color: #FFF;
	font-weight: normal;
}

.left {
	display: inline-block;
	vertical-align: top;
}
.kontakt .left .img,.down .left.dolne .img {
	background-image: url(../img/USA_5561.webp);
	background-repeat: no-repeat;
	width: 180px;
	height: 250px;
	overflow: hidden;
}
.down .left.dolne .img {
	background-image: url(../img/IMG_8615x.webp);
	background-size: 100% auto;
}
.dolne {
	margin-top: 20px;
	margin-right: 16px;
}
.dane {
	display: inline-block;
	vertical-align: top;
	font-size: 16px;
	text-align: center;
	width: 490px;
	line-height: 25px;
}
.dane p {
	font-size: 11px;
	line-height: 16px;
}
.smaller {
	font-size: 14px;
}
.orange {
	color: #fe730c;
	font-size: 17px;
}
.dane .orange {
	margin-bottom: 20px;
	margin-top: 10px;
}
.header {
	color: #fe730c;
	font-size: 19px;
}
.top {
	width: 100%;
}
.top .vert{
	display: inline-block;
	vertical-align: top;
	height: 250px;
}
.top .logo {
}
.down {
	width: 100%;
	/*margin-top: 20px;
	margin-left: 70px;*/
	display: block;
	text-align: left;
}
.mapka {
	display: inline-block;
	vertical-align: top;
	margin-top: 21px;
	/*background-image: url(../img/mapa_mala.webp);
	background-size: 100% auto;
	background-position: center top;
	background-repeat: no-repeat;*/
	width: 470px;
	height: 270px;
}
	.mapka p {
		font-size: 12px;
		text-decoration: underline;
		margin-top: 256px;
		text-align: center;
	}
.normal {
	color: #FFF;
	text-align: center;
}
.formularz {
	display: inline-block;
	vertical-align: top;
	font-size: 10px;
	margin-top: 18px;
	float: right;
}
.formularz .bold {
	font-size: 14px;
	margin-bottom: 4px;
}

.zamow_button {
	background-image: url(../img/button_zamow.webp);
	background-repeat: no-repeat;
	margin-top: 220px;
	width: 80px;
	height: 28px;
}
.hidden {
	/*padding-top: 30px;*/
	height: 320px;
	display: inline-block;
	overflow: hidden;
}
#hidden1 {
	padding-top: 20px;
	padding-bottom: 60px;
}
#hidden2 {
	padding-top: 0px;
	padding-bottom: 20px;
}


/*.text {
	width: 660px;
	margin-left: 70px;
}
.text:first-letter {
	color: #fe730c;
	font-weight: bold;
}
.text a {
	text-decoration: underline;
}
.text img {
	float: right;
	width: 80px;
}
.text p {
	text-indent: 30px;
}*/
h1 {
	font-size: 15px;
	font-weight: normal;
	color: #fe730c;
}
/*.text .bold:first-letter {
	font-size: 17px;
}*/



.bold {
	font-weight: bold;
}
	

.left_nav {
	/*float: right;
	padding-right: 30px;*/
	width: 180px;
	font-weight: bold;
	display: inline-block;
	vertical-align: top;
}
.left_nav ul {
	list-style-type: none;
	padding-left: 0px;
	margin-top: 0px;
}
.left_nav li {
	margin-bottom: 10px;
	display: inline-block;
	width: 60px;
	height: 60px;
}
.left_nav li a {
	display: block;
	height: 100%;
}
.left_nav li .icon {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 60px;
}
.left_nav li .icon img {
	width: 60px;
	height: 60px;
}
.left_nav li .icon .grey {
	width: 100%;
	height: 100%;
}
.left_nav li a.active .icon .grey, .left_nav li a:hover .icon .grey {
	display: none;
}
.menu {
	padding-left: 4px;
	padding-right: 4px;
	font-size: 13px;
	display: inline-block;
	vertical-align: middle;
	color: #CCC;
}
.left_nav li a.active .menu, .left_nav li a:hover .menu {
	color: #fff;
}
.left_nav img {
	height: 35px;
	display: inline-block;
}
/*.left_nav li:hover img {
	height: 44px;
}*/


.ban img {
	margin-left: 106px;
	margin-top: 4px;
}


.footer {
	width: 100%;
	margin-top: 10px;
	margin-bottom: 50px;
	font-size: 10px;
	color: #ffffff;
}
	.footer .horiz {
		width: 100%;
		height: 2px;
		background-color: #FFFFFF;
	}
	.footer .copyright {
		float: left;
	}
	.footer .wykonanie {
		float: right;
	}

/* FORMULARZ */

a:focus { 
	outline:none; /*usuwanie niebieskiej obwódki w FF*/
}

#formularz label {
	display: block;
}

#formularz textarea {

}

#formularz input[type=text] {
	height: 10px;

}
#tresc {
	height: 120px;
	width: 200px;
}
#wyslij {
	float: right;
	/*position: absolute;
	top: 693px;
	margin-left: 132px;*/
	margin-top: 6px;
}
	
#blad {
	width: 200px;
	padding: 2px;
}
#blad ul {
	margin: 0px;
	padding: 0px;
}
#blad li {
	width: 200px;
}

#blad p{
	color: #F00;
	margin: 0px;

}

#sukces {

}

#sukces p{

}


@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	30% {
		opacity: 0.3;
	}
	50% { 
		opacity: 0.5;
	}
	70% {
		opacity: 0.7;
	}
	100% { 
		opacity: 1;
	}
}
@-o-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	30% {
		opacity: 0.3;
	}
	50% { 
		opacity: 0.5;
	}
	70% {
		opacity: 0.7;
	}
	100% { 
		opacity: 1;
	}
}
@-moz-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	30% {
		opacity: 0.3;
	}
	50% { 
		opacity: 0.5;
	}
	70% {
		opacity: 0.7;
	}
	100% { 
		opacity: 1;
	}
}
@-ms-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	30% {
		opacity: 0.3;
	}
	50% { 
		opacity: 0.5;
	}
	70% {
		opacity: 0.7;
	}
	100% { 
		opacity: 1;
	}
}
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	30% {
		opacity: 0.3;
	}
	50% { 
		opacity: 0.5;
	}
	70% {
		opacity: 0.7;
	}
	100% { 
		opacity: 1;
	}
}

.gallery {
    position: relative;
    overflow: hidden;
	height: 270px;
	border: 10px solid #000000;
	-webkit-animation: fadeIn 3s; 
  	-webkit-animation-delay: 0s;
	-0-animation: fadeIn 3s; 
  	-0-animation-delay: 0s;
	-moz-animation: fadeIn 3s; 
  	-moz-animation-delay: 0s;
	-ms-animation: fadeIn 3s; 
  	-ms-animation-delay: 0s;
	animation: fadeIn 3s; 
  	animation-delay: 0s;
}

	.slider {
		height: 258px;
		width: 7319px;
		background: url(../img/slajdery/slider.webp);
		position: absolute;
		top: 0;
		left: 0;
		
		-moz-transition:  opacity 0.5s ease-out; 
		-o-transition: opacity 0.5s ease-out; 
		-webkit-transition: opacity 0.5s ease-out; 
		-ms-transition: opacity 0.5s ease-out; 
		transition: opacity 0.5s ease-out;  
	
		-webkit-animation: moveSlideshow 100s linear infinite;
		-moz-animation: moveSlideshow 100s linear infinite;
		-o-animation: moveSlideshow 100s linear infinite;
		-ms-animation: moveSlideshow 100s linear infinite;
		animation: moveSlideshow 100s linear infinite;
		
	}
		.slider.sklep {
			background: url(../img/slajdery/slider_sklep.webp);
		} 
		
		.slider.oferta {
			background: url(../img/slajdery/slider_oferta.webp);
		}
.realizacja .gallery {
	-webkit-animation: none;
	-0-animation: none; 
	-moz-animation: none;
	-ms-animation: none;
	animation: none;
	background-color: #000;
	top: -20px;
} 
	.slider:hover {
		-moz-animation-play-state: paused;
		-o-animation-play-state: paused;
   		-webkit-animation-play-state: paused;
		-ms-animation-play-state: paused;
		animation-play-state: paused;
	}

@-webkit-keyframes moveSlideshow {
    0% { left: 0; }
    100% { left: -4684px; }
}
@-moz-keyframes moveSlideshow {
    0% { left: 0; }
    100% { left: -4684px; }
}
@-o-keyframes moveSlideshow {
    0% { left: 0; }
    100% { left: -4684px; }
}
@-ms-keyframes moveSlideshow {
    0% { left: 0; }
    100% { left: -4684px; }
}
@keyframes moveSlideshow {
    0% { left: 0; }
    100% { left: -4684px; }
}

.projects {
	height: 560px;
}
.projects #gallery {
	height: 330px;
	/*padding-top: 30px;*/
	overflow: hidden;
	position: relative;
	margin-top: -10px;
}
.projects #gallery > div  {
	margin: 0px;
	margin-left: 0.5px;
	padding: 0px;
	list-style: none;
	height: 330px;
	overflow: hidden;
	position: relative;
	display: none;
}
.projects #gallery > div.first { 
	display: block;
}
	.projects #gallery > div > article  {
		background-color: #000000;
		border: 10px solid #000000;
		height: 270px;
	}
/*		
@-webkit-keyframes moveTarget {
	0% {
		right: -900px;
		
	}
	
	100% { 
		right:0px;
	}
}
@-moz-keyframes moveTarget {
	0% {
		right: -900px;
		
	}
	
	100% { 
		right:0px;
	}
}
@-webkit-keyframes moveIt {
	0% {
		right:0px;
		
	}
	50% {
		right:900px;
		
	}
	100% { 
		right:-900px;
		z-index: 5;
	}
}*/
		.projects #gallery ul.images li p {
			position: absolute;
			left: 0;
			right: 0;
			bottom: 0;
			margin-top: 50px;
			font-size: 12px;
			width: 210px;
			height: 43px;
			display: none;
			color: #fe730c;
			transform: rotate(-90deg);
			transform-origin: 10% 20%;
			-moz-transform: rotate(-90deg);
			-moz-transform-origin: 10% 20%;
			-webkit-transform: rotate(-90deg);
			-webkit-transform-origin: 10% 20%;
			-o-transform: rotate(-90deg);
			-o-transform-origin: 10% 20%;
			-ms-transform: rotate(-90deg);
			-ms-transform-origin: 10% 20%;
			filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
			text-shadow: 0px 0px 4px #000000;
		}
.projects #gallery ul.images {
	float: right;
}
.projects #gallery h1 {
	/*margin-top: -35px;
	margin-bottom: 15px;
	margin-left: -10px;
	position: absolute;*/
}
.projects #gallery ul.images {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	display: inline-block;
	vertical-align: top;
	height: 270px;
	width: 859px;
	overflow: hidden;
	/*position: relative;*/
}
	.projects #gallery ul.images li {	
		position: absolute;
		height: 270px;
		margin: 0px;
		padding: 0px;
	}
	.projects #gallery ul.images li:target {
		-webkit-animation-name: moveTarget; 
		-webkit-animation-duration: 2s; 
		-webkit-animation-iteration-count: 1;
		z-index: 10;
	}
	.projects #gallery ul.images li.first {
		z-index: 9;
	}
	.projects #gallery ul.images li:not(:target) {
		-webkit-animation-name: moveIt; 
		-webkit-animation-duration: 4s; 
		-webkit-animation-iteration-count: 1
	}
		.projects #gallery ul.images li p {
			bottom: -20px;
			left: -34px;
			display: block;
			margin-top: 0px;
		}
	

.thumb {
	list-style: none;
	position: relative;
	display: inline-block;
	vertical-align: top;
	float: left;
	height: 210px;
	width: 14px;
	z-index: 1000;
}
	.thumb a {
		background-color: #999;
		display: block;
		width: 14px;
		height: 14px;
		margin-bottom: 10px;
		color: #000000;
		font-size: 12px;
		line-height: 14px;
		text-align: center;
	}
	.thumb a.active {
		background-color: #fe730c;
	}
		/*ul#thumb li a {
			display: block;
			width: 14px;
			height: 14px;
		}*/


/* Styl dla wysuwanego likebox'a */
#fb_rozwin	{
   height: 220px;
   width: 180px;
   top: 53%;
   right: 0px;	
   position: fixed;
   /*margin-top: -201px;  = wysokosc panelu / 2 (polozenie panelu w pionie) */	
   padding-left: 48px;
   background-image: url(../img/fb_icon.webp);
   background-position: top left;
   background-repeat: no-repeat;
   margin: 10px;
}
 
.zwin	{background-position: 0px 0px -42px 0px;}
 
#fb_zawartosc	{
   height: 220px; 
   width: 180px;
   display: block; 
   float: right;
   background-color: rgba(46, 46, 46, 0.9);
}

._4s7c {
	border: none !important;
}
	


#bookmarks {
	overflow: none;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	list-style: none;
	position: relative;
	display: inline-block;
	vertical-align: top;
	margin-right: 240px;
	height: 210px;
	margin-top: -215px;
	margin-bottom: 0;
}
	#bookmarks .row {
		height: 62px;
		margin-bottom: 10px;
	}
	#bookmarks .button {
		display: inline-block;
		vertical-align: top;
		position: relative;
		float: left;
		margin-right: 10px;
		cursor: pointer;
	}
	#bookmarks .button.active .grey,
	#bookmarks .button:hover .grey {
		display: none;
	}
	#bookmarks .button div {
		width: 70px;
		height: 62px;
		background-size: auto 120%;
		background-repeat: no-repeat;
		background-position: center;
	}
		/*ul#bookmarks li.active {
			border: 2px solid #fe730c;
		}*/
		#bookmarks .button div a {
			display: block;
			position: relative;
			z-index: 100;
			width: 100%;
			height: 100%;
		}
		#bookmarks #th1 {
			background-image: url(../img/slajdery/projects-new/slajder_kazimierza_wielkiego_wiza.webp);
		}
		#bookmarks #th2 {
			background-image: url(../img/slajdery/projects-new/slajder_kosciuszki_wizki.webp);
			background-position: -20px center;
		}
		#bookmarks #th3 {
			background-image: url(../img/slajdery/projects-new/slajder_zacisze_wiza.webp);
		}
		#bookmarks #th4 {
			background-image: url(../img/slajdery/projekty/slajder_radodomki.webp);
			background-position: -14px center;
		}
		#bookmarks #th5 {
			background-image: url(../img/slajdery/projects-new/slajder_zlotniki343_wiza.webp);
		}
		#bookmarks #th6 {
			background-image: url(../img/slajdery/projects-new/slajder_gorki.webp);
			background-position: -14px center;
		}
		#bookmarks #th7 {
			background-image: url(../img/slajdery/projects-new/slajder_nowa_wizki.webp);
			background-position: -14px center;
		}
		/*#bookmarks #th8 {
			background-image: url(../img/slajdery/projekty/slajder_szpitalfront.webp);
			background-position: -14px center;
		}
		#bookmarks #th9 {
			background-image: url(../img/slajdery/projekty/slajder_krolowej.webp);
		}*/
		#bookmarks #th10 {
			background-image: url(../img/slajdery/projekty/slajder_kwik.webp);
			background-size: auto 160%;
		}
		#bookmarks #th11 {
			background-image: url(../img/slajdery/projekty/slajder_krakow_wizki1.webp);
			background-position: -14px center;
		}
		#bookmarks #th12 {
			background-image: url(../img/slajdery/projekty/slajder_chorzelow_wiza.webp);
		}
		#bookmarks #th13 {
			background-image: url(../img/slajdery/projects-new/slajder_ukraina_przekroj1.webp);
		}
		/*#bookmarks #th14 {
			background-image: url(../img/slajdery/projekty/slajder_remog.webp);
		}*/
		#bookmarks #th15 {
			background-image: url(../img/slajdery/projekty/slajder_majowa.webp);
			background-position: -14px center;
		}
		#bookmarks #th16 {
			background-image: url(../img/slajdery/projects-new/slajder_tarnow.webp);
		}
		#bookmarks #th17 {
			background-image: url(../img/slajdery/projekty/slajder_krolowej_jadwigi2.webp);
			background-size: auto 140%;
			background-position: -14px center;
		}
		#bookmarks #th18 {
			background-image: url(../img/slajdery/projekty/slajder_chrzastow.webp);
			background-position: -14px center;
		}
		#bookmarks #th19 {
			background-image: url(../img/slajdery/projekty/slajder_chrzastowzlotniki.webp);
			background-position: -14px center;
		}
		#bookmarks #th20 {
			background-image: url(../img/slajdery/projects-new/slajder_tarnow_piotrek.webp);
			background-position: -16px center;
		}
		#bookmarks #th21 {
			background-image: url(../img/slajdery/projects-new/slajder_radochata.webp);
			background-size: auto 140%;
			background-position: -14px center;
		}
		#bookmarks #th22 {
			background-image: url(../img/slajdery/projects-new/slajder_myslenice.webp);
			background-size: auto 300%;
			background-position: -30px -10px;
		}
		#bookmarks #th23 {
			background-image: url(../img/slajdery/projects-new/slajder_radokamil.webp);
			background-size: auto 160%;
			background-position: -14px center;
		}
		#bookmarks #th24 {
			background-image: url(../img/slajdery/projects-new/slajder_chorzelow_parkanex.webp);
			background-position: -4px center;
		}
		#bookmarks .button p {
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			margin-top: 50px;
			font-size: 12px;
			width: 210px;
			height: 43px;
			display: none;
			color: #fe730c;
			transform: rotate(90deg);
			transform-origin: 10% 20%;
			-moz-transform: rotate(90deg);
			-moz-transform-origin: 10% 20%;
			-webkit-transform: rotate(90deg);
			-webkit-transform-origin: 10% 20%;
			-o-transform: rotate(90deg);
			-o-transform-origin: 10% 20%;
			-ms-transform: rotate(90deg);
			-ms-transform-origin: 10% 20%;
			filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
			text-shadow: 0px 0px 4px #000000;
		}
		#bookmarks .button.active p {
			display: block;
		}
		.grey {
			background-color: #272825;
			position: absolute;
			top: 0;
			left: 0;
			width: 43px;
			height: 210px;
			opacity: 0.5;
		}
		#bookmarks .row .button .th a {
			background-image: url(../img/domek.webp);
			background-position: center;
			background-repeat: no-repeat;
			background-size: 40%;
		}
		#bookmarks .row:nth-child(1) .button:nth-child(4) .th a,
		#bookmarks .row:nth-child(1) .button:nth-child(8) .th a,
		#bookmarks .row:nth-child(2) .button:nth-child(5) .th a,
		#bookmarks .row:nth-child(2) .button:nth-child(6) .th a {
			background-image: url(../img/miasto.webp);
		}
		

/* POPUP */

.boxopen {
	position: absolute;
	top: 30px;
	left: 16px;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
	opacity: 0;
    pointer-events: none;
	-webkit-transition: opacity 500ms ease-in;
    -moz-transition: opacity 500ms ease-in;
    transition: opacity 500ms ease-in;
	font-size: 18px;
	height: auto;
	text-align: center;
	background-color: #000000;
	color: #ffffff;
	-webkit-animation: minimise 500ms linear;
	-moz-animation: minimise 500ms linear;
	padding: 10px;
	width: 96%;
}
.boxopen:target {
    opacity: 1;
    pointer-events: auto;
}
.boxopen img {
	width: 100%;
}
		
	.boxopen:target  {
		-webkit-animation-name: bounce;
		-moz-animation-name: bounce;
		animation-name: bounce;
	}
	
.boxopen a[href="#close"]:after {
	content: 'x';
	display: block;
	position: absolute;
	right: -10px;
	top: -10px;
	margin-left: 10px;
	width: 30px;
	height: 30px;
	line-height: 26px;
	text-decoration: none;
	text-align: center;
	background-color: #000000;
	color: #ffffff;
	border-radius: 50%;
	font-size: 18px;
}
