﻿/* Wrapping element */

/* Set some basic padding to keep content from hitting the edges */

.body-content {

    margin-top: 15px;

    padding-left: 15px;

    padding-right: 15px;

}



/* Set widths on the form inputs since otherwise they're 100% wide */

input,

select,

textarea {

    max-width: 280px;

}

body.inicio-page .inicio-content-col input,
body.inicio-page .inicio-content-col select,
body.inicio-page .inicio-content-col textarea,
.inicio-content-col input,
.inicio-content-col select,
.inicio-content-col textarea {
    max-width: none;
}



/* Responsive: Portrait tablets and up */

@media screen and (min-width: 768px) {

    .body-content {

        padding: 0;

    }

}



/* ------------------------------------------------------------------ */
/* Inicio panel — Bootstrap grid sidebar (Inicio.aspx)                */
/* Critical rules also inlined in Inicio.aspx HeadContent               */
/* ------------------------------------------------------------------ */

html,
body.inicio-page {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.inicio-page form,
body.inicio-page #formRoot {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: none;
}

body.inicio-page .inicio-page-root {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: none;
}

body.inicio-page .inicio-page-root > .row {
    min-height: calc(100vh - 56px);
}

body.inicio-page .inicio-sidebar-col {
    background: #1e293b !important;
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
    flex: 0 0 240px !important;
    min-height: calc(100vh - 56px);
}

body.inicio-page .inicio-sidebar-col .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

body.inicio-page .inicio-sidebar-col .nav-link:hover,
body.inicio-page .inicio-sidebar-col .nav-link:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}

body.inicio-page .inicio-sidebar-col .nav-link i {
    color: #14b8a6;
    width: 1.1rem;
    text-align: center;
}

body.inicio-page .inicio-sidebar-col .sidebar-section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 0.35rem 1rem;
    margin-top: 0.25rem;
}

body.inicio-page .inicio-content-col {
    background: #f1f5f9;
    min-height: calc(100vh - 56px);
    min-width: 0;
}

body.inicio-page .inicio-content-col input,
body.inicio-page .inicio-content-col select,
body.inicio-page .inicio-content-col textarea,
.inicio-content-col input,
.inicio-content-col select,
.inicio-content-col textarea {
    max-width: none;
}

body.inicio-page .inicio-content-col .inicio-card,
.inicio-content-col .inicio-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

@media (max-width: 991px) {
    body.inicio-page .inicio-page-root > .row {
        flex-wrap: wrap !important;
        min-height: auto;
    }

    body.inicio-page .inicio-sidebar-col {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        min-height: auto;
    }
}

