/* created by jevgeni dot virves at regio dot ee 2012-10-02 */


.wrapper > .content > .sidebar > .tabs-content > .routing .header {
	height: 155px;
}

.wrapper > .content > .sidebar > .tabs-content > .routing .header h4 small {
	display: inline-block;
	margin: 0 0 0 5px;
	padding: 0;
	font-size: 70%;
	line-height: 100%;
	vertical-align: middle;
}

.wrapper > .content > .sidebar > .tabs-content > .routing .header p {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0 10px 10px 30px;
	font-style: italic;
}

.wrapper > .content > .sidebar > .tabs-content > .routing .content {
	top: 155px;
	bottom: 0;
}

.wrapper > .content > .sidebar > .tabs-content > .routing .footer {
	display: none;
}

input[name="routing-submit"] {
	display: inline-block;
	position: relative;
	float: right;
	margin: 10px 18px 0 0;
	padding: 3px 30px 3px 20px;
	height: 26px;
	clear: none;
	background: #225e79;
	border: solid 1px #0772a1;
	border-radius: 0;
	line-height: 16px;
	color: #fff;
	cursor: pointer;
}
input[name="routing-clear"] {
	position: absolute;
    right: 10px;
    top: 10px;
    color: #000;
    cursor: pointer;
    padding-left: 10px;
    background: url(../img/sulge_pisim.png) no-repeat left center;
}
input[name="routing-clear"].hidden {
	display: none;
}

.routing-fields li {
	display: block;
	position: relative;
	clear: both;
	width: 100%;
	height: 35px;
}

.routing-fields span.mark {
	display: block;
	position: absolute;
	left: 10px;
	top: 10px;
	width: 20px;
	height: 20px;
	background: #44709f;
	border: solid 3px #28425e;
	border-radius: 20px;
	line-height: 20px;
	font-weight: bold;
	color: #fff;
	text-align: center;
}


.routing-fields input {
	position: absolute;
	top: 10px;
	left: 45px;
	height: 25px;
	width: 335px;
	background: #fff;
	border: solid 1px #ccc;
}

.routing-fields input.empty {
	font-style: italic;
	color: #999;
}

.routing-results {
	display: none;
}

.routing-fields span {
	display: none;
}


.routing-results span {
	display: none;
}


.routing-results {
	border-top: solid 1px #63afd0;
}

.routing-results li {
	display: block;
	clear: both;
	width: 100%;
	height: 50px;
	cursor: pointer;
	border-bottom: solid 1px #63afd0;
}

.routing-results li:hover {
	background: #ffd773;
}
.routing-results li.active {
	background: #ffbd73;
}

.routing-results li.start span.mark, 
.routing-results li.stop span.mark {
	display: block;
	position: absolute;
	left: 10px;
	top: 10px;
	width: 20px;
	height: 20px;
	background: #44709f;
	border: solid 3px #28425e;
	border-radius: 20px;
	line-height: 20px;
	font-weight: bold;
	color: #fff;
	text-align: center;
}

.routing-results li.start span.name, 
.routing-results li.stop span.name {
	display: block;
	position: absolute;
	left: 45px;
	top: 16px;
	right: 10px;
	line-height: 100%;
	white-space: nowrap;
	overflow: hiddden;
}


.routing-results li.object span.address {
	display: block;
	position: absolute;
	left: 45px;
	top: 32px;
	right: 10px;
	line-height: 100%;
	font-size: 85%;
	color: #777;
	white-space: nowrap;
	overflow: hiddden;
}


.routing-results li.direction span.maneuver {
	display: block;
	position: absolute;
	left: 10px;
	top: 10px;
	width: 20px;
	height: 20px;
	background: #63afd0 url('../img/expand.png') center no-repeat;
	border: solid 3px transparent;
	border-radius: 20px;
	line-height: 20px;
	font-weight: bold;
	color: #fff;
	text-indent: -1000px;
	color: transparent;
}

.routing-results li.direction span.maneuver.esriDMTDepart {
	background-image: url('../img/arrow_up.png');
}
.routing-results li.direction span.maneuver.esriDMTStraight {
	background-image: url('../img/arrow_up.png');
}
.routing-results li.direction span.maneuver.esriDMTTurnLeft {
	background-image: url('../img/arrow_turn_left.png');
}
.routing-results li.direction span.maneuver.esriDMTTurnRight {
	background-image: url('../img/arrow_turn_right.png');
}
.routing-results li.direction span.maneuver.esriDMTUTurn {
	background-image: url('../img/arrow_u-turn.png');
}
.routing-results li.direction span.maneuver.esriDMTStop {
	display: none;
}


.routing-results li.direction span.direction {
	display: block;
	position: absolute;
	left: 45px;
	top: 16px;
	right: 10px;
	line-height: 100%;
	white-space: nowrap;
	overflow: hiddden;
}

.routing-results li.direction span.distance {
	display: block;
	position: absolute;
	left: 45px;
	top: 32px;
	right: 10px;
	line-height: 100%;
	font-size: 85%;
	color: #777;
	white-space: nowrap;
	overflow: hiddden;
}