@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('font-awesome/css/all.min.css');

/*#region scrollbar, Selection */
::-webkit-scrollbar {
  width: 0;
}

.hide-scrollbar::-webkit-scrollbar:horizontal {
  scrollbar-width: none;
  height: 0;
}

::selection, ::-moz-selection {
  background: var(--softtec-medium-blue2) !important;
  -webkit-tap-highlight-color: var(--softtec-medium-blue2) !important;
  color: var(--softtec-white) !important;
}

  ::selection * {
    color: var(--softtec-white) !important;
    background: var(--softtec-medium-blue2) !important;
    -webkit-tap-highlight-color: var(--softtec-medium-blue2) !important;
  }
/*#endregion*/

/*#region general */
button, .btn, input, p, a, textarea, label, span, table, tr, td, th, thead, tbody, b, ol, li, ul, select, .form-control, div, .nav-item {
  font-family: 'Montserrat-Regular';
  font-size: 14px;
}

.arrow {
  font-size: 1.4rem !important;
  margin-top: -1px;
}

.minimize-arrow {
  font-size: 1rem !important;
  margin-top: -1px;
}

a, .btn-link {
  color: var(--softtec-dark-blue);
}

.text-smaller {
  font-size: smaller !important;
}


.disabled {
  background-color: var(--softtec-grey) !important;
}

.visible-hidden {
  visibility: hidden;
}

.hidden {
  display: none;
}

