/*
 * 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;
    background-color: #EBEBEB;
}

a {
    color: #00e;
    text-decoration: none;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #06e;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

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

* {
	font-family: "gesta", arial;
}

#map-canvas {
        margin: 0;
        padding: 0;
        height: 100%;
        width: 100%;
      }

img {
}
h1 {
	font-size: 36px;
	font-weight: bold;
	color: #FFFFFF;
	clear: both;
}
h2 {
	font-size: 18px;
	line-height: 18px;
	font-weight: bold;
	color: #3F464C;
	clear: both;
	margin: 5px 0 10px 0;
}
a {
	color: white !important;
}

.clear {
	line-height: 1px;
	height: 0px;
	clear: both;
}

.website {
	min-width: 320px;
}
.website .header {
	position: relative;
	border-bottom: 1px solid white;
	background: url("../img/cobranding_default/mobile/bg_logo.png") repeat transparent center center;
}
.website .header .bg {
	background: url("../img/cobranding_default/mobile/bg_logo_2.png") no-repeat transparent right top;
	height: 100%;
}
.website .header.nav {
	padding-right: 7px;
}
.website .header.nav .name {
	font-size: 11px;
	color: white;
	position: absolute;
	left: 12px;
	top: 63%;
	display: block;
}
.website .header.nav .bg
{
	background: url("../img/cobranding_default/mobile/bg_nav.png") no-repeat transparent left top;
}
.website .header.nav .link {
	float: right;
	height: 100%;
	line-height: 50px;
	width: 35px;
	display: block;
	text-align: center;
	background: center center / auto 50% transparent no-repeat;
}
.website .header.nav .link span {
	font-size: 150% !important;
}
/*
.website .header.nav .link.back {
	background-image: url("../img/cobranding_default/mobile/icon_arrow.png");
}
.website .header.nav .link.globe {
	background-image: url("../img/cobranding_default/mobile/icon_globe.png");
}
.website .header.nav .link.globe.shine {
	background-image: url("../img/cobranding_default/mobile/icon_globe_shine.png");
}
.website .header.nav .link.home {
	background-image: url("../img/cobranding_default/mobile/icon_home.png");
}
*/

.website .header.logo {
	height: 156px;
}
.website .header.nav {
	background: url("../img/cobranding_default/mobile/bg_button.png") repeat transparent center center;
	height: 64px;
}

.website .content {
	background: #EBEBEB;
	color: #3F464C;
	font-size: 13px;
	line-height: 150%;
	padding: 15px 15px 20px 15px;
}
.website .content img {
	margin-right: 15px;
	margin-top: 0px;
	float: left;
}

.website .content .information {
	font-weight: bold;
	background: no-repeat transparent left center;
	font-size: 1.17em;
}
.website .content .information.person {
	background-image: url("../img/cobranding_default/mobile/icon_station_person.png");
}
.website .content .information.building {
	background-image: url("../img/cobranding_default/mobile/icon_station_building.png");
}

.teaser {
	position: relative;
	border-bottom: 1px solid white;
	/*height: 100px;*/
	color: white;
	font-size: 0.875em;
	font-size: 14px;
	overflow: hidden;
}
.teaser.big {
	border: none !important;
}
.teaser.city {
	/*height: 160px;*/
	overflow: hidden;
	border: none !important;
	background-repeat: no-repeat;
}
.teaser a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}
.teaser .title {
	position: absolute;
	right: 0;
	top: 0;
	width: 124px;
	line-height: 29px;
	background: url("/img/cobranding_default/mobile/bg_bar_default.png") repeat transparent center center;
	text-align: center;
}
.teaser h1 {
	display: block;
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0;
	text-align: center;
	background: none;
	margin: 0;
	padding: 0;
	line-height: 24px;
}
.teaser.city h1 {
	left: 0;
	text-align: left;
	width: auto;
	margin-left: 15px;
} 
.teaser.tutorial {
	/*background: url("../img/cobranding_default/mobile/teaser_main.png") no-repeat transparent left top;*/
}
.teaser.volkach {
	/*background: url("../img/cobranding_default/mobile/teaser_volkach.png") no-repeat transparent left top;*/
}
.teaser.volkach .title {
	background-image: url("../img/cobranding_volkach/mobile/bg_bar_default.png");
}
.teaser.badkissingen {
	/*background: url("../img/cobranding_default/mobile/teaser_badkissingen.png") no-repeat transparent left top;*/
}
.teaser.badkissingen .title {
	background-image: url("../img/cobranding_badkissingen/mobile/bg_bar_default.png");
}


