﻿/*GENERAL*/
@media (min-width: 992px) {
    .nav-function-minify .nav-footer .nav-footer-buttons {
        display: block;
    }
}

.bg-faded-primary {
    box-shadow: 0 0 0.2cm var(--theme-primary);
}

.bg-faded-secondary {
    box-shadow: 0 0 0.2cm var(--theme-secondary);
}

.bg-faded-info {
    box-shadow: 0 0 0.2cm var(--theme-info);
}

.panelTagCustomPrimary {
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    background: #ededed;
    font-weight: 700;
    font-size: 0.8rem;
    -ms-border-radius: 0 0.3rem 0.3rem 0;
    border-radius: 0 0.3rem 0.3rem 0;
    /*border-left: 6px solid #8d8d8d;*/
    border-left: 6px solid var(--theme-primary);
}

/*.panelTagCustomSuccess {
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    background: #b9ceb4;
    font-weight: 700;
    font-size: 0.8rem;
    -ms-border-radius: 0 0.3rem 0.3rem 0;
    border-radius: 0 0.3rem 0.3rem 0;
    border-left: 6px solid  var(--theme-success);
}*/

.panelTagCustomDanger {
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    background: #dfcaca;
    font-weight: 700;
    font-size: 0.8rem;
    -ms-border-radius: 0 0.3rem 0.3rem 0;
    border-radius: 0 0.3rem 0.3rem 0;
    border-left: 6px solid var(--theme-danger);
}
.grecaptcha-badge {
    margin-bottom: 110px;
}

@media only screen and (max-width: 576px) {
    .card[class*='p-'] .card-header, .card[class*='p-'] .card-body {
        padding: .8rem !important;
    }
}

.subheader-title .subheader-icon{
    color: inherit;
}

.nav-menu li.active:not(.open) > a:before {
    color: var(--theme-primary);
}

.validation-summary-valid {
    display: none;
}
.validation-summary-errors ul {
    margin-bottom: 0;
    padding-left: 1rem;
}
.alert.validation-summary-errors {
    margin-bottom: 1rem;
}
.customValidationError {
    font-size: .8075rem;
    display: block;
    font-weight: bolder;
    width: 100%;
    color: var(--theme-danger);
    margin-left: 0.1rem;
}

.customValidationSummary {
    background-color: #fabdbf;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--theme-danger);
}

.customValidatorContainer {
    background-color: #fabdbf;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--theme-danger);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(17, 17, 17, 0.9);
    z-index: 9999;
}

.overlay__wrapper {
    width: 100%;
    height: 100%;
    z-index: 9999;
    position: relative;
}

