/* GERAL */
a {
    text-decoration: none;
    color: #59636D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    outline: none;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
}

html {
    font-family: Arial, Helvetica, sans-serif;
}

#main {
    /* background-color: yellow; */
    padding: 100px 20px;
    
}

#usuario-logado {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
    background-color: #81B097;
}

#usuario-logado span {
    padding: 2px 6px;
    /* background-color: whitesmoke; */
    color: whitesmoke;
    border-radius: 2px;
}

.container-login {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #81B097;
    width: 100vw;
    height: 100vh;
}

/* TÍTULOS */
.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: #F95F62; */
    /* border-bottom: 1px solid #EAEAEB; */
    font-size: 14pt;
    /* margin-bottom: 10px; */
    padding-bottom: 5px;
}

.title > span {
    color: #F95F62;
}

.title h5 {
    color: #CCCCCC;
    font-size: 12pt;
}

h1 {
    color: #59636D;
}

h2, p {
    color: #59636D;
    /* padding: 5px; */
}

label {
    font-size: 10pt;
}

.dados-header {
    display: flex;
    flex-direction: column;
}

#dados-paciente {
    background-color: #F2F7F4;
    
}

#atendimento-medicamentos {
    background-color: #F2F7F4;
}



a.link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    outline: none;
    color: #f2f2f2;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    background-color: #81B097;
    transition: all .4s linear;
}

a.link:hover {
    opacity: .8;
}

/* Painel Accordion */

.accordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 2px;
    width: 100%;
    border: none;
    text-align: left;
    color: #59636D;
    outline: none;
    font-size: 12pt;
    transition: 0.4s;
    background-color: #F2F7F4;
  }

  .accordion > div {
      display: flex;
      align-items: flex-start;
      width: 100%;
      padding: 8px 10px;
    }

  .accordion > div > label {
      display: none;
      font-size: 12pt;
      margin-right: 5px;
  }
  
  .active, .accordion:hover {
    background-color: #EEEEEE;
  }
  
  /* .accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
  }
  
  .active:after {
    content: "\2212";
  } */
  
  .panel {
    padding-bottom: 2px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  }
  
  .panel-row-header {
      display: flex;
      justify-content: space-around;
      padding: 5px 10px;
      
  }
  
  .panel-row-content {
      display: flex;
      justify-content: space-around;
      padding: 5px 10px;
    }

    .panel-row-detalhes {
        display: flex;
        justify-content: space-between;
        padding: 5px 10px;
    }

    .panel-row-detalhes > div {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        border: 1px solid #CCCCCC;
        width: 100%;
        padding: 10px;
        margin: 2px;
        border-radius: 5px;
        color: #59636D;

    }

    .panel-row-detalhes > div > label {
        color: #81B097;
        margin-right: 5px;
    }

    .panel-row-button {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
        margin: 10px;
        
    }
    .panel-row-button > div > a {
        font-size: 10pt;
        width: 100%;
        padding: 10px;
        margin: 5px;
        border-radius: 5px;
        background-color: dodgerblue;
        color: white;
    }
    
    .panel-row-button > div > a:hover {
        opacity: .8;
    }

    .panel-col {
        display: flex;
        justify-content: space-around;
        width: 100%;
        
    }
    
.panel-dado-usuario {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 2px;
    color: #59636D;
    padding: 10px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
}
.panel-dado {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 2px;
    color: #59636D;
    padding: 10px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
}

.panel-dado-usuario > label {
    color: #81B097;
    margin-right: 5px;
}
.panel-dado > label {
    color: #81B097;
    margin-right: 5px;
}

.msg-evolucao {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ======================= */

.painel {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 15px;
    /* background-color: aquamarine; */
}

.painel-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 15px 5px;
    border-radius: 5px;
    box-shadow: 0px 0px 6px #cccccc;
    background-color: #F2F7F4;
}

.painel-item-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #81B097;
    padding: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.painel-item-titulo {
    width: 60%;
}

.painel-item-titulo h3 {
    font-size: 14pt;
    color: #FFFFFF;
    
}

