html, body {
  height: 100vh;
  background: #181818;
  background-image: url("http://backgroundcheckall.com/wp-content/uploads/2017/12/login-page-background-images-hd-9.jpg");
  background-image: url("http://fic.goredelosrios.cl/themes/allware/css/login/images/wall.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background: transparent;
  overflow: hidden;
}

p {
  margin-bottom: 0;
}

h1 {
  margin-top: 0;
}

img {
  width: 40%;
  margin-right: 30px;
}

.container-fluid {
  height: inherit;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)) !important;
}

.container-fluid > .row {
  justify-content: center;
  height: inherit;
  align-items: center;
}

.card {
  background: rgba(0, 0, 0, 0.4) !important;
  border-radius: 15px;
}

.card-header {
  text-align: center;
}

.card-title {
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: #2f8faf;
  font-weight: bold;
}

input {
  cursor: pointer;
  padding: 10px !important;
  text-transform: uppercase;
  color: rgb(85, 116, 251);
  font-size: 0.8em;
  border-left: 5px solid lightblue;
  outline: 0;
}

input[type=password] {
  text-transform: none;
}

.input-group {
  margin-bottom: 5px;
  text-align: center;
}

.form-control {
  font-size: 1rem;
  color: lightblue !important;
  font-weight: bold;
}

#bg {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  position: fixed;
  background: transparent url("/img/inmobiliario.jpg") !important;
  background-size: cover !important;
  animation: zoomBg 60s infinite;
  transform: scaleX(-1);
  transform: rotate(180deg);
  z-index: -1;
}

#navbar {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #000;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 10px;
  color: #f2f2f2;
  width: 100%;
  display: flex;
  align-content: center;
  justify-content: space-around;
  align-items: stretch;
  position: fixed;
}

@keyframes zoomBg {
  from {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  to {
    transform: scale(1);
  }
}
#loader {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgb(0, 0, 0);
  background: linear-gradient(rgb(24, 22, 22), rgba(0, 0, 0, 0.7));
  background: #151515;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loader p {
  color: lightblue;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

#clock {
  align-items: center;
  justify-content: left;
}

#clock p {
  background: transparent;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 15px;
  color: #f2f2f2;
  text-align: center;
  background: rgba(87, 87, 87, 0.4392156863);
  border-radius: 10px;
  height: 100%;
}

@keyframes lds-eclipse {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.lds-eclipse {
  position: relative;
}

.lds-eclipse div {
  position: absolute;
  animation: lds-eclipse 1.1s linear infinite;
  width: 160px;
  height: 160px;
  top: 20px;
  left: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 0 0 #3d68e6;
  transform-origin: 80px 82px;
}

.lds-eclipse {
  width: 200px !important;
  height: 200px !important;
  transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}

.msj-input {
  display: none;
  max-width: 60%;
  margin: 5px auto;
  text-align: left;
  font-size: 0.8em;
  color: rgb(255, 64, 64);
}

.error {
  border-left-color: rgb(255, 64, 64) !important;
}

label[for=user], label[for=password] {
  position: absolute;
  left: 50px;
  color: grey;
  transition: all 0.4s ease-out;
  font-weight: normal;
  z-index: 9;
  font-size: 1em;
  top: 6px;
  text-transform: uppercase;
}

.translateLabel {
  transform: translateY(-10px);
  font-size: 0.6em !important;
  top: 10px !important;
}

#logo-md {
  display: none;
}

@media screen and (max-width: 900px) {
  #clock p {
    max-width: 100%;
    margin-top: 10px;
  }
  img {
    width: 100%;
  }
  #logo-md {
    display: none;
  }
}
@media screen and (max-width: 900px) and (orientation: landscape) {
  #logo-lg {
    display: none;
  }
  #logo-md {
    display: inline-block;
  }
  img {
    width: 90%;
  }
  .card-title {
    margin-top: 0;
  }
  #clock {
    margin-top: 0;
  }
}