.overlay__spinner {
    border-radius: 10rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.nav-menu li {
    position: relative;
    color: var(--theme-primary);
}

.nav-function-minify .nav-footer [data-class="nav-function-minify"] {
    color: #feffff;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    border: none;
    border-bottom: 2px solid  var(--theme-primary); !important;
    color: inherit;
    background-color: inherit;
}
.nav-tabs .nav-item .nav-link.active:not(:hover) {
    background-color: transparent;
}
.nav-tabs .nav-item .nav-link:hover {
    color: inherit;
}
.nav-tabs .nav-item .nav-link.not:active {
    color: transparent;
    border: none;
}
.nav-tabs .nav-link {
    border: none;
}
.nav-function-minify .nav-footer {
    background-color: transparent;
}
.nav-function-minify .nav-footer [data-class="nav-function-minify"] {
    line-height: 1.8125rem;
}
.nav-link-text {
    color: white;
    opacity: 70;
}

.nav-menu li a > [class*='fa-'], .nav-menu li a > .ni {
    color: white;
    opacity: 70;
}

@media (min-width: 992px) {
    .nav-function-minify:not(.nav-function-top) .page-sidebar .page-logo {
        width: 4.6875rem;
        padding: 0;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

.mod-nav-link:not(.nav-function-top):not(.nav-function-minify):not(.mod-hide-nav-icons) ul.nav-menu:not(.nav-menu-compact) > li > ul:before {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    left: 2.5625rem;
    top: 44px;
    bottom: 0;
    border-left: 1px solid grey;
}

.mod-nav-link:not(.nav-function-top):not(.nav-function-minify):not(.mod-hide-nav-icons) ul.nav-menu:not(.nav-menu-compact) > li > ul > li a:after {
    content: "";
    display: block;
    position: absolute;
    width: 0.4rem;
    height: 0.4rem;
    background-color: green;
    left: 2.4rem;
    top: calc(50% - 0.3rem);
    border: 1px solid #e2e2e2;
    border-radius: 50%;
    z-index: 1;
}

.nav-menu b.collapse-sign {
    display: -webkit-box;
    display: -ms-flexbox;
    margin-left: 0.3rem;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: white;
}
.nav-title {
    margin-top: 0.5rem;
    padding: 0.2rem 2rem;
}

.input-group-text:not(.dataTables_filter .input-group-text) {
    height: 100%; 
    display: flex;
    align-items: center;
}

.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(1.47em + 1rem + 2px);
    margin-bottom: 0;
    margin-top: 0;
}

.customTextArea {
    resize: none;
    height: calc(1.47em + 1rem + 2px) !important;
}

.input-group > .input-group-append > .btn {
    white-space: nowrap;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-left: -1px;
    margin-top: -2px;
}

.tooltip-inner {
    max-width: 300px;
    padding: 0.5rem 0.8rem;
    text-align: center;
    border-radius: 5px;
}

.form-group {
    margin-bottom: .5rem !important;
}

.form-label {
    font-weight: bolder;
    color: #2c2c2c;
}

.custom-control-label{
    font-weight: bolder;
}

.customHelpButton {
    padding: 0.175rem 0.54rem;
    font-size: .6875rem;
    line-height: 1.5;
    border-radius: 4px;
}
.help-block.customAccreditation {
    font-weight: bolder;
    font-style: italic;
}
.disabled:not(.btn), .disabled:not(.btn) > * {
    -webkit-filter: grayscale(80%);
    filter: grayscale(1%);
    opacity: 0.80;
    cursor: not-allowed;
}
.custom-checkbox {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

table.dataTable td.dataTables_empty, table.dataTable th.dataTables_empty {
    text-align: center;
    font-size: 16px;
    font-weight: bolder;
    color: var(--theme-danger);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}
th.dt-center, td.dt-center {
    text-align: center;
}
table.dataTable.table-sm > thead > tr > th {
    padding-right: 30px !important;
}
th.dt-center, td.dt-center {
    text-align: center;
}
div.dataTables_wrapper div.dataTables_length select {
    width: 65px !important;
}
div.dataTables_wrapper div.dataTables_info {
    padding-top: 0.1em !important;
    white-space: nowrap;
}

.datepicker {
    max-width: 99% !important;
}

.subheader {
    margin-bottom: calc(0.5rem + 0.5rem) !important;
}

.subheader-title {
    padding-left: 0.3rem;
    font-weight: 700;
}

.subheader-title > .far {
    margin-right: 0.5rem;
}

.panel-hdr.bg-primary {
    color: white var(--white);
}

@media (min-width: 992px) {
    .page-content .panel {
        margin-bottom: 0.8rem;
    }
}

.panel-hdr {
    min-height: 2rem;
}

.page-breadcrumb {
    padding: 0;
    background: transparent;
    margin: 0 0 1.5rem;
    position: relative;
    text-shadow: black 0 0;
}

.panel-toolbar .btn-panel {
    margin-left: 0.3rem;
    padding: 0;
    width: 1.5rem;
    height: 1.5rem;
    box-sizing: border-box;
    border-radius: 50%;
    opacity: 0.8;
}

.panel-toolbar .btn {
    background: whitesmoke !important;
}

.swal2-container.swal2-backdrop-show, .swal2-container.swal2-noanimation {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.customAccordion .card .card-header .card-title {
    margin-left: .3rem;
    font-size: 14px;
    font-weight: bolder;
    padding: .4rem !important
}

.accordion.accordion-outline .card {
    margin-bottom: 0.5rem;
    border: 2px solid #e6e7e7 !important;
    border-radius: 4px !important;
}

.customAccordion .card .card-body .form-group {
    padding-top: .5rem !important;
}

.customAccordion .card .card-body {
    padding: .5rem !important;
}

.accordion .card .card-header {
    background-color: #e6e7e7;
}

.tab-content{
    padding-top: .5rem;
}

.badge {
    padding: 0.4em 1em;
    font-size: smaller;
    font-weight: 400;
}

.dropdown-toggle:after, .dropleft .dropdown-toggle:before {
    text-align: center;
    display: inline;
    border: 0 !important;
    vertical-align: top !important;
    position: relative;
    margin-left: 8px;
}

.info-card {
    height: 1.5rem !important;
}
.info-card-text small {
    word-wrap: break-word;
}
.list-group-item {
    padding: 0.5rem 1rem 0.5rem 1rem;
    background-color: #f4f4f4;
}
.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.2rem;
}

.dividerHr {
    border: 0;
    border-top: 1px solid black;
    box-shadow: 0 0 0.1cm rgb(161 165 172);
    margin-bottom: 0.5rem;
    margin-top: 0.8rem;
}

.vl {
    border-left: 1px solid black;
    height: 30px;
    margin-left: 1rem;
}

.css-bottom {
    bottom: 0;
    position: absolute;
}

.required:after {
    content: " *";
    color: var(--theme-danger);
}


select.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    height: 1.8rem;
    vertical-align: middle;
    padding: 0.2rem 0.5rem 0.2rem
}
.customSubHeader {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 2.5rem;
    padding: 1rem 1.2rem 1rem 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 4px 4px 0 0;
    -webkit-transition: background-color 0.4s ease-out;
    transition: background-color 0.4s ease-out;
    background-color: var(--theme-secondary);
}

.customSubHeader .card-title {
    font-size: 0.7375rem;
}

.customPanelButton {
    margin-right: .5rem !important;
}

/*Buttons*/
.d-flex.justify-content-end.buttonsTemplate {
    margin-top: .5rem;
    display: flex;
    flex-wrap: wrap;
}

.d-flex.justify-content-end.buttonsTemplate button,
.d-flex.justify-content-end.buttonsTemplate a {
    min-width: 100px;
    margin: 5px;
}

/*Buttons laptop left*/
.d-flex.justify-content-start.buttonsTemplate {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.d-flex.justify-content-start.buttonsTemplate button,
.d-flex.justify-content-start.buttonsTemplate a {
    min-width: 100px;
    margin: 5px;
}

/*Buttons tablet*/
.d-flex.justify-content-center.buttonsTemplate {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.d-flex.justify-content-center.buttonsTemplate button,
.d-flex.justify-content-center.buttonsTemplate a {
    width: 100%;
    display: block;
    min-width: 100px;
    margin: 5px;
}

/*Buttons mobile*/
.d-flex.flex-column.buttonsTemplate {
    margin-top: .7rem;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    display: flex;
    flex-wrap: wrap;
}

.d-flex.flex-column.buttonsTemplate button,
.d-flex.flex-column.buttonsTemplate a {
    width: 100%;
    display: block;
    margin: .6rem 0 0 0;
    min-width: 100px;
}
/*Buttons end*/

/*Toast*/
.toast {
    max-width: 100%;
    text-align: center !important;
}

#toast-container > .toast-info {
    background-image: none;
    background-color: var(--theme-info);
    color: white;
}

#toast-container > .toast-error {
    background-image: none;
    background-color: var(--theme-danger);
    color: white;
}

#toast-container > .toast-warning {
    background-image: none;
    background-color: var(--theme-warning);
    color: white;
}

#toast-container > .toast-success {
    background-image: none;
    background-color: var(--theme-success);
    color: white;
}

