[data-widget] {
    /* scroll-margin-top: 75px; */
}

.btns-editions {
    position: fixed;
    top: 0;
    background-color: #FFF;
    z-index: 99;
    height: 75px;
    box-shadow: 3px 2px 10px -1px rgba(0, 0, 0, 0.4);

    #version {
        font-size: 10px;

        .text-danger {
            cursor: pointer;
        }
    }
}

.btns-editions .btn-floating {
    position: relative;
    display: inline-block;
    /* top: 0px; */
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 2em;
    line-height: 50px;
    /* background: #fff; */
    /* border-radius: 100%; */
    /* border: 2px solid #b1b1b1; */
    cursor: pointer;
    margin: 12.5px 15px;
    padding: 0;
    /* box-shadow: 3px 10px 15px -3px rgba(0, 0, 0, 0.4); */
    border: 0 !important;

    &.show,
    &:active {
        border: 0 !important;
    }
}

.btns-editions .btn-configs {
    /* left: 15px; */
}

.btns-editions .btn-insertWidget {
    /* left: 130px; */
}

.btns-editions .btn-preview {
    /* left: 245px; */
}

#configs {
    height: 100vh !important;
}

#example {
    z-index: 0;
}

[data-list-widgets] {
    padding-top: 75px;
}

#listWidgets {}

#listWidgets li.list-group-item {}

#listWidgets li.list-group-item .line-btns {}

#listWidgets li.list-group-item .line-btns .buttons [data-button] {
    display: inline-block;
    font-size: 1.2rem;
    line-height: 25px;
    width: 25px;
    height: 25px;
    margin: 0 7.5px;
    cursor: pointer;
    z-index: 2;
}

.line-btns {
    background-color: #F0F0F0;

    .iconDown {
        position: relative;

        i {
            position: absolute;
            bottom: -50px;
            font-size: 4rem;
            color: #F0F0F0;
            z-index: 1;
            text-shadow: 0px 1px 0 #dee2e6;
        }
    }
}

.char-counter {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #95a5a6;
    transition: color 0.3s ease;
}

/* .img-container{
    overflow: hidden;
    max-height: 315px;
} */

.wrapper {
    overflow: hidden;
    min-height: 315px;
}

.map {
    position: relative;
    /* what #map img is relative to */
}

.map img {
    position: absolute;
    /* need this to make dragging easy */
    top: 0;
    left: 0;
    border: 0 none transparent;
}

.img-container {
    position: relative;
}

.btn-upload {
    position: absolute;
    top: 15px;
    left: 25px;
    background-color: #fff;
    border-radius: 100%;
    width: 50px;
    line-height: 50px;
    z-index: 2;
    text-align: center;
}

.btn-config {
    position: absolute;
    top: 15px;
    left: 90px;
    background-color: #fff;
    border-radius: 100%;
    width: 50px;
    line-height: 50px;
    z-index: 2;
    text-align: center;
}

.btn-caption {
    position: absolute;
    top: 15px;
    left: 90px;
    background-color: #fff;
    border-radius: 100%;
    width: 50px;
    line-height: 50px;
    z-index: 2;
    text-align: center;
}

.btn-captionSave {
    position: absolute;
    top: 15px;
    left: 90px;
    background-color: #fff;
    border-radius: 100%;
    width: 50px;
    line-height: 50px;
    z-index: 2;
    text-align: center;
}

.btn-color {
    position: absolute;
    top: 15px;
    left: 90px;
    background-color: #fff;
    border-radius: 100%;
    width: 50px;
    line-height: 50px;
    z-index: 2;
    text-align: center;
}

.btn-move {
    position: absolute;
    top: 80px;
    left: 25px;
    background-color: #fff;
    border-radius: 100%;
    width: 50px;
    line-height: 50px;
    z-index: 2;
    text-align: center;
}

.btn-moveFinish {
    position: absolute;
    top: 80px;
    left: 25px;
    background-color: #38bf5b;
    color: #FFF;
    border-radius: 100%;
    width: 50px;
    line-height: 50px;
    z-index: 2;
    text-align: center;
}

.box-image {
    text-align: center;
    border: 2px solid #838383;
    border-radius: 20px;
    cursor: pointer;
    /* max-height: 253px; */
    overflow: hidden;
    --calc1: calc(100% - 16px);
    --calc2: calc(var(--calc1) / 1.777777777777778);
    height: var(--calc2);
}

.box-image .btn {
    font-size: 6em;
    max-height: 253px;
    line-height: 2.5em;
    width: 100%;
    border-radius: 20px;
}

.box-image .btn:active {
    border-color: transparent;
}

.loaderForField {
    position: relative;
}

.loading {
    display: none;
}

