/*******************************
         Site Overrides
*******************************/

html {
    height: 100%;
}
body {
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#copyright-notice {
  font-size: 10px;
}

a:hover {
  border-bottom: 1px solid;
}

.content {
  margin-top: 33px;
}

.ui.main.container.content {
  min-height: 80vh;
}

.status {


  &.header-label {
    text-transform: capitalize;
    color: white;

    &.active {
      background-color: #00B369!important;
    }

    &.pending {
      background-color: #66697A!important;;
    }

    &.invited {
      background-color: #66697A!important;;
    }

    &.suspended {
      background-color: #66697A!important;;
    }

    &.blocked {
      background-color: #E63939!important;;
    }

  }

  &.text {
    text-transform: capitalize;

    &.active {
      color: #00B369;
    }

    &.pending {
      color: #66697A;
    }

    &.invited {
      color: #66697A;
    }

    &.suspended {
      color: #66697A;
    }

    &.blocked {
      color: #E63939;
    }

  }

  &-products-menu {
    position: absolute;
    left: 2px;

    &:before {
      content: "●";
    }

    &.active {
      color: #00B369;
    }
    &.suspended {
      color: #66697A;
    }
    &.invited {
      color: #66697A;
    }
    &.pending {
      color: #66697A;
    }
  }

}


.wave-bg-full {
  position: absolute;
  width: 992px;
  height: 248px;
  left: 40%;
  top: 90px;
  z-index: -1;
}

.header-label-with-icon {
  color: #0E101A;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 20px;

  img {
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    padding-bottom: 2px;
  }

}

.field-errors {
  padding-top: 4px;
  padding-left: 15px;
  padding-right: 15px;
  color: #D92121;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 14px;
}

.ui.container.left-sidebar-layout {
  height: 92%;
}

.left-sidebar {
  background-color: #F2F2F7;
  margin-top: 14px;
  padding: 33px 0!important;
  max-width: 12%;
  min-height: 93vh;

  &-background {
    position: absolute;
    height: 100%;
    top: 0;
    left: -1000px;
    background-color: #F2F2F7;
    width: 1000px;
  }

  .ui.secondary.pointing.menu .header.item.section {
    color: #6F7398!important;
    padding-top: 0;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 15px;
  }

}

.ui.container.footer {
  min-height: 40px;
}

.right-content-wrapper {
  min-width: 88%;

  .ui.container {
    padding-left: 25px;
  }

  .wave-bg-full {
    left: 29%;
    top: 0;
  }
}

.details-header-grid {
  min-height: 63px;
}

.error-wrapper {
  text-align: center;
  padding-top: 20%;

  .error-description {
    margin-top: 27px;
    line-height: 25px;
  }

  .error-back-url {
    line-height: 20px;
    font-weight: bolder;
  }
}


.userinfo-wrapper {
  text-align: center;
  padding-top: 15%;


  .userinfo-description {
    margin-top: 27px;
    line-height: 25px;

    .launch {
      font-size: 18px;
      font-weight: bold;
      letter-spacing: 0;
      line-height: 20px;
    }

  }

  .userinfo-url {
    margin-top: 27px;
    line-height: 25px;
    font-weight: bolder;
  }

  .userinfo-services {
    padding-top: 25px;
    max-width: 700px;
    margin: 0 auto!important;

    .ui.card, .ui.cards>.card {
      width: 200px;
      height: 120px;
      color: black;

      .service-logo {
        height: 100%;
        align-items: center;
        display: flex;
        justify-content: space-around;
        flex-direction: column;

        .service-logo-image {
          max-width: 85%;

          &.core-images, &.core-notifications {
            height: 25px!important;
          }
        }

        .service-logo-image-mobile, .service-logo-name-mobile {
          max-height: 60px;
          display: none;
        }
      }

    }
  }
}

.auth_proxy-wrapper {
  text-align: center;
  padding-top: 20%;

  .auth_proxy-description {
    margin-top: 20px;
    line-height: 25px;
  }

}

.ui.grid>.column:not(.row).accounts, .ui.grid>.row>.column.accounts {
  &-filter-column {

    form {
      display: inline-block;
      width: 100%;
    }

    .ui.input {
      display: inline-block;
      max-width: 180px;
    }

    .ui.input .submittable-select {
      background-color: @white;
      border: none;
    }

    #export-button {
      margin-left: 3px;
    }

  }

}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.admin-settings-subheader {
  padding-top: 6px!important;

  .count-options {
    min-width: 120px!important;
    color: @violet;
    font-size: 10px;
    letter-spacing: 1px;
    line-height: 15px;
    padding-top: 10px;
  }

  .subtitle {
    padding-top: 10px;
  }

  .parent-select {
    max-width: 230px!important;
    padding-right: 0!important;

    .ui.input .submittable-select {
      background-color: @white!important;
    }
  }

}
// spinner

.lds-spinner {
  color: white;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.ui.button.go-top-button {
  display: none;
  position: fixed;
  font-size: 12px;
  bottom: 20px;
  z-index: 99;
  cursor: pointer;
  width: 50px;
  height: 50px;
  color: @pink;
  padding-top: 1rem!important;
  box-shadow: 0 15px 15px #BBBDD4;
  margin-left: 280px;

  i {
    transform: scale(120%, 160%);
  }
}

.ui.button.go-top-button:hover {
  color: @pink;
  box-shadow: 0 15px 15px #BBBDD4;
}

.ui.active.button.go-top-button:active, .ui.button.go-top-button:active {
  color: @pink!important;
  box-shadow: 0 15px 15px #BBBDD4!important;
  -webkit-box-shadow: 0 15px 15px #BBBDD4!important;
}

.affecting-instance-column {
  background-color: #4D5280!important;
  color: white!important;
  margin-left: 15px!important;
  padding: 6px!important;
}

.settings-field.affected .ui.label, .settings-field.children .ui.label {
  background-color: #4D5280!important;
  color: white;
  border-radius: 50px;

  &:hover {
    background-color: #383D66!important;
  }

  a {
    opacity: 1;

    &:hover {
      border-bottom: none;
    }

    .icon {
      margin: 0;
    }
  }
}


@media only screen and (max-width: 768px) {
  .userinfo-wrapper {
    padding-top: 12px;

    .userinfo-description {
      margin-top: 0;
    }

    .userinfo-services {
      padding-top: 25px;
      max-width: 700px;
      margin: 0 auto!important;

      .ui.card, .ui.cards>.card {
        width: 343px;
        height: 80px;
        color: black;
        margin-top: 4px;
        margin-bottom: 4px;

        .service-logo {
          height: 100%;
          justify-content: flex-start;
          align-items: center;
          display: flex;
          flex-direction: row;

          .service-logo-image {
            display: none;
            margin-left: 18px;
          }

          .service-logo-image-mobile, .service-logo-name-mobile {
            display: inline-block;
            margin-left: 18px;
          }

          .service-logo-name-mobile {
            font-size: 16px;
            font-weight: bold;
            letter-spacing: 0;
            line-height: 19px;
          }

        }

      }
    }

    .userinfo-url {
      margin-top: 17px;
    }
  }

  .ui.container.footer {
    display: none!important;
  }

}

.status-tooltip {
  position: relative!important;
  top: 7px;
  height: 20px;
  width: 20px;
}
