/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.rajdhani {
	font-family: 'Jura', sans-serif;
}
body {
	background-color: #e6e6e6;
	margin: 0px;
	padding: 0px;
	background-repeat: repeat-x;
	font-family: 'Jura', sans-serif;
	color: #323131;
	font-size: 13px;
}
#ladowanie {
	text-align: center;
	background-color: #fff;
	background-color: rgba(255,255,255,1);
	position: fixed;
	z-index: 9998;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	color: #666666;
	font-size: 13px;
}
header#glowny_naglowek_knt {
	width: 100%;
	padding: 0px;
	background-image: url(../img/tlo-menu.jpg);
	background-repeat: repeat-x;
	background-position: center top;
	height: 98px;
	box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #000;
}
#glowny_naglowek {
	width: 1100px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}
#ladowanieZawartosc {
	padding-top:150px;
}
#logo {
	margin-left: -10px;
	position: absolute;
}
#linki_knt {
	margin-right: 35px;
	font-size: 13px;
	font-weight: normal;
	color: #aeaeae;
	float: right;

}
#linki_knt img {
	margin-top: -5px;
	margin-right: 5px;
	margin-bottom: 0px;
	margin-left: 0px;
}
#linki_knt ul {
	margin: 0px;
	padding: 0px;
}
#linki_knt li {
	list-style: none;
	display: block;
	float: left;
	cursor: pointer;
	background-color: #3b3b3b;
	margin-top: 0px;
	margin-right: 1px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 7px;
	padding-right: 15px;
	padding-bottom: 4px;
	padding-left: 15px;
}
#linki_knt li:hover {
	background-color: #000000;
	color: #FFF;
}
#linki_knt a {
	text-decoration:none;
	color: #aeaeae;
}
#linki_knt a:hover {
	color: #FFF;
}

#menuGlowne {
	font-family: 'Jura', sans-serif;
	text-align: center;
	margin-top: 40px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	font-weight: normal;
	font-size: 17px;
	float: right;
} 
#menuGlowne ul { padding:0; margin:0; } 
#menuGlowne ul:after { content:"."; display:block; height:0; clear:both; visibility:hidden; } 
#menuGlowne li {
	position: relative;
	float: left;
	list-style-type: none;
	font-family: 'Jura', sans-serif;
	color: #010101;
	font-size: 18px;
	font-weight: bold;
	display: block;
	cursor: pointer;
	height: 42px;
	padding-right: 0px;
	padding-left: 30px;
	text-shadow: 1px 1px 0px #fff;
} 


#menuGlowne li a {
	display: block;
	float: left;
	width: 100%;
	height: 42px;
	color: #010101;
	text-decoration: none;
}

#menuGlowne li a:hover {
	color: #d72626;
}
#menuMobil {
	display:none;
	cursor:pointer;
	margin:10px;
	float:right;
	margin-right:10px;
	margin-top: 30px;
}


li#pozycja {
	background-position: 0px 0px;
	margin-right: 35px;
	margin-left: 15px;
}

li:hover#pozycja {
	background-position:0px 37px;
}