.painel-item-titulo h2 {
    font-size: 14pt;
    color: #FFFFFF;
    
}

.total-prioridade {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: white;
    padding: 5px;
    width: 40%;
}

.painel-dados {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #EAEAEB;
    /* background-color: khaki; */
    color: #59636D;
}

.painel-dados:hover {
    background-color: #EEEEEE;
    transition: all .2s linear;

}

.painel-dados-titulo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #EAEAEB;
    border-top: 1px solid #EAEAEB;
    background-color: #81B097;
}

.painel-dados > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 11pt;
    width: 100%;
    margin: 5px;
    padding: 5px;
    word-wrap: break-word;
    hyphens: auto;
    
}

.painel-dados-titulo > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 5px 8px;
}

.painel-dados-titulo > div > h5 {
    font-size: 12pt;
    color: #FFFFFF;
}

.painel-item i {
    font-size: 100px;
}

.painel-item span {
    font-size: 18pt;
    margin-top: 20px;
}

.vermelho {
    background-color: lightcoral;
}

.verde {
    background-color: #5cb85c;
}

@media only screen and (max-width:900px) {
    .title {
        font-size: 14px;
    }

    .title h2 {
        font-size: 14pt;
    }

    .title h5 {
        font-size: 8pt;
    }

    .painel-item {
        width: 100%;
    }

    .painel-item-topo {
        font-size: 12pt;
    }

    .painel-item-titulo {
        width: 70%;
    }

    .painel-item-titulo h3 {
        font-size: 12pt;
        margin: 5px;
    }
    
    .total-prioridade {
        width: 30%;
        font-size: 10pt;
    }

    .painel-dados-titulo {
        justify-content: space-around;
    }
    
    .painel-dados-titulo > div > h5 {
        font-size: 10pt;
    }

    .accordion {
        /* flex-direction: column; */
        padding: 5px;
    }

    .accordion > div {
        font-size: 10pt;
        padding: 5px;
    }

    .accordion > div > label {
        display: none;
    }

    .panel-row-header {
        flex-direction: column;
        font-size: 10pt;
    }

    .panel-row-content {
        flex-direction: column;
        font-size: 10pt;
    }
    
    .panel-row-detalhes {
        flex-direction: column;
        font-size: 10pt;
    }

    .panel-row-button > div > a {
        font-size: 10pt;
    }

    
}

/* LISTAS */
.lista {
    /* background-color: whitesmoke; */
}

.lista-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    word-wrap: break-word;
    border-bottom: 1px solid #EAEAEB;
    background-color: #FFFFFF;
}

.lista-item:nth-child(even) {
    background-color: #F2F7F4;
}

.lista-item-dados-novo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* flex-wrap: wrap;
    word-wrap: break-word; */
    border-bottom: 1px solid #EAEAEB;
    background-color: #FFFFFF;
    
    
}

.lista-item-dados-novo:nth-child(even) {
    background-color: #F2F7F4;
}

.lista-item-dados-novo > .lista-item-opcoes {
    display: flex;
    justify-content: flex-end;
}

.lista-item-dados-novo > div {
    width: 100%;
    padding: 5px;
    margin: 2px;
    color: #59636D;
    
}

/* .lista-item-dados-novo > div > a {
    font-size: 8pt;
    padding: 5px;
    background-color: #F95F62;
    color: #FFFFFF;
    border-radius: 5px;
} */

.lista-item-dados-novo > div > a:hover {
    opacity: .8;
}

.lista-item-dados-novo-info {
    display: flex;
    justify-content: flex-start;

}

.lista-item-dados-novo-info > div {
    margin-right: 5px;
}

.lista-item-arquivados {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    word-wrap: break-word;
    border-bottom: 1px solid #EAEAEB;
    /* background-color: #F2F7F4; */
    background-color: #F95F62;
    
}

.lista-item-arquivados > .lista-item-dados > a {
    color: #FFFFFF;
}

.lista-item-arquivados > .lista-item-dados > a:hover {
    background-color: rgba(249, 95, 98, 0.1);
}

