/*navbar-default*/
.logo-wrapper {
  .site-title {
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    font-family: var(--heading-font);
  }
}

.navbar-nav {
  padding-right: 20px;
  ul {
    margin: 0;
    padding: 0;
    list-style: none;

    li {
      color: #fff;
      font-size: 14px;
      line-height: 70px;
      display: inline-block;

      + {
        li {
          margin-left: 20px;
        }
      }
    }
  }
}

.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-default {
    margin-top: 20px;
  .custom-container {
    position: relative;
    .navbar-nav {
      ul {
        width: 100%;

        li {

          &.current_page_item {
            a {
              color: var(--main-color-one);
            }
          }

          &.page_item_has_children {
            position: relative;
            //z-index: 1;
            padding-right: 15px;

            &:before {
              position: absolute;
              right: 0;
              top: 50%;
              content: '+';
              font-weight: 700;
              font-size: 14px;
              font-family: var(--body-font);
              @include transform(translateY(-50%));
              @include transition($transition);
            }

            &:hover > .children {
              visibility: visible;
              opacity: 1;
            }

            .children {
              position: absolute;
              text-align: left;
              min-width: 260px;
              margin: 0;
              padding: 0;
              list-style: none;
              left: 0;
              top: 100%;
              box-shadow: 0 0 15px 0 rgba(#000, .05);
              background-color: $white;
              z-index: 9;
              border-bottom: 1px solid var(--main-color-one);
              visibility: hidden;
              opacity: 0;
              @include transition($transition);

              li {
                display: block;
                margin-left: 0;
                line-height: 22px;
                font-size: 14px;

                + li {
                  border-top: 1px solid rgba(17, 17, 17, .5);

                }

                a {
                  display: block;
                  padding: 12px 17px;
                  background-color: #fff;
                  white-space: nowrap;
                  color: var(--paragraph-color);
                  @include transition($transition);

                  &:hover {
                    background-color: var(--main-color-one);
                    color: #fff;
                  }

                  &:before {
                    display: none;
                  }
                }
              }

              .page_item_has_children {
                position: relative;
                z-index: 0;
                padding-right: 0px;

                &:before {
                  position: absolute;
                  right: 15px;
                  top: 50%;
                  content: '+';
                  font-family: 'Font Awesome 5 Free';
                  @include transform(translateY(-50%));
                }

                > .children {
                  left: -250px;
                  top: 10px;
                  margin-bottom: 0;

                  .children {
                    .children {
                      left: auto;
                      right: 100%;
                    }
                  }
                }

                &:hover > .children {
                  visibility: visible;
                  opacity: 1;

                  li {
                    &:hover {
                      &:before {
                        color: $white;
                      }
                    }

                    a {
                    }
                  }
                }
              }
            }
          }

          a {
            @include transition($transition);
          }

          &:hover {
            > a {
              color: var(--main-color-one);

              &:before {
                width: 100%;
              }
            }
          }
        }
      }
    }

    .navbar-collapse {
      .navbar-nav {
        text-align: right;

        li {
          &:before {
            color: #fff;
          }

          a {
            transition: all 0.3s ease-in;
            color: var(--heading-color);
            display: block;

            &:hover {
              color: var(--main-color-one);
            }
          }
        }

        li.menu-item-has-children {
          position: relative;
          z-index: 0;
          padding-right: 17px;
          &:after {
            content: "+";
            position: absolute;
            right: 1px;
            top: 40px;
            transform: translateY(-50%);
            transition: all 0.3s ease-in;
            z-index: -1;
            font-family: "Font Awesome 5 Free"; 
            font-weight: 900;
          }
          &:hover {
            &:before {
                color: var(--main-color-one);
            }
            &:after {
                color: var(--main-color-one);
            }
          }
          .sub-menu {
            li {
              a {
                color: var(--heading-color);
                font-weight: 500;
                &:hover {
                  color: var(--main-color-one);
                }
              }

              &:hover {
                &:before {
                  color: #fff;
                }

                > .sub-menu {
                  li {
                    &:hover {
                      a {
                        color: var(--main-color-one);
                      }
                    }
                  }
                }
              }

              &:before {
                color: #fff;
                right: 20px;
              }
            }
          }
        }

        li.current-menu-item {
          a {
            color: var(--main-color-one);
          }
        }
      }
    }
  }
}

.navbar-area {
  .custom-container {
    .navbar-collapse {
      .navbar-nav {
        li.menu-item-has-children {
          .sub-menu {
            li {
              &:before {
                right: 15px;
              }
            }
          }
        }
      }
    }
  }
}

@media only screen and (max-width: 991px) {
  .navbar-area {
    .custom-container {
      position: relative;
      z-index: 0;
      min-height: 80px;
      padding: 40px 10px;

      .responsive-mobile-menu {
        display: block;
        position: relative;
        width: 100%;

        .navbar-toggler {
          position: absolute;
          right: 0;
          top: 50%;
          @include transform(translateY(-50%));
          outline: none;
        }
      }

      .navbar-brand {
        display: block;

        .navbar-toggler {
          position: absolute;
          right: 10px;
          border: 1px solid rgba(17, 17, 17, .5);
        }
      }

      .navbar-nav {
        width: 100%;
        display: none;

        &.show {
          display: block;
        }

        ul {
          display: block;
          margin-top: 40px;

          li {
            display: block;
            text-align: left;
            line-height: 30px;
            padding: 10px 0;
            border-bottom: 1px solid rgba(#111, .2);

            &:last-child {
              border-bottom: none;
            }

            + li {
              margin-left: 0;
            }

            &.page_item_has_children {
              &:before {
                top: 25px;
                right: 20px;
              }

              &:hover {

                > .children {
                  visibility: visible;
                  height: auto;
                  opacity: 1;
                  background-color: transparent;
                  border-bottom: none;
                  margin-top: 10px;
                }
              }

              .children {
                position: initial;
                display: block;
                width: 100%;
                border-top: none;
                box-shadow: none;
                margin-left: 0;
                padding-bottom: 0;
                visibility: hidden;
                opacity: 0;
                height: 0;
                overflow: hidden;
                max-height: 235px;
                overflow-y: scroll;
                @include transition(height 500ms);

                .children .page_item_has_children:before {
                  content: "\f067";
                }

                li {
                  &.page_item_has_children {
                    &:hover {
                      &:before {
                        color: $white;
                      }
                    }
                  }

                  padding: 0;

                  + li {
                    border-top: none;
                  }

                  &:first-child {
                    border-top: 1px solid rgba(0, 0, 0, .2);
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

@media all and (max-width: 991px) {
  .navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-default {
    padding: 0;

    .custom-container {
      .responsive-mobile-menu {
        .navbar-toggler {
          background-image: none;
        }
      }

      .navbar-collapse {
        .navbar-nav {
          background-color: #f7f7f7;
          padding: 0 18px !important;
          li {
            border-color: #e9e9e9;
            &.current-menu-item {
              a {
                color: var(--heading-color);
              }
            }

            &.menu-item-has-children {
              &:before {
                color: var(--heading-color);
              }

              li {
                a {
                  background-color: var(--main-color-one);
                  color: var(--heading-color);
                  padding-left: 20px;
                }
              }

              .sub-menu {
                li {
                  &:hover {
                    > .sub-menu {
                      li {
                        a {
                          background-color: #f7f7f7;
                          color: var(--heading-color);
                        }
                      }
                    }
                  }
                }
              }
            }

            a {
              color: var(--heading-color);
              padding-left: 0;

              &:hover {
                color: var(--heading-color);
              }
            }

            &.menu-item-has-children {
              padding-right: 0;

              .sub-menu {
                li {
                  a {
                    color: var(--heading-color);
                    background-color: #f7f7f7;

                    &:hover {
                      color: #fff;
                    }
                  }

                  &:first-child {
                    border-top: 1px solid #e9e9e9;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  .navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-default .custom-container .navbar-collapse .navbar-nav li.menu-item-has-children:before,
  .navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-default .custom-container .navbar-collapse .navbar-nav li.menu-item-has-children:after {
      top: 25px;
  }
  .navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-default .custom-container .navbar-collapse .navbar-nav li.menu-item-has-children .sub-menu li:before {
    z-index: 2;
    right: 6px;
    top: 23px;
  }
  .navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-default .custom-container .navbar-collapse .navbar-nav li.menu-item-has-children .sub-menu li:after {
    z-index: 2;
    top: 23px;
  }
}

.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-style-02, 
.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-style-02 .custom-container {
    background-color: #F1F1F1 !important;
}
.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-style-02 .custom-container .navbar-collapse .navbar-nav {
    text-align: left;
}
.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-style-02 .custom-container .navbar-collapse .navbar-nav > li a, 
.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-style-02 .custom-container .navbar-collapse .navbar-nav > li.menu-item-has-children:before {
    color: #19352D !important;
}
.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-style-02 {
    padding: 8px 0;
}

.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-style-03, 
.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-style-03 .custom-container {
    background-color: transparent !important;
    border-radius: 100px;
}
.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-style-03 .custom-container .navbar-collapse .navbar-nav > li a, 
.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-style-03 .custom-container .navbar-collapse .navbar-nav > li.menu-item-has-children:before {
    color: #19352D !important;
}
.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-style-03 {
    padding: 8px 0;
    border-bottom: 0;
}
.navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-default .custom-container .navbar-collapse .navbar-nav li.menu-item-has-children .sub-menu li.menu-item-has-children:after {
    right: 2px;
    top: 23px;
}

@media all and (min-width: 1200px) {
  .navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-default .custom-container .navbar-collapse .navbar-nav li.menu-item-has-children:after {
    display: none;
  }
  .navbar.navbar-area.navbar-expand-lg.navigation-style-01.navbar-default .custom-container .navbar-collapse .navbar-nav li.menu-item-has-children {
    padding-right: 0;
  }
}
.menu-set-up {
    .boxed-btn {
        height: 55px;
        line-height: 55px;
        background: var(--main-color-one);
        border-radius: 6px;
        padding: 0 25px;
        font-weight: 600;
        color: #fff;
        &:hover {
            background: var(--heading-color);
            border-color: var(--heading-color);
        }
    }
}
.position-navbar {
  position: absolute;
  width: 100%;
  background: #fff;
}

.menu-set-up {
  .btn {
    padding: 18px 28px;
  }
}

