/*========== Start Documentation  ==========*/
.yoo-doc-wrap {
  display: flex;

  .yoo-doc-left {
    margin-right: 70px;
    width: 270px;
    flex: none;
  }
}

/*Doc Nav*/
.yoo-doc-header.yoo-style1 {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 280px;
  background: $main-color;
  border-right: 1px solid $base-color4;
}

.yoo-doc-nav-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.yoo-doc-nav-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}

.yoo-doc-nav-list .yoo-doc-dropdown.yoo-doc-active {
  display: block;
}

.yoo-doc-nav-list li {
  margin-bottom: 10px;
  position: relative;
}

.yoo-doc-nav-list a {
  font-size: 14px;
  color: $base-color1;
  font-weight: 500;
  padding: 7px 15px;
  display: block;
  width: 100%;
  line-height: 1.6em;
  border-radius: 4px;
}

.yoo-doc-nav-list ul a {
  padding-left: 30px;
}

.yoo-doc-nav-list a:hover,
.yoo-doc-nav-list a.active {
  background-color: $base-color5;
}

.yoo-doc-nav-list ul ul a {
  padding-left: 40px;
}

.yoo-doc-nav {
  width: 270px;
  display: block;
  position: fixed;
}

.yoo-doc-container {
  padding-left: 310px;
  padding-right: 30px;
}

.yoo-doc-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.yoo-doc-section h2 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 32px;
}

.yoo-doc-section p {
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 22px;
}

.yoo-doc-section p:last-child {
  margin-bottom: 0;
}

.yoo-doc-header .yoo-site-title {
  display: block;
  padding: 28px 20px;
  font-size: 22px;
}

.yoo-doc-has-children {
  position: relative;
}

.yoo-doc-nav .yoo-dropdown-btn {
  position: absolute;
  height: 30px;
  width: 30px;
  right: 0;
  top: 5px;
  margin-right: 5px;
  cursor: pointer;
}

.yoo-doc-nav .yoo-dropdown-btn:before,
.yoo-doc-nav .yoo-dropdown-btn:after {
  content: "";
  position: absolute;
  height: 2px;
  width: 8px;
  background-color: $base-color2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.yoo-doc-nav .yoo-dropdown-btn:after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.yoo-doc-nav .yoo-dropdown-btn.yoo-active:after,
.yoo-doc-nav .yoo-doc-dropdown.yoo-doc-active+.yoo-dropdown-btn:after {
  transform: translate(-50%, -50%) rotate(0deg);
}

// Doc Text Style
.yoo-doc-body h1 {
  font-size: 56px;
  font-weight: 500;
  margin-bottom: 0px;
}

.yoo-doc-subtitle {
  font-size: 21px;
  line-height: 1.6em;
}

.yoo-doc-body h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 0;
}

.yoo-doc-paragraph {
  p {
    font-size: 16px;
    line-height: 1.6em;
    margin-bottom: 5px;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.yoo-doc-nav-dropdown-btn {
  position: absolute;
  height: 20px;
  width: 20px;
  top: 8px;
  right: 5px;
  z-index: 2;
  cursor: pointer;
  transition: all 0.4s ease;
}

.yoo-doc-nav-dropdown-btn:before {
  content: '';
  height: 0px;
  width: 0px;
  position: absolute;
  right: 4px;
  top: 7px;
  z-index: 2;
  cursor: pointer;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid $base-color3;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  pointer-events: none;
}

.yoo-doc-nav-dropdown-btn.active:before {
  transform: rotate(0deg);
}

.yoo-structure-list {
  padding: 0;
  margin: 0;
  list-style: none;

  ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 15px;

    li {
      display: block;
      position: relative;

      &:before {
        content: '|--';
        display: inline-block;
        margin-right: 5px;
      }
    }
  }
}

.yoo-doc-box {
  border: 1px solid $base-color4;
  border-radius: 4px;
  padding: 15px 20px;
}

.yoo-doc-paragraph .yoo-table.yoo-style1.yoo-type1 .table {
  min-width: 100%;
}

@media screen and (max-width: 1450px) {
  .yoo-doc-wrap .yoo-doc-left {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  .yoo-doc-body h1 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 0px;
  }

  .yoo-doc-subtitle {
    font-size: 18px;
  }
}

/*========== End Documentation  ==========*/
