/* ======================= DEFAULT STYLES ======================= */
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    width: 100%;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: var(--main-bg-color-content);
    background-size: cover;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-link {
    margin-left: auto;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* ======================= VARIABLES ======================= */
:root {
    --main-text-color: #FFFFFF;
    --alternative-text-color: #114F72;
    --main-title-color: #649BEF;
    --main-text-color-check: #008000;
    --main-text-color-cross: #FF0000;
    --main-box-shadow-color-input: rgba(0, 0, 0, 0.05);
    --main-box-shadow-color-btn: rgba(0, 0, 0, 0.15);
    --alternative-box-shadow-color: #000000;
    --main-bg-color-nav: #649BEF;
    --main-bg-color-btn: #649BEF;
    --main-bg-color-input: #F3F6F7;
    --main-bg-color-content: #E3E8EB;
    --main-bg-color-hover: #a3c4e6;
    --main-bg-color-active: #8daac7;
    --main-border-color: #000000;
    --alternative-border-color: #808080;
}

/* ======================= LOGIN STYLES ======================= */
.page-heading {
    text-align: center;
    color: var(--main-title-color);
    margin-top: 10%;
}

.main-div {
    width: 75%;
    margin: 0px auto;
}

.login-info {
    display: grid;
    grid-template-columns: auto;
    gap: 16px;
}

.login-info-item {
    text-align: center;
}

.login-input {
    background-color: var(--main-bg-color-input);
    width: 80%;
    padding: 6px 16px;
    border: 0px;
    border-radius: 12px !important;
    margin: 0px auto;
    box-shadow: 1px 2px 2px var(--main-box-shadow-color-input);
    outline: none;
    color: black !important;
}

.validation-left {
    display: block;
    text-align: left;
    width: 80%;
    margin-left: 10%;
    margin-top: 4px;
}

.checkbox-div {
    width: 80%;
    margin-left: 10%;
}

.login-btn {
    width: 36%;
    color: var(--main-text-color);
    background-color: var(--main-bg-color-btn);
    padding: 8px;
    border: 0px;
    border-radius: 12px;
    margin: 0px auto;
    box-shadow: 0px 2px 2px var(--main-box-shadow-color-btn);
}

    .login-btn:hover {
        color: var(--main-text-color);
        background-color: var(--main-bg-color-hover);
    }

    .login-btn:active {
        background-color: var(--main-bg-color-active);
    }

.additional-option {
    width: 50%;
    height: 70px;
    text-align: center;
    margin-top: 36px;
    margin-left: auto;
    margin-right: auto;
}

.additional-option-text {
    color: var(--main-title-color);
}

.additional-option-btn {
    color: var(--main-text-color);
    background-color: var(--main-bg-color-btn);
    text-decoration: none;
    position: relative;
    padding: 3px 16px;
    border: 0px;
    border-radius: 12px;
    box-shadow: 0px 2px 2px var(--main-box-shadow-color-btn);
}

    .additional-option-btn:hover {
        color: var(--main-text-color);
        background-color: var(--main-bg-color-hover);
    }

    .additional-option-btn:active {
        background-color: var(--main-bg-color-active);
    }

.no-decoration {
    text-decoration: none;
}

@media screen and (max-width: 1000px) {
    .main-div {
        width: 75%;
    }
}

@media screen and (max-width: 600px) {
    .main-div {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .additional-options {
        justify-content: center;
    }

    .additional-option {
        width: 250px;
        margin-bottom: 16px;
    }
}

/* ======================= REGISTER STYLES ======================= */
.page-subheading {
    text-align: center;
    color: var(--alternative-text-color);
}

.text-color {
    color: var(--alternative-text-color);
}

.register-btn {
    width: 36%;
    color: var(--main-text-color);
    background-color: var(--main-bg-color-btn);
    padding: 8px;
    border: 0px;
    border-radius: 12px;
    margin: 16px auto 0 auto;
    box-shadow: 0px 2px 2px var(--main-box-shadow-color-btn);
}

    .register-btn:hover {
        color: var(--main-text-color);
        background-color: var(--main-bg-color-hover);
    }

    .register-btn:active {
        background-color: var(--main-bg-color-active);
    }

/* ======================= GENERAL STYLES ======================= */
.valid-sum ul {
    list-style: none;
    text-align: center;
    font-weight: bold;
    padding: 0px;
}

.footer {
    background: var(--main-bg-color-content);
    overflow: hidden;
    height: 6vh;
    position: fixed;
}

.navbar-padding {
    padding: 10px 15px;
}

.container-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-left: 15px;
}

.nav-link {
    display: flex;
    justify-content: right;
    font-size: 16px;
}

    .nav-link > span {
        width: 24px;
    }

.nav-item {
    padding: 16px 16px 8px !important;
    font-size: 14.4px !important;
    margin-top: 7px;
}

.navbar-brand {
    font-size: 20px !important;
    margin: 0px 16px 0px 0px;
    padding: 6px 0px;
}

.navbar-toggler-login {
    margin: 4px 8px;
}

.navbar-toggler-content {
    margin: 5px 8px;
}

main {
    min-height: fit-content;
}

.container main .main-content {
    background: var(--main-bg-color-content);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border-radius: 30px;
    position: relative;
    top: 80px;
}

    .container main .main-content h1 {
        margin-top: 15px;
    }

.horizontal-line {
    display: none;
}

@media screen and (min-height: 1100px) {
    .container main .main-content {
        height: 40vh;
    }
}

#trazilica{
    font-size: 14px;
    padding-top: 10px;
}


