/*  HTML5 Boilerplate  */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
ins { background-color: #ff9; color: #000; text-decoration: none; }
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
table { border-collapse: collapse; border-spacing: 0; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
input, select { vertical-align: middle; }

body { font:13px/1.231 sans-serif; *font-size:small; height: auto; } 
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

html { overflow-y: scroll; height: auto; }
a:hover, a:active { outline: none; }
ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td { vertical-align: top; }

sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }
textarea { overflow: auto; }
.ie6 legend, .ie7 legend { margin-left: -7px; } 
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }

::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
a:link { -webkit-tap-highlight-color: #FF5E99; }

button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

body, select, input, textarea {  color: #444; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; }
a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }

/* czcionki */

@font-face {
	font-family: 'MagistralLight';
	src: url('magistral_light-webfont.eot');
	src: local('☺'), url('magistral_light-webfont.woff') format('woff'), url('magistral_light-webfont.ttf') format('truetype'), url('magistral_light-webfont.svg#webfontxclmEwlu') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'MagistralMedium';
	src: url('magistral_medium-webfont.eot');
	src: local('☺'), url('magistral_medium-webfont.woff') format('woff'), url('magistral_medium-webfont.ttf') format('truetype'), url('magistral_medium-webfont.svg#webfontBmmGLnkd') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* format */

#map_canvas {
  height: auto;
  position: absolute;
  bottom:0;
  left:0;
  right:0;
  top:0;
}

/* leftBar */

#leftBar {
	position: absolute;
	left: 10px;
	top: 10px;
	width: 163px;
	height: 364px;
	background: transparent url('../img/leftbar_bg.png?v=1') no-repeat top left;
	z-index: 10;
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	font-family: 'MagistralMedium', sans-serif;
	font-size: 11px;
}

#leftbarTitle {
	height: 38px;
	width: 100%;
	padding-top: 10px;
	color: #a8d7ff;
}

#leftMenu {
	list-style-type: none;
	margin: 0 0 4px 0;
}

#leftMenu li{
	position: relative;
	height: 42px;
	padding-top: 17px;
}

#leftMenu li>div {
	position: relative;
	margin-top: -29px;
	left: 163px;
	padding-left: 26px;
	background: transparent url('../img/leftbar_dziubki.png?v=1') no-repeat top left;
	display: none;
}

#menuItem1 {
	/*height: 288px;*/
	height: auto;
	width: 250px;
}

#menuItem2 {
	height: 161px;
	color: #888;
	font: 11px sans-serif;
	text-transform: none;
	text-align: left;
	width: 300px;
}

#menuItem2 header {
	padding: 20px 0 10px 20px;
	color: #000;
	font-weight: bold;
	font-size: 12px;
}

#menuItem2 p {
	padding: 0 0 8px 20px;
	margin-right: 20px;

}

#menuItem1>div, #menuItem2>div {
	background: #fff;
	width: 100%;
	height: 100%;
}

.legend {
	font: 8px sans-serif;
	color: #a8d7ff;
	width: 81px;
	padding-top: 51px;
	margin-top: 27px;
	float: left;
}

#legendYou, #legendMaleElite, #legendFemaleElite {
	cursor: pointer;
}

.plusButton {
	width: 15px;
	height: 15px;
	background: url('../img/icons_iface.png?v=1') -32px 0px no-repeat;
	display: inline-block;
	margin-right: 2px;
	vertical-align: middle;
	border: none;
}

.minusButton {
	width: 15px;
	height: 15px;
	background: url('../img/icons_iface.png?v=1') -48px 0px no-repeat;
	display: inline-block;
	margin-right: 2px;
	vertical-align: middle;
	border: none;
}

.textField {
	border: 1px solid #0e477d;
	padding: 1px 6px 0px 6px;
	width: 30px;
	text-align: center;
	font-weight: bold;
	color: #0e477d;
	font-size: 15px;
}

#ytdesc {
	background: transparent url('../img/icon_runner.png?v=1') center right no-repeat;
}

#menuItem1 p {
	background: transparent url('../img/icons_legenda.png?v=4') top right no-repeat;
	margin: 0 30px;
	color: #666;
	font: 12px sans-serif;
	text-align: left;
	text-transform: none;
}

#layersIface { position: relative; }
	
#layersIface label {
	display: block;
	position: relative;
	z-index: 11;
	line-height: 16px;
	padding-left: 25px;
	cursor: pointer;
	margin-bottom: 15px;
	background: url('../img/icons_iface.png?v=1') no-repeat;
	background-position: 0px -16px; 
}

#layersIface label.checked {
	background-position: 0px -40px;
}

#layersIface label.disabled {
	color: #bbb;
	cursor: auto;
}

/* navBar */

nav {
	display: block;
	width: 378px;
	height: 36px;
	padding-top: 10px;
	padding-right: 5px;
}

nav ul {
   	display: block;
	background: transparent url('../img/viewsbar_bg.png?v=1') top left no-repeat;
	position: absolute;
	width: 373px;
	height: 26px;
}

