/*! HTML5 Boilerplate v5.3.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
   ========================================================================== */
@font-face {
    font-family: 'akrobatblack';
    src: url('../font/akrobat-black-webfont.eot');
    src: url('../font/akrobat-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/akrobat-black-webfont.woff2') format('woff2'),
         url('../font/akrobat-black-webfont.woff') format('woff'),
         url('../font/akrobat-black-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'akrobatregular';
    src: url('../font/akrobat-regular-webfont.eot');
    src: url('../font/akrobat-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/akrobat-regular-webfont.woff2') format('woff2'),
         url('../font/akrobat-regular-webfont.woff') format('woff'),
         url('../font/akrobat-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'akrobatsemibold';
    src: url('../font/akrobat-semibold-webfont.eot');
    src: url('../font/akrobat-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/akrobat-semibold-webfont.woff2') format('woff2'),
         url('../font/akrobat-semibold-webfont.woff') format('woff'),
         url('../font/akrobat-semibold-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html, body {
	width: 100%;
	height: 100%;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	color: #fff;
	background: #072122;
	font-family: 'akrobatregular', sans-serif;
}
body, #about, #home {
	background: #fff url(../img/about.jpg) no-repeat 50% 0;
	background-size: cover;
}
.home #home {
	background: #0d283d url(../img/home.jpg) no-repeat 50% 0;
	background-size: cover;
}
.frame {
	box-sizing: border-box;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 200;
	background: #fff;
}
.frame-top, 
.frame-bottom {
	width: 100%;
	height: 4px;
}
.frame-bottom {
	top: auto;
	bottom: 0;
}
.frame-left, 
.frame-right {
	width: 4px;
	height: 100%;
}
.frame-right {
	left: auto;
	right: 0;
}
#app {
	position: relative;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	overflow: hidden;
	-webkit-transition: -webkit-transform .5s ease-in;
	transition: transform .5s ease-in;
}
#home {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
#about {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 20;
	color: #0d283d;
}
.calendar #home, .day #home, .map #home, .live #home {
	color: #0d283d;
}
.inView {
	-webkit-transform: translate3D(0, 0, 0);
	-webkit-transition: -webkit-transform .5s ease-in;
	
	transform: translate3D(0, 0, 0);
	transition: transform .5s ease-in;
}
.currentView {
	-webkit-transform: translate3D(0, 0, 0);
	-webkit-transition: -webkit-transform .5s ease-in;
	
	transform: translate3D(0, 0, 0);
	transition: transform .5s ease-in;
	z-index: 11 !important;
}
.onLeft {
	-webkit-transform: translate3D(-100%, 0, 0);
	-webkit-transition: -webkit-transform .5s ease-in;
	
	transform: translate3D(-100%, 0, 0);
	transition: transform .5s ease-in;
}
.onRight {
	-webkit-transform: translate3D(100%, 0, 0);
	-webkit-transition: -webkit-transform .5s ease-in;
	
	transform: translate3D(100%, 0, 0);
	transition: transform .5s ease-in;
}
.below {
	-webkit-transform: translate3D(0, 100%, 0);
	-webkit-transition: -webkit-transform .5s ease-in;
	
	transform: translate3D(0, 100%, 0);
	transition: transform .5s ease-in;
}
.coveredFromLeft {
	-webkit-transform: translate3D(20%, 0, 0);
	-webkit-transition: -webkit-transform .5s ease-in;
	
	transform: translate3D(20%, 0, 0);
	transition: transform .5s ease-in;
}
.coveredFromRight {
	-webkit-transform: translate3D(-100%, 0, 0);
	-webkit-transition: -webkit-transform .5s ease-in;
	
	transform: translate3D(-100%, 0, 0);
	transition: transform .5s ease-in;
}
.onTop {
	-webkit-transform: translate3D(0, -20%, 0);
	-webkit-transition: -webkit-transform .5s ease-in;
	
	transform: translate3D(0, -20%, 0);
	transition: transform .5s ease-in;
}
.inner {
	padding: 30px;
}
#logo-disl {
	margin: 0 auto 1.250em; /* 20px */
	width: 30%;
	max-width: 132px;
	font-size: 1em;
	line-height: 1em;
	-webkit-filter: drop-shadow( 2px 0 3px #072122 );
	filter: drop-shadow( 2px 0 3px #072122 );
}
.home #home h2 {
	margin: 0 auto 0.286em; /* 20px */
	font-size: 4.375em; /* 70px */
	font-family: 'akrobatblack', sans-serif;
	line-height: 1em;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 2px 2px #072122;
}
.intro {
	margin: 0 auto 1em;
	max-width: 33em;
	font-size: 1.375em; /* 22px */
	line-height: 1.2em;
	text-align: center;
	text-shadow: 0 2px 2px #072122;
}
.intro a:link, 
.intro a:visited, 
.intro a:hover, 
.intro a:focus, 
.intro a:active {
	color: #fff;
}

