/* MARATHON HEADER */


.wrap {
	width:958px;
	margin:0 auto;
	background:#fff;
}
#header {
	position:relative;
	height:265px;
	margin-bottom:20px;
	background:url('/images/head_img.jpg') no-repeat;
}
ul#lng {
	position:absolute;
	top:6px;right:20px;
	overflow:hidden;
}
ul#lng li {
	display:inline;
	float:left;
	width:25px;height:13px;
	line-height:13px;
}
ul#lng #lv,
ul#lng #en,
ul#lng #de {
	padding-right:4px;
	margin-right:4px;
	background:url('/images/lv_lng.gif') no-repeat;
	border-right:1px solid #dfe2e3;
}
ul#lng #en {
	background:url('/images/en_lng.gif') no-repeat;
}
ul#lng #de {
	background:url('/images/de_lng.gif') no-repeat;
}
ul#lng #ru {
	background:url('/images/ru_lng.gif') no-repeat;
}
ul#lng li a {
	display:block;
	width:25px;height:13px;
	text-indent:-999px;
}
ul#menu {
	position:absolute;
	bottom:6px;left:17px;
	height:23px;
}
ul#menu li {
	display:inline;
	line-height:23px;
}
#menu li a {
	display:block;
	margin-right:1px;
	padding:0 10px;
	color:#fff;
	line-height:22px;
	float:left;
	text-decoration:none;
}
#menu li a:hover {
	background:#a8bcc6;
}
#menu li.active a {
	background:#fff;
	color:#000;
}
#legal {
	position:relative;
	padding-top:5px;
	padding-bottom:5px;
	clear:both;
	background:#FBFAF3;
	border-top:1px solid #edeadb;
	overflow:hidden;
}
* html #legal {
	padding-top:8px;
}
#legal p img {
	position:relative;
	margin-top:-5px;
	margin-left:10px;
	float:right;
}
#legal p {
	padding-right:15px;
	padding-bottom:;
	text-align:right;
}
#developer {
	position:absolute;
	top:25px;left:20px;
	width:80px;
	background:url('/images/grafton.gif') no-repeat;
	text-indent:-999px;
	overflow:hidden;
}
#developer a {
	display:block;
	height:20px;
	text-align:left !important;
}
p.aims {
	position:absolute;
	left:50%;top:10px;
	margin-left:-90px;
}
p.aims a {
	display:block;
	width:134px;height:40px;
	line-height:29px;
	background:url('/images/aims_logo2.gif') no-repeat;
	text-indent:999px;
	overflow:hidden;
}

* {margin: 0; padding: 0; border: 0}
.cleaner {clear: both}
ul, li, ol {list-style:none}
a {cursor:pointer}

body {
	font-family: Tahoma,Geneva,Arial,sans-serif;
	font-size: 11px
}

h1 {
	color: #0099C9;
	font-size: 20px;
	line-height: 30px;
	margin: 10px 0;
	text-align: center
}

div#Content {
	width: 958px;
	margin: auto
}

div.Options {
	float: left;
	margin: 50px 0 0 4px
}

div.Langs {
	float: right;
	margin-top: 52px
}

div.Langs a {
	display: block;
	float: left;
	width: 25px;
	height: 13px;
	border-right: 1px solid #dfe3e4;
	padding-right: 4px;
	margin-right: 4px
}

a#lat {
	background: url(images/lang-lat.gif) no-repeat
}

a#eng {
	background: url(images/lang-eng.gif) no-repeat
}

a#rus {
	background: url(images/lang-rus.gif) no-repeat;
	border-right: none
}

div#Header {
	border: 1px solid #eee;
	padding: 5px 5px 1px 5px
}

div#Header  div.Left {
	float: left;
	position: relative
}

div#Header  div.Right {
	float: right;
	width: 480px
}

div#Header  div.Center {
	float: left;
	width: 50px;
	padding: 10px 17px
}

div#Header div.Left a {
	display: block;
	float: left;
	width: 110px;
	height: 103px;
	margin-right: 5px
}

div.Head {
	background: url(images/head-left.gif) no-repeat;
	padding-left: 8px
}

div.Head h2 {
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	height: 13px;
	padding: 2px 10px 3px 2px;
	background: url(images/head-right.gif) no-repeat 100% 0 #94abb6
}

div.row {
	background: url(images/dott.gif) repeat-x 0 100%;
	margin: 0 10px 0 2px;
	padding: 5px
}

div.last {
	background: none;
	padding-bottom: 0
}

div.row input {
	float: left;
	width: 15px;
	height: 15px;
	margin-right: 5px;
	cursor: pointer
}

div.row label {
	float: left;
	padding-top: 1px;
	cursor: pointer
}

div.width1 {
	float: left;
	width: 100px;
	padding-right: 10px
}

div.width2 {
	float: left;
	width: 170px;
	padding-right: 10px
}

