/*	CSS-Framework

	Version		: 0.21
	File name	: cssf-base.css
	Description	: Styles for webdewelopers
	Author		: Aleksej Romanovskij (http://css-framework.ru)
	
------------------------------ */

/* Utilites
------------------------------ */

* { margin: 0; padding: 0; }

*:focus { outline: none; }
.hidden { display: none; }
.show { display: block!important; }
.no-margin { margin: 0!important; }
.no-padding { padding: 0!important; }
.no-bg { background: none!important; }
.no-border, img { border: none!important; }

.container { overflow: hidden; }
.img-repl { text-indent: -9999px; overflow: hidden; display: block; }

/* Main custom rules
------------------------------ */

html { font: .75em/1.5 Verdana, Arial, Helvetica, sans-serif; }
body {
	padding: 0;
	background-color : White;
}

a { color: #009049; }
a:visited {  }
a:hover {  }
a:active {  }

/* Demo Template
------------------------------ */

#site { width: 1024px; margin: 0 auto; padding: 0; background: #fff;}

#header {
	padding-bottom: 1em;
	height: 115px;
	text-align: right;
	
}
#header .logotype {
display:block;
background-image: url(../img/poezdanetlogo.png);
background-repeat: no-repeat;
margin-top: 22px;
background-position: left top;
width:364px;
height:81px;
float:left;
}

#header .logotype_en {
display:block;
background-image: url(../img/poezda_en.png);
background-repeat: no-repeat;
margin-top: 22px;
background-position: left top;
width:257px;
height:67px;
float:left;
}

#header .logotype_en h1{
display:none;
}

#header .logotype h1{
display:none;
}
#header .banner{
float:right;
}

#header span {
	display: none;
}
#header img {
	margin-top: 35px;
}

#main-menu { 
background-image: url(../img/menu_bg.png);
background-repeat: repeat-x;
background-position: top;
padding-left: 10px;
height: 65px;
}

#main-menu-route {
	background-image: url(../img/menu_bg_routes.png); /*background-color: White; menu_bg.png*/
	background-repeat: repeat-x;
	background-position: top;
	padding-left: 10px;
	height: 30px;
}

#sub-menu { 
background-image: url(../img/submenubg.gif);
background-repeat: repeat-x;
background-position: top;
padding-top: 10px;
height: 112px;
}


#sub-menu h3{ 
color: #ffffff;
font-size: 1.2em;
margin-bottom: 1px;
margin-left: 40px;
}

#sub-menu ul{ 
margin-left: 40px;
}

#sub-menu li{ 
list-style-type: none;
background-image: url(../img/bullet.gif);
background-repeat: no-repeat;
background-position: 0 8px;
padding-left: 15px;
}

#sub-menu ul li a{ 
color: #ffffff;
font-size: 1em;
}

#search { 
background-image: url(../img/search_bg.png);
background-repeat: repeat-x;
background-position: top;
height: 290px;
border: 1px solid #CBCBCB;
background-color: #f7f7f7;
}
#search2 { 
background-image: url(../img/search_bg.png);
background-color: #f6f6f6;
background-repeat: repeat-x;
background-position: top;
height: 520px;
border: 1px solid #CBCBCB;
margin-top: 20px;
}

#search2_key { 
background-image: url(../img/search_bg.png);
background-color: #f6f6f6;
background-repeat: repeat-x;
background-position: top;
height: 220px;
border: 1px solid #CBCBCB;
margin-top: 20px;
}
#search-block {
	background-image: url(../img/search_icon.gif);
	background-repeat: no-repeat;
	background-position: 15px 15px;
	width: 400px;
	height: 289px;
	float: left;
	display: block;

}

#search-block_electron {
	background-image: url(../img/ticket_electron.gif);
	background-repeat: no-repeat;
	background-position: 15px 15px;
	width: 400px;
	height: 289px;
	float: left;
	display: block;

}
#search-block_paper {
	background-image: url(../img/ticket_paper.gif);
	background-repeat: no-repeat;
	background-position: 15px 15px;
	width: 400px;
	height: 289px;
	float: left;
	display: block;

}