.icon {

	/*
	min-height: 32px;
	min-width: 32px;
	background: no-repeat transparent center center;
	background-size: auto 100%;
	*/
	
	font-size: 175% !important;
	display: inline !important;
	vertical-align: middle !important;
}

a.icon, .icon a {
	color: #3F464C !important;
}
a.icon img, .icon a img {
	float: none !important;
} 

.icon.setup {
	background-image: url("../img/cobranding_default/mobile/icon_config.png");
}
.icon.info {
	background-image: url("../img/cobranding_default/mobile/icon_info.png");
}
.icon.arrow {
	background-image: url("../img/cobranding_default/mobile/icon_arrow.png");
}
.icon.qr {
	line-height: 35px;
	font-size: 18px !important;
}
.mobileplattform .qr {
	display: block !important;
}
.icon.view {
	line-height: 20px;
}

.button {
	clear: both;
	position: relative;
	line-height: 64px;
	height: 64px;
	background: url("/img/cobranding_default/mobile/bg_button.png") repeat transparent center center;
	border-bottom: 1px solid white;
}
.button a {
	font-size: 0.938em;
	/*font-size: 15px;*/
	font-weight: bold; /* ?? */
	padding-left: 3.75em;
	padding-left: 64px;
	padding-left: 0px; /*  */
	color: white;
	display: block;
	height: 100%;
}
/*
.button.imprint a {
	background: url("/img/cobranding_default/mobile/icon_info.png") no-repeat transparent 18px center / auto 50%;
}
.button.back a {
	background: url("/img/cobranding_default/mobile/icon_arrow.png") no-repeat transparent 18px center / auto 50%;
}
.button.help a {
	background: url("/img/cobranding_default/mobile/icon_config.png") no-repeat transparent 18px center / auto 50%;
}
.button.list a {
	background: url("/img/cobranding_default/mobile/icon_list.png") no-repeat transparent 18px center / auto 50%;
}
.button.help a {
	background: url("/img/cobranding_default/mobile/icon_config.png") no-repeat transparent 18px center / auto 50%;
}
.button.list a {
	background: url("/img/cobranding_default/mobile/icon_list.png") no-repeat transparent 18px center / auto 50%;
}

*/
.button .icon {
	margin: 0 20px 0 20px !important;
	text-align: center !important;
}
.button.imprint span {
	font-size: 200%;
}

.button.goto {
	float: left;
	width: 50%;
	clear: none;
	margin-left: -1px;
	line-height: 20px;
	padding: 12px 0;
	height: inherit;
}
.button.goto.next{
	margin-left: 0;
	border-left: 1px solid white;
}
.button.goto.back a {
	background: url("/img/cobranding_default/mobile/button_back.png") no-repeat transparent left center;
	text-align: right;
	padding-right: 20px;
	padding-left: 60px;
}
.button.goto.next a {
	background: url("/img/cobranding_default/mobile/button_goto.png") no-repeat transparent right center;
	vertical-align: middle;
	text-align: left;
	padding-right: 60px;
	padding-left: 20px;
}

.button.tour {
	height: 100px;
	line-height: 100px;
	color: white;
	font-size: 15px;
	font-size: 0.938em;
	font-weight: bold;
	background: url("/img/cobranding_default/mobile/bg_button_tour.png") repeat transparent center center;
	padding-right: 50px;
}
.button.tour span {
	display: table-cell;
	height: 100px;
	width: 240px;
	line-height: 1.45em;
	vertical-align: middle;
	position: relative;
}
.button.tour.ln {
}
.button.tour.disabled {
	opacity: 0.65;
}
.button.tour img {
	vertical-align: bottom;
	margin-right: 15px;
	float: left;
}
.button.tour a {
	background: url("/img/cobranding_default/mobile/button_goto.png") no-repeat right center transparent;
	background-size: auto 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0;
}

