/*==================================================
                    CARITAS ARQ
            Sistema Integral Administrativo
==================================================*/


/*==================================================
                    COLORES
==================================================*/

:root {
    --caritas-red: #C62828;
    --caritas-black: #1F1F1F;
    --caritas-white: #FFFFFF;
    --caritas-gray: #F5F6FA;
    --caritas-dark: #757575;
}


/*==================================================
                    GENERAL
==================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    font-size: 16px;
}


body {
    min-height: 100vh;
    font-family: 'Segoe UI',sans-serif;
    background: linear-gradient( 160deg, #F5F6FA 65%, #C62828 65% );
}



/*==================================================
                    LOGIN
==================================================*/


.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}



.login-card {
    width: 480px;
    max-width: 100%;
    background: white;
    padding: 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
}



/*==================================================
                    LOGO
==================================================*/


.logo-caritas {
    width: 95px;
    height: auto;
    display: block;
    margin: auto;
    margin-bottom: 15px;
}



/*==================================================
                    TITULOS
==================================================*/


.subtitle-caritas {
    font-size: 24px;
    font-weight: 700;
    color: var(--caritas-black);
    margin-bottom: 5px;
}



.description-caritas {
    font-size: 16px;
    color: var(--caritas-dark);
    margin-bottom: 25px;
}



/*==================================================
                    INPUTS
==================================================*/


.input-caritas {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: solid 1px #DDDDDD;
    outline: none;
    font-size: 17px;
    transition: .30s;
}



    .input-caritas:focus {
        border-color: var(--caritas-red);
        box-shadow: 0 0 8px rgba(198,40,40,.15);
    }



/*==================================================
                    BOTON
==================================================*/


.btn-caritas {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: var(--caritas-red);
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: .30s;
}


    .btn-caritas:hover {
        background: #B71C1C;
    }


    .btn-caritas:active {
        transform: scale(.99);
    }



/*==================================================
                    INFORMACION
==================================================*/


.linea {
    margin-top: 20px;
    margin-bottom: 20px;
    border-bottom: solid 1px #EEEEEE;
}



.message-caritas {
    font-size: 16px;
    line-height: 28px;
    color: var(--caritas-black);
}



.version-caritas {
    margin-top: 15px;
    font-size: 14px;
    color: var(--caritas-dark);
}



.footer-caritas {
    margin-top: 5px;
    font-size: 14px;
    color: var(--caritas-dark);
}



/*==================================================
                    RESPONSIVE
==================================================*/


@media(max-width:768px) {


    .login-card {
        width: 100%;
        padding: 25px;
    }


    .logo-caritas {
        width: 80px;
    }


    .subtitle-caritas {
        font-size: 22px;
    }


    .description-caritas {
        font-size: 15px;
    }


    .input-caritas {
        font-size: 16px;
    }


    .btn-caritas {
        font-size: 18px;
    }


    .message-caritas {
        font-size: 15px;
        line-height: 25px;
    }


    .version-caritas {
        font-size: 13px;
    }


    .footer-caritas {
        font-size: 13px;
    }
}












.menu-caritas {
    height: 100vh;
    padding: 20px;
    background: white;
    display: flex;
    flex-direction: column;
}


.menu-logo {
    text-align: center;
    margin-bottom: 30px;
}


    .menu-logo img {
        width: 120px;
    }


.btn-menu {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 10px;
    background: #F4F4F4;
    font-weight: bold;
    transition: .30s;
    text-decoration: none;
    color: #1F1F1F;
}


    .btn-menu:hover {
        background: #C82333;
        color: white;
    }


.menu-footer {
    margin-top: auto;
    text-align: center;
}


.btn-salir {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: black;
    color: white;
    font-weight: bold;
}


    .btn-salir:hover {
        background: #C82333;
    }


/*==================================================
                    SUB MENUS
==================================================*/
.submenu {
    display: none;
}


    .submenu.show {
        display: block;
    }


.flecha {
    float: right;
    transition: .30s;
}


    .flecha.rotada {
        transform: rotate(90deg);
    }


.submenu-item {
    padding: 10px 0px 10px 25px;
    color: #757575;
    cursor: pointer;
    transition: .30s;
}


    .submenu-item:hover {
        color: #C62828;
    }

/*==================================================
                    WORKSPACE
==================================================*/

/*.workspace-caritas {
    min-height: 100vh;
    display: flex;
}


.workspace-menu {
    width: 320px;
    min-width: 320px;
    background: white;
    border-right: solid 1px #EEEEEE;
}


.workspace-content {
    flex: 1;
    padding: 30px;
    overflow-x: auto;
}*/

.wrapper {
    display: flex;
    min-height: 100vh;
}

#content {
    flex-grow: 1;
    overflow-x: auto;
}

.content-area {
    padding: 30px;
}

/*==================================================
                    RESPONSIVE MENU
==================================================*/

#sidebarOverlay {
    display: none;
}


@media (max-width:768px) {

    .menu-caritas {
        display: none;
        position: fixed;
        left: 0;
        top: 0;
        width: 320px;
        height: 100vh;
        z-index: 1050;
        overflow-y: auto;
    }

        .menu-caritas.active {
            display: flex;
            flex-direction: column;
        }
}