/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

html {
	overflow-y: scroll;
}

* {
	font-family: Arial, Helvetica, sans-serif;
}

a, a:hover, a:visited {
	text-decoration: none;
	color: white;
}

img {
	/*margin: 45px 0px 90px 0px;*/
}

table {
	width: 100%;
}

th {
	font-size: 18px;
	padding: 8px 0px 0px 0px;
	font-weight: bold;
	text-align: left;
}

td {
	font-size: 18px;
	padding: 8px 0px 0px 0px;
}

input {
	width: 100%;
	border: none;
}

textarea {
	width: 100%;
	border: none;
	height: 128px;
}

p, li {
	margin: 0px;
	line-height: 160%;
	font-size: 18px;
}

h1 {
	margin: 0px;
}

h2 {
	margin: 0px;
	font-weight: normal;
	font-size: 18px;
}

.italic {
	font-style: italic;
}

.clickable {
	cursor: pointer;
}

div.background {
	position: fixed;
	
	width: 100%;
	height: 100%;
	
	overflow: auto;
	
	/*
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/gw01.jpg', sizingMethod='scale');
		-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/gw01.jpg', sizingMethod='scale')";*/
	
	background: url('../img/hg/hg_start.jpg') no-repeat top center fixed; 
 	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.background.gruenstreifen {
	background: url('../img/hg/at05.jpg') no-repeat top center fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}


div.background.eigenblut {
	background: url('../img/hg/at02.jpg') no-repeat top center fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.background.epo {
	background: url('../img/hg/at03.jpg') no-repeat bottom center fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.background.riesenrad {
	background: url('../img/hg/rr_hg.jpg') no-repeat top center fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.background.amphetamin {
	background: url('../img/hg/at04.jpg') no-repeat top center fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.background.us {
	background: url('../img/hg/at06.jpg') no-repeat top center fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.background.shop {
	background: url('../img/hg/at07.jpg') no-repeat top center fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.background.leistungen {
	background: url('../img/hg/hg_leistung.jpg') no-repeat top center fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.background.neurad {
	background: url('../img/hg/hg_neurad.jpg') no-repeat top center fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.background.almtrieb {
	background: url('../img/hg/hg_at.jpg') no-repeat top center fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.background.lastenraeder {
	background: url('../img/hg/hg_last.jpg') no-repeat top center fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.background.kids {
	background: url('../img/hg/hg_kids.jpg') no-repeat top center fixed;
	-webkit-background-size: cover;
  	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div.wrap {
	position: relative;
	width: 1024px;
	margin-left: auto;
	margin-right: auto;
}

div.left > div {
	width: 224px;
}

div.left + div {
	position: absolute;
	left: 290px;
	top: 0px;
	width: 735px;
}

div.spacer {
	width: 15px;
	height: 15px;
}

div.box {
	color: white;
	padding: 0px;
	margin: 0px 0px 15px 0px;
}

/*border box*/
div.bbox {
	position: relative;
	color: white;
	padding: 15px 15px 0px 15px;
	margin: 0px 0px 15px 0px;
}

div.bbox div {
	position: absolute;
}

div.bbox h1 {
	font-size: 22px;
	margin: 0px 0px 0px 0px;
}

div.bbox h1, div.bbox h2 {
	display: inline;
}

div.bbox h1 + p {
	display: inline;
}

div.bbox img {
	display: block;
}


div.red {
	background-color: rgba(212,2,29,0.8); /*#d4021d;*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccd4021d,endColorstr=#ccd4021d);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccd4021d,endColorstr=#ccd4021d);
	width: 440px;
	font-size: 22px;
}

div.yellow img, div.red img, div.blue img, div.turk img, div.blue-us img {
	width: 440px;
}

div.background.almtrieb div.green img {
	width: 720px;
	position: relative;
	/*left: -15px;*/
}

div.yellow img {
	margin-top: 10px;
}

/*div.background.eigenblut div.bbox {*/
div.background div.bbox {
	padding-bottom: 15px;
}

div.background div.bbox.image {
	padding-bottom: 0px;
}


div.background.eigenblut div.bbox p {
	font-size: 16px;
}

/*div.background.eigenblut div.bbox.pics {*/
div.background div.bbox.pics {
	width: auto;
	font-size: 22px;
}

/*div.background.eigenblut div.bbox.pics img {*/
div.background div.bbox.pics img {
	width: 100%;
}

/*div.background.eigenblut div.bbox.pics img + p {*/
div.background div.bbox.pics img + p {
	font-size: 9px;
	margin: 10px 0px;
}

div.background.eigenblut div.bbox.pics h1 {
	display: block;
	margin-bottom: 8px;
	color: white;
}

/*div.background.eigenblut div.bbox.pics h2 {*/
div.background div.bbox.pics h2 {
	display: block;
	float: right;
	font-size: 22px;
}

div.background div.bbox.red.pics h2 {
	color: white;
}

div.bbox.tables {
	width: 705px;
}

div.bbox.tables table {
	width: 100%;
}

div.bbox.tables td:first-child {
	padding-right: 30px;
}

div.bbox.tables h1, div.bbox.tables h2 {
	display: block;
}

div.bbox.tables h2 {
	font-size: 20px;
	margin-top: 8px;
	color: #353433;
}

div.bbox.tables.tech h2 {
	font-size: 16px;
	font-weight: bold;
	margin-top: 8px;
	margin-bottom: 16px;
}

div.bbox.tables.tech h2 a {
	font-weight: normal;
}

td.price {
	padding-top: 48px;
	vertical-align: top;
}

td.price span {
	color: #353433;
	font-size: 28px;

}

div.blue-us {
	background-color: rgba(189,228,247,0.8); /*#bde4f7;*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccbde4f7,endColorstr=#ccbde4f7);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccbde4f7,endColorstr=#ccbde4f7);
	font-size: 16px;
	color: #353433;
}

div.green {
	background-color: rgba(152,191,14,0.8); /*#0ebf98;*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc0ebf98,endColorstr=#cc0ebf98);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc0ebf98,endColorstr=#cc0ebf98);
	font-size: 16px;
	color: #353433;
}

/*
div.background.home div.green {
	width: 750px;
}*/


div.background.home div.green.bbox {
	padding-right: 0px;
}

div.yellow {
	background-color: rgba(243,228,0,0.8); /*#f3e400;*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccf3e400,endColorstr=#ccf3e400);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccf3e400,endColorstr=#ccf3e400);
	font-size: 16px;
	width: 440px;
	color: #353433;
}

div.yellow h2 a {
	color: #353433;
}

div.yellow h2 a.selected {
	color: #FFFFFF;
}

div.green h2 a.selected {
	font-weight: bold;
}

div.green h2 a {
	color: #353433;
	font-weight: normal;
}


div.blue {
	background-color: rgba(0,158,224,0.8); /*#009ee0;*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc009ee0,endColorstr=#cc009ee0);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc009ee0,endColorstr=#cc009ee0);
	font-size: 16px;
	width: 440px;
}

div.bbox.pink {
	background-color: rgba(173,0,124,0.8); /*#ad007c;*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccad007c,endColorstr=#ccad007c);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccad007c,endColorstr=#ccad007c);
	font-size: 16px;
	padding-bottom: 15px;
	color: white;
	width: 605px;
}

div.box.pink {
	background-color: rgba(173,0,124,0.8); /*#ad007c;*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccad007c,endColorstr=#ccad007c);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccad007c,endColorstr=#ccad007c);
	color: white;
}

div.box.green {
	color: white;
}

div.bbox.turk {
	background-color: rgba(179,219,218,0.8); /*#ad007c;*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccad007c,endColorstr=#ccad007c);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccad007c,endColorstr=#ccad007c);
	font-size: 16px;
	color: #353433;
/*	width: 440px;*/
}

div.bbox ul {
	margin: 0px 0px 0px -26px;
	list-style: none;
}

div.bbox ul li {
	margin-left: 0px;
	
}

div.bbox ul li:before {
	content: "- ";
	float: left;
    margin-left: -15px;
}

div.bbox.pink.wishes {
	position: absolute;
	right: 0px;
	width: 249px;
}

div.bbox.green.openinghours {
	width: 622px;
	height: 90px;
	padding-top: 15px;
}

div.bbox.green.openinghours td {
	color: rgba(173,0,124,1);
	vertical-align: top;
	font-size: 20px;
	line-height: 140%;
	padding: 0px;
}

div.bbox.green.openinghours p {
	color: white;
	margin-top: 8px;
}


div.bbox.pink.shop {
	width: 249px;
}

div.bbox.pink.shop img {
	width: 105px;
	position: absolute;
	right: 5px;
	top: -12px;
}

div.bbox.pink.shop h1 {
	margin-top: 0px;
	margin-bottom: 8px;
	font-weight: normal;
}

div.bbox.green.kids {
	color: white;
}

div.background.shop li {
	font-size: 22px;
}

div.background.shop div.bbox.gray h1 {
	font-size: 56px;
	font-weight: normal;
}

div.background.shop div.bbox.red {
	width: 338px;
}

div.background.shop div.bbox.green {
	width: 337px;
	color: white;
}

div.background.shop div.bbox.green img {
	width: 94px;
	position: absolute;
	left: 115px;
	top: 5px;
}

div.background.shop div.bbox.gray table {
	margin-bottom: 12px;
}

div.background.shop div.bbox.gray td {
	font-size: 22px;
	vertical-align: top;
}



div.bbox.gray {
	background-color: rgba(53,52,51,0.8); /*#353433;*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc353433,endColorstr=#cc353433);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc353433,endColorstr=#cc353433);
	font-size: 16px;
	width: 249px;
	/*height: 317px;*/
	color: white;
	padding-bottom: 15px;
}

div.bbox.gray p {
	font-size: 22px;
}

div.bbox.menu {
	/*position: fixed;*/
	/*top: 150px;*/
	width: 224px;
	padding: 18px;
}

div.menu p {
	color: #AD007C;
	font-style: italic;
	font-weight: normal;
}

div.menu a {
	color: #353433;
	font-style: normal;
	font-weight: normal;
}

div.bbox.menu + div {
	width: 	224px;
}

div.bbox.pink.wishes.clickable h1 {
	color: white;
	font-weight: bold;
}

div.bbox.pink.wishes.clickable a {
	color: white;
}

div.box.main.almtrieb div.bbox.header {
	float: left;
	height: auto;
	width: 411px;
}

div.box.main.almtrieb div.bbox.header h1 {
	color: #353433;
}

div.box.main.almtrieb div.bbox.red.header h1 {
	color: white;
}

div.box.main.almtrieb div.bbox.header + div.spacer {
	float: left;
	width: 15px;
}

div.box.main.almtrieb.bike > div {
    margin-bottom: 18px;
}

div.box.main.almtrieb.bike > div:first-child {
    height: auto;
    position: relative; 
    width: 100%;
}

div.box.main.almtrieb.bike > div:nth-child(2) {
    clear: left;
}

div.white {
	background-color: rgba(255,255,255,0.8);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccffffff,endColorstr=#ccffffff);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ccffffff,endColorstr=#ccffffff);
}

div.white a, div.white a:hover, div.white a:visited {
	color: #353433;
}

div.white a:hover {
	font-weight: bold;
}

div.white.logo {
	width: 224px;
	margin-bottom: 30px;
	height: 84px;
}

div.white.logo img {
	width: 245px;
	position: absolute;
	top: 30px;
	left: 8px;
}

div.black {
	background-color: #4b4b48;
	width: 700px;
	font-size: 22px;
}


td.first {
	padding-right: 24px;
}

td.label {
	padding-top: 25px;
}

td.last {
	text-align: right;
	padding-top: 8px;
	
}

td.last div {
	cursor: pointer;
}


h2 a.selected {
	color: #353433;
}


div.contact div.bbox.gray {
	font-size: 16px;
	color: white;
	width: 735px;
	height: auto;
}

div.contact div.bbox.gray h2 {
	text-transform: uppercase;
}


div.contact div.bbox.gray p {
	font-size: 16px;
	margin-bottom: 15px;
}


div.contact div.bbox.gray table {
	float: right;
	width: 480px;
}

div.contact div.bbox.gray td.last {
	text-align: right;
}


div.imprint div.bbox.gray {
	font-size: 16px;
	color: white;
	width: auto;
	height: auto;
}

div.imprint div.gray h2 {
	text-transform: uppercase;
}


div.imprint div.gray p {
	font-size: 16px;
	margin-bottom: 15px;
}

div.box {
	padding: 18px;
}

div.box.white h1, div.box.white h2 {
	color: #ad007c;
}

div.box.white .bbox h1, div.box.white .bbox h2 {
	color: #353433;
}

div.box.white.first {
	height: 84px;
	margin-bottom: 30px;
}

div.box.white.first h2 {
	float: left;
	font-size: 28px;
	font-style: italic;
}

div.box.white.first img {
	width: 250px;
	float: right;
	position: relative;
	top: -10px;
}

div.box.white.main h1 {
	font-weight: normal;
	margin-bottom: 45px;
}

div.home div.box.white.main h2 {
	font-weight: normal;
	font-size: 24px;
	margin-bottom: 0px;
}

div.box.white.main ul {
	padding-left: 12px;
	margin-top: 0px;
}

div.box.white.main li {
	color: #353433;
	line-height: 170%;
	list-style-type: none;
	text-indent: -5px;
}

div.box.white.main li:before {
	content:"-";
	position:relative;
	left: -5px;
}

div.home div.box.white.main > div {
	margin-bottom: 45px;
}

div.home div.box.white.main > div:nth-of-type(1) {
	position: relative;
}

div.home div.box.white.main > div:nth-of-type(1) img {
	position: absolute;
	left: 500px;
	top: -100px;
	width: 130px;
}

div.box.pink h2, div.box.green h2 {
	color: white;
}

div.box.pink p, div.box.green p {
	color: white;
}

div.box.pink.offer {
	
}

div.box.pink.offer h1, div.box.green.offer h1 {
	font-weight: normal;
	font-size: 24px;
	font-style: italic; 
}

div.box.pink.offer h2 {
	font-weight: normal;
	font-size: 18px;
}

div.box.pink.offer p {
	font-weight: normal;
	font-size: 18px;
}

div.box.pink.offer a {
	font-weight: normal;
	/*font-size:*/
	color: white; 
}

div.box.pink.offer2 h1 {
	font-weight: normal;
	font-size: 16px;
}

div.box.pink.offer2 h2 {
	font-weight: normal;
	font-size: 18px;
	font-style: normal;
}

div.box.pink.offer2 p {
	font-weight: normal;
	font-size: 18px;
	font-style: normal;
}

div.box.pink.offer2 a {
	font-weight: normal;
	/*font-size:*/
	color: white; 
}

div.left > div.fb-like-box {
	/*height: 100px;*/
	background-color: rgba(255, 255, 255, 0.8); /*white*/
	width: auto;
}

div.new_bikes img {
	float: right;
	width: 315px;
	margin-top: 0px;
}
div.new_bikes h2 {
	display: inline;
}

div.new_bikes p {
	color: black;
	display: inline;
}

div.kids_bikes img {
	float: right;
	width: 280px;
}

div.almtrieb_bikes img {
	width: 600px;
}

div.box.white div.almtrieb_bikes h2 {
	color: #B0BC00;
}

div.almtrieb_bikes p {
	color: black;
}

div.lasten_bikes img {
	width: 670px;
}

div.lasten_bikes h2 {
	display: inline;
}

div.lasten_bikes p {
	color: black;
	display: inline;
}

div.box.white.main.offers h2 {
	font-size: 24px;
}

div.box.white.main.offers p {
	color: black;
}

div.box.white.main.offers p.percent {
	color: #B0BC00;
	text-align: center;
	font-size: 48px;
}

div.box.white.main.offers p.percent.one {
	margin-bottom: 45px;
}

div.box.white.main.offers table {
	width: 85%;
	margin-bottom: 45px;
}

div.box.white.main.offers td {
	color: black;
	font-size: 16px;
}

div.box.white.main.offers td:nth-child(2) {
	color: #B0BC00;
	width: 60px;
}

div.box.white.main.offers td:nth-child(3) {
	color: #B0BC00;
	text-align: right;
	width: 60px;
}

div.box.white.main.offers table + p {
	width: 70%;
}

p.sub {
	margin-left: 18px;
}

div.box.white.main.leistungen h1 {
	margin-bottom: 15px;
}

div.box.pink.main.shop h1 {
	font-size: 20px;
	font-weight: normal;
}

div.box.pink.main.shop img:nth-child(2) {
	margin-left: 0px;
}

div.box.pink.main.shop img:nth-child(5) {
	margin-left: 0px;
}

div.box.pink.main.shop img {
	width: 223px;
	margin-left: 10px;
	margin-top: 14px;
}

div.box.white.main.fahrradservice h1 {
	margin-bottom: 30px;
}

div.box.white.main.fahrradservice table {
	width: 100%;
	margin-bottom: 30px;
}

div.box.white.main.fahrradservice td {
	color: black;
}

div.box.white.main.fahrradservice td:nth-child(2) {
	text-align: right;
	width: 30px;
	padding-right: 8px;
}

div.box.white.main.fahrradservice td:nth-child(3) {
	width: 50px;
}

div.box.white.main.fahrradservice td:nth-child(4) {
	text-align: right;
	width: 50px;
}

div.box.white.main.neuraeder p {
	color: black;
}

div.box.white.main.neuraeder h1 {
	margin: 18px 0px 0px 0px;
}

div.box.white.main.neuraeder h1.green {
	color: #B0BC00;
}

div.box.main.almtrieb.overview div.bbox {
	margin: 0px;
	position: relative;
}

div.box.main.almtrieb {
	position: relative;
	padding: 0px;
	background-color: rgba(255,255,255,0);
}

div.box.main.almtrieb > div:first-child {
	margin-bottom: 18px;
	height: 308px;
}

/*
div.box.white.main.almtrieb > div.bbox:nth-child(2) {
	margin-top: 18px;
}*/


div.box.main.almtrieb.overview > div.bbox {
	margin-bottom: 18px;
	clear: left;
}

div.box.main.almtrieb.overview > div:first-child > div:first-child h1 {
	color: white;
	font-weight: bold; 
}

div.box.main.almtrieb.overview > div:first-child > div:nth-child(1) {
	float: left;
	width: 227px;
	height: 278px; 
}

div.box.main.almtrieb.overview > div:first-child > div:nth-child(2) {
	float: right;
	width: 430px;
}

div.bbox.red.image h1, div.bbox.red.image h2 {
	color: white;
}

div.box.white.main.neuraeder.kids p + h1 {
	margin-top: 30px;
}

div.box.white.main.neuraeder.kids h1 {
	/*font-size: 16px;*/
	margin-top: 45px;
}

div.box.gray.main {
	background-color: rgba(53,52,51,0.8); /*#353433;*/
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc353433,endColorstr=#cc353433);
	-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc353433,endColorstr=#cc353433);
	font-size: 16px;
	/*height: 317px;*/
	color: white;
	padding-bottom: 15px;
}

div.box.white.logo {
	cursor: pointer;
}

p.inklusive {
	color: black;
	margin-bottom: 30px;
}

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

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