/* Routes */
.mapplic-element svg [id^=route] {
	display: none;
}

.mapplic-element svg [id^=route] > * {
	opacity: 0.3;
}

.loc-to,
.loc-from {
	padding: 4px 6px;
	border: 1px solid #ddd;
	border-radius: 2px;
	margin-right: 10px;
}

.mapplic-routes-panel {
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	color: #2f3434;
	position: absolute;
	left: 20%;
	width: 60%;
	max-width: 600px;
	bottom: 0;
	margin: 12px;
}

.mapplic-routes-panel small {
	color: #aaa;
	display: block;
	font-size: 10px;
	font-weight: bold;
	margin-bottom: 2px;
	text-transform: uppercase;
	transition: color 0.2s;
}

.mapplic-routes-close {
	background-image: url(../img/cross.svg);
	background-size: 8px 8px;
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: center;
	cursor: pointer;
	opacity: 0.6;
	position: absolute;
	width: 12px;
	height: 12px;
	top: 6px;
	right: 6px;
}

.mapplic-routes-select {
	border-bottom: 2px solid transparent;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-block;
	float: left;
	padding: 8px 12px;
	width: 40%;
	height: 54px;
	transition: border-color 0.2s;
}

.mapplic-routes-select:nth-child(3) {
	margin-left: 6%;
}

.mapplic-routes-select.active {
	border-color: #6CB5F4;
}

.mapplic-routes-select.active small {
	color: #2f3434;
}

.mapplic-routes-loc {
	font-size: 16px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.mapplic-routes-swap {
	background-image: url(../img/swap.svg);
	background-size: 16px 14px;
	background-repeat: no-repeat;
	background-color: #f4f4f4;
	background-position: center;
	border-radius: 3px;
	cursor: pointer;
	opacity: 0.8;
	width: 24px;
	height: 24px;
	margin-top: -12px;
	margin-left: -12px;
	position: absolute;
	top: 50%;
	left: 43%;
	transition: transform 0.2s, opacity 0.2s;
}

.mapplic-routes-swap.rotate {
	transform: rotate(180deg);
}

.mapplic-routes-swap:hover {
	opacity: 1;
}

.mapplic-routes-submit {
	background-image: url(../img/direction-icon.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px 24px;
	border: none;
	color: #fff;
	display: inline-block;
	width: 14%;
	height: 54px;
	padding: 0 !important;
	text-align: center;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.mapplic-routes-submit:hover {
	opacity: 1;
}

/* Route path */
.mapplic-routes-path {
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	display: block;
}

/* Panel Fixed-From */
.mapplic-routes-fromfixed {
	width: 40%;
	left: 30%;
}

.mapplic-routes-fromfixed .mapplic-routes-select {
	width: 82%;
}

/* Button */
.mapplic-routes-button {
	background-image: url(../img/direction-icon.svg);
	background-size: 16px 16px;
	bottom: 0;
	right: 0;
	display: none;
}

/* Icons */
.mapplic-routes .mapplic-list-location {
	position: relative;
	overflow: hidden;
}

.mapplic-routes-icon {
	background: url(../img/direction-arrow.svg) no-repeat center;
	cursor: pointer;
	width: 20px;
	height: 20px;
	opacity: 0.6;
}

.mapplic-routes-icon:hover {
	opacity: 1;
}

.mapplic-routes .mapplic-list-location .mapplic-routes-icon {
	position: absolute;
	top: 12px;
	right: -30px;
	transition: right 0.2s, opacity 0.2s;
}

.mapplic-routes .mapplic-list-location:hover .mapplic-routes-icon {
	right: 10px;
}

/* Mobile */
@media all and (max-width: 667px) {
	.mapplic-routes-panel {
		left: 14%;
		width: 72%;
	}
}

/* Map */
.mapplic-routes .mapplic-clickable {
	opacity: 1 !important;
}

.mapplic-routes .mapplic-active {
	fill: #f8f8f8;
}

.mapplic-routes g[id^=landmarks-large] .mapplic-active {
	fill: #555;
}

/*
.mapplic-tooltip-navigate {
	font-size: 12px;
}*/