html
{

	background-image:url('http://www.estonianlines.eu/img/slide/2.jpg');
	background-repeat: no-repeat;
    background-size: 100% 100%;
}

body
{
	margin: 0;
    height: 100%;
	background:none;
}

html, body {
    min-height: 100%;
	box-sizing: content-box;
}



table, table tr td
{
	margin: 0;
    padding: 0;
	border:none;
	background:none;
}
/*
input[type="text"].small_input, input[type="password"].small_input
{
	width:138px;
}
*/
input.date {
    width: 90px;
}

/*
input[type="text"], input[type="password"] {
	padding:7px;
    color: #5d5d5d;
	background-color:#edfaff;
    font-size: 12px;
    height: 14px;
    vertical-align: middle;
	line-height:14px;
	border-color:#0e9ec2;
	border-width:1px;
	border-style:solid;
	border-radius:3px;
	width:206px;
	box-sizing: content-box;
}

input[type="text"].date_input
{
	width:82px;
    background-image: url("../img/date_select.png");
	background-position: 72px center;
	background-repeat: no-repeat;
	padding-left:4px;
	cursor:pointer;
}
 
.dp_left {
    background-image: url("../img/dp_left.png");
	float:left;
}
.dp_right {
    background-image: url("../img/dp_right.png");
	float:right;
}
 
input[type="text"].small_input, input[type="password"].small_input
{
	width:138px;
}

button
{
	background-color:#20a1c1;
	height:22px;
	line-height:22px;
	vertical-align:middle;
	padding-left:15px;
	padding-right:15px;
	border-color:#2894b1;
	border-radius:3px;
	border-width:1px;
	color:#FFF;
	box-sizing: content-box;
	font-size:12px;
}*/
/*
button.forward
{
	
	border-top-right-radius:10px;
	border-bottom-right-radius:10px;
}*/

.window
{
	display: none;
	text-align:center;
	vertical-align:middle;
}

.window .inner
{
	background-color:#FFF;
	border-color:#FFF;
	border-style:solid;
	border-width:1px;
	border-radius:5px;
	text-align:center;
	vertical-align:middle;
	width:auto;
	display:inline-block;
	padding:20px;
	text-align:left;
	margin-top:5%
}

.window .close_image
{
	margin-top:-30px;
	margin-right:-30px;
	float:right;
	cursor:pointer;
}


#content
{
	width:960px;
	background-color:#FFF;
	position:relative;
	left:50%;
	margin-left:-500px;
	border-radius:5px;
	border-width:1px;
	box-shadow: 0 0 5px;
	padding:20px;
	top:40px;
	overflow:hidden;
}

#mask {
    background-color: #000;
    display: block;
    opacity: 0.5;
    position: absolute;
    z-index: 9000;
}

#hover
{
	position:absolute;
	top:40px;
	left:60px;
	z-index:10;
	display:none;
	background:none;
	border-width:1px;
	border-style:solid;
	border-color:#FFF;
	border-radius:5px;
	padding:10px;
	background-color:#FFF;
}
/*
#hover table tr td
{
	height:33px;
	background:none;
	background-repeat: no-repeat;
}

#hover .left
{
	background-image:url('../img/hover_left.gif');
	width:15px;
}

#hover .center
{
	padding-left:-10px;
	padding-bottom:4px;
	padding-right:10px;
	background-image:url('../img/hover_middle.gif');
	background-repeat: repeat-x;
}

#hover .right
	background-image:url('<?php print URL;?>img/hover_right.gif');
	width:2px;
}*/

.ac_result
{
    left:-30px;
    top:50px;
	border:1px solid #67AEDA;
    position:absolute;
    z-index:20;
    display:none;
	background:#EAF7FF;
	width:138px;
	-moz-border-radius-bottomright:3px;
	-moz-border-radius-bottomleft:3px;
}


.toolbar{
	background-color:#00d217;
	padding-left: 15px;  
	color:white;
	font-size: 12px;
	vertical-align:middle;
	text-align:left;
	height:43px;
	margin-top:20px;
	margin-bottom:20px;
}



.toolbar a:link{

	color:white;

	text-decoration:none;


	white-space: nowrap;
}


.toolbar img
{
	width:3px;
	height:30px; 
}

#language_bar
{
	float:right;
	width:auto;
	margin-top:-20px;
	margin-right:-20px;
	margin-bottom:10px;
}

#log_section
{
	float:right;
	margin-right:10px;
	margin-top:10px;
}


#log_section table tr td
{
	padding-left: 13px;
    padding-right: 13px;
	padding-top: 5px;
    padding-bottom: 5px;
	border-width:1px;
	border-style:solid;
	border-color:#00c516;
}