#menuGlowne ul ul {
	font-family: 'Jura', sans-serif;
	display: none;
	width: 100%;
	position: absolute;
	left: 0px;
	top: 25px;
	padding: 0px;
	width: 220px;
	font-weight: bold;
	z-index: 500;
}
#menuGlowne ul ul li {
	font-family: 'Jura', sans-serif;
	float: none;
	height: auto;
	text-align: left;
	list-style-type: none;
	padding:0px;
	margin:0px;
} 
#menuGlowne ul ul a {
	display: block;
	float: left;
	font-size: 14px;
	color: #CCC;
	height: auto;
	margin-left: 0px;
	line-height: 15px;
	padding-top: 6px;
	padding-right: 10px;
	padding-bottom: 6px;
	padding-left: 10px;
	background-repeat: repeat;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
	background-color: #2D2D2D;
	font-weight: bold;
}
h2 {
	text-align:left;
}
#menuGlowne  ul ul a:hover {
	color: #d72626;
	font-weight: bold;
	background-color: #000;
}
#menuGlowne2 {
	font-family: 'Jura', sans-serif;
	text-align: center;
	margin-top: 50px;
	margin-right: 35px;
	margin-bottom: 0px;
	margin-left: 0px;
	font-weight: normal;
	font-size: 17px;
	float: right;
}
#menuGlowne2 a {
	text-decoration: none;
	margin-right: 0px;
	margin-left: 35px;
	color: #323131;
}
#menuGlowne2 a:hover {
	color: #e50000;
}
#podMenu {
	text-align: center;
	font-weight: normal;
	font-size: 13px;
	float: right;
	height: 30px;
	text-transform: uppercase;
	margin-top: 10px;
	margin-right: 35px;
	margin-bottom: 0px;
	margin-left: 0px;
	clear: both;
}
#podMenu a {
	text-decoration: none;
	margin-right: 0px;
	margin-left: 35px;
	color: #999999;
}
#podMenu a:hover {
	color: #e50000;
}
#baner {
	width: 100%;
	min-width: 1100px;
	clear: both;
	height: 674px;
	overflow: hidden;
	margin-top: 7px;
	margin-bottom: 7px;
	font-size: 46px;
	font-weight: bold;
	color: #FFF;
}
#baner a {
	color: #FFF;
	text-decoration:none;
}
#baner a:hover {
	color: #eedede;
}
#baner_strona {
	width: 100%;
	min-width: 1100px;
	clear: both;
	height: 169px;
	overflow: hidden;
	margin-top: 7px;
	margin-bottom: 7px;
	background-position: center top;
}
#prev {
	position: absolute;
	top: 350px;
	left: 15px;
	z-index: 500;
	cursor: pointer;
}
#next {
	position: absolute;
	top: 350px;
	right: 15px;
	z-index: 500;
	cursor: pointer;
}
#slajder {
	width: 100%;
	height: 674px;
	overflow: hidden;
}
.napisy_knt {
	width:1100px;
	margin:auto;
}
.napis1 {
	display:block;
	position:absolute;
	margin: 165px 0px 0px 50px;
}
.napis2 {
	display:block;
	position:absolute;
	margin: 440px 0px 0px 635px;
}
.napis11 {
	display:none;
}
.napis22 {
	display:none;
}
#strona {
	width: 100%;
	background-image: url(../img/tlo-stopka.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
	border-bottom-width: 4px;
	border-bottom-style: solid;
	border-bottom-color: #000;
	background-color: #FFF;
}

