#doc, #header, #footer {
	position: relative;
	width: auto;
	zoom: 1;
}

#doc { padding: 0 24px 30px; width: 947px; margin: 0 auto; text-align: left; }


/* ---------- Header ---------- */
/*
#header { overflow: hidden; }
#header #logo { float: left; margin: 17px 0 0 27px; padding: 0; }
#header h1 { font-size: 4em; margin: 14px 0 8px 5px; }

#my_ozon { margin-left:5px; color: #2D83C2; }
#my_ozon .separator { padding: 0 6px; }
#my_ozon.content {text-align: right; padding-right: 24px;}
#header ul.steps {
	display: block;
	background-color: #194869;
	padding: 20px 0 10px 16px;
	margin-top:2px;
	/ *margin-left: 220px;
	margin-top: 20px;* /
}
.steps li { display: inline; padding: 3px 0px; white-space: nowrap;margin:0 4px 0 0; }
* html .steps li { zoom: 1; }
.steps li.current { color: #fff; / *#264E62;* / }
.steps li.next, .steps li.prev { color: #84A2AF; }
.steps li big { color: #264E62; }
.steps li a { color: #2FB3E7; text-decoration: none; }
.steps li a:hover { color: #EF1D7A; text-decoration: none; }
*/
em.separator { padding: 0 8px; color: #0082c4; }



#header {
	font: 13px/1.2 Arial,sans-serif;
	position: relative;
	background: #fff;
	padding: 24px 0 0 205px;
}

#logo {
	position: absolute;
	top: auto;
	bottom: 2px;
	left: 0;
}

#logo img {
	display: block;
}

#header_title {
	min-height: 82px;
	overflow: hidden;
}

#header_caption {
	color: #b6c4c9;
	color: #194869;

	font-size: 36px;
	line-height: 42px;
	clear: both;
	padding-right: 20px;
}

#my {
	position: absolute;
	top: 7px;
	left: auto;
	right: 25px;
	overflow: hidden;
}

#my span {
	display: inline;
	float: left;
	margin-right: 8px;
	color: #666;
}

#my ul {
	float: left;
	background: #EBF4FB; /* old browsers */
	background: -moz-linear-gradient(top, #EBF4FB 0%, #CDDFF5 100%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#EBF4FB), color-stop(100%,#CDDFF5)); /* webkit */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#EBF4FB', endColorstr='#CDDFF5',GradientType=0 ); /* ie */

	-moz-border-radius: 4px;
	border-radius: 4px;
	overflow: hidden; 
}

#my ul li {
	float: left;
	border-left: 2px solid #fff;
	margin-left: -2px;
	padding: 0 10px 2px;
}

#my ul li a {
	font-size: 13px;
	text-decoration: none;
}

#my ul li a:hover {
	color: #2d83c2;
	text-decoration: underline;
}

#header_navigation {
    clear: both;
    font-size: 16px;
    line-height: 16px;
    
	margin: 0 0 0 1px;
    padding-bottom: 2px;
    text-transform: lowercase;
    overflow: hidden;
}

ul.navigation {
    list-style-image: none;
    margin-left: -1.2em;
    padding-left: 0;
}

#header_navigation a {
	text-decoration: underline;
}

#header_navigation a,
#header_navigation span {
    color: #fff;
}

#header_navigation noindex {
	font-weight: bold;
}

#header_navigation li	 {
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAVCAIAAAAIMBNTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUCB0FwQENwwAQxLAqgAurXIYpudfs5/1+3B230cYaFRUZJhopKioWKRUaK9rYxrY/3Ac9GwdlvbYAAAAASUVORK5CYII=) repeat-x #20567c;
	margin: 0 1px 0 0;
	padding: 1px 0;
	min-width: 144px;
	text-align: center;
	float: left;
	display: inline;
	position: relative;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	
	width: auto;
}

#header_navigation li.selected {
    background-image: none;
    background-color: #194869;	
}