.lista-item-dados {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    word-wrap: break-word;
    width: 100%;
}

.lista-item-dados:nth-child(even) {
    background-color: #FFFFFF;
}

.lista-item-dados > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    word-wrap: break-word;
    width: 100%;
    padding: 5px 10px;
    color: #59636D;
}

.lista-item-dados a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    word-wrap: break-word;
    width: 100%;
    height: 100%;
}

.lista-item-dados > a > div {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
    word-wrap: break-word;
    width: 100%;
    height: 100%;
    padding: 8px;
}

.lista-item > .lista-item-dados a:hover {
    background-color: #EEEEEE;
}

.lista-item-opcoes {
    display: flex;
    flex-basis: 100px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 8px;
    
}

.lista-item-opcoes > div {
    display: flex;
    justify-content: flex-end;
    
}

.lista-item > div > span {
    font-weight: bold;
}

.lista-item > div > a > div > span {
    display: none;
    
}

.lista-item-arquivados > div > a > div > span {
    display: none;
    
}

.lista-item-titulo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14pt;
    /* border-bottom: 1px solid #EAEAEB; */
    background-color: #81B097;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}


.lista-item-titulo > div {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* border-radius: 5px; */
    width: 100%;
    margin: 0px 0px;
    padding: 8px;
    word-wrap: break-word;
    
}

.lista-item-detalhe-coluna {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
    margin: 15px 0px;
    border-radius: 5px;
    box-shadow: 0px 0px 6px lightgray;
    background-color: #FFFFFF;
}

.lista-item-detalhe-linha {
    display: flex;
    align-items: center;
    width: 100%;
    /* background-color: khaki; */
}

.lista-item-detalhe-linha-botoes {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 10px 0;
    margin-top: 10px;
}

.lista-item-detalhe-linha > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin: 5px;
    padding: 15px;
    word-wrap: break-word;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    color: #59636D;
}

.lista-item-detalhe-linha > div > span {
    display: flex;
    color: #81B097;
    margin-right: 5px;
    font-weight: bold;
    font-size: 12pt;
    width: 100%;
    padding-bottom: 5px;
    
    
    
}



@media only screen and (max-width:700px) {
    .lista-item {
        flex-direction: column;
        /* background-color: khaki; */
        margin-bottom: 5px;
        padding: 10px;
        border: 1px solid #EAEAEB;
        border-radius: 10px;

    }

    .lista-item-arquivados {
        flex-direction: column;
        /* background-color: khaki; */
        margin-bottom: 5px;
        padding: 10px;
        border-radius: 10px;
    }

    .lista-item-arquivados > .lista-item-dados > a {
        flex-direction: column;
        /* background-color: khaki; */
        margin-bottom: 5px;
        padding: 10px;
        border-radius: 10px;
    }

    .lista-item > div {
        /* justify-content: center; */
        /* background-color: lightcoral; */
        width: 100%;
        flex-wrap: wrap;
    }

    
    .lista-item > div > a {
        /* justify-content: center; */
        /* background-color: #F95F62; */
        width: 100%;
        flex-wrap: wrap;
    }

    .lista-item > div > a {
        flex-direction: column;
        /* justify-content: center; */
        /* background-color: #F95F62; */
        width: 100%;
        flex-wrap: wrap;
    }

    .lista-item > div > a > div > span {
        display: flex;
        color: #81B097;
        margin-right: 2px;
    }

    .lista-item-arquivados > div > a > div > span {
        display: flex;
        color: lightgrey;
        margin-right: 2px;
        
    }

    .lista-item-titulo {
        display: none;
    }

    .lista-item-detalhe-linha {
        flex-direction: column;
        width: 100%;
    }

    .lista-item-dados-novo-info > div {
        width: 100%;
        /* background-color: lawngreen; */
    }
}

/* FORMULÁRIOS */
.formulario {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #F2F7F4;
    /* box-shadow: 0px 0px 6px lightgray; */
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.form-linha {
    display: flex;
    /* background-color: lightpink; */
    margin: 2px;;
}

.form-linha > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    width: 100%;
    padding: 10px;
    margin: 2px;
    /* background-color: lightseagreen; */
}

