@import "def";
.label-count {
  position: absolute;
  top: 15px;
  right: -2px;
  font-size: 10px;
  line-height: 15px;
  @include themify($themes) {
    background-color: themed("label-count-bg");
    color: themed("label-count");
  }
  padding: 0 4px;
  border-radius: 0.1875rem;
}

.server-time {
  cursor: help !important;
}

#navbar {
  @include themify($themes) {
    background-color: themed("navbg");
  }
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  .navbar-brand {
    margin-right: 3rem;
  }

  @media screen and (max-width: 991px) {
    padding-left: 0px;
    ul {
      width: 110%;
      li {
        padding-left: 20px;
      }
    }

    &.navbar-light .navbar-toggler {
      margin: 13px;
    }

    &.navbar-light .navbar-toggler-icon {
      background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }
  }
}

#navbar2 {
  width: auto;
  left: auto;
  @media screen and (max-width: 991px) {
    margin-left: 75px;
  }
}

h4[data-toggle] {
  cursor: pointer;
}

.navbar {
  padding-top: 0px;
  padding-bottom: 0px;
  &.bg-light {
    background-color: #fff !important;
  }
}

.navbar-brand {
  @media screen and (max-width: 1399px) {
    display: none;
  }
  img {
    @media screen and (min-width: 1200px) {
      height: 35px;
    }
    @media screen and (min-width: 1850px) {
      height: 55px;
    }
  }
}

.navbar-nav {
  a {
    cursor: pointer;
  }
  .notifications {
    width: 53px;
    a {
      padding-left: 8px;
      padding-right: 22px;
    }

    span.label-count {
      right: 8px;
    }
  }

  .icon-stack {
    display: inline-block;
    transform: translateY(-30px);

    .icon-cirk_bg {
      transform: translateX(0%);
    }
  }

  & > li > a {
    padding: 0px 15px;
    line-height: 65px;
  }

  & > li > a i {
    font-size: 20px;
  }

  &.mr-auto {
    .nav-link {
      @include themify($themes) {
        color: themed("menucolor") !important;
      }

      @media screen and (min-width: 1024px) {
        padding-left: 10px !important;
        padding-right: 10px !important;
        white-space: nowrap;
        font-size: 13px;
      }

      @media screen and (min-width: 1850px) {
        padding-left: 32px !important;
        padding-right: 32px !important;
        font-size: 1rem;
      }

      transition: all 0.4s;

      &:hover {
        @include themify($themes) {
          color: themed("txtcolor100") !important;
        }
      }
    }
  }

  .nav-adjust {
    @media screen and (min-width: 1024px) {
      padding-left: 10px !important;
      padding-right: 10px !important;
      white-space: nowrap;
      font-size: 13px;
    }

    @media screen and (min-width: 1600px) {
      padding-left: 32px !important;
      padding-right: 32px !important;
      font-size: 1rem;
    }
  }

  li {
    transition: all 0.4s;

    &.no-hover {
      a {
        cursor: default;
      }

      &:hover {
        background-color: transparent !important;
      }
    }

    &:hover,
    &.active {
      @include themify($themes) {
        background-color: themed("menuhover");
      }
    }
  }

  .spacer {
    @media screen and (min-width: 1024px) {
      width: 50px;
    }
    @media screen and (min-width: 1400px) {
      width: 75px;
    }
  }

  .spacebefore {
    padding-left: 30px;
  }

  .spaceafter {
    padding-right: 30px;
    @media screen and (min-width: 1024px) {
      padding-right: 10px;
    }
    @media screen and (min-width: 1400px) {
      padding-right: 30px;
    }
  }

  .dropdown-menu {
    @include themify($themes) {
      /*font-size: themed('bodysize'); */
      font-size: 13px;
      line-height: 14px;
      background-color: themed("cardbg");
      color: themed("txtcolor100");
    }
    margin-right: -140px;

    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    border: none;

    a {
      @include themify($themes) {
        color: themed("txtcolor100");
      }
      transition: all 0.4s;
    }

    .dropdownscrollarea {
      max-height: 305px;
      overflow-y: scroll;

      h4 {
        min-width: 400px;
        font-size: 16px;
        padding: 10px 0 0 25px;
        cursor: pointer;
        @include themify($themes) {
          border-top: 1px solid themed("txtcolor3");
        }

        &:first-of-type {
          border: none;
          padding-top: 3px;
        }
      }
    }

    table {
      margin-bottom: 10px;

      tr {
        transition: all 0.4s;

        a {
          @include themify($themes) {
            color: themed("txtcolor100");
          }
          padding-right: 1rem;
        }

        &:hover {
          @include themify($themes) {
            background-color: themed("menudropitemhover");
          }
        }

        &:hover a {
          text-decoration: none;
          @include themify($themes) {
            color: themed("txtcolor100");
          }
        }

        td {
          white-space: nowrap;
          padding: 5px 0px;
          &:first-child {
            padding-left: 18px;
          }
          &:last-child {
            padding-right: 10px;
          }
        }
      }
    }
  }

  .dropdown-toggle::after {
    display: none;
  }

  .dropdownheader {
    i {
      padding-right: 1.5rem;
      font-size: 24px;
    }

    p {
      @include themify($themes) {
        font-size: themed("bodysize");
      }
      margin: 0;
      font-weight: 400;
      padding-left: 1.5rem;
      white-space: nowrap;
    }
  }
}