div.width3 {
	float: left;
	width: 160px;
	padding-right: 0
}

div.width4 {
	float: left;
	width: 280px;
	padding-right: 10px;
	margin-top: -2px
}

input#start {
	margin-top: 2px
}

label#label-start {
	padding: 3px 0 5px 26px;
	background: url(images/icon-start.gif) no-repeat
}

input#med {
	margin-top: 2px
}

label#label-med {
	padding: 3px 0 5px 23px;
	background: url(images/icon-med.gif) no-repeat 0 1px
}

input#pic {
	margin-top: 2px
}

label#label-pic {
	padding: 3px 0 5px 33px;
	background: url(images/icon-pic.gif) no-repeat
}

input#finish {
	margin-top: 2px
}

label#label-finish {
	padding: 3px 0 5px 26px;
	background: url(images/icon-finish.gif) no-repeat
}

input#fans {
	margin-top: 2px
}

label#label-fans {
	padding: 3px 0 5px 24px;
	background: url(images/icon-fans.gif) no-repeat 0 2px
}

input#km {
	margin-top: 2px
}

label#label-km {
	padding: 3px 0 5px 33px;
	background: url(images/icon-km.gif) no-repeat 2px 2px
}

input#service {
	margin-top: 4px
}

label#label-service {
	padding: 5px 0 6px 26px;
	background: url(images/icon-service.gif) no-repeat 1px 0
}

input#streets {
	margin-top: 2px
}

label#label-streets {
	padding: 3px 0 6px 33px;
	background: url(images/icon-streets.gif) no-repeat 5px 2px
}

a#relay {
	background: url(images/distance0.png) no-repeat
}

a#relay.active {
	background: url(images/distance0-active.png);
	margin-right: 0 !important;
	width: 115px !important
}

div#relay-div {
	position: absolute;
	top: 0; left: 115px;
	width: 340px;
	height: 97px;
	padding: 6px 0 0 0;
	background: url(images/distance0-bg.png) no-repeat 100% 0
}

div#Header div.Left div#relay-div a {
	width: 80px;
	height: 91px
}

div#Header div.Left div#relay-div a.close {
	background: url(images/onmap/popup-close.gif) no-repeat;
	width: 16px;
	height: 16px;
	position: absolute;
	right: -8px;
	top: -2px
}

a#relay-1 {
	background: url(images/distance0-1.png) no-repeat
}

a#relay-1.active {
	background: url(images/distance0-1-active.png) no-repeat
}

a#relay-2 {
	background: url(images/distance0-2.png) no-repeat
}

a#relay-2.active {
	background: url(images/distance0-2-active.png) no-repeat
}

a#relay-3 {
	background: url(images/distance0-3.png) no-repeat
}

a#relay-3.active {
	background: url(images/distance0-3-active.png) no-repeat
}

a#relay-4 {
	background: url(images/distance0-4.png) no-repeat;
	margin-right: 0 !important
}

a#relay-4.active {
	background: url(images/distance0-4-active.png) no-repeat
}

a#mini {
	background: url(images/distance1.png) no-repeat
}

a#mini.active {
	background: url(images/distance1-active.png) no-repeat
}

a#half {
	background: url(images/distance2.png) no-repeat
}

a#half.active{
	background: url(images/distance2-active.png) no-repeat
}

a#full {
	background: url(images/distance3.png) no-repeat
}

a#full.active {
	background: url(images/distance3-active.png) no-repeat
}

a#relay img, a#mini img, a#half img, a#full img {display: none}

a#mail {
	float: left;
	display: block;
	width: 20px;
	height: 15px;
	margin: 1px 5px 0 0;
	background: url(images/icon-mail.gif) no-repeat
}

a#print {
	float: left;
	display: block;
	width: 16px;
	height: 16px;
	background: url(images/icon-print.gif) no-repeat
}

div#Map {
	margin: auto;
	height: 718px;
	position: relative
}

div#Map div.distance0-1 {
	width: 427px;
	height: 557px;
	background: url(images/onmap/distance0-1.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/distance0-1.png)
}

div#Map div.distance0-2 {
	width: 419px;
	height: 506px;
	background: url(images/onmap/distance0-2.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/distance0-2.png)
}

div#Map div.distance0-3 {
	width: 340px;
	height: 582px;
	background: url(images/onmap/distance0-3.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/distance0-3.png)
}

div#Map div.distance0-4 {
	width: 724px;
	height: 677px;
	background: url(images/onmap/distance0-4.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/distance0-4.png)
}

div#Map div.distance1 {
	width: 520px;
	height: 468px;
	background: url(images/onmap/distance1.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/distance1.png)
}

div#Map div.distance2 {
	width: 727px;
	height: 677px;
	background: url(images/onmap/distance2.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/distance2.png)
}

div#Map div.distance3 {
	width: 726px;
	height: 677px;
	background: url(images/onmap/distance3.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/distance3.png)
}

