/* RESET */

@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
b,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 22px;
  font-family: "Roboto", sans-serif;
  color: #555;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

h6 {
  font-size: 0.7rem;
}
h5 {
  font-size: 0.8rem;
}
h4 {
  font-size: 1rem;
}
h3 {
  font-size: 1rem;
}
h2 {
  font-size: 1.1rem;
}
h1 {
  font-size: 1.6rem;
  font-weight: 600;
}

.p {
  font-size: 0.9rem;
  margin: 40px 0;
  line-height: 25px;
}

.br {
  font-size: 0.9rem;
  margin: 4px 0;
  line-height: 25px;
}

.fio {
  border-top: 1px solid #ddd;
  height: 1px;
  margin: 30px 0;
}

.m-r {
  margin-right: 14px;
}

.m-l {
  margin-left: 14px;
}

.m-t {
  margin-top: 14px;
}

.m-b {
  margin-bottom: 14px;
}

.verde {
  color: #5fbcb0;
}

/* Colunas responsivas */
.col12 {
  width: 100%;
  border: 0 solid red;
}
.col9 {
  width: 75%;
  border: 0 solid red;
}
.col6 {
  width: 50%;
}
.col3 {
  width: 25%;
  border: 0 solid blue;
}

header {
  width: 100%;
  height: 88px;
  background-color: #f3f3f3;
  background-image: url("../../public/imgs/icon-x.png");
  background-repeat: no-repeat;
  background-position: right;
  padding: 25px 10%; /*ajusta largura do site*/
  box-sizing: border-box;
  position: fixed;
  top: 0;
  z-index: 101;
}

