/* VARIABELEN */

:root {
    --theme_color1: #003976;
    --theme_color1-dark: #002D5E;
    --theme_color2: #D5A95C;
    --theme_color2-dark: #B58E4A;
    --theme_font: 'Barlow', sans-serif;
    --location_color_free: #AADF6B;
    --location_color_occupied: #552B45;
    --location_color_unknown: #CECECE;
}

/* VARIABELEN */

#menu {
    background-color: orange;
    position: absolute;
    right: 10px;
    top: 45px;
    padding-right: 15px;
    display: none;
}

.clear {
    clear: both;
}

body,
html {
    margin: 0px;
    font-family: var(--theme_font);
    letter-spacing: 0.75px;
    font-size: 16px;
    line-height: 24px;
}

.home {
    background-image: url("/typo3conf/ext/spotten_webapp/Resources/Public/Images/background.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

html {
    height: 100%;
}

a {
    transition: all ease 0.5s;
}

.container_background {
    height: 100%;
}

.home .container_background:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(51, 51, 51, 0.1), rgba(51, 51, 51, 0.2), rgba(51, 51, 51, 0.3), rgba(0, 0, 0, 0.6), rgba(51, 51, 51, 0.9));
    opacity: .8;
    z-index: -1;
}

.container_map-detail {
    margin-top: 60px;
}

.topnav {
    height: 60px;
    box-shadow: 0px 1px 15px rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    background-color: #FFF;
    width: 100%;
    position: fixed;
    top: 0px;
}

.logo {
    max-width: 140px;
    max-height: 40px;
    margin: auto;
}

.menubutton {
    position: absolute;
    right: 30px;
    font-size: 26px;
    color: var(--theme_color1);
}

.backbutton {
    position: absolute;
    left: 30px;
    font-size: 22px;
    color: var(--theme_color1);
}

.feedbackbutton {
    color: #002D5E;
    position: absolute;
    right: 30px;
    font-size: 24px;
}

.introtext {
    font-weight: 700;
    font-size: 100%;
    letter-spacing: 2px;
    line-height: 2vh;
    color: #FFF;
    text-shadow: 0px 1px 15px rgba(0, 0, 0, 0.2);
    padding: 0px 30px;
    position: absolute;
    top: 13%;
}

.introtext a {
    color: #9ab0ff;
}

label {
    font-size: 15px;
    font-weight: 300;
    color: #FFF;
    margin-bottom: 10px;
}

.location_finder {
    padding: 0px 30px;
    margin-bottom: 22px;
    display: grid;
    position: relative;
}

.location_finder form {
    display: grid;
    position: relative;
}

.location_finder input {
    height: 50px;
    border-radius: 3px;
    box-shadow: 0px 1px 15px rgba(0, 0, 0, 0.10);
    border: none;
    font-style: italic;
    font-size: 16px;
    padding: 0px 20px;
    color: #666666;
}


.location_finder form button {
    background-color: var(--theme_color2);
    border: 0px;
    margin: 4px 0 0 0;
}

.location_buttons {
    position: absolute;
    bottom: 30px;
    width: 100%;
}

.location_share {
    padding: 0px 30px;
    display: grid;
}

.location_share form {
    display: grid;
}

a.btn, button.btn {
    padding: 15px;
    display: inline-block;
    border-radius: 3px;
    box-shadow: 0px 1px rgba(0, 0, 0, 0.10);
    font-weight: 600;
    color: #FFF;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 15px;
}

.map .btn,
.navigate .btn {
    background-color: var(--theme_color1);
    position: absolute;
    bottom: 30px;
    right: 50%;
    width: calc(100% - 90px);
    transform: translateX(50%);
}

.navigate .btn {
    margin-top: -79px;
    bottom: inherit;
}

.pointer {
    cursor: pointer;
}

.fade {
    opacity: 1;
    transition: opacity 300ms;
}

.fade.faded {
    opacity: 0;
}

.map .btn:hover,
.navigate .btn:hover {
    background-color: var(--theme_color1-dark);
}

.location_share .btn {
    background-color: var(--theme_color2);
    border: 0px;
}

.location_share .btn:hover {
    background-color: var(--theme_color2-dark);
}

.map {
    background-color: white;
    position: relative;
}

.locations_detail .map {
    height: calc(100vh - 218px);
}

.locations_map .map {
    height: calc(100vh - 450px);
    margin-top: 60px;
    min-height: 450px;
}