#search-block2 {
	background-image: url(../img/search_icon.gif);
	background-repeat: no-repeat;
	background-position: 15px 15px;
	width: 340px;
	height: 520px;
	float: left;
	display: block;

}

#search-block2_key {
	background-image: url(../img/search_icon.gif);
	background-repeat: no-repeat;
	background-position: 15px 15px;
	width: 340px;
	height: 220px;
	float: left;
	display: block;

}
#search-block2-w300_key {
	background-image: url(../img/search_icon.gif);
	background-repeat: no-repeat;
	background-position: 15px 15px;
	width: 300px;
	height: 220px;
	float: left;
	display: block;
}

#search-block2-w300 {
	background-image: url(../img/search_icon.gif);
	background-repeat: no-repeat;
	background-position: 15px 15px;
	width: 300px;
	height: 400px;
	float: left;
	display: block;

}

#search-block2 h4 {
	font-weight: normal;
	margin-left: 80px;
	margin-top: 20px;
}
#search-block2-w300 h4 {
	font-weight: normal;
	margin-left: 80px;
	margin-top: 20px;
}

#search-block2-w300_key h4 {
	font-weight: normal;
	margin-left: 80px;
	margin-top: 20px;
}

#search-block2 p {
	margin: 20px;
}
#search-block2-w300 p {
	margin: 20px;
}
#search-block h4 {
	font-weight: normal;
	margin-left: 80px;
	margin-top: 20px;
}

#search-block2_key h4 {
	font-weight: normal;
	margin-left: 80px;
	margin-top: 20px;
}

#search-block_electron h4 {
	font-weight: normal;
	margin-left: 80px;
	margin-top: 20px;
}

#search-block_paper h4 {
	font-weight: normal;
	margin-left: 80px;
	margin-top: 20px;
}

.search-icon {
	background-image: url(../img/search_icon.gif);
	background-repeat: no-repeat;
	background-position: 40px 40px;
}
#second-block {
	border: 1px dashed #CBCBCB;
	padding-left: 40px;
	padding-top: 20px;
	padding-bottom: 10px;
	padding-right: 40px;	
	margin-bottom: 10px;
}
.second-block h3{
	font-size: 1em;
	font-weight: bold;
}


#news {
	border: 1px solid #CBCBCB;
	padding-left: 40px;
	padding-top: 20px;
	padding-bottom: 10px;
	padding-right: 40px;
	margin-bottom: 10px;
}
#news h3{
	padding-bottom: 10px;
	border-bottom: 1px dashed #CBCBCB;
}
#news ul{
	padding: 0;
	margin: 0;
}
#news ul li{
 list-style-image: url(../img/news_icon.gif);
 list-style-type: none;
}
#news ul li sub{
 color: #939393;
}
#news ul li sub a{
 color: #939393;
 text-decoration: underline;
 cursor: pointer;
}
.news h3{
	font-size: 1em;
	font-weight: bold;
}
#col-left { float: left; width: 25%; }
#col-right { float: left; width: 20%; }
#content { 
width: 100%;
float: left;
 }
#footer {
clear: both;
padding-top: 1em;
padding-bottom: 1em;
font-size: .8em;
border-top: 4px solid #E1E1E1;
text-align: center;
vertical-align: middle;
}
.centerblock{
background: #EBEBEB;
background-image: url(../img/center_block_bg.gif);
background-repeat: repeat-x;
border: 1px solid #009049;
padding: 10px;
margin-bottom: 10px;
}

/* Horizontal Menu
------------------------------ */

.menu-h { 
overflow: hidden;
}
.menu-h li {
float: left;
list-style: none;
padding-left: 27px;
padding-top: 0px;
height: 20px;
margin-right: 12px;
font-size: 14px;
margin-top: 20px;
}
.menu-h li a{
 color: #5E5E5E;
 text-decoration: underline;
}
/*--router links --*/
.menu-router { 
overflow: hidden;
}
.menu-router li {
float: left;
list-style: none;
padding-left: 10px;
padding-top: 0px;
height: 20px;
margin-right: 10px;
font-size: 12px;
margin-top: 10px;
}
.menu-router li a{
	color: #01723A;
	text-decoration: underline;
	font-size: 12px;
}
/* -- order block --*/
.menu-router_red { 
overflow: hidden;
}
.menu-router_red li {
float: left;
list-style: none;
padding-left: 10px;
padding-top: 0px;
height: 20px;
margin-right: 10px;
font-size: 12px;
margin-top: 10px;
}

