*{
    font-family: "Arial", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.cor-receita {
    color:#008000 !important;
}

.cor-fundo-receita {
    background-color: #008000 !important;
    border-color: #008000 !important;
    color: white !important;
}

.cor-despesa {
    color: #FF0000 !important;
}

.cor-fundo-despesa {
    background-color: #FF0000 !important;
    border-color: #FF0000 !important;
    color: white !important;
}

.space-1 {
    margin: 10px;
}

.space-2 {
    margin: 20px;
}

.space-3 {
    margin: 30px;
}

.space-4 {
    margin: 40px;
}

.space-5 {
    margin: 50px;
}

.card-form {
    border: 0;
    margin-bottom: 30px;
    margin-top: 60px;
    border-radius: 6px;
    color: white;
    background: #066699;
    width: 100%;
    position: relative;
    box-shadow: 0 1px 4px 0 rgb(0 0 0 / 14%);
}

.card-form__body {
    padding: 15px 20px;
}

.card-form__title{
    color: white;
    width: 96%;
    padding: 15px;
    top: -25px;
    right: 0;
    left: 0;
    margin: 0 auto;
    position: absolute;
    border-radius: 3px;
    background: linear-gradient(60deg, #02416d, #244f6c);
}

.card-form__title h1 {
    font-size: 20px;
}

.card-form__body form {
    margin-top: 50px;
}

.form-control-edit {
    color: white;
    background: transparent !important;
    border-top: initial !important;
    border-right: initial !important;
    border-left: initial !important;
    border-radius: 0px !important;
}

.form-control-edit:focus{
    color: white;
    box-shadow: initial !important;
}

input#cor {
    border: initial;
    width: 50px;
}

div.alert{
    z-index: 1000;
    position: absolute;
    right: 58px;
    box-shadow: -1px 3px 18px 5px rgb(0 0 0 / 14%);
}

.btn-fixo-r-d {
    /* position: fixed; */
    /* bottom: 0; */
}

.btn-fixo-r-d__receira {
    position: fixed;
    left: 30px;
    bottom: 30px;
    font-size: 30px;
}

.btn-fixo-r-d__despesa {
    position: fixed;
    right: 30px;
    bottom: 30px;
    font-size: 30px;
}

.btn-fixo-r-d__receira i {
    color: #008000;
}

.btn-fixo-r-d__despesa i {
    color: #FF0000;
}

.carteira {
    display: flex;
}

.carteira__card {
    margin: 30px;
}

.cabecalho-pagina {
    display: flex;
    justify-content: space-between;
}

.cabecalho-pagina a {
    height: 37px;
    margin-right: 5px;
}

.cabecalho-pagina__btn-acoes {
    display: flex;
}

.carteira-mes__card.card {
    width: auto;
    text-decoration: none;
    padding: 10px;
    box-shadow: -1px 3px 7px 3px rgb(0 0 0 / 14%);
    transition: .3s;
}

.carteira-mes__card .card-head {
    text-align: center;
}

.carteira-mes__card .card-head p {
    color: black;
    font-size: 27px;
}

.carteira-mes__carteira-valores {
    color: black;
    padding-bottom: 0;
}

.carteira-mes__card.card:hover {
    box-shadow: -1px 3px 11px 5px rgb(0 0 0 / 14%);
    transition: .3s;
}

.link-voltar__item {text-decoration: none;color: black;transition: .2s;}

.link-voltar__item i {margin-right: 2px;}

.link-voltar__item:hover, .link-voltar__item:hover i {
    opacity: 0.8;
    color: black;
    transition: .2s;
}

.all-valores {
    display: flex;
    justify-content: space-around;
}

.all-valores__item {
    width: 49%;
}

.adiciona-scroll{
    overflow: hidden;
    overflow-y: scroll;
    height: 400px;
}

.all-valores__despesas td {
    color: red !important;
}

.all-valores__receitas td {
    color: #008000 !important;
}

.all-valores__item thead {
    position: sticky;
    top: 0;
    background-color: white;
}

.all-valores__item th {
    position: sticky;
    top: 0;
    background-color: white;
}

.carteira__acoes--all {
    display: flex;
    justify-content: space-between;
}

.carteira__acoes {
    opacity: 0;
    transition: .3s;
}

.carteira__card:hover .carteira__acoes {
    opacity: 1;
    transition: .3s;
}

.carteira-mes__item,
.orcamentos__item {
    position: relative;
}

.carteira-mes__item .carteira__acoes--all {
    position: absolute;
    top: 2px;
    right: -38px;
    opacity: 0;
    transition: .3s;
}

.carteira-mes__item:hover .carteira__acoes--all {
    opacity: 1;
    transition: .3s;
}

.orcamentos__item .carteira__acoes--all {
    position: absolute;
    top: 2px;
    right: -38px;
    opacity: 0;
    transition: .3s;
}

.orcamentos__item:hover .carteira__acoes--all {
    opacity: 1;
    transition: .3s;
}

.my-modal__item--edit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    height: auto;
    transform: translate(-50%, -50%);
    background: white;
    padding: 15px;
    border-radius: 3px;
    box-shadow: 1px 1px 20px 0px;
}

.form-control-white {
    color: black !important;
}

#my-modal__item--receita {
    display: none;
}

.btn-fechar-modal-edit-r-d {
    position: absolute;
    right: 13px;
    top: 7px;
}
.btn-fechar-modal-edit-r-d i{
    cursor: pointer;
}

.tabela-receitas {
    width: 100%;
}

td.acoes-receita-despesa {
    display: flex;
    justify-content: space-around;
}

.all-valores table th {
    text-align: center !important;
}

.all-valores table td {
    text-align: center !important;
    height: 100%;
}

.btn-fixo-r-d i {
    box-shadow: -1px 3px 11px 5px rgb(0 0 0 / 14%);
    border-radius: 50%;
    background-color: white;
}

/* Mobile */
@media (max-width: 768px) { 
    .all-valores{
        display: block;
    }

    .all-valores__item{
        width: 100%;
    }
    
    .adiciona-scroll {
        overflow: hidden;
        overflow-y: scroll;
        height: 200px;
    }
}