.parking_list {
    background-color: #F5F5F5;
    padding: 30px;
    box-shadow: 0px 1px 15px rgba(0, 0, 0, 0.10);
    border-top: 1px solid #FFF;
}

.parking_location:not(:last-of-type) {
    margin-bottom: 15px;
}

.parking_location {
    background-color: #FFF;
    border-radius: 3px;
    padding: 15px;
    box-shadow: 0px 1px 15px rgba(0, 0, 0, 0.10);
}

.parking_location.highlight {
    box-shadow: 0px 1px 15px rgba(0,0,0,0.8);
}

.parking_location.highlight:before {
    content: "";
    width: 0px;
    height: 0px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    margin: 2px -15px;
    position: absolute;
}
.parking_location.highlight.available:before {
    border-left: 7px solid var(--location_color_free);
}
.parking_location.highlight.occupied:before {
    border-left: 7px solid var(--location_color_occupied);
}
.parking_location.highlight.unknown:before {
    border-left: 7px solid var(--location_color_unknown);
}

.locations_detail .parking_list {
    position: absolute;
    width: calc(100% - 60px);
    bottom: 0px;
}

.parking_location.available {
    border-left: 3px solid var(--location_color_free);
}
.parking_location.occupied {
    border-left: 3px solid var(--location_color_occupied);
}
.parking_location.unknown {
    border-left: 3px solid var(--location_color_unknown);
}

.streetname {
    display: block;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0.5px;
}

.availabilty {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
}

.available .availabilty {
    color: var(--location_color_free);
}

.occupied .availabilty {
    color: var(--location_color_occupied);
}

.unknown .availabilty {
    color: var(--location_color_unknown);
}

.footer_counters span {
    font-size: 13px;
    font-weight: 200;
}

.footer_counters i {
    font-size: 13px;
    margin-right: 5px;
}

.footer_counters span:not(:last-of-type) {
    margin-right: 10px;
}

.footer_icons i:not(:last-of-type) {
    margin-right: 10px;
}

.footer_icons {
    float: right;
}

.close-btn {
    height: 40px;
    width: 40px;
    background-color: var(--theme_color1);
    border-radius: 100%;
    color: #FFF;
    display: flex;
    align-items: center;
    text-decoration: none;
    position: absolute;
    right: 30px;
    top: 30px;
}

.close-btn:hover {
    background-color: var(--theme_color1-dark);
}

.close-btn i {
    margin: auto;
    font-size: 20px;
    position: relative;
    top: 1px;
}

.popup {
    position: absolute;
    top: 60px;
    left: 0px;
    width: 100%;
    height: calc(100% - 60px);
    background: rgba(233, 233, 233, 0.98);
}

.popup .parking_location {
    margin: 30px;
}

.popup h3 {
    font-weight: 500;
    font-size: 22px;
    color: var(--theme_color1);
    letter-spacing: 1px;
    line-height: 32px;
    margin-top: 0px;
}

.popup .contentblock {
    padding: 30px;
    margin: 30px;
    background-color: #FFF;
    box-shadow: 0px 1px 15px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 26px;
    font-weight: 200;
}

.popup .btn {
    background-color: var(--theme_color1);
    margin: 30px;
}

.nav-modal-background {
    background-color: rgba(0, 0, 0, 0.7);
    height: 100%;
    left: 0px;
    position: absolute;
    top: 0px;
    width: 100%;
}

.nav-modal {
    background-color: var(--theme_color1);
    border-radius: 3px;
    color: #FFF;
    font-weight: 600;
    height: 80px;
    left: 50%;
    margin-left: -95px;
    margin-top: 200px;
    padding: 10px;
    position: absolute;
    top: 0;
    width: 190px;
}


.iebanner {
    height: 60px;
    box-shadow: 0px 1px 15px rgba(0, 0, 0, 0.10);
    display: flex;
    align-items: center;
    background-color: yellow;
    width: 100%;
    position: fixed;
    top: 0px;
}

.iebanner > div {
    margin: 0 auto;
    padding: 0 20px;
}

.iebanner > div:before,
.iebanner > div:after {
    content: "\f071";
    font-family: "Font Awesome 5 Pro";
    padding: 10px;
}

#install_pwa {
    display: none;
}

.mainContent {
    padding-top: 70px;
    margin: 0px 20px;
}

.cc-banner {
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cc-deny {
    font-weight: normal;
}

.cc-deny:hover {
    text-decoration: none !important;
    background: #999 !important;
    color: #fff !important;
}

.cc-allow {
    font-weight: normal;
}

.cc-allow:hover {
    background: #118a1c !important;
}
