/* results */

#results
	{
	width: 980px;
	/* margin: 0 auto; */
	}
	
#narrow
	{
	width: 816px;
	margin: 0 auto;
	padding: 40px 80px;
	overflow: hidden;
	}
	
.pagination
	{
	
	width: 980px;
	text-align: center;
	/* align: center; */
	 margin: 0 auto; 
	/* margin: 0 0 0 0; */
	border: 1px solid #e3e3e3;
	border-left: 0;
	border-right: 0;
	height: 30px;
	}

.pagination:last-child
	{
	margin-bottom: 40px;
	}

.pagination p
	{
	float: left;
	font-size: 11px;
	color: #959595;
	height: 30px;
	line-height: 32px;
	padding: 0 0 0 20px;
	}
	
.pagination ul
	{
	float: right;
	height: 30px;
	margin: 0px 0 0 0;
	}
	
.pagination ul li
	{
	list-style: none;
	float: left;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	}
	
.pagination ul a
	{
	float: left;
	width: 30px;
	height: 30px;
	background: #f7f7f7;
	line-height: 32px;
	text-decoration: none;
	color: #959595;
	text-align: center;
	}
	
.pagination ul a.choosen, .pagination ul a:hover
	{
	color: #FFF;
	background: #92c77c;
	height: 32px;
	margin-top: -1px;
	}

#table-results 
	{
	width: 980px;
	margin-bottom: 40px;
	}
	
#table-results tr.info
	{
	background: url('../images/layout/gradient-result.png') repeat-x left bottom;
	}

#table-results tr.info_first
	{
	background-color: #f0f5ee;
	}	

#table-results th
	{
	height: 40px;
	vertical-align: middle;
	/* border-bottom: 1px dashed #d9d9d9; */ /* edited by Antti */ 
	text-align: left;
	}
	
#table-results .date
	{
	color: #959595;
	}
	
#table-results .date strong
	{
	color: #333333;
	}
	
#table-results td
	{
	vertical-align: top;
	}
	
#table-results .line, #table-results .divider, #table-results .flights
	{
	border-right: 1px solid #eaeaea;
	border-bottom: 1px solid #eaeaea;
	border-top: 1px solid #eaeaea;  /* edited by Antti */ 
	}
	
#table-results .line
	{
	width: 120px;
	}
	
#table-results .flights
	{
	width: 320px;
	padding: 20px 0 0 0;
	}

#table-results .route .time 
	{
	color: #333333;
	font-size: 14px;
	float: left;
	}
	
#table-results .route .time small, #table-results .flights p
	{
	display: block;
	font-size: 11px;
	color: #999999;
	font-weight: normal;
	}
#table-results .flights p {
	text-align: center;
margin-bottom: 25px;
}
#table-results .route .time strong
	{
	width: 70px;
	float: left;
	color: #333333;
	}

#table-results .route .time.start em
	{
	background: #e9b799;
	}
	
#table-results .route .time.end em
	{
	background: #92c77c;
	}

#table-results .route .time em
	{
	background: #d2d2d2;
	font-weight: bold;
	color: #FFF;
	float: left;
	padding: 2px 5px;
	border-radius: 4px;
	margin-right: 5px;
	font-style: normal;
	}
	
#table-results .route .time:nth-child(2):before
	{
	content: '';
	background: url('../images/layout/plane-route.png') no-repeat;
	float: left;
	width: 20px;
	height: 20px;
	display: block;
	margin: 0 10px;
	}

#table-results .flights .route
	{
	overflow: hidden;
	margin-bottom: 10px;
	padding: 0px 0px 0 20px;
	}

#table-results .flights .route:first-child
	{
	position: relative;
	top: -1px;
	padding: 0px 0px 0 20px;
	}

#table-results .flights .route:last-child
	{
	padding: 0 0px 20px 20px;
	}

#table-results .divider
	{
	width: 52px;
	vertical-align: middle;
	text-align: center;
	background: #f4f4f4 url('../images/layout/divider.jpg') no-repeat bottom center;
	}
	
#table-results .flights .warning
	{
	color: #ee3d3d;
	text-align: center;
	font-size: 11px;
	border-top: 1px solid #ffd1d1;
	border-bottom: 1px solid #ffd1d1;
	padding: 5px;
	margin: 0 0 12px 0;
	background: #ffeeee;
	}
	
a.btn
	{
	display: inline-block;
	float: none;
	height: 34px;
	font-size: 12px;
	text-decoration: none;
	width: auto;
	line-height: 34px;
	padding: 0 10px;
	box-shadow: inset 0 1px 0px #ffe4d3,0 3px 3px rgba(0,0,0,0.1);
	margin-top: 8px;
	}
	
a.btn:hover
	{
	box-shadow: inset 0 1px 0px #ffccf3, 0 3px 3px rgba(0,0,0,0.1);
	}
	
#table-results td.sum
	{
	vertical-align: middle;
	text-align: center;
	border-bottom: 1px solid #eaeaea;
	border-top: 1px solid #eaeaea;  /* edited by Antti */ 
	padding: 20px 0;
	}
#table-results td.sum p
	{
	color:red;
	font-size: 16px;
	}
#table-results td.sum h3
	{
	text-shadow: none;
	clear: both;
	float: none;
	text-align: center;
	max-width: 100%;
	width: auto;
	display: block;
	margin-top: -15px;
	font-size: 26px; /* edited by Antti */ 
	}
#table-results td.sum h3.first
	{
	margin-top: 0;
	}
#table-results td.line
	{
	vertical-align: middle;
	text-align: center;
	}

#table-results td.line h2
	{
	padding: 10px 0 0 0;
	font-size: 14px;
	font-weight: normal;
	}
	
.stopovers-narrow span.customStyleSelectBox:nth-child(1n)
	{
	margin-right: 30px;
	}
