﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    /*margin-top: 1% !important;*/
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.btn-check {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}

.btn-margin {
    margin-bottom: 1% !important;
}

#id_route input[type="checkbox"] {
    display: none;
}

#id_route span {
    display: inline-block;
    padding: 10px;
    text-transform: uppercase;
    width: 46px;
    text-align: center;
    border-radius: 3px;
}

.map_canvas {
    height: calc(100vh - 60px);
}

#map_canvas img {
    max-width: none;
}


.linija, btn .linija {
    border: 2px solid var(--color);
    color: #fff;
    background-color: var(--color);
}

.l, .l:link, .l:hover, .l:active {
    color: var(--color);
    font-weight: bold;
    text-decoration: none;
}

/*.l-1, .l-1:link, .l-1:hover, .l-1:active {
    color: #0081a7;
    font-weight: bold;
}*/

input[type="checkbox"]:checked + .linija {
    border: 2px solid var(--color);
    color: var(--color);
    background-color: #fff;
}

.linija-1 {
    border: 2px solid #0081a7;
    color: #fff;
    background-color: #0081a7;
}

.l-1, .l-1:link, .l-1:hover, .l-1:active {
    color: #0081a7;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-1 {
    border: 2px solid #0081a7;
    color: #0081a7;
    background-color: #fff;
}


.linija-2 {
    border: 2px solid #00afb9;
    color: #fff;
    background-color: #00afb9;
}


.l-2, .l-2:link, .l-2:hover, .l-2:active {
    color: #00afb9;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-2 {
    border: 2px solid #00afb9;
    color: #00afb9;
    background-color: #fff;
}

.linija-3 {
    border: 2px solid #f6bd60;
    color: #fff;
    background-color: #f6bd60;
}

.l-3, .l-3:link, .l-3:hover, .l-3:active {
    color: #f6bd60;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-3 {
    border: 2px solid #f6bd60;
    color: #f6bd60;
    background-color: #fff;
}

.linija-4 {
    border: 2px solid #f07167;
    color: #fff;
    background-color: #f07167;
}

.l-4, .l-4:link, .l-4:hover, .l-4:active {
    color: #f07167;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-4 {
    border: 2px solid #f07167;
    color: #f07167;
    background-color: #fff;
}

.linija-6 {
    border: 2px solid #4a4e69;
    color: #fff;
    background-color: #4a4e69;
}

.linija-G5 {
    border: 2px solid #DA70D6;
    color: #fff;
    background-color: #DA70D6;
}

input[type="checkbox"]:checked + .linija-G5 {
    border: 2px solid #DA70D6;
    color: #DA70D6;
    background-color: #fff;
}

.l-G5, .l-G5:link, .l-G5:hover, .l-G5:active {
    color: #DA70D6;
    font-weight: bold;
}

.l-6, .l-6:link, .l-6:hover, .l-6:active {
    color: #4a4e69;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-6 {
    border: 2px solid #4a4e69;
    color: #4a4e69;
    background-color: #fff;
}

.linija-7 {
    border: 2px solid #c9ada7;
    color: #fff;
    background-color: #c9ada7;
}

.l-7, .l-7:link, .l-7:hover, .l-7:active {
    color: #c9ada7;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-7 {
    border: 2px solid #c9ada7;
    color: #c9ada7;
    background-color: #fff;
}

.linija-8 {
    border: 2px solid #ddb892;
    color: #fff;
    background-color: #ddb892;
}

.l-8, .l-8:link, .l-8:hover, .l-8:active {
    color: #ddb892;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-8 {
    border: 2px solid #ddb892;
    color: #ddb892;
    background-color: #fff;
}

.linija-9 {
    border: 2px solid #7f5539;
    color: #fff;
    background-color: #7f5539;
}

.l-9, .l-9:link, .l-9:hover, .l-9:active {
    color: #7f5539;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-9 {
    border: 2px solid #7f5539;
    color: #7f5539;
    background-color: #fff;
}

.linija-10 {
    border: 2px solid #656d4a;
    color: #fff;
    background-color: #656d4a;
}

.l-10, .l-10:link, .l-10:hover, .l-10:active {
    color: #656d4a;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-10 {
    border: 2px solid #656d4a;
    color: #656d4a;
    background-color: #fff;
}

.linija-12 {
    border: 2px solid #081c15;
    color: #fff;
    background-color: #081c15;
}

.l-12, .l-12:link, .l-12:hover, .l-12:active {
    color: #081c15;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-12 {
    border: 2px solid #081c15;
    color: #081c15;
    background-color: #fff;
}

.linija-13 {
    border: 2px solid #e71d36;
    color: #fff;
    background-color: #e71d36;
}

