﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\
for details on configuring this project to bundle and minify static web assets. */

/* ==================== Common CSS Start ==================== */

:root {
  --default-font: "Montserrat", Helvetica, Arial;

  --primary-color: #92278f;
  --primary-color-hover: #772174;
  --secondary-color: #1f9e97;
  --secondary-color-hover: #187a75;

  --neutral-color-1: #f5f8f9;
  --neutral-color-2: #e1e2e6;
  --neutral-color-3: #bbbbbb;
  --neutral-color-4: #333333;

  --divider-color: #ebebeb;

  --white: #ffffff;
  --charcol-black: #292d33;
  --silver: #b8b8b8;
  --gull-grey: #97a4b5;
  --carnation: #fc5b5a;
  --mariner: #2570b2;
  --bombay-grey: #b0b1b2;
  --mercury: #e6e6e6;
  --alabaster: #fafafa;
  --mine-shaft: #383838;
  --geyser: #dee2e6;
  --boulder: #777777;
  --catskill-white: #ebf6f6;
  --sushi: #6bb536;
  --light-gray: #aaaaaa;
  --alto: #d4d4d4;
}

* {
  -webkit-font-smoothing: antialiased;
  padding: 0;
  margin: 0;
  outline: none;
}

.app {
  float: left;
  width: 100%;
}