#header_navigation li.selected {
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomright: 0px;
	-moz-border-radius-bottomleft: 0px;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px; 
    
    padding-bottom: 3px;
    margin-bottom: -2px;
}

#header_navigation img {
	display: inline-block;
}

#header_navigation li:last-child .corners-i {
	padding-right: 40px;
}
#header_navigation .corner,
#header_navigation .corner img {
	position: absolute;
	height: 100%;
	right: 0;
	top: 0;
}
#header_navigation .corner {
	width: 50px;
}

#header_navigation .corners-i {
	padding: 0 22px 2px;
	height: 17px;
}

/* MosTravel */
#mostravel_navigation {

	position: absolute;
	left: auto;
	right: 0;
	top: 60px;
	z-index: 2;
	overflow: hidden;
	font-size: 13px;
	font-family: Arial, sans-serif;
	font-weight: bold;
}

#mostravel_navigation li {
	background: url( '/f/images/mostravel_bg.gif' ) 0 0 repeat-x;
	float: left;
	margin: 0 1px 0 0;
	padding: 1px 0;
	position: relative;
	
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	height: 17px;
	line-height: 17px;
	min-width: 110px;
	text-align:right;
	_width: 110px;
	
}

#mostravel_navigation a {
	color: #fff;
	vertical-align: top;
	text-decoration: underline;
	display: block;
}

#mostravel_navigation img {
	vertical-align:	-3px;
	margin: 0 2px 0 5px;
}

#mostravel_navigation img.nose {
	margin: -1px 0;
}

#form,
#submit {
	/zoom: 1;
}

#header {
	_width: 947px;
}

#content,
#content .inner,
#header,
#header_title,
#header_caption,
#header_navigation {
	/zoom: 1;
}

#header_title {
	_height: 82px;
}

#header_navigation {
	/line-height: 17px;
	_position: relative;
}

#header_navigation .corners-i { 
	_float: left;
}

/* ---------- Footer ---------- */
#footer { border-bottom: 5px solid #185885; color: #185885;/*#B9BFC3*/ 
	margin-top: 15px; padding: 0 0 5px; overflow: hidden; clear: both; }
#footer p { margin: 0; display: inline;  line-height: 1.3em; /*width: 49%;*/}
#footer .l i { left: -15px; }
#footer .r i { left: -10px; }

#footer .copyright { float: left; text-align: left; }
#footer .contacts { float: right; text-align: right; }
#footer .contacts span { display: block; margin-top: 3px; }
#footer .contacts img { margin-left: 6px; /*margin-top: 2px;*/ }
/*#footer span.credits {padding-left: 2em;}*/
#footer .ufs {
    float:left; 
    clear:left;
    padding-left:42px;
    background: transparent url('/images/logo_ufs.gif') no-repeat top left;
}

#counters { text-align: right; margin-top: 0.5em; }


/* ----- New Footer ----- */
#footer { border-bottom: none; border-top: 0 none; padding: 14px 0 0;
	overflow: auto; font: normal 11px/normal Arial, sans-serif;
	background: transparent url(/images/index/iata.png) scroll no-repeat 99% 100%;
}

#footer.no-rubrics {background-image: none;border-bottom: 5px solid #185885;border-top: 0 none;}
#footer.index {border-top: 5px solid #185885;}

#footer a { color: #0059A5; }

#footermenu { width: 100%; margin-bottom: 3px; }
#footermenu td { padding: 0 6px 6px 0; line-height: 1.75; font-size: 11px; }
#footermenu td a { display: block; text-decoration: underline; }

