*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: verdana;
    color: black;
}

html, body{height: 100%;}

body{background-color: #E8F0F1;overflow-x: hidden;}

.clear{
    clear: both;
}

.aviso{
    width: 100%;
    padding: 10px 0;
    text-align: center;
    background-color: #d5dce6;
    border-radius: 10px;
    margin-top: 10px;
    color: black;
    font-size: 19px;
}

.avisoSucesso{
    width: 100%;
    padding: 10px 0;
    text-align: center;
    font-size: 17px;
    background-color: green;
    color: white;
}

.avisoErro{
    width: 100%;
    padding: 10px 0;
    text-align: center;
    font-size: 17px;
    background-color: rgb(214, 120, 136);
    color: white;
}

/*SIDEBAR*/
.sidebar{
    width: 20%;
    height: 100%;
    padding: 20px;
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    float: left;
    background:linear-gradient(#261F80,#1b0cbd);
}

.sidebar > .topo{
    margin-top: 20px;
}

.sidebar i{
    float: left;
    font-size: 31px;
    color: white;
    padding-top: 7%;
    padding-left: 5%;
}

.sidebar h1{
    font-size: 28px;
    float: left;
    width: 80%;
    text-align: center;
    color: white;
}

.sidebar .menu{
    padding: 20px;
    margin-top: 20px;
}

.sidebar .menu ul{
    list-style-type: none;
}

.sidebar .menu ul li{
    font-size: 18px;
    padding-top: 10px;
}

.sidebar .menu ul li a{
    color: white;
    text-decoration: none;
}

.sidebar .menu ul li a:hover{
    text-decoration: underline;
}

.main-content{
    width: 80%;
    position: relative;
    left: 20%;
    top: 60px;
}

header{
    width: 80%;
    padding: 20px 2%;
    background: linear-gradient(#B7A5CD,#c9b6e0);
    text-align: right;
    position: fixed;
    left: 20%;
    z-index: 1;
}

header span:hover{
    background-color: #876da7;
    padding: 20px;
}

header i{
    font-size: 20px;
}

header span a{
    text-decoration: none;
}

header .menu-icon{
    float: left;
    cursor: pointer;
}

header .menu-icon i{
    font-size: 24px;
}

header .menu-icon p{
    padding-left: 10px;
}

.body-content{
    background-color: #E8F0F1;
}

.body-content > h1{
    margin-left: 2%;
    font-size: 35px;
}

.container{
    max-width: 1100px;
    padding: 0 2%;
    margin: 0 auto;
    color: white;
    position: relative;
}

/*RELATÓRIO*/
.gera-relatorio{
    border: 0;
    display: flex;
    padding: 10px;
    justify-content: center;
}

.gera-relatorio .box-select{
    margin-right: 10px;
}

.gera-relatorio label{
    display: block;
}

.gera-relatorio select{
    display: block;
    height: 40px;
    width: 130px;
    font-size: 16px;
}

.gera-relatorio button{
    width: 130px;
    height: 40px;
    margin-top: 19.5px;
    cursor: pointer;
    background-color: #231f1f;
    border: 0;
    color: white;
    font-size: 16px;
}

.secao1{
    background:linear-gradient(#261F80,#1b0cbd);
    width: 100%;
    padding: 30px 2%;
}

.secao2{
    background-color: #1B0CBB;
}

section.valores-somados .container-box{
    max-width: 900px;
    margin: 0 auto;
}

.center-box{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2%;
}

div.box-soma{
    background-color: #365BB1;
    color: white;
    font-size: 22px;
    font-weight: bold;
    padding: 20px;
    border-radius: 10px;
    width: 25%;
    box-shadow: 2px 2px 8px 5px #365BB1;
    text-align: center;
}

.box-soma p{
    color: white;  
    font-size: 16px; 
    font-weight: normal;
    margin-top: 8px;
}

section.detalhes-financeiros{
    display: flex;
    flex-wrap: wrap;
    padding: 30px 0;
}

div.box-detalhes{
    border-radius: 10px;
    padding: 20px;
    width: 45%;
    margin:2%;
    background-color: white;
    box-shadow: 2px 2px 8px 5px #ccc;
}

.proventos h3,.debitos h3{
    font-size: 22px;
}

.proventos p,.debitos p,.creditos p{
    font-size: 18px;
    margin-left: 10px;
    padding-top: 5px;
}

.proventos p:nth-of-type(1),.debitos p:nth-of-type(1){
    margin-top: 20px;
}

#lista-gastos h3{
    font-size: 18px;
}

#lista-gastos p{
    font-size: 14px;
    margin-top: 0;
}

#detalhes-debitos{
    cursor: pointer;
    padding: 6px 10px;
    background-color: #231f1f;
    border: 0;
    color: white;
    font-size: 14px;
}

#detalhes-gastos{
    width: 100%;
    transition: 1s;
    height: 0;
    overflow: auto;
    border-top: none;
    border-bottom: none;
    padding: 7px;
    margin-top: 8px;
}

