html { height: auto; }

body {
  color: #000;
  background-color: #FFF;
  /* background-image: url('/assets/images/sign-in-background-tablet.png'); */
  /* background-size: 100%; */
  /* background-position: center -15vw; */
  /* background-repeat: no-repeat; */
  font-family: 'Roboto', sans-serif;
  overflow-y: auto !important;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  font-size: 12px;
  display: flex;
}

@media (max-width: 767px) {
  body {
    /* background-image: url('/assets/images/sign-in-background.png'); */
    /* background-position: center -75vw; */
    /* font-size: 12px; */
  }
}

.background.bottom, .background.top, .background.white {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

@media (min-width: 768px) {
  .background.white {
    /* background: white; */
  }
}

.background.bottom {
  background-image: url('/assets/images/sign-in-background-bottom.png');
  opacity: 0.05;
}

.background.top {
  background-color: #29403f;
  /* border-bottom-left-radius: 30px; */
  /* border-bottom-right-radius: 30px; */
  height: 52%;
  width: 100%;
  /* background-image: url('/assets/images/sign-in-background-tablet.png'); */
  /* background-position: center -15vw; */
  /* opacity: 0.95; */
}

@media (max-width: 767px) {
  /* .background.top {
    background-image: url('/assets/images/sign-in-background.png');
    background-position: center -75vw;
    opacity: 0.95;
  } */
}


a, a:visited {
  /* color: #4c8685; */
  color: #000;
  font-weight: 500;
}

body > header {
  padding: 3rem 0 0;
  margin-bottom: -2rem;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  display: flex;
  height: 160px;
  position: relative;
  z-index: 2;
}

body > header div.site-logo {
  text-align: center;
  padding: 0 2rem;
}

body > header div.site-logo > img {
  display: inline-block;
  height: auto;
  width: 60%;
}

body > header div.site-logo > div {
  font-family: "Open Sans";
  font-weight: 400;
  margin-top: 1rem;
  font-size: 16px;
  color: #CDFFED;
}

@media (max-width: 992px) {

  body > header {
    height: auto;
  }

  body > header div.site-logo > img {
    max-height: 65px;
    width: auto;
  }

}

body > main {
  /* justify-content: flex-end;
  flex-direction: column;
  align-items: stretch; */
  min-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex: 3 1 auto;
  margin: 0 auto 1rem;
  /* position: relative; */
  z-index: 2;

  /* position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  margin-top: 0; */

}

/* @media (max-width: 450px) {
  body > main {
    margin: 1rem auto;
    /* min-width: 260px; *
  }
}

@media (max-width: 992px) {
  body > main {
    margin-top: 1rem;
  }
} */

body > main > div.alert {
  text-align: center;
  cursor: pointer;
}

body > footer {
  /* position: absolute;
  bottom: 0;
  right: 0;
  left: 0; */
  /* text-align: center; */
  font-family: Roboto;
  font-weight: 500;
  font-size: 13px;

  /* padding: 1.5rem; */
  color: #AAA;
  background: #F8F8F8;
}

@media (max-width: 450px) {
  body > footer {
    font-size: 0.75rem;
  }
}

body > footer a {
  color: #333333;
  font-weight: 600;
}

div.video-player {
  width: 100%;
  margin-bottom: 2rem;
}

div.sign-in-panel {
  justify-content: center;
  align-items: center;
  position: fixed;
  background: white;
  flex-direction: column;
  overflow-y: auto;
  display: flex;
  z-index: 1;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}

div.sign-in-panel a { color: #000000; }

div.sign-in-panel > form {
  /* box-shadow: 0 0 100px rgba(0, 0, 0, 0.12); */
  vertical-align: bottom;
  /* padding: 1rem; */
  /* background: #FCFCFC; */
}

@media (max-width: 450px) {
  div.sign-in-panel > form {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 992px) {
  div.sign-in-panel div.form-group {
    margin-bottom: 1rem;
  }
}

div.sign-in-panel input.form-control,
div.sign-in-panel input.form-control:hover,
div.sign-in-panel input.form-control:focus {
  height: auto;
  font-size: 16px;
  padding: 10px 26px 10px 45px;
  text-align: left;
  background-color: #FFFFFF;
  border: 1px solid #8c8c8c;
  font-weight: bold;
  color: #606060;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-position: 13px center;
}

div.sign-in-panel input.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgb(145 226 213 / 23%);
}

div.sign-in-panel input.form-control::placeholder {
  font-weight: 400;
  color: #616161;
}

div.sign-in-panel input#username { background-image: url('/templates/trichoexpert/assets/images/input-username.png'); }
div.sign-in-panel input#password { background-image: url('/templates/trichoexpert/assets/images/input-password.png'); }

@media (max-width: 992px) {
  div.sign-in-panel label {
    font-size: 13px;
  }
}

button.sign-in-button {
  /* background-color: rgba(255, 255, 255, 0.2); */
  /* background-image: url('/templates/trichoexpert/assets/images/sign-in-button-icon.png'); */
  /* background-repeat: no-repeat; */
  /* background-position: right center; */
  background-color: #29403f;
  color: white;
  padding: 1rem 3rem 1rem 3rem;
  /* height: 56px !important; */
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 50px;
  text-align: center;
  /* border: 2px solid white; */
  /* box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25); */
  /* display: block; */
  margin: 0 auto;
  /* width: 100%; */
}

button.sign-in-button:hover, button.sign-in-button:focus {
  /* background-color: #79466F; */
  color: white;
}

button.sign-in-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(134, 89, 126, 0.25);
}

@media (max-width: 992px) {
  button.sign-in-button {
    /* padding: 1rem 4rem 1rem 1rem; */
    /* background-size: 40px; */
    font-size: 14px;
  }
}

div.sign-in-image {
  /* border-bottom: 3px solid white; */
  /* border-top: 3px solid white; */
  margin-bottom: 10px;
}

div.sign-in-image > img {
  display: inline-block;
  /* margin-top: 85px; */
  /* max-width: 420px; */
  /* max-height: 45vh; */
}

div.sign-in-text {
  margin-top: 2rem;
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.2rem;
  padding: 0 1.5rem;
  font-weight: 400;
  max-width: 320px;
}

@media (min-width: 768px) {
  div.sign-in-text {
    margin-bottom: 40px;
    margin-top: 30px;
    max-width: 400px;
  }
}

div.footer-buttons a, div.footer-buttons button {
  background: #29403f;
  /* linear-gradient(180deg,rgba(243, 234, 207, 1) 0%, rgba(170, 157, 119, 1) 100%); */
  color: white;
  padding: 1rem 2rem 1rem 2rem;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 400;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  /* border: 2px solid white; */
  /* box-shadow: 0px 0px 4px rgb(0 0 0 / 25%); */
  margin: 0 auto;
}
