﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
.custom-validation-message {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1000;
    background-color: #c3bdbd;
    color: #ffffff;
    padding: 5px;
    border-radius: 3px;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%); /* Center the element */
}


    .custom-validation-message[style*="display: block"] {
        opacity: 1; /* Fully visible when shown */
    }




a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

input::-ms-clear, input::-ms-reveal {
    display: none;
}

.payment-modal-header {
    color: white;
}

body {
    overflow-y: scroll;
}

.lightpick__day.is-in-range {
    margin-top: 5px;
    margin-bottom: 5px;
}

.ui-slider-handle.ui-corner-all.ui-state-default {
    background: #337ab7;
    border-radius: 10px;
}

tr.bordertr.returnTripTr {
    background-color: #D3DDE7;
}

.field-validation-error {
    color: red;
}

#navbar-unread {
    font-size: 60%;
    padding: 1px 3px;
    vertical-align: top;
    margin-left: -13px;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    /*margin-bottom: 60px;*/
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

.countDownTimer {
    font-size: 70px;
    border: 1px solid #c6d1f3;
    width: 100px;
    height: 100px;
    border-radius: 5px;
    margin: 0 10px 5px 10px;
    background-color: white;
}

.select2-station {
    display: flex;
}

    .select2-station .station-name {
        align-self: center;
        flex: 1;
        order: 1;
    }

    .select2-station .train-services {
        align-self: center;
        flex: 0 0 50px;
        order: 2;
    }

    .select2-station .train-service > div {
        border-radius: 0.3rem;
        color: white;
        font-size: 0.6rem;
        font-weight: bold;
        text-align: center;
    }

    .select2-station .train-service:nth-child(n+2) {
        padding-top: 0.1rem;
    }

    .select2-station .train-service.ETS > div {
        background-color: #fbd012;
    }

    .select2-station .train-service.Intercity > div {
        background-color: #00529f;
    }

    .select2-station .train-service.ERL > div {
        background-color: #941C71;
    }
