img {
    border: none;
}
a:focus {
    outline: none;
}
.clear{clear: both;}
.textAlignLeft {
    text-align: left;
}


/*********** Search forms ***************/
.t2t_right {
    text-align: right;
}
.t2t_center {
    text-align: center;
}
.t2t_row {
    margin: 5px;
}
#content {
    width: 1000px;
    margin: 0 auto;
}
#t2t_form {
    padding: 10px 10px 20px 10px;
    margin: 0 0 0 0;
    display: block;
    background:#f1f1f1;
    font-family: Arial, sans-serif;

}

#t2t_form.t2t_train,
#t2t_form.t2t_bus {
    display: inline-block;
    width: 699px;
    background: #009ee3;
}
.t2t_form_infoBox {
    margin: 10px 0 0 0;
    float: left;
}
.t2t_form_infoBox_date {
    float: left;
}
.t2t_form_infoBox_button {
    float: right;
}
form#t2t_form.line {
    width: auto;
    display: block;
}
.line .t2t_label,
.block .t2t_label {
    text-align: right;
    width: 50px;
    display: block;
    float: left;
    font-size: 13px;
    color: #fff;

    margin:6px 10px 5px 0;
}
.line .t2t_label {
    float: none;
}
.block .t2t_input {
    float: right;
}

#t2t_form .t2t_bottom {
    vertical-align: bottom;
}

#t2t_tables td.t2t_number {
    font-size: 18px;
    background: #cccccc;
    color: white;
    font-weight: bold;
    text-shadow: 0px 0px 3px #777777;
}
#t2t_tables .t2t_infoLine:hover td{
    color: #333;
}
#t2t_tables .t2t_infoLine:hover td.t2t_number {
    text-shadow: none;
}
#t2t_form input {
    height: 23px;
}
#t2t_form td{
    padding: 3px;
}
#t2t_form input[type="text"] {
    width: 272px;
    outline: none;
    padding: 3px 5px;
    box-shadow: inset 0 0px 5px #cccccc;
    border: 1px solid #999999;
}
#t2t_form.line input[t2t_autocomplete]{
    width: 150px;
}
.ui-autocomplete-input {
    background-color:#ffffff;
    background-image:url(../images/forms-search-icon.png);
    background-position:center right;
    background-repeat:no-repeat;
}
input.datepicker {
    background-color:#ffffff;
    background-image:url(../images/forms-calendar-icon.png);
    background-position:center right;
    background-repeat:no-repeat;
}
/***************************************/

/*************** Train table ***********/
#t2t_tableBox{
    font: 13px/18px Arial, Tahoma, Verdana, sans-serif;
}
#t2t_tableBox .onSearchMessage{
    text-align: center;
    font: 14px/18px Arial, Tahoma, Verdana, sans-serif;
    color: #333;
    background: #cccccc;
    padding: 10px 0;
    text-shadow: 0 1px 1px #fff;
}
#t2t_tables {
    font-size: 13px;
    color: #636363;
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0px;
    border: 1px solid #999;
    width: 961px;
    text-align: center;
    border-color: #009ee3 !important;
}

#t2t_tables .trip_state {
    position: absolute;
    color: #F53939;
    font-size: 11px;
    margin: -3px 0 0 0;
}
#t2t_tableBox a {
    color: #578AF7;
    font: 13px/18px Arial, Tahoma, Verdana, sans-serif;
}
#t2t_tableBox .next-back-result-navigation a{
    text-decoration: none;
}
#t2t_tableBox .next-back-result-navigation a:hover{
    text-decoration: underline;
}
#t2t_tableBox a.prevtDayLink{
    margin: 0 10px 0 0;
}
#t2t_tableBox a.nextDayLink{
    margin: 0 0 0 10px;
}
#t2t_tableBox .next-back-result-navigation{
    width: 100%;
    padding: 5px 0;
}
#t2t_tables .sts {
    font-size: 10px;
    display: block;
}
#t2t_tables {
    margin-top: 3px;
    font-family:Arial, Helvetica, sans-serif;
    position: relative;
    margin-left: -242px;
}
#t2t_tables th,
#t2t_tables td {
    margin: 0;
    padding: 5px;
}
#t2t_tables th {
    font-weight: normal !important;
    background-color: #009ee3;
    text-align: center;
    color: white;
}