.tlo_transparentne {
	margin: 0px;
	color: #323131;
	padding: 0px;
}
.tlo_biale {
	font-family: 'Jura', sans-serif;
	background-color: #ffffff;
	margin: 35px 0px 35px 0px;
	color: #323131;
}
.tlo_biale h2 {
	color: #d40000;
	font-size: 22px;
	font-weight: 900;
}
.tlo_szare {
	background-color:#f1f1f1;
	margin: 35px 0px 35px 0px;
	color:#323131;
}
.tlo_szare h1 {
	color: #323131;
	font-size: 48px;
	font-weight: 900;
}
.tlo_szare h2 {
	color: #d40000;
}
.tlo_ciemne {
	background-color:#323131;
	margin: 35px 0px 35px 0px;
	color:#f1f1f1;
}
.tlo_ciemne h1 {
	color: #ffffff;
	font-size: 48px;
	font-weight: 900;
}
.tlo_pomarancz {
	background-color:#d40000;
	margin: 35px 0px 35px 0px;
	color:#ffffff;
}
.tlo_pomarancz h2 {
	color: #ffffff;
	font-size: 48px;
	font-weight: 300;
}
.tlo_pomarancz h2 strong {
	font-weight: 900;
}
.tlo_pomarancz button {
	background: none;
	border-radius: 50px;
	margin: 25px;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #000;
	border-right-color: #000;
	border-bottom-color: #000;
	border-left-color: #000;
	font-size: 24px;
	font-weight: 900;
	color: #000;
	padding-right: 25px;
	padding-left: 25px;
	text-transform: uppercase;
	padding-top: 5px;
	padding-bottom: 5px;
}
.tlo_pomarancz button:hover {
	border-top-color: #fff;
	border-right-color: #fff;
	border-bottom-color: #fff;
	border-left-color: #fff;
	color: #fff;
}
.tresc {
	width: 1100px;
	margin: 0px auto 0px auto;
}
.menu_z_lewej {
	color: #FFF;
	background-color: #242424;
	background-image: url(../img/tlo_menu.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	padding: 20px;
	float: left;
	width: 258px;
	overflow: hidden;
}
.menu_z_lewej h2 {
	line-height: normal;
	font-family: 'Jura', sans-serif;
	font-size: 39px;
	font-weight: bold;
	color: #c5080c;
	margin-top: 10px;
	padding-top: 0px;
	margin-bottom: 10px;
	padding-bottom: 0px;
}
.menu_z_lewej ul {
	margin:0px;
	padding:0px;
}
.menu_z_lewej li {
	list-style: none;
	border-bottom: #3c3c3c 1px solid;
	font-size: 18px;
	line-height: 22px;
	color: #FFF;
	font-weight: bold;
	text-transform: uppercase;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 5px;
}
.menu_z_lewej li a {
	color: #FFF;
	text-decoration:none;
}
.menu_z_lewej li a:hover {
	color: #c5080c;
}
.menu_z_lewej ul li ul {
	margin: 0px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 10px;
}
.menu_z_lewej ul li ul li {
	border-bottom: none;
	list-style: none;
	list-style-image:none;
	/*list-style-image: url(../img/st_menu.png);*/
	font-size: 13px;
	color: #b4b4b4;
	text-transform: none;
	font-weight: normal;
	padding-top: 3px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
.menu_z_lewej ul li ul li a {
	color: #b4b4b4;
	text-decoration:none;
}
.menu_z_lewej ul li ul li a:hover {
	color: #c5080c;
}
.tekst {
	font-size: 15px;
	line-height: 20px;
	float: right;
	width: 750px;
	margin-right: 10px;
	overflow: hidden;
	margin-top: 35px;
	margin-bottom: 35px;
	text-align: justify;
}
.tekst a {
	color: #e50000;
	text-decoration:none;
}
.tekst a:hover {
	color: #000000;
}
.tekst h1 {
	line-height: normal;
	font-family: 'Jura', sans-serif;
	font-size: 39px;
	font-weight: bold;
	color: #940404;
	margin-top: 0px;
	padding-top: 0px;
	text-align: left;
}
.tekst_wysrodkowany {
	text-align: center;
	font-size: 36px;
	font-weight: 300;
	text-transform: uppercase;
}
.tekst_wysrodkowany p {
	margin: 0px 0px 10px 0px;
	padding: 0px;
}
.tekst_wysrodkowany a {
	color: #e50000;
}
.tekst_wysrodkowany a:hover {
	color: #000000;
}
.tekst_wysrodkowany h1 {
	text-align: center;
	margin: 0px;
	padding: 0px;
	font-size: 24px;
}
.tekst_wysrodkowany h2 {
	text-align: center;
	margin: 0px;
	font-size: 24px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
}
.tekst_wysrodkowany p {
	text-align: center;
	margin: 0px;
	padding: 0px;
	font-size: 18px;
	text-transform: none;
}
.tekst_duzy ul {
	font-size: 24px;
	font-weight: 300;
	padding-left: 50px;
}
.tekst_duzy li {
	margin-bottom: 20px;
	list-style-image: url(../img/li-duze-pomarancz.png);
	padding-left: 10px;
}
#prezentacja .opis_prezentacji {
	position: absolute;
	border-radius: 10px;
	background: rgba(231,98,0,0.9);
	font-size: 14px;
	line-height: normal;
	font-weight: normal;
	text-transform: none;
	color: #000000;
	width: 260px;
	margin: 15px;
	padding: 15px;
	text-align: left;
	height: 295px;
}
#prezentacja .opis_prezentacji h2 {
	font-size: 24px;
	color: #ffffff;
	text-transform: uppercase;
	margin-top: 0px;
	padding-top: 5px;
}
footer {
	background-color: #FFFFFF;
	width: 100%;
	color: #000000;
	background-image: url(../img/tlo-stopka.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
	font-size: 14px;
}
footer a:hover {
	color:#e50000;	
}
footer a {
	color:#cccccc;
	text-decoration:none;	
}
#do_gory {

	position: fixed;
	bottom: 50px;
	right: 50px;
	z-index: 10000;
	cursor: pointer;
}
.tresc_stopka {
	width: 1100px;
	margin: 0px auto 0px auto;
}
.stopka_kontakt {
	padding: 35px;
	float: left;
}
#stopkawa ul {
	float: right;
	margin: 0px;
	padding: 35px;
}
#stopkawa li {
	float: left;
	padding: 0px;
	display: block;
	list-style: none;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 20px;
}
#stopkawa li h3 {
	font-size: 18px;
	font-weight: 900;
	text-transform: uppercase;
}
#stopkawa li img {
	margin-bottom:4px;
	margin-right:5px;
}

