﻿body {
    font-size: small !important;
}

.brand-link .brand-image {
    max-height: 48px;
    float: none;
}


.logo {
    background-color: #f4f6f9 !important;
    padding: 5px;
    border-bottom: 2px solid #dee2e6 !important;
    text-align: center;
}

    .logo img {
        max-height: 45px;
        float: none;
    }

.logo-grupo {
    background-color: #f4f6f9 !important;
    border-top: 2px solid #dee2e6 !important;
    text-align: center;
}

    .logo-grupo img {
        max-height: 45px;
        float: none;
    }


/*.logo {
    background-color: #f4f6f9 !important;
    padding: 5px;
    border-bottom: 1px solid #dee2e6 !important;
}

.logo-grupo {
    border-bottom: 1px solid #4f5962;
    background: #ffffff;
    width: 250px;
    margin-left: -8px;
}

    .logo-grupo .image {
        display: inline-block;
        padding-left: 0.8rem;
    }

    .logo-grupo img {
        max-height: 48px;
        margin-top: 10px;
    }*/

.sem-label {
    margin-top: 28px;
}

.multilinhas {
    resize: vertical;
    min-height: 100px;
}

.material-switch {
    /*margin: 5px 0 0px 15px;*/
}

    .material-switch > label {
        cursor: pointer;
        height: 0px;
        position: relative;
        width: 40px;
    }


    .material-switch > input[type="checkbox"] {
        display: none;
    }

    .material-switch > label::before {
        /* background-color: #dc3545; */
        /* border-color: #921925; */
        box-shadow: inset 0px 0px 10px rgb(0 0 0 / 50%);
        border-radius: 8px;
        content: '';
        height: 16px;
        margin-top: -8px;
        position: absolute;
        transition: all 0.4s ease-in-out;
        width: 30px;
    }

    .material-switch > label::after {
        /* background: #7c151f; */
        border-radius: 16px;
        box-shadow: 0px 0px 5px rgb(0 0 0 / 65%);
        content: '';
        height: 12px;
        left: 3px;
        margin-top: -2px;
        position: absolute;
        top: -4px;
        transition: all 0.3s ease-in-out;
        width: 12px;
    }

    .material-switch > input[type="checkbox"]:checked + label::before {
        /*background: inherit;*/
        background-color: #28a745;
        border-color: #145523;
        /*opacity: 0.5;*/
    }

    .material-switch > input[type="checkbox"]:checked + label::after {
        /*background: inherit;*/
        background-color: #86e29b;
        left: 16px;
    }

/*.label-success {
    background-color: #5cb85c;
}*/

.logo-login {
    max-width: 250px;
}

ul {
    list-style: none;
    margin-bottom: 0;
}

.dx-treelist-table > tbody > .dx-header-row, .dx-header-row {
    color: #fff;
    background-color: #212529;
    border-color: #383f45;
}

.dx-state-hover {
    background-color: #cfcfcf;
}

.dx-selection {
    background-color: transparent;
}

table{
    width:100% !important;
}

.select2 {
    width: 100% !important;
}

/* Aplica estilo para simular um campo readonly */
.select2-container--readonly .select2-selection--single {
    background-color: #e9ecef;
    cursor: not-allowed;
    pointer-events: none;
}

.notyf {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.tui-image-editor-header-logo,
#tui-image-editor-diagrama-unifilar .tui-image-editor-header-buttons,
/*#tui-image-editor-diagrama-unifilar .tui-image-editor-help-menu,*/
#tui-image-editor-diagrama-unifilar .tie-btn-zoomIn,
#tui-image-editor-diagrama-unifilar .tie-btn-zoomOut {
    display: none;
}

.tui-image-editor-size-wrap {
    height: 70% !important;
}

.badge-custom {
    transform: translate(-10%, -40%);
    position: absolute !important;
}

.modal-dialog {
        overflow-y: initial !important;
    }

    .modal-content {
        overflow-x: hidden;
    }

    .modal-body {
        max-height: calc(100vh - 200px);
        overflow-y: auto;
        overflow-x: hidden;
        word-wrap: break-word;
        word-break: break-word;
    }

    .modal-body img {
        max-width: 100%;
        height: auto;
    }

    .modal-body table {
        width: 100% !important;
        table-layout: fixed;
        word-break: break-word;
    }

.btn-group-vertical-spacing {
    display: flex;
    flex-wrap: wrap;
    gap: 4px; /* espaçamento entre linhas e colunas */
}

    .btn-group-vertical-spacing .btn {
        margin: 2px 0; /* espaçamento vertical mínimo */
    }

.dx-state-hover {
    background-color: transparent !important;
}

.td-ordem {
    width: 100px;
    text-align: center;
    vertical-align: middle !important;
    font-weight: bold;
}

    .td-ordem .ordem-controls {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .35rem; /* espaço entre itens (setas / número) */
    }

    .td-ordem strong {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 6ch; /* 6 caracteres de largura (ex.: 1.1.1.1) */
        font-weight: 700;
        line-height: 1;
    }
