.map-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    height: 100vh;
    overflow: hidden;

    --color-1: #2f2f2f;
    --color-2: #777;
    --color-3: #ffffff;
    --color-4: #a2a2a2;
    --color-5: #144c66;
    --color-6: #3366cc;
    --color-7: #6fa4d9;
    --color-8: #0b4681;
    --color-9: #336666;
    --color-10: #76e4af;
    --color-11: #44d382;
    --color-12: #ffcc33;
    --color-13: #ff6633;
    --color-14: #f8f9fa;
    --color-15: #faf1f1;
    --color-16: #e8e8e8;
    --color-hover: #c90000;
    --color-active: #ff5454;
    --color-disabled: #dddddd;

    /*--color-1: #0c2e3e;*/
    /*--color-2: #777;*/
    /*--color-3: #ffffff;*/
    /*--color-4: #6795ad;*/
    /*--color-5: #144c66;*/
    /*--color-6: #3366cc;*/
    /*--color-7: #6fa4d9;*/
    /*--color-8: #0b4681;*/
    /*--color-9: #336666;*/
    /*--color-10: #76e4af;*/
    /*--color-11: #44d382;*/
    /*--color-12: #ffcc33;*/
    /*--color-13: #ff6633;*/
    /*--color-14: #f8f9fa;*/
    /*--color-15: #e6f8ff;*/
    /*--color-16: #e8e8e8;*/
    /*--color-hover: #0099e6;*/
    /*--color-disabled: #dddddd;*/
}

.map-wrapper a:hover,
.map-wrapper a:active {
    text-decoration: none;
}

.map-panel {
    position: relative;
}

.map-divider {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background-color: var(--color-1);
}

.box-shadow {
    -webkit-box-shadow: 0px 0px 18px -17px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 0px 18px -17px rgba(0, 0, 0, 1);
    box-shadow: 0px 0px 18px -17px rgba(0, 0, 0, 1);
}

.show-side-panel-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    height: 50px;
    width: 30px;
    border-radius: .4rem 0 0 .4rem;
    border: none;
    color: white;
    background-color: var(--color-1);
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: 6px 5px 6px -3px rgba(0, 0, 0, 0.07);
    box-shadow: 6px 5px 6px -3px rgba(0, 0, 0, 0.07);
}

.show-side-panel-btn i {
    animation-duration: .5s;
    animation-timing-function: ease-out;
    transition: width .5s;
}

.rotate-icon {
    transform: rotate(-180deg);
    animation-duration: .9s;
    animation-timing-function: ease-out;
    transition: width .9s;
}

.exit-btn {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: none;
    color: white;
    background-color: var(--color-1);
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: 6px 5px 6px -3px rgba(0, 0, 0, 0.07);
    box-shadow: 6px 5px 6px -3px rgba(0, 0, 0, 0.07);
}

.help-btn{
    position: absolute;
    top: 0;
    left: 80px;
    height: 50px;
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: 6px 5px 6px -3px rgba(0, 0, 0, 0.07);
    box-shadow: 6px 5px 6px -3px rgba(0, 0, 0, 0.07);
}

.geolocation-btn {
    position: absolute;
    bottom: 113px;
    left: -14px;
    height: 40px;
    width: 40px;
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    color: #676767;
    background-color: var(--color-3);
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: 6px 5px 6px -3px rgba(0, 0, 0, 0.07);
    box-shadow: 6px 5px 6px -3px rgba(0, 0, 0, 0.07);
}

.geolocation-btn:hover {
    color: #3a3a3a;
}

.exit-btn:hover,
.exit-btn:focus,
.exit-btn:active {
    text-decoration: none !important;
    color: #bbb;
}

.side-panel {
    position: relative;
    display: flex;
    background-color: var(--color-16);
    overflow: hidden;
    width: 0;
    animation-duration: .5s;
    animation-timing-function: ease-out;
    transition: width .5s;
}

.side-panel-on {
    width: 320px;
    animation-duration: .9s;
    animation-timing-function: ease-out;
    transition: width .9s;
}

.side-panel-b-on {
    width: 640px;
    animation-duration: .9s;
    animation-timing-function: ease-out;
    transition: width .9s;
}

.side-panel-a,
.side-panel-b {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: 320px;
    line-height: normal;
    max-height: 100vh;
    overflow: auto;
    /* scroll width */
    scrollbar-width: thin;
    /* scroll bg-color for track and thumb */
    scrollbar-color: var(--color-1) transparent;
}

.side-panel-a {
    order: 1;
    padding: .5rem;
}

.side-panel-b {
    order: 2;
    padding: .5rem .5rem .5rem 0;
}

.side-panel-a::-webkit-scrollbar,
.side-panel-b::-webkit-scrollbar {
    width: thin;
}

