body {
  font-family: "Montserrat", sans-serif;
  background-image: url("../../../assets/img2/car.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
  
.container {
  max-width: 900px;
}


a {
  display: inline-block;
  text-decoration: none;
}

#togglePassword{
  position: fixed; 
  top: 110px; 
  margin-left: 300px; 
  cursor: pointer;}
  
.form-hidden {
  display: none;
}

.input-hidden {
  display: none;
}
/*Estilo para o alert box */
/* The alert message box */
.alert {
  position: absolute;
  top: -50px;
  padding: 20px;
  background-color: #f44336; /* Red */
  color: white;
  margin-bottom: 15px;
}
.alert_success {
  position: absolute;
  top: -20px;
  padding: 20px;
  background-color: #489e4c; /* Green */
  color: white;
  margin-bottom: 15px;
}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: black;
}

/* Estilo para o combobox */
.account_type, .city {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color:  #252525;
  ;
}

/* Estilo para o fundo quando o combobox estiver ativo */
.account_type:focus {
  border-color: #007bff;
  outline: none;
}

/* Estilo para o layout dos campos lado a lado */
.form-group-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Estilo para cada grupo de entrada */
.input-group {
  width: calc(50% - 10px);
  margin-bottom: 15px;
}

/* Limpar margens internas das entradas */
.input-group input {
  margin: 0;
}

/* Estilo para os labels dos campos */
.input-group label {
  display: block;
  margin-bottom: 5px;
}




.cancel{
  font-size: 13px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  color: #ececec;
  text-decoration: underline;
  transition: all 0.3s;
}

input {
  outline: none !important;
}

h1 {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 40px;
  font-weight: 700;
}

section#formHolder {
  padding: 50px 0;
}

.brand {
  padding: 20px;
  background: url(https://goo.gl/A0ynht);
  background-size: cover;
  background-position: center center;
  color: #fff;
  min-height: 580px;
  position: relative;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.6s cubic-bezier(1, -0.375, 0.285, 0.995);
  z-index: 9999;
  overflow: hidden;
}
.brand.active {
  width: 100%;
}
.brand::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgb(255, 255, 255);
  z-index: -1;
}
.brand a.logo {
  color: #2253bd;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1em;
}
.brand a.logo span {
  font-size: 30px;
  color: #ffffff;
  transform: translateX(-5px);
  display: inline-block;
}
.brand .heading {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  transition: all 0.6s;
}

.brand .heading .car-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.brand .heading.active {
  top: 100px;
  left: 100px;
  transform: translate(0);
}
.brand .heading h2 {
  font-size: 70px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
}
.brand .heading p {
  font-size: 15px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: 4px;
  font-family: "Raleway", sans-serif;
}
.brand .success-msg {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 60px;
}
.brand .success-msg p {
  font-size: 25px;
  font-weight: 400;
  font-family: "Raleway", sans-serif;
}
.brand .success-msg a {
  font-size: 12px;
  text-transform: uppercase;
  padding: 8px 30px;
  background: #f95959;
  text-decoration: none;
  color: #fff;
  border-radius: 30px;
}
.brand .success-msg p,
.brand .success-msg a {
  transition: all 0.9s;
  transform: translateY(20px);
  opacity: 0;
}
.brand .success-msg p.active,
.brand .success-msg a.active {
  transform: translateY(0);
  opacity: 1;
}

.form {
  position: relative;
}
.form .form-peice {
  background: #252525;
  min-height: 580px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  color: #bbbbbb;
  padding: 30px 0 60px;
  transition: all 0.9s cubic-bezier(1, -0.375, 0.285, 0.995);
  position: absolute;
  top: 0;
  left: -30%;
  width: 130%;
  overflow: hidden;
}
.form .form-peice.switched {
  transform: translateX(-100%);
  width: 100%;
  left: 0;
}
.form form {
  padding: 0 40px;
  margin: 0;
  width: 70%;
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
}
.form form .form-group {
  margin-bottom: 5px;
  position: relative;
}
.form form .form-group.hasError input {
  border-color: #f95959 !important;
}
.form form .form-group.hasError label {
  color: #f95959 !important;
}
.form form label {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  transform: translateY(40px);
  transition: all 0.4s;
  cursor: text;
  z-index: -1;
}
.form form label.active {
  transform: translateY(10px);
  font-size: 10px;
}
.form form label.fontSwitch {
  font-family: "Raleway", sans-serif !important;
  font-weight: 600;
}
.form form input:not([type="submit"]) {
  background: none;
  outline: none;
  border: none;
  display: block;
  padding: 10px 0;
  width: 100%;
  border-bottom: 1px solid #eee;
  color: #eee;
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
  z-index: 1;
}

.form form input:not([type="button"]) {
  background: none;
  outline: none;
  border: none;
  display: block;
  padding: 10px 0;
  width: 100%;
  border-bottom: 1px solid #eee;
  color: #eee;
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
  z-index: 1;
}
.form form input:not([type="submit"]).hasError {
  border-color: #f95959;
}
.form form span.error {
  color: #f95959;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  position: absolute;
  bottom: -20px;
  right: 0;
  display: none;
}
.form form input[type="password"] {
  color: #f95959;
}
.form form .CTA {
  margin-top: 30px;
}
.form form .CTA input {
  font-size: 12px;
  text-transform: uppercase;
  padding: 5px 30px;
  background: #2253bd;
  color: #fff;
  border-radius: 30px;
  margin-right: 20px;
  border: none;
  font-family: "Montserrat", sans-serif;
}
.form form .CTA a.switch {
  font-size: 13px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  color: #ececec;
  text-decoration: underline;
  transition: all 0.3s;
}
.form form .CTA a.switch:hover {
  color: #2253bd;
}

footer {
  text-align: center;
}
footer p {
  color: #777;
}
footer p a,
footer p a:focus {
  color: #b8b09f;
  transition: all 0.3s;
  text-decoration: none;
}
footer p a:hover,
footer p a:focus:hover {
  color: #f95959;
}


@media (max-width: 768px) {
  .container {
    overflow: hidden;
  }


#formHolder {
    padding: 0;
  }
#formHolder div.brand {
    min-height: 200px ;
  }
#formHolder div.brand.active {
    min-height: 100vh ;
  }
#formHolder div.brand .heading.active {
    top: 200px;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #formHolder div.brand .success-msg p {
    font-size: 16px;
  }
  #formHolder div.brand .success-msg a {
    padding: 5px 30px;
    font-size: 10px;
  }
 #formHolder .form {
    width: 80vw;
    min-height: 500px;
    margin-left: 10vw;
  }
 #formHolder .form .form-peice {
    margin: 0;
    top: 0;
    left: 0;
    width: 100% ;
    transition: all 0.5s ease-in-out;
  }

#formHolder .form .form-peice > form {
    width: 100% ;
    padding: 60px;
    left: 50%;
  }
}