.button {
	display: inline-block;
	border: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	font-family: 'akrobatsemibold', sans-serif;
	font-size: 1em;
	background: transparent;
	outline: none;
	cursor: pointer;
	text-transform: uppercase;
}
.text-description {
	display: inline-block;
	position: relative;
	top: -.5em;
}
#info_btn, #close_info_btn {
	top: 4%;
	left: 2%;
	z-index: 10;
}
#menu_btn, #close_menu_btn {
	top: 4%;
	right: 2%;
	z-index: 10;
}
#share_btn {
	bottom: 4%;
	right: 2%;
	z-index: 10;
}
#open_video_btn {
	position: static;
}
#open_video_btn .text-description {
	margin-top: .25em;
	display: block;
	position: static;
	font-family: 'akrobatblack', sans-serif;
}
.cta {
	text-align: center;
	font-size: 1.250em;
}

#about h2 {
	margin: 0 auto 0.500em; /* 12px */ 
	font-size: 1.500em; /* 24px */
	line-height: 1em;
	text-transform: uppercase;
	text-align: center;
	font-family: 'akrobatblack', sans-serif;
}
#about p {
	margin: 0 auto 1em;
	font-size: 1.125em;
	text-align: center;
	max-width: 33em;
}
.social {
	margin: 0 auto 1em;
	padding: 0;
	width: 90%;
	max-width: 35em;
	text-align: center;
	list-style: none;
}
.social li {
	margin: 0;
	padding: 0;
	display: inline-block;
}
.social a:link, 
.social a:visited, 
.social a:hover, 
.social a:focus, 
.social a:active {
	display: inline-block;
	margin: 0 .5em;
	color: #0d283d;
	background: transparent;
	outline: none;
	cursor: pointer;
	text-decoration: none;
	font-size: 1.125em;
	line-height: 1em;
}

#counter {
	margin: 0;
	padding: 0;
	width: 80px;
	height: 80px;
	display: inline-block;
/*
	border: 5px solid #97f223;
	border-radius: 50%;
*/
	position: absolute;
	bottom: 4%;
	left: 2%;
	z-index: 10;
	font-family: 'akrobatsemibold', sans-serif;
	font-size: 0.875em;
	line-height: 1.4em;
	text-transform: uppercase;
	text-align: center;
	overflow: visible;
}
#counter span {
	display: block;
	padding-top: .875em;
	font-size: 2.000em;
}

.outer {
	fill: transparent;
	stroke: #97f223;
	stroke-width: 5;
	stroke-dasharray: 360;
	transition: stroke-dashoffset 1s;
	-webkit-animation-play-state: running;
	
	/* firefox bug fix - won't rotate at 90deg angles */
	/*   -moz-transform: rotate(-89deg) translateX(-190px); */
}
.chart[data-percent='1'] .outer {
	stroke-dashoffset: 360;
	-webkit-animation: show1 2s forwards;
	animation: show1 2s forwards;
}
.chart[data-percent='75'] .outer {
	stroke-dashoffset: 360;
	-webkit-animation: show75 2s forwards;
	animation: show75 2s forwards;
}
.chart svg {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	-webkit-transform: rotate(-90deg);
	transform: rotate(-90deg);
}
	
@-webkit-keyframes show75 {
	from {
		stroke-dashoffset: 360;
	}
	
	to {
		stroke-dashoffset: 200;
	}
}
@keyframes show75 {
	from {
		stroke-dashoffset: 360;
	}
	
	to {
		stroke-dashoffset: 200;
	}
}