.l-13, .l-13:link, .l-13:hover, .l-13:active {
    color: #e71d36;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-13 {
    border: 2px solid #e71d36;
    color: #e71d36;
    background-color: #fff;
}

.linija-15 {
    border: 2px solid #fe7f2d;
    color: #fff;
    background-color: #fe7f2d;
}

.l-15, .l-15:link, .l-15:hover, .l-15:active {
    color: #fe7f2d;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-15 {
    border: 2px solid #fe7f2d;
    color: #fe7f2d;
    background-color: #fff;
}

.linija-16 {
    border: 2px solid #fcca46;
    color: #fff;
    background-color: #fcca46;
}

.l-16, .l-16:link, .l-16:hover, .l-16:active {
    color: #fcca46;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-16 {
    border: 2px solid #fcca46;
    color: #fcca46;
    background-color: #fff;
}

.linija-17 {
    border: 2px solid #720026;
    color: #fff;
    background-color: #720026;
}

.l-17, .l-17:link, .l-17:hover, .l-17:active {
    color: #720026;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-17 {
    border: 2px solid #720026;
    color: #720026;
    background-color: #fff;
}

.linija-18 {
    border: 2px solid #736f72;
    color: #fff;
    background-color: #736f72;
}

.l-18, .l-18:link, .l-18:hover, .l-18:active {
    color: #736f72;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-18 {
    border: 2px solid #736f72;
    color: #736f72;
    background-color: #fff;
}

.linija-19 {
    border: 2px solid #b32d00;
    color: #fff;
    background-color: #b32d00;
}

.l-19, .l-19:link, .l-19:hover, .l-19:active {
    color: #b32d00;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-19 {
    border: 2px solid #b32d00;
    color: #b32d00;
    background-color: #fff;
}

.linija-20 {
    border: 2px solid #e27396;
    color: #fff;
    background-color: #e27396;
}

.l-20, .l-20:link, .l-20:hover, .l-20:active {
    color: #e27396;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-20 {
    border: 2px solid #e27396;
    color: #e27396;
    background-color: #fff;
}

.linija-21 {
    border: 2px solid #a3a375;
    color: #fff;
    background-color: #a3a375;
}

.l-21, .l-21:link, .l-21:hover, .l-21:active {
    color: #a3a375;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-21 {
    border: 2px solid #a3a375;
    color: #a3a375;
    background-color: #fff;
}

.linija-151 {
    border: 2px solid #5c85d6;
    color: #fff;
    background-color: #5c85d6;
}

.l-151, .l-151:link, .l-151:hover, .l-151:active {
    color: #5c85d6;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-151 {
    border: 2px solid #5c85d6;
    color: #5c85d6;
    background-color: #fff;
}

.linija-22 {
    border: 2px solid #68a691;
    color: #fff;
    background-color: #68a691;
}

.l-22, .l-22:link, .l-22:hover, .l-22:active {
    color: #68a691;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-22 {
    border: 2px solid #68a691;
    color: #68a691;
    background-color: #fff;
}

.linija-K1 {
    border: 2px solid #a6b1e1;
    color: #fff;
    background-color: #a6b1e1;
}

.l-K1, .l-K1:link, .l-K1:hover, .l-K1:active {
    color: #a6b1e1;
    font-weight: bold;
}

input[type="checkbox"]:checked + .linija-K1 {
    border: 2px solid #a6b1e1;
    color: #a6b1e1;
    background-color: #fff;
}

.linija-K2 {
    border: 2px solid #02040f;
    color: #fff;
    background-color: #02040f;
}

.l-K2, .l-K2:link, .l-K2:hover, .l-K2:active {
    color: #02040f;
    font-weight: bold;
}

.modal-btn-route-position {
    width: 46px;
    display: inline-block;
    text-align: center;
    margin-bottom: 0.5%;
}

input[type="checkbox"]:checked + .linija-K2 {
    border: 2px solid #02040f;
    color: #02040f;
    background-color: #fff;
}


input[type = "date"] {
    line-height: 1.2 !important;
}

/*SIDENAV*/
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

    .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        transition: 0.3s;
    }

        .sidenav a:hover {
            color: #f1f1f1;
        }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/*DIV POSITION*/
.container {
    width: 100%;
    height: 85vh;
    margin: auto;
    padding: 10px;
}

.one {
    width: 25%;
    height: 85vh;
    float: left;
}

.two {
    margin-left: 15%;
    height: 85vh;
}

.oneInvidible {
    display: none;
}


