@import './lib/fontawesome.css';
@import './lib/materialdesign-icons.css';
@import './lib/vuetify.css';

.v-btn,
.v-input,
.v-select,
.v-textarea {
  background-color: transparent;
  border-style: none;
  color: inherit;
}
.v-textarea>.v-input__control>.v-input__slot:before {
   border: 0;
}
.hide-scroll {
  overflow: hidden;
}
.v-btn--icon {
  border: 0;
}
.uiIconKudos.uiIconLightGrey {
  color: #c6c6c6;
}
.uiIconKudos, .uiIconKudosCheck {
  &.uiIconBlue {
    color: #578dc9;
  }
}
.uiIconKudosTipTip {
  font-size: 18px;
}
#kudosMessage {
  margin: 5px 0 0;
}
.kudosIconsContainer {
  max-height: ~"calc(100vh - 365px)";
  overflow: auto;
  min-height: 130px;
  margin: 0 auto !important;
  justify-content: center;
}
.kudosDateSelector {
  width: 288px;
}
.kudosIconContainerTop {
  position: relative;
  margin-top: 5px;
  margin-bottom: 5px;
  width: 115px;
  max-width: 100%;
  min-height: 82px;
  height: auto;
  display: table;

  .kudosIconContainer {
    padding: 0;

    .uiIconKudosCheck {
      position: absolute;
      left: ~"calc(50% - 8px)";
      top: 15px;
    }
  }
  .kudosIconContainerCurrent {
    left: 0;
    top: -3px;
    position: absolute;
    background-color: #578dc9;
    opacity: .2;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border: 1px solid #072648;
    z-index: 1;
  }
  .kudosIconLink {
    padding: 0;
    
    &.absoluteLink {
      position: absolute;
      z-index: 2;
      bottom: 0;
    }
  }
  .kudosIconLinkInvisible {
    position: static;
    visibility: hidden;
  }
}
.kudosPeriodConfiguration > * {
  max-width: 120px;
  display: inline-block;
}
.kudosPeriodTypeInput {
  max-width: 150px;
  display: inline-block;
}
.SendKudosButtonTemplate{
  button {
    width: auto;
  }
  button:hover:before,
  button:focus:before {
    background-color: transparent;
  }
  .uiIconKudos {
    font-size: 18px;
  }
}
.kudosWebNotifContent blockquote p {
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

#KudosAdminApp {
   margin: 10px 11px 0;
}

#KudosAdminApp, #KudosApp {

  .application--wrap {
    min-height: auto;
  }
  .v-autocomplete label {
    z-index: 1002;
  }
  .v-input input {
    margin-bottom: 0;
    border: 0;
    box-shadow: none;
  }
  .v-autocomplete__content {
    position: fixed;
    z-index: 1100 !important;
  }
  .contactAutoComplete {
    position: relative;
  }
  .contactAutoCompleteContent {
    top: 55px !important;
    left: 0 !important;
    position: absolute;
    width: 100%;
    z-index: 1050 !important;

    .v-list {
      padding: 0;
    }

    .v-list__tile {
      height: 30px;
      transition: unset;
      transform: none;
    }

    .v-list__tile:hover {
      background-color: #578dc9;
      color: #fff;
      transition: unset;
      transform: none;
    }

    .v-list__tile__title {
      transition: unset;
      transform: none;
    }

    .v-list__tile__avatar {
      min-width: 25px;
    }
  }
  .autocompleteSelectedItem {
    cursor: pointer;
    margin: 0 3px 3px 0;
    padding: 2px 6px;
    background: #578dc9;
    color: #fff;
    border: 1px solid #215ab2;
    border-radius: 3px;
    font-size: 15px;

    > .v-chip__content {
      height: auto;
      padding: 0;
    }
  }
  .v-card__text {
    box-sizing: border-box;
  }

  .clickable {
    cursor: pointer;
  }
}

/* Override uiPopup !important attributes */
@media (max-width : 1024px) {
  .uiPopup.v-dialog:not(.v-dialog--fullscreen) .v-card__text {
    max-height: calc(100vh - 235px);
    overflow-y: auto;
    overflow-x: hidden;

    > .container {
      max-width: calc(100% - 32px);
    }
  }

  .v-dialog {
    overflow: visible;
    border-radius: 4px;
    transform: translate(0);
    max-width: 100vw !important;
    max-height: 100vh;
    margin: 0;
  }
}