﻿#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; 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.prev { color: #2FB3E7; }
.steps li.current { color: #264E62; }
.steps li.next { 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; }


/* ---------- 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; }


/* ---------- 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 { 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 .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; }

#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 ---------- */
#infowindow-pad {	position: absolute; top: 50%; left: 50%; width: 560px;
	margin-left: -280px; background-color: #194869; z-index: 1003; }
#infowindow-pad .inner { padding: 2em; color: #FFF; text-align: left; }
#infowindow-pad p { margin: 0; line-height: 2; }

/* ---------- SessionInfo ---------- */
#info #infowindow-pad big { text-align:left; margin: 0; }
#infowindow-pad .buttons { background-color: #FFBE0D; padding: 1.25em 2em; overflow: hidden; }
#infowindow-pad .buttons div { width: 45%; float: left; }
#infowindow-pad .buttons small { position: relative; top: -10px; color: #FFF; margin: 0 0.5em; }
#infowindow-pad .buttons small,
#infowindow-pad .buttons img { cursor: pointer; cursor: hand; }
#infowindow-pad .update { text-align: right; float: right !important; }
#infowindow-pad .session-persons { color: #FFBE0D; }
#infowindow-pad .session-service-class { color: #A3B6C3; }

/* расцветка рейсов, поезда и города */
#info .s0 small { color: #0DD9FF; }
#info .s1 small { color: #ff5a00; }
#info .s2 small { color: #77E60B; }

/* --------- 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;}