@charset "utf-8";
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);

/* -------- FONDO GRIS CLARO -------- */
div.main {
/*  background-color: #f5f5f5;*/
  background-color: #ffffff;
  height: 100vh;
  width: 100%;
}

[class*="fontawesome-"]:before {
  font-family: 'FontAwesome', sans-serif;
}

/* ---------- GENERAL ---------- */
* {
  box-sizing: border-box;
  margin: 0 auto;
}

body {
  color: #333;
  font: 87.5%/1.5em 'Open Sans', sans-serif;
  margin: 0;
  background-color: #f5f5f5;
}

a {
  color: #666;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  color: #891717;
  text-decoration: underline;
}

input {
  border: none;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5em;
  padding: 0;
  -webkit-appearance: none;
}

.container {
  left: 50%;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* ---------- LOGIN ---------- */
#login form {
  width: 250px;
}

#login,
.logo {
  display: inline-block;
  width: 40%;
}

#login {
  border-right: 1px solid #ccc;
  padding: 0px 22px;
  width: 59%;
}

.logo {
  text-align: center;
}

.logo img {
  max-width: 100%;
  height: auto;
}

/* -------- ICONOS -------- */
#login form span.fa {
  background-color: #fff;
  color: #891717;
  border-radius: 4px 0 0 4px;
  display: block;
  float: left;
  height: 50px;
  font-size: 24px;
  line-height: 50px;
  text-align: center;
  width: 50px;
}

/* -------- INPUTS -------- */
#login form input {
  height: 50px;
}

#login form input[type="text"],
#login form input[type="password"] {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #000;
  margin-bottom: 1em;
  padding: 0 16px;
  width: calc(100% - 50px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

#login form input[type="text"]:focus,
#login form input[type="password"]:focus {
  border: 1px solid #891717;
  box-shadow: 0 0 6px rgba(137, 23, 23, 0.3);
  outline: none;
}

/* -------- BOTÓN -------- */
#login form input[type="submit"] {
  border-radius: 6px;
  background-color: #891717;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px;
  height: 40px;
  width: 100%;
  transition: all 0.2s ease-in-out;
}

#login form input[type="submit"]:hover {
  background-color: #fff;
  color: #891717;
  border: 1px solid #891717;
}

/* -------- TEXTO BAJO LOGIN -------- */
#login > p {
  text-align: center;
  color: #999;
  font-size: 13px;
}

#login > p span {
  padding-left: 5px;
}

.middle {
  display: flex;
  width: 600px;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  .middle {
    flex-direction: column;
    width: 90%;
  }

  #login,
  .logo {
    width: 100%;
    border-right: none;
    text-align: center;
  }

  #login {
    padding: 20px;
  }

  .logo {
    margin-bottom: 10px;
  }

  #login form {
    width: 100%;
  }

  #login form input[type="text"],
  #login form input[type="password"] {
    width: calc(100% - 50px);
  }

  #login form input[type="submit"] {
    width: 100%;
    height: 40px;
    font-size: 1rem;
  }
}
