.alert {
  font: var(--ars-type-content);
}

input::-webkit-caps-lock-indicator {
  content: none;
}

body {
  font-family: sans-serif;
  overflow-x: hidden;
}

h4 {
  letter-spacing: 1px;
}

hr {
  margin: 1.5rem 0 !important;
}

p {
  margin-bottom: .5rem !important;
}

/* Scrollbar style */
/* width */
::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.separator-horizontal {
  height: 2.5rem;
  border-left: 1px solid #000;
  margin: 0 .75rem;
}

.break-all {
  word-break: break-all;
}

/* Use webfont when it loads */
.fonts-loaded body {
  font-family: Montserrat, sans-serif !important;
}

/* Utility classes */
.basis-0 {
  flex-basis: 0;
}

.nav-logo {
  height: 2rem;
}

.ars-logo {
  display: inline-block;
  position: fixed;
  padding: 20px 30px;
  right: 0;
  top: 0;
  background-color: var(--ars-color-secondary-9);
  border-bottom-left-radius: 20px;
}

.c-s-2 {
  color: var(--ars-color-secondary-2);
}

.no-script-btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
}

.cut-overflow {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.text-deep {
  color: var(--text-color) !important;
}

.text-selected {
  color: var(--ars-color-primary-5);
  text-decoration: underline;
}

.alert>strong {
  display: inline-block;
  margin-bottom: 0.3rem;
}

#show-pw,
#hide-pw {
  color: var(--light-gray);
}

#show-pw:hover,
#hide-pw:hover {
  color: var(--light-gray-hover);
}

.form-check-input:checked {
  background-color: var(--ars-color-primary-5) !important;
  border-color: var(--ars-color-primary-5) !important;
}

.form-check-input:focus {
  border-color: var(--ars-color-primary-5) !important;
  box-shadow: 0 0 0 0.25rem rgb(221 109 44 / 25%) !important;
}

/* select2 */
#dropdownlist {
  width: 100%;
}

.select2-selection {
  height: 2.5rem !important;
}

/* Selected and default fix */
.select2-selection__rendered {
  color: #6c757d !important;
  display: inline !important;
}

/* select2 bootstrap-5 theme over write */
.select2-selection__rendered,
.select2-search__field {
  font: var(--ars-type-content) !important;
}

/* border color and shadow */
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
  border-color: var(--ars-color-primary-5) !important;
  box-shadow: unset !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
  border-color: var(--ars-color-primary-5) !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
  border-color: var(--ars-color-primary-5) !important;
  box-shadow: unset !important;
}

/* max-height */
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options:not(.select2-results__options--nested) {
  max-height: 11rem !important;
}

/* Disabled state color unset */
.select2-container--bootstrap-5.select2-container--disabled .select2-selection {
  background-color: unset !important;
}

/* Other styling */
.small-icon {
  font-size: .9rem;
  border-radius: 100%;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--ars-color-secondary-1);
  background-color: var(--ars-color-secondary-5);
}

.small-icon:hover {
  cursor: pointer;
  background-color: var(--ars-color-secondary-4);
}

.banner-image {
  overflow: hidden;
  border-left: 1px #d5d5d5 solid;
  filter: drop-shadow(-1px 4px 6px rgba(0, 0, 0, 0.25));
  padding: 0 !important;
}

.blured::before {
  background-image: url("../images/hero.svg?tag=9db53");
  content: ' ';
  background-position: center;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  display: block;
  background-size: cover;
  position: absolute;
}

/* TODO: This might cause issues - testing required */
.banner-image::before {
  background-image: url("../images/hero.svg?tag=9db53");
  content: ' ';
  background-position: center;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  display: block;
  background-size: cover;
  position: absolute;
}

.hero-image-container {
  filter: drop-shadow(-1px 4px 6px rgba(0, 0, 0, 0.25));
}

#form-container {
  max-width: 553px !important;
  min-height: 100vh;
}

