/* ************************************* *\
 *                                  			*
 *   backend: BS Computer - Lazar Dudic  *
 *   project manager: BS Computer - Nina NIkolic  *
 *   frontend: BS Computer - Nina NIkolic  *
 *   designer: BS Computer - Nina NIkolic  *
 *   email: office@bscomputer.com         *
 *                            			      *
\* ************************************* */

:root {
    --white: #fff;

    --primary: #1a5f7f;

    --yellow: #FFAE1A;
    --green: #479447;
    --red: #FE6A49;
    --purple: #A4508B;
    --dark-gray: #212529;
    --second-text: #2b2f32;

    --light-gray: #F5F5F5;
    --text-gray: #848789cc;
    --ultra-light-gray: #f7f8f9;
    --label: #ced4da;
    --border: rgba(0, 0, 0, .12);
    --table-primary: rgba(218, 255, 213, .2);
    --table-primary-hover: rgba(218, 255, 213, 1);
    --table-danger: rgba(250, 107, 132, .2);
    --table-danger-hover: rgba(250, 107, 132, .4);

    --popup-shadow: 0 2px 8px rgba(0, 0, 0, 0.31), 0 1px 2px rgba(0, 0, 0, 0.37);

    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

html {
    overflow-x: hidden;
}

body {
    color: #2f2f3b;
    font-family: 'Poppins' !important;
    font-size: 14px;
}
.full-width {
    width: 100%;
}

.modal-dialog-end {
    margin: 0 0 0 auto;
}

.modal-fullscreen {
    height: auto;
    min-height: 100%;
    background-color: white;
}

.page-wrapper {
    position: relative;
}

.text-right {
    text-align: right !important;
    vertical-align: middle;
    align-content: center;
}

.page-wrapper.compact-wrapper .page-header {
    margin-left: 260px;
    width: calc(100% - 265px);
}

.page-wrapper .page-header {
    background-color: #fff;
    box-shadow: 0 4px 40px #2720781a;
    max-width: 100vw;
    position: fixed;
    top: 0;
    transition: .5s;
    z-index: 9;
}

.page-wrapper .page-body-wrapper {
    background-color: #f9f8f8;
    margin-top: -20px;
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper {
    background: #fff;
    box-shadow: 0 0 21px 0 #59667a1a;
    height: auto;
    line-height: inherit;
    position: fixed;
    text-align: left;
    top: 0;
    transition: .3s;
    width: 265px;
    z-index: 9;
}

.page-wrapper.compact-wrapper .page-body-wrapper .page-body {
    margin-left: 265px;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    position: relative;
    width: calc(100% - 260px);
    transition: all 0.5s ease;
    padding: 13px 25px;
    padding-top: 25px;
}

.page-wrapper.compact-wrapper .page-body-wrapper .page-body.full {
    margin-left: auto;
    margin-top: 0px;
    min-height: 100vh;
    position: relative;
    width: 100%;
    transition: all 0.5s ease;
    padding: 13px 30px;
    background: url('/images/bg-login.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0 auto;
    min-height: 100vh;
    padding: 30px 12px;
    align-items: center;

}
.p-15 {
    padding: 15px;
}
.page-header {
    padding: 13px 30px;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.right-header {
    float: right;
}


.dropbtn {
    background-color: #f5f6f9;
    border-radius: 50px;
    width: 45px;
    height: 45px;
    border: none;
    box-shadow: none;
    transition: all .3s ease;
    position: relative;
}



.user-dropbtn {
    background-color: transparent;
    border-radius: 0px;
    width: auto;
    height: auto;
    border: none;
    box-shadow: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .7px;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.dropbtn svg {
    stroke: #2f2f3be6;
    fill: #2f2f3be6;
    max-width: 25px;
    max-height: 25px;
}


.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    z-index: 99999;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f5f6f9;
    border: 1px solid var(--label);
    left: auto !important;
    right: -20px !important;
    width: 300px;
    box-shadow: 0 9px 20px #2e235e12;
    left: 0;
    padding: 10px;
    border-radius: 10px;
    z-index: 9999;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: var(--primary);
}

.dropdown:hover .dropbtn svg {
    stroke: #fff;
    fill: #fff;
    max-width: 25px;
    max-height: 25px;
    transition: all .3s ease;
}

/* .dropdown:hover .user-dropbtn {
  background-color: transparent;
  border-radius: 0px;
  width: auto;
  height: auto;
  border: none;
  box-shadow: none;
  color: var(--primary);
} */

.dropdown-content.notifikacije,
.dropdown-content.pracenja {
    padding: 10px;
    max-height: 500px;
    overflow-y: auto
}

.dropdown-content.notifikacije .unseen {
    background-color: #ddd;
}


.dropdown-content.notifikacije h6 {
    border-bottom: 1px solid #918e994d;
    padding: 20px;
    text-align: center;
    font-size: 18px !important;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 9px 20px #2e235e12;
    letter-spacing: .5px;
    margin-bottom: 30px;
}

.login-screen {
    max-width: 450px;
    margin: auto;

}

.login-screen .logo-placeholder {
    text-align: center;
    margin-bottom: 30px;
}

.login-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 37px #0815420d;
    margin: 0 auto;
    padding: 40px;
    width: 450px;
}


.headline {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--dark-gray);
}


.info-text {
    color: #898989;
    font-size: 14px;
    margin-bottom: 25px;
    letter-spacing: .7px;
    line-height: 1.7;
}

.hr-small {
    background-color: #f3f3ff;
}


img.table-image {
    max-width: 25px;
    vertical-align: top;
}

.headline,
.info-headline,
.naslov-vesti,
.panel-title a {

    font-weight: 500;
    color: var(--dark-text) !important;
}

.grey-background {
    background-color: #f3f3f3;
    border-radius: 10px;
    padding: 10px;
}

.permisije {
    border-bottom: 1px solid var(--text-gray);
    padding-bottom: 0px;
    padding-top: 20px;
}

.dozvole {
    padding: 20px 10px;
    border-radius: 0;
}

.modal-dialog.modal-dialog-centered {
    max-width: 800px;
}

.preview-image {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
}

.naslov-vesti {
    font-weight: 600;
    color: var(--dark-text) !important;
    font-size: 24px;
}

.hand {
    height: 26px;
}

h4 {
    font-size: 20px;
    margin-bottom: 0;
}

.text-truncate {
    color: var(--text-gray);
    padding: 0;
}


.breadcrumb {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    padding: 0rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: transparent;
    border-radius: 0.25rem;
    justify-content: end;
}

.number-notification {
    position: absolute;
    font-size: 10px;
    top: 6px;
    background: va;
    background-color: var(--red);
    width: 15px;
    height: 15px;
    border-radius: 100%;
    color: var(--white);
    line-height: 14px;
    text-align: center;
    right: 10px;
}

.select2-results__option {
    text-align: left !important;
}

.select2-selection__clear {
    position: absolute !important;
    right: 5px !important;
    z-index: 9999;
}

.pwa-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.pwa-modal-content {
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
}

.pwa-modal button {
    margin: 10px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.pwa-modal button#close-pwa {
    background-color: #f44336;
}


div:where(.swal2-icon).swal2-warning {
    color: var(--red);
    border-color: var(--red);
}

thead {
    border-bottom: 1px solid #dadada;
}

.filepond--credits {
    display: none;
}

.dropbtn.language {
    background-color: #f5f6f9 !important;
    border-radius: 5px;
    display: inline-block;
    margin-right: 10px;
    padding: 9px 12px;
    position: relative;
    width: auto !important;
    height: 45px;
}

.flag-icon {
    display: inline-block;
    line-height: 1em;
    position: relative;
    width: 1.3333333333em;
}

.lang-txt {
    display: inline-flex;
    font-weight: 500;
    margin-left: 8px;
    color: #2f2f3be6;
}

.dropbtn.language:hover {
    background-color: #f5f6f9;
}

.language-container {
    background-color: var(--primary);
    position: fixed;
    z-index: 9999999;
    bottom: 50%;
    right: 0;
    border-radius: 5px 0px 0px 5px;
    display: block;
    overflow: hidden;
    box-shadow: var(--shadow);
    color: var(--white);
}

.current-language {
    min-width: 20px;
}

.language-container a {
    text-decoration: none;
}

.current-language a span {
    color: var(--white);
    padding: 5px 10px;
    display: block;
}

.language-list {
    display: none;
    min-width: 100px;
}

.language-list a {
    font-weight: 400;
    text-transform: uppercase;
    color: var(--white) !important;
    padding: 5px 10px;
    font-size: 12px;
    display: block;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.language-container:hover .language-list {
    display: block;
}

.language-container:hover .current-language {
    display: none;
}

button:disabled {
    cursor: wait;
    opacity: 0.6;
}

table.osnovne-informacije .form-group {
    margin-bottom: 0;
}

p img {
    max-width: 150px;
    height: auto;
    display: block;
}

figcaption {
    display: none;
}

trix-editor .attachment {
    content: none !important;
}

figure.attachment {
    content: none !important;
}



.fixed {
    max-width: 550px;
    width: 100%;
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
}

.opis {
    width: 100%;
}

.attachment-preview>* {
    width: 95%;
    height: 96px;

}

.attachment-preview .img-thumbnail {
    padding: 0;
    background-color: #f9f8f8;
    border: 1px solid #f9f8f8;
    border-radius: 4px;
    width: 100%;
    height: 95px;
    object-fit: cover;
}



.attachment-preview .file-preview {
    padding: 8px;
    background-color: #f9f8f8;
    border: 1px solid #f9f8f8;
    border-radius: 4px;
    width: 100%;
    height: 95px;
    object-fit: cover;
    align-content: end;
    align-self: end;
    position: relative;

}

.file-preview.pdf {
    background-color: rgba(234, 111, 78, .1) !important;
}

.file-preview.xlsx {
    background-color: rgba(88, 178, 50, .1) !important;
}

.file-preview.docx {
    background-color: #1a5f7f1a !important;
}

.badge.extension {
    color: var(--white);
    font-weight: 600;
    font-size: 12px;
    background-color: rgb(184, 210, 228);
    position: absolute;
    top: 8px;
    left: 8px;
}

.attachment-preview .file-name {
    font-size: 12px;
    color: var(--dark-gray);

}

.file-preview.pdf .badge.extension {
    color: var(--white);
    background-color: var(--red);
}

.file-preview.xlsx .badge.extension {
    color: var(--white);
    background-color: var(--green);
}

.file-preview.docx .badge.extension {
    color: var(--white);
    background-color: var(--primary);
}

.cursor-pointer {
    cursor: pointer;
}

.form-group {
    position: relative;
    z-index: 0 !important;
}

.select2-container--bootstrap4 .select2-selection {

    height: auto !important;

}

.table-view td .prioritet::before::before,
.osnovne-informacije td .prioritet::before {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    right: 7px;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    content: '';
    width: 0;
}

.osnovne-informacije td .status::before {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    right: 7px;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    content: '';
    width: 0;
}

.osnovne-informacije .select2-container--bootstrap4 .select2-selection {
    background-color: #fff;
    border: 0px solid #aaa;
    border-radius: 4px;
}

.tabelarni {
    padding-right: 15px;
    padding-left: 15px;
}

.tabelarni-heading [class*='col-'] {
    padding: 12px;
    text-align: center;
    font-weight: bold;
}

.tabelarni-body [class*='col-'] {
    padding: 10px 0 10px 12px !important;
    padding-left: 12px;
    padding-left: 12px !important;
    align-self: center;
}


#dodajKomentar .spinner-border,
#izmeniKomentar .spinner-border{
    width: 1.2rem;
    height: 1.2rem;
  }