.side-panel-a::-webkit-scrollbar-thumb,
.side-panel-b::-webkit-scrollbar-thumb {
    background-color: var(--color-1);
}

.side-panel-a::-webkit-scrollbar-track,
.side-panel-b::-webkit-scrollbar-track {
    background-color: transparent;
}

.side-panel-b-on-md {
    position: absolute !important;
    top: 0;
    z-index: 100;
    padding: .5rem !important;
    animation-name: side-panel-b-on-md-animation;
    animation-duration: .4s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes side-panel-b-on-md-animation {
    0% {
        left: 320px;
    }

    100% {
        left: 0;
    }
}

.box-min-heigth {
    min-height: 49px;
}

.filters-box .card-header {
    display: flex;
    align-items: center;
}

.filters-box .card-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem 1rem;
}

.filters-box .card {
    /* background-color: var(--color-5);
    color: var(--color-3); */
}

.filters-box .collapse {
    background-color: transparent !important;
}

.filters-box .card-body {
    background-color: transparent !important;
}

.filters-box .card-body label {
    margin-left: .3rem;
}

a.accordion-toggle {
    justify-self: end;
    padding: 0 !important;
    margin: 0 !important;
}

a.accordion-toggle:hover {
    color: #757575;
}

a.accordion-toggle:active {
    color: #b9b9b9;
}

a.accordion-toggle i {
    vertical-align: middle;
    margin: 0 0 0 .6rem !important;
}

.apply-filters-btn {
    text-decoration: none;
}

#stations-list-reset-btn {
    text-decoration: none;
    padding: 0 1rem;
}

.stations_shown i {
    margin-right: .6rem;
}

.stations_shown {
    color: var(--color-1);
}

.stations_amount {

    color: var(--color-2);
}

.finder-box,
.copy-link {
    display: flex;
    align-items: center;
    background-color: var(--color-3);
    border: 1px solid rgba(0, 0, 0, 0.125);
    padding: .6rem 1rem;
}

.finder-box input,
.copy-link input {
    border: none;
    outline: none;
    background-color: transparent;
    padding: 0 !important;
}

.finder-box input:focus,
.copy-link input:focus {
    background-color: var(--color-3);
}

.finder-box button,
.copy-link button {
    padding: 0rem !important;
}

.finder-box i,
.copy-link i {
    margin: 0 0 0 .6rem !important;
}

.finder-box .form-control:focus,
.copy-link .form-control:focus {
    box-shadow: none;
}

.route-box {
    background-color: var(--color-1);
    border: 1px solid rgba(0, 0, 0, 0.125);
    padding: .6rem 1rem;
}

.route-box-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.route-box-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.route-box input {
    background-color: #676767;
    color: var(--color-4);
}

.route-box input:focus {
    background-color: #818181;
    color: var(--color-3);
;
}

.route-box button {
    font-size: 1rem;
    padding: 0 !important;
    margin: 0 !important;
    color: white;
}

.route-box button:hover {
    color: var(--color-4);
}

.from_to_icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-4);
}

.from_to_icons i {
    color: var(--color-4);
}

.fa-exchange-alt {
    transform: rotate(90deg);
    font-size: 1rem;
}

.suggested-routes-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--color-3);
    border: 1px solid rgba(0, 0, 0, 0.125);
    padding: 1.2rem 1rem;
    cursor: pointer;
}

.stations-box-container {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.stations-list-range {
    padding: 0 1rem;
}

.stations-list-range input {
    margin: 0 !important;
}

.stations-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    background-color: var(--color-3);
    border: 1px solid rgba(0, 0, 0, 0.125);
    padding: 1rem;
    cursor: pointer;
}

.stations-box-active {
    /* border: 1px solid var(--color-hover); */
    background-color: var(--color-15);
}

.stations-box:hover {
    /* border: 1px solid var(--color-hover); */
    background-color: var(--color-15);
}

.stations-box i {
    justify-self: end;
    margin: 0 0 0 auto !important;
}

.stations-box-default {
    background-color: #d1d1d1;
    padding: 1rem;
}

.info-box {
    background-color: var(--color-3);
    border: 1px solid rgba(0, 0, 0, 0.125);
    padding: .6rem 1rem 3rem 1rem;
}

.info-box-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.info-box-header img {
    margin-top: .3rem;
}

.info-box p,
.info-box h4 {
    margin: 0;
}