.duze_biale_logo {
	float: right;
	margin: 50px;
}
.logotypy {
	margin-bottom: 5px;
}
.logotypy img {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	opacity: 0.5;
	margin: 5px;
}
.logotypy img:hover {
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
	opacity: 1;
}
.ikony {
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 10px;
	padding-top: 155px;
}
.ikony img {
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 10px;
}
.ikony img:nth-child(3) {
	margin-right:0px !important;
}

.ikony2 {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 20px;
	width: 550px;
	float: right;
	text-align: right;
}
.ikony2 img {
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 10px;
	width:259px;
	height:105px;
}

.kolor {
	color: #e50000;
}
.prawa {
	float: right;
}
.lewa {
	float: left;
}
.koniec {
	clear:both;
}
.px10 {
	font-size: 10px;
}
.px12 {
	font-size: 10px;
}
.px14 {
	font-size: 14px;
}
.px16 {
	font-size: 16px;
}
.px18 {
	font-size: 18px;
}
.px24 {
	font-size: 26px;
}
.px30 {
	font-size: 30px;
}
.px36 {
	font-size: 36px;
}
.px48 {
	font-size: 48px;
}
.skroty {
	position: absolute;
	margin-top: -65px;
	z-index: 1001;
}
.mapka {
	height: 450px;
	box-shadow: 1px 1px 8px #ccc;
	-moz-box-shadow: 1px 1px 8px #ccc;
	-webkit-box-shadow: 1px 1px 8px #ccc;
	margin-top: 15px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
}
ul.kontakt  {
	margin-left:0px;
	padding-left:0px;
}
ul.kontakt li {
	display: block;
	list-style: none;
	float: left;
	border-left-width: 1px;
	border-left-style: dotted;
	border-left-color: #CCC;
	margin-right: 3%;
	padding-left: 1%;
	width: 45%;
	margin-bottom: 15px;
	text-align: left;
}
ul.kontakt li h3 {
	margin: 0px !important;
	padding: 0px !important;
}
ul.kontakt:after {
    content:'';
    display:block;
    clear: both;
}
.jakosc_box {
	width: 652px;
	height: 71px;
	background-image: url(../img/jakosc.jpg);
	font-size: 13px;
	line-height: 14px;
	font-weight: normal;
	color: #bdbdbd;
	float: left;
	padding-top: 20px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
	margin-top: 20px;
	margin-right: 20px;
	margin-bottom: 20px;
	margin-left: 30px;
}
.jakosc_box h2 {
	font-size: 30px;
	font-weight: normal;
	color: #FFF;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 8px;
	padding-left: 0px;
}
.kontakt_box {
	width: 268px;
	height: 71px;
	background-image: url(../img/odwiedz.jpg);
	font-size: 13px;
	line-height: 14px;
	font-weight: normal;
	color: #333333;
	float: right;
	padding-top: 20px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
	margin-top: 20px;
	margin-right: 30px;
	margin-bottom: 20px;
	margin-left: 20px;
}
.kontakt_box h2 {
	font-size: 30px;
	font-weight: normal;
	color: #000000;
	margin: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 8px;
	padding-left: 0px;
}