.menu-router_red li a{
	color: #e20404;
	text-decoration: underline;
	font-size: 12px;
}
/*- end router -- */

.icon-home {background-image: url(../img/mainmenu_01.gif);background-repeat: no-repeat;}
.icon-onlinelist {background-image: url(../img/mainmenu_03.gif);background-repeat: no-repeat;}
.icon-ticket_order {background-image: url(../img/mainmenu_ticket.gif);background-repeat: no-repeat;}
.icon-rating {background-image: url(../img/ico/orders_rating.gif);background-repeat: no-repeat;}
.icon-club {background-image: url(../img/mainmenu_05.gif);background-repeat: no-repeat;}
.icon-phorum {background-image: url(../img/mainmenu_07.gif);background-repeat: no-repeat;}
.icon-message {background-image: url(../img/mainmenu_09.gif);background-repeat: no-repeat;}
.icon-email {background-image: url(../img/mainmenu_11.gif);background-repeat: no-repeat;}
.icon-ru {background-image: url(../img/mainmenu_13.gif);background-repeat: no-repeat;}
.icon-en {background-image: url(../img/mainmenu_14.gif);background-repeat: no-repeat;}
.icon-adver {background-image: url(../img/mainmenu_15.gif);background-repeat: no-repeat;}
.icon-ticket {
background-image:  url(../img/ticket_icon.jpg);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}