@media only screen and (min-width: 992px) {
  #form-container {
    /* animation: fadeInAnimation eagse 800ms; */
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out,
  }

  @keyframes fadeInAnimation {
    0% {
      opacity: 0;
      transform: translateX(20%);
    }

    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

* {
  /* outline: 1px green solid; */
  box-sizing: border-box;
}

/* Custom input */
.input-container {
  border: 1px var(--ars-color-secondary-4) solid;
  border-radius: var(--ars-border-radius);
  display: flex;
  height: 2.5em;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Icon container */
.input-container>span:first-child {
  padding: none;
  margin: none;
  color: var(--ars-color-secondary-3);
  background-color: var(--ars-color-secondary-5);
  border-right: 1px solid var(--ars-color-secondary-4);
  border-radius: .3rem 0 0 .3rem;
  display: grid;
  place-items: center;
  min-width: 2.5rem;
  z-index: -1;
}

.input-container>input {
  flex-basis: 0;
  flex-grow: 1;
  border: none;
  padding: 7px;
  padding-left: 1rem;
}

.input-container>input::placeholder {
  color: var(--ars-color-secondary-3);
}

.input-container>input:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.input-container:focus-within {
  border-color: var(--ars-color-primary-5);
  box-shadow: 0 0 0 0.25rem rgb(221 109 44 / 25%);
}

/* Warning icon container */
.input-container>span {
  display: grid;
  place-items: center;
  padding: 7px;
  min-width: 2.5rem;
}

#show-pw,
#hide-pw {
  cursor: pointer;
  color: var(--ars-color-secondary-3);
}

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.15) inset;
  transition: background-color 5000s ease-in-out 0s;
}

.form-control {
  border-radius: 0 var(--bs-btn-border-radius) var(--bs-btn-border-radius) 0 !important;
}

#attribute-card {
  width: inherit;
}

#attributes-container {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.attr-name {
  color: gray;
  font-size: .8rem;
  margin-bottom: 1rem;
}

#attr-content>div {
  overflow-y: scroll;
  max-height: 50vh;
}

#attributes-table-sm>div>div {
  overflow-wrap: break-word;
}

.aai-accordion {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms ease-in-out;
}

.logo-container {
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
}

.logo {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  bottom: 0;
}

.user-icon {
  position: relative;
  height: 5rem;
  bottom: 1.5rem;
  margin-right: 1.5rem;
}

.third-party-icon {
  text-align: center;
}

.third-party-icon>img {
  max-height: 5rem;
}

.p-container p {
  font: var(--ars-type-content-7);
  color: var(--ars-color-secondary-1);
}

footer div:first-child {
  gap: 3rem;
}

@media screen and (max-width: 575px) {

  .btn-m,
  .btn-s,
  .btn-l {
    flex-basis: auto !important;
  }
}

input[type=text],
input[type=password] {
  font: var(--ars-type-content-5);
  color: var(--ars-color-secondary-2);
}

/* TODO: This might cause issues - testing required */
@font-face {
  font-family: 'Source Serif 4';
  src: url("../fonts/Source_Serif_4/static/Source_Serif_4/static/SourceSerif4-Light.ttf?tag=9db53") format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Source Serif 4';
  src: url("../fonts/Source_Serif_4/static/SourceSerif4-Light.ttf?tag=9db53'") format('truetype');
  font-weight: 300;
  font-style: normal;
}



@font-face {
  font-family: 'Source Serif 4';
  src: url("../fonts/Source_Serif_4/static/Source_Serif_4/static/SourceSerif4-Regular.ttf?tag=9db53'") format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url("../fonts/Source_Sans_3/static/SourceSans3-BoldItalic.ttf?tag=9db53', 'themearnes") format('truetype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url("../fonts/Source_Sans_3/static/SourceSans3-Bold.ttf?tag=9db53', 'themearnes") format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url("../fonts/Source_Sans_3/static/SourceSans3-Italic.ttf?tag=9db53', 'themearnes") format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url("../fonts/Source_Sans_3/static/SourceSans3-Regular.ttf?tag=9db53', 'themearnes") format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url("../fonts/Source_Sans_3/static/SourceSans3-Light.ttf?tag=9db53', 'themearnes") format('truetype');
  font-weight: 300;
  font-style: normal;
}