.copyright { color: #0A3C4B; line-height: 1.5 !important; padding-bottom: 4px; }
.copyright span { margin-left: 1em; }
.copyright a { text-decoration: underline; margin-right: 1em; /*color: #0A3C4B;*/ }
.copyright a img { position: relative; top: 3px; }

.copyright span.snet a { margin: 0 11px 0 5px; }



/* ---------- 404 ---------- */
h2.p404 {color: #0D3C4D; margin:1em 0 2em 218px;}
#content404 {border-top: 1px solid #84A2AF;margin-top:2em;margin-bottom: 4em;}
#content404 table {width:100%;}
#content404 table td {width:25%;}
ul.p404 { margin-left:218px; width:533px;}
ul.p404 li {margin-bottom: 1em; color:#84A2AF; list-style-image: url(/images/bullet.gif)}
ul.p404 li big {font-size: 1.5em;color:#0D3C4D;}


/* ---------- types ---------- */
#types { margin-left:214px; margin-top:17px;}
#types ul { width: auto; margin: 0; padding: 0; overflow: hidden; }
#types ul li { float: left; display: block; text-align: center; padding: 0; }
#types ul li.selected {background: #fff url(/images/index/tabs.png) no-repeat top left;}
#types ul li a { display: block; }
#types ul li.selected a { background: transparent url(/images/index/tabs.png) no-repeat top right; }
#types ul li .window { display: block; height: 72px; width: 100px; margin: 5px auto 3px; overflow: hidden; position: relative; }
#types ul li .window img { display: block; position: absolute; top: 0; left: 0; background: url('/images/index/types.png') 0 0 no-repeat; width: 400px; height: 144px; }
#types li, #help li { padding: 3px 5px; }
#types ul li#avia .window img { left: 0; }
#types ul li#railway .window img { left: -100px; }
#types ul li#hotel .window img { left: -200px; }
#types ul li#tour .window img { left: -300px; }
#types ul li.selected .window img { top: -72px; }
#types ul li span { display:block; cursor: pointer; font-size: 1.5em;
    height: 35px; line-height: 35px;  margin: 0 15px; padding: 0 10px; }
#types ul li.selected span { color: #fff; background-color: #194869; }
#types ul#content { background-color: Transparent; }
#types ul#content li span {font-size: 1em; cursor: pointer; color:  #9cc0da; }
#types ul#content li.selected span {color: #185885;}

/* ---------- corners ---------- */

.cn, .cn i { position: absolute; font-size: 0; line-height: 0; overflow: hidden; top: 0; left: 0; }
.cn { width: 5px; height: 5px; z-index: 1000; }
.cn i { background: url('/images/corners.png') 0 0 no-repeat; width: 30px; height: 10px; }

.b,
.bt { top: 100%; margin-top: -5px; }

.r { left: 100%; margin-left: -5px; }
.t i { top: -5px }
.l i { left: -5px }


/* ---------- processing ---------- */
.process {	width: auto; _width: 100%; _height: 100%; position: fixed; _position: absolute; top: 0; left: 0; right: -20px; bottom: 0; 
			/*background: url('/images/index/pr-bg.png') 0 0 repeat;*/
			background: url('/images/fog.png') 0 0 repeat;
			z-index: 1002; }
.process-msg {	position: absolute; width: 390px; _width: 470px; top: 50%; left: 50%; z-index: 1003;
				margin: -30px 0 0 -235px; padding: 10px 10px 10px 70px; background: #194869; color: #FFC70C; font-size: 30px; text-align: left;
				/*line-height: 60px; _line-height: 80px; background: #000; color: #fff;*/ line-height:1.5em;
}
.process-msg img { /*margin-left: 10px; vertical-align: -5px;*/ position: absolute; top: 50%; left: 16px; margin-top:-24px; }


/* ---------- DETAILS ---------- */
#info {	width: auto; _width: 100%; _height: 100%; position: fixed; _position: absolute; top: 0; left: 0; right: 0 /*-20px*/; bottom: 0; text-align: left; line-height: 1.5em; background: url('/images/fog.png') 0 0 repeat; z-index: 1002; }
#info-pad {	position: absolute; top: 50%; left: 50%; width: 760px; margin-left: -392px; padding: 6px; background-color: #fff; z-index: 1003; }

#info-pad div.inner { position: relative; width: auto; /zoom: 1; border: 6px solid #2A5B6F; padding: 30px 9px 12px 24px; color: #003B4D; }
#info-pad .close { position: absolute; top: 24px; right: 24px; width: 12px; height: 12px; cursor: pointer; }
#info-pad .top { position: absolute; top: 24px; left: 36px; width: 600px; height: 24px; z-index: 100; }
#info-pad .top a { text-decoration: underline !important; }
#info .content { padding-right: 10px; width: auto; /zoom: 1; _width: 100%; position: relative; }
#info #response { width: auto; /zoom: 1; }
#info big { display: block; text-align: center; padding-bottom: 0.5em; }


/* ---------- QUESTION ---------- */
.questionInner { text-align: center; overflow: hidden; }
.questionButton { display: block; width: 40%; cursor: default;
	border-width: 2px; border-style: solid; border-color: #CCC #194869 #194869 #CCC; }
.questionInner .left { float: left; margin-left: 5%; }
.questionInner .right { float: right; margin-right: 5%; }
.questionInner div.hovered { border-color:  #194869 #CCC #CCC #194869; }

/* ---------- SessionInfo ---------- */
#info .pad { position: absolute; top: 50%; left: 50%; width: 560px; margin-left: -280px; background-color: #194869; z-index: 1003; }
#info .pad .inner { padding: 2em; color: #FFF; text-align: left; }
#info .pad p { margin: 0; line-height: 2; }
#info .pad big { text-align:left; margin: 0; }
#info .pad .buttons { background-color: #FFBE0D; padding: 1.25em 2em; overflow: hidden; }
#info .pad .buttons div { width: 45%; float: left; }
#info .pad .buttons small { position: relative; top: -10px; color: #FFF; margin: 0 0.5em; }
#info .pad .buttons small,
#info .pad .buttons img { cursor: pointer; cursor: hand; }
#info .pad .update { text-align: right; float: right !important; }
#info .pad .session-persons { color: #FFBE0D; }
#info .pad .session-service-class { color: #A3B6C3; }

/* расцветка рейсов, поезда и города */
#info .s0 { color: #0DD9FF; }
#info .s1 { color: #ff5a00; }
#info .s2 { color: #77E60B; }


/* --------- InfoWindow (для ошибок) ------------- */
#info #infowindow { padding: 6px; background-color: #fff; }
#info #infowindow div.inner { position: relative; border: 6px solid #2A5B6F; color: #003B4D; background-color: #FFF; padding: 0; }
#info #infowindow .content { padding: 2em; }
#info #infowindow .buttons { background-color: #8a8a8a; }


/* --------- button -------------- */
#sorry { min-height: 300px; height: 300px; padding-top: 50px; /zoom: 1; }
#sorry big { line-height: 1.3em; }
#button { background: #ffbe0d; cursor: pointer; }


/* --------- gallery ------------- */
.gallery { position: relative; overflow: hidden; margin: 10px -10px; }
.foto { float: left; display: inline; width: 112px; margin: 0 10px 10px; }
.foto a img { display: block; width: 112px;  }

.overflow {overflow-y:auto;}

/* -------- tooltip -------------- */

.ttip {
	padding: 0 0 0 15px;
	cursor: pointer;
	background: url( '/images/tooltip/tip.png' ) 0 0 no-repeat;;
	margin-right: 5px;
}

.ttip * {
	display: none;
}

.tooltip {
	position: absolute;
	background: #ffe39b;
	padding: 6px 20px 12px 12px;
	
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	
	max-width: 318px;

	font: 12px/1.2em 'Lucida Sans Unicode',Arial;
	text-align: left; 
}

.tooltip .point {
	position: absolute;
	top: auto;
	left: auto;
	width: 16px;
	height: 18px;
	
	background-image: url( '/images/tooltip/tip_arrow.png' );
	background-repeat: no-repeat; 
}

.lb .point {
	right: -16px;
	bottom: 16px;
	background-position: 100% 0;
}

.tooltip .close {
	position: absolute;
	top: 7px;
	left: auto;
	right: 6px;

	width: 11px;
	height: 9px;
	
	background: url( '/images/tooltip/tip_close.png' ) 0 0 no-repeat;
	cursor: pointer;	
}
