/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

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

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

.noselect, main .form-container .form-actions div {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */ /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */ /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
  						   supported by Chrome, Opera and Firefox */
}

.nowrap {
  white-space: nowrap;
}

.relative {
  position: relative;
}

.max-width-height, .color-overlay {
  width: 100%;
  height: 100%;
}

body {
  font-size: 100%;
}

/* Body Content */
body {
  font-size: 1em;
  /* equivalent to 16px */
  line-height: 1.25;
  /* equivalent to 20px */
}

@media (min-width: 43.75em) {
  body {
    font-size: 1em;
    /* equivalent to 16px */
    line-height: 1.375;
    /* equivalent to 22px */
  }
}
h1 {
  font-size: 2em;
  /* 2x body copy size = 32px */
  line-height: 1.25;
  /* 45px / 36px */
}

@media (min-width: 43.75em) {
  h1 {
    font-size: 2.5em;
    /* 2.5x body copy size = 40px */
    line-height: 1.125;
  }
}
@media (min-width: 56.25em) {
  h1 {
    font-size: 3em;
    /* 3x body copy size = 48px */
    line-height: 1.05;
    /* keep to a multiple of the 20px line height 
    and something more appropriate for display headings */
  }
}
h2 {
  font-size: 1.625em;
  /* 1.625x body copy size = 26px */
  line-height: 1.15384615;
  /* 30px / 26px */
}

@media (min-width: 43.75em) {
  h2 {
    font-size: 2em;
    /* 2x body copy size = 32px */
    line-height: 1.25;
  }
}
@media (min-width: 56.25em) {
  h2 {
    font-size: 2.25em;
    /* 2.25x body copy size = 36px */
    line-height: 1.25;
  }
}
h3 {
  font-size: 1.375em;
  /* 1.375x body copy size = 22px */
  line-height: 1.13636364;
  /* 25px / 22px */
}

@media (min-width: 43.75em) {
  h3 {
    font-size: 1.5em;
    /* 1.5x body copy size = 24px */
    line-height: 1.25;
  }
}
@media (min-width: 56.25em) {
  h3 {
    font-size: 1.75em;
    /* 1.75x body copy size = 28px */
    line-height: 1.25;
  }
}
h4 {
  font-size: 1.125em;
  /* 1.125x body copy size = 18px */
  line-height: 1.11111111;
}

@media (min-width: 43.75em) {
  h4 {
    line-height: 1.22222222;
    /* (22px / 18px */
  }
}
/* Configurable */
html,
body {
  width: 100%;
  height: 100%;
  min-height: 568px;
  font-size: 16px;
}

