/***
Login page
***/

/* logo page */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
a { color: #2cabe1 }
a:hover,
a:focus { color: #12a1de }

.login {
  position: relative;
  float: left;
  width: 100%;
  width: 100vw;
  height: 100%;
  height: 100vh;
  display:-webkit-flex;
     display:-moz-flex;
      display:-ms-flex;
       display:-o-flex;
          display:flex;
  justify-content: center;
  -ms-align-items: center;
      align-items: center;
  -webkit-flex-direction: column;
     -moz-flex-direction: column;
      -ms-flex-direction: column;
       -o-flex-direction: column;
          flex-direction: column;
}

.login .content {
  /*background: rgba(0,0,0,0.6) url(../../images/bg-white-lock.png) repeat;*/
  background: rgba(255,255,255,1);
  width: auto;
  width: calc(100% - 32px);
  height: auto;
  height: calc(100% - 32px);
  margin: 16px; 
  padding: 30px 30px 0;
  border-radius: 4px !important;
  overflow: hidden;
  -webkit-box-shadow: 0 0 100px 0 rgb(44, 171, 225);
  box-shadow: 0 0 100px 0 rgb(44, 171, 225);
}

.login .logo {
  width: auto;
  margin: 0 auto 20px;
  text-align: center;
  height: 90px
}
.login .logo img{
  max-height: 90px
}
.login .content h3 {
  color: #c1c1c1;
}
.login .content h4  {
  color: #c1c1c1;
}

.login .content p,
.login .content label {
  color: rgba(0,0,0,0.87);
}
.login .content form,
.login .content .login-form,
.login .content .forget-form {
    padding: 0;
    margin: 0;
    height: 100%;
    height: calc(100vh - 171px);
    display: -webkit-flex;
       display: -moz-flex;
        display: -ms-flex;
         display: -o-flex;
            display: flex;
    -webkit-flex-direction: column;
       -moz-flex-direction: column;
        -ms-flex-direction: column;
         -o-flex-direction: column;
            flex-direction: column;
}
.form-header {
  margin-bottom: 30px;
}
.login-form .form-header img {
  float:left; margin:4px 14px 4px 0; width:32px;
}
.login .content .m-wrap {
  width: 100%;
}

.login .content .control-group {
  margin-bottom: 20px !important;
}

.login .content .input-icon .m-wrap {
  width: 100%;
  height: auto;
  padding-top: 13px !important;
  padding-right: 13px !important;
  padding-bottom: 13px !important;
  margin: 0 !important;
  border-radius: 3px !important;
}
.login .content .input-icon .m-wrap:focus {  border-color: #2cabe1}
.login .content .input-icon .m-wrap:focus + i{  color: #2cabe1}
.input-icon.left { position: relative }
.input-icon.left i {
    top: 0;
    margin: 16px 0 16px 10px;
    -webkit-transition: color linear .2s;
       -moz-transition: color linear .2s;
         -o-transition: color linear .2s;
            transition: color linear .2s;
}

.login .content .forget-form {
  display: none;
}

.login .content .register-form {
  display: none;
}

.login .content .form-title {
  font-weight: 300;
  margin-bottom: 25px;
}

.login .content .form-actions {
  background-color: transparent;
  clear: both;
  border: 0;
  border-bottom: 0;
  padding: 0;
  margin-left: -30px;
  margin-right: -30px;
  margin-top: auto;
  margin-bottom: 0;
  position: relative;
}

.login .content .forget-form .form-actions {
  border: 0;
  margin-bottom: 0;
  padding-bottom: 20px;
}  

.login .content .register-form .form-actions {
  border: 0;
  margin-bottom: 0;
  padding-bottom: 0px;
}

.login .content .form-actions .checkbox {
  margin-top: 8px;
  display: inline-block;
}

.login .content .form-actions .btn {
    margin-top: 0;
    width: 100%;
    padding: 14px;
    background-color: #2cabe1;
    transition: background-color linear .2s;
}
.login .content .form-actions .btn:hover,
.login .content .form-actions .btn:focus {
  background-color: #12a1de !important;
  outline: 0
}

.login .content .forget-password {
  margin-top: 0;
  margin-bottom: 20px;
}

.login .content .create-account {
  border-top: 1px dotted #eee;
  padding-top: 10px;
  margin-top: 15px;
}

.login .content .create-account a {
  display: inline-block;
  margin-top: 5px;
}

/* select2 dropdowns */
.login .content .select2-container i {
  display: inline-block;
  color: #ccc;
  z-index: 1;
  margin: 2px 4px 4px 3px; 
  width: 16px;
  height: 16px;
  font-size: 16px;
  text-align: center; 
}

.login .content .select2-container a span {
  font-size: 13px;
}

.login .content .select2-container a span img {
  margin-left: 4px;
}

/* footer copyright */
.login .copyright {
  text-align: center;
  width: 270px;
  margin: 0 auto; 
  padding: 10px 10px 0 10px;
  color: #eee;
  font-size: 12px;
}
.alert{
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 10px;
    border-radius: 4px !important;
    color: #2cabe1;
    background-color: #e5f7ff;
    border-color: #99e0ff;
}
.alert-danger, .alert-error{
    color: #d84a38;
    background-color: #ffe8e5;
    border-color: #ffbbb3;
}

@media (min-width: 768px) {
  .login {
    display:-webkit-block;
       display:-moz-block;
        display:-ms-block;
         display:-o-block;
            display:block;
  }
  .login .content {
    width: auto;
    max-width: 400px;
    height: auto;
    margin: 96px auto 0; 
    padding: 30px 30px 0;
  }
  .login .content form,
  .login .content .login-form,
  .login .content .forget-form {
      height: auto;
      display: -webkit-block;
         display: -moz-block;
          display: -ms-block;
           display: -o-block;
              display: block;
      -webkit-flex-direction: column;
         -moz-flex-direction: column;
          -ms-flex-direction: column;
           -o-flex-direction: column;
              flex-direction: column;
  }
  .login .content .form-actions { margin-top: 30px }
  .login .content .forget-password { margin-top: 30px }
}