/* by Simon @romab */
/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

/**
  BODY
*/
html, body {
  display: block;
  width: 100%;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 21px;
  background: rgb(243, 244, 247);
  padding-bottom: 0;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
  width: 50%;
  height: 100%;
  padding: 40px;
  box-sizing: border-box;
}
@media only screen and (max-width: 768px) {
  .section {
    width: 100%;
    padding: 5%;
  }
}

.login-section {
  background: rgb(82, 145, 183);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.login-section-alone {
  width: 100%;
  background: rgb(82, 145, 183);
}
.login-section-alone .form-login {
  background: rgb(53, 94, 119);
}
.login-section-alone .form-login .title {
  color: rgb(255, 255, 255);
}
.login-section-alone .form-login .name-tag {
  color: rgb(255, 255, 255);
}
.login-section-alone .form-login .submit-btn {
  background: rgb(82, 145, 183);
  color: rgb(255, 255, 255);
}
.login-section-alone .form-login .submit-btn:hover {
  background: rgb(255, 255, 255);
  color: rgb(82, 145, 183);
}
@media only screen and (max-width: 768px) {
  .login-section {
    height: auto;
  }
  .login-section-alone {
    height: calc(100vh - 45px);
  }
}

.brand {
  display: block;
  width: 160px;
  height: 50px;
  margin: 0 auto;
  background: url("/images/deaddrop-logo.svg") no-repeat;
  background-size: 100% auto;
  text-indent: -9999px;
}
.brand-mark {
  display: block;
  width: 100px;
  height: 32px;
  background: url("/images/dd-logo-white.svg") no-repeat;
  background-size: 100% 100%;
  text-indent: -9999px;
  position: absolute;
  top: 12px;
  left: 40px;
}
@media screen and (max-width: 1170px) {
  .brand-mark {
    top: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 200px;
    height: 64px;
  }
}

.title {
  display: block;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgb(82, 145, 183);
}

.para {
  display: block;
  max-width: 480px;
  margin: 0 auto;
}
.para p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  border-radius: 2px;
  background: rgb(82, 145, 183);
  color: rgb(255, 255, 255);
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  margin-right: 20px;
  transition: background 0.24s ease-in-out;
}
.btn:hover {
  background: rgb(53, 94, 119);
  color: rgb(255, 255, 255);
}
@media screen and (max-width: 1170px) {
  .btn {
    margin-bottom: 12px;
    margin-right: 0;
  }
}

/**
  FORM - LOGIN - FRONT
*/
.form-login {
  width: 320px;
  height: auto;
  padding: 40px;
  box-sizing: border-box;
  background: rgb(53, 94, 119);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}
.form-login .title {
  color: rgb(255, 255, 255);
  margin: 0 0 20px;
}
.form-login .title-spacing {
  margin: 12px 0;
}

.name-tag {
  color: rgb(255, 255, 255);
  margin-bottom: 20px;
}

.username, .password {
  display: block;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 2px;
  border: 2px solid rgba(36, 36, 36, 0.1);
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 14px;
  line-height: 21px;
  outline: none;
  transition: all 0.24s ease-in-out;
}

.username:focus, .password:focus {
  border: 2px solid rgb(82, 145, 183);
}

.valid-input {
  border-color: rgb(117, 175, 133);
}

.error-input {
  border-bottom: 0;
  border-color: rgb(241, 96, 100);
  margin: 0;
  border-radius: 2px 2px 0 0;
}
.error-input:focus {
  border-color: rgb(241, 96, 100);
  border-bottom: none;
}

.form-input-box {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

.username.error-input ~ .error-input-field, .password.error-input ~ .error-input-field {
  display: block;
}

.error-input-field {
  display: none;
  background: rgba(241, 96, 100, 0.5);
  color: white;
  font-size: 10px;
  padding: 5px 10px;
  box-sizing: border-box;
  border: 2px solid rgb(241, 96, 100);
  border-top: none;
  border-radius: 0 0 2px 2px;
}

.submit-btn, .submit-btn-saml {
  display: block;
  width: 100%;
  height: 35px;
  padding-top: 4px;
  box-sizing: border-box;
  background: rgb(82, 145, 183);
  border-radius: 2px;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-transform: uppercase;
  color: rgb(255, 255, 255);
  transition: all 0.24s ease-in-out;
}
.submit-btn:hover, .submit-btn-saml:hover {
  background: rgb(255, 255, 255);
  color: rgb(82, 145, 183);
  cursor: pointer;
}
.submit-btn ~ .title, .submit-btn-saml ~ .title {
  margin: 12px 0;
}

/**
  FOOTER
*/
.footer {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px 40px;
  box-sizing: border-box;
  position: relative;
  color: rgb(53, 94, 119);
  background: white;
  /* Test */
  line-height: 0;
}
.footer:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.footer .copy-mark {
  display: block;
  float: left;
  line-height: 21px;
}
.footer .foot-link {
  display: block;
  float: right;
  text-decoration: none;
  padding-left: 10px;
  margin-left: 10px;
  line-height: 21px;
  border-left: 1px solid rgba(36, 36, 36, 0.1);
}
.footer .foot-link:hover {
  color: #1c1c1c;
  text-decoration: underline;
}
@media screen and (max-width: 1170px) {
  .footer {
    padding: 12px 24px;
  }
  .footer .copy-mark {
    width: 100%;
    text-align: center;
  }
}

.copy-mark, .foot-link {
  font-size: 10px;
  font-weight: 400;
  color: rgb(36, 36, 36);
  margin: 0;
}

.lang-select {
  display: block;
  float: right;
  position: relative;
  transition: height ease-in-out 0.24s;
}

.lang-item {
  display: block;
  font-size: 10px;
  color: rgb(53, 94, 119);
  margin: 0;
  text-decoration: none;
  line-height: 21px;
}
.lang-item:hover {
  color: rgb(243, 244, 247);
  text-decoration: underline;
}
.lang-item-selected {
  padding-left: 10px;
  border-left: 1px solid rgba(36, 36, 36, 0.1);
}
.lang-item-selected i {
  margin-left: 20px;
}
.lang-item-selected span {
  margin-right: 10px;
}

.lang-select-box {
  display: block;
  width: 170px;
  position: absolute;
  bottom: 35px;
  left: -35px;
  background: rgb(255, 255, 255);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0px 0px 4px rgba(36, 36, 36, 0.25);
  border-radius: 2px;
  transition: all ease-in-out 0.24s;
}
.lang-select-box li {
  list-style: none;
}
.lang-select-box li a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 20px;
}
.lang-select-box li a:hover {
  color: white;
  background: rgb(53, 94, 119);
}
.lang-select-box li a span {
  margin-right: 10px;
}
.lang-select-box li a i {
  float: right;
  margin-top: 7px;
}
.lang-select-box li:first-of-type a {
  border-radius: 2px 2px 0 0;
}
.lang-select-box li:last-of-type a {
  border-radius: 0 0 2px 2px;
}
.lang-select-box:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -10px;
  left: calc(50% - 10px);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
}
.lang-select-box.lang-open {
  opacity: 1;
  pointer-events: auto;
}
