/* Routes */
.blumaps-element svg [id^=route] {
	display: none;
}

.blumaps-element svg [id^=route] > * {
	opacity: 0.3;
}

.loc-to,
.loc-from {
	padding: 4px 6px;
	border: 1px solid #ddd;
	border-radius: 2px;
	margin-right: 10px;
}

.blumaps-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;
    display: none !important; /* todo: criar propriedade para esconder o bot�o de rotas*/
}

.blumaps-routes-panel small {
    color: #aaa;
    display: block;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 2px;
    text-transform: uppercase;
    transition: color 0.2s;
    display: none !important; /* todo: criar propriedade para esconder o bot�o de rotas*/
}

.blumaps-routes-close {
	background-image: url(../../assets/icons/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;
}

.blumaps-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;
    display: none; /* todo: criar propriedade para esconder o bot�o de rotas*/
}

.blumaps-routes-select:nth-child(3) {
	margin-left: 6%;
}

.blumaps-routes-select.active {
	border-color: #6CB5F4;
}

.blumaps-routes-select.active small {
	color: #2f3434;
}

.blumaps-routes-loc {
	font-size: 16px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.blumaps-routes-swap {
	background-image: url(../../assets/icons/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;
}

.blumaps-routes-swap.rotate {
	transform: rotate(180deg);
}

.blumaps-routes-swap:hover {
	opacity: 1;
}

.blumaps-routes-submit {
	background-image: url(../../assets/icons/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;
}

.blumaps-routes-submit:hover {
	opacity: 1;
}

/* Route path */
.blumaps-routes-path {
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
	display: block;
}

/* Panel Fixed-From */
.blumaps-routes-fromfixed {
	width: 40%;
	left: 30%;
}

.blumaps-routes-fromfixed .blumaps-routes-select {
	width: 82%;
}

/* Button */
.blumaps-routes-button {
    background-image: url(../../assets/icons/direction-icon.svg);
    background-size: 16px 16px;
    bottom: 0;
    right: 0;
    display: none !important; /* todo: criar propriedade para esconder o bot�o de rotas*/
}

/* Icons */
.blumaps-routes .blumaps-list-location {
	position: relative;
	overflow: hidden;
}

.blumaps-routes-icon {
	background: url(../../assets/icons/rota.png) no-repeat center;
    background-size: contain;
	cursor: pointer;
	width: 25px;
	height: 25px;
	opacity: 0.8;
}

.blumaps-routes-icon:hover {
	opacity: 1;
}

.blumaps-routes .blumaps-list-location .blumaps-routes-icon {
	position: absolute;
	top: 12px;
	right: -60px;
	transition: right 0.2s, opacity 0.2s;
}

.blumaps-routes .blumaps-list-location:hover .blumaps-routes-icon {
	right: 10px;
}

/* Mobile */
@media all and (max-width: 667px) {
	.blumaps-routes-panel {
		left: 14%;
		width: 72%;
	}
}

/* Map */
.blumaps-routes .blumaps-clickable {
	opacity: 1 !important;
}

.blumaps-routes .blumaps-active {
	fill: #f8f8f8;
}

.blumaps-routes g[id^=landmarks-large] .blumaps-active {
	fill: #555;
}

/*
.blumaps-tooltip-navigate {
	font-size: 12px;
}*/