/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
h1, p, ul {
	margin: 0;
}
ul {
	padding: 0;
}

/* ==========================================================================
   Flo's custom styles
   ========================================================================== */

@font-face {
    font-family: cantarellbold;
    src: local(cantarellbold), url('../fonts/cantarell-bold-webfont.eot');
    src: local(cantarellbold), url('../fonts/cantarell-bold-webfont.eot?#iefix') format('embedded-opentype'),
         local(cantarellbold), url('../fonts/cantarell-bold-webfont.woff') format('woff'),
         local(cantarellbold), url('../fonts/cantarell-bold-webfont.ttf') format('truetype'),
         local(cantarellbold), url('../fonts/cantarell-bold-webfont.svg#cantarellbold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: cantarellregular;
    src: local(cantarellregular), url('../fonts/cantarell-regular-webfont.eot');
    src: local(cantarellregular), url('../fonts/cantarell-regular-webfont.eot?#iefix') format('embedded-opentype'),
         local(cantarellregular), url('../fonts/cantarell-regular-webfont.woff') format('woff'),
         local(cantarellregular), url('../fonts/cantarell-regular-webfont.ttf') format('truetype'),
         local(cantarellregular), url('../fonts/cantarell-regular-webfont.svg#cantarellregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
body {
	background: #e4e4e4;
}
#pagen {
	width: 1300px;
	position: absolute;
	height: 100%;
	left: 50%;
	margin-left: -650px;
}
#inner-page {
	background: rgb(255, 255, 255);
}
.notFound {
	background: url(../img/404.png) 50% 50% no-repeat;
	position: fixed;
	height: 100%;
	width: 100%;
}
#top, footer {
	background: #000;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	color: #fff;
	height: 100px;
	left: 0;
	line-height: 100px;
	padding: 0 30px;
	position: fixed;
	width: 100%;
}
#top {
	font: 14px/100px cantarellregular;
	top: 0;
	z-index: 1;
}
	#top .logo {
		background: url(../img/logo.jpg);
		display: block;
		height: 31px;
		left: 30px;
		margin-top: -15px;
		position: absolute;
		top: 50%;
		width: 99px;
	}
	#top .right {
		padding-right: 30px;
		position: absolute;
		right: 0;
		top: 0;
	}
		#top .right p {
			display: inline-block;
			height: 100px;
		}
		#top .right p a {
			text-decoration: none;
			color: white;
		}
		#top .right .envelope {
			background: url(../img/mail.png);
			display: inline-block;
			height: 40px;
			margin-left: 30px;
			position: relative;
			top: 14px;
			width: 40px;
		}
footer {
	bottom: 0;
	font: 11px/100px cantarellregular;
	text-align: left;
}
	footer a {
		color: #fff;
		text-decoration: none;
	}
	footer a:hover {
		text-decoration: underline;
	}

/* LANDING PAGE */
#landing {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	height: 100%;
	padding: 100px 0;
	position: absolute;
	width: 100%;
}
	#landing ul {
		height: 100%;
		list-style: none;
	}
		#landing li {
			float: left;
			height: 100%;
			text-align: center;
			width: 25%;
		}
			#landing a {
				bottom: 100px;
				color: #fff;
				display: table;
				font-family: cantarellregular;
				font-size: 18px;
				height: 202px;
				margin-left: -101px;
				left: 50%;
				position: absolute;
				text-decoration: none;
				width: 202px;
				-moz-transform: rotate(0);
				-webkit-transform: rotate(0);
				-o-transform: rotate(0);
				transform: rotate(0);
				-moz-transition: all 0.4s ease;
				-webkit-transition: all 0.4s ease;
				-o-transition: all 0.4s ease;
				transition: all 0.4s ease;
			}
			#landing a:hover {
				-moz-transform:rotate(360deg);
				-webkit-transform:rotate(360deg); 
				-o-transform:rotate(360deg);
				transform:rotate(360deg);
			}
				#landing a span {
					display: table-cell;
					padding: 40px;
					vertical-align: middle;
				}
			#landing .first a {
				background: url(../img/circles/1.png);
			}
			#landing .second a {
				background: url(../img/circles/2.png);
			}
			#landing .third a {
				background: url(../img/circles/3.png);
			}
			#landing .fourth a {
				background: url(../img/circles/4.png);
			}

