﻿.toggle-bar {
    min-width: 300px !important;
    width: auto;
}

.custom-flex-row {
    flex-wrap: wrap;
}

@media only screen and (max-width: 360px) {

    .login-box {
        width: 80% !important;
        left: 0% !important;
        margin-left: auto !important;
        margin-right: auto;
        background-color: white !important;
        top: 8% !important;
        padding: 32px 32px 10px 32px !important;
        box-shadow: 4px 4px 10px 0px rgba(18, 10, 109, 0.25) !important;
    }

    .login-form {
        height: unset !important;
    }

    .fg-holder {
        width: 100%;
    }

    #uname {
        width: 100% !important;
    }

    #pwd {
        width: 100% !important;
    }

    #btn-prijava {
        width: 100% !important;
    }

    .custom-card-large-text {
        font-size: 30px !important;
    }

    #mobile-navi {
        display: flex !important;
    }

    #desktop-navi {
        display: none;
    }

    .left-sidebar {
        display: none;
    }

    .scroll-sidebar {
        display: none;
    }

    .page-wrapper {
        margin-left: 0 !important;
    }

    .page-wrapper > .container-fluid {
        padding: 3px 0px !important;
    }

    .uredi {
        display: none;
    }

    .view-header {
        display: none;
    }

    .rm-br {
        display: none;
    }

    .responzivna-forma {
        flex-direction: column !important;
    }

    .col-3 {
        max-width: 100%;
    }

    #nova-grupa-btn {
        display: none;
    }

    #uredi {
        display: none;
    }

    #novo-osoblje-btn {
        display: none;
    }

    #novi-kupac-btn {
        display: none;
    }

    .form-group {
        margin-bottom: 10px;
    }

    #forma-pregled-racuna {
        display: none;
    }

    #forma-pregled-prometa {
        display: none;
    }

    #novi-nacin-placanja-btn {
        display: none;
    }

    #forma-rekapitulacija-prometa {
        display: none;
    }

    #forma-prodani-artikli {
        display: none;
    }

    #forma-karticne-transakcije {
        display: none;
    }

    #detalji-transakcije {
        display: none;
    }

    #row-mobile .col-2 {
        flex: unset;
        max-width: unset;
    }

    #user-box {
        margin-right: 0 !important;
        right: unset !important;
        width: 84% !important;
        margin-left: 8%;
    }

    .responsive-row {
        flex-direction: column;
    }

    .brzi-pregled-card {
        width: 100% !important;
    }

    .brzi-pregled-card-holder {
        flex-direction: column;
        row-gap: 20px;
    }

    .filtri-holder {
        flex-direction: column;
    }

    .porezi-holder {
        flex-direction: column !important;
    }

    .porezi-grid {
        width: 100% !important;
    }

    .porezi-form {
        width: 100% !important;
    }
}