.none {
  display: none !important;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.uppercase {
  text-transform: uppercase;
}

.bold {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.underline {
  text-decoration: underline;
}

.linethrough {
  text-decoration: line-through;
}
/*#endregion*/

/*#region carousel */
.carousel .carousel-control-prev,
.carousel .carousel-control-next {
  opacity: 1;
}
/**/
/*#endregion*/

h1, h2, h3, h4, h5, h6 {
  color: var(--softtec-dark-blue) !important;
}

/*#region select */
select:hover {
  box-shadow: 0 0 2px 2px var(--softtec-light-blue-shadow)  !important;
}

select:focus {
  box-shadow: 0 0 2px 2px var(--softtec-light-blue-shadow)  !important;
}

select:disabled {
  background-color: var(--softtec-grey) !important;
  opacity: 0.6 !important;
}

select:hover:disabled {
  box-shadow: none !important;
  cursor: not-allowed;
}

.table-header .uppercase span, .card-header {
  font-size: 1.4rem;
}

/*#endregion*/

/*#region Loader*/
.loading {
  color: var(--softtec-dark-blue) !important;
  width: 100vw !important;
  font-family: 'Montserrat-Regular' !important;
  font-size: 1.4rem !important;
}

  .loading::after {
    border-color: var(--softtec-dark-blue) var(--softtec-light-blue2) var(--softtec-light-blue2) !important;
  }
/*#endregion*/

/*#region blazor-error-ui  */
#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

  #blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
  }
/*#endregion*/


.st-button {
  width: 180px;
  min-width: 180px;
  border-radius: 25px;
  height: 30px;
}

/*#region INPUT STYLES*/
.st-searchfield {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

  .search-icon, .st-searchfield span {
    position: absolute;
    top: inherit;
    left: inherit;
    z-index: 2;
    color: var(--softtec-medium-blue1);
    background-color: transparent;
    padding-left: 2rem;
  }


input[type="search"]::placeholder {
  color: var(--softtec-medium-blue1) !important;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-filter: brightness(0) saturate(100%) invert(10%) sepia(52%) saturate(5795%) hue-rotate(195deg) brightness(96%) contrast(105%);
  filter: brightness(0) saturate(100%) invert(10%) sepia(52%) saturate(5795%) hue-rotate(195deg) brightness(96%) contrast(105%);
}

.st-amount.white-bg input.form-control, input.white-bg.form-control, .st-singledropdown-input .st-singledropdown-input-togglebutton, .st-multidropdown-input-selectedvalues .st-multidropdown-input-togglebutton {
  background: var(--softtec-white) !important;
  background-color: var(--softtec-white) !important;
}

.card.white-bg input.form-control:not(.packagePrice-input), .modal-body .white-bg input.form-control:not(.packagePrice-input) {
  background-color: var(--softtec-light-blue2) !important;
}

.card.white-bg .st-numberinput.white-bg-input input.form-control:not(.packagePrice-input) {
  background-color: var(--softtec-white) !important;
}

.search-input, .st-searchfield-input {
  color: var(--softtec-medium-blue1);
  height: 30px !important;
  border-radius: 25px !important;
  padding-left: 40px;
}

.text-center .form-control {
  text-align: center;
}

.form-control, .k-input-solid {
  height: 30px;
  color: var(--softtec-dark-blue);
  border: none;
  border-radius: 8px;
}

.ant-input-number {
  color: var(--softtec-dark-blue) !important;
  border: unset !important;
  border-radius: 8px !important;
}

input.form-control:read-only, input.form-control:disabled {
  background-color: var(--softtec-grey) !important;
  border: none;
  color: var(--softtec-dark-blue);
  cursor: not-allowed;
  pointer-events: unset !important;
  opacity: .65 !important;
}

  input.form-control:disabled + label {
    opacity: .65 !important;
  }

input.form-control.transparent-bg:read-only, input.form-control.transparent-bg:disabled {
  background-color: transparent !important;
  opacity: 1 !important;
}

.k-popup .k-input-solid {
  background-color: var(--softtec-light-blue2) !important;
}

.blazored-typeahead {
  border: 1px solid transparent !important;
  border-radius: 8px;
}

  .blazored-typeahead:focus-within {
    box-shadow: unset !important;
  }

  .blazored-typeahead input {
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
  }

    .blazored-typeahead input:focus {
      box-shadow: 0 0 2px 2px var(--softtec-light-blue-shadow) ;
      color: var(--softtec-dark-blue);
      border-color: transparent;
      outline: 0;
    }

  .blazored-typeahead .blazored-typeahead__active-item,
  .blazored-typeahead .blazored-typeahead__result:hover,
  .blazored-typeahead .blazored-typeahead__result:focus {
    border-radius: .8rem;
    background-color: var(--softtec-light-blue2) !important;
    border-color: transparent !important;
    color: var(--softtec-dark-blue);
  }

  .blazored-typeahead .blazored-typeahead__results {
    background-color: white;
    padding: 1rem 1rem 1rem 1rem;
    border-radius: .8rem;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    margin-top: .2rem;
    border: none;
    display: grid;
    gap: 0.5rem;
  }

    .blazored-typeahead .blazored-typeahead__results .blazored-typeahead__results-footer:empty {
      display: none;
    }

    .blazored-typeahead .blazored-typeahead__results .blazored-typeahead__notfound {
      display: grid;
      gap: 0.5rem;
    }

    .blazored-typeahead .blazored-typeahead__results .hover-dblue:hover {
      font-weight: 700;
    }

.form-control:focus, .form-control:hover {
  box-shadow: 0 0 2px 2px var(--softtec-light-blue-shadow) ;
  color: var(--softtec-dark-blue);
  border-color: transparent;
  outline: 0;
}

.ant-input-number:hover, .ant-input-number:focus, .ant-input-number-focused {
  box-shadow: 0 0 2px 2px var(--softtec-light-blue-shadow)  !important;
  color: var(--softtec-dark-blue) !important;
  border-color: transparent !important;
  outline: 0;
}

input:disabled, input:disabled ~ .spinner-button {
  opacity: .8 !important;
  cursor: not-allowed;
  background-color: transparent;
}

input:not(:disabled) ~ .spinner-button:not(:disabled):hover {
  background-color: var(--softtec-dark-blue);
  cursor: pointer;
}

input[type=checkbox]:disabled, input[type=radio]:disabled {
  background-color: var(--softtec-grey)  !important;
  border: unset;
}

.grid-container-room-search-bar .ant-input-number .ant-input-number-handler-wrap {
  display: none;
}

.st-textbox-input {
  cursor: default;
}

input[type="time"] {
  position: relative;
}

  input[type="time"]::-webkit-calendar-picker-indicator {
    color: transparent;
    background: none;
    z-index: 1;
    cursor: pointer;
  }

  input[type="time"]:before {
    background: none;
    display: block;
    font-family: 'FontAwesome';
    content: '\f017';
    width: 15px;
    height: 20px;
    position: absolute;
    top: 0.2rem !important;
    font-size: 1rem;
    right: 0.5rem;
    color: var(--softtec-dark-blue);
  }

/*#endregion*/


/*#region datepicker*/
input[type="date"]::-webkit-calendar-picker-indicator {
  color: transparent;
  background: none;
  z-index: 1;
  cursor: pointer;
}
/*#endregion*/

/*#region Floating Label*/

.form-floating > .form-control, .form-floating > .form-select {
  height: 40px;
  line-height: 1.25;
  margin-bottom: 0px !important;
  font-size: 14px;
}

 .form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-select ~ label {
   opacity: 1;
   transform: scale(.85) translateY(-.5rem) translateX(0.15rem);
   font-size: 12px;
   }

.form-floating > label {
  padding: 0.5rem 0.75rem;
}

.st-dropdown {
  border-radius: 8px;
  border: 0px;
  padding-top: 1rem !important;
  padding-bottom: 0 !important;
  padding-left: 0.5rem !important;
  padding-right: 2.5rem !important;
  height: inherit;
  width: 100%;
  color: var(--softtec-dark-blue);
}

.st-dropdown-without-label {
  border-radius: 8px;
  border: 0px;
  padding: 0.5rem 2.5rem 0.5rem 0.5rem !important;
  height: inherit;
  width: 100%;
  color: var(--softtec-dark-blue);
}

.st-dropdown-menu {
  color: var(--softtec-dark-blue);
  padding-right: 0.5rem;
  max-height: 130px;
  overflow: auto;
}

.st-dropdown-menu-item {
  border-radius: 8px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  margin: 0.25rem 0;
}

.st-dropdown-menu .st-dropdown-menu-item:first-child, .st-dropdown-menu .st-enumdropdown-menu-item:first-child {
  margin-top: 0;
}

.st-dropdown-input {
  border-radius: 8px;
  cursor: default;
}

.form-floating > label, .k-input-solid {
  color: var(--softtec-dark-blue);
}

  .k-input-solid:focus, .k-input-solid.k-focus {
    color: var(--softtec-dark-blue);
    box-shadow: 0 0 2px 2px var(--softtec-light-blue-shadow) ;
  }

.k-signature.k-focus
.k-signature:focus {
  box-shadow: none;
}

input:not(.form-control)::placeholder {
  color: var(--softtec-medium-blue1) !important;
}

.form-floating > .form-control[value=""] + label, .form-floating > .form-control:placeholder-shown + label:not(.st-dropdown-label) {
  color: var(--softtec-medium-blue1);
}

.form-floating label {
  white-space: nowrap;
}

.grid-container-6 .st-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.text-center label {
  -webkit-transform-origin-x: unset;
}

.st-datepicker, .st-textinput, .st-amount, .st-dropdown, .st-numberinput, .st-tags-container {
  position: relative;
}
/*#endregion*/

/*#region dropdown */
.st-textdropdown-menu-item, .st-enumdropdown-menu-item {
  padding: .5rem 1rem;
  border-radius: 25px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  word-break: break-word;
  min-height: 30px;
}

  .st-textdropdown-menu-item:hover, .st-enumdropdown-menu-item:hover {
    background: var(--softtec-light-blue2);
    color: var(--softtec-medium-blue1) !important;
    padding: .5rem 1rem;
    cursor: pointer;
  }

  .st-textdropdown-menu-item.selected, .st-enumdropdown-menu-item.selected {
    background: var(--softtec-light-blue2);
    padding: .5rem 1rem;
    color: var(--softtec-medium-blue1) !important;
  }

    .st-textdropdown-menu-item.selected::after, .st-enumdropdown-menu-item.selected:after {
      content: '\2714';
      font-family: FontAwesome;
      color: var(--softtec-medium-blue1) !important;
    }

/*#endregion*/

/*#region CHECK BOXES */
.form-check {
  padding-left: 0 !important;
}

.form-check-input {
  width: 1.5rem;
  min-width: 1.5rem;
  height: 1.5rem;
  margin-top: 0 !important;
  margin-left: 0 !important;
  border-color: var(--softtec-dark-blue) !important;
}

.k-checkbox:indeterminate, .k-checkbox.k-indeterminate {
  background-image: unset;
  background-color: var(--softtec-medium-blue1) !important;
  text-align: center;
}

  .k-checkbox:indeterminate::after {
    content: "\f068";
    font-family: 'FontAwesome';
    color: white;
  }

.k-checkbox {
  box-shadow: none !important;
  border-color: var(--softtec-medium-blue1) !important;
}

  .form-check-input:checked, .k-checkbox:checked {
    background-color: var(--softtec-medium-blue1) !important;
    box-shadow: none !important;
    border-color: var(--softtec-medium-blue1) !important;
  }

  .k-checkbox + label:hover {
    cursor: pointer;
  }

  .form-check-input:focus, .k-checkbox:focus {
    outline: 0 !important;
    box-shadow: none !important;
  }

.form-check-input:hover, .form-check > label:hover {
  cursor: pointer;
}

.st-checkbox, .checkbox-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

  .st-checkbox .st-checkbox-input-right {
    margin-left: auto !important;
  }

  .st-checkbox .st-checkbox-input-left {
    margin-right: auto !important;
  }

.st-grid .st-checkbox .st-checkbox-input-left, .k-grid tbody tr td .st-checkbox .st-checkbox-input-left {
  margin: 0 !important;
}

.st-grid .st-checkbox, .k-grid tbody tr td .st-checkbox {
  justify-content: left;
}

.st-checkbox {
  height: 3rem;
}

.st-checkbox-label {
  white-space: nowrap;
}

.st-label, .st-singledropdown-input-noselectedvalue-label label, st-multidropdown-input-noselectedvalue-label label {
  color: var(--softtec-medium-blue1);
  width: 100%;
}

.st-checkbox-label:empty {
  display: none;
}

.form-check-input label:hover {
  cursor: pointer;
  font-weight: 700;
}

.st-checkbox-indeterminate {
  background-color: var(--softtec-medium-blue1);
  background-image: url('/icons/white/minus.svg') !important;
  background-size: 0.9rem;
}

.form-control.inline-elments .icon-hover, .form-control.inline-elments span.fa-solid, .form-control.inline-elments span.fa-regular {
  margin-left: auto;
}

.form-control.inline-elments {
  align-items: center;
  display: flex;
}

/*#endregion*/


/*#endregion*/


/*#region Grid Container*/
.grid-container-1, .grid-container-2, .grid-container-3, .grid-container-4, .grid-container-5, .grid-container-6, .grid-container-7 {
  display: grid !important;
  grid-template-columns: auto;
  height: auto;
  gap: 2rem;
  align-items: start;
}

.grid-container-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-container-4 {
  grid-template-columns: repeat(4,1fr);
}

.grid-container-5 {
  grid-template-columns: repeat(5,1fr);
}

.grid-container-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.grid-container-6 {
  grid-template-columns: repeat(6,1fr);
}

.grid-container-7 {
  grid-template-columns: repeat(7,1fr);
}

.grid-container-8 {
  grid-template-columns: repeat(8,1fr);
}
/*#endregion*/


@media (max-width: 1670px) {
  .grid-container-7 {
    grid-template-columns: repeat(6,1fr);
  }

  .grid-container-6 {
    grid-template-columns: repeat(5,1fr);
  }

  .grid-container-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1450px) {

  .grid-container-5, .grid-container-6 {
    grid-template-columns: repeat(4,1fr);
  }

  .grid-container-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1320px) {
  .grid-container-4, .grid-container-5, .grid-container-6, .grid-container-7 {
    grid-template-columns: repeat(3,1fr);
  }

  .grid-container-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1090px) {

  .grid-container-4, .grid-container-7, .grid-container-6, .grid-container-5 {
    grid-template-columns: 1fr 1fr;
  }
}


@media (max-width: 968px) {
  .grid-container-6, .grid-container-7, .grid-container-4, .grid-container-5, .grid-container-3 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-container-2 {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 860px) {
  .grid-container-6, .grid-container-7 , .grid-container-4, .grid-container-5, .grid-container-2, .grid-container-3 {
    grid-template-columns: 1fr;
  }
}
/*#endregion*/


/*#region  NEW ST COMPONENTS */

/*Hide html arrows content Number Input*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.position-relative {
  position: relative;
}

.st-text-input-button-right {
  position: absolute;
  right: 0 !important;
  top: 0 !important;
  font-weight: 900;
  background-color: transparent !important;
  opacity: 1;
  padding: 0.7rem 1rem;
  border: none;
  width: fit-content;
  min-width: 30px;
  height: 30px;
  line-height: unset;
}

  .st-text-input-button-right:disabled {
    color: var(--softtec-grey);
    opacity: .65;
    cursor: not-allowed;
  }

.st-input-icon-left {
  position: absolute;
  left: 0.4rem;
  top: 0.75rem;
  text-align: center;
  background-color: transparent;
  color: var(--softtec-medium-blue1);
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.5rem !important;
  padding: 0;
  border: none;
}

.icon-blue {
  color: var(--softtec-medium-blue1);
}

.icon-blue-selectable {
  color: var(--softtec-medium-blue1);
}

  .icon-blue-selectable:hover {
    color: var(--softtec-dark-blue);
  }

  .icon-blue-selectable:disabled {
    color: var(--softtec-grey);
  }

.st-btn-blue {
  background-color: var(--softtec-medium-blue1);
  color: var(--softtec-white);
  border-color: var(--softtec-medium-blue1);
}

.st-btn-blue-selectable {
  background-color: var(--softtec-medium-blue1);
  color: var(--softtec-white);
  border-color: var(--softtec-medium-blue1);
}

  .st-btn-blue-selectable:hover {
    background-color: var(--softtec-dark-blue);
  }

.st-btn-white-selectable {
  background-color: var(--softtec-white);
  color: var(--softtec-medium-blue1);
  border-color: var(--softtec-medium-blue1);
}

  .st-btn-white-selectable:hover {
    background-color: var(--softtec-medium-blue1);
    color: var(--softtec-white)
  }


/*#region webkit */
input[type='date'] {
  -webkit-appearance: unset;
}

input::-webkit-date-and-time-value {
  padding-top: 1rem !important;
  text-align: left !important;
}

@media (max-width: 968px) {
  input::-webkit-date-and-time-value {
    text-align: left !important;
  }
}
/*#endregion*/

.st-date-picker > input[type="date"]::-webkit-calendar-picker-indicator {
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  top: 10px;
  right: 8px;
  background-color: var(--softtec-medium-blue1); 
  -webkit-mask-image: url(/icons/dark-blue/calendar2.svg);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url(/icons/dark-blue/calendar2.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  cursor: pointer;
  border: none;
  z-index: 1;
}