.progress_image
{
	margin-bottom:10px;
	margin-left:-30px;
}
		.green_button_right{background-image:url('../img/green_button_right.png');}
		.green_button_left{background-image:url('../img/green_button_left.png');}
		.green_button{background-image:url('../img/green_button_back.png');}
		.th_normal{background-image:url('../img/table_header_back.png');}
		.th_right{background-image:url('../img/table_header_right.png');}
		.th_left{background-image:url('../img/table_header_left.png');}
		.th_middle{background-image:url('../img/table_header_between.png');}
		.th_middle2{background-image:url('../img/table_header_between2.png');}
		.th_common{background-image:url('../img/table_header_back.png');}
		.th_common2{background-image:url('../img/header_back2.png');}
		.pais_right{background-image:url('../img/header_right.png');}
		.pais_left{background-image:url('../img/header_left.png');}
		.pais_common{background-image:url('../img/header_back.png');}
		.pais_button{background-image:url('../img/header_back.png');}
		.date_top{background-image:url('../img/calendar_top.png');}
		.date_middle{background-image:url('../img/calendar_middle.png');}
		.date_bottom{background-image:url('../img/calendar_bottom.png');}

		.pager_not_selected a:link{text-decoration:none;}


.pais
{
	width:100%;
	background-repeat: repeat;
	height:33px;
	vertical-align:middle;
	cursor:pointer;
	margin-top:15px;
	text-align:left;
}



/*
				echo "
	<style>";
		$image_classes = array(
			"dp_right" ,
			"dp_left" ,
			"toolbar_button_logged_right" ,
			"toolbar_button_logged_left",
			"header_between",
			"b_t_l",
			//"b_b_r",
			"toolbar_back",
			"date_select_back",
		);
		foreach($image_classes as $class)
		{
			print "
		.".$class."{background-image:url('".URL."img/".$class.".png');}";
		}
		echo "

	</style>
	
	";*/


.banner
{
	float:left;
	width:250px;
	margin:5px;
	vertical-align:bottom;
	height:170px;
	border-radius:10px;
	background-image:url('https://www.estonianlines.eu/img/?src=bussid/buss3.jpg&w=282&h=202');
	background-size: 100%;
	background-repeat:no-repeat;
	position:relative;
	border-width:1px;
	border-color:#999999;
	border-style:solid;
	font-size:22px; 
}

.banner div {
    background: rgba(46, 51, 40, 0.9) none repeat scroll 0 0;
    border-radius: 0 0 5px 5px;
    bottom: 0;
    box-sizing: border-box;
    height: 100px;
    left: 0;
    opacity: 0.8;
    padding: 5px 7px 5px 9px;
    position: absolute;
    right: 0;
    transition: opacity 0.5s ease 0s;
    width: 100%;
	color:#FFF;
	text-align:center;
	line-height:28px;
}

.banner div span{
	color:#ff5353;
	font-weight:bold;
}


.banner:nth-child(even)
{
	background-image:url('https://www.estonianlines.eu/img/?src=bussid/bus1.jpg&w=282&h=202');
}


hr {
	border-color: #DDD;
	border-style: solid;
	border-left-width: 0px;
	border-right-width:	0px;
	border-top-width: 0px;
	border-bottom-width: 1px;
}

.achr
{
	border-color: #67AEDA;
	padding:0;
	margin:0;
}

.content_table tr td{
	vertical-align:top;
	padding:7px;
}

#toolbar{
	margin-bottom:20px;
}

.error
{
	-moz-border-radius:5px;
	font-size:14px;
	font-weight:bold;
	color:white;
	background-color: red;
  	padding: 5px;
	border: 1px solid red;
	z-index:10000;
	position:absolute;
	display:none;
 }

/* vana */


.important{
	font-size: 12px;
	color: #cf1111;
	font-weight:bold;
	margin-bottom:5px;
}

.pais
{
	width:100%;
	background-repeat: repeat;
	height:33px;
	vertical-align:middle;
	cursor:pointer;
	margin-top:15px;
	text-align:left;
}

.pais table, .sisu table, #lines_table{
	width:100%;
}

.sisu{
	margin-bottom:23px;
}
/*.pais table tr td{
	height:40px;
}*/

.lines_table{
	width:100%;
	margin-bottom:20px;
}

#lines_table tr th, .lines_table tr th, .sisu table tr th{
	padding-left:5px;
}

.th_middle2, .td_middle, .th_left2, .td_left, .th_right2, .td_right, .selected_row_l, .td_middle_selected{
	display:none;
}

.lines_table_col{
	background-color: #FAFAFA;
	border: 1px solid white;
	font-size: 11px;

}