.button.tour.disabled a {
	background-image: none; 
}

.steps {
	height: 27px;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	overflow: hidden;
}
.steps a {
	display: block;
	height: 100%;
	color: white;
	line-height: 27px;
	font-size: 13px;
	font-weight: bold;
	padding-left: 25px;
	padding-right: 12px;
	background: url("/img/cobranding_default/mobile/icon_right.png") no-repeat transparent left center;
	background-size: auto 100%;
	float: left; 
	width: auto; 
}
.steps a:FIRST-CHILD {
	margin-top: 0;
	margin-left: 0px;
	padding-left: 17px;
	background: none;
}
.steps a.last {
	/* margin-left: 68%; */
}

.video {
	position: relative;
}
.video .play1, .video .play2 {
	background: url("/img/cobranding_default/mobile/play-bg.png") center center transparent;
	background-size: auto 20%; 
	position:absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.video .play1 {
	vertical-align: middle;
	text-align: center; 
	z-index: 2;
	background: none;
}

.video .play2 {
	width: 100%;
	height: 20px;
	overflow: hidden; 
	padding: 9px 0 7px 0;
	background-size: auto 100%;
	background-position: top left; 
	position: relative;
	margin-top: -36px;  
	clear: both;
	float: left; 
	z-index: 3;
	font-size: 13px;
	
}

.video .play1 .icon, .video .play2 .icon {
	display: block;
	float: left;
	background: url('/img/cobranding_default/mobile/play-icon.png') no-repeat 0 0; 
	background-size: auto 100%;
}

.video .play1 {
	width: 120px;
	height: 120px;
	top: 50%;
	left: 50%;
	margin-left: -60px;
	margin-top: -70px;
}

.video .play1 .icon {
	width: 110px;
	height: 110px;
	margin: 0 0 0 0;
	background-position: 50% 50%;
	opacity: 1;
	background: url('/img/cobranding_default/mobile/play.png') no-repeat 50% 50%; 
}


.video .play2 .icon {
	width: 15px;
	height: 15px;
	margin-right: 5px;
	margin-left: 15px;
	margin-top: 2px;
	opacity: 0.5;
}

.video .play1 .label, .video .play2 .label {
	float: left; 
	
}

.video .play1 .label {
	display: none; 
}

.icon-person, .icon-building {
	font-size: 22px;
	vertical-align: text-bottom;
	margin-right: 10px;
	float: left;
	width: 22px;
	position: absolute;
	top: 14px;
	left: 0;
}

.poi-list { margin-top: 20px; margin-bottom: 10px; }

.poi-list .item {
	margin: 0;
	padding: 13px 0 13px 32px;
	border-top: 1px solid #ddd;
	clear: both;
	display: block;
	position: relative;
}



.poi-list .item .links {
	display: block;
	padding-top: 5px;
	clear: both; 
}

.poi-list .item a {
	display: block;
	color: #777 !important;
	font-size: 15px;
	clear: both;
	line-height: 20px; 
	padding-bottom: 3px;
}

.poi-list .item a:first-child {
	border-left: none; 
}

.poi-list .item a.label {
	display: block;
	padding-top: 4px;
	color: #3F464C !important;
}

.poi-list .bullet { font-size: 20px; line-height: 20px;  }

.content.imprint  a {
	color: #777 !important;
	font-weight: bold !important; 
}

.content.imprint h3 {
	margin-top: 20px;
	margin-bottom: 10px;
}


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

/* Prevent callout */

.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */

textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */

.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * 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 helper
 * Used to contain floats: h5bp.com/q
 */

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

.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.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

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

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for viewports that meet the condition */
}
