@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700');

html {
  height: 100%;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #595959;
  background: #d2d2d2 url('../../images/background.jpg') no-repeat center top;
  background-size: cover;
  min-width: 320px;
  min-height: 100%;
  overflow-y: scroll;
}

.text-red {
  color: #f53946;
}
a.text-red {
  color: #f53946;
}

header,
footer {
  text-align: center;
}

header {
  padding-top: 120px;
  padding-bottom: 25px;
}

header .logo {
  display: inline-block;
}

.login-panel {
  padding: 60px 65px 50px;
  background: #e8e6ed;
  border: 1px solid #dcdcdc;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  text-align: center;
  -webkit-box-shadow: 1px 2px 5px 1px rgba(0, 0, 0, 0.3); 
  box-shadow: 1px 2px 5px 1px rgba(0, 0, 0, 0.3); 
}
.login-panel::before {
  content: '';
  display: block;
  width: 100%;
  height: 8px;
  background-color: #555555;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.login-panel::after {
  content: '';
  display: block;
  width: 80%;
  margin: auto;
  height: 0;
  border-width: 16px 11px 0 11px;
  border-style: solid;
  border-color: transparent;
  border-top-color: #f53946;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.login-panel h1 {
  font-size: 30px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0;
}

.login-panel h1 + p {
  margin-bottom: 24px;
}

.form-control {
  background-color: #faf9fc;
  border-radius: 2px;
  border-color: #dddddd;
  border-left: 4px solid #f53946;
  height: 42px;
  padding: 10px 12px;
  font-size: 16px;
}

.btn-submit {
  font-size: 18px;
  font-weight: 700;
  line-height: 1em;
  text-transform: uppercase;
  padding: 12px 20px 11px;
  color: #fff;
  border: 1px solid #c7353f;
  background-color: #f53946;
  min-width: 260px;
  max-width: 100%;
  transition: all .2s;
}

.btn-submit:hover,
.btn-submit:focus {
  background-color: #c7353f;
  color: #fff;
}

.btn-submit:focus,
.btn-submit:active:focus {
  outline: 0;
}

.help-text {
  margin-top: 40px;
  margin-bottom: 10px;
}

.help-text a {
  text-decoration: underline;
}

.help-text a:hover {
  text-decoration: none;
}

.support {
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
  vertical-align: middle;
  margin-top: 10px;
}

.support .fa {
  height: 30px;
  width: 30px;
  margin-right: 5px;
  border: 1px solid red;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  vertical-align: middle;
}

.collapse-inner {
  padding-top: 20px;
  padding-bottom: 15px;
}

.lost-password-block h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 700;
}

.lost-password-block h3 + p {
  margin-bottom: 15px;
}

footer {
  font-size: 14px;
  margin-top: 34px;
  padding-bottom: 24px;
  background: none !important;
  color: inherit;
}

footer .legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .legal-links li {
  display: inline;
  padding-right: 6px;
}

footer .legal-links li a {
  color: #595959 !important;
  text-decoration: none;
  display: inline;
}

footer .legal-links li a:hover {
  color: #000000 !important;
}

@media only screen and (max-width: 1300px) {
  header {
    padding-top: 5%;
  }
}

@media only screen and (max-width: 767px) {
  .logo img {
    width: 80px;
  }
  .login-panel {
    padding: 40px 25px 30px;
  }
  .login-panel h1 {
    font-size: 24px;
  }
  .lost-password-block h3 {
    font-size: 16px;
  }
  .support {
    font-size: 16px;
  }
  footer {
    margin-top: 20px;
    padding-bottom: 15px;
  }
}

@media only screen and (max-width: 480px) {
    .login-panel {
      padding: 40px 10px 30px;
  }
}