:root {
	--targomo-primary: #FF9F2E;
	--targomo-primary-text-color: #FFFFFF;
	--targomo-text-color: #000000;
	--targomo-legenda-300-color: #006837;
	--targomo-legenda-600-color: #39B54A;
	--targomo-legenda-900-color: #8CC63F;
	--targomo-legenda-1200-color: #F7931E;
	--targomo-legenda-1500-color: #F15A24;
	--targomo-legenda-1800-color: #C1272D;
	--targomo-legenda-text-color: #FFFFFF;
}

.targomo-init {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-position: center;
	background-size: cover;
}

.targomo-init button {
	z-index: 1;
}

.targomo-init::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,.3);
}

.targomo-container. gm-style {
	z-index: 0 !important;
}

.targomo-container .gm-fullscreen-control {
	display: none;
}

.targomo-container .gm-style-iw-d {
	overflow: visible !important;
	max-height: unset !important;
}

.targomo-container .gm-style .gm-style-iw-c {
	padding: 0;
	overflow: visible !important;
	max-height: unset !important;
}

#targomo-map {
	height: 100%;
}

.targomo-container {
	height: 700px;
	position: relative;
	overflow: hidden;
}

.targomo-save, .targomo-disable {
	margin-bottom: 15px;
	margin-left: 15px;
	margin-right: 15px;
	border-radius: 5px;
	background: var(--targomo-primary);
	color: var(--targomo-primary-text-color);
}

.targomo-open {
	transform: translateX(0px) !important;
}

.targomo-header {
	position: relative;
	padding-left: 15px;
	padding-right: 40px;
	padding-top: 20px;
	border-bottom: solid #D1D1D1 1px;
	color: var(--targomo-text-color);
}

.targomo-close {
	display: flex;
	position: absolute;
	top: 20px;
	right: 18px;
	font-size: 40px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .3s ease-in-out;
}

.targomo-close:hover {
	transform: rotate(90deg);
}

.targomo-info-window {
	min-width: 300px;
	position: relative;
}

.targomo-info-window-image {
	padding-bottom: 70%;
	display: block;
	overflow: hidden;
	position: relative;
}

.targomo-info-window-image img {
	position: absolute;
}

.targomo-info-window-content {
	padding: 20px 30px;
	padding-bottom: 5px;
}


.targomo-info-window-close {
	position: absolute;
	right: -13px;
	top: -13px;
	width: 30px;
	height: 30px;
	background: #fff;
	border-radius: 100%;
	z-index: 999;
	cursor: pointer;
	box-shadow: 0 2px 10px -4px;
	transition: transform .3s;
}
.targomo-info-window-close:hover {
	transform: scale(1.1);
}
.targomo-info-window-close:before,
.targomo-info-window-close:after {
	position: absolute;
	left: 14px;
	top: 8px;
	content: ' ';
	height: 15px;
	width: 2px;
	background-color: #333;
}
.targomo-info-window-close:before {
	transform: rotate(45deg);
}
.targomo-info-window-close:after {
	transform: rotate(-45deg);
}

.targomo-body {
	padding: 15px 15px;
	color: var(--targomo-text-color);
	flex-grow: 1;
}

