/*
Theme Name: Project Studio
Author: Webtom.pl
Author URI: https://webtom.pl/
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');
*{font-family: 'Open Sans', sans-serif;}

/* =WordPress Core- */
.alignnone {margin: 5px 20px 20px 0;}
.aligncenter,div.aligncenter {display: block;margin: 5px auto 5px auto;}
.alignright {float:right;margin: 5px 0 20px 20px;}
.alignleft {float: left;margin: 5px 20px 20px 0;}
a img.alignright {float: right;margin: 5px 0 20px 20px;}
a img.alignnone {margin: 5px 20px 20px 0;}
a img.alignleft {float: left;margin: 5px 20px 20px 0;}
a img.aligncenter {display: block;margin-left: auto;margin-right: auto}
.wp-caption {background: #fff;border: 1px solid #f0f0f0;max-width: 96%;padding: 5px 3px 10px;text-align: center;}
.wp-caption.alignnone {margin: 5px 20px 20px 0;}
.wp-caption.alignleft {margin: 5px 20px 20px 0;}
.wp-caption.alignright {margin: 5px 0 20px 20px;}
.wp-caption img {border: 0 none;height: auto;margin: 0;max-width: 98.5%;padding: 0;width: auto;}
.wp-caption p.wp-caption-text {font-size: 11px;line-height: 17px;margin: 0;padding: 0 4px 5px;}
.screen-reader-text {clip: rect(1px, 1px, 1px, 1px);position: absolute !important;height: 1px;width: 1px;overflow: hidden;}
.screen-reader-text:focus {background-color: #f1f1f1;border-radius: 3px;box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);clip: auto !important;color: #21759b;display: block;font-size: 14px;font-size: 0.875rem;font-weight: bold;height: auto;left: 5px;line-height: normal;padding: 15px 23px 14px;text-decoration: none;top: 5px;width: auto;z-index: 100000;}
/*GALERIA WORDPRESS*/
#prevLink, #nextLink{transition:none;}
.gallery {float: left;width: 100%;margin-top: 20px;}
.gallery a {
	border: 3px solid #ffffff;
	display: block;
	float: left;
	padding: 0;
	overflow: hidden;
}
.gallery-columns-1 a{width: 100%;}
.gallery-columns-2 a{width: 50%;}
.gallery-columns-3 a{width: 33.333333%;}
.gallery-columns-4 a{width: 25%;}
.gallery-columns-5 a{width: 20%;}
.gallery-columns-6 a{width: 16.666666%;}
.gallery-columns-7 a{width: 14.2857%;}
.gallery-columns-8 a{width: 12.5%;}
.gallery-columns-9 a{width: 11.11111%;}
.gallery a img {
	height: auto;
	width: 100%;
	transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-webkit-transition: all .3s ease;
}
.gallery a img:hover {transform: rotate(5deg) scale(1.1);}
@media screen and (max-width: 479px){
	.gallery-columns-4 a,.gallery-columns-6 a,.gallery-columns-8 a{width: 50%;}
	.gallery-columns-5 a,.gallery-columns-7 a,.gallery-columns-9 a{width: 33.33333%;}
}
/*HEADER*/
header#header {
	position: absolute;
	z-index: 1;
	left: 0;
	width: 100%;
	background-color: rgba(0,0,0,0.5);
	border-bottom: 1px solid #000;
	top: 0;
}
.after {display: none;}
#menu-main > li > .sub-menu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	padding: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	background-color: rgba(0,0,0,0.5);
	border-right: 1px solid #000;
	border-left: 1px solid #000;
	border-bottom: 1px solid #000;
	border-top: 1px solid rgba(0,0,0,0.5);
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
@media screen and (min-width: 992px) {
	#menu-main > li:hover .sub-menu {
		opacity: 1;
		visibility: visible;
	}
}
#menu-main > li > .sub-menu li a {
	padding: 10px;
	color: #fff;
	text-transform: uppercase;
	font-size: 12px;
	display: block;
}
#menu-main > li > .sub-menu li:hover a {
	color: #000;
	background-color: rgba(255,255,255,0.75);
}
#page-wrapper {
	position: absolute;
	transform: translateX(-510px);
	-moz-transform: translateX(-510px);
	-webkit-transform: translateX(-510px);
	-ms-transform: translateX(-510px);
	-o-transform: translateX(-510px);
	-webkit-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
#page-wrapper.on-screen {
	transform: translateX(0);
	-moz-transform: translateX(0);
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	-o-transform: translateX(0);
}
#show-content {
	position: absolute;
	left: 520px;
	top: 70px;
	width: 50px;
	height: 50px;
	background-color: rgba(0,0,0,0.5);
	border: 1px solid #000;
	cursor: pointer;
}
#show-content::after, #show-content::before {
	content: "";
	width: 20px;
	height: 5px;
	background-color: #fff;
	position: absolute;
	left: 15px;
	-webkit-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}