#t2t_tables tr {
    background:#ffffff;
}
#t2t_tables tr.odd {
    background: #f1f1f1 !important;
}
#t2t_tables td {
    vertical-align:middle;
}
.priceFrom {
    font-size: 12px;
    padding: 0 3px 0 0;
    text-transform: lowercase;
}
#t2t_tables .t2t_infoLine:hover td {
    background: #cccccc;
    cursor: pointer;
}
#t2t_tables .t2t_price {
    font-weight: bold;
    color: #555;
    font-size: 18px;
    display: block;
}
#t2t_tables tr.choosed .t2t_price,
#t2t_tables tr.active .t2t_price{
    color: #fff;
}
#t2t_tables.t2t_bus tr .t2t_price,
#t2t_tables.t2t_bus tr:hover .t2t_price {
    display: block;
    line-height: 15px;
}
#t2t_tables.t2t_bus tr .t2t_name,
#t2t_tables.t2t_bus tr:hover .t2t_name {
    /*text-align: left;*/
}
#t2t_tables tr.choosed .openTrip,
#t2t_tables tr.choosed .closeTrip,
#t2t_tables tr.active .openTrip,
#t2t_tables tr.active .closeTrip{
    color: #333;
    text-shadow: none;
}
#t2t_tables .closeTrip {
    display: none;
}
#t2t_tables .tripLoader{
    display: none;
    margin: 10px auto;
}
input.order_submit {
    border: none;
    background: #ea5906 !important;
    padding: 1px 10px 3px 10px;
    height:30px !important;
    color: #ffffff;
    cursor:pointer;
}
/***************************************/

/************ FlyMessage ***************/
div.flyMessage{
    display: none;
    position: absolute;
    width: 150px;
    border: 1px solid #ee4036;
    font-size: 12px;
    background: #ee4036;
    padding: 5px 7px;
    color: #ffffff;
    box-shadow: -2px -2px 15px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    line-height: 13px;
    text-align: left;
}
div.flyMessage span.counter_{ display: none; }

div.flyMessage span.counter_right{
    display: block;
    position: absolute;
    right: -12px;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-left: 11px solid #ee4036;
    border-bottom: 8px solid transparent;
}
div.flyMessage span.counter_left{
    display: block;
    position: absolute;
    left: -12px;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 11px solid #ee4036;
    border-bottom: 8px solid transparent;
}
div.flyMessage span.counter_bottom{
    display: block;
    position: absolute;
    left: 20%;
    bottom: -12px;
    width: 0;
    height: 0;
    border-right: 8px solid transparent;
    border-top: 11px solid #ee4036;
    border-left: 8px solid transparent;
}
/*******************************************/

/************* Car Map *********************/
.t2t_ajaxLoader {
    margin: 0 0 -3px 10px;
}
.t2t_carMapBox{
    vertical-align: top;
    text-align: center;
    height: 180px;
    background: #CCC;
    padding: 2%;
    color: #636363;
}
table#t2t_wagonPlaces,
table.t2t_busTripInfo {
    font: 12px/16px Arial, Tahoma, Verdana, sans-serif;
    color: #636363;
    border:0;
    border-collapse:collapse;
    width: 40%;
    background: #f2f2f2;
    text-align:center;
    float: left;
}
table.t2t_busTripInfo {
    width: 50%;
}
#t2t_carMapTable {
    float: left;
    width: 60%;
    border-collapse:collapse;
}
#t2t_formBottomTable {
    float: left;
    width: 100%;
    border-collapse: collapse;
}
#t2t_carMapTable td {
    padding: 0;
}
.t2t_wagonPlacesHeader {
    height: 20px;
}
table#t2t_wagonPlaces td,
table#t2t_busPlaces{
    color: #636363;
}
table#t2t_wagonPlaces .choosed td,
table#t2t_wagonPlaces .active td,
table#t2t_busPlaces .choosed td,
table#t2t_busPlaces .active td {
    padding:0px;
}
table#t2t_tables .choosed td,
table#t2t_tables tr.choosed:hover td,
table#t2t_tables .active td,
table#t2t_tables tr.active:hover td,
table#t2t_formBottomTable tr.t2t_formBottom td,
div.t2t_orderForm div.t2t_formBottom td {
    background-color: #999999;
    text-align: center;
    color: #ffffff;
}

