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

html {
    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;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}












/* ==========================================================================
   Komórki pion
   ========================================================================== */

body {
    font-size: 10px;
    font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.1;
    background: #000;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

.iconbar {
	background: rgba(0,0,0,0.58);
	text-align: center;
	padding: 2px;
	position: absolute;
	left: 0px;
	right: 0px;
	-webkit-box-shadow: 0 0 6px 1px #000000;
			box-shadow: 0 0 6px 1px #000000;
}

.iconbar img {
	display: block;
	max-width: 36px;
	cursor: pointer;
	opacity: 0.25;
	margin: 5px 15px;

-webkit-backface-visibility: hidden;
		backface-visibility: hidden;

		transform: scale(0.9,0.9);
-webkit-transform: scale(0.9,0.9);
   -moz-transform: scale(0.9,0.9);
	 -o-transform: scale(0.9,0.9);
	-ms-transform: scale(0.9,0.9);

	-moz-transition: all 250ms ease-in-out;
      -o-transition: all 250ms ease-in-out;
 -webkit-transition: all 250ms ease-in-out;
		 transition: all 250ms ease-in-out;
}

.iconbar .active img,
.iconbar img:hover {
		transform: scale(1,1);
-webkit-transform: scale(1,1);
   -moz-transform: scale(1,1);
	 -o-transform: scale(1,1);
	-ms-transform: scale(1,1);
	opacity: 1;

}

.iconbar a {
	display: inline-block;
	vertical-align: middle;
}

header {
	min-height: 150px;
	background: url('../img/bg_top.png') center bottom no-repeat;
	background-size: cover;
	position: relative;
}

header .iconbar {
	bottom: 24px;
}

article {
	padding: 0px;
	text-align: center;
	color: #fff;
	overflow: hidden;
}

article .wrapper {
	min-height: 50px;
	display: table;
	table-layout: fixed;
}

article .wrapper > div {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	overflow: hidden;
}

article .wrapper > div > section {
	display: none;
}

article .wrapper #default {
	display: block;
}

article .wrapper > div a {
	text-decoration: none;
	color: #fff;

	-moz-transition: all 250ms ease-in-out;
      -o-transition: all 250ms ease-in-out;
 -webkit-transition: all 250ms ease-in-out;
		 transition: all 250ms ease-in-out;
}

article .wrapper > div a:hover {
	text-decoration: none;
	color: #990000;
}

footer {
	min-height: 150px;
	background: url('../img/bg_bottom.png') center top no-repeat;
	background-size: cover;
	position: relative;
}

footer .iconbar {
	top: 20px;
}





/* ==========================================================================
   Komórki poziom, tablet pion
   ========================================================================== */

@media only screen and (min-width: 480px) {
	
	body {
		margin-top: 50px;
		font-size: 12px;
	}

	.iconbar {
		white-space: nowrap;
	}

	.iconbar img {
		display: inline-block;
		margin: 5px 10px;
		max-width: 100%;
	}

	header,
	footer {
		background-size: contain;
		min-height: 100px;
	}

}




/* ==========================================================================
   Tablet poziom, małe monitory
   ========================================================================== */

@media only screen and (min-width: 768px) {

	body {
		margin-top: 100px;
	}

	.iconbar {
		padding: 5px;
	}

	.iconbar img {
		display: inline-block;
		margin: 5px 20px;	
	}

	header,
	footer {
		min-height: 307px;
	}

	header {
		background-image: url('../img/background_top.png');
	}

	footer {
		background-image: url('../img/background_bottom.png');
	}

	header .iconbar {
		bottom: 50px;
	}

	footer .iconbar {
		top: 50px;
	}
}




/* ==========================================================================
   Monitory
   ========================================================================== */

@media only screen and (min-width: 1140px) {

    .wrapper {
        width: 1026px;
        margin: 0 auto;
    }

    .iconbar img {
		display: inline-block;
		margin: 5px 20px;
	}

	header,
	footer {
		background-size: auto auto;
	}
}












/* ==========================================================================
   Klasy pomocnicze
   ========================================================================== */

.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;
}




/* ==========================================================================
   Wydruk
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

    .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;
    }

    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;
    }
}