.square-img {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.bg-opacity-80 {
    --bs-bg-opacity: 0.8;
}

.bg-opacity-90 {
    --bs-bg-opacity: 0.9;
}

.bg-login {
    background-image: url('../img/bg_login_cel.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-container {
    min-height: 100dvh;
}

.module-content {
    width: 75vw;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.module-content-full {
    max-width: none !important;
}

.module-content p {
    margin-bottom: 16px;
}

.fit-all-images img:not(.image_resized) {
    max-width: 100% !important;
    height: auto !important;
    padding: 2%;
}

.ck-content .image.image_resized {
    margin: auto !important;
}

.nav-item-hover:hover {
    background-color: rgba(0,0,0,0.1);
    transition: 1s ease all;
}

#breadcrumb-menu.navbar ul.navbar-nav li.nav-item a::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0da";
    margin-right: 7px;
}

#breadcrumb-menu.navbar ul.navbar-nav li.nav-item:first-child a::before {
    display: none !important;
}

#breadcrumb-menu.navbar ul.navbar-nav li.nav-item a.active::before {
    content: "\f0d7";
}

.ck.ck-editor__main .ck.ck-content.ck-editor__editable,
.ck.ck-editor__main .ck-source-editing-area {
    min-height: 200px !important;
}

#loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#loading-overlay .spinner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#loading-overlay .spinner {
    border: 12px solid #f3f3f3;
    border-top: 12px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

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