.ui-widget-header {
    border-color: #37a6cd;
    background: #37a6cd;
    color: #fff;
}

.alert.alert-info {
    background: #dff3f8;
    color: #7399b9;
    border-color: #93b9d8;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader {
    border: 8px solid #8dc63f;
    border-top: 8px solid #000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    display: none;
    z-index: 1001;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.invalid-feedback-custom {
    display: block !important;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
}

.error_message {
    color: red;
    font-size: 14px
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

li.jstree-leaf > a .jstree-icon {
    background-position: -103px -71px;
}

.context-icon {
    position: relative;
    top: -1px;
    left: -38px;
}

.context-text {
    position: relative;
    left: -30px;
}

.jstree-contextmenu {
    z-index: 30000 !important;
}


.alert-feedback {
    cursor: pointer;
    margin: 10px 0;
}


.image-container:hover {
    background-color: #ffffff;
}

#sortable-small-images .ui-state-default {
    cursor: move;
}

#sortable-small-images .non-sortable {
    cursor: not-allowed; /* Pokazivač pokazuje da nije moguće premještanje */
}

.white {
    background-color: white;
}

.image-link {
    display: inline-block;
    font-size: 16px;
    color: #007bff !important;
    text-decoration: underline !important;
    margin-top: 10px;
}

.image-link:hover {
    color: #0056b3; /* Tamnija plava na hover */
    text-decoration: none; /* Uklanja podcrtavanje na hover */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

li.jstree-leaf > a .jstree-icon {
    background-position: -103px -71px;
}

.context-icon {
    position: relative;
    top: -1px;
    left: -38px;
}

.context-text {
    position: relative;
    left: -30px;
}

.jstree-contextmenu {
    z-index: 30000 !important;
}


.alert-feedback {
    cursor: pointer;
    margin: 10px 0;
}

.main_container {
    width: 400px;
    text-align: center;
    float: left;
    margin-right: 10px;
}

.tag-item {
    background-color: #EEE;
    border-radius: 4px;
    padding: 4px;
    display: inline-block;
    margin: 4px;
}

.tag-item-remove-icon, .tag-item-remove-icon-attr, .brand-item-remove-icon {
    display: inline-block;
    top: 2px;
    left: 2px;
    position: relative;
    cursor: pointer;
}

.column {
    padding-bottom: 10px;
}

.portlet {
    margin: 0 0 10px 0;
    padding: 0em;
    border: 1px solid #37a6cd;
    border-radius: 4px;
}

.portlet-header {
    position: relative;
    padding: 0.5em 0.5em 0.5em 30px;
    border-radius: 0px;
    cursor: pointer;
    text-align: left;
}

.portlet-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -8px;
    cursor: pointer;
}

.portlet-content {
    padding: 0.4em;
    display: none;
    word-wrap: break-word;
}

.portlet-placeholder {
    margin: 0 0 10px 0;
    border: 2px dotted #37a6cd;
    background-color: #EEE;
    height: 50px;
}

.portlet-slider {
    position: absolute;
    top: 50%;
    left: 10px;
    margin-top: -8px;
}

.ui-icon-white {
    background-image: url("../images/ui-icons_ffffff_256x240.png") !important;
}

.filter-remove {
    background-color: #b94a48;
    width: 100%;
    text-align: center;
    color: white;
    height: 25px;
    padding-top: 5px;
    display: none;
}

.filter-remove label {
    display: table-cell;
    vertical-align: middle;
    font-weight: bold;
    font-size: 8pt;
}

.filter-remove input {
    height: 15px;
    width: 15px;
    margin-bottom: 5px;
}

.autocomplete-input {
    border-radius: 4px;
    background-color: #EEE;
    border: none;
    padding: 4px;
    width: 8em;
}

.btn-autocomplete-add {
    color: white !important;
    font-weight: normal !important;
    margin-left: 4px;
}

.ui-autocomplete {
    z-index: 20000 !important;
}