/*
 *  Applies to FullScreenNoNavigation-Layout with following view:
 *    - User Login (body has class '.user-login'
 *    - Edit Password when expired (body has class '.pwd-expired')
 *
 */
@import url("https://fonts.googleapis.com/css?family=Roboto:400,400i,700,900&display=swap&subset=latin-ext");
@import url("https://fonts.googleapis.com/css?family=Hind:400,700&display=swap&subset=latin-ext");
body {
  font-family: "Hind", sans-serif;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4 {
  font-family: "Hind", sans-serif;
  font-weight: 700;
}

h1, .h1 {
  font-size: 1.5rem;
  margin-bottom: 3.125rem;
}

h2, .h2 {
  font-size: 1.3125rem;
  margin-bottom: 1.875rem;
}

h3, .h3 {
  font-size: 1.125rem;
  margin-bottom: 1.875rem;
}

h4, .h4 {
  font-size: 1rem;
}

label {
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.5);
}

p {
  margin-top: 0.5rem;
}

button:focus {
  outline: none;
}

a {
  color: #449685;
}
a:hover {
  color: #367669;
  text-decoration: none;
}

/*
 *  GLOBAL STYLES FOR FORMS AND FORM CONTROLS
 *  (e.g. input fields, radio buttons, etc.)
 *
 */
input[type=text],
input[type=password],
input[type=number] {
  transition: all 0.2s ease-in-out;
  border-radius: unset;
  background-color: #fefefe;
}
input[type=text]:hover, input[type=text]:active, input[type=text]:focus,
input[type=password]:hover,
input[type=password]:active,
input[type=password]:focus,
input[type=number]:hover,
input[type=number]:active,
input[type=number]:focus {
  outline: none;
  box-shadow: none;
  border-color: #afabab;
  background-color: #fefefe;
}
input[type=text]:-internal-autofill-selected,
input[type=password]:-internal-autofill-selected,
input[type=number]:-internal-autofill-selected {
  background-color: #fefefe !important;
}
input[type=text].is-underlined,
input[type=password].is-underlined,
input[type=number].is-underlined {
  border: none;
  border-bottom: 1px solid #404040;
}
input[type=text].is-underlined:hover, input[type=text].is-underlined:focus, input[type=text].is-underlined:active,
input[type=password].is-underlined:hover,
input[type=password].is-underlined:focus,
input[type=password].is-underlined:active,
input[type=number].is-underlined:hover,
input[type=number].is-underlined:focus,
input[type=number].is-underlined:active {
  border-color: #afabab;
}

label.has-icon {
  position: relative;
}
label.has-icon > ion-icon {
  position: absolute;
  right: 0;
}