.loaderForField .loading {
    position: absolute;
    top: 10px;
    right: 45px;
    display: unset;
    -webkit-animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

.btn-uppercase,
.btn-linknews,
.btn-linkAllAbout {
    font-size: 20px !important;
}

/* fonts */
.lato-regular {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.lato-bold {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.lato-regular-italic {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.lato-bold-italic {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.roboto-light {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.roboto-regular {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.roboto-medium {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.roboto-bold {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.roboto-light-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.roboto-regular-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.roboto-medium-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.roboto-bold-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: italic;
}

[data-widget] a {
    pointer-events: none;
}

/* [data-type][data-editable="true"] a {
    pointer-events: auto;
} */

[data-type][data-editable="true"] a[class^="btn-"],
[data-type][data-editable="true"] [data-label-index="text"] a {
    pointer-events: auto;
}



#modalImage .modal-dialog {
    max-width: unset;
    width: auto;
    display: flex;
    justify-content: center;
    /* Centralizar horizontalmente */
}

/* A imagem no modal não deve ultrapassar as dimensões da tela */
#modalImage .modal-content {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Centralizar verticalmente */
    border: none;
    background: transparent;
    /* Remover o fundo padrão do modal */
    position: relative;
    /* Para posicionar os botões de navegação */
}

/* Tornar a imagem responsiva para evitar overflow */
#modalImage .modal-body {
    padding: 0;
}

#modalImage .modal-body img {
    max-width: 100%;
    max-height: calc(100vh - 100px);
    /* 40px para espaço de margem */
    opacity: 1;
    transition: opacity 0.5s ease;
}

#modalImages .modal-body .tabulator-cell.wrap {
    white-space: normal;
    /* Permite que o texto quebre em múltiplas linhas */
    padding: 10px;
    /* Adiciona algum espaçamento interno */
}

/* Remover altura fixa padrão das linhas */
#modalImages .modal-body .tabulator-row .tabulator-cell {
    height: auto !important;
    /* Força altura automática para as linhas */
    min-height: 100px;
    /* Define uma altura mínima opcional */
}

#modalImages .sub-table.tabulator .tabulator-header .tabulator-col {
    background-color: #68bf87 !important;
}

#modalImages .sub-table.tabulator .tabulator-footer {
    background-color: #68bf87 !important;
}

#modalImages .sub-table.tabulator .tabulator-row {
    background-color: #68bf8740 !important;
}

#modalImages .dropzone {
    border: 2px dashed #005aa9;
    /* padding: 20px; */
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
}

#modalImages .dz-message {
    font-size: 1em;
    color: #555;
}

#blendMode option.groupOpt {
    border-bottom: 1px solid #ccc;
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
}

/* Estilo para os botões de navegação */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.nav-btn.left {
    left: 0;
}

.nav-btn.right {
    right: 0;
}

#modalImage .nav-btn {
    position: absolute;
    top: unset;
    bottom: -60px;
    width: 49%;
    height: 40px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 1);
    color: #2f2f2f;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10;
    text-transform: uppercase;
}

#modalImage .nav-btn.left {
    left: 0;
}

#modalImage .nav-btn.right {
    right: 0;
}

#modalImage .authorCaptionImage {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
    padding: 0px 15px;
    background-color: rgba(0, 0, 0, .5);
    font-family: "Lato", sans-serif;
    font-weight: 400;
    color: #FFF;
    font-style: italic;

    a {
        color: #FFF;
        text-decoration: none;
    }
}

#modalImage .descriptionImage {
    position: absolute;
    width: 100%;
    bottom: 0px;
    left: 0px;
    z-index: 2;
    background-color: rgba(0, 0, 0, .5);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    padding: 2rem 0;
    text-align: center;
    color: #FFF;
    font-size: 1.03rem;
    padding: 2rem 0;
}

#clearChannels {
    line-height: 27px;
    cursor: pointer;
}

#listEditorials {
    height: calc(100vh - 455px);
    overflow-y: overlay;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fundo escuro */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1056;
    /* Acima de outros conteúdos */
}

.loading-message {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 2px #000000;
}

@media (min-width: 360px) {}


@media (min-width: 576px) {
    .box-image {
        --widthA: calc(100vw / 2);
        --paddingA: calc(16px * 2);
        --calc1: calc(var(--widthA) - var(--paddingA));
        --calc2: calc(var(--calc1) / 1.777777777777778);
        height: var(--calc2);
    }
}

@media (min-width: 768px) {
    .box-image {
        --widthA: calc(100vw / 4);
        --paddingA: calc(16px * 4);
        --calc1: calc(var(--widthA) - var(--paddingA));
        --calc2: calc(var(--calc1) / 1.777777777777778);
        height: var(--calc2);
    }
}

@media (min-width: 992px) {}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {}