body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: white;
    font-family: 'nort';
    font-weight: 300;
}

select, input, button, h1, h2, h3 {
    font-family: 'nort';
}

h1, h2, h3, h4 {
    text-transform: uppercase;
}

:root {
    --primary: #E53533;
    --secondary: #353535;
}

h1 {
    font-size: 22px;
    font-weight: 900;
}

h2 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 0px;
}

h3 {
    font-size: 20px;
    font-weight: 900;
}

small {
    font-size: 12px;
}

.border-bottom-bold {
    border-bottom: 5px solid var(--primary)
}

.line-icon {
    text-align: right;
    margin-top: -8px;
    margin-bottom: -25px;
}

.line-icon img {
    position: relative;
    top: -21px;
    right: 0;
}

.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 30px;
}

.mb-3 {
    margin-bottom: 30px;
}

.m-auto {
    margin: auto;
}

.py-07 {
    padding: 7px 0px;
}

.w-100 {
    width: 100%;
}

@media screen and (max-width: 575px) {
    .d-xs-flex {
        display: flex;
    }
    
    .flex-flow-sm-wrap {
        flex-flow: wrap;
    }
}

/* Buttons */
.btn-outline {
    border-radius: 30px;
    border: 1px solid white;
    background-color: var(--secondary);
    color: white;
    outline: none;
    padding: 2px 10px;
    font-weight: 300;
}

.btn-outline:hover {
    cursor: pointer;
}

.btn-primary {
    border-radius: 30px;
    border: 2px solid white;
    background-color: var(--primary);
    color: white;
    outline: none;
    padding: 2px 10px;
}

/* Loading Spinner */
#loading {
    background: #CDD9DE;
    height: 100%;
    width: 100%;
    position: fixed;
    color: white;
    z-index: 10000000;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

#loading img {
    position: absolute;
    left: 48%;
    top: 42%;
}

/* Suche */
#tankstellensuche {
    position: absolute;
    top: 90px;
    left: 50px;
    z-index: 1;
    background: var(--secondary);
    color: white;
    width: 450px;
}

@media screen and (max-width: 576px) {
    #tankstellensuche {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    #tankstellensuche #filter {
        height: 450px;
        overflow: scroll;
    }
}

#tankstellensuche .inner {
    padding: 25px 25px 10px 25px;
}

#tankstellensuche .inner {
    border-bottom: 2px solid var(--primary);
}

#tankstellensuche .inner .search-bar {
    width: 100%;
    display: flex;
    height: 50px;
    background-color: white;
    border-radius: 150px;
}

#tankstellensuche .inner .search-bar input{
    width: 100%;
    border: none;
    background: white;
    outline: none;
}

#tankstellensuche .inner .search-bar .btn-searchnew {
    background: var(--primary);
    border: none;
    height: 100%;
    width: 65px;
    border-radius: 150px;
    border: 2px solid white;
    cursor: pointer;
    transition: 200ms ease-in-out;
}

#tankstellensuche .inner .search-bar .btn-searchnew:hover {
    background-color: var(--secondary);
}

#tankstellensuche .inner .search-bar .btn-crosshair {
    background: white;
    border: none;
    height: 100%;
    width: 65px;
    border-radius: 150px;
}

#tankstellensuche .inner .search-bar .btn-crosshair img {
    padding-top: 3px;
}

#tankstellensuche .inner #search::placeholder {
    color: var(--secondary);
  }

#tankstellensuche .inner .selection .filter:hover {
    cursor: pointer;
    color: var(--primary);   
}

#tankstellensuche .inner .selection .filter:hover #filter-count {
    color: white;   
}

#tankstellensuche .inner .selection .filter img {
    height: 9px;
    padding-right: 5px;
}

#tankstellensuche .inner .selection .filter #filter-count {
    background-color: var(--primary);
    border: 1px solid white;
    padding: 3px;
    width: 8px;
    height: 8px;
    display: grid;
    text-align: center;
    align-content: center;
    position: absolute;
    top: -3px;
    right: 0px;
    font-size: 8px;
    border-radius: 18px;
}

#tankstellensuche .inner .selection .tsnr {
    width: 100px;
}

#tankstellensuche .inner .selection .umkreissuche {
    margin-right: 10px;
    background-image: url(../images/icons/dropdown-icon.svg);
    background-repeat: no-repeat;
    background-position-x: right;
    background-size: contain;
}

#tankstellensuche .inner .selection .umkreissuche p:hover {
    color: var(--primary);
}

#tankstellensuche .inner .selection select.umkreissuche {
    -webkit-appearance: none;
    -moz-appearance: none;
    /* text-indent: 1px; */
    text-overflow: '';
}

