@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

*,::before,::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
} 
section.header {
    background: #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
}
.infos-cadastro {
    padding: 10px 40px 0;
}
.cadastro {
  background: #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
}

.container {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  width: 700px;
  max-width: 100%;
}
footer {
    background: #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border: none;
    text-align: center;
}
.header {
  background: #009618;
  border-bottom: 1px solid #f0f0f0;
  padding: 20px 40px;
}

.header .titulo {
    margin: 0;
    font-weight: 600;
    color: #fff;
    font-size: 18px;
}

.sucesso22{
  display: none;
  position: fixed;
  left: 8%;
    width: 85%;
    text-align: center;
    top: 30px;
    border-radius: 20px;
    height: 90%;
    z-index: 1000;
    padding: 15% 2%;
  color: rgb(23, 145, 33);
  background-color: rgb(167, 245, 171);
  font-size: 14px;
  font-weight: 999;
  
}
p.texte {
  font-size: 55px;
}
.error22, .error222, .errorpdf{
  display: none;
  position: fixed;
  left: 8%;
    width: 85%;
    text-align: center;
    top: 30px;
    border-radius: 20px;
    height: 90%;
    z-index: 1000;
    padding: 15% 2%;
  color: rgb(145, 23, 23);
  background-color: rgb(245, 167, 167);
  font-size: 14px;
  font-weight: 999;
}

.overlay-loader22{
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.4);
}

.overlay-loader22 img {
  width: 32px;
  height: 32px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.form {
  padding: 30px 40px;
}

.form-control {
  margin-bottom: 10px;
  padding-bottom: 20px;
  position: relative;
}

.lado-a-lado {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  grid-gap: 20px;
}

.form-control label {
  /* display: grid; */
  margin-bottom: 5px;
}

.form-control input:focus {
    outline: 0;
}

.form-control input {
  border: 2px solid #f0f0f0;
  border-radius: 4px;
  display: block;
  font-family: inherit;
  font-size: 14px;
  padding: 10px;
  width: 100%;
}

.form-control.sucesso input {
  border-color: #2ecc71;
}

.form-control.erro input {
  border-color: #e74c3c;
}

input[type="file"]::-webkit-file-upload-button {
  background: #00a848;
  border: 0px;
  height: 40px;
  margin-right: 5px;
  color: #fff;
  cursor: pointer;
}

input[type="file"] {
  padding: 0 !important;
  cursor: pointer;
} 

p.enviar {
  position: relative;
  color: white;
  height: 45px;
  width: 100%;
  top: 0px;
  margin: 0;
  background: #00a848;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 1;
}

p.enviar:hover {
  opacity: .8;
}

.teste {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
}

h2 {
    font-size: 16px;
    margin: 0;
    font-weight: 400;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-control i {
  position: absolute;
  top: 39px;
  right: 10px;
  visibility: hidden;
}

.form-control.sucesso i.fa-check-circle {
  color: #2ecc71;
  visibility: visible;
}

.form-control.erro i.fa-exclamation-circle {
  color: #e74c3c;
  visibility: visible;
}

.form-control small {
  visibility: hidden;
  position: relative;
  bottom: 0;
  left: 0;
}

.form-control.erro small {
  color: #e74c3c;
  visibility: visible;
}

.form button {
  background: #00a848;
  border: 2px solid #00a848;
  border-radius: 4px;
  color: #fff;
  display: block;
  font-family: inherit;
  font-size: 16px;
  padding: 10px;
  width: 100%;
  cursor: pointer;
}

.form button:hover {
  opacity: .9;
}

.form button:focus {
    outline: 0;
}

.select {
  display: grid;
}

label {
  margin: 0;
}

.select-env {
  position: relative;
  padding: 13px;
  outline: 0;
  border: 2px solid #f0f0f0;
  border-radius: 4px;
  cursor: pointer;
}

.label-matricula {
  margin-bottom: 10px;
  padding-bottom: 20px;
}

i.fas.fa-check-circle.icon-file,
i.fas.fa-exclamation-circle.icon-file {
    left: 272px;
}

i.fas.fa-check-circle.icon-ma,
i.fas.fa-check-circle.icon-file {
  color: #fff;
}

i.fas.fa-check-circle.icon-ma,
i.fas.fa-exclamation-circle.icon-ma {
    left: 594px;
}


@media screen and (max-width: 768px){
  .lado-a-lado {
      display: grid;
      grid-template-columns: repeat(1,1fr);
      grid-gap: 0;
  }
  section.header img {
    width: 100%;
  }
}