.form-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 40px;
    width: 500px;
    border-radius: 10px;
}


.form-login input {
    width: 100%;
    margin-top: 10px;
}

@media only screen and (max-width:700px) {
    .form-linha {
        flex-direction: column;
    }
    .form-linha > div {
        width: 100%;
    }
    .form-login {
        margin: 0 10px;
    }
    .form-login h1 {
        font-size: 16pt;
        text-align: center;
    }
    .form-login p {
        font-size: 10pt;
        text-align: center;
    }
}

input, select, textarea {
    word-wrap: break-word;
    font-size: 18pt;
    resize: none;
    width: 100%;
    padding: 10px 15px;
    font-size: 10pt;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
}


/* MENSAGENS */
#msg-sucesso {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #5cb85c;
    color: white;
    font-size: 12pt;
    text-align: center;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
}

#msg-erro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:#F95F62;
    color: white;
    font-size: 12pt;
    text-align: center;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
}

#msg-alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background-color: #FFC82C; */
    color:#59636D;
    font-size: 12pt;
    text-align: center;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
}

/* Modal */
.modal-container {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,.5);
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-mensagem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    width: 60%;
    min-width: 200px;
    padding: 40px;
    /* border: 10px solid #988b7a; */
    /* box-shadow: 0 0 0 10px white; */
    border-radius: 5px;
    position: relative;
    animation: modal .3s;
}

.modal-mensagem h3 {
    text-align: center;
    color: #59636D;
}

.confirmar-modal {
    /* position: absolute; */
    outline: none;
    font-size: 1.2em;
    /* top: -30px; */
    /* right: -30px; */
    width: 50px;
    height: 50px;
    border-radius: 5px;
    border: none;
    margin-top: 20px;
    background-color: #5cb85c;
    color: white;
    font-weight: Arial;
    cursor: pointer;
    /* box-shadow: 0 4px 4px 0 rgba(0,0,0,.3); */
}

