
/* Webfonts */

@font-face {
    font-family: 'Volvo Novum';
    src: url('../fonts/VolvoNovum-Light.eot');
    src: url('../fonts/VolvoNovum-Light.eot?#iefix') format('embedded-opentype'), 
        url('../fonts/VolvoNovum-Light.woff') format('woff'), 
        url('../fonts/VolvoNovum-Light.woff2') format('woff'), 
        url('../fonts/VolvoNovum-Light.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Volvo Novum';
    src: url('../fonts/VolvoNovum-Regular.eot');
    src: url('../fonts/VolvoNovum-Regular.eot?#iefix') format('embedded-opentype'), 
        url('../fonts/VolvoNovum-Regular.woff') format('woff'), 
        url('../fonts/VolvoNovum-Regular.woff2') format('woff2'), 
        url('../fonts/VolvoNovum-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Volvo Novum';
    src: url('../fonts/VolvoNovum-Medium.eot');
    src: url('../fonts/VolvoNovum-Medium.eot?#iefix') format('embedded-opentype'), 
        url('../fonts/VolvoNovum-Medium.woff') format('woff'), 
        url('../fonts/VolvoNovum-Medium.woff2') format('woff2'), 
        url('../fonts/VolvoNovum-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Volvo Novum';
    src: url('../fonts/VolvoNovum-Bold.eot');
    src: url('../fonts/VolvoNovum-Bold.eot?#iefix') format('embedded-opentype'), 
        url('../fonts/VolvoNovum-Bold.woff') format('woff'), 
        url('../fonts/VolvoNovum-Bold.woff2') format('woff2'), 
        url('../fonts/VolvoNovum-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Volvo Serif';
    src: url('../fonts/VolvoSerifWeb-Regular.eot');
    src: url('../fonts/VolvoSerifWeb-Regular.eot?#iefix') format('embedded-opentype'), 
        url('../fonts/VolvoSerifWeb-Regular.woff') format('woff'), 
        url('../fonts/VolvoSerif-Regular.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}


/* styles */

* {
    box-sizing: border-box;
}

body {
    color: #141414;
    margin: 0;
    font-size: 1rem;
    font-family: 'Volvo Novum', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.43;
    background-color: #FFFFFF;
}

h1, h2, h3, h4 {
    font-weight: 500;
}

.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
}

.box {
  position: relative;
  display: flex;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 18.75rem;
  max-width: 28.75rem;
}

.box-img {
  display: none;
  flex: 1;
  height: 100vh;
  background: transparent url('../img/login-background-desktop.jpg') no-repeat center center;
  background-size: cover;
}

.header {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 2rem 0 1rem;  
}

.logo {
    height: auto;
    width: 8rem;
}

.title {
  font-size: 1.875rem;
  line-height: 2rem;
  text-align: center;
  margin: 0;
  padding-bottom: 1.5rem;
}

.main {
  align-items: center;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem;
}

.form {
    width: 100%;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-label {
  font-size: 0.813rem;
  padding: 0.125rem;
  cursor: pointer;
}

.form-check-input {
  -moz-appearance: none;
  -webkit-appearance: none;
  -o-appearance: none;
  outline: none;
  content: none;
  border: 0.063rem solid #D8D8D8;
  height: 0.938rem;
  width: 0.938rem;
  border-radius: 0.25rem;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #1C6BBA;
}

.row {
  margin-top: 1rem;
  text-align: center;
}

.button {
  align-items: center;
  appearance: none;
  background-color: #1C6BBA;
  border: 0;
  border-radius: 4px;
  box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%);
  color: #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  font-family: 'Volvo Novum', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.75;
  margin: 0;
  width: 100%;
  outline: 0;
  margin-top: 1rem;
  padding: 0.454rem 2.8125rem;
  position: relative;
  user-select: none;
  vertical-align: middle;
  justify-content: center;
}
.button:hover,
.button:active,
.button:focus {
    background-color: #1C3659;
    box-shadow: 0px 2px 4px -1px rgb(0 0 0 / 20%), 0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%);
}

[type="text"],
[type="password"] {
  font-family: 'Volvo Novum', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  padding: 0.719rem 0.875rem;
  width: 100%;
  border: 0.0625rem solid rgba(0,0,0,0.23);
  border-radius: 0.25rem;
  font-size: 0.813rem;
  margin: 0;
  display: block;
  background: none;
}

[type="password"] {
  margin-bottom: 0.5rem;
}

[type="text"]:focus, 
[type="password"]:focus {
    border-color: #284e80;
    border-radius: 0;
    outline: 1px solid #284e80;
}

.alert {
    display: flex;
    padding: 0.375rem 1rem;
    font-size: 1rem;
    font-family: 'Volvo Novum', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.43;
    border-radius: .25rem;
    background-color: transparent;
}

.alert-standardError {
    color: rgb(97, 26, 21);
    background-color: rgb(253, 236, 234);
}

.alert-icon {
    display: flex;
    opacity: 0.9;
    padding: 7px 0;
    font-size: 22px;
    margin-right: 12px;    
}

.alert-icon svg {
    font-size: inherit;
    
    fill: currentColor;
    width: 1em;
    height: 1em;
    display: inline-block;
    font-size: 1.5rem;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    flex-shrink: 0;
    user-select: none;
}

.alert-standardError .alert-icon {
    color: #f44336;
}

.alert-message {
  padding: .5rem 0;
}

.alert-message .validation-summary-errors :first-child {
  margin-top: 2rem;
  padding: 0;
}

.environment-label {
  position: absolute;
  bottom: 3rem;
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .075rem;
  line-height: 1.75;
  text-transform: uppercase;
  border-radius: .4375rem;
  padding: .3125rem 1.25rem;
  color: #FFFFFF;
  background-color: #1C6BBA;
}


/* On 768px and larger */
@media (min-width: 48rem) {
  .main {
    padding: 3rem 5rem;
  }

  .header {
    padding: 2rem 0;
  }

  .box-img {
    display: inline-block;
  }
}
