.bg-gray-dark {
	background: #929292 !important; }

.bg-font-gray-dark {
	color: #eeeeee !important; }

body[disabled=disabled] {
	overflow: hidden;
}
.page-sidebar-menu .disabled,
div[disabled=disabled] {
	pointer-events: none;
	opacity: 0.4;
}

.portlet-body img {
	max-width: 100%;
}

.page-header.navbar .page-logo .logo-default {
	margin: 8px 0 0!important;
}

.gravex-css-ellipses-1,
.gravex-css-ellipses-2,
.gravex-css-ellipses-3,
.gravex-css-ellipses-4 {
	display: -webkit-box!important;
	max-width: 100%;
	-webkit-box-orient: vertical;
	overflow: hidden
}
.gravex-css-ellipses-1 {
	-webkit-line-clamp: 1;
}
.gravex-css-ellipses-2 {
	-webkit-line-clamp: 2;
}
.gravex-css-ellipses-3 {
	-webkit-line-clamp: 3;
}
.gravex-css-ellipses-4 {
	-webkit-line-clamp: 4;
}

.grey-cell {
    background: #EFEFEF;
}

.file-upload-ui-filename {
    display: block;
    max-width: 350px;
    overflow: hidden;
}

@media print {
    .no-print {
        display: none;
    }

    table {
        border-collapse: collapse;
        width: 100%;
    }

    th, td {
        border: 1px solid #ddd;
        padding: 8px;
        text-align: left;
    }

    th {
        background-color: #f2f2f2;
    }

    a[href]:after {
        content: none !important;
    }
    .filters,
    .pagination {
        display: none;
    }

}

.nav-item.yellow i{
    color:yellow !important;
}


.loader-container {
    position: relative;
    pointer-events: none;
}

/* Затемнение фона */
.loader-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

/* Лоадер (например, спиннер) */
.loader-container::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

/* Анимация для спиннера */
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.print-icon {
    display: inline-block;
    vertical-align: middle;
    background-image: url(../img/print-icon.svg) !important;
    background-position: center;
    background-repeat: no-repeat;
    padding: 16px;
    font-size: 14px;
    background-color: var(--main-button-bg-color, #337ab7);
    background-size: 20px 20px;
    box-sizing: border-box;
}

/* Базовые стили для модального окна */
.custom_modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.custom_modal.show {
    display: block;
}

.custom_modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
    transform: translate(0, -100%);
    transition: transform 0.3s ease-out;
}

.custom_modal.show .custom_modal-dialog {
    transform: translate(0, 0);
}

.custom_modal-content {
    position: relative;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
}



.modal-body {
    position: relative;
    padding: 15px;
}