#tankstellensuche .tankstellenfilter[mode="on"] {
    background: var(--primary);
}

#tankstellensuche #filter {
    padding: 0px 25px 25px 25px;
}

#tankstellensuche #filter .filter-reset {
    cursor: pointer;
}

#tankstellensuche #filter .filter-reset:hover {
    color: var(--primary);
}

#tankstellensuche #filter .filter-reset img {
    margin-right: 5px;
    margin-bottom: -3px;
}

#tankstellensuche .tankstellenfilter.btn-outline {
    margin: 7px 12px;
    margin-left: 0;
    font-size: 16px;
    font-weight: 300;
}

@media screen and (max-width: 576px) {
    #tankstellensuche .tankstellenfilter.btn-outline {
        margin: 7px 5px;
    }
}

#tankstellensuche .tankstellenfilter.btn-outline:hover {
    background: var(--primary);
}

#tankstellensuche #suchergebnisse {
    overflow-y: scroll;
    max-height: 500px;
    font-size: 16px;
}

@media screen and (max-width: 575px) {
    #tankstellensuche #suchergebnisse {
        display: none;
    }
}

@media screen and (min-width: 768px) {
    #tankstellensuche #suchergebnisse {
        max-height: 400px;
    }
}

@media screen and (min-width: 992px) {
    #tankstellensuche #suchergebnisse {
        max-height: 360px;
    }
}

#tankstellensuche #suchergebnisse .suchergebnistanke {
    padding-left: 20px;
    margin: 30px auto;
    padding-top: 5px;
}

@media screen and (min-width: 1200px) {
    #tankstellensuche #suchergebnisse .suchergebnistanke:hover {
        border-left: 8px solid red;
        cursor: pointer;
        transition: all 150ms ease-in-out;
        padding-left: 20px;
        padding-top: 5px;
    }
    
    #tankstellensuche #suchergebnisse .suchergebnistanke:hover h4 {
        color: var(--primary);
    }
}

#tankstellensuche #suchergebnisse h4 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 10px;
    margin-top: 0px;
    margin-top: -5px;
}

#tankstellensuche #suchergebnisse .suchergebnistanke span {
    border: 1px solid white;
    border-radius: 30px;
    font-size: 11px;
    padding: 2px 7px;
    margin-right: 7px;
    margin-bottom: 5px;
}

#tankstellensuche #suchergebnisse .suchergebnistanke .btn-outline {
    font-size: 11px;
    width: fit-content;
    height: fit-content;
}

#tankstellensuche #suchergebnisse .suchergebnistanke hr {
    margin-left: -20px;
}

@media screen and (max-width: 575px) {
    #tankstellensuche #suchergebnisse .suchergebnistanke .btn-outline {
        margin-bottom: 0px;
        margin-right: 5px;
    }
}

@media screen and (max-width: 575px) {
    #tankstellensuche #suchergebnisse .suchergebnistanke .col {
        width: 100%;
    }
}

@media screen and (min-width: 576px) {
    #tankstellensuche #suchergebnisse .suchergebnistanke .col {
        width: 50%;
    }
    #tankstellensuche #suchergebnisse .suchergebnistanke .col:first-child {
        border-right: 1px solid white;
    }
    #tankstellensuche #suchergebnisse .suchergebnistanke .col:last-child {
        padding-left: 20px;
    }
    #tankstellensuche #suchergebnisse .suchergebnistanke .row {
        display: flex;
    }
    #tankstellensuche #suchergebnisse .suchergebnistanke .col:last-child {
        margin-top: 15px;
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
    }
    #tankstellensuche #suchergebnisse .suchergebnistanke .btn-outline {
        margin-top: 0px;
        margin-bottom: 8px;
        margin-right: 5px;
    }
}


/* Tanken Popup */
.infoboxed {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 400px;
    background: var(--secondary);
    color: white;
    padding: 25px;
    z-index: 1020;
}

@media screen and (max-width: 575px) {
    .infoboxed {
        width: 75%;
        border-top: 5px solid var(--primary);
        top: 15px;
        margin: 0px auto;
        top: 152px;
        left: 0;
        right: 0;
        overflow: scroll;
        padding-bottom: 0px;
        height: fit-content;
        max-height: 550px;
    }
}

@media screen and (max-width: 375px) {
    .infoboxed {
        max-height: 450px;
    }
}

@media screen and (min-width: 576px) and (max-width: 991px) {
    .infoboxed {
        width: 300px;
    }
}

.infoboxed .imx img {
    width: 100%;
    height: auto;
}