/* KATEGORIE */
#categories {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	height: 100%;
	padding: 100px 0 70px;
	width: 100%;
	background: #000;
}
	#categories ul {
		overflow: hidden;
		background: #000;
	}
		#categories li {
			display: block;
			float: left;
			height: 200px;
			margin-bottom: 30px;
		}
			#categories .img {
				box-sizing: border-box;
				-moz-box-sizing: border-box;
				width: 60%;
			}
				#categories .img div {
					height: 100%;
				}
			#categories .txt {
				background: #712c80;
				font: 30px/200px cantarellbold;
				text-align: center;
				width: 40%;
			}
				#categories .txt a {
					color: #fff;
					text-decoration: none;
					text-transform: uppercase;
				}

/* STRONA TEKSTOWA */
#page {
	background: #712c80;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	color: #fff;
	height: 100%;
	padding: 150px 30px;
	width: 100%;
}
	#page .close {
		background: url(../img/close.png);
		display: block;
		height: 40px;
		position: absolute;
		right: 30px;
		top: 160px;
		width: 40px;
	}
	#page h1 {
		font: 48px/48px cantarellbold;
		padding-bottom: 50px;
		text-transform: uppercase;
	}
	#page .tabs {
		list-style: none;
		overflow: hidden;
		padding-bottom: 50px;
	}
		#page .tabs li {
			background: url(../img/tabs.png) 50% 0;
			cursor: pointer;
			float: left;
			font: 18px/44px cantarellbold;
			height: 58px;
			padding: 0 30px;
		}
			#page .tabs li:hover, #page .tabs .active {
				background-position: 50% -58px;
			}
			#page .tabs .active {
				cursor: default;
			}
		#page .tabContent {
			font: 15px/26px cantarellregular;
		}
			#page .tabContent .tab {
				display: none;
				overflow: hidden;
			}
			#page .tabContent .active {
				display: block;
			}
				#page .tabContent .docs li {
					list-style-type: square;
				}
					#page .tabContent .docs a {
						color: #fff;
						text-decoration: none;
					}
						#page .tabContent .docs a:hover {
							text-decoration: underline;
						}
				#page .tabContent ul,
				#page .tabContent ol  {
					list-style: inside;
					margin-bottom: 40px;
				}
					#page .tabContent ul ul,
					#page .tabContent ul ol,
					#page .tabContent ol ul,
					#page .tabContent ol ol  {
						list-style-type: circle;
						padding-left: 30px;
					}
				#page .tabContent p {
					margin-bottom: 40px;
				}
				#page .tabContent .img {
					float: left;
					margin: 0 50px 50px 0;
					max-width: 460px;
				}
					#page .tabContent img {
						display: inline-block;
						height: 200px;
						margin: 0 30px 30px 0;
						width: 200px;
					}

/* FORM */
#contactForm {
	padding: 30px;
}
	#contactForm .row {
		margin-top: 20px;
		text-align: center;
	}
		#contactForm .row:first-child {
			margin: 0;
		}
		#contactForm .txt {
			border: 1px solid #ccc;
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			font: 12px/26px Arial;
			height: 26px;
			padding: 0 4px;
			width: 100%;
		}
			#contactForm .error .txt {
				border: 1px solid #ff0000;
			}
		#contactForm textarea.txt {
			height: 200px;
			resize: none;
		}
		#contactForm input[type="submit"] {
			background: #000;
			border: 0;
			color: #fff;
			font-family: Arial;
			font-size: 12px;
			height: 26px;
			padding: 0 20px;
		}

#categories.architektura-wnetrz  .txt, #page.architektura-wnetrz {
	background: #db853c;
}
#categories.dzial-budowlany  .txt, #page.dzial-budowlany {
	background: #37a3a3;
}
#categories.o-firmie  .txt, #page.o-firmie {
	background: #286fad;
}

#categories.auto-serwis .txt, #page.auto-serwis {
	background: #196597;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media all and (max-width: 1600px) {
	#categories .txt {
		font-size: 32px;
	}
}
@media all and (max-width: 1300px) {
	#categories .txt {
		font-size: 28px;
	}
}
@media all and (max-width: 1200px) {
	#categories .txt {
		font-size: 24px;
	}
}
@media all and (max-width: 1000px) {
	#categories .txt {
		font-size: 20px;
	}
}
@media all and (max-width: 800px) {
	#categories .txt {
		font-size: 16px;
	}
}
@media all and (max-width: 650px) {
	#top .logo {
		display: none;
	}
	#categories .txt {
		font-size: 12px;
	}
}
@media all and (max-width: 500px) {
	#categories .txt {
		font-size: 10px;
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
