/* Routes */

body.page-template-casino_map_fullscreen{
	overflow: hidden;
}

.mapplic-element svg [id^=route] {
	display: none;
}

.mapplic-element svg [id^=route] > * {
	opacity: 1;
}

.mapplic-compass{
	width: 150px;
	position: absolute;
	bottom: 100px;
	left: 5%;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
			user-select: none;
	filter: drop-shadow(0px 10px 0.75rem #313b7a);
}

.mapplic-compass svg{
	pointer-events:none;
}

@media all and (max-width: 667px) {
	.mapplic-compass{
		width: 100px;
		position: absolute;
		bottom: 50px;
		left: 7%;
		transform: translateX(-25%);
		-webkit-touch-callout: none; /* iOS Safari */
		-webkit-user-select: none; /* Safari */
		 -khtml-user-select: none; /* Konqueror HTML */
		   -moz-user-select: none; /* Firefox */
			-ms-user-select: none; /* Internet Explorer/Edge */
				user-select: none;
	}
}

.mapplic-compass .compass-mark{
	cursor: pointer;
}

.loc-to,
.loc-from {
	padding: 4px 6px;
	border: 1px solid #ddd;
	border-radius: 2px;
	margin-right: 10px;
}

.mapplic-routes-panel {
	background-color: rgba(255, 255, 255, 0.9);
	color: #222;
	position: absolute;
	left: 20%;
	width: 60%;
	bottom: 0;
	margin: 10px;
	padding: 10px;
	display: none !important;
}

.mapplic-routes-panel small {
	display: block;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
}

.mapplic-routes-close {
	background-image: url(../img/cross.svg);
	background-size: 6px 6px;
	background-repeat: no-repeat;
	background-color: transparent;
	background-position: center;
	cursor: pointer;
	position: absolute;
	width: 12px;
	height: 12px;
	top: 0;
	right: 0;
}

.mapplic-routes-select {
	background-color: #f4f4f4;
	border: 1px solid #ddd;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-block;
	float: left;
	padding: 2px 4px;
	width: 38%;
	height: 40px;
	margin-right: 6%;
}

.mapplic-routes-select.active {
	border: 1px solid #6CB5F4;
	background-color: #fff;
}

.mapplic-routes-loc {
	font-size: 14px;
	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: transparent;
	background-position: center;
	cursor: pointer;
	opacity: 0.6;
	width: 16px;
	height: 14px;
	margin-top: -7px;
	margin-left: -8px;
	position: absolute;
	top: 50%;
	left: 41.5%;
	transition: transform 0.2s;
}

.mapplic-routes-swap.rotate {
	transform: rotate(180deg);
}

.mapplic-routes-swap:hover {
	opacity: 1;
}

.mapplic-routes-submit {
	background-color: #6CB5F4;
	border: none;
	color: #fff;
	display: block;
	font-weight: bold;
	font-size: 14px;
	width: 16%;
	height: 40px;
	padding: 0 !important;
	text-align: center;
	line-height: 40px;
	float: right;
	margin-left: -4%;
}

/* Button */
.mapplic-ui-button {
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	border: 1px solid #eee;
	border-bottom: 1px solid #ddd;
	border-radius: 2px;
	margin: 10px;
	width: 28px;
	height: 28px;
	position: absolute;
}

.mapplic-routes-button {
	background-image: url(../img/direction-icon.svg);
	background-size: 16px 16px;
	bottom: 0;
	left: 40px;
	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;
}	