div.t2t_orderForm div.t2t_formBottom td {
    vertical-align: middle;
    font-size: 15px;
    text-align: left;
    padding: 0;
}
table#t2t_formBottomTable tr.t2t_formBottom td {
    vertical-align: middle;
    font-size: 15px;
}
td.infoAboutRealPrice {
    width: 50%;
    line-height: 14px;
}
td.infoAboutRealPrice,
span.i_aggreed {
    font-size: 11px !important;
}
td.infoAboutRealPrice span{
    color: #f00;
}
span.sum_cash span,
span.sum_cash span{
    font-size: 20px;
    font-weight: bold;
}
table#t2t_formBottomTable tr.t2t_formBottom td .iagree {
    font-size: 11px;
}
table#t2t_formBottomTable tr.t2t_formBottom td.total {
    padding: 0 13px;
}
table#t2t_formBottomTable tr.t2t_formBottom td.first {
    padding: 0 70px 0 0;
}
table#t2t_tables .choosed td.active,
table#t2t_tables tr.choosed:hover td.active{
    background: #ccc;
}
table#t2t_tables .choosed .sts{
    text-shadow: none;
    color: #fff;
}
table#t2t_wagonPlaces td {
    padding: 0;
}
table#t2t_wagonPlaces td.th {
    padding: 0 5px;
    font-weight: bold;
}
table#t2t_wagonPlaces tr.single_wagon {
    height: 26px;
    cursor: pointer;
}
table#t2t_wagonPlaces tr.single_wagon td{
    padding: 0 3px;
}
table#t2t_wagonPlaces tr.choosed_wagon{
    background: #cccccc;
}
table#t2t_wagonPlaces tr.single_wagon:hover{
    background: #fff;
}
table#t2t_wagonPlaces tr.this_tos span.car_type{
    text-decoration: underline;
}
table#t2t_wagonPlaces td .car_type{
    color: #578AF7;
    cursor: pointer;
}
table#t2t_wagonPlaces label.beddingFlag {
    float: right;
    padding: 2px 5px;
    background: #777;
    color: white;
    cursor: pointer;
}
table#t2t_wagonPlaces label.beddingFlag input[type="checkbox"]{
    margin: 2px 5px 0 0;
    float: left;
}
table#t2t_wagonPlaces label.beddingFlag span{
    float: right;
}
table#t2t_carMapTable .buyBox{
    margin: 10px 10px 10px 0;
    padding: 10px 0 0 10px;
    text-align: left;
}
table#t2t_carMapTable .buyBox h3 {
    float: left;
    margin: 2px 0 13px;
    font-size: 17px;
    color: #333;
}
table.t2t_busPlaces h3{
    font-size: 17px;
    color: #333;
    display: block;
    width: 100%;
    margin: 0;
    text-align: left;
    margin: 20px 0 0 0;
}
table#t2t_carMapTable .buyBox{
    margin: 10px 10px 10px 0;
}
#t2t_formBottomTable .buyBox {
    text-align: right;
}
.carLoader{
    display: none;
    margin: 60px 0 0 75px;
    position: absolute;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    left: 50%;
}
table#passMap{
    font-size: 13px;
    border-collapse: collapse;
    border-spacing: 0px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
table#passMap th{
    border-bottom: 1px solid #333;
    text-align: center;
    font-weight: bold;
    /*width: 100px;*/
}
table#passMap td{
    margin: 0;
    padding: 0;
    width: 25px;
    line-height: 25px;
    text-align: center;
}
table#passMap td a{
    color: #092;
    font-weight: bold;
    padding: 0px;
    line-height: 25px;
    width: 25px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}