#show-content::after {transform: rotate(-45deg); bottom: 16px; }
#show-content::before {transform: rotate(45deg); top: 16px; }
#page-wrapper.on-screen #show-content::after, #page-wrapper.on-screen #show-content::before {width: 30px; left: 10px; }
#page-wrapper.on-screen #show-content::after {bottom: 20px; }
#page-wrapper.on-screen #show-content::before {top: 22px; }
#fb-button {
	display: block;
	width: 50px;
	height: 50px;
	position: absolute;
	right: 10px;
	background-color: rgba(0,0,0,0.5);
	border: 1px solid #000;
	bottom: 101px;
	z-index: 1;
}
#fb-button::before {
    content: "\f09a";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    line-height: 50px;
    display: block;
    width: 50px;
    text-align: center;
    font-size: 30px;
}
main {
	width: 500px;
	position: absolute;
	left: 10px;
	top: 70px;
	background-color: rgba(0,0,0,0.5);
	color: #fff;
	font-weight: 100;
	border: 1px solid #000;
	max-height: calc(100vh - 110px); /* 70 header, 40 footer marginesem */
	overflow: hidden;
}
main #content { padding: 20px; }
main #content h1 {
	text-transform: uppercase;
	margin: 0 0 15px;
	font-size: 25px;
}
main #content h1:only-child { margin:0; }
main #content h2 {
	font-size: 18px;
	margin: 0 0 5px 0;
	text-transform: uppercase;
}
main #content h3 {
	margin: 40px 0 10px 0;
	font-size: 15px;
	text-transform: uppercase;
	padding: 0 0 0 50px;
	background-position: left center;
	background-repeat: no-repeat;
	background-size: 40px;
	line-height: 40px;
	font-weight: 700;
}
main #content h3.offer-list:nth-of-type(1) { background-image: url(images/business.svg); margin-top: 10px;}
main #content h3.offer-list:nth-of-type(2) { background-image: url(images/ruler.svg); }
main #content h3.offer-list:nth-of-type(3) { background-image: url(images/house-plans.svg); }
main #content h3.offer-list:nth-of-type(4) { background-image: url(images/eye.svg); }
main #content h3.offer-list:nth-of-type(5) { background-image: url(images/home.svg); }
main #content h3.offer-list:nth-of-type(6) { background-image: url(images/search.svg); background-size: 35px;}
main #content p {font-size: 13px; }
main #content p:last-of-type { margin: 0; }
main #content a, footer#footer a {position: relative;}
main #content a::before, footer#footer a::before {
	position: absolute;
	content: "";
	background-color: #fff;
	width: 1px;
	bottom: 0;
	left: 0;
	height: 1px;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}
main #content a:hover::before, footer#footer a:hover::before {
	visibility: visible;
	opacity: 1;
	width: 100%;
}

/*CONTACT*/
div.wpcf7 {margin-top: 30px;}
div.wpcf7-response-output {
	margin: 10px 0;
	padding: 0.2em 1em;
	font-size: 13px;
}
#map {
	height: 100%;
	width: 100%;
	position: absolute !important;
	left: 0;
	top: 0;
}

/*SLIDER*/
#slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}
#slider .ms-skin-default .ms-container .ms-nav-next, #slider .ms-skin-default .ms-container .ms-nav-prev {
	background: rgba(0,0,0,0.5);
	bottom: 40px;
	width: 50px;
	height: 50px;
	top: unset;
	left: unset;
	border: 1px solid #000;
}
#slider .ms-skin-default .ms-container .ms-nav-next {right: 10px; }
#slider .ms-skin-default .ms-container .ms-nav-prev {right: 70px; }
#slider .ms-skin-default .ms-container .ms-nav-prev::after, #slider .ms-skin-default .ms-container .ms-nav-next::after {
	font-family: "FontAwesome";
	line-height: 50px;
	display: block;
	text-align: center;
	font-size: 50px;
	color: #fff;
}
#slider .ms-skin-default .ms-container .ms-nav-prev::after {content: "\f104"; padding-right: 5px; }
#slider .ms-skin-default .ms-container .ms-nav-next::after {content: "\f105"; padding-left: 5px; }
/*REALIZACJE*/
#portfolio {float: left; width: 100%; }
.portfolio-item {
	height: 350px;
	width: 33.33333%;
	float: left;
	display: table;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	transition: all 1s ease;
	-moz-transition: all 1s ease;
	-webkit-transition: all 1s ease;
	-ms-transition: all 1s ease;
	-o-transition: all 1s ease;
	position: relative;
	opacity: 0;
	visibility: hidden;
}
.portfolio-item.visible {opacity: 1;visibility: visible;}
.portfolio-item .title {
	display: table-cell;
	vertical-align: middle;
	visibility: hidden;
	opacity: 0;
	background-color: rgba(0,0,0,0.5);
	transition: all .3s ease;
	-moz-transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
	text-align: center;
}
.portfolio-item:hover .title {visibility: visible; opacity: 1; }
.portfolio-item .title h1 {
	margin: 0;
	font-size: 25px;
	color: #fff;
	text-transform: uppercase;
	padding: 10px 20px;
}
.portfolio-item .title a {
	display: inline-block;
	padding: 10px;
	text-transform: uppercase;
	color: #000;
	border: 1px solid #000;
	border: none;
	font-size: 12px;
	font-weight: 400;
	background-color: rgba(255,255,255,0.4);
	transition: all .3s ease;
	-moz-transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
}
.portfolio-item .title a:hover {background-color: rgba(255,255,255,1); }