/*NAVBAR*/
.navbar-inverse {
    background-color: #d71921 !important;
    border-color: #d71921 !important;
}

    .navbar-inverse .navbar-brand {
        color: white !important;
    }

    .navbar-inverse .navbar-nav > li > a {
        color: white !important;
    }

    .navbar-inverse .navbar-toggle {
        border-color: white !important;
    }


/*FORM CONTROL*/
.form-control {
    display: inline !important;
    max-width: -webkit-fill-available !important;
    max-width: -moz-available !important;
}

/*Filter Tables*/
.tableHeight {
    display: inline-block;
    overflow-y: auto;
    max-height: 25vh;
    width: 100%;
}

.tableHeightRouteShow {
    display: inline-block;
    overflow-y: auto;
    max-height: 15vh;
    width: 100%;
}

.tableHeightRoute3Show {
    display: inline-block;
    overflow-y: auto;
    max-height: 17vh;
    width: 100%;
}

.tableHeightRouteShowK {
    display: inline-block;
    overflow-y: auto;
    max-height: 25vh;
    width: 100%;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    border-top: none !important;
}

.trNoBorder {
    border-right: none !important;
    border-left: none !important;
    font-weight: bold;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

/*selected table item*/
.selectedTr {
    background-color: #f2f2f2 !important;
}

.test {
    color: red;
}

.paddingTd {
    padding-right: 4% !important;
}

.tdBackColor {
    background-color: #d71921 !important;
    color: #fff !important;
}

.tdWidth {
    width: 30vh !important;
}
/*For scrollbar*/
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/*BTN*/
.btn-primary {
    background-color: #d71921 !important;
    border-color: #d71921 !important;
}

    .btn-primary:hover {
        background-color: #000 !important;
        border-color: #000 !important;
    }

/*Modal header*/
.modal-header {
    background-color: #d71921 !important;
    color: #fff !important;
}

.close {
    color: #fff !important;
    opacity: .8 !important;
}

/*Modal*/
.modal-body-ErrorInfo {
    height: auto !important;
    overflow-y: auto !important;
}


.modal-body {
    height: 70vh !important;
    overflow-y: auto !important;
}

/*.modal-dialog {
    width: 100vh !important;
    margin: 30px auto !important;
}*/

@media (min-width: 1000px) {
    .modal-dialog {
        width: 100vh !important;
        margin: 30px auto !important;
    }
}

@media (max-width: 992px) {
    .navbar-brand {
        font-size: 10px !important;
    }
}


/*Language flags*/
.flagSl {
    display: block;
    position: relative;
    float: right;
    width: 34px;
    height: 19px;
    background-image: url(../Img/1575222526_flag-for-slovenia_1f1f8-1f1ee.png);
    background-repeat: no-repeat;
    background-size: 32px 17px;
    border: none;
    margin-top: 2px;
    margin-right: 2px;
}

.flagUK {
    display: block;
    position: relative;
    float: right;
    width: 34px;
    height: 19px;
    background-image: url(../Img/uk.png);
    background-repeat: no-repeat;
    background-size: 32px 17px;
    border: none;
    margin-top: 2px;
    margin-right: 2px;
}

/*SCROLL*/
.scrollVisibilityTrue {
    visibility: visible;
    animation: MoveUpDown 1s linear infinite;
    position: relative;
    left: 0;
    bottom: 0;
}

@keyframes MoveUpDown {
    0%, 100% {
        bottom: 0;
    }

    50% {
        bottom: 5px;
    }
}

.scrollVisibilityFalse {
    visibility: hidden;
}


.fa-circle {
    animation: color-change 2s infinite;
}

@keyframes color-change {
    0% {
        color: #d71921;
    }

    50% {
        color: black;
    }

    100% {
        color: #d71921;
    }
}

/*ACCESABILITY*/
#accesBtn {
    background-color: white !important;
}

.accesabilityBtn {
    position: fixed !important;
    right: 5px !important;
    bottom: 5px !important;
    z-index: 100;
}

.accesabilityModal {
    position: fixed !important;
    right: 40px !important;
    bottom: 35px !important;
    border: 2px solid var(--primary-btn-color);
    /*height: 20% !important;
    width: 18% !important;*/
    background-color: white;
    z-index: 10000000;
}

.textAccessModal {
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
    background-color: transparent;
}


.primaryiconcolor {
    color: var(--primary-btn-color);
    background-color: transparent;
}

#accesBtn.focus, #accesBtn:focus {
    border-color: var(--primary-btn-color);
}

#accesBtn.hover > i, #accesBtn:hover > i {
    color: var(--primary-btn-color-hover);
}


.hid, .hide {
    display: none !important;
}

.show1 {
    display: inline !important;
}