div#Map div.distance1-km {
	width: 350px;
	height: 291px;
	background: url(images/onmap/distance1-km.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/distance1-km.png)
}

div#Map div.distance2-km {
	width: 722px;
	height: 659px;
	background: url(images/onmap/distance2-km.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/distance2-km.png)
}

div#Map div.distance3-km {
	width: 722px;
	height: 660px;
	background: url(images/onmap/distance3-km.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/distance3-km.png)
}

div#Map div.start {
	width: 25px;
	height: 25px;
	background: url(images/onmap/icon-start.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/icon-start.png)
}

div#Map div.finish {
	width: 25px;
	height: 25px;
	background: url(images/onmap/icon-finish.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/icon-finish.png)

}

div#Map div.service {
	width: 22px;
	height: 26px;
	background: url(images/onmap/icon-service.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/icon-service.png)
}

div#Map div.med {
	width: 23px;
	height: 23px;
	background: url(images/onmap/icon-med.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/icon-med.png)
}

div#Map div.fans {
	width: 23px;
	height: 18px;
	background: url(images/onmap/icon-fans.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/icon-fans.png)
}

div#Map div.pic {
	width: 34px;
	background: url(images/onmap/pic-shadow.png) no-repeat 0 100%;
	padding-bottom: 3px
}

div#Map div.pic a {
	display: block;
	border: 1px solid #a1a19f
}

a#map_logo {
	display: block;
	width: 40px;
	height: 40px;
	background: url(images/onmap/1188.png) no-repeat;
	//background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=images/onmap/1188.png)
}

a#map_alt {
	position: absolute;
	top: 24px;
	right: 55px;
	padding: 0 2px;
	text-decoration: none;
	background: #fff;
	color: #000;
	opacity:0.9;
	filter:alpha(opacity=90)
}

div.pic_popup {
	position: relative;
	border:
}

div.pic_popup a.close {
	display: block;
	position: absolute;
	top: 4px;
	right: 4px;
	width: 16px;
	height: 16px;
	background: url(images/onmap/popup-close.gif) no-repeat
}

div.pic_popup div.content {
	position: absolute;
	left: 21px;
	top: 21px;
	padding-right: 21px;
	font-size: 12px
}

div.pic_popup div.content p {
	padding-top: 5px;
	text-align: center
}

div.pic_popup div.c1 {
	overflow: hidden;
	width: 11px;
	height: 11px;
	position: absolute;
	left: 0;
	top: 0;
	background: url(images/onmap/popup-bg.png)
}

div.pic_popup div.c2 {
	overflow: hidden;
	width: 11px;
	height: 11px;
	position: absolute;
	right: 0;
	top: 0;
	background: url(images/onmap/popup-bg.png) 100% 0
}

div.pic_popup div.c3 {
	overflow: hidden;
	width: 11px;
	height: 50px;
	position: absolute;
	left: 0;
	bottom: 0;
	background: url(images/onmap/popup-bg.png) 0 100%
}

div.pic_popup div.c4 {
	overflow: hidden;
	width: 11px;
	height: 50px;
	position: absolute;
	right: 0;
	bottom: 0;
	background: url(images/onmap/popup-bg.png) 100% 100%
}

div.pic_popup div.white-horiz {
	position: absolute;
	left: 0;
	top: 11px;
	background: #fff;
	border-left: 1px solid #94abb6;
	border-right: 1px solid #94abb6
}

div.pic_popup div.white-vert {
	position: absolute;
	left: 11px;
	top: 0;
	background: #fff;
	border-top: 1px solid #94abb6;
	border-bottom: 1px solid #94abb6
}

div.form {
	position: absolute;
	top: -110px;
	left: 5px;
	width: 292px;
	z-index: 10 !important
}

div.form  div.white-horiz {
	width: 290px;
	height: 181px
}

div.form  div.white-vert {
	width: 270px;
	height: 201px
}

div.form li {
	float: left;
	width: 250px;
	padding-bottom: 10px
}

div.form label {
	float: left;
	padding: 5px 3px 0 0;
	width: 95px;
	text-align: left
}

div.form input, div.form textarea{
	float: left;
	border: 1px solid #94abb6;
	padding: 3px 2px;
	width: 146px
}

div.form textarea {
	height: 65px
}

div.form li#submitform input {
	float: right;
	width: auto;
	border: 0;
	padding: 0
}

div.StreetsOff {
	background: url(images/map1.png) no-repeat
}

div.StreetsOn {
	background: url(images/map2.png) no-repeat
}


@media print{
	div#Content, div.Left, div.Left a {width: 100% !important; height:auto !important}
	a#relay.active {width:100% !important}
	div#Map, div.Right, div.Options, div.Langs {display: none}
	div#relay-div {display:none !important}
	div#Header {border: 0}
	div#Content a.active img.printimg {display: block !important; position: absolute; left: 0; top: 0; width: 100% !important}
}