﻿.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #03a9f3;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(0,123,255,.25);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.1rem rgba(220,53,69,.25);
}

.comunicado-card {
    position: relative;
    overflow: hidden;
}

.comunicado-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(255,255,255,0));
    transition: bottom 0.4s ease-in-out;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.comunicado-card:hover .comunicado-overlay {
    bottom: 0;
}

.carousel-item {
    position: relative;
}

.file-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

    .file-overlay a,
    .file-overlay button {
        pointer-events: auto;
    }

.carousel-item:hover .file-overlay {
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5rem;
    background: none !important;
    opacity: 1;
    border: none;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    background-color: transparent;
    filter: invert(1);
}

#modalAnexos {
    z-index: 2000;
}

.img-carousel,
.carousel-item-card,
.carousel-item-card iframe {
    min-height: 200px;
    max-height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 6px;
    background: #f8f9fa;
    justify-content: center;
    align-content: center;
}

/*fullscream do editor*/

.note-editor.note-frame.fullscreen {
    background: #fff !important;
    z-index: 1050 !important;
}

.note-editor.note-frame.fullscreen .note-editing-area {
    background: #fff !important; 
}

.note-editor.note-frame.fullscreen .note-editable {
    background-color: #fff !important;
    color: #000;
}

/*para nao editar o style.css forçado aqui para funcionar o texto em negrito no summernote*/
.note-editable b,
.note-editable strong {
    font-weight: 700 !important;
}

/*==============================================================*/

/* Padrão: 1 coluna */
.col-comunicado {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Até 700px -> 1 coluna */
@media (max-width: 700px) {
    .col-comunicado {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Até 1450px -> 2 colunas */
@media (max-width: 1200px) and (min-width: 701px) {
    .col-comunicado {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Até 1600px -> 3 colunas */
@media (max-width: 1600px) and (min-width: 1201px) {
    .col-comunicado {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

/* Acima de 1600px -> 4 colunas */
@media (min-width: 1601px) {
    .col-comunicado {
        flex: 0 0 25%;
        max-width: 25%;
    }
}