nav ul li {
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	top: 0px;
	cursor: pointer;
	display: block;
	height: 26px;
	text-indent: -9999px;
	color: #a0cbf4;
	font-weight: bold;
	font-size: 0.8em;
	line-height: 25px;
}

#mapViewButton				{left: 17px; width: 16px; }
#courseViewButton			{left: 52px; width: 16px; }
#officeViewButton			{left: 88px; width: 16px; }
#accommodationViewButton	{left: 126px; width: 20px; }
#startViewButton			{left: 167px; width: 16px; }
#finishViewButton			{left: 202px; width: 16px; }
#roadmapButton				{left: 271px; width: 26px; text-indent: 0; }
#satelliteButton			{left: 319px; width: 36px; text-indent: 0; }

#mapViewButton:hover		{background: transparent url('../img/viewsbar_bg.png?v=1') -17px -26px no-repeat;}
#courseViewButton:hover		{background: transparent url('../img/viewsbar_bg.png?v=1') -52px -26px no-repeat;}
#officeViewButton:hover		{background: transparent url('../img/viewsbar_bg.png?v=1') -88px -26px no-repeat;}
#accommodationViewButton:hover	{background: transparent url('../img/viewsbar_bg.png?v=1') -126px -26px no-repeat;}
#startViewButton:hover		{background: transparent url('../img/viewsbar_bg.png?v=1') -167px -26px no-repeat;}
#finishViewButton:hover		{background: transparent url('../img/viewsbar_bg.png?v=1') -202px -26px no-repeat;}
#roadmapButton:hover		{background: transparent url('../img/viewsbar_bg.png?v=1') -271px -26px no-repeat; color: #ffb800;}
#satelliteButton:hover		{background: transparent url('../img/viewsbar_bg.png?v=1') -319px -26px no-repeat; color: #ffb800;}

/* toolTip */

#tooltip {
	position: absolute;
	top: 48px;
	z-index: 10;
	display: none;
	opacity: 0.75;
}

#tooltipDziubek {
	background: transparent url('../img/tooltip_dziubek.png?v=1') top center no-repeat;
	height: 6px;
}

#tooltipContent {
	background-color: #0e477d;
	color: #fff;
	padding: 4px 12px 6px;
	border-radius: 5px;	
}

/* slider */

#sliderContainer {
	width: 696px;
	height: 41px;
	background: url('../img/slider_bg.png?v=1') no-repeat;
	position: relative;
	float: left;
	margin-top: 20px;
}

#slider {
	position: relative;
	height: 18px;
	margin-left: 38px;
	margin-right: 37px;
	margin-top: 23px;
	cursor: pointer;
}

.handle {
	position: absolute;
	cursor: pointer;
	width: 18px;
	height: 18px;
	background: url('../img/slider_handle.png?v=1') no-repeat;
}

#clock {
	width: 70px;
	height: 70px;
	background: url('../img/clock_bg.png?v=1') no-repeat;
	float: right;
	color: #ffb900;
	text-align: center;
	line-height: 70px;
	font-family: 'MagistralMedium', sans-serif;
	font-size: 18px;
}

#sliderRibbon {
	bottom: 20px;
	left: 50%;
	z-index: 10;
	position: absolute;
	width: 780px;
	height: 70px;
	margin-left: -390px;
	display:none;
}

/* infobox */
.infobox {
	width: 250px;
	background: transparent url('../img/dymek_dziubek.png?v=1') top center no-repeat;
	padding-top: 16px;
	text-align: center;
}

.content {
	border-radius: 5px;
	background-color: #0e477d;
	color: #a0cbf4;
	padding: 8px;
	background-color: #0e477d;
	background-image: -moz-radial-gradient(33% top, ellipse farthest-side, #4072a4 0%,#0e477d 99%);
	background-image: -webkit-radial-gradient(33% top, ellipse farthest-side, #4072a4 0%,#0e477d 99%);
	background-image: -o-radial-gradient(33% top, ellipse farthest-side, #4072a4 0%,#0e477d 99%);
	background-image: -ms-radial-gradient(33% top, ellipse farthest-side, #4072a4 0%,#0e477d 99%);
	background-image: radial-gradient(33% top, ellipse farthest-side, #4072a4 0%,#0e477d 99%);
}

.content header {
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	padding: 4px 8px;
	text-align: left;
}

.content p {
	padding: 4px 8px;
	text-align: left;
}

.content img {
	width: 212px;
	border: 4px solid #fff;
	margin: 8px;
}

/* fixes */

.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.hidden { display: none; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


@media all and (orientation:portrait) {

}

@media all and (orientation:landscape) {

}

@media screen and (max-device-width: 480px) {

  /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}

@media screen and (max-width: 580px) {
    #leftBar {
        top:50px;
    }
}

@media screen and (min-width: 800px) {
    #sliderRibbon {
        display:block;
    }
}

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  -ms-filter: none !important; } 
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
  
  #map_canvas {
    height: 950px;
  }
}