.oberek {
	margin: 10px;
	box-shadow: 1px 1px 5px #ccc;
	border-radius: 4px;
	border: 1px solid #FFF;
}
.oberek:hover, .oberek2:hover, .oberek3:hover, .oberek4:hover, .oberek5:hover, .oberek6:hover {
	box-shadow: 1px 1px 15px #ccc;
}
.oberek2 {
	box-shadow: 1px 1px 5px #ccc;
	border-radius: 4px;
	width:46%;
	height:auto;
	margin:2%;
}
.oberek3 {
	box-shadow: 1px 1px 5px #ccc;
	border-radius: 4px;
	width:31%;
	height:auto;
	margin:1%;
}
.oberek4 {
	box-shadow: 1px 1px 5px #ccc;
	border-radius: 4px;
	width:22%;
	height:auto;
	margin:1%;
}
.oberek5 {
	box-shadow: 1px 1px 5px #ccc;
	border-radius: 4px;
	width:14.5%;
	height:auto;
	margin:1%;
}
.oberek6 {
	box-shadow: 1px 1px 5px #ccc;
	border-radius: 4px;
	width:22%;
	height:auto;
	margin:1%;
}

.pokazSchowaj a {
	cursor:pointer;
	color:#000;
	text-align:left;
}
.pokazSchowaj a:hover {
	color:#940404;
}
.pokazSchowaj a div {
	float:right;
	font-size:12px;
}
.pokazSchowaj h3 {
	border-bottom: 1px solid #ccc;
}
.rozwin_wszystko {
	text-align:right;
	cursor:pointer;
	font-size:13px;
}

	

#linki_knt {
	margin-right: 35px;
	font-size: 13px;
	font-weight: normal;
	color: #aeaeae;
	float: right;

}
.oferta ul {
	margin: 0px;
	padding: 0px;
}
.oferta li {
	font-family: 'Jura', sans-serif;
	list-style: none;
	display: block;
	float: left;
	cursor: pointer;
	background-color: #3b3b3b;
	margin: 10px;
	padding: 10px;
	color: #FFF;
	box-shadow: 1px 1px 5px #ccc;
	border-radius:4px;
	width:230px;
	height:50px;
}
.oferta li:hover {
	box-shadow: 1px 1px 15px #666;
	background-color: #dedede;
	color: #d40000 !important;
}
.oferta li:hover a {
	color: #d40000 !important;
}
.oferta li a {
	text-decoration:none;
	color: #FFF;
}
.oferta li a:hover {
	text-decoration: none;
	color: #d40000;
}
.alignnone {
}
.alignnone:hover {
}
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
	box-shadow: 1px 1px 5px #ccc;
	border-radius: 4px;
	border: 1px solid #FFF;
}
.alignleft:hover {
	box-shadow: 1px 1px 15px #ccc;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
	box-shadow: 1px 1px 5px #ccc;
	border-radius: 4px;
	border: 1px solid #FFF;
}
.alignright:hover {
	box-shadow: 1px 1px 15px #ccc;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	box-shadow: 1px 1px 5px #ccc;
	border-radius: 4px;
	border: 1px solid #FFF;
}
.aligncenter:hover {
	box-shadow: 1px 1px 15px #ccc;
}

.formBtn {
	font-family: 'Jura', sans-serif;
	background-color: #cf0707;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	border-radius: 4px 4px 4px 4px;
	-moz-border-radius: 4px 4px 4px 4px;
	-webkit-border-radius: 4px 4px 4px 4px;
	padding-top: 3px;
	padding-right: 10px;
	padding-bottom: 3px;
	padding-left: 10px;
	cursor: pointer;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
.formBtn:hover {
	background-color: #666666;
	color: #FFFFFF;
}
a.formBtn {
	color: #ffffff;
}
a.formBtn:hover {
	color: #ffffff;
}
table.produkty {
	width:95%;
	margin-left:4%;
	background:#FFF;
	border:#CCC 1px solid;
	margin-bottom:15px;
}
table.produkty td {
	padding:5px 10px 5px 10px;
	background:#FFF;
	border:#CCC 1px solid;
	text-align:left;
}



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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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