/* ======================= NAVBAR STYLES ======================= */
.custom-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    min-height: 50px;
    background-color: var(--main-bg-color-nav) !important;
}

.nav-heading {
    padding-top: 16px;
    padding-bottom: 16px;
}

.custom-sidebar {
    width: 100%;
    height: 50px;
    position: sticky;
    top: 0;
    background-color: var(--main-bg-color-nav) !important;
}

.nav-text-color {
    color: var(--main-text-color) !important;
}

.nav-color {
    background-color: var(--main-bg-color-nav) !important;
}

.collapse .nav-color {
    height: 0;
    transition: 1s;
}

.nav-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.nav-auth-item {
    display: table;
    text-align: center;
}

.nav-vertical-center {
    display: table-cell;
    vertical-align: middle;
    color: var(--main-text-color);
    text-decoration: none;
}

.link-nav:active {
    color: var(--main-text-color);
}

.link-nav:hover {
    color: var(--main-text-color);
}

.bold {
    font-weight: bold;
}

.btn-top {
    z-index: 3;
    background-color: var(--main-bg-color-btn) !important;
}

.navbar-toggler {
    display: inline-block;
    height: 32px !important;
    font-size: 20px;
}

.nav-title {
    justify-content: space-between !important;
}

.svg-icon {
    font-size: 18px;
    width: 32px;
}

.auth-links {
    display: flex;
    flex-direction: row;
}

.language-select {
    background-color: var(--main-bg-color-nav);
    color: var(--main-text-color);
    width: 50px;
    border: none;
    margin: 8px 8px 8px auto;
}

.language-select-option {
    padding: 4px;
}

@media screen and (max-width: 640px) {
    .custom-sidebar {
        width: 100%;
    }

    .nav-position {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .collapsing {
        -webkit-transition: none;
        transition: none;
        display: none;
    }

    .nav-title {
        justify-content: space-between !important;
    }
}

@media screen and (max-width: 350px) {
    .nav-auth {
        gap: 4px;
    }

    .nav-heading {
        position: absolute;
        top: 0px;
        left: 0px;
    }

    .app-name {
        padding-left: 0px !important;
    }
}

@media screen and (max-width: 575px) {
    .language-select {
        margin-right: 0px;
        margin-left: 0px;
    }

    .navbar-nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding-right: 5px;
    }

    .auth-links {
        display: flex;
        flex-direction: column;
    }
}

/* ======================= RECEIPT LIST STYLES ======================= */
.homepage-heading {
    text-align: center;
    color: var(--main-title-color);
    margin-bottom: 25px;
    margin-top: 5%;
}

.homepage-subheading {
    color: var(--main-title-color);
    margin-top: 50px;
    margin-bottom: 15px;
}

.filters {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 16px;
}

.filter-item {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 16px;
}

.filter-checkbox > label > input {
    margin-right: 8px;
}

.filter-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.filter-date {
    display: grid;
    grid-template-rows: auto auto;
    gap: 8px;
}

.filter-date-label {
    text-align: center;
}

.pagination {
    justify-content: space-between;
    font-size: 12px;
    color: var(--alternative-text-color);
    padding: 0px 16px;
}

#pagination-select {
    font-size: 16px;
    font-weight: bold;
    background-color: transparent;
    border: none;
    margin-top: 2px;
}

.page-number {
    font-size: 16px;
    font-weight: bold;
    margin-left: 12px;
    margin-right: 12px;
}

