body {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  max-width: 100%;
}

.bg-rtl-gradient {
  background-image: linear-gradient(
    90deg,
    rgb(0, 0, 0),
    rgba(0, 0, 0, 0.25)
  ) !important;
}
.bg-ltr-gradient {
  background-image: linear-gradient(
    270deg,
    rgb(0, 0, 0),
    rgba(0, 0, 0, 0.25)
  ) !important;
}

.portfolio-new {
  display: grid;
  gap: 15px;
  padding: 0 15px;
  width: 100%;
}
.portfolio-new.column-2 {
  grid-template-columns: repeat(2, 1fr);
}
.portfolio-new.column-3 {
  grid-template-columns: repeat(3, 1fr);
}
.portfolio-new.column-4 {
  grid-template-columns: repeat(4, 1fr);
}

.navmenu-wrapper {
  top: 0;
  left: 0;
  background-color: #efefef;
  width: 100%;
  z-index: 100;
}

.mmenu-opener-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 50px;
}
.mmenu-opener-wrapper a {
  display: block;
  color: #333;
  font-size: 18px;
}
.mmenu-opener-wrapper a i {
  width: 16px;
}

.navbar-custom .dropdown-link,
.navbar-custom .menu-link {
  display: flex;
  color: #333;
  font-size: 13px;
  padding: 0.5rem 0;
  align-items: center;
}

.navbar-custom .menu-link {
font-weight: 600;
  text-transform: uppercase;
}
.navbar-custom .dropdown-link.active,
.navbar-custom .menu-link.active {
  color: #6694d6;
}
.faq-area.contact-area table del {
  color: #666666;
}
.navbar-container,
.navbar-custom {
  display: flex;
  width: 100%;
}
.header-bottom-row {
  min-height: 50px;
  position: relative;
}
.navbar-container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.navbar-custom {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
}

a.dropdown-toggler {
    justify-content: space-between;
}
a.dropdown-toggler::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f105";
    display: block;
    font-size: 18px;
    margin: 0 10px;
}
a.opened.dropdown-toggler::after {
    transform: rotate(90deg);
}
.navbar-custom .menu-dropdown {
    position: absolute;
    height: 0;
    transition: opacity 0.15s ease;
    overflow: hidden;
    opacity: 0;
}
.navbar-custom li,
.navbar-custom li a {
  width: 100%;
}
.navbar-custom li a {
  border-bottom: solid 1px #ccc;
}


.dropdown-toggler.opened + .menu-dropdown {
    height: auto;
    opacity: 1;
}
@media only screen and (min-width: 992px) { 
  .navbar-custom .menu-dropdown {
    background-color: #fff;
    width: max-content;
  }
  .navbar-custom .sub-menu {
    left: 100%;
    top: 0;
    box-shadow: 0 5px 50px 0 rgba(0, 0, 0, 0.15);
  }
  .navbar-custom > li > a {
    border-bottom: 0;
    justify-content: center;
  }
  .navbar-custom > li > a.dropdown-toggler::after {
    transform: rotate(90deg);
  }
  .navbar-custom > li > a.dropdown-toggler.opened::after {
    transform: rotate(-90deg);
  }
  .top-level > li > a.dropdown-toggler.opened::after {
    transform: rotate(180deg);
  }
  .menu-dropdown .dropdown-link {
    padding: 0.5rem 0.5rem;
  }
  .menu-dropdown > li {
    padding: 0 0.5rem;
    transition: background 0.15s ease;
  }
  .menu-dropdown > li:hover {
    background-color: #efefef;
  }
  .dropdown-toggler.opened + .menu-dropdown {
    overflow: unset;
  }
}
@media only screen and (max-width: 991px) {
  .portfolio-new.column-3,
  .portfolio-new.column-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .navbar-container {
    position: relative;
    top: 0;
    left: 0;
    height: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior: contain;
    transition: height 0.35s ease;
    justify-content: start;
  }
  .navbar-container.opened {
    height: auto;
    max-height: 60vh;
  }
  .navbar-custom {
    flex-direction: column;
    align-items: start;

  }



  .navbar-custom .menu-dropdown {
    position: relative;
  }
  .navbar-custom .dropdown > .menu-dropdown {
    padding-left: 1rem;
    border-bottom: solid 1px #ccc;
  }
  .navbar-custom .dropdown > .menu-dropdown:last-child {
    border-bottom: 0;
  }
}

@media only screen and (max-width: 768px) {
}

@media only screen and (max-width: 576px) {
  .portfolio-new.column-2,
  .portfolio-new.column-3,
  .portfolio-new.column-4 {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media only screen and (max-width: 360px) {
  .mmenu-opener-wrapper a {
    font-size: 16px;
  }
  .contact-area .contact-items button {
    font-size: 14px;
  }
}