@keyframes modal {
    from {
        opacity: 0;
        transform: translate3d(0, -80px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fechar {
    background-color: rgba(255,255,255,.2);
    color: white;
    padding: 2px 5px 2px 5px;
    border: none;
    outline: none;
    font-size: 12pt;
    cursor: pointer;
    border-radius: 2px;
    float: right;

}

.fechar:hover {
    background-color: rgba(255,255,255,.8);
    color: #59636D;
}

/* BOTÕES */
.botoes {
    display: flex;
    justify-content: space-between;
}

.botoes-cadastro {
    display: flex;
    justify-content: flex-end;
    padding: 12px;
}

.btn-editar {
    padding: 8px;
    font-size: 10pt;
    background-color: #f0ad4e;
    color: #FFFFFF;
    border-radius: 5px;
    margin: 0px 2px;
    text-decoration: none;
}

.btn-editar:hover {
    opacity: .8;
}

.btn-excluir {
    padding: 8px;
    font-size: 10pt;
    background-color: #F95F62;
    color: white;
    border-radius: 5px;
    margin: 0px 2px;
    text-decoration: none;
}

.btn-excluir-simples {
    padding: 8px;
    font-size: 10pt;
    color: #F95F62;
    border-radius: 5px;
    margin: 0px 2px;
    text-decoration: none;
}

.btn-excluir-simples:hover {
    background-color: #F95F62;
    color: #FFFFFF;
    transition: all .4s;
}

.btn-arquivar {
    padding: 8px;
    font-size: 10pt;
    background-color: #F95F62;
    color: white;
    border-radius: 5px;
    margin: 2px;
    text-decoration: none;
}

.btn-arquivar:hover {
    opacity: .8;
}

.btn-desarquivar {
    padding: 8px;
    font-size: 10pt;
    background-color: dodgerblue;
    color: white;
    border-radius: 5px;
    margin: 2px;
    text-decoration: none;
}

.btn-detalhes {
    padding: 8px;
    font-size: 10pt;
    background-color: dodgerblue;
    color: white;
    border-radius: 5px;
    margin: 2px 4px;
    text-decoration: none;
}

.btn-detalhes:hover {
    opacity: .8;
}



.btn-excluir:hover {
    opacity: .8;
}


.btn-enviar {
    text-align: center;    
    font-size: 10pt;
    color: #59636D;
    padding: 10px;
    border: none;
    color: #FFFFFF;
    border-radius: 5px;
    background-color: #5cb85c;
    margin-right: 2px;
}

.btn-enviar:hover {
    opacity: .8;
}

.btn-cancelar {
    text-align: center;    
    font-size: 10pt;
    color: #59636D;
    padding: 10px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    background-color: #FFFFFF;
}

.btn-cancelar:hover {
    background-color: #CCCCCC;
    color: #FFFFFF;
}

.botoes-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10pt;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.botoes-topo > .pesquisar {
    width: 100%;
    
}

.botoes-topo > .cadastrar {
    display: flex;
    justify-content: flex-end;
    
}

.form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pesquisar > form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    
}

.botoes-topo > .pesquisar > form > input[type=text] {
    /* width: 80%; */
    /* height: 40px; */
    padding: 10px;
    margin-right: 5px;
    font-size: 10pt;
    
    
}

.botoes-topo > .pesquisar > form > input[type=submit] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5%;
    margin-right: 2px;
    padding: 10px;
    font-size: 10pt;
    border: 1px solid #5cb85c;
    border-radius: 5px;
    color: white;
    text-align: center;
    background-color: #5cb85c;
    text-decoration: none;
    cursor: pointer;
    outline: none;
    
}

.botoes-topo > .pesquisar > form > input[type=submit]:hover {
    opacity: .8;
}

.botoes-topo-pg-detalhes {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /* background-color: lightcoral; */
    padding: 20px 0;
}

.btn-novo-cadastro {
    /* display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    padding: 10px 20px;
    font-size: 10pt;
    border-radius: 5px;
    color: white;
    text-align: center;
    background-color: dodgerblue;
    text-decoration: none;
    border: none;
    cursor: pointer;
    outline: none;
    width: 5%; */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5%;
    /* margin: 0px 2px 0px 0px; */
    padding: 10px;
    font-size: 10pt;
    border: 1px solid dodgerblue;
    border-radius: 5px;
    color: white;
    text-align: center;
    background-color: dodgerblue;
    text-decoration: none;
    cursor: pointer;
    outline: none;
}

.btn-voltar {
    margin: 10px 0px;
    padding: 10px;
    font-size: 10pt;
    border: 1px solid #EAEAEB;
    border-radius: 5px;
    color: #59636D;
    text-align: center;
    text-decoration: none;
}

.btn-voltar:hover {
    background-color: #CCCCCC;
    color: #FFFFFF;
}

.btn-novo-cadastro:hover {
    opacity: .8;
}

.btn-evolucao {
    margin: 10px 0px;
    padding: 10px;
    font-size: 10pt;
    border-radius: 5px;
    color: white;
    text-align: center;
    background-color: dodgerblue;
    text-decoration: none;
}

@media only screen and (max-width: 700px) {
    .btn-evolucao {
        font-size: 10pt;
    }

    .btn-editar i {
        font-size: 8pt;
    }

    .botoes-topo {
        flex-direction: column-reverse;
        justify-content: space-between;
        padding: 20px 0;
        
    }

    .botoes-topo > .pesquisar {
        width: 100%;
    }

    .botoes-topo > .pesquisar > form > input[type=text] {
        /* width: 70%; */
        font-size: 10pt;
    }

    .botoes-topo > .pesquisar > form > input[type=submit] {
        width: 30%;
        font-size: 10pt;
    }

    .cadastrar {
        width: 100%;
        justify-content: flex-end;
    }

    .btn-novo-cadastro {
        width: 30%;
    }
}

.evolucao {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* background-color: #F95F62; */
}

.evolucao-botao {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /* background-color: khaki; */
}

fieldset {
    width: 100%;
    margin: 15px 10px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    box-shadow: 0px 0px 6px lightgray;
    background-color: #FFFFFF;
}

legend {
    font-size: 10pt;
    padding: 10px;
    border-radius: 5px;
    background-color: #81B097;
    color: white;
    box-shadow: 0 0 4px #EAEAEB;
}

.evolucao-dados {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    /* background-color: #FFC82C; */
    margin: 5px;
}

.evolucao-dados > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin: 4px;
    padding: 10px;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    color: gray;

}