.page-nearby {
    font-size: 16px;
    margin-left: 8px;
    margin-right: 8px;
    cursor: pointer;
}

.pagination-icon {
    margin-top: 4px;
    cursor: pointer;
}

.page-extreme {
    font-size: 16px;
    font-weight: bold;
    margin-left: 12px;
    margin-right: 12px;
    cursor: pointer;
}

@media screen and (max-width: 500px) {
    .page-extreme {
        display: block;
    }

    .pagination {
        flex-direction: column;
        justify-content: center;
    }

    #pagination-select {
        margin-top: 12px;
        margin-bottom: 4px;
    }
}

@media screen and (min-width: 1000px) {
    .pagination {
        justify-content: space-around;
    }
}

@media screen and (max-width: 1050px) {
    .filter-item {
        grid-template-columns: auto;
        gap: 8px;
    }
}

@media screen and (min-width: 1500px) {
    .filter-item {
        grid-template-columns: 1fr 2fr;
        gap: 16px;
    }
}

/* ======================= FIND-RECEIPT STYLES ======================= */
.text-info-home {
    text-align: center;
}

.find-receipt-info {
    display: grid;
    grid-template-columns: auto;
    gap: 16px;
}

.find-receipt-info-item {
    display: grid;
    grid-template-columns: 2fr 3fr;
    text-align: right;
}


/*R1 Račun*/
.prikazi-racunR1 {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000000cf;
    top: 0;
    left: 0;
    z-index: 1;
}

.racun-input {
    position: relative;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 90%;
}


.find-receipt-info-itemr1 {
    display: flex;
    text-align: right;
    padding-top: 20px;
    padding-bottom: 10px;
    justify-content: center;
    align-items: center;
}

.input-flex{
    flex: 0.5;
}

.find-receipt-info-itemr1 label {
    margin-right: 10px;
}
    
.find-receipt-inputr1 {
    padding: 4px 8px;
    flex:2;
    margin-right: 10px;
}

/*
.position {
    position: relative;
    width: 100%;
    height: 100%;
}
*/

.racun-btn-divr1 {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;  
    margin-top: -60px;
}

.racun-btnr1 {
    position: relative;
    color: var(--main-text-color);
    background-color: var(--main-bg-color-btn);
    border: 0px;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 2px 4px 20px var(--main-box-shadow-color-btn);
    width: 33%; 
}
 
.racun-btn-divr {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
}


.racun-btnr {
    position: relative;
    color: var(--main-text-color);
    background-color: var(--main-bg-color-btn);
    border: 0px;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 2px 4px 20px var(--main-box-shadow-color-btn);
    width: 33%; 
}

/*Kraj R1 računa*/

/*Email input*/
.prikazi {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000000cf;
    top: 0;
    left: 0;
    z-index: 1;
}

.email-input {
    position: relative;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 60%;
}

.input-flex-email {
    flex: 0.5;
    margin-right: 10px;
}


.input-useremail {
    padding: 4px 8px;
    flex: 2;
    margin-right: 12px;
}

.find-receipt {
    display: flex;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    justify-content: center;
    align-items: center;
}

.racun-btn-divemail {
    position: relative;
    display: flex;
    justify-content: space-evenly;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    margin-top: -50px;
}

.racun-btnemail {
    position: relative;
    color: var(--main-text-color);
    background-color: var(--main-bg-color-btn);
    border: 0px;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 2px 4px 20px var(--main-box-shadow-color-btn);
    width: 33%;
}

/*Kraj email input*/

.inputBr {
    position: relative;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    width: 90%;
}

#parking {
    border-right: 16px solid transparent;
}

#start-date {
    margin-bottom: 8px;
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr;
    width: 90%;
    margin: 0px auto;
}

#start-date, #end-date {
    width: 100%;
}

@media screen and (min-width: 900px) {
    .date-inputs {
        grid-auto-flow: column;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        gap: 16px;
    }

    #end-date {
        margin-bottom: 8px;
    }
}

@media screen and (min-width: 1500px) {
    .date-inputs {
        width: 80%;
    }
}

.find-receipt-input {
    background-color: var(--main-bg-color-input);
    width: 90%;
    padding: 8px 16px;
    border: 0px;
    border-radius: 12px;
    margin: 0px auto;
    box-shadow: 1px 2px 2px var(--main-box-shadow-color-input);
    outline: none;
}

.find-btn-div {
    text-align: center;
    margin-bottom: 60px;
}

