.gm-style {
    z-index: 0 !important;
}

.gm-fullscreen-control {
    display: none;
}

#targomo-map {
    height: 100%;
}

.targomo-container {
    height: 650px;
    position: relative;
    overflow: hidden;
}

.targomo-save {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    border-radius: 5px;
    background: var(--secondary);
    color: #fff;
}

.targomo-open {
    transform: translateX(0px) !important;
}

.targomo-header {
    position: relative;
    padding-left: 15px;
    padding-right: 40px;
    padding-top: 20px;
    border-bottom: solid #D1D1D1 1px;
}

.targomo-close {
    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-body {
    padding: 15px 15px;
}

.targomo-type {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.targomo-save,
.targomo-option {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    flex-grow: 1;
    padding: 15px 0;
    text-align: center;
    border: solid 1px #D1D1D1;
    cursor: pointer;
    transition: all .2s ease-in-out, color .2s ease-in-out;
    margin-top: -1px;
    margin-left: -1px;
}

.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(--secondary);
    z-index: 1;
}

.targomo-option.isActive:hover,
.targomo-save:hover {
    opacity: .8;
}

.targomo-option.isActive {
    color: #fff;
    border: solid 1px var(--secondary);
    background: var(--secondary);
}

.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 {
    position: absolute;
    top: 30px;
    height: 82%;
    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 {
    min-width: 75px;
    color: #fff;
    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.red {
    background: #bdd393;
}

.targomo-legend .targomo-legend-item.orange {
    background: #9fcb96;
}

.targomo-legend .targomo-legend-item.green {
    background: #86a58b;
}

/*
 * 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;
}

.targomo-streetview,
.targomo-mapview {
    padding: 10px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #666;
    transition: color .2s ease-in-out;
}

.targomo-streetview.active,
.targomo-mapview.active {
    color: var(--secondary);
}

.targomo-streetview svg,
.targomo-mapview svg {
    margin-right: 7px;
}

.targomo-streetview:hover,
.targomo-mapview:hover {
    color: #000
}

/*
 * 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;
}

.targomo-knoppen .targomo-knop svg {
    margin-right: 5px;
}

.targomo-knoppen .targomo-knop.bereik {
    color: #fff;
    background: var(--secondary);
}

/*
 * 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;
    }
}