xtrnt-select,
xtrnt-input,
xtrnt-date,
xtrnt-autocomplete {
  height: 3.125rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1.25rem;
}
xtrnt-select .mat-form-field-wrapper,
xtrnt-input .mat-form-field-wrapper,
xtrnt-date .mat-form-field-wrapper,
xtrnt-autocomplete .mat-form-field-wrapper {
  padding-bottom: 0;
}
xtrnt-select .mat-form-field-appearance-standard .mat-form-field-flex,
xtrnt-select .mat-form-field-flex,
xtrnt-input .mat-form-field-appearance-standard .mat-form-field-flex,
xtrnt-input .mat-form-field-flex,
xtrnt-date .mat-form-field-appearance-standard .mat-form-field-flex,
xtrnt-date .mat-form-field-flex,
xtrnt-autocomplete .mat-form-field-appearance-standard .mat-form-field-flex,
xtrnt-autocomplete .mat-form-field-flex {
  padding-top: 0;
  height: 3.125rem;
  align-items: center;
}
xtrnt-select .mat-form-field-infix,
xtrnt-input .mat-form-field-infix,
xtrnt-date .mat-form-field-infix,
xtrnt-autocomplete .mat-form-field-infix {
  height: 3.125rem;
  background-color: #fefefe;
  border-top: 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  display: flex;
  position: relative;
  flex-direction: row-reverse;
}
xtrnt-select .xn-input-field-suffix,
xtrnt-input .xn-input-field-suffix,
xtrnt-date .xn-input-field-suffix,
xtrnt-autocomplete .xn-input-field-suffix {
  position: absolute;
  right: 0.625rem;
  top: 1.09375rem;
}
xtrnt-select .mat-select,
xtrnt-input .mat-select,
xtrnt-date .mat-select,
xtrnt-autocomplete .mat-select {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
xtrnt-select .mat-form-field-underline,
xtrnt-input .mat-form-field-underline,
xtrnt-date .mat-form-field-underline,
xtrnt-autocomplete .mat-form-field-underline {
  display: none;
}

.mat-form-field-disabled .mat-form-field-infix {
  opacity: 75%;
}

xtrnt-select .mat-select-arrow {
  border-left-width: 0.3125rem;
  border-right-width: 0.3125rem;
  border-top-width: 0.3125rem;
  margin-right: -0.625rem;
  border-top-color: #000;
}

xtrnt-autocomplete .mat-select-arrow {
  border-left-width: 0.3125rem;
  border-right-width: 0.3125rem;
  border-top-width: 0.3125rem;
  margin-right: -0.625rem;
  border-top-color: #000;
}

xtrnt-tree-select {
  height: 3.125rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1.25rem;
}
xtrnt-tree-select label {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.85);
  flex-basis: 37.5%;
}
xtrnt-tree-select .mat-tree {
  background-color: #fefefe;
  width: 100%;
  font-family: "Hind", sans-serif;
}
xtrnt-tree-select mat-tree.xn-expanded {
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
  max-height: 50vh;
  overflow: auto;
  position: relative;
  z-index: 1000;
  width: 100%;
}
xtrnt-tree-select .mat-button-wrapper > ion-icon {
  font-size: 1.25rem;
}
xtrnt-tree-select .mat-checkbox-layout {
  margin-bottom: 0;
}