.find-btn {
    width: 36%;
    color: var(--main-text-color);
    background-color: var(--main-bg-color-btn);
    padding: 8px;
    border: 0px;
    border-radius: 12px;
    box-shadow: 2px 4px 20px var(--main-box-shadow-color-btn);
}

.find-state {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.check {
    color: var(--main-text-color-check);
    font-weight: bold;
}

.cross {
    color: var(--main-text-color-cross);
    font-weight: bold;
}

.receipt-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.find-receipt-btn {
    width: 45%;
    color: var(--main-text-color);
    background-color: var(--main-bg-color-btn);
    padding: 8px;
    border: 0px;
    border-radius: 12px;
    box-shadow: 0px 2px 2px var(--main-box-shadow-color-btn);
}

.filter-item-input {
    background-color: var(--main-bg-color-input);
    width: 80%;
    padding: 8px 16px;
    border: 0px;
    border-radius: 12px;
    margin: 0px auto;
    box-shadow: 1px 2px 2px var(--main-box-shadow-color-input);
}

.receipt-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: var(--main-text-color);
    background-color: var(--main-bg-color-btn);
}

#receipt-return {
    width: 100%;
}

.receipt-view {
    width: 100%;
    height: 75vh;
    margin-bottom: 20px;
}

.h-line-bold {
    border-top: 2px solid var(--main-border-color) !important;
    margin: 4px 8px;
}

.h-line {
    border-top: 1px solid var(--main-border-color) !important;
    margin: 2px 8px;
}

.receipt-list {
    width: 100%;
    text-align: center;
    background-color: var(--main-bg-color-input);
    padding-bottom: 4px;
    border-radius: 12px;
    box-shadow: 1px 2px 2px var(--main-box-shadow-color-input);
}

.mb-75px {
    margin-bottom: 75px;
}

.receipt-head {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    font-weight: bold;
    padding: 8px 8px 4px 8px;
}

.receipt-item {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 4px 8px 4px 8px;
}

.receipt-list-head {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    font-weight: bold;
    padding: 8px 8px 4px 8px;
}

.receipt-list-items {
    display: grid;
    grid-template-rows: 1fr;
    gap: 4px;
}

.receipt-list-item {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 4px 8px 4px 8px;
}

.receipt-parking, .receipt-registration, .receipt-card, .receipt-date, .receipt-view-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.receipt-btn {
    width: 100%;
    color: var(--main-text-color);
    background-color: var(--main-bg-color-btn);
    border: 0px;
    border-radius: 12px;
    box-shadow: 0px 2px 2px var(--main-box-shadow-color-btn);
}

@media screen and (max-width: 403px) {
    .find-receipt-info-item {
        display: grid;
        grid-template-columns: auto;
        text-align: center;
    }
}

@media screen and (max-width: 450px) {
    .find-btn {
        width: 50%;
    }
}

@media screen and (max-width: 500px) {
    .receipt-list-head {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-auto-flow: column;
    }

    .receipt-list-item {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-auto-flow: column;
    }

    .receipt-view-btn {
        grid-row-start: 1;
        grid-row-end: 3;
    }
}


@media screen and (max-width: 504px) {
    .receipt-item > .receipt-registration {
        word-break: break-all;
    }

    .receipt-item > .receipt-date {
        word-break: break-all;
    }

    .receipt-list-item > .receipt-registration {
        word-break: break-word;
    }

    .receipt-list-item > .receipt-date {
        word-break: break-word;
    }
}

@media screen and (max-width: 363px) {
    .receipt-list-head {
        grid-template-columns: repeat(2, 1fr);
    }

    .receipt-list-item {
        grid-template-columns: repeat(2, 1fr);
    }

    .receipt-view-btn {
        grid-row-start: 3;
        grid-row-end: 4;
        grid-column-start: 1;
        grid-column-end: 3;
    }
}

@media screen and (min-width: 1000px) {
    .find-receipt-info-item {
        display: grid;
        grid-template-columns: 2fr 3fr;
        text-align: right;
    }

    .find-btn-div {
        text-align: center;
    }

    .find-btn {
        width: 30%;
    }

    .receipt-button {
        width: 60%;
    }

    .find-receipt-btn {
        width: 30%;
    }
}

@media screen and (min-width: 1500px) {
    .find-receipt-input {
        width: 80%;
    }

    .find-btn-div {
        text-align: center;
    }

    .find-btn {
        width: 30%;
    }

    .receipt-button {
        width: 40%;
    }

    .find-receipt-btn {
        width: 25%;
    }
}

.container-lg {
    max-width: unset;
}


@media screen and (min-width: 1300px) {
    .container-lg {
        width: 1300px;
    }
}