@-webkit-keyframes show1 {
	from {
		stroke-dashoffset: 360;
	}
	
	to {
		stroke-dashoffset: 358;
	}
}
@keyframes show1 {
	from {
		stroke-dashoffset: 360;
	}
	
	to {
		stroke-dashoffset: 358;
	}
}

#video {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	background: #000;
}
.js #video {
	display: none;
	opacity: 0;
}
#close_video_btn {
	top: 4%;
	right: 2%;
	z-index: 100;
}

.fadeIn {
	-webkit-animation: fadeIn 1s linear forwards;
	animation: fadeIn 1s linear forwards;
}
.fadeOut {
	-webkit-animation: fadeOut 1s linear forwards;
	animation: fadeOut 1s linear forwards;
}
@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@-webkit-keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}
@keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

#nav {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	-webkit-transition: -webkit-transform .5s ease-in;
	transition: transform .5s ease-in;
}
#nav ul {
	margin: 10% auto 5em;
	padding: 0 0 0 22px;
	width: 100%;
	max-width: 298px;
	list-style: none;
	font-size: 1em;
	line-height: 1em;
	background: transparent url(../img/nav.svg) no-repeat 0 50%;
	background-size: auto 85%;
}
#nav li {
	margin: 0;
	padding: 0;
	list-style: none;
/* 	height: 1.875em; */
}
#nav li a {
	padding: 0 0 0 40px;
	margin-top: 5.556em; /* 100px */
	display: block;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
}
#nav li:first-child a {
	margin-top: 0;
}
#nav li a:link, 
#nav li a:visited, 
#nav li a:hover, 
#nav li a:focus, 
#nav li a:active {
	color: #0d283d;
	text-transform: uppercase;
	text-decoration: none;
	background: transparent url(../img/bullet.svg) no-repeat 0 50%;
	background-size: 20px 20px;
}
#nav li a:hover, 
#nav li a:focus, 
#nav li a:active {
	
}
#nav .current:link, 
#nav .current:visited, 
#nav .current:hover, 
#nav .current:focus, 
#nav .current:active {
/* 	background-size: 29px 29px; */
}
.keyword {
	display: inline-block;
	font-size: 1.875em; /* 30px */
	line-height: 1em;
	font-family: 'akrobatblack', sans-serif;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
}
.details {
	display: block;
	font-size: 1.125em; /* 18px */
	line-height: 1em;
	font-family: 'akrobatsemibold', sans-serif;
	
	position: absolute;
	bottom: -1.333em; /* 24px */
	left: 40px;
	z-index: 1;
	
	opacity: 0;
	-webkit-transition: opacity .5s .3s;
	transition: opacity .5s .3s;
}
.current .keyword {
/* 	font-size: 2.500em; */ /* 40px */
}
.current .details {
	opacity: 1;
}
.current .b {
	width: 100%;
}
.b {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	
	display: inline-block;
	width: 0;
	border-bottom: 2px solid #0d283d;
	transition: width .5s;
}
#nav a:hover .details, 
#nav a:focus .details, 
#nav a:active .details {
	opacity: 1;
}
#nav a:hover .b, 
#nav a:focus .b, 
#nav a:active .b {
	width: 100%;
}

.organiser {
	margin: 0 auto 1em;
	width: 100%;
	max-width: 320px;
	line-height: 1em;
	font-family: 'akrobatblack', sans-serif;
	color: #0d283d;
	text-align: center;
	text-transform: uppercase;
}
.xcosports {
	width: 116px;
}


#close_menu_btn {
	color: #0d283d;
}