@media only screen and (min-width: 361px) and (max-width: 768px) {

    .login-box {
        width: 80% !important;
        left: 0% !important;
        margin-left: auto !important;
        margin-right: auto;
        background-color: white !important;
        top: 8% !important;
        padding: 32px 32px 10px 32px !important;
        box-shadow: 4px 4px 10px 0px rgba(18, 10, 109, 0.25) !important;
    }

    .login-form {
        height: unset !important;
    }

    .fg-holder {
        width: 100%;
    }

    #uname {
        width: 100% !important;
    }

    #pwd {
        width: 100% !important;
    }

    #btn-prijava {
        width: 100% !important;
    }

    .custom-card-large-text {
        font-size: 30px !important;
    }

    #mobile-navi {
        display: flex !important;
    }

    #desktop-navi {
        display: none;
    }

    .left-sidebar {
        display: none;
    }

    .scroll-sidebar {
        display: none;
    }

    .page-wrapper {
        margin-left: 0 !important;
    }

    #user-box {
        margin-right: 0 !important;
        right: unset !important;
        width: 84% !important;
        margin-left: 8%;
    }

    #start-logo-mobile {
        display: block !important;
    }

    .page-wrapper > .container-fluid {
        padding: 3px 0px !important;
    }

    .uredi {
        display: none;
    }

    .view-header {
        display: none;
    }

    .rm-br {
        display: none;
    }

    .responzivna-forma {
        flex-direction: column !important;
    }

    .col-3 {
        max-width: 100%;
    }

    #nova-grupa-btn {
        display: none;
    }

    #novo-osoblje-btn {
        display: none;
    }

    #novi-kupac-btn {
        display: none;
    }

    #novi-nacin-placanja-btn {
        display: none;
    }

    #uredi {
        display: none;
    }

    .form-group {
        margin-bottom: 10px;
    }

    #forma-pregled-racuna {
        display: none;
    }

    #forma-pregled-prometa {
        display: none;
    }

    #forma-karticne-transakcije {
        display: none;
    }

    #forma-rekapitulacija-prometa {
        display: none;
    }

    #forma-prodani-artikli {
        display: none;
    }

    #detalji-transakcije {
        display: none;
    }

    #row-mobile .col-2 {
        flex: unset;
        max-width: unset;
    }

    .responsive-row {
        flex-direction: column;
    }

    .brzi-pregled-card {
        width: 100% !important;
    }

    .brzi-pregled-card-holder {
        flex-direction: column;
        row-gap: 20px;
    }

    #container {
        overflow: auto !important;
    }

    .filtri-holder {
        flex-direction: column;
    }

    .porezi-holder {
        flex-direction: column !important;
    }

    .porezi-grid {
        width: 100% !important;
    }

    .porezi-form {
        width: 100% !important;
    }
}

@media only screen and (min-width: 769px) and (max-width:1024px) and (orientation: portrait) {

    .login-box {
        background-color: white !important;
        padding: 32px 32px 10px 32px !important;
        width: 50% !important;
        box-shadow: 4px 4px 10px 0px rgba(18, 10, 109, 0.25) !important;
        left: 47% !important;
    }

    .login-form {
        height: unset !important;
    }

    .fg-holder {
        width: 100%;
    }

    #uname {
        width: 100% !important;
    }

    #pwd {
        width: 100% !important;
    }

    #btn-prijava {
        width: 100% !important;
    }

    .responsive-row {
        flex-direction: column;
    }
}

@media only screen and (min-width: 769px) and (max-width:1350px) {
    .uredi-artikle-form .col-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .dodaj-artikle-form .col-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .uredi-grupu-form .col-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .dodaj-grupu-form .col-3 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    #user-box {
        width: 50% !important;
    }

    #novi-nacin-form .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #uredi-nacin-form .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #uredi-postavke-form .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #postavke-lokacije-form .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #uredi-lokaciju-form .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #container {
        overflow: auto !important;
    }

    .brzi-pregled-card {
        width: 49.5% !important;
    }

    .brzi-pregled-card-holder {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    #forma-pregled-racuna {
        width: 100% !important;
    }

    .filtri-holder {
        flex-wrap: wrap !important;
    }
}

@media only screen and (min-width: 1350px) {

    #novi-nacin-form .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #uredi-nacin-form .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #uredi-postavke-form .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media only screen and (min-height: 661px) and (max-height:1024px) and (orientation: landscape) {

    .auth-wrapper {
        height: 100vh;
    }

    .login-box {
        padding: 20px 10px !important;
    }

    .login-form {
        gap: 20px !important;
    }

    .login-fields {
        height: 45px !important;
        width: 300px !important;
    }

    #btn-prijava {
        width: 300px !important;
        height: 45px !important;
        font-size: 14px !important;
    }

}

@media only screen and (max-height: 660px) and (orientation: landscape) {

    .auth-wrapper {
        height: 100vh;
    }

    .login-box {
        padding: 20px 10px !important;
    }

    .login-form {
        gap: 8px !important;
    }

    .login-fields {
        height: 34px !important;
        width: 300px !important;
    }

    #btn-prijava {
        width: 300px !important;
        height: 34px !important;
        font-size: 14px !important;
    }

}

/*Brzi pregled*/
@media only screen and (min-width: 769px) and (max-width:1024px) {
    .brzi-pregled-card {
        width: 100% !important;
    }

    .brzi-pregled-card-holder {
        flex-direction: column;
        row-gap: 20px;
    }
}
