@import 'bootstrap.min.css';
/* @import 'font-awesome.min.css'; */
@import 'preloader.css';
/* @import 'https://fonts.googleapis.com/css?family=Titillium+Web:300,400,600,700,900'; */
body,
html {
  background-color: #f0f2f5;
  background-image: url(../images/backgroundLogin.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100%;
  height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body {
  font-family: titillium web, sans-serif;
  font-size: 1.6em;
  font-weight: 400;
  color: #44525f;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: #2d385e;
}

a:focus {
  outline: none;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: titillium web, sans-serif;
  color: #2d385e;
}

a,
a:hover,
a:focus {
  color: #1175bb;
}

.btn-primary {
  background-color: #1175bb;
  border-color: #1175bb;
}

.btn-primary:hover,
.btn-primary:active:hover,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: #046db8;
  border-color: #046db8;
}

.authfy-login .btn.btn-lg {
  border-radius: 3px;
  box-shadow: 0 2px 3px #9c9c9c;
}

.brand-logo {
  margin-top: 0;
  margin-bottom: 35px;
}

.brand-image {
  width: 180px;
}
.authfy-container {
  margin-top: 97px;
  margin-bottom: 97px;
}

.authfy-panel-left {
  background-color: rgba(0, 48, 82, 0.92);
  color: #fff;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -webkit-box-shadow: 0 3px 6px #1d2030;
  box-shadow: 0 3px 6px #1d2030;
}

.authfy-panel-right {
  background-color: #fff;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  -webkit-box-shadow: 0 2px 6px 0 #1d2030;
  box-shadow: 0 2px 6px 0 #1d2030;
}

.authfy-login,
.authfy-panel-left .brand-col {
  height: 460px;
}

.authfy-panel-left .brand-col {
  display: table;
  width: 100%;
  padding: 25px;
}

.authfy-panel-left .brand-col .headline {
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}

.authfy-panel-left .brand-col .headline h1,
.authfy-panel-left .brand-col .headline h2,
.authfy-panel-left .brand-col .headline h3 {
  color: #fff;
  font-size: 48px;
  font-weight: 700;
}
.authfy-panel-left .brand-col .headline p {
  font-size: 20px;
  color: white;
  line-height: 26px;
}
.authfy-login {
  position: relative;
  top: 0;
  left: 0;
  overflow: hidden;
}

.authfy-panel {
  padding: 20px 30px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateX(-100%);
  -webkit-transform: translateX(-100%);
}

.authfy-panel .authfy-heading {
  margin-bottom: 30px;
}

.authfy-login .auth-title {
  font-weight: 700;
}

.authfy-login .authfy-panel.active {
  opacity: 1;
  transform: translateX(0);
  -webkit-transform: translateX(0);
}

.brand-col .social-buttons a {
  color: #fff;
  margin-top: 15px;
}

.brand-col .social-buttons a:hover {
  color: #fff;
  opacity: 0.9;
}

.brand-col .social-buttons .btn-facebook {
  background: #3b5998;
}

.brand-col .social-buttons .btn-twitter {
  background: #00aced;
}

.brand-col .social-buttons .btn-google {
  background: #c32f10;
}

.brand-col .social-buttons a > span {
  padding-left: 5px;
}

.panel-login {
  margin-top: 20px;
}

.panel-login .remember-row {
  margin-bottom: 10px;
}

.panel-login .remember-row label {
  font-weight: 400;
  position: relative;
  cursor: pointer;
  color: #666;
  float: left;
  padding-left: 0;
  margin-top: 10px;
}

.authfy-login .forgotPwd {
  text-align: right;
  margin-top: 10px;
}

.panel-login .form-control,
.panel-signup .form-control,
.panel-forgot .form-control {
  background-color: #fff;
  color: #333;
  font-size: 18px;
  height: 50px;
  margin-bottom: 20px;
  padding: 12px 22px;
  border-radius: 3px;
  border: solid 1px #bcc2ce;
  outline: none;
  -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1), 0 0 2px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1), 0 0 2px 0 rgba(0, 0, 0, 0.1);
}

.authfy-panel.panel-forgot {
  padding-top: 40px;
}

.panel-login .form-control:focus,
.panel-signup .form-control:focus,
.panel-forgot .form-control:focus {
  border-color: #1175bb;
  z-index: 2;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.pwdMask {
  position: relative;
}

.pwdMask .pwd-toggle {
  color: #ccc;
  position: absolute;
  z-index: 2;
}

.panel-login .pwdMask .pwd-toggle,
.panel-signup .pwdMask .pwd-toggle {
  top: 15px;
  right: 15px;
}

.pwdMask .pwd-toggle:hover,
.pwdMask .pwd-toggle:focus {
  cursor: pointer;
}

.pwdMask .pwd-toggle:hover,
.pwdMask .pwd-toggle:focus,
.pwdMask .pwd-toggle.fa-eye {
  color: #1175bb;
}

.panel-signup .term-policy a {
  text-decoration: underline;
}

.checkbox input[type='checkbox'] {
  position: absolute;
  right: 9000px;
}

.checkbox input[type='checkbox'] + .label-text:before,
.checkbox input[type='checkbox'] + .label-text:after {
  font-size: 11px;
  display: inline-block;
  width: 17px;
  height: 17px;
  padding: 2px;
  margin-left: 0;
  position: absolute;
  top: 2px;
  left: 0;
}

.checkbox input[type='checkbox'] + .label-text:before {
  content: '';
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 3px;
  cursor: pointer;
  -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
  transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}

.checkbox input[type='checkbox'] + .label-text:after {
  background-color: #1175bb;
  color: #fff;
  border-radius: 2px;
  border-color: #1175bb;
  line-height: 1.4;
}

.checkbox input[type='checkbox'] {
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}

.checkbox input[type='checkbox']:focus + .label-text:before {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.checkbox input[type='checkbox']:checked + .label-text:after {
  font-family: fontawesome;
  content: '\f00c';
}
.content-login {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.content-login-box {
  width: 40%;
}

@media (min-width: 768px) {
  .authfy-panel {
    padding: 20px;
  }
}
@media (max-width: 1500px) {
  .content-login-box {
    width: 60%;
  }
}
@media (max-width: 900px) {
  .content-login-box {
    width: 70%;
  }
}
@media (max-width: 767px) {
  .content-login-box {
    width: 90%;
  }
  .authfy-panel-left,
  .authfy-panel-right {
    box-shadow: none;
  }
  .brand-image {
    width: 50px;
  }
  .brand-logo {
    margin-right: 10px;
    margin-bottom: 0px;
  }
  .authfy-panel-left .brand-col {
    padding: 25px 0;
  }
  .authfy-panel-left .brand-col .headline {
    display: flex;
    text-align: left;
  }
  .authfy-panel-left {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .authfy-panel-right {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }
  .authfy-panel-left .brand-col {
    height: auto;
    text-align: center;
  }
  .term-policy {
    font-size: 75%;
  }
}

@media (min-width: 320px) and (max-width: 375px) {
  .authfy-login .authfy-panel {
    padding: 20px;
  }
  .panel-login .remember-row {
    margin-bottom: 10px;
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .authfy-login {
    height: 480px;
  }
  .authfy-heading p {
    font-size: 14px;
  }
  .remember-row .col-sm-6 {
    width: 100%;
  }
  .authfy-login .forgotPwd {
    text-align: left;
    margin-top: 0;
  }
  .authfy-panel-left .brand-col .headline p {
    font-size: 14px;
  }
}

/* Xét fontsize các input 16px để ko bị zoom trên ios  */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select,
  textarea,
  input {
    font-size: 16px;
  }
}