.toast-message {
    margin-top: 5px;
}

#toast-container.toast-top-full-width > div, #toast-container.toast-bottom-full-width > div {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}

#toast-container.toast-top-full-width > div, #toast-container.toast-bottom-full-width > div, #toast-container.right > div {
    width: 40% !important;
}



/*CUSTOM APP RULES*/

.input-80 {
    flex: 0 0 80% !important;
}

.input-70 {
    flex: 0 0 70% !important;
}

.input-30 {
    flex: 0 0 30% !important;
}

.input-20 {
    flex: 0 0 20% !important;
}

.panelTagCustomSuccess {
    border-left: 6px solid #0080ff;
    background: #cce6ff;
    font-size: 12px;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.7rem 0.7em;
    font-weight: 700;
    color: var(--theme-primary-900);
}

.panelTagCustomItemShaded {
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    padding-top: 0.3rem;
    background-color: #00000025;
}

.panelTagCustomItemDelete .fas {
    /*color: #ad2929 !important;*/ /* Set icon color */
    color: white !important;
}

.panelTagCustomItemDelete {
    position: absolute;
    right: -8px;
    width: 2rem;
    top: 5px;
    bottom: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: #e6e7e7;*/
    background: #ad2929;
    border: none;
}

.panelTagCustomIteminnerDelete {
    background-color: none;
    border: 1px solid #ad2929;
    padding: 4px 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panelTagCustomItemDelete:hover {
    /*background-color: #ad2929;*/ /* Change background color on hover */
    /*border-color: #ad2929;*/ /* Change border color on hover */
    background-color: #e6e7e7;
    border-color: #e6e7e7;
}

.panelTagCustomItemDelete:hover .fas {
    /*color: white !important;*/ /* Change icon color on hover */
    color: #ad2929 !important;
}

.slight-darken {
    background-color: rgba(0, 0, 0, 0.05); /* lagano potamnjenje */
    font-weight: bold; /* bold tekst */
    color: #000; /* crni tekst */
}

/* checked bold checkboxes */

.custom-control-input:checked ~ .custom-control-label {
    font-weight: bolder !important; /* bold samo kad je checked */
}

.custom-control-input:not(:checked) ~ .custom-control-label {
    font-weight: normal !important; /* normal kad nije checked */
}

.custom-control-label {
    color: #222 !important;
}

.mod-skin-dark:not(.mod-skin-light) .custom-control-label {
    color: #ddd !important;
}

.deleted-row td:first-child {
    border-left: 3px solid #b22222 !important;
}

body.mod-skin-dark:not(.mod-skin-light) input.form-control.valid:-webkit-autofill,
body.mod-skin-dark:not(.mod-skin-light) input.form-control.valid:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #202125 inset !important;
    -webkit-text-fill-color: #fff !important;
}




/*DOkumenti prikazani kao stranice*/

