body {
    height: 100vh;
    background-color: #ccc;
  }

/************************** Inicio da estilização do grid layout ******************************/
.header-grid{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 68px;
    z-index: 1;
    background-color: #354D5B;
    border-bottom: 2px solid #E0545B;
    opacity: 1;
}

.contents-grid{
    position: relative;
    top: 60px;
    right: 0;
    margin-bottom: 150px;
    left: 0;
}

.footer-grid{
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    height: 50px;
    z-index: 1;
    background-color: #354D5B;
    border-top: 2px solid #E0545B;
    opacity: 1;
}    

.container-desktop{
    display: block;
    margin-top: 50px;
}

.container-desktop table{
    width:100%;
    max-width: 100%;
}

.container-mobile{
    display: none;
}
/***********************************************************************************************/

/************************************* Estilização do header ***********************************/
.header-grid {
    z-index: 10;
}

.header-grid header section {
    color: white;
}

.header-grid header section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    margin: 15px 15px 0 15px;
}

.header-grid header section h1 {
    position: absolute;
    top: 25px;
    left: 70px;
    font-size: 1.3rem;
    font-weight: bold;
}

.header-grid header section i {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 2.5rem;
    cursor: pointer;
}
/***********************************************************************************************/

/********************************* Estilização do menu lateral *********************************/
.aside-menu {
    position: fixed;
    top: 0px;
    left: -280px;
    height: 100%;
    width: 280px;
    z-index: 20;
    background-color: white;
    border-right: 2px solid #E0545B;
    overflow: hidden;
    transition: left 0.8s !important; 
}

.aside-menu.open-or-close-menu {
    left: 0;
}

.nav-lateral {
    position: relative;
}

.nav-lateral ul{
    position: absolute;
    height: 100vh;
    list-style-type: none;
    top: 0;
    right: 0;
    bottom: 0;
    left: -30px;
}

.nav-lateral ul li{
    display: inline-block;
    width: 100%;
    padding: 20px 0 10px 10px;
    height: 68px;
    border-bottom: 2px solid #E0545B;
}

.nav-lateral ul li:hover{
    background-color: #ccc;
    opacity: 0.8;
}

.nav-lateral ul li i {
    font-size: 1.5rem;
}

.nav-lateral ul li a {
    text-decoration: none;
    font-size: 1.2rem;
    margin-left: 15px;
    color: black;
}

.nav-lateral ul li.item-home {
    background-color: #354D5B;
}

.nav-lateral ul li.item-home:hover{
    background-color: #E0545B;
    opacity: 0.8;
}

.nav-lateral ul li.item-to-close {
    background-color: #354D5B;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 50px;
    border-top: 2px solid #E0545B;
    border-bottom: 0;
    padding: 5px 0 0 45px;
}

.nav-lateral ul li.item-to-close:hover{
    background-color: #E0545B;
    opacity: 0.8;
}

.footer-grid{
    z-index: 10;
}


.dynamic-form {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
}
/**********************************************************************************************/

.canvas-title{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.canvas{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}


@media all and (max-width: 992px) {
    
    .container-desktop{
        display: none;
    }

    .container-mobile{
        display: block;
    }

    /************************** Inicio da estilização do grid layout ******************************/
    .header-grid{
        height: 58px;
    }
    .contents-grid{
        margin-bottom: 0;
    }  
    .footer-grid{
        display: none;
    }
    /***********************************************************************************************/

    /************************************* Estilização do header ***********************************/
    .header-grid header section img {
        width: 32px;
        height: 32px;
        margin: 13px 13px 0 13px;
    }

    .header-grid header section h1 {
        top: 20px;
        left: 60px;
        font-size: 1rem;
    }

    .header-grid header section i {
        font-size: 2.0rem;
    }
    /***********************************************************************************************/

    /******************************** Estilização da grade de dados ********************************/
    th, td { white-space: nowrap; }
    /***********************************************************************************************/

    /********************************* Estilização do menu lateral *********************************/
    .aside-menu {
        left: -260px;
        width: 260px;
    }

    .nav-lateral ul li{
        padding: 10px 0 5px 10px;
        height: 58px;
    }

    .nav-lateral ul li i {
        font-size: 1.4rem;
    }

    .nav-lateral ul li a {
        font-size: 1rem;
    }
    /**********************************************************************************************/

    /********************** Estilização da lista de visualização mobile ***************************/
    .list-view{
        background-color: white;
    }
    
    .list-view-content{
        display: flex;
        flex-direction: column ;
        flex-wrap: nowrap;
        border-bottom: 1px solid #ccc;
        overflow: hidden;
        margin-bottom: 10px;
    }

    .list-view-content p{
        display: flex;
        flex-direction: row ;
        align-items: center;
        font-size: 0.7rem;
        height: 0.5rem;
        padding-top: 5px; 
        padding-bottom: 5px;
        color: black;
    }

    .list-view-content p span.title{
        text-align: left;
        width: 50%;
        margin-left: 5px;
        font-weight: bold;
    }
    
    .list-view-content p span.content{
        text-align: right;
        width: 50%;
        margin-right: 5px;
    }

    .btn-add{
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .btn-add i{
        font-size: 2.5rem;
        font-weight: bold;
        color: #E0545B;
        cursor: pointer;    
    }

    .row-options{
        display: flex;
        flex-direction: row;
        justify-content:flex-end;
        margin: 10px 0 40px 0;
    }
    .row-options i{
        font-size: 1.5rem;
        margin-top: 25px;
        color: #E0545B;
        cursor: pointer;
    }

    .row-options i.bi-trash{
        padding-right: 30px;   
    }

    .row-options i.bi-bank{
        padding-right: 20px;
    }

    .row-options i.bi-pencil{
        padding-right: 20px;
    }

    .row-options i.bi-share{
        padding-right: 10px;
    }
    /**********************************************************************************************/

}