table#passMap td a:hover,
table#passMap td a.select{
    background: #74A0F8;
    color: #fff;
}
table#passMap tr td.label{
    width: 95px;
    text-align: left;
    padding: 0 0 0 5px;
}
div.carMapTitle{
    font-weight: bold;
    font-size: 18px;
    padding: 0 10px 10px 0;
    color: #636363;
    text-align: left;
}
td.carMapFirst{
    border-left: 1px solid #bbb;
}
td.carMapTrailing{
    border-right: 1px solid #bbb;
}
td.carMapBottom{
    border-bottom: 1px solid #bbb;
}
.passBox{
    border-bottom: 1px dashed #555;
    padding: 5px 0;
}
div.passBox div.close{
    float: right;
}
div.passBox div.close a{
    display: block;
    width: 29px;
    height: 29px;
    background: url(../images/close.gif) center center no-repeat;
}
label.beddingFlag{
    float: right;
    padding: 5px;
    background: #777;
    color: white;
    cursor: pointer;
}
.passBox .number{
    float: left;
    text-align: left;
    padding-top: 4px;
    font-weight: bold;
    margin: 0;
}
.passBox .type{
    float: left;
    margin: 3px 0 2px 10px;
    text-align: left;
}
.passBox .type .birthday,
.passBox input.ticketFio {
    margin: -2px 0 0 5px;
    line-height: 16px;
    width: 80px;
    outline: none;
    color: #555;
    font-size: 11px;
    outline: none;
    padding: 3px 5px 4px 5px;
    box-shadow: inset 0 0px 5px #cccccc;
    border: 1px solid #999999;
}
.passBox input.ticketFio{
    width: 200px;
    margin: 5px 5px 0 0;
}
.passBox .type .birthday {
    padding: 3px 5px 1px 5px;
}
.passBox .position{
    float: left;
    text-align: left;
    padding: 4px 10px 0;
}
.passBox select.ticketType{
    background: transparent;
    border: 1px solid #999999;
    outline: none;
    color: #636363;
    margin: 0;
}
.passBox select.ticketType option{
    color: #333333;
}
.passBox div.price{
    float: right;
    line-height: 26px;
    padding-top: 1px;
}
table#passMap td.mapLeftLine{
    border-left:1px solid #333;
}
#t2t_tables tr.bus_cancel td,
#t2t_tables tr.bus_cancel:hover td{
    background: #fcc;
    color: #636363;
    text-shadow: none;
}
#t2t_tables tr.bus_depart td,
#t2t_tables tr.bus_depart:hover td{
    background: #eee;
    color: #636363;
    text-shadow: none;
}
/*
td.t2t_trainPriceBox{
	width: 110px;
}
*/
.t2t_formBottomBusTable {
    float: left;
    width: 100%;
    border-collapse: collapse;

}
td.t2t_arrive{
    border-right: 1px dashed #ccc;
}
/*******************************************/

/************** Pay Systems ****************/
ul.logoCurrency{
    height: 31px;
    margin: 0;
    padding: 0;
    display: inline-block;
}
ul.logoCurrency li{
    display: block;
    float: left;
    background: #ddd;
    /*border-radius: 5px;*/
    margin: 0 5px 0 0;
    padding: 8px;
    height: 22px;
    opacity: 0.4;
}
ul.logoCurrency li a{
    text-decoration: none;
    display: block;
}
ul.logoCurrency li:hover,
ul.logoCurrency li.activ{
    background: #ccc;
    opacity: 1.0;
}
input.t2t_submit[type="submit"] {
    background: #ea5906;
    padding: 1px 10px 3px 10px;
    height:32px !important;
    min-width: 70px;
    color: #ffffff;
    cursor:pointer;
    border: none !important;
}
input.t2t_submit[type="submit"]:hover,
input.t2t_submit[type="button"]:hover,
input.order_submit:hover {

}
input.t2t_submit[type="submit"].loading{
    /*background-image: url(../images/loading.gif);
    background-repeat: no-repeat;*/
    padding: 0 5px 0 22px;
    border: 1px solid #999;
    background-position: 4px 2px;
    color: #777;
    outline: none;
    box-shadow: none;
}
table#t2t_tables tr td.priceBox,
table#t2t_tables tr.active td.priceBox,
table#t2t_tables tr:hover td.priceBox{
    text-align: right;
}
table.t2t_busPlaces{
    font: 13px/18px Arial, Tahoma, Verdana, sans-serif;
    color: #636363;
    border:0;
    border-collapse:collapse;
    width: 50%;
    background: #f2f2f2;
}
#t2t_tables table.t2t_busPlaces th,
#t2t_tables table.t2t_busPlaces td {
    padding:5px;
}
#t2t_tables table.t2t_busPlaces #busMap td{
    padding: 0;
}
/***************************************/

/************ BUS MAP ******************/
div#busMap table{
    margin: 0 auto;
}
div#busMap td{
    padding: 0;
}
div#busMap td div{
    width: 30px;
    height: 30px;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    border-radius: 8px;
    font-size: 12px;
}
div#busMap .busy {
    background-color: #EDD5CB;
}
div#busMap .free {
    background-color: #CBD7DD;
    cursor: pointer;
}
div#busMap .choosedSeat {
    background-color: #73B4D5;
    cursor: pointer;
}
.t2t_busMap{
    width: 50%;
    padding: 0 0 0 10px;
    border-left: 1px dashed #cccccc;
}
form.sendBusToInvoice {
    margin: 0;
}
.red16 {
    color: red;
    font-size: 16px;
    font-weight: bold;
    margin: 10px;
    display: block;
}
.on_the_way {
    min-width: 60px;
}
td.t2t_orderFormBox {
    padding: 0 !important;
}
/***************************************/