.targomo-type {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.targomo-option {
	flex-grow: 1;
}

.targomo-save,
.targomo-disable,
.targomo-option {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
	padding: 15px 0;
	text-align: center;
	border: solid 1px #D1D1D1;
	cursor: pointer;
	transition: all .2s ease-in-out, color .2s ease-in-out;
}

.targomo-disable {
	background: transparent;
	border: 1px var(--targomo-primary) solid;
	color: var(--targomo-text-color);
	opacity: 0;
	pointer-events: all;
	transition: opacity .3s;
}

.targomo-option svg {
	pointer-events: none;
}

.targomo-option:first-of-type {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

.targomo-option:last-of-type {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.targomo-option:hover {
	border: solid 1px var(--targomo-primary);
	z-index: 1;
}

.targomo-option.isActive:hover,
.targomo-save:hover {
	opacity: .8;
}

.targomo-option.isActive {
	color: var(--targomo-primary-text-color);
	border: solid 1px var(--targomo-primary);
	background: var(--targomo-primary);
}

.targomo-container h4 {
	font-size: 20px;
	font-weight: 600;
}

.targomo-container h5,
.targomo-reismoment h5 {
	font-size: 16px;
	font-weight: 600;
	margin-top: 15px !important;
}

.targomo-bereik,
.targomo-filters {
	z-index: 1;
	position: absolute;
	display: flex;
	flex-direction: column;
	top: 30px;
	height: 90%;
	width: calc(100% - 60px);
	max-width: 400px;
	background: #fff;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	transition: transform .3s ease-in-out;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.10);
}

.targomo-reismoment {
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s;
}

.targomo-reismoment.active {
	opacity: 1;
}

/*
 * Legend
 */
.targomo-legend {
	position: absolute;
	top: 15px;
	display: flex;
	left: 50%;
	transform: translateX(-50%);
	pointer-events: none;
}

.targomo-legend .targomo-legend-item {
	position: relative;
	min-width: 75px;
	color: var(--targomo-legenda-text-color);
	display: flex;
	justify-content: center;
	align-items: center;
	height: 25px;
	flex-grow: 1;
	padding: 0 15px;
	font-size: 14px;
	cursor: pointer;
	transition: background-color .2s ease-in-out, color .2s ease-in-out;
}

.targomo-legend .targomo-legend-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	opacity: .8;
}

.targomo-legend .targomo-legend-item.red::before {
	background: var(--targomo-legenda-900-color);
}

.targomo-legend .targomo-legend-item.orange::before {
	background: var(--targomo-legenda-600-color);
}

.targomo-legend .targomo-legend-item.green::before {
	background: var(--targomo-legenda-300-color);
}

/*
 * Streetview
 */
.targomo-typemap {
	position: absolute;
	top: 15px;
	display: flex;
	right: 10px;
	background: #fff;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
	z-index: 1;
}

.targomo-satelliteview,
.targomo-streetview,
.targomo-mapview {
	padding: 10px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	color: var(--targomo-text-color);
	transition: color .2s ease-in-out;
}

.targomo-satelliteview.active,
.targomo-streetview.active,
.targomo-mapview.active {
	color: var(--targomo-primary);
}

.targomo-satelliteview svg,
.targomo-streetview svg,
.targomo-mapview svg {
	margin-right: 7px;
}

.targomo-satelliteview:hover,
.targomo-streetview:hover,
.targomo-mapview:hover {
	color: var(--targomo-text-color)
}

/*
 * Knoppen
 */
.targomo-knoppen {
	position: absolute;
	bottom: 15px;
	display: flex;
	left: 50%;
	transform: translateX(-50%);
}

.targomo-knoppen .targomo-knop {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
	flex-grow: 1;
	padding: 15px 15px;
	text-align: center;
	cursor: pointer;
	background: #fff;
	border-radius: 5px;
	transition: background-color .2s ease-in-out, color .2s ease-in-out;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.10);
	margin-left: 10px;
	margin-right: 10px;
	color: var(--targomo-text-color);
}

.targomo-knoppen .targomo-disable-knop {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
	flex-grow: 1;
	padding: 15px 15px;
	text-align: center;
	cursor: pointer;
	border-radius: 5px;
	transition: background-color .2s ease-in-out, color .2s ease-in-out;
	margin-left: 10px;
	margin-right: 10px;
	color: var(--targomo-text-color);
}

.targomo-knoppen .targomo-knop svg {
	margin-right: 5px;
}

.targomo-knoppen .targomo-knop.bereik {
	color: var(--targomo-primary-text-color);
	background: var(--targomo-primary);
}

/*
 * Bereik berekenen
 */
.targomo-bereik {
	left: 30px;
	transform: translateX(-600px);
}

/*
 * Filters
 */
.targomo-filters {
	right: 30px;
	transform: translateX(600px);
}

.targomo-filters .targomo-option.targomo-option-poi {
	flex: unset;
	width: 23%;
	border-radius: 5px;
	margin-bottom: 10px;
	flex-direction: column;
	height: unset;
	font-size: 11px;
}

/*
 * Loader
 */
.targomo-loading {
	display: none;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0,0,0,.8);
}

.targomo-loading-container {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.targomo-loader {
	display: inline-block;
	position: relative;
	width: 64px;
	height: 64px;
}
.targomo-loader div {
	position: absolute;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #fff;
	animation: targomo-loader 1.2s linear infinite;
}
.targomo-loader div:nth-child(1) {
	top: 6px;
	left: 6px;
	animation-delay: 0s;
}
.targomo-loader div:nth-child(2) {
	top: 6px;
	left: 26px;
	animation-delay: -0.4s;
}
.targomo-loader div:nth-child(3) {
	top: 6px;
	left: 45px;
	animation-delay: -0.8s;
}
.targomo-loader div:nth-child(4) {
	top: 26px;
	left: 6px;
	animation-delay: -0.4s;
}
.targomo-loader div:nth-child(5) {
	top: 26px;
	left: 26px;
	animation-delay: -0.8s;
}
.targomo-loader div:nth-child(6) {
	top: 26px;
	left: 45px;
	animation-delay: -1.2s;
}
.targomo-loader div:nth-child(7) {
	top: 45px;
	left: 6px;
	animation-delay: -0.8s;
}
.targomo-loader div:nth-child(8) {
	top: 45px;
	left: 26px;
	animation-delay: -1.2s;
}
.targomo-loader div:nth-child(9) {
	top: 45px;
	left: 45px;
	animation-delay: -1.6s;
}
@keyframes targomo-loader {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}