html,
body {
  background-color: var(--neutral-color-1); /* From IdentityService */
  color: var(--charcol-black);
  height: 100%;
  font-size: 16px;
  line-height: 1.5;
  font-family: var(--default-font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative; /* From IdentityService */
  min-height: 100%; /* From IdentityService */
}

a {
  cursor: pointer;
}

a,
a:focus,
a:hover {
  text-decoration: none;
  color: var(--secondary-color, var(--primary-color));
  font-size: 16px;
  font-weight: 600;
}

a:hover {
  color: var(
    --secondary-color-hover,
    var(--primary-color-hover),
    var(--primary-color)
  );
}

a.disabled {
  color: var(--silver);
  text-decoration: none;
}

a.grey,
a.grey:focus,
a.grey:hover {
  color: var(--silver);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
}

.container-pad-50 {
  padding-left: 50;
  padding-right: 50;
}

hr {
  background: var(--neutral-color-2);
  height: 1px;
  border: 0;
}

.transition {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

strong,
b,
.strong {
  font-weight: bold;
}

.semi-strong {
  font-weight: 600;
}

/* ==================== Common CSS end ==================== */

/* ==================== Theme Color start ==================== */

.bg_gray {
  background: var(--alabaster);
}

.bg_white {
  background: var(--white);
}

/* ==================== Theme Color end ==================== */

/* ==================== Typographic start ==================== */

.display-1 {
  font-size: 22px;
  color: var(--primary-color2);
  font-weight: 600;
  line-height: 1.2;
}

.display-4 {
  font-size: 16px;
  color: var(--primary-color2);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.heading-xs {
  font-size: 15px;
  color: var(--mine-shaft);
  margin-top: 10px;
  font-weight: 600;
  display: block;
}

.font-13-lt-g {
  font-size: 13px;
  color: var(--neutral-color-4);
  margin-bottom: 9px;
}

.font-16-sb-g {
  font-size: 16px;
  color: var(--neutral-color-4);
  font-weight: 600;
}

/* ==================== Typographic end ==================== */

/* ==================== Form element start ==================== */

.form-group {
  position: relative;
}

.form-control {
  height: 38px;
  border-radius: 0;
  background-color: var(--white);
  border: 0;
  border-bottom: 2px solid var(--mercury);
  font-size: 16px;
  font-weight: 600;
  color: var(--neutral-color-4);
  padding: 9px 3px;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  box-shadow: none;
}

.form-control:focus {
  outline: none;
  box-shadow: none;
  border-bottom-color: var(--secondary-color);
}

.custom-select.is-invalid,
.form-control.is-invalid {
  border-color: var(--carnation);
}

.custom-select {
  background: url("../images/dropdown-arrow.svg") no-repeat right 0.75rem center;
  padding: 0 30px 2px 5px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  vertical-align: middle;
  border: 0;
  border-bottom: 2px solid var(--mercury);
  font-weight: 600;
  height: 26px;
  border-radius: 0;
}

.custom-select.h38 {
  height: 38px;
}

.custom-select:focus {
  background: url("../images/dropdown-arrow.svg") no-repeat right 0.75rem center;
}

.custom-select option {
  padding: 5px 15px;
  border: 0;
}

/* ==================== Button start ==================== */

.btn {
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  line-height: 14px;
  display: block;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  border-radius: 4px;
  border: 1px solid var(--primary-color);
}

.btn:focus,
.btn:active,
.btn:active:focus,
.btn:not(:disabled):not(.disabled):active:focus {
  opacity: 0.8;
  outline: 0;
}

.btn.disabled,
.btn[disabled],
.btn.disabled:hover,
.btn[disabled]:hover {
  opacity: 0.25;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn:active {
  opacity: 0.8;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-color-hover);
  border-color: var(--primary-color-hover);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-color-hover);
  border-color: var(--secondary-color-hover);
}

.btn-primary,
.btn-secondary,
.btn-primary:hover,
.btn-secondary:hover,
.btn-primary:active:focus,
.btn-secondary:active:focus {
  color: var(--white);
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus,
.btn-primary:not(:disabled):not(.disabled):active {
  color: var(--white);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary:active:focus,
.btn-secondary:not(:disabled):not(.disabled):active {
  color: var(--white);
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-tertiary {
  background-color: var(--white);
  border-color: #a8b2bd;
  color: #303030;
}

.btn-tertiary:hover {
  background-color: #f9f9f9;
  border: solid 1px #818b96;
  color: #303030;
}

.btn-tertiary:focus,
.btn-tertiary:active,
.btn-tertiary:active:focus,
.btn-tertiary:not(:disabled):not(.disabled):active {
  border-color: #303030;
  background-color: #f9f9f9;
  color: #303030;
}

.btn-tertiary.btn-primary {
  background-color: var(--white);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-tertiary.btn-primary:hover,
.btn-tertiary.btn-primary:focus,
.btn-tertiary.btn-primary:active:focus,
.btn-tertiary.btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-tertiary.btn-secondary {
  background-color: var(--white);
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-tertiary.btn-secondary:hover,
.btn-tertiary.btn-secondary:focus,
.btn-tertiary.btn-secondary:active:focus,
.btn-tertiary.btn-secondary:not(:disabled):not(.disabled):active {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* ==================== Button end ==================== */

label {
  font-size: 13px;
  color: var(--neutral-color-4);
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 400;
}

.form-control::-webkit-input-placeholder {
  color: var(--gull-grey);
}

.form-control:-moz-placeholder {
  color: var(--gull-grey);
}

.form-control::-moz-placeholder {
  color: var(--gull-grey);
}

.form-control:-ms-input-placeholder {
  color: var(--gull-grey);
}

.form-control::-ms-input-placeholder {
  color: var(--gull-grey);
}

.form-group-mobile .form-control {
  padding-left: 40px;
}

.transparent-btn {
  font-size: 16px;
  padding: 8px 16px;
  line-height: 18px;
  vertical-align: middle;
  height: 34px;
  display: inline-block;
}

.input-searchlist {
  width: 100%;
  display: inline-block;
  position: relative;
}

.input-searchlist .search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: 43px;
  background-color: var(--white);
  box-shadow: 0 2px 4px 0 var(--grey);
  padding: 15px;
  z-index: 1;
  display: none;
}

.input-searchlist .search-results li {
  padding: 5px 0;
  cursor: pointer;
}

.input-searchlist .search-field:focus + .search-results {
  display: block;
}

.haserror .form-control {
  border-color: var(--carnation);
}

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

/* ==================== Form element End ==================== */

/* ==================== Helper classes Start ==================== */

.mt30 {
  margin-top: 30px;
}

.shadowed {
  box-shadow: 0 6px 12px -1px rgba(0, 0, 0, 0.07);
}

/* ==================== Helper classes End ==================== */

/* ==================== IdentityService Start ==================== */

.main-wrapper {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: inline-block;
}

.splash-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
}

.card {
  background-color: var(--white);
  max-width: 100%;
  margin: 80px auto;
  padding: 32px;
  width: 352px;
  border-radius: 8px;
}

.two-factor-card {
  width: 400px;
}

.big-card {
  width: 850px;
  height: 450px;
  padding: 100px;
}

.column {
  background-color: var(--white);
  width: 450px;
  margin: 0 auto;
  padding: 32px;
  min-height: 100vh;
}

.centered-text {
  text-align: center;
}

.callout {
  border-radius: 5px;
  background-color: var(--catskill-white);
  padding: 10px;
  margin-bottom: 1rem;
}

.callout p {
  font-size: 14px;
  color: var(--boulder);
  letter-spacing: 0;
  text-align: left;
  line-height: 19px;
}

.login-form__header {
  font-size: 18px;
  font-weight: 500;
  color: var(--neutral-color-4);
  margin-bottom: 1rem;
}

.branded-header {
  color: var(--primary-color);
}

.login-form__label {
  font-size: 14px;
  color: var(--neutral-color-4);
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 400;
}

.logout__header {
  font-size: 18px;
  font-weight: 600;
}

.phone-code {
  border-radius: 6px;
  background-color: var(--neutral-color-1);
  padding: 24px;
}

.phone-code label {
  font-size: 16px;
}

.phone-code input {
  font-size: 22px;
  background: none;
}

.phone-code input:focus {
  background: none;
}

.remember-device label {
  font-size: 16px;
}

.logo {
  margin-bottom: 24px;
  width: 150px;
}

.footer {
  color: var(--neutral-color-4);
  padding-top: 50px;
  width: 100%;
  background: white;
}

.footer a {
  font-weight: 400;
  font-size: 14px;
  color: var(--neutral-color-4);
  text-decoration: none;
}

.footer a:hover {
  color: var(
    --secondary-color-hover,
    var(--primary-color-hover),
    var(--primary-color)
  );
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 1rem;
}

.footer li.title {
  font-size: 15px;
  padding: 8px 0;
  font-weight: 600;
}

/* Client-Specific Checkboxes */
.custom-control-label:before {
  background-color: var(--white);
  border: 1px solid var(--boulder);
  transition: none;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("../img/checkbox.svg");
}

.custom-control-input:active ~ .custom-control-label::before {
  background-color: var(--white);
}

.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 1px var(--white), 0 0 0 0.2rem var(--white);
}

/* Validation */
.validation-summary-errors {
  color: var(--carnation);
  font-size: 14px;
}

.validation-summary-errors ul {
  padding: 0;
}

.validation-summary-errors li {
  list-style: none;
}

.form-control.input-validation-error {
  border-color: var(--carnation);
}

.error {
  color: var(--carnation);
  font-size: 13px;
}

.password-toggle {
  position: absolute;
  right: 0;
  top: 23px;
  z-index: 1;
  border: 0;
  color: var(--primary-color);
  background: none;
  padding: 10px;
}

.password-toggle:focus {
  outline: none;
}

.copyright {
  color: var(--primary-color-3);
  font-size: 13px;
  text-align: center;
  padding: 12px 0;
  border-top: 1px solid var(--divider-color);
  font-weight: 600;
}

/* Utility */

.flex {
  display: flex;
}

.margin-left-auto {
  margin-left: auto;
}

.margin-right-auto {
  margin-right: auto;
}

.centered-button {
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
}

.success-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.alert-icon {
  width: 48px;
  height: 42px;
  object-fit: contain;
}

.close-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border: none;
  background: none;
}

.centered-icon {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.right-justified-icon {
  display: block;
  margin-left: auto;
  margin-bottom: 100px;
}

.password-secure {
  display: none;
  font-size: 13px;
  color: var(--sushi);
  margin-bottom: 1rem;
}

.password-secure.visible {
  display: block;
}

.back-button {
  margin-bottom: 32px;
}

.back-button span {
  vertical-align: text-top;
}

.back-button-icon path {
  stroke: var(--secondary-color);
}

a:hover .back-button-icon path {
  stroke: var(
    --secondary-color-hover,
    var(--primary-color-hover),
    var(--primary-color)
  );
}

/* Responsive */

@media screen and (max-width: 500px) {
  .main-wrapper {
    padding: 0;
    min-height: unset;
  }

  .footer .logo {
    display: none;
  }

  .card {
    box-shadow: none;
    margin: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding-bottom: 64px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom-color: var(--divider-color);
  }

  .container {
    padding: 28px;
  }

  .footer {
    padding-top: unset;
    height: 100%;
  }

  .copyright {
    text-align: left;
    padding: 28px;
  }
}

/* Boostrap overrides */
.text-muted {
  color: var(--neutral-color-4);
}