@media screen and (min-width: 576px) {
    .infoboxed .inner .adress {
        margin-bottom: 25px;
    }
    .infoboxed .kontakt-info {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 575px) {
    .infoboxed .kontakt-info {
        display: flex;
        font-size: 14px;
        justify-content: space-between;
    }
    .infoboxed .adress {
        padding-left: 10px;
        padding-left: 0px;
        margin-bottom: 20px;
    }
    .infoboxed .stations-nr {
        text-align: right;
    }
    .infoboxed .stations-nr .highlight-nr{
        font-size: 18px;
        font-weight: bold;
        margin-right: -6px;
        letter-spacing: 4px;
    }
}

@media screen and (max-width: 575px) {
    .kontakt-info h2 {
        padding-right: 20px;
    }
}

.infoboxed .verfuegbare-kraftstoffe {
    display: flex;
    flex-wrap: wrap;
}

.infoboxed .inner .line-icon {
    margin-bottom: -35px;
}

.infoboxed .inner .oeffnungszeiten .line-icon {
    margin-bottom: -10px;
    margin-top: 30px;
}

.infoboxed .verfuegbare-kraftstoffe .btn-outline {
    width: fit-content;
    margin-right: 10px;
    margin-bottom: 0px;
    cursor: unset;
}

.tanke-close .sm-up {
    position: absolute;
    bottom: 70px;
    cursor: pointer;
}

@media screen and (min-width: 576px) {
    .tanke-close .xs {
        display: none;
    }
}

@media screen and (max-width: 575px) {
    .tanke-close .sm-up {
        display: none;
    }
    .tanke-close .xs .btn-primary {
        margin-top: 25px;
    }
}

/* Map */
#map_canvas {
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

@media screen and (max-width: 575px) {
    #map_canvas {
        top: 124px;
    }
}

/* Zahlen Tankstellen Map */
.cluster0, .cluster1, .cluster2, .cluster3, .cluster4 {
    color: var(--primary)!important;
}

.btn-route {
    padding: 5px 10px;
}

.btn-route::placeholder {
    color: #FFF;
}

#tankstellensuche .inner .selection {
    text-align: right;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

#tankstellensuche .inner .selection .umkreissuche.btn-outline {
    padding: 4px 34px 4px 10px;
    height: 28px;
    margin-right: 0;
    order: 1;
    flex-basis: 50%;
}

#tankstellensuche .inner .selection .umkreissuche.btn-outline.pl {
    flex-basis: 30%;
}

@media screen and (min-width: 576px) {
    #tankstellensuche .inner .selection .umkreissuche.btn-outline.pl {
        width: 180px;
    }
}

#tankstellensuche .inner .selection .filter.pl,
#tankstellensuche .inner .selection .filter.en {
    flex-basis: auto;
}

#tankstellensuche .inner .selection .filter {
    padding: 5px 17px 5px 13px;
    font-size: 11px;
    position: relative;
    order: 2;
    flex-basis: 35%;
}

.search-bar-field {
    position: relative;
    margin-right: 1rem;
    margin: 1rem 0;
    order: 3;
    flex-basis: 100%;
}
.search-bar-field .search-bar-input {
   border: 1px solid #fff;
   color: #FFF;
   background-color: transparent;
   font-weight: 300;
   border-radius: 30px;
   width: 94%;
   padding: 4px 3%;
}

@media screen and (min-width: 576px) {
    .search-bar-field .search-bar-input.pl {
        width: 75px;
    }
}

.search-bar-field .search-bar-input:focus {
    outline: none;
}

.search-bar-field .search-bar-input::placeholder {
    color: #fff;
    font-weight: 300;
}

.search-bar-field .search-bar-btn {
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 30px;
    background-color: #E53533;
    border: 1px solid #fff;
    padding: 3px 5px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 100%;
    margin-right: -2px;
}

.search-bar-field .search-bar-btn img {
    width: 16px;
    padding: 0;
}


@media screen and (min-width: 576px) {
    #tankstellensuche .inner .selection {
        flex-direction: row;
    }

    #tankstellensuche .inner .selection .filter {
        border-left: 1px solid white;
        order: 3;
    }
    #tankstellensuche .inner .selection .umkreissuche.btn-outline, .search-bar-field, #tankstellensuche .inner .selection .filter {
        flex-basis: auto;
    }
    .search-bar-field .search-bar-input {
        padding: 4px 34px 4px 10px;
    }

    .search-bar-field .search-bar-input {
        width: 120px;
    }

    .search-bar-field {
        margin: 0;
    }
}



