﻿section#login {
  min-height: 100vh;
  background-size: cover;
  position: relative;
  background: #eef1f6;
}
@media (max-width: 768px) {
  section#login {
    background: url(images/bg-login.jpg) no-repeat center center;
    background-size: cover;
  }
  section#login:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4117647059);
  }
}
section#login .logo {
  height: initial;
  margin: 0 auto 20px;
  max-width: 240px;
}
section#login .row {
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 992px) {
  section#login .row {
    display: block;
  }
}
section#login .bg-img {
  /*background: url(images/img-50.png) top left repeat;
  background-size: cover;*/
  background: url(images/bg-login.jpg) no-repeat center center;
  background-size: cover;
  top: 0;
  bottom: 0;
  min-height: 100vh;
  text-align: left;
  z-index: 10;
  opacity: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 30px;
}
section#login .bg-img:after {
  position: absolute;
  left: -1px;
  top: 0;
  width: 276px;
  height: 100%;
  content: "";
  z-index: -1;
  background: url(images/img-50.png) top left repeat;
}
@media (max-width: 992px) {
  section#login .bg-img {
    display: none;
  }
}
section#login .form-section {
  min-height: 100vh;
  position: relative;
  text-align: center;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}
section#login .login-inner-form {
  max-width: 420px;
  min-width: 360px;
}
@media (max-width: 768px) {
  section#login .login-inner-form {
    max-width: 420px;
    min-width: 360px;
    background: hsla(0deg, 0%, 100%, 0.8);
    border-radius: 12px;
    min-width: 340px;
  }
}

#login .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 30px;
  min-height: 100vh;
  align-items: center;
}
#login .form-signin {
  margin: 0 auto;
  max-width: 420px;
}
#login .form-signin .form-control {
  margin-bottom: 20px;
  background: #fff;
  width: 100%;
  padding: 10px 25px;
  font-size: 16px;
  outline: 0;
  font-weight: 400;
  color: #535353;
  height: 55px;
  border-radius: 50px;
  border: 1px solid #fff;
  box-shadow: none;
}
#login .form-signin .form-control:focus {
  outline: none;
  box-shadow: none;
}
#login .form-signin .forgot-password {
  text-align: left;
}
#login .form-signin .forgot-password a {
  color: #666;
  font-style: italic;
}
#login .form-signin .btn-primary {
  cursor: pointer;
  height: 55px;
  color: #fff;
  padding: 0;
  line-height: 55px;
  font-size: 17px;
  font-weight: bold;
  border-radius: 50px;
  background: #2e368f !important;
  border: 0;
  margin-bottom: 20px;
}
#login .form-signin .btn-primary:hover {
  background: #fbc41e !important;
}
#login .form-signin .btn-primary:focus {
  outline: none;
}

.form-control {
  padding: 0 8px;
  text-indent: 0;
}

.btn-primary, .btn-primary:link, .btn-primary:visited {
  background: #df0037;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active {
  background: -moz-linear-gradient(top, #ae1c3f 0, #63091e 100%) no-repeat;
  background: linear-gradient(top, #ae1c3f 0, #63091e 100%) no-repeat;
  background: -webkit-linear-gradient(top, #ae1c3f 0, #63091e 100%) no-repeat;
  background: -o-linear-gradient(top, #ae1c3f 0, #63091e 100%) no-repeat;
  background: -ms-linear-gradient(top, #ae1c3f 0, #63091e 100%) no-repeat;
  -svg-background: linear-gradient(top, #ae1c3f 0, #63091e 100%) no-repeat;
}

button#btn-forgot-password {
  background: #2e368f;
  padding: 10px 15px;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: bold;
  border: 0;
}
button#btn-forgot-password:hover {
  background: #fbc41e !important;
}
button#btn-forgot-password:focus {
  outline: none;
}

@media screen and (max-width: 900px) {
  .login-left {
    float: none;
    padding-left: 7.5px;
    padding-right: 7.5px;
  }
  section#login .header-login {
    margin-bottom: 15px;
  }
  .login-left {
    margin-bottom: 30px;
  }
  .login-right {
    margin-bottom: 10px;
  }
}
#Captcha {
  line-height: initial;
}
#Captcha br:nth-of-type(1) {
  display: none;
}
#Captcha a {
  display: inline-block;
  margin-bottom: 10px;
}
#Captcha img {
  width: 100%;
  margin: 0 0 7px;
}
#Captcha input#CaptchaInputText {
  border: 2px solid #bbb;
  padding: 8px 15px;
  margin-bottom: 5px;
  background: #fff;
  border-radius: 3px;
  font-weight: bold;
  margin-top: 7px;
}

.form-signin #Captcha #CaptchaInputText:focus,
#login .form-signin .form-control:focus {
  border-color: #02aeef;
  outline: none;
}

.country-select .flag.gb {
  background: url(images/flag-gb.png) no-repeat;
  background-position: center center !important;
  height: 14px !important;
}

@media screen and (max-width: 767px) {
  #login .container {
    justify-content: center;
    display: flex;
    align-items: center;
  }
  #login .form-signin {
    margin: 0 auto;
    flex: 1;
    min-width: initial;
    padding: 30px 20px;
    max-width: 320px;
  }
}