.evolucao-dados > div > span {
    margin-bottom: 5px;
    font-size: 10pt;
    color: #81B097;
}

/* MENU */
#topo {
    width: 100%;
    position: fixed;
}  

.nav {
    background-color: #81B097;
    border-bottom: 1px solid #eaeaeb;
    text-align: right;
    height: 40px;
    line-height: 40px;
}

.menu {
    
    margin: 0 30px 0 0;
    /* background-color: lightblue; */
}


.menu a {
    text-decoration: none;
    color: white;
    margin: 0 10px;
    line-height: 40px;
    width: 90%;
    /* background-color: #5cb85c; */
}

.nav label {
    /* background-color: lightcoral; */
    color: white;
    padding-right: 10px;
    font-size: 26px;
    line-height: 40px;
    display: none;
    
}

#toggle {
    display: none;

}

@media only screen and (max-width: 800px) {
    .nav label {
        display: block;
        cursor: pointer;
    }
    .menu {
        background-color: #81B097;
        text-align: center;
        width: 100%;
        display: none;
        position: absolute;
    }
    .menu a {
        display: block;
        border-bottom: 1px solid #eaeaeb;
    }
    #toggle:checked + .menu {
        display: block;
    }

    legend {
        text-align: center;
    }

    .evolucao-dados {
        flex-direction: column;
    }
}

.adicionar_medicamento > div {
    font-size: 18pt;
    margin: 2px;
    width: 40px;
    height: 40px;
    border: none;
    background-color: dodgerblue;
    color: white;
    outline: none;
}

/* Estilo da tab */
.tab {
    overflow: hidden;
    margin-top: 10px;
}

/* Estilo dos botões das tabs */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 13pt;
    color: #59636D;
}

/* Cor de fundo ao passar o mouse */
.tab button:hover {
    background-color: #F2F7F4;
    /* color: white; */
}

.tab button.active {
    background-color: #F2F7F4;
    /* color: white; */
}

/* Estilo tab contet */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #EAEAEB;
    border-top: none;
}

.adicionar-medicamento {
    display: flex;
    justify-content: space-between;
    background-color: #F2F7F4;
    padding: 20px;
    border-radius: 5px;
    
}
.adicionar-procedimento {
    display: flex;
    justify-content: space-between;
    background-color: #F2F7F4;
    padding: 20px;
    border-radius: 5px;
    
}

.entrada-medicamento {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
}
.entrada-procedimento {
    display: flex;
    justify-content: space-between;
    /* background-color: khaki; */
    /* justify-content: flex-end; */
    /* align-items: flex-start; */
    width: 100%;
}

.entrada-procedimento > .div-input-procedimento {
    /* background-color: lawngreen; */
    width: 100%;
}

.botoes-adicionar-medicamento {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-left: 2px;
}

.botoes-adicionar-procedimento {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-left: 2px;
    
}

.btn-adicionar-medicamento {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #5bc0de;
    color: white;
    text-decoration: none;
    word-wrap: break-word;
    padding: 10px;
    margin-right: 2px;
    font-size: 10pt;
    border: none;
    border-radius: 5px;
    outline: none;
}

.btn-adicionar-procedimento {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #5bc0de;
    color: white;
    text-decoration: none;
    word-wrap: break-word;
    padding: 10px;
    margin-right: 2px;
    font-size: 10pt;
    border: none;
    border-radius: 5px;
    outline: none;
}