#lista-gastos{
    display: none;
}

#lista-gastos p{
    margin-left: 20px;
    font-size: 18px;
}

section.proventos{
    padding: 30px 0;
}

.proventos h2{text-align: center;color: black;margin-bottom: 10px;}

.form-home{
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 2px 2px 8px 5px #ccc;
}

.form-home label{
    color: black;
}

.form-home input[type=number]{
    width: 100%;
    height: 40px;
    padding-left: 8px;
    margin-bottom: 8px;
    margin-top: 5px;
}

.box-outros-val{
    border: 2px solid white;
    padding: 5px;
}

#outros_val{
    width: 49%; 
    display: inline-block;   
    margin-right: 1%;
}

#descricao_outrosVal{
    width: 49%;
    display: inline-block;
}

.form-home input[type=text]{
    width: 100%;
    height: 40px;
    padding-left: 8px;
    margin-bottom: 8px;
    margin-top: 5px;
}

.form-home input[type=date]{
    width: 170px;
    height: 40px;
    display: block;
    margin-bottom: 8px;
    padding-left: 8px;
}

.form-home input[type=submit]{
    color: white;
    background:linear-gradient(#261F80,#1b0cbd);
    padding: 8px 15px;
    cursor: pointer;
    border: 0;
    font-size: 15px;
}

.debitos h2{
    text-align: center;
    color: black;
    margin-bottom: 10px;
}

section.debitos{
    padding: 30px 0;
}

.debitos form{
    margin-bottom: 10px;
}

select#opcao_debito{
    width: 170px;
    height: 40px;
    display: block;
    margin-bottom: 8px;
    margin-top: 5px;
    padding-left: 8px;
}

section.detalhes-graficos{
    display: flex;
    flex-wrap: wrap;
    
}

.grafico,
.grafico2,
.grafico3{
    border-radius: 10px;
    padding: 20px;
    width: 45%;
    margin:2%;
    background-color: white;
    box-shadow: 2px 2px 8px 5px #ccc;
}




@media screen and (max-width: 768px){
    div.box-detalhes{
        width: 100%;
    }

    .grafico,
    .grafico2{
        width: 100%;
    }
}

@media screen and (max-width: 500px){
    header .menu-icon{
        float: none;
        text-align: left;
        margin-bottom: 10px;
    }

    header .menu-icon p{
        font-size: 15px;
    }

    header span{
        position: relative;
        right: 25%;
    }

    h1#bem-vindo{
        margin-top: 20px;
    }
    
    div.box-soma{
        width: 100%;
        margin: 10px 0;
    }

    .gera-relatorio button{
        width: 100px;
    }

    .gera-relatorio select{
        width: 100px;
    }

    .grafico{
        margin: 0 auto; 
    }

    .grafico2{
        height: 240px;
        overflow-x: auto;
    }

    .grafico2 > canvas{
        height: 300px !important;
        width: 465px !important;
    }

    .grafico3{
        height: 312px;
        overflow-x: auto;
    }

    .grafico3 > canvas{
        height: 300px !important;
        width: 465px !important;
    }
}