.month {
	margin: 0;
	font-size: 2.625em;
	font-family: 'akrobatsemibold', sans-serif;
	text-align: center;
	text-transform: uppercase;
}
.calendar #home ol, 
.calendar #home li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.calendar #home ol {
	margin: 0 auto 2em;
	width: 100%;
	max-width: 910px;
	overflow: hidden;
}
.calendar #home li {
	border: 1px solid #cecccc;
	box-sizing: border-box;
	float: left;
	width: 14.28%;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	overflow: hidden;
}
#home time {
	padding: 0 5px;
	display: block;
	color: #757473;
	background: #e0dddc;
	font-family: 'akrobatblack', sans-serif;
	font-size: 1.250em;
	line-height: 1.300em;
}
.day-counter {
	display: block;
	font-family: 'akrobatblack', sans-serif;
	font-size: 4.875em;
	line-height: 1em;
	text-align: center;
	
	color: #999;
}
.day-summary {
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	color: #000;
	background: #97f223;
	display: none;
	font-size: 1.125em;
	line-height: 1em;
	font-family: 'akrobatregular';
	text-align: center;
	text-transform: uppercase;
}
.day-summary span {
	display: block;
	padding: 0 5%;
	width: 90%;
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 1;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.calendar #home li:hover .day-summary {
	display: block;
}
.calendar #home li:hover {
	border-color: #636363;
}
.calendar #home li a:link, 
.calendar #home li a:visited, 
.calendar #home li a:hover, 
.calendar #home li a:focus, 
.calendar #home li a:active {
	color: #0d283d;
	text-decoration: none;
}
.calendar a .day-counter {
	color: #0d283d;
}

.day-content, .map-content {
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.content {
	height: 100%;
	width: 50%;
	float: right;
}
.content .inner {
	height: 100%;
	box-sizing: border-box;
}
.wrapper {
	padding-right: 30px;
	height: 80%;
	overflow-x: hidden;
	overflow-y: scroll;
}
/*
::-webkit-scrollbar-track { 
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background: rgba(255,0,0,0.8);
}
::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(255,0,0,0.4); 
}
*/

.illustration {
	width: 50%;
	height: 100%;
	float: left;
	background: #000;
	
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
}
.illustration img {
	display: block;
	max-width: 100%;
	height: auto;
	
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 1;
	
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.content h1 {
	margin: 0 0 .5em;
	font-size: 2.625em;
	font-family: 'akrobatsemibold', sans-serif;
	text-transform: uppercase;
}
.content h2 {
	margin: 0 0 1em;
	font-size: 1.500em;
	font-family: 'akrobatblack', sans-serif;
	text-transform: uppercase;
}
.track-info {
	padding-top: 2em;
	text-transform: uppercase;
}
.garmin {
	display: inline-block;
	padding: 1.5em 0 1.5em 4.375em;
	background: transparent url(../img/garmin.png) no-repeat 0 50%;
	background-size: auto 100%;
	font-family: 'akrobatblack', sans-serif;
	font-size: 1em;
	line-height: 1em;
}
.garmin:link, 
.garmin:visited, 
.garmin:hover, 
.garmin:focus, 
.garmin:active {
	color: #0d283d;
	
	text-decoration: none;
}
.garmin:hover, 
.garmin:focus, 
.garmin:active {
	color: #97f223;
}

#day-nav {
	margin: 0 0 0 60px;
	padding: 0;
	position: absolute;
	bottom: 4%;
	left: 50%;
	z-index: 1;
	font-family: 'akrobatsemibold', sans-serif;
}
#day-nav ul, 
#day-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1em;
	line-height: 1em;
}
#day-nav ul {
	padding-bottom: .8em;
	padding-left: 30px;
	overflow: hidden;
}
#day-nav li {
	float: left;
	color: #0d283d;
	text-transform: uppercase;
}
#day-nav a:link, 
#day-nav a:visited, 
#day-nav a:hover, 
#day-nav a:focus, 
#day-nav a:active {
	color: #0d283d;
	text-decoration: none;
}
#day-nav a:hover, 
#day-nav a:focus, 
#day-nav a:active {
	color: #97f223;
}
#day-nav .current-day:link, 
#day-nav .current-day:visited, 
#day-nav .current-day:hover, 
#day-nav .current-day:focus, 
#day-nav .current-day:active {
	color: #97f223;
}
#day-nav li:after { content: '\2002\2044\2002'; color: #0d283d; }
#day-nav li:last-child:after { content: ''; }


.illustration iframe, #map-js {
	width: 100%;
	height: 100%;
	min-height: 480px;
}

.day h1 span {
	color: #97f223;
}