/************ Arcive ******************/

.t2t_tablesArchive {
    margin-top: 10px;
}
.t2t_tablesArchive td,
.t2t_tablesArchive th {
    text-align: center;
    padding: 10px 0 !important;
}
.t2t_tablesArchive tr:hover {
    background: #cccccc !important;
    cursor: pointer;
}

/***************************************/

/************** Inline authorise *********************/

.t2t_inlineLoginBox {
    overflow: hidden;
    border-bottom: 2px solid #777;
    text-align: left;
    padding: 10px;
    background: #ccc;
}

.t2t_inlineLoginTitle {
    text-align: left;
    padding: 0 5px;
    font-weight: bold;
}

.t2t_inlineLoginBody {
    overflow: hidden;
    padding: 15px 5px;
}

.t2t_inlineLoginBody label {
    display: block;
    text-align: left;
    font-size: 12px;
    padding-bottom: 2px;
}

.t2t_inlineLoginBody input[type="text"],
.t2t_inlineLoginBody input[type="password"] {
    line-height: 16px;
    width: 200px;
    height: 30px;
    outline: none;
    color: #000;
    font-size: 11px;
    outline: none;
    border: 1px solid #999;
}

.t2t_inlineLoginBody input[type="text"].loading,
.t2t_inlineLoginBody input[type="password"].loading {
    background-image: url(../images/loading.gif);
    background-position:  center right;
    background-repeat: no-repeat;
}

.t2t_inlineEnterBox,
.t2t_inlinePasswBox,
.t2t_inlineCaptchaBox,
.t2t_inlineSubmitBox {
    float: left;
    margin: 0 10px 0 0;
    overflow: hidden;
}

.t2t_inlinePasswBox,
.t2t_inlineCaptchaBox
{
    display: none;
}

.t2t_inlineSubmitBox {
    width: 230px;
    margin-left: 20px;
}

#loginBox a.t2t_inlineSubmit {
    background-color: #ea5906;
    padding: 2px 15px;
    height: 28px;
    line-height: 26px;
    color: #fff;
    text-shadow: 0px 0px 3px #777;
    cursor: pointer;
    display: block;
    float: left;
    margin-top: 20px;
}

#loginBox a.t2t_inlineSubmit:hover {

}

a.t2t_inlineForget {
    float: right;
    display: block;
}

.loginBox{

}

/********************************************/
.sendToInvoice {
    overflow: hidden;
    margin: 0;
}

.t2t_captcha {
    float: left;
    margin: 17px 0 0;
}

.t2t_searchError {
    border: 1px solid #D80000;
    margin: 10px 0 0;
    padding: 10px;
    color: #D80000;
}

.invoiceWaitingArea {
    position: fixed;
    background-image: url("../images/black-bg-70.png");
    z-index: 170;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
.invoiceWaitingWindow {
    margin: 25% auto 0;
    width: 400px;
    background-color: #7fba00;
    background-image: url("../images/invoice-waiting-window-loader.gif");
    background-repeat: no-repeat;
    background-position: 50% 90%;
    padding: 20px 0 40px 0;
    color:#ffffff;
    /*border: solid 1px #ffffff;*/
    text-shadow:0px 1px 5px rgba(32, 32, 32, 0.3);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(32, 32, 32, 0.3);
    -moz-box-shadow: 0px 0px 10px 0px rgba(32, 32, 32, 0.3);
    box-shadow: 0px 0px 10px 0px rgba(32, 32, 32, 0.3);
}

.t2t_form_infoBox_from{
    margin-right: 10px;
}

.ui-datepicker.ui-datepicker-multi{
    margin-left: -294px !important;
    margin-top: 35px;
}

#i_aggreed{
    position: relative;
    top:10px;
}

.beddingFlag input{
    position: relative;
    top:1px;
    height: auto !important;

}

table#t2t_formBottomTable tr.t2t_formBottom td{
    background-color: #009ee3;
}
