/*******************************
         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;
  min-height: 18px;
}

.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-mobile, .service-logo-name-mobile {
          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;
}

.count-options {
  color: @violet;
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 15px;
}

// 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 {
  padding-top: 18px!important;
  .ui.label {
    background-color: #4D5280!important;
    color: white;
  }
}

.settings-field.affected .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;
    }
  }
}



#source-editor {
  width: 100%;
  height: 450px;
  border: 1px solid #DCDCDC;

  .acediff__wrap {
    position: relative;
  }
}
#source-errors {
  padding-left: 0;
}
#context-editor {
  width: 100%;
  height: 200px;
  border: 1px solid #DCDCDC;

  .acediff__wrap {
    position: relative;
  }
}
#context-errors {
  padding-left: 0;
}
#images-list {
  width: 100%;
  height: 214px;
  border: 1px solid #DCDCDC;
  margin-top: 0;
  padding: 10px;
  overflow: scroll;

  .content {
    display: flex;
    align-items: center;

    .filename {
      width: 230px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      margin-right: 5px;
    }

    a:hover {
      border-bottom: none;
    }
  }

  .image-wrapper {
    height: 40px;
    width: 40px;
    overflow: hidden;

    img {
      height: 40px!important;
    }
  }

}
#images-list-panel {
  display: flex;
  justify-content: space-between;

  a:hover {
    border: none;
    cursor: pointer;
  }

  .menu .item {
    width: 370px;
  }

}
#preview {
  width: 100%;
  height: 300px;
  border: 1px solid #DCDCDC;
}

.image-segment .image-preview {
  max-width: 100%;
}

.expandable-wrapper {
  background-color: @white;

  .expandable-header {
    height: 17.5px;
    display: flex;
    justify-content: space-between;

    .aligned-header-item {
      width: 30%;
      &.left {
        text-align: left;
      }
      &.middle {
        text-align: center;
      }
      &.right {
        text-align: right;
      }
    }

    .icon {
      color: #019cfe;
      cursor: pointer;
      pointer-events: auto;
      font-size: 14px;

      &.compress {
        display: none;
      }
    }
  }

  &.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 100vh!important;
    padding-top: 3px;

    .expandable-header {
      .icon {
        &.expand {
          display: none;
        }
        &.compress {
          display: unset;
        }
      }
    }

    label {
      margin-left: 3px;
    }

    .field-errors {
      margin-left: 3px;
    }

    #source-editor, #context-editor {
      height: calc(100% - 40px);
    }
    #preview {
      height: calc(100% - 20px);
    }
  }
}


[data-tooltip]:hover:after {
    white-space: normal;
    word-break: break-word;
    width: 200px;
}