/*FOOTER*/
footer#footer {
	position: fixed;
	width: 100%;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,0.5);
	border-top: 1px solid #000;
	color: #fff;
}
footer#footer #footer-content {
	margin: 10px 0;
	font-size: 10px;
	font-weight: 100;
	line-height: 10px;
}
footer#footer .webtom {
	font-family: Tahoma, sans-serif;
	font-size: 9px;
	margin: 10px 0;
	line-height: 9px;
}
footer#footer .webtom a { font-family: inherit; }
/*MAIN*/

/*RWD*/
@media screen and (max-width: 1199px){
	#page-wrapper {
		transform: translateX(-410px);
		-moz-transform: translateX(-410px);
		-webkit-transform: translateX(-410px);
		-ms-transform: translateX(-410px);
		-o-transform: translateX(-410px);
	}
	main { width: 400px; }
	#show-content { left: 420px; }
	main #content h3 {
		margin: 30px 0 0 0;
		padding: 10px 0 10px 50px;
		background-size: 40px;
		line-height: 20px;
	}
	.portfolio-item { height: 250px; }
	.portfolio-item .title h1 {font-size: 21px; }
	.portfolio-item .title a {padding: 5px 10px; }
}
@media screen and (max-width: 991px){
	#menu-main.pull-right { float: none !important; }
	.portfolio-item {width: 50%; }
	.portfolio-item .title {visibility: visible; opacity: 1; }
	.portfolio-item .title a {background-color: rgba(255,255,255,1); }
	ul li .sub-menu { display: none !important; }
	.collapse.in ul li .sub-menu {
		transition: all 0s !important;
		-moz-transition: all 0s !important;
		-o-transition: all 0s !important;
		-webkit-transition: all 0s !important;
	}
	.collapse.in ul li .sub-menu.showSubMenu { 
		position: relative !important;
		box-shadow: none !important;
		visibility: visible !important;
		opacity: 1 !important;
		display: block !important;
	}
	#menu-main > li > .sub-menu li a { padding: 10px; }
	.collapse.in ul li .sub-menu.showSubMenu a {text-align: center; }
	.after {
		box-sizing: border-box;
		color: #fff;
		cursor: pointer;
		display: block;
		font-size: 25px;
		height: 40px;
		position: absolute;
		right: 0;
		text-align: center;
		top: 0;
		width: 40px;
		z-index: 99;
	}
	.after i {
		line-height: 40px;
		transition: all .3s;
		-moz-transition: all .3s;
		-o-transition: all .3s;
		-webkit-transition: all .3s;
	}
	.after.active i {transform: rotateX(180deg);}
}
@media screen and (max-width: 767px){
	.navbar-brand, .custom-logo-link {margin-left: 10px; }
	.navbar-brand > img, .custom-logo-link > img {padding: 15px 0; }
	#header-mobile { 
		width: 160px;
		position: absolute;
		left: calc(50% - 80px);
		top: 0;
		font-size: 16px;
		line-height: 60px;
		color: #fff;
		text-align: center;
	}
	#header-mobile::before {
		content: "\f10b";
		font-family: "FontAwesome";
		position: absolute;
		left: 0;
		font-size: 24px;
		color: #fff;
	}
	#page-wrapper {
		transform: translateX(calc(-100% + 70px));
		-moz-transform: translateX(calc(-100% + 70px));
		-webkit-transform: translateX(calc(-100% + 70px));
		-ms-transform: translateX(calc(-100% + 70px));
		-o-transform: translateX(calc(-100% + 70px));
		width: 100%;
	}
	main {width: calc(100% - 80px); max-height: calc(100vh - 160px); }
	#show-content {left: calc(100% - 60px); }
	#slider .ms-skin-default .ms-container .ms-nav-next, #slider .ms-skin-default .ms-container .ms-nav-prev {bottom: 60px; }
	footer#footer {text-align: center; }
	footer#footer #footer-content, footer#footer .webtom {float: none !important; }
	#fb-button {bottom: 121px; }
}
@media screen and (max-width: 516px){
	.navbar-brand > img, .custom-logo-link > img {padding: 20px 0; }
	#header-mobile {
		width: 135px;
		left: unset;
		font-size: 13px;
		right: 40px;
	}
	#page-wrapper {
		transform: translateX(0);
		-moz-transform: translateX(0);
		-webkit-transform: translateX(0);
		-ms-transform: translateX(0);
		-o-transform: translateX(0);
	}
	main {max-height: calc(100vh - 200px); width: calc(100% - 20px);}
	#portfolio {margin-top: 61px; }
	.portfolio-item {width: 100%; }
	#show-content { display: none; }
	#map { display: none; }
	#slider .ms-skin-default .ms-container .ms-nav-next, #slider .ms-skin-default .ms-container .ms-nav-prev { display: none; }
	footer#footer #footer-content {line-height: 1.5em; }
	#fb-button {display: none;}
}

.g-recaptcha {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 10px;
	margin-right: -2px;
}