#prev_month {
	position: absolute;
	top: 50%;
	left: 2%;
	z-index: 1;
	font-size: 1.5em;
}
#next_month {
	position: absolute;
	top: 50%;
	right: 2%;
	z-index: 1;
	font-size: 1.5em;
}
.calendar .onL {
	-webkit-transform: translate3D(-100%, -50%, 0);
	-webkit-transition: -webkit-transform .5s ease-in;
	
	transform: translate3D(-100%, -50%, 0);
	transition: transform .5s ease-in;
}
.calendar .onR {
	-webkit-transform: translate3D(100%, -50%, 0);
	-webkit-transition: -webkit-transform .5s ease-in;
	
	transform: translate3D(100%, -50%, 0);
	transition: transform .5s ease-in;
}

.live .wrapper {
	height: 100%;
	padding: 0;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	overflow-y: hidden;
}
.c-live {
	font-size: 1.500em;
	text-transform: uppercase;
	
	position: absolute;
	top: 40%;
	left: 25%;
	z-index: 1;
	
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.images, .images li {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}
.images {
	margin: 0 0 0.711em;
	width: 100%;
	position: absolute;
	bottom: 4%;
	left: 0;
	z-index: 1;
}
.images li {
	display: inline-block;
}
.images a:link, 
.images a:visited, 
.images a:hover, 
.images a:focus, 
.images a:active {
	margin: 0 1em;
	display: block;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	border: 3px solid #fff;
	color: #fff;
	background: transparent;
	text-indent: -9999em;
}
.images a:hover, 
.images a:focus, 
.images a:active {
	border-color: #97f223;
}
.images .current-img:link, 
.images .current-img:visited, 
.images .current-img:hover, 
.images .current-img:focus, 
.images .current-img:active {
	border-color: #97f223;
	background: #97f223;
}
.fadeOut {
	-webkit-animation: fadeOut .5s linear forwards;
	animation: fadeOut .5s linear forwards;
}
.fadeIn {
	-webkit-animation: fadeIn .5s .5s linear forwards;
	animation: fadeIn .5s .5s linear forwards;
}
@-webkit-keyframes fadeOut {
	0% { opacity: 1; }
	100% { opacity: 0; }
}
@-webkit-keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes fadeOut {
	0% { opacity: 1; }
	100% { opacity: 0; }
}
@keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}
.js .day .illustration img {
	opacity: 0;
}

.logos {
	margin: 0 auto;
	padding: 0;
/* 	max-width: 33em; */
	text-align: center;
	list-style: none;
}
.logos li {
	margin: 0;
	padding: 0;
	display: inline-block;
}
.logos li img {
	width: 96px;
	height: 38px;
}



.cta {
	margin-bottom: 100px;
}
#summary-wrapper {
	width: 80%;
	position: absolute;
	bottom: 4%;
	left: 10%;
	z-index: 1;
}
.calendar-summary {
	margin: 0;
	padding: 0 0 4%;
	list-style: none;
	text-align: center;
}
.calendar-summary li {
	margin: 0 .5em;
	padding: 0;
	list-style: none;
	display: inline-block;
	overflow: visible;
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
}
.calendar-summary a {
	display: block;
	width: 6px;
	height: 40px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	text-indent: -99999em;
	background: #fff;
	border-radius: 2px;
	-webkit-transition: all .5s;
	transition: all .5s;
}
.calendar-summary a:link, 
.calendar-summary a:visited {
	height: 40px;
}
.calendar-summary a:hover, 
.calendar-summary a:focus, 
.calendar-summary a:active {
	top: -10px;
	height: 60px;
	background: #97f223;
}
.summary {
	width: 160px;
	height: 65px;
	overflow: hidden;
	position: absolute;
	top: -80px;
	left: -38px;
	z-index: 1;
	background: transparent url(../img/box.svg) no-repeat 0 0;
	
	font-family: 'akrobatsemibold';
	
	opacity: 0;
	-webkit-transition: opacity .5s .3s;
	transition: opacity .5s .3s;
}
.calendar-summary a:hover + .summary {
	opacity: 1;
}
.d {
	color: #97f223;
	font-size: 1.375em;
	margin: 10px 0 10px 3px;
	padding: 0;
	width: 34px;
	border-right: 2px solid #fff;
	float: left;
	line-height: .7em;
	text-transform: uppercase;
	text-align: center;
}
.d span {
	display: block;
	font-size: 0.545em;
}
.s {
	margin: -8px 0 0 10px;
	width: 110px;
	font-size: 0.875em;
	line-height: 1em;
	text-transform: uppercase;
	text-align: left;
	
	position: absolute;
	top: 50%;
	left: 36px;
	z-index: 1;
	
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; }
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

