* {
  margin: 0;
  padding: 0;
  outline: none;
  font-family: 'OpenSansRegular';
  transition: all .3s ease-out;
}
body {margin: 8px;}

input[type="text"],input[type="date"],input[type="tel"],input[type="email"],input[type="number"],input[type="password"],textarea,select {
  position: relative;
  width: 100%;
  height: 34px;
  padding: 0 0 0 12px;
  /* margin: 0 0 8px 0; */
  border-radius: 0px;
  border: 2px solid #ffffff;
  background-color: #ffffff;
  color: #000;
  font-size: 14px;
  box-sizing: border-box;
}

/* input[type="text"]:hover,input[type="date"]:hover,input[type="tel"]:hover,input[type="email"]:hover,input[type="number"]:hover,input[type="password"]:hover,select:hover,textarea:hover {} */

input[type="text"]:focus,input[type="date"]:focus,input[type="tel"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="password"]:focus,select:focus,textarea:focus {
  box-shadow: 3px 3px 8px -1px rgba(0,0,0,.4);
  z-index: 9;
}

select {
  width: 100%;
  height: 34px;
  padding: 0 0 0 8px;
  cursor: pointer;
}

textarea {
  width: 100%;
  max-width: 100%;
  height: 70px;
  max-height: 70px;
  padding-top: 8px;
  /* margin-bottom: 5px; */
}

input[type="submit"], button {
  width: 100%;
  height: 40px;
  margin-top: 0px;
  color: #FFFFFF;
  text-shadow: 1px 1px 1px rgba(0,0,0,.28);
  font-size: 22px;
  cursor: pointer;
  clear: both;
  border: none;
  border-radius: 0px;
  background-color: #299E0C;
  word-wrap: break-word;
  transition: background-color .3s ease-out;
  text-transform: uppercase;
}

input[type="submit"]:hover, button:hover {
  background-color: #006929;
}

input[type="submit"]:active, button:active {
  box-shadow: inset 0 0 32px 0 #333;
}

/* Estilos do PLACEHOLDER (Media: 0px) */
::-webkit-input-placeholder {color: #000 !important;}
:-moz-placeholder {color: #000 !important;}
::-moz-placeholder {color: #000 !important;}
:-ms-input-placeholder {color: #000 !important;}

/* Estilo da mensagem de obrigado e erro (Media: 0px) */
#msgObrigado {
  color: #fff;
  /* height: 62px; */
  margin: 20px 10px 0 10px;
  text-align: center;
  padding-top: 35px;
  border-radius: 7px;
  font-size: 23px;
}

#msgErro {
  color: #fff;
  height: 100px;
  margin: 20px 10px 0 6px;
  text-align: center;
  padding-top: 35px;
  border-radius: 7px;
  font-size: 24px;
}

#msgErro b {
  color: #F00;
  text-shadow: 0 0 8px rgba(0,0,0,.5)
}

#outroFormulario{
  padding-top: 10px;
}

#outroFormulario a {
  text-decoration: underline;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}

#outroFormulario a:hover {
  text-decoration: underline
}

/* GRID Modelos */
.grid{
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 6px;
}

/* Media Query de caixa ate 301px de width */
@media (min-width: 301px) {
  input[type="text"]:focus,input[type="date"]:focus,input[type="tel"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="password"]:focus,select:focus,textarea:focus {
      box-shadow: 3px 3px 8px -1px rgba(0,0,0,.4);
      z-index: 9;
  }
  input[type="text"],input[type="date"],input[type="tel"],input[type="email"],input[type="number"],input[type="password"],textarea,select {
      height: 34px;
      width: 100%;
      /* margin: 0 7px 7px 0; */
      float: left;
      transition: all .3s ease-out;
  }
  textarea {
      width: 100%;
      max-width: 100%;
      height: 80px;
      max-height: 80px;
      padding-top: 8px;
  }
  select {
      width: 100%;
      height: 34px;
      padding: 0 0 0 8px;
      cursor: pointer;
  }
  input[type="submit"], button {
      width: 100%;
      height: 40px;
      border-radius: 0px;
  }
  #msgObrigado {
      margin: 30px 10px 0px 0px !important;
  }
  #msgErro {
      margin: 50px 30px 0px 20px !important;
  }
  #msgErro b {
      color: #F00;
      text-shadow: 0 0 8px rgba(0,0,0,.5)
  }
}

/* Media Query de caixa ate 400px de width */
@media (min-width: 400px) {

  /* GRID 400px */
  .grid{
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-gap: 10px;
  }

  input[type="text"]:focus,input[type="tel"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="password"]:focus,select:focus,textarea:focus {
      /* background-color: #fff; */
      box-shadow: 3px 3px 8px -1px rgba(0,0,0,.4);
      z-index: 9;
  }
  input[type="text"],input[type="tel"],input[type="email"],input[type="number"],input[type="password"],textarea,select {
      height: 42px;
      width: 100%;
      /* margin: 0 8px 8px 0; */
      line-height: 30px;
      border-radius: 0px;
      border-color: #ffffff;
      background-color: #ffffff;
      color: #000;
      transition: all .3s ease-out;
  }
  textarea {
      width: 100%;
      min-width: 100%;
      height: 70px;
      max-height: 70px;
      padding-top: 7px;
      padding-right: 10px;
      line-height: 15px;
  }
  select {
      width: 100%;
      height: 42px;
      /* padding: 0 0 0 12px; */
      cursor: pointer;
  }
  input[type="submit"], button {
      width: 100%;
      height: 70px;
      margin-top: 0px;
      text-transform: uppercase;
      font-size: 19px;
      letter-spacing: 2px;
      border-radius: 0px;
  }

  /* Estilo da mensagem de obrigado e erro (Media: ate 400px width) */
  #msgObrigado {
      margin: 10px 20px 0px 0px !important;
      color: #fff;
  }
  #msgErro {
      margin: 10px 20px 0px 0px !important;
      height: 0px;
      color: #fff;
  }
  #outroFormulario{
      padding-top: 10px;
  }
  #outroFormulario a {
      line-height: 50px;
      color: #fff;
  }
  #msgErro b {
      color: #F00;
      text-shadow: 0 0 8px rgba(0,0,0,.5)
  }

  /* Estilos do PLACEHOLDER (Media: ate 400px width) */
  ::-webkit-input-placeholder {color: #000 !important;}
  :-moz-placeholder {color: #000 !important;}
  ::-moz-placeholder {color: #000 !important;}
  :-ms-input-placeholder {color: #000 !important;}
}

/* Estilo somente para o firefox */
@-moz-document url-prefix("") {}