.container-lg main .main-content {
    display: block;
    padding: 36px;
}

    .container-lg main .main-content h1 {
        margin-top: 0;
    }

.nav-item .nav-link.active {
    background: var(--main-bg-color-nav);
    color: var(--main-text-color);
    font-weight: bold;
}

.row .login-input {
    width: 100%;
}

.row {
    margin: 30px 0;
}

.input-group-append + .login-input {
    border-radius: 12px 0 0 12px !important;
    width: auto;
}

.text-success {
    border: 0px;
    border-radius: 0 12px 12px 0;
    margin: 0px auto;
    box-shadow: 1px 2px 2px var(--main-box-shadow-color-input);
}

.row.manage-content {
    justify-content: center;
}

    .row.manage-content > div {
        width: 75%;
    }

    .row.manage-content form {
        text-align: center;
    }

        .row.manage-content form .row {
            align-items: center;
            margin: 20px 0;
        }

.col-md-9 h3 {
    text-align: center;
}

.personal-data {
    display: flex;
    justify-content: center;
}

.form-control:focus {
    background-color: var(--main-bg-color);
    box-shadow: 1px 2px 2px var(--main-box-shadow-color-input);
}

.form-control.login-input {
    width: 75%;
}

.form-label {
    margin: 0;
    text-align: right;
}

.row.input-group .col-md-9 div {
    width: 10%;
    margin-left: -5px;
}

.row.input-group .col-md-9 input {
    width: 90%;
    margin-right: -5px;
    border-radius: 12px 0 0 12px !important;
}

.row.input-group .col-md-9 * {
    display: inline-block;
}

.row.input-group .col-md-9 {
    padding: 0;
}

@media screen and (max-width: 767px) {
    .nav-title {
        padding: 16px 12px;
        font-size: 20px !important;
    }

    .nav-item {
        padding: 16px 16px 8px !important;
        font-size: 14.4px !important;
        margin-top: 7px;
    }

    .navbar-brand {
        font-size: 20px !important;
        margin: 0px 16px 0px 0px;
        padding: 6px 0px;
    }

    body {
        display: flex;
        flex-direction: column;
    }

        body > .container-lg, main {
            height: 100%;
            padding: 0;
        }

    .container main .main-content {
        top: 0;
        border-radius: 0;
        padding: 25px 15px;
    }

    /*#background {
        display: none;
    }*/

    .nav-account {
        padding: 10px 15px;
    }

    .navbar-collapse {
        padding-left: 15px;
    }

    .footer {
        padding: 0 15px;
        border-top: var(--alternative-border-color) solid 1px;
    }

    .form-control.login-input, .row.manage-content > div {
        width: 100%;
    }

    .login-input {
        width: 95%;
    }

    .row.manage-content > div {
        padding: 0;
    }

    .form-label {
        text-align: left;
        font-size: 20px;
        padding: 0;
    }

    .col-md-9 h3 {
        font-size: 23px;
    }

    .row {
        margin: 0;
    }

    .horizontal-line {
        display: block;
        margin: 25px 0;
    }

    .row.input-group .col-md-9 input {
        margin-right: -10px;
    }
}

.required {
    color: #ff0000;
    margin-top: 25px;
}

.prikazi-racun {
    /*display: none;*/
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000000cf;
    top: 0;
    left: 0;
    z-index: 1;
}

.racun {
    position: relative;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 90%;
    width: 90%;
}

    .racun img {
        height: 100%;
        width: 100%;
        object-fit: contain;
        padding: 15px;
    }

.racun-btn-div {
    position: relative;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-evenly;
    width: 50%; 
}

.racun-btn {
    color: var(--main-text-color);
    background-color: var(--main-bg-color-btn);
    padding: 8px;
    border: 0px;
    border-radius: 12px;
    box-shadow: 2px 4px 20px var(--main-box-shadow-color-btn);
    width: 33%;
}

@media screen and (max-width: 860px) {
    .racun-btn-div {
        width: 80%;
    }
}

@media screen and (max-width: 550px) {
    .racun-btn-div {
        width: 100%;
    }
}

.error {
    color: red;
}

label {
    display: block;
}

/* Loading styles */
#loader {
    border: 5px solid var(--main-bg-color-input);
    border-top: 5px solid var(--main-bg-color-nav);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 12px auto 0px auto;
}

#loaderBrojRacuna {
    border: 5px solid var(--main-bg-color-input);
    border-top: 5px solid var(--main-bg-color-nav);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 12px auto 0px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}