/******** DESKTOP *********/
@media (min-width: 867px) {
  main {
    border: 1px solid #fff;
    width: 80%;
    display: block;
    margin: 0 auto;
    margin-bottom: 80px;
    margin-top: 136px;
  }

  nav {
    width: 100%;
    height: 48px;
    position: fixed;
    background-color: #60bdb2;
    padding: 14px 10%; /*ajusta largura do site*/
    box-sizing: border-box;
    color: #b4e9e3;
    z-index: 102;
    top: 88px;
  }
  .a-voltar {
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid #999;
    color: #999;
    text-decoration: none;
    transition: 0.3s;
  }
  .a-voltar:hover {
    border: 1px solid #5f9ea0;
    background-color: #eee;
  }
  .btn-principal {
    color: #fff;
    border: 0;
    cursor: pointer;
    padding: 10px 22px;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: 0 3px 8px #ccc;
    background: linear-gradient(to left, #60bdb2 50%, #1fb8a1 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.3s ease-out;
  }
  .btn-principal:hover {
    background-position: left bottom;
  }

  .btn-secundario {
    color: #fff;
    border: 0;
    cursor: pointer;
    padding: 10px 22px;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: 0 3px 8px #ccc;
    background: linear-gradient(to left, #888 50%, #777 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.3s ease-out;
  }
  .btn-secundario:hover {
    background-position: left bottom;
  }
  .new {
    line-height: 26px;
    border-bottom: 1px solid #e3e3e3;
    padding: 12px 0;
  }
}

/******** TABLET *********/
@media (min-width: 615px) and (max-width: 866px) {
  header {
    padding: 25px 5%;
  }
  main {
    border: 1px solid #fff;
    width: 90%;
    display: block;
    margin: 0 auto;
    margin-bottom: 80px;
    margin-top: 136px;
  }
  nav {
    width: 100%;
    height: 48px;
    position: fixed;
    background-color: #60bdb2;
    padding: 12px 5%; /*ajusta largura do site*/
    box-sizing: border-box;
    color: #b4e9e3;
    z-index: 102;
    top: 88px;
  }
  .a-voltar {
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid #999;
    color: #999;
    text-decoration: none;
    transition: 0.3s;
  }
  .a-voltar:hover {
    border: 1px solid #5f9ea0;
    background-color: #eee;
  }
  .btn-principal {
    color: #fff;
    border: 0;
    cursor: pointer;
    padding: 10px 22px;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: 0 3px 8px #ccc;
    background: linear-gradient(to left, #60bdb2 50%, #1fb8a1 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.3s ease-out;
  }
  .btn-principal:hover {
    background-position: left bottom;
  }

  .btn-secundario {
    color: #fff;
    border: 0;
    cursor: pointer;
    padding: 10px 22px;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: 0 3px 8px #ccc;
    background: linear-gradient(to left, #888 50%, #777 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.3s ease-out;
  }
  .btn-secundario:hover {
    background-position: left bottom;
  }
  .new {
    line-height: 26px;
    border-bottom: 1px solid #e3e3e3;
    padding: 18px 0;
  }
}

footer {
  width: 100%;
  background-color: #eee;
  padding: 50px 0;
  text-align: center;
  box-sizing: border-box;
  display: inline-block;
}

a {
  color: #555;
  text-decoration: none;
}
a:hover {
  color: #5f9ea0;
}

.box-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
}

.box-conteudo {
  display: flex;
  margin-bottom: 40px;
}

.logo {
  width: 195px;
  display: block;
}

.label-page {
  border: 0 solid blue;
  margin: 40px 0;
}
.label-page h3 {
  color: #5fbcb0;
  border-left: 4px solid #b2d9c6;
  padding-left: 10px;
}

.title-page {
  color: #777;
  border: 0 solid green;
  line-height: 32px;
}

.text-page {
  border: 0 solid blue;
  color: #555;
  display: inline-block;
  font-size: 1rem;
}

.legenda {
  font-size: 13px;
}

.input {
  padding: 10px;
}
.select {
  padding: 7px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  color: #555;
}

.alerta {
  margin: 2px 0;
  box-sizing: border-box;
}

.alert-info {
  background-color: #ffef8b;
  color: #99760f;
  padding: 6px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

.alert-erro {
  background-color: #ffe4e2;
  color: #cc1e1e;
  padding: 6px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
}
.alert-sucesso {
  background-color: #deffb9;
  color: #426e6a;
  padding: 6px 10px;
  border-radius: 5px;
  display: flex;
  align-items: center;
}

.alert-modal {
  width: 300px;
  height: auto;
  padding: 15px;
  position: fixed;
  top: 5rem;
  opacity: 0;
  right: 10%;
  z-index: 110;
  background-color: #ffef8b;
  box-shadow: 0 5px 10px 0.8px #44444440;
  box-sizing: border-box;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: 0.3s;
}

.alert-modal i {
  width: 248px;
  text-align: left;
  float: left;
  color: #b4a64c;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.alert-modal span {
  width: auto;
  padding: 1px 4px;
  text-align: right;
  float: right;
  cursor: pointer;
  margin-bottom: 5px;
}

/*** FORM **/

.campo-g {
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
  color: #555;
  border: #ccc 1px solid;
  border-radius: 5px;
  box-shadow: 0 2px 6px #ccc;
  margin-bottom: 12px;
  font-size: 15px;
}

.campo-m {
  padding: 10px 12px;
  width: 49.6%;
  box-sizing: border-box;
  color: #555;
  border: #ccc 1px solid;
  border-radius: 5px;
  box-shadow: 0 2px 6px #ccc;
  margin-bottom: 12px;
  font-size: 15px;
}

.campo-p {
  padding: 10px 12px;
  width: 29.6%;
  box-sizing: border-box;
  color: #555;
  border: #ccc 1px solid;
  border-radius: 5px;
  box-shadow: 0 2px 6px #ccc;
  margin-bottom: 12px;
  font-size: 15px;
}

.box-gen {
  background-color: #dfeef3;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 5px;
  margin-bottom: 25px;
  border: 1px solid #b6d8e3;
  font-size: 1rem;
}

/******** MOBILE *********/
@media (max-width: 614px) {
  header {
    padding: 25px 5%;
    border-bottom: 4px solid #80c8b9 !important;
  }

  nav {
    background-color: #60bdb2;
    padding: 0; /*ajusta largura do site*/
    box-sizing: border-box;
    color: #b4e9e3;
  }

  main {
    border: 1px solid #fff;
    width: 90%;
    display: block;
    margin: 0 auto;
    margin-bottom: 80px;
    margin-top: 88px;
  }

  .logo {
    width: 140px;
    display: block;
  }

  .box-conteudo {
    display: block;
    margin-bottom: 40px;
  }

  .new {
    line-height: 26px;
    border-bottom: 1px solid #e3e3e3;
    padding: 12px 0;
  }
  footer {
    width: 100%;
    background-color: #eee;
    padding: 50px 0;
    text-align: center;
    box-sizing: border-box;
    display: inline-block;
  }
  .a-voltar {
    width: 100%;
    padding: 12px 15px;
    border-radius: 5px;
    border: 1px solid #999;
    color: #999;
    text-decoration: none;
    text-align: center;
    transition: 0.3s;
    display: block;
    box-sizing: border-box;
  }
  .a-voltar:hover {
    border: 1px solid #5f9ea0;
    background-color: #eee;
  }
  .campo-p {
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    color: #555;
    border: #ccc 1px solid;
    border-radius: 5px;
    box-shadow: 0 2px 6px #ccc;
    margin-bottom: 12px;
    font-size: 15px;
  }

  .campo-m {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    color: #555;
    border: #ccc 1px solid;
    border-radius: 5px;
    box-shadow: 0 2px 6px #ccc;
    margin-bottom: 12px;
    font-size: 15px;
  }

  .campo-g {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
    color: #555;
    border: #ccc 1px solid;
    border-radius: 5px;
    box-shadow: 0 2px 6px #ccc;
    margin-bottom: 12px;
    font-size: 15px;
  }
  .btn-principal {
    width: 100%;
    color: #fff;
    border: 0;
    cursor: pointer;
    padding: 16px;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: 0 3px 8px #ccc;
    box-sizing: border-box;
    background: linear-gradient(to left, #60bdb2 50%, #1fb8a1 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.3s ease-out;
    margin-bottom: 30px;
  }
  .btn-principal:hover {
    background-position: left bottom;
  }

  .btn-secundario {
    width: 100%;
    color: #fff;
    border: 0;
    cursor: pointer;
    padding: 16px;
    border-radius: 5px;
    font-size: 1rem;
    box-shadow: 0 3px 8px #ccc;
    box-sizing: border-box;
    background: linear-gradient(to left, #888 50%, #777 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.3s ease-out;
  }
  .btn-secundario:hover {
    background-position: left bottom;
  }
  .m-r {
    margin-right: 0;
  }
  .m-l {
    margin-left: 0;
  }
  .m-t {
    margin-top: 30px;
  }
  .alert-modal {
    width: 92%;
    margin: 0 4%;
    height: auto;
    padding: 15px;
    position: fixed;
    top: 5rem;
    opacity: 0;
    right: 0;
    z-index: 110;
    background-color: #ffef8b;
    box-shadow: 0 5px 10px 0.8px #44444440;
    box-sizing: border-box;
    border-radius: 5px;
    font-size: 1rem;
    transition: 0.3s;
  }
  .alert-modal i {
    width: inherit;
    text-align: left;
    float: left;
    color: #b4a64c;
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .alert-modal span {
    width: auto;
    padding: 1px 4px;
    text-align: right;
    float: right;
    cursor: pointer;
    margin-bottom: 5px;
  }
}