.icon-promo {
background-image:  url(../img/icon_promo.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}

.icon-phoneorder{
background-image:  url(../img/icon_phone.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}

.icon-ywidget{
background-image:  url(../img/logos/poezda_net_yandex_widget.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}

.icon-keyboard{
background-image:  url(../img/ico/icon_keyboard.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}
.icon-keyboard_en{
background-image:  url(../img/ico/icon_keyboard_en.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}

.icon-hotel {
background-image:  url(../img/ico/hotel_big.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}

.icon-mobi{
background-image:  url(../img/icon_mobile.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}

.icon-futbolka{
background-image:  url(../img/ico/icon_futbolka.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}
.icon-avia{
background-image:  url(../img/icon_avia.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}

.icon-program {
background-image: url(../img/pc_version_ru.gif);
background-repeat: no-repeat;
background-position: 0px 10px;
padding-left: 130px;
}
.icon-wap {
background-image: url(../img/icon_wap.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}
.icon-forms {
background-image: url(../img/icon_form.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}
.icon-export {
background-image: url(../img/icon_export.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}
.icon-partners {
background-image: url(../img/icon_partners.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}
.icon-compass {
background-image: url(../img/icon_compass.gif);
background-repeat: no-repeat;
background-position: 10px 10px;
padding-left: 130px;
}

.icon-calendar {
	float: left;
	padding: 0;
	border: none;
	margin: 0;
}


/* Horizontal Drop Down Menu
------------------------------ */

.menu-h-d { min-height: 24px; border-left: 1px solid #ccc; }
.menu-h-d li { float: left; display: block; position: relative; border: 1px solid #ccc; border-width: 1px 1px 1px 0px; list-style: none; }
.menu-h-d a { text-decoration: none; padding: 2px 10px; display: block; }

.menu-h-d ul { display: none; position: absolute; top: 22px; left: -1px; width: 160px; background: #fff; border: 0; border-bottom: 1px solid #ccc; }
.menu-h-d ul ul { left: 100%; top: -1px; }

.menu-h-d li li { float: none; border-width: 1px 1px 0px 1px; }

.menu-h-d li:hover { background: #ccc; }
.menu-h-d a:hover { color: #fff; }

.menu-h-d li:hover ul ul,
.menu-h-d li:hover ul li:hover ul ul { display: none; }

.menu-h-d li:hover ul,
.menu-h-d li:hover ul li:hover ul,
.menu-h-d li:hover ul li:hover ul li:hover ul { display: block; }

/* Horizontal Drop Up Menu
------------------------------ */

.menu-h-d.d-up ul { bottom: 22px; }
.menu-h-d.d-up ul ul { bottom: -1px; }

/* Vertical Menu
------------------------------ */

.menu-v a, .menu-h a { text-decoration: none; display: block; }
.menu-v a:hover, .menu-h a:hover { text-decoration: underline; }

.menu-v { border-top: 1px solid #ccc; }
.menu-v li { padding: 2px 0; list-style: none; border-bottom: 1px solid #ccc; }
.menu-v li ul { padding-left: 1em; margin-top: 2px; }
.menu-v li li { border: none; border-top: 1px solid #ccc; }

/* Vertical Drop Down Menu
------------------------------ */

.menu-v-d { border-top: 1px solid #ccc; }
.menu-v-d li { padding: 2px 0; display: block; position: relative; border: 1px solid #ccc; border-width: 0px 1px 1px 1px; list-style: none; }
.menu-v-d li a { display: block; position: relative; text-decoration: none; padding-left: 10px; }

.menu-v-d li:hover { background: #ccc; }
.menu-v-d a:hover { color: #fff; }

.menu-v-d li ul { display: none; position: absolute; top: -1px; border-top: 1px solid #ccc; left: 100%; width: 100%; background: #fff; }
.menu-v-d li ul li { background: #fff; }

.menu-v-d li:hover ul ul,
.menu-v-d li:hover ul li:hover ul ul { display: none; }

.menu-v-d li:hover ul,
.menu-v-d li:hover ul li:hover ul,
.menu-v-d li:hover ul li:hover ul li:hover ul { display: block; }

.menu-v-d ul ul { left: 100%; }

/* Content elements
------------------------------ */

.content h1, .content h2, .content h3, .content h4 { font: 1.7em Verdana, Arial, Helvetica, sans-serif; margin-bottom: .5em; }
.content h2 { font-size: 1.5em; }
.content h3 { font-size: 1.3em; }
.content h4 { font-size: 1.1em; font-weight: bold; }

blockquote { margin-left: 10em; padding-left: 1em; border-left: 2px solid #ccc; }
pre, code { font: 1.2em/1.8 "Courier New", Courier, monospace; border: 1px dashed #aaa; padding: 1em; background: #eee; }
code { padding: .2em .5em; }

.content ul, .content ol { margin-left: 3em; line-height: 1.3em; }
.content ul li, .content ol li { margin-bottom: .2em; }

.icons a, .icon { padding-left: 20px; background-repeat: no-repeat; background-position: left center; }

.content p, .content ul, .content ol, .content table, blockquote, pre, .columns, .content img { margin-bottom: 1em; }

/* Text align & Float
------------------------------ */

.a-left { text-align: left; }
.a-center { text-align: center; }
.a-right { text-align: right; }

.f-left { float: left; }
.f-right { float: right; }

/*	Tables
------------------------------ */

table { border-collapse: collapse; width: 100%; }
table th, table td { border: 1px solid #ffffff; padding: 2px 3px; vertical-align: top; }
table th { 
background: #008644; 
background-image: url(../img/submenubg.gif);
background-repeat: repeat-x;
background-position: top;
color: #ffffff;
}
table th a {
	color: #ffffff;
}
table td { 
background: #ffffff;
border-bottom: 1px dashed #CCCCCC;
}
table td a{ color: #000000; }

/*	Columns
------------------------------ */

.columns { width: 100%; overflow: hidden; float:left;}
.w-5, .w-10, .w-15, .w-20, .w-25, .w-30, .w-35, .w-40, .w-45, .w-50, .w-55, .w-60, .w-65, .w-70, .w-75, .w-80, .w-85, .w-90, .w-95, .w-100, .w-33, .w-66, .w-38, .w-62 { float: left; overflow: hidden; }

.col-content { padding: 0 6px; }
.col-first { padding-left: 0!important; }
.col-last { padding-right: 0!important; }

.w-315-px { width: 315px; }
.w-200-px { width: 200px; }
.w-100-px { width: 100px; }
.w-90-px { width: 90px; }
.w-80-px { width: 80px; }

.w-5 { width: 5%; }
.w-10 { width: 10%; }
.w-15 { width: 15%; }
.w-20 { width: 20%; }
.w-21 { width: 21%; }
.w-22 { width: 22%; }
.w-23 { width: 23%; }
.w-24 { width: 24%; }
.w-25 { width: 25%; }
.w-30 { width: 30%; }
.w-35 { width: 35%; }
.w-40 { width: 40%; }
.w-45 { width: 45%; }
.w-48 { width: 48%; }
.w-49 { width: 49%; }
.w-50 { width: 50%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-77 { width: 77%; }
.w-78 { width: 78%; }
.w-79 { width: 79%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }
.w-95 { width: 95%; }
.w-100 { width: 100%; }

.w-33 { width: 33%; }
.w-66 { width: 66%; }

.w-38 { width: 38%; }
.w-62 { width: 62%; }

.p-left-5 {
	padding-left: 5px;
}
.p-left-10 {
	padding-left: 10px;
}

.p-left-20 {
	padding-left: 20px;
}
/* Images
------------------------------ */

.content img { padding: 0; border: 0; margin: 0; }
.content img.null-image { padding: 0!important; border: none!important; margin: 0!important; }
img.f-left { margin-right: 1em; }
img.f-right { margin-left: 1em; }

/* Content Form
------------------------------ */

.content form { 
padding: 0;
margin-top: 30px;
}
.content fieldset {border: none; }
.content legend { margin-top: -1px; padding-bottom: 1em; font-size: 1.1em; font-weight: bold; }

.content .f-row {
overflow: hidden;
margin-bottom: 1.5em;
}
.content label { 
float: left; 
text-align: right; 
width: 25.99%; 
padding: 0 2%; 
color:#7E7E7E;
font-size: 0.9em;
}
.content .f-inputs { padding-left: 30%; }

.f-actions { padding-top: 1em; border-top: 1px solid #ccc; }

/* Inputs
------------------------------ */

input { 
height: 23px;
background: #ffffff;
background-image: url(../img/inputs_bg.gif);
background-repeat: repeat-x;
background-position: top;
border: 1px solid #CBCBCB;
vertical-align: bottom; 
}
input.null { 
height: 23px;
background: none;
border: none;
vertical-align: bottom; 
}
.date-bg {
	background-image: url(../img/date_bg.gif);
	background-repeat: no-repeat;
	background-position: 95px 10px;
}
.i-checkbox { margin-top: 3px; }
.i-text {
padding: 0;
font: 1.3em sans-serif; }
.button { padding: 0 .25em; width: auto; overflow: visible; cursor: pointer; height: 23px;}
.border {
	border: 1px solid black;
}
.border-right-dashed {
	border-right: dashed 1px #7A7A7A;
}
.green {
	color: #009049;
}

/* ------- Old css from poezda -----*/
.timetable {
	text-align : center;
}
.station_timetable{
		text-align : left;
}

.border_dashed {
	border-bottom: 1px dashed Green;
	
}
/* ------- MobiTicket Order -----*/
A:ACTIVE.GoDetail{
    color: Red;
    text-decoration: underline;
    font-weight : bold;
    font-size : 12px;
}
A:LINK.GoDetail{
    font-weight : bold;
    color: Red;
    text-decoration: underline;
    font-size : 12px;
}
A:VISITED.GoDetail{
    font-weight : bold;
    color: Red;
    text-decoration:none;
    font-size : 12px;
}
A:HOVER.GoDetail{
    font-weight : bold;
    color: Red;
    text-decoration: none;
    font-size : 12px;
}

/*--- mini order ---*/
A:ACTIVE.GoOrder{
    color: Red;
    text-decoration: underline;
    font-weight : normal;
    font-size : 10px;
}
A:LINK.GoOrder{
    font-weight : normal;
    color: Red;
    text-decoration: underline;
    font-size : 10px;
}
A:VISITED.GoOrder{
    font-weight : normal;
    color: #B70000;
    text-decoration:underline;
    font-size : 10px;
}
A:HOVER.GoOrder{
    font-weight : normal;
    color: Red;
    text-decoration: none;
    font-size : 10px;
}
