//  =================
//      Imports
//  =================

@import '../../base/base';    // Base Variables

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .helpdesk:before {
    background-image: none;
  }
}

.helpdesk .navbar {
  .navbar-brand {
    color: #fff;
    font-weight: 800;
    letter-spacing: 2px;
  }

  .nav-link {
    color: #fff !important;
  }
}

/*
	Helpdesk Header Wrapper
*/

.hd-header-wrapper {
  padding: 67px 0;
  border-radius: 4px;

  h4 {
    font-size: 46px;
    padding: 0 8px;
  }

  p {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 35px;
  }

  .input-group {
    -webkit-box-shadow: 0 10px 30px 0 rgba(31, 45, 61, 0.1);
    box-shadow: 0 10px 30px 0 rgba(31, 45, 61, 0.1);
  }

  span.input-group-text {
    background-color: #fff;
    border-color: #fff;
    padding: 11px 8px 11px 20px;
    border-radius: 4px;
    font-size: 22px;
    font-weight: normal !important;

    svg {
      font-weight: 600;
      color: $primary;
    }
  }

  .form-control:focus {
    box-shadow: none;
    border-color: $primary;
    color: $dark;
    background: $m-color_1;
  }

  input {
    border: none;
    border-radius: 4px;
    padding: 20px 16px;
    color: $m-color_10;
    height: 100%;
  }
}

.input-group .input-group-prepend .input-group-text {
  border: 1px solid #ffffff;
  background-color: #ffffff;
}

/*
	Tab Section
*/

/* 	Tab Content 	*/

.hd-tab-section .accordion .card {
  border: none;
  margin-bottom: 26px;
  -webkit-box-shadow: 2px 5px 17px 0 rgba(31, 45, 61, 0.1);
  box-shadow: 2px 5px 17px 0 rgba(31, 45, 61, 0.1);
  border-radius: 12px !important;
  cursor: pointer;

  .card-header {
    background-color: #fff;
    color: $dark;
    border-color: transparent;
    padding: 0;
    border-radius: 6px;

    div > div {
      padding: 13px 21px;
      cursor: pointer;
      background: transparent;
      border: none;
      overflow: hidden;
      white-space: nowrap;
      font-size: 13px;
      color: $dark;
      font-weight: 700;

      svg {
        width: 17px;
        vertical-align: middle;
        margin-right: 11px;
        color: $m-color_6;
      }

      &[aria-expanded="true"] svg {
        color: $primary;
      }
    }
  }

  &:hover .card-header div > div svg {
    color: $primary;
  }

  &:not(:last-child) .card-header div > div {
    border-bottom: none;
  }

  .card-body {
    padding: 20px 30px;

    p {
      line-height: 2.2;
      font-size: 14px;
      letter-spacing: 1px;
      color: $m-color_10;
    }
  }
}

/*  Contact Content     */

.hd-contact-section {
  margin-bottom: 50px;

  .hd-slide-header {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 50px;
    color: $dark;
  }
}

.carousel-item.community-help {
  padding: 13px;
}

.carousel-item-content {
  max-width: 607px;
  max-width: 697px;
  margin: 0 auto;
  padding: 43px 0;
  height: 331px;
}

/*  Community help     */

.hd-contact-section {
  .community-help .media {
    padding: 13px 25px;
    border: 1px solid $m-color_4;
    border-radius: 12px;
    background: #fff;

    svg {
      width: 54px;
      height: 55px;
      margin-right: 11px;
      align-self: center;
      color: $primary;
      stroke-width: 1.5px;
    }

    h5 {
      color: $primary;
      font-weight: 800;
      font-size: 17px;
      margin-bottom: 5px;
    }

    p {
      font-size: 14px;
      font-weight: 600;
      color: $dark;
    }
  }

  .news-updates .media {
    padding: 13px 25px;
    border: 1px solid $m-color_4;
    border-radius: 12px;
    background: #fff;

    svg {
      width: 54px;
      height: 55px;
      margin-right: 11px;
      color: $primary;
      stroke-width: 1.5px;
    }

    h5 {
      color: $primary;
      font-weight: 800;
      margin-bottom: 0;
    }

    p {
      font-size: 14px;
      font-weight: 600;
    }
  }
}

/*  News updates     */

/*  Carousel indicators    */

.carousel-indicators {
  bottom: -34px;
  left: 0;
  right: 0;
  height: 22px;

  li {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 1;
    background-color: $m-color_6;

    &.active {
      background-color: $primary;
    }
  }
}

.carousel-control-next, .carousel-control-prev {
  opacity: 1;
  background: $m-color_20;
}

.carousel-control-prev-icon {
  background-image: none;
  -webkit-box-shadow: 2px 5px 17px 0 rgba(31, 45, 61, 0.1);
  box-shadow: 0px 0px 19px 3px rgba(31, 45, 61, 0.1);
  padding: 9px;
  height: 33px;
  width: 33px;
  position: relative;
  border-radius: 50px;

  svg {
    color: $primary;
    position: absolute;
    top: 4px;
    left: -1px;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 23px;
  }

  &:before {
    display: none;
  }
}

.carousel-control-next-icon {
  background-image: none;
  -webkit-box-shadow: 2px 5px 17px 0 rgba(31, 45, 61, 0.1);
  box-shadow: 0px 0px 19px 3px rgba(31, 45, 61, 0.1);
  padding: 9px;
  height: 33px;
  width: 33px;
  position: relative;
  border-radius: 50px;

  svg {
    color: $primary;
    position: absolute;
    top: 4px;
    left: 0;
    right: -2px;
    margin-left: auto;
    margin-right: auto;
    width: 23px;
  }

  &:before {
    display: none;
  }
}

/*
    Mini Footer Wrapper
*/

#miniFooterWrapper {
  color: #fff;
  font-size: 14px;
  border-top: solid 1px #ffffff;
  padding: 14px;
  -webkit-box-shadow: 0px -1px 20px 0 rgba(31, 45, 61, 0.1);
  box-shadow: 0px -1px 20px 0 rgba(31, 45, 61, 0.1);

  .arrow {
    background-color: $primary;
    border-radius: 50%;
    position: absolute;
    z-index: 2;
    top: -33px;
    width: 40px;
    height: 40px;
    box-shadow: 0px 0px 15px 1px rgba(113, 106, 202, 0.2);
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    cursor: pointer;

    p {
      align-self: center;
      margin-bottom: 0;
      color: #fff;
      font-weight: 600;
      font-size: 15px;
      letter-spacing: 1px;
    }
  }

  .copyright a {
    color: $primary;
    font-weight: 700;
    text-decoration: none;
  }
}

@media (max-width: 1199px) {
  .carousel-control-next, .carousel-control-prev {
    background: transparent;
  }
}

@media (max-width: 991px) {
  .carousel-control-next, .carousel-control-prev {
    display: none;
  }
}

@media (max-width: 767px) {
  .hd-contact-section .community-help .media {
    margin-bottom: 3px;
  }
}

@media (max-width: 575px) {
  .carousel-item-content {
    height: auto;
  }
}