.output {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.info-box h6 {
    margin-bottom: 1.4rem;
    font-weight: 500;
    color: var(--color-1) !important;
}

.close-info-btn {
    padding: 0 0 1rem 1rem;
    font-size: 1rem;
}

.station-title {
    color: var(--color-1);
}

.info-box-actions {
    display: grid;
    gap: .5rem;
}

.link-input-hidden {
    display: none;
}

.info-box-actions-btns {
    display: flex;
    gap: 1rem;
}

.info-box-actions button:first-child {
    /* border: 1px solid rgba(0, 0, 0, 0.125); */
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.info-box i {
    font-size: 1rem;
}

.copy-confirmation,
.link-copy-confirmation {
    background-color: var(--color-2);
    color: var(--color-3);
    padding: .2rem .6rem;
    font-size: .7rem;
    border-radius: 1rem;
    opacity: 0;
    transition: opacity .1s;
    animation-duration: .4s;
    animation-timing-function: ease-out;
}

.show-copy-confirmation {
    opacity: 1;
}

.fuel-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: .4rem;
}

.fuel-type {
    display: flex;
    align-items: center;
}

.fuel-type span {
    color: var(--color-2);
    opacity: .2;
}

.fuel-type.available span {
    color: inherit;
    opacity: 1;
}

.fuel-label {
    display: inline-block;
    width: 30px;
    height: 20px;
    background-color: var(--color-2);
    border-radius: 1rem;
    margin-right: .6rem;
    opacity: .2;
}


.fuel-type.available.gasoil_a .fuel-label {
    background-color: #000000;
    opacity: 1;
}

.fuel-type.available.gasoil_b .fuel-label {
    background-color: #dd7e58;
    opacity: 1;
}

.fuel-type.available.gasoline_95 .fuel-label {
    background-color: #44d483;
    opacity: 1;
}

.fuel-type.available.gasoline_98 .fuel-label {
    background-color: #76e5b0;
    opacity: 1;
}

.fuel-type.available.adblue .fuel-label {
    background-color: #6fa5da;
    opacity: 1;
}

.fuel-type.available.gas .fuel-label {
    background-color: #cdd83f;
    opacity: 1;
}

.payment-methods-list,
.services-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem 2.4rem;
}

.payment-methods-list img,
.services-list img {
    opacity: 0.12;
}

.services-list img.available,
.payment-methods-list img.available {
    opacity: 1;
}

.disabled-text {
    color: var(--color-2);
    opacity: .2;
}

/* @media queries */
@media (max-width: 360px) {

    /* .map-panel .show-side-panel-btn {
        height: 40px;
        width: 20px;
        border-radius: .2rem 0 0 .2rem;
    } */
    .side-panel-on {
        width: 90vw;
    }

    .side-panel-a,
    .side-panel-b {
        min-width: 90vw !important;
    }
}

.oil-overlay {
    visibility: visible;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 10000;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

#svg-wave-1 {
    position: absolute;
    fill: #f6a2a2;
    top: -50vh;
    left: -100vw;
    width: 500vw;
    opacity: 1;
    /* display: none; */
}

#svg-wave-2 {
    position: absolute;
    fill: #cc6f6f;
    top: -100vh;
    left: -100vw;
    width: 500vw;
    opacity: 1;
    /* display: none; */
}

#overlay-logo {
    position: absolute;
    fill: #be3b3b;
    width: 30vw;
}

.animate-wave-1 {
    animation-name: wave-1-animation;
    animation-duration: .6s;
    animation-timing-function: cubic-bezier(.96, .09, .77, .98);
    animation-fill-mode: forwards;
}

@keyframes wave-1-animation {
    0% {
        top: -50vh;
        left: -100vw;
        width: 500vw;
        opacity: 1;
    }

    50% {
        left: -50vw;
    }

    100% {
        top: 100vh;
        left: -100vw;
        width: 300vw;
        opacity: .6;
    }
}

.animate-wave-2 {
    animation-name: wave-2-animation;
    animation-duration: .6s;
    animation-timing-function: cubic-bezier(.96, .09, .77, .98);
    animation-fill-mode: forwards;
}

@keyframes wave-2-animation {
    0% {
        top: -100vh;
        left: -100vw;
        width: 500vw;
        opacity: 1;
    }

    50% {
        left: 0vw;
    }

    100% {
        top: 100vh;
        left: -100vw;
        width: 200vw;
        opacity: .6;
    }
}

.animate-logo {
    animation-name: logo-animation;
    animation-duration: .6s;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

@keyframes logo-animation {
    0% {
        opacity: 1;
        transform: translate(0, 0vw);
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: translate(0, 100vw);
    }
}

.btn-link{
    color: red !important;
}
.btn-link:hover{
    color: #757575 !important;
}
.btn-link:active{
    color: #b9b9b9 !important;
}

button.btn-link.close-route-btn{
    color: #ffffff !important;
}
button.btn-link.close-route-btn:hover{
    color: #808080 !important;
}
button.btn-link.close-route-btn:active{
    color: #b9b9b9 !important;
}