@font-face {
  font-family: 'fontello';
  src: url('../font/fontello.eot?50324371');
  src: url('../font/fontello.eot?50324371#iefix') format('embedded-opentype'),
       url('../font/fontello.woff2?50324371') format('woff2'),
       url('../font/fontello.woff?50324371') format('woff'),
       url('../font/fontello.ttf?50324371') format('truetype'),
       url('../font/fontello.svg?50324371#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?84172351#fontello') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
  
  border: 2px solid #fff;
  border-radius: 50%;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
/*   margin-right: .2em; */
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
/*   margin-left: .2em; */
 
  /* you can be more comfortable with increased icons size */
  font-size: 250%;
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
.icon-disl:before { content: '\e800'; border-color: #0d283d; } /* '' */
.icon-menu:before { content: '\e801'; } /* '' */
.icon-play:before { content: '\e802'; color: #97f223; } /* '' */
.icon-share:before { content: '\e803'; } /* '' */
.icon-info:before { content: '\e804'; } /* '' */
.icon-close:before { content: '\e805'; } /* '' */
.icon-facebook:before { content: '\e806'; border-color: #0d283d; } /* '' */
.icon-instagram:before { content: '\e807'; border-color: #0d283d; } /* '' */
.icon-next:before { content: '\e808'; border: 0; } /* '' */
.icon-prev:before { content: '\e809'; border: 0; } /* '' */

.calendar .text-description, 
.day .text-description, 
.map .text-description, 
.live .text-description {
	color: #0d283d;
}
.day #info_btn .text-description, 
.live #info_btn .text-description {
	color: #fff;
}

.calendar .icon-menu:before { color: #0d283d; border-color: #0d283d; } /* '' */
.calendar .icon-share:before { color: #0d283d; border-color: #0d283d; } /* '' */
.calendar .icon-info:before { color: #0d283d; border-color: #0d283d; } /* '' */
.calendar .icon-close:before { color: #0d283d; border-color: #0d283d; } /* '' */

.day .icon-menu:before { color: #0d283d; border-color: #0d283d; } /* '' */
.day .icon-share:before { color: #0d283d; border-color: #0d283d; } /* '' */
/* .day .icon-info:before { color: #0d283d; border-color: #0d283d; } */
.day .icon-close:before { color: #0d283d; border-color: #0d283d; } /* '' */

.map .icon-menu:before { color: #0d283d; border-color: #0d283d; } /* '' */
.map .icon-share:before { color: #0d283d; border-color: #0d283d; } /* '' */
.map .icon-info:before { color: #0d283d; border-color: #0d283d; }
.map .icon-close:before { color: #0d283d; border-color: #0d283d; } /* '' */

.live .icon-menu:before { color: #0d283d; border-color: #0d283d; } /* '' */
.live .icon-share:before { color: #0d283d; border-color: #0d283d; } /* '' */
/* .map .icon-info:before { color: #0d283d; border-color: #0d283d; }  */
.live .icon-close:before { color: #0d283d; border-color: #0d283d; } /* '' */

.social .icon-disl:hover:before { color: #97f223; } /* '' */
.button:hover .icon-menu:before { color: #97f223; } /* '' */
.button:hover .icon-play:before { color: #fff; } /* '' */
.button:hover .icon-share:before { color: #97f223; } /* '' */
.button:hover .icon-info:before { color: #97f223; } /* '' */
.button:hover .icon-close:before { color: #97f223; } /* '' */
.social .icon-facebook:hover:before { color: #97f223; } /* '' */
.social .icon-instagram:hover:before { color: #97f223; } /* '' */

.button:hover .icon-prev:before { color: #97f223; } /* '' */
.button:hover .icon-next:before { color: #97f223; } /* '' */

.disabled .icon-prev:before { color: #999; } /* '' */
.disabled .icon-next:before { color: #999; } /* '' */

.disabled:hover .icon-prev:before { color: #999; } /* '' */
.disabled:hover .icon-next:before { color: #999; } /* '' */

#close_info_btn [class^="icon-"]:before, 
#close_menu_btn [class^="icon-"]:before {
	border-color: #0d283d;
}

.home .inner, 
#about .inner {
	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	box-sizing: border-box;
	height: 100%;
}
.c {
	width: 100%;
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 1;
	
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	
	-webkit-transition: -webkit-transform .5s ease-in;
	transition: transform .5s ease-in;
}

.map #home .inner, 
.day #home .inner {
	padding: 30px 120px 30px 90px;
}

/*
 * 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 (max-width: 767px) {
	html, body {
		height: auto;
	}
	#app {
		height: auto;
	}
	.home #home, #home .calendar {
		font-size: 0.750em;
	}
	
	.home #home .calendar-summary {
		font-size: 1.333em;
	}
	
	#summary-wrapper {
		width: 100%;
		position: relative;
		left: 0;
		bottom: 0;
		
		-webkit-transform: translate(0, -100px);
		transform: translate(0, -100px);
	}
	
	.embed-container { 
/* 		position: static; */
	}
	#home, #about {
		position: relative;
		display: block;
		-webkit-transform: translate3D(0, 0, 0);
		transform: translate3D(0, 0, 0);
		z-index: 1;
		min-height: 100vh;
	}
	.inView, .onLeft, .below, .onRight, .onTop, .coveredFromLeft, .onR, .onL {
		-webkit-transform: translate3D(0, 0, 0) !important;
		transform: translate3D(0, 0, 0) !important;
	}
	
	.home .inner, 
	#about .inner {
		box-sizing: content-box;
		height: auto;
	}
	.c {
		position: static;
		
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
	
	.coveredFromRight {
/*
		-webkit-transform: translate3D(-75%, 0, 0);
		transform: translate3D(-75%, 0, 0);
*/
	}
	#nav ul {
		width: 100%;
		box-sizing: border-box;
	}
	#info_btn, #close_info_btn {
		display: none;	
	}
	.text-description {
		display: none;
	}
	
	#info_btn, #counter {
		left: 20px;
	}
	#menu_btn, #share_btn, #close_video_btn, #close_menu_btn {
		right: 20px;
	}
	#info_btn, #menu_btn, #close_video_btn, #close_menu_btn {
		top: 20px;
	}
	#counter, #share_btn {
		bottom: 20px;
	}
	
	.calendar #home li {
		width: 25%;
	}
	
	.content, .illustration {
		float: none;
		width: 100%;
	}
	.illustration img {
		position: static;
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
	.js .day .illustration {
		height: 420px;
	}
	.js .day .illustration img {
		position: absolute;
		top: 0;
	}
	
	#day-nav {
		padding-top: 1em;
		position: static;
	}
	
	#about {
		padding-bottom: 3em;
	}
	
	.icon-share:before { content: '\e803'; border-color: #0d283d; color: #0d283d; }
	#share_btn .text-description {
		color: #0d283d;
	}
	#counter {
		color: #0d283d;
	}
	
	#prev_month, #next_month {
		display: none;
	}
	
	.live .wrapper {
		height: auto;
	}
	.c-live {
		position: static;
		
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
	.map #home .inner, 
	.day #home .inner {
		padding: 30px;
	}
	#day-nav {
		margin: 0;
	}
}
@media only screen and (max-width: 667px) {
	#summary-wrapper {
		display: none;
	}
}
@media only screen and (max-width: 480px) {
	#home, #about {
		min-height: 480px;
	}
	#nav ul {
		margin-top: 20%;
	}
}
@media only screen and (max-width: 320px) {
	#home, #about {
		min-height: 480px;
	}
	.map .illustration {
		background: transparent;
	}
	.illustration iframe {
		display: block;
		height: 320px;
		width: 300px;
		margin: 0;
	}
	.js .day .illustration {
		height: 320px;
	}
}
@media only screen and (max-height: 480px) {
	#nav ul {
		margin-bottom: 3em;
	}
}

@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,
    *:first-letter,
    *:first-line {
        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;
    }
}