body {
  position: relative;
  color: #111;
  background-image: url("/img/backgrounds/NCLRA_bg_image.jpg");
  background-repeat: no-repeat;
  background-position: left;
  background-size: 150%;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
}
body.left main {
  top: 6px;
  left: 6px;
}
body.left main .company-logo.standard {
  display: block;
  max-height: 70px;
}
body.right main .company-logo .standard {
  display: block;
  max-height: 70px;
}
body.right main .company-logo .white {
  display: none;
  max-height: 70px;
}
body.dark {
  color: #FFF;
}
body.dark main {
  background: #111;
}
body.dark main .company-logo .standard {
  display: none !important;
}
body.dark main .company-logo .white {
  display: block !important;
}
body.dark main .divider {
  background: linear-gradient(90deg, #052b72 0%, white 100%);
}
body.dark main .tag-line {
  color: #FFF;
}
body.dark main .avatara-callout {
  color: #CCC;
}
body.dark main input[type=text],
body.dark main input[type=email],
body.dark main input[type=password] {
  background-color: #FFF;
}
body.dark main a {
  color: #FFF;
}
body.dark main a:hover {
  color: #FFF;
}

h1,
h2,
h3 {
  font-family: "Roboto", sans-serif;
}

.color-overlay {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 568px;
  background-color: rgba(5, 43, 114, 0.7);
}

.form-error {
  position: absolute;
  display: none;
  margin: 2em auto -1em;
  margin-top: 1em;
  padding: 1em;
  color: #dc3545;
  border: 3px solid #dc3545;
  border-radius: 1px;
  background: #FFF;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

.invalid-feedback {
  color: #dc3545;
}

main {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  min-height: 528px;
  background: #FFF;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
}
main .company-logo {
  position: absolute;
  top: 30px;
  left: 15px;
}
main .company-logo img {
  max-height: 70px;
}
main .white-company-logo {
  display: none;
}
main .app-title {
  margin-top: 1.25em;
}
main .tag-line {
  display: none;
  color: #555;
  font-size: 16px;
}
main .form-container {
  position: relative;
  top: 50%;
  max-width: 398px;
  margin: 0 auto;
  padding: 15px;
  transform: translateY(-50%);
}
main .form-container #loginForm {
  position: relative;
  margin-top: 50px;
}
main .form-container .divider {
  display: none;
  width: 75px;
  height: 3px;
  margin-bottom: 25px;
  border-radius: 2px;
  background: #052b72;
  background: linear-gradient(90deg, #052b72 0%, rgb(0, 0, 0) 100%);
}
main .form-container input[type=text],
main .form-container input[type=email],
main .form-container input[type=password] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 54px;
  margin-bottom: 10px;
  padding: 0 18px;
  border: none;
  border-radius: 2px;
  outline: none;
  background-color: #EEE;
  font-size: 16px;
}
main .form-container .form-actions {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  margin-top: 15px;
  font-size: 0.85rem;
}
main .form-container .form-actions div {
  width: 50%;
}
main .form-container .form-actions div.remember-me {
  position: relative;
  padding-left: 32px;
}
main .form-container .form-actions div.remember-me label {
  cursor: pointer;
}
main .form-container .form-actions div.remember-me input {
  position: absolute;
  cursor: pointer;
  opacity: 0;
}
main .form-container .form-actions div.remember-me input:checked ~ .checkbox-custom {
  opacity: 1;
  border: 2px solid #052b72;
  border-radius: 5px;
  background-color: #052b72;
  transform: rotate(0deg) scale(1);
}
main .form-container .form-actions div.remember-me input:checked ~ .checkbox-custom::after {
  top: 2px;
  left: 7px;
  width: 6px;
  height: 12px;
  opacity: 1;
  border: solid #FFF;
  border-width: 0 2px 2px 0;
  border-radius: 0;
  background-color: transparent;
  transform: rotate(45deg) scale(1);
}
main .form-container .form-actions div.remember-me .checkbox-custom {
  position: absolute;
  top: -3px;
  left: 0;
  width: 21px;
  height: 21px;
  border: 2px solid #052b72;
  border-radius: 5px;
  background-color: transparent;
}
main .form-container .form-actions div.remember-me .checkbox-custom::after {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 0;
  height: 0;
  content: "";
  opacity: 1;
  border: solid #052b72;
  border-width: 0 3px 3px 0;
  border-radius: 5px;
  transform: rotate(0deg) scale(0);
}
main .form-container .form-actions div.forgot-password {
  text-align: right;
}
main .form-container a {
  text-decoration: none;
  color: #111;
}
main .form-container a:hover {
  text-decoration: underline;
  color: #111;
}
main .form-container button.sign-in {
  height: 43px;
  margin-top: 45px;
  padding: 0 2.75em;
  letter-spacing: 0.25px;
  color: #FFF;
  border: 1px solid #052b72;
  border-radius: 3px;
  background: #052b72;
  box-shadow: 0 2px 25px rgba(0, 0, 0, 0.25);
  font-size: 1em;
  font-weight: 600;
}
main .form-container button.sign-in:hover {
  cursor: pointer;
  background-color: rgb(3.9285714286, 33.7857142857, 89.5714285714);
}
main .avatara-callout {
  margin-top: 70px;
  text-align: center;
  color: #555;
  font-size: 12px;
}
main .avatara-callout a {
  text-decoration: none;
  color: #052b72;
}
main .avatara-callout a:hover {
  color: rgb(1.7857142857, 15.3571428571, 40.7142857143);
}

.quote {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  display: none;
  width: 50%;
  height: 100%;
  color: #FFF;
}
.quote h2 {
  position: relative;
  top: 50%;
  max-width: 50%;
  margin: 0 auto;
  text-align: center;
  transform: translateY(-50%);
}

/*** Responsive ***/
@media (max-height: 800px) {
  body main .form-container .divider {
    display: none !important;
  }
  body main .company-logo {
    top: 40px !important;
  }
  body main .company-logo img {
    max-height: 35px !important;
  }
}
@media (min-width: 768px) {
  body.right main .company-logo {
    position: absolute;
  }
  body.right main .company-logo .standard {
    display: block;
  }
  body.right main .company-logo .white {
    display: none;
  }
  main .form-container .app-title {
    margin-top: 1em;
    margin-bottom: 0.5em;
  }
  main .form-container .tag-line {
    display: block;
  }
  main .form-container .form-actions {
    font-size: 0.85em;
  }
  main .company-logo {
    top: 40px;
    left: 40px;
  }
}
@media (min-width: 992px) {
  body.left main {
    top: 20px;
    right: auto;
    left: 20px;
  }
  body.right main {
    top: 20px;
    right: 20px;
    left: auto;
  }
  body.right main .company-logo {
    position: fixed;
  }
  body.right main .company-logo .standard {
    display: none;
  }
  body.right main .company-logo .white {
    display: block;
  }
  body.right .quote {
    right: auto;
    left: 0;
  }
  body .quote {
    display: block;
  }
  main {
    top: 20px;
    right: auto;
    left: 20px;
    width: calc(50% - 40px);
    max-width: 700px;
    height: calc(100% - 40px);
  }
  main .form-container .divider {
    display: none;
  }
  main .form-container .avatara-callout {
    text-align: left;
  }
  main .form-container .form-actions {
    font-size: 0.85em;
  }
  .quote {
    width: calc(50% + 40px);
  }
  .quote h2 {
    max-width: 90%;
  }
}
@media (min-width: 1200px) {
  body main .form-container .divider {
    display: block;
  }
  body main .company-logo {
    top: 60px;
    left: 60px;
  }
  body.right main {
    top: 20px;
    right: 20px;
    left: auto;
  }
  body.right main .company-logo {
    position: fixed;
  }
  body.right main .company-logo .standard {
    display: none;
  }
  body.right main .company-logo .white {
    display: block;
  }
}
@media (min-width: 1480px) {
  .quote {
    width: calc(100% - 720px);
  }
  .quote h2 {
    max-width: 75%;
  }
}
/*** Responsive END **/
main .company-logo img {
  height: 60px;
}

.switch-language {
  color: #052b72;
  font-size: 12px;
}