.btn-adicionar-medicamento:hover {
    opacity: .8;
}
.btn-adicionar-procedimento:hover {
    opacity: .8;
}

.medicamentos-container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    
}
.procedimentos-container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    
}

.box-medicamentos {
    display: flex;
    background-color: #F2F7F4;
    padding: 20px;
}
.box-procedimentos {
    display: flex;
    background-color: #F2F7F4;
    padding: 20px;
}

.medicamentos-container > span {
    font-size: 10pt;
    color: #59636D;
}
.procedimentos-container > span {
    font-size: 10pt;
    color: #59636D;
}

.medicamentos-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 5px;
    padding: 10px;
    background-color: #FFFFFF;
    border: 1px solid #EAEAEB;
    border-radius: 5px;
}
.procedimentos-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 5px;
    padding: 10px;
    background-color: #FFFFFF;
    border: 1px solid #EAEAEB;
    border-radius: 5px;
}

.medicamentos-item > div > a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: none;
    background-color: #F95F62;
    color: white;
    margin-left: 10px;
    padding: 4px 4px;
    border-radius: 3px;
    cursor: pointer;
    outline: none;
    font-size: 10pt;
}
.procedimentos-item > div > a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: none;
    background-color: #F95F62;
    color: white;
    margin-left: 10px;
    padding: 4px 4px;
    border-radius: 3px;
    cursor: pointer;
    outline: none;
    font-size: 10pt;
}

.medicamentos-item > div > a:hover {
    opacity: .8;
}
.procedimentos-item > div > a:hover {
    opacity: .8;
}

@media screen and (max-width: 800px) {
    .medicamentos-container {
        flex-direction: column;
    }
    .medicamentos-item {
        width: 100%;
        margin-bottom: 5px;
    }
    .procedimentos-item {
        width: 100%;
        margin-bottom: 5px;
    }
    .tab button {
        width: 50%;
        font-size: 11pt;
    }

    .adicionar-medicamento {
        flex-direction: column;
    }
    .adicionar-procedimento {
        flex-direction: column;
    }

    .botoes-adicionar-medicamento {
        justify-content: space-between;
        margin-left: 0px;
        margin-top: 5px;
    }
    .botoes-adicionar-procedimento {
        justify-content: space-between;
        margin-left: 0px;
        margin-top: 5px;
    }
    .btn-adicionar-medicamento {
        width: 100%;
    }
    .btn-adicionar-procedimento {
        width: 100%;
    }
    .btn-enviar {
        /* width: 100%; */
    }

    .box-medicamentos {
        flex-direction: column;
    }
    .box-procedimentos {
        flex-direction: column;
    }
}

#bg-modal-medicamento {
    display: none;
    justify-content: center;
    align-items: center;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    position: fixed;
}
#bg-modal-procedimento {
    display: none;
    justify-content: center;
    align-items: center;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    position: fixed;
}

#bg-modal-medicamento:target {
    display: flex;
}
#bg-modal-procedimento:target {
    display: flex;
}

.box-modal-medicamento {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60%;
    background-color: white;
    border-radius: 5px;
}
.box-modal-procedimento {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60%;
    background-color: white;
    border-radius: 5px;
}

.topo-modal {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.topo-modal > h2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 5px;
    width: 100%;
    color: #59636D;
    border-bottom: 1px solid #cccccc;
    background-color: #F2F7F4;
    font-size: 12pt;
}

#fechar-modal {
    background-color: #F95F62;
    padding: 10px;
    color: white;
    border-radius: 5px;
}

.conteudo-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: lightcoral; */
    width: 100%;
}

#form-cadastro-medicamento {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: khaki; */
    width: 100%;
    padding: 15px;
}
#form-cadastro-procedimento {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: khaki; */
    width: 100%;
    padding: 15px;
}

#form-cadastro-medicamento > #nome {
    margin-right: 5px;
}
#form-cadastro-procedimento > #nome {
    margin-right: 5px;
}

@media screen and (max-width: 800px) {
    .box-modal-medicamento {
        width: 80%;
    }
}