.dropdown.unitlocks {
  .dropdownscrollarea {
    h4 {
      min-width: 280px;
    }
    table {
      width: 100%;
    }
  }
}

.parklock {
  margin-bottom: 0 !important;

  h4 {
    padding-left: 5px !important;
  }

  i.icon-unlock {
    transform: translate(-8px, 2px);
    display: inline-block;
    cursor: pointer;
  }
}

.lockstatus {
  text-align: right;
  i {
    transform: translate(-8px, 2px);
    display: inline-block;
    cursor: pointer;

    .icon-lock {
    }

    .icon-unlock {
    }
  }
}

.btn-toggle {
  margin: 0 4rem;
  padding: 0;
  position: relative;
  border: none;
  height: 1.5rem;
  width: 3rem;
  border-radius: 1.5rem;
  color: #6b7381;

  @include themify($themes) {
    background: themed("txtcolor3") !important;
  }
}
.btn-toggle:focus,
.btn-toggle.focus,
.btn-toggle:focus.active,
.btn-toggle.focus.active {
  outline: none;
}
.btn-toggle:before,
.btn-toggle:after {
  line-height: 1.5rem;
  width: 4rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  bottom: 0;
  transition: opacity 0.25s;
}
.btn-toggle:before {
  content: "Off";
  left: -4rem;
}
.btn-toggle:after {
  content: "On";
  right: -4rem;
  opacity: 0.5;
}
.btn-toggle > .handle {
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 1.125rem;
  background: #fff;
  transition: left 0.25s;
}
.btn-toggle.active {
  transition: background-color 0.25s;
}
.btn-toggle.active > .handle {
  left: 1.6875rem;
  transition: left 0.25s;
}
.btn-toggle.active:before {
  opacity: 0.5;
}
.btn-toggle.active:after {
  opacity: 1;
}

.btn-toggle.btn-sm.btn-xs:before,
.btn-toggle.btn-sm.btn-xs:after {
  display: none;
}
.btn-toggle.btn-xs {
  margin: 0 0;
  padding: 0;
  position: relative;
  border: none;
  height: 1rem;
  width: 2rem;
  border-radius: 1rem;
}
.btn-toggle.btn-xs:focus,
.btn-toggle.btn-xs.focus,
.btn-toggle.btn-xs:focus.active,
.btn-toggle.btn-xs.focus.active {
  outline: none;
}
.btn-toggle.btn-xs:before,
.btn-toggle.btn-xs:after {
  line-height: 1rem;
  width: 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: absolute;
  bottom: 0;
  transition: opacity 0.25s;
}
.btn-toggle.btn-xs:before {
  content: "Off";
  left: 0;
}
.btn-toggle.btn-xs:after {
  content: "On";
  right: 0;
  opacity: 0.5;
}
.btn-toggle.btn-xs > .handle {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
  transition: left 0.25s;
}
.btn-toggle.btn-xs.active {
  transition: background-color 0.25s;
}
.btn-toggle.btn-xs.active > .handle {
  left: 1.125rem;
  transition: left 0.25s;
}
.btn-toggle.btn-xs.active:before {
  opacity: 0.5;
}
.btn-toggle.btn-xs.active:after {
  opacity: 1;
}
.btn-toggle.btn-xs.btn-sm:before,
.btn-toggle.btn-xs.btn-sm:after {
  line-height: -1rem;
  color: #fff;
  letter-spacing: 0.75px;
  left: 0.275rem;
  width: 1.55rem;
}
.btn-toggle.btn-xs.btn-sm:before {
  text-align: right;
}
.btn-toggle.btn-xs.btn-sm:after {
  text-align: left;
  opacity: 0;
}
.btn-toggle.btn-xs.btn-sm.active:before {
  opacity: 0;
}
.btn-toggle.btn-xs.btn-sm.active:after {
  opacity: 1;
}
.btn-toggle.btn-xs.btn-xs:before,
.btn-toggle.btn-xs.btn-xs:after {
  display: none;
}

.btn-toggle:before,
.btn-toggle:after {
  color: #6b7381;
}
.btn-toggle.active {
  background-color: #00c90f !important;
}

.savebutton {
  display: inline-block;
  position: relative;
  transition: padding-right 0.3s ease;

  &.spinning {
    padding-right: 40px!important;
  }

  &.spinning:after {
    content: "";
    right: 6px;
    top: 50%;
    width: 0;
    height: 0;
    position: absolute;
    border-radius: 50%;
    -webkit-animation: rotate360 0.5s infinite linear, exist 0.1s forwards ease;
    animation: rotate360 0.5s infinite linear, exist 0.1s forwards ease;
  }

  &.spinning:before {
    content: "";
    width: 0px;
    height: 0px;
    border-radius: 50%;
    right: 6px;
    top: 50%;
    position: absolute;
    border: 2px solid #000000;
    border-right: 3px solid #27ae60;
    -webkit-animation: rotate360 0.5s infinite linear, exist 0.1s forwards ease;
    animation: rotate360 0.5s infinite linear, exist 0.1s forwards ease;
  }
}

@-webkit-keyframes rotate360 {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotate360 {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes exist {
  100% {
    width: 15px;
    height: 15px;
    margin: -8px 5px 0 0;
  }
}
@keyframes exist {
  100% {
    width: 15px;
    height: 15px;
    margin: -8px 5px 0 0;
  }
}
body {
  background: #212121;
}