.berljivapisava, body.berljivapisava * {
    font-family: 'Comic Sans MS', sans-serif !important;
    font-weight: bold !important;
    /*    font-size: 2.5rem !important;
*/
}

.vecjapisava, body.vecjapisava * {
    font-weight: bold !important;
    font-size: 2.5rem !important;
    /*   zoom: 2.5;
*/
}

/*.kontrast {
    background-color: black !important;
    color: white !important;
    background-image: none;
}*/

body.kontrast *:not([type='checkbox'], #map_canvas *, .mapdiv,#MapDiv *, #MapDiv div, #map_canvas div, #map_canvas iframe, .my-marker, img, .gm-style) {
    background-color: black !important;
    color: white !important;
    background-image: none;
    border-color: white !important;
}

.textAccessModal {
    font-size: 2.5rem !important;
    font-weight: bold !important;
    color: black;
}

.item {
    display: inline;
    padding-right: 5%;
    font-size: 15px;
}

.w-100 {
    width: 100%;
}

.ta-center {
    text-align: center;
}

.ta-left {
    text-align: left;
}

.ta-right {
    text-align: right;
}

.leftBorder {
    border-left: 5px solid #d71921;
}

.sBusLine {
    border: 1px solid lightgrey;
    padding: 3px;
}

#npRoutes {
    height: 50vh;
    overflow-y: auto;
}

.dropdown {
    position: relative;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.dropdown-item {
    padding: 8px;
    cursor: pointer;
}

    .dropdown-item:hover {
        background-color: #f2f2f2;
    }

.handCursor {
    cursor: pointer;
}

.inputAndButton {
    display: inline-flex;
    width: 100%;
}


@keyframes pulse {
    0% {
        color: #d71921;
    }

    50% {
        color: white;
    }

    100% {
        color: #d71921;
    }
}

.statusPrihoda-2 > td {
    animation: pulse 2s infinite;
}

#clock {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}


table tr.tabela:nth-child(odd) {
    background-color: #f0f0f0 !important;
}

table tr.tabela:nth-child(even) {
    background-color: #ffffff !important;
}

.primary-color-background {
    background-color: #d71921
}

.text-white {
    color: white;
}

.navbar {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    height: auto; /* Adjust as needed */
}

.navbar-brand {
    font-size: 1rem;
}

.nav-link {
    font-size: 0.9rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    line-height: 1.2;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
}

.table-noborder {
    border-collapse: collapse;
}

    .table-noborder th, .table-noborder td {
        border: none !important;
    }

.btn-close {
    color: white !important;
    background: transparent;
    border: none;
}

.btn-close-white {
    filter: invert(100%); /* Turns the icon white */
}

#FilterDiv {
    max-height: 90vh;
    overflow-y: auto;
    padding: 1em;
    box-sizing: border-box;
}

/*#FilterDiv h4, #FilterDiv label, #FilterDiv button, #FilterDiv input, #FilterDiv select, #FilterDiv table {
        font-size: clamp(0.9rem, 2vw, 1.2rem);*/ /* Dynamically scale font size */
/*}*/


td.podatki {
    vertical-align: middle;
    height: auto;
    font-size: 36px;
    padding: 10px;
    align-items: center;
    font-weight: bold;
}

.smer-header {
    text-align: center;
}

.underline {
    width: 100%;
    font-size: 30px;
    text-align: left;
}

td.linija {
    width: 5%;
    font-weight: bold;
}

td.linija-cell {
    text-align: right;
}

td.linija-header {
    text-align: center;
}

td.smer {
    width: 80%;
    text-align: left;
    font-weight: bold;
}

td.prihod {
    width: 15%;
    text-align: center;
    font-weight: bold;
}

td.prihod-mom {
    width: 25%;
    text-align: center;
    font-weight: bold;
}

td.smer-mom {
    width: 55%;
    text-align: center;
    font-weight: bold;
}

td.cas-hoje-mom {
    width: 17%;
    text-align: center;
    font-weight: bold;
}

td.postaja-mom {
    width: 10%;
    text-align: center;
    font-weight: bold;
}

td.linija-mom {
    width: 3%;
    text-align: center;
    font-weight: bold;
    padding-left: 30px !important;
}

td.smer-mom-podatek {
    padding-left: 30px !important;
    text-align: left;
}

td.mom-podatek {
    font-weight: bold;
    vertical-align: middle !important;
    height: auto;
}

td.mom-podatek-odhod {
    text-align: center;
}

td.mom-postaja-podatek {
    color: #d71921;
}


thead.podatkiHeader-postajaMOM > tr > td {
    font-size: 20px !important;
}


tbody.podatki-postajaMOM > tr > td {
    font-size: 24px !important;
}


b {
    font-weight: bold !important;
}