xtrnt-upload {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

xtrnt-date .mat-form-field-flex {
  background-color: #fefefe;
}
xtrnt-date .mat-input-element {
  line-height: 1rem;
}
xtrnt-date .date--errors-wrapper {
  position: absolute;
  top: 2.25rem;
  font-size: 0.75rem;
  color: red;
  left: 1.2rem;
}

xtrnt-input[type=multiline] {
  height: auto;
  min-height: 3.125rem;
}
xtrnt-input[type=multiline] .mat-form-field {
  height: auto;
  min-height: 3.125rem;
}
xtrnt-input[type=multiline] .mat-form-field-appearance-standard .mat-form-field-flex {
  height: auto;
}
xtrnt-input[type=multiline] .mat-form-field-flex {
  display: inline-flex;
}
xtrnt-input[type=multiline] .mat-form-field-infix {
  height: auto;
  flex-grow: 1;
}

xtrnt-button[type=button],
xtrnt-button[type=reset],
xtrnt-button[type=submit] {
  -webkit-appearance: unset;
  -moz-appearance: unset;
}

.xn-btn {
  min-width: 11.25rem;
  background-color: #5ab4a2;
  color: #fefefe;
  border-radius: 0 !important;
  padding-top: 0.9375rem;
  padding-bottom: 0.9375rem;
  line-height: 1em;
  border: none;
  transition: all 0.2s ease-out;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.xn-btn:hover {
  background-color: #51b09d;
  color: #fefefe;
}
.xn-btn:focus {
  background-color: #4ca795;
  color: #fefefe;
  box-shadow: none;
}
.xn-btn > ion-icon {
  font-size: 1.25rem;
  margin-right: 0.9375rem;
}

.xn-btn--delete {
  background-color: #ff5959;
}
.xn-btn--delete:hover {
  background-color: #ff4848;
}
.xn-btn--delete:focus {
  background-color: #ff3737;
}

.xn-btn--cancel {
  background-color: #c2bfbf;
}
.xn-btn--cancel:hover {
  background-color: #b9b5b5;
}
.xn-btn--cancel:focus {
  background-color: #afabab;
}

.xn-btn--print {
  background-color: #5066a4;
}
.xn-btn--print:hover {
  background-color: #4c619c;
}
.xn-btn--print:focus {
  background-color: #485c94;
}

.xn-btn--add-item {
  background: transparent;
  color: #404040;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
}
.xn-btn--add-item:hover {
  background: #c2bfbf;
  color: #404040;
}
.xn-btn--add-item:focus {
  background: #c2bfbf;
  color: #404040;
}

xtrnt-slide {
  display: flex;
}

.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb,
.mat-slide-toggle.mat-checked .mat-ripple-element {
  background-color: #5ab4a2;
}

.mat-slide-toggle.mat-checked .mat-slide-toggle-bar {
  background-color: rgba(90, 180, 162, 0.46);
}

/*
 * If we wrap our form elements in this data-section container
 * we want a specific form appearance, e.g.
 *   - labels left; input fields right
 *   - form width limited (on wide screens)
 */
.data-section {
  margin-bottom: 3.125rem;
  width: 100%;
}
.data-section label {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.85);
  flex-basis: 37.5%;
}
.data-section .mat-form-field,
.data-section .xn-tree-container {
  background: transparent;
  height: 3.125rem;
  flex-basis: 62.5%;
}
@media screen and (min-width: 1200px) {
  .data-section {
    width: 61.8%;
  }
}

.data-element-group {
  margin-top: 1.875rem;
  margin-bottom: 1.875rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.data-element-group xtrnt-input,
.data-element-group xtrnt-autocomplete,
.data-element-group xtrrnt-select,
.data-element-group xtrnt-tree-select,
.data-element-group xtrnt-slide {
  margin-bottom: 0.9375rem;
}

/******************************* GLOBAL ANGULAR MATERIAL OVERRIDES *****************************************************
*/
.xn-body .mat-input-element,
.xn-body .mat-select-value,
.xn-body .mat-checkbox {
  font-family: "Hind", sans-serif;
}

.mat-form-field {
  width: 100%;
}

.mat-primary .mat-option.mat-selected:not(.mat-option-disabled) {
  color: #5066a4;
}

.mat-primary .mat-pseudo-checkbox-checked, .mat-primary .mat-pseudo-checkbox-indeterminate {
  background-color: #5066a4;
}

.mat-checkbox-checked.mat-accent .mat-checkbox-background,
.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background {
  background-color: #5066a4;
}

.xn-body xtrnt-upload .ngx-file-drop__drop-zone {
  height: auto;
  border: none;
  border-radius: 0;
  border-width: 1px;
  padding-top: 1.25rem;
}

.ngx-file-drop__content {
  display: flex;
  flex-direction: column;
  color: #5066a4;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

/*
 *  Global Flash Message Styles
 *  (Note: Styles that are unique to a specific page or component
 *  belong to the respective page's / component's stylesheets)
 */
.xn-flashmessages > ul {
  list-style-type: none;
}
.xn-flashmessages > ul > li {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-bottom: 0.3125rem;
  font-size: 0.75rem;
}
.xn-flashmessages > ul > li:last-of-type {
  margin-bottom: 0;
}
.xn-flashmessages .flashmessages-error {
  background-color: #ff5959;
  color: #fefefe;
}
.xn-flashmessages .flashmessages-warning,
.xn-flashmessages .flashmessages-notice {
  background-color: #ffda47;
  color: #000;
}
.xn-flashmessages .flashmessages-ok {
  background-color: #5ab4a2;
  color: #fefefe;
}

/*
 *  LOCAL SETTINGS
 */
/*
 *  GLOBAL FULLSCREEN LAYOUT STYLES
 */
h1 {
  font-size: 1.875rem;
}

.fullscreen-wrapper {
  background-color: #f2efef;
  background-image: url("../Images/triangle-bg-pattern.svg");
  background-size: cover;
  background-blend-mode: color-burn;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

.content-box {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  box-shadow: 0.3125rem 0.625rem 0.3125rem rgba(0, 0, 0, 0.2);
}
@media screen and (min-width: 769px) {
  .content-box {
    flex-direction: row;
    align-items: stretch;
    width: 75vw;
    height: 75vh;
  }
}

.info-tile {
  flex-basis: 38.2%;
  background-color: rgba(255, 218, 71, 0.9);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 769px) {
  .info-tile {
    flex-basis: 61.8%;
    padding: 3.125rem;
    align-items: inherit;
    justify-content: flex-end;
    padding-bottom: 7.5rem;
  }
}
.info-tile > p {
  max-width: 46.875rem;
}

.action-tile {
  background-color: #fefefe;
  flex-basis: 61.8%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  position: relative;
}
@media screen and (min-width: 769px) {
  .action-tile {
    align-items: flex-start;
    flex-basis: 38.2%;
  }
}

.xn-logo-container {
  width: 8.125rem;
  align-self: center;
  flex-grow: 1;
}
@media screen and (min-width: 769px) {
  .xn-logo-container {
    padding-top: 6.25rem;
    flex-shrink: 1;
  }
}

.xn-flashmessages {
  padding-top: 1.25rem;
}

.form-control-container {
  position: relative;
  min-height: 4.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.authentication-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  min-height: 18.75rem;
  flex-grow: 1;
  transition: all 0.1s ease-in-out;
}
@media screen and (min-width: 769px) {
  .authentication-form {
    padding-left: 1.875rem;
    padding-right: 1.875rem;
  }
}
.authentication-form .form-control-container {
  margin-bottom: 3.125rem;
}
.authentication-form xtrnt-button {
  align-self: flex-end;
}
.xn-flashmessages {
  width: 100%;
  overflow: hidden;
  max-width: 32.25rem;
}
@media screen and (min-width: 769px) {
  .xn-flashmessages {
    padding-left: 1.875rem;
    padding-right: 1.875rem;
  }
}
.xn-flashmessages ul {
  padding-left: 0;
}

.xn-btn {
  width: 11.25rem;
  align-self: flex-end;
  border-radius: 0;
}

/***********************************************************************************************************************
 *
 *  Custom styles for Login-Template
 *
 */
body.user-login {
  /*
  .action-tile{
    transition: all 0.3s ease-in-out;

    @media screen and (min-width: $screen-md){
      &:hover{
        flex-basis: calc(38.2% + 100px);

        & > .authentication-form{
          padding-left: rem(84px);
        }
      }
    }

  } // .action-tile
  */
}

/***********************************************************************************************************************
 *
 *  Custom styles for reset-password-Template
 *
 */
body.reset-pwd .xn-btn {
  width: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/***********************************************************************************************************************
 *
 *  Custom styles for edit-password-when-expired-Template + reset-pwd-Template
 *
 */
body.edit-pwd-when-expired .form-control-container,
body.reset-pwd .form-control-container {
  margin-bottom: 0;
}
body.edit-pwd-when-expired label,
body.reset-pwd label {
  margin-bottom: 0;
}
body.edit-pwd-when-expired xtrnt-input,
body.reset-pwd xtrnt-input {
  flex-direction: column;
  align-items: flex-start;
}
body.edit-pwd-when-expired .mat-form-field,
body.reset-pwd .mat-form-field {
  display: flex;
}
body.edit-pwd-when-expired .mat-form-field-wrapper,
body.reset-pwd .mat-form-field-wrapper {
  width: 100%;
}
body.edit-pwd-when-expired .mat-form-field-infix,
body.reset-pwd .mat-form-field-infix {
  border-bottom: 1px solid #000;
  padding-left: 0.625rem;
  padding-top: 0;
}
body.edit-pwd-when-expired .mat-input-element::placeholder,
body.reset-pwd .mat-input-element::placeholder {
  visibility: hidden;
  opacity: 0;
}
body.edit-pwd-when-expired .mat-form-field-underline,
body.reset-pwd .mat-form-field-underline {
  background-color: #404040;
}
body.edit-pwd-when-expired .mat-form-field-subscript-wrapper,
body.reset-pwd .mat-form-field-subscript-wrapper {
  position: unset;
}
body.edit-pwd-when-expired .mat-hint,
body.reset-pwd .mat-hint {
  color: rgba(0, 0, 0, 0.4);
}
body.edit-pwd-when-expired xtrnt-button,
body.reset-pwd xtrnt-button {
  text-align: right;
}

/*# sourceMappingURL=authentication.css.map */
