*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body,
input,
textarea,
select {
  font-family: 'Raleway', sans-serif;
}

html,
body {
  height: 100%;
}

.login {
  margin: 0;
  min-height: 400px;
  min-width: 320px;
  min-height: 500px;
  position: relative;
  background: #304462 url("/img/video/main.jpg") no-repeat 0 0;
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;

}

.login:after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/img/video/main.png");
  -moz-background-size: cover;
  -o-background-size: cover;
  -webkit-background-size: cover;
  background-size: cover;
}

.login .button {
  display: inline-block;
  margin: 0;
  padding: 13px 28px;
  border: 2px solid #919ca7;
  border-radius: 3px;
  outline: none;
  background-color: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  vertical-align: top;
  width: 100%;
  -moz-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  -o-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  cursor: pointer;
}
.login .button:hover {
  border-color: #fff;
  background-color: #fff;
  color: #23394e;
}
.login .hoshi {
  position: relative;
  display: block;
  padding-top: 1.5em;
  vertical-align: top;
}
.login .hoshi input {
  margin: 0;
  padding: 0;
  width: 100%;
  border: none;
  border-bottom: 2px solid #919ca7;
  color: #fff;
  outline: none;
  background-color: transparent;
}
.login .hoshi label {
  overflow: hidden;
  position: absolute;
  z-index: +1;
  top: 1.5em;
  left: 0;
  max-width: 100%;
  color: #ccc;
  white-space: nowrap;
  -moz-transition: top 250ms ease-out;
  -o-transition: top 250ms ease-out;
  -webkit-transition: top 250ms ease-out;
  transition: top 250ms ease-out;
}
.login .hoshi input,
.login .hoshi label {
  display: block;
  padding: 0 0.3em;
  font-size: 1em;
  line-height: 2em;
  height: 2em;
  cursor: text;
}
.login .hoshi span {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #2789c5;
  -moz-transition: width 250ms ease-out;
  -o-transition: width 250ms ease-out;
  -webkit-transition: width 250ms ease-out;
  transition: width 250ms ease-out;
}
.login .hoshi input:focus ~ label, .login .hoshi.full label {
  top: 0;
}
.login .hoshi input:focus ~ span, .login .hoshi.full span {
  width: 100%;
}
.login-logo {
  position: absolute;
  z-index: 5;
  top: 18%;
  left: 0;
  width: 100%;
  height: 55px;
  padding: 0 15px;
  text-align: center;
}
.login-logo a {
  text-decoration: none;
  border: none;
}
.login-logo img {
  border: none;
  width: 100%;
  max-width: 570px;
  height: auto;
}
.login .login-win {
  overflow: hidden;
  position: absolute;
  z-index: 5;
  width: 400px;
  /*height: 370px;*/
  top: 50%;
  left: 50%;
  margin-top: -140px;
  margin-left: -200px;
  border-radius: 5px;
  background-color: #23394e;
  color: #fff;
  -moz-box-shadow: 0 5px 73px rgba(2, 3, 3, 0.5);
  -webkit-box-shadow: 0 5px 73px rgba(2, 3, 3, 0.5);
  box-shadow: 0 5px 73px rgba(2, 3, 3, 0.5);
}
.login .form-head {
  padding: 20px 50px;
  background-color: #2789c5;
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
}
.login .form-line {
  margin-bottom: 20px;
}
.login .form-total {
  margin-top: 40px;
  text-align: center;
}
.login .form-body {
  padding: 20px 50px 40px;
}
.login .contact {
  position: absolute;
  z-index: 5;
  top: 50px;
  right: 50px;
}
.login .contact a {
  display: inline-block;
  vertical-align: middle;
  padding: 10px 15px 7px;
  border: 1px solid #2789c5;
  border-radius: 2px;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  -moz-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  -o-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.login .contact a:hover {
  border-color: #2789c5;
  background-color: #2789c5;
}
.login .back {
  position: absolute;
  z-index: 5;
  left: 50px;
  font-size: 20px;
  bottom: 50px;
}
.login .back a {
  color: #fff;
  text-decoration: none;
}
.login .video {
  position: fixed;
  z-index: 1;
  left: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
}

.login-logo img.mobile {
  max-width: 400px;
}

@media screen and (max-height: 600px) {
  .login-logo {
    top: 8% !important;
  }

  .back,
  .contact {
    display: none;
  }
}
@media screen and (max-width: 480px) {
  .login-win {
    margin-left: -140px !important;
    width: 280px !important;
  }

  .login-logo img.mobile {
    max-width: 280px;
  }

  .form-head, .form-body {
    padding-right: 25px !important;
    padding-left: 25px !important;
  }

  .back,
  .contact {
    left: 10px;
    right: 10px;
    text-align: center;
  }
}

.login.mobile #global-nav{
  display:none;
}