/***
FanThreeSixty Website Nav - 2021 Edish
***/

.nav_bar {
    background: rgba(255, 255, 255, 0.9);
    position: fixed;
        top: 0; left: 0;
    z-index: 1000;
    width: 100%;
    backdrop-filter: blur(3px);
}

.nav_bar-active {
    background: rgba(255, 255, 255, 1);
}

.nav{
    display: flex;
    font-size: 18px;
    flex-direction: column;
    line-height: 24px;
    align-items: flex-start;
    padding: 20px 30px;
}

@keyframes logoBoop {
  0%{
    transform: scale(1);
  }
  25%{
    transform: scale(1.05);
  }
  100%{
    transform: scale(1);
  }
}

.nav-logo{
  height: 24px;
  width: 168px;
}

.nav-logo:hover {
 animation: logoBoop 0.5s; 
}

@media only screen and (min-width: 1024px) {
  .nav-logo{
    height: 30px;
    width: 210px;
  }
}

@media only screen and (min-width: 900px) {
  .nav {
    padding: 20px 50px;
  }
}

@media only screen and (min-width: 1024px) {
  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
  }
    .nav_container {
        padding: 0 50px;
    }
}

.nav-list {
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  display: block;
  margin-top: 0;
}

@media only screen and (min-width: 1024px) {
  .nav-list {
    display: inline-flex;
    justify-content: flex-end;
    align-items: flex-end;
      margin: 0;
  }
}

@media only screen and (max-width: 1023px) {
  .nav-list {
    display: none;
  }
}

@media print {
  .no-print {
    display: none !important; /* Hides elements with the 'no-print' class */
  }

.nav-list-active {
  display: block;
  margin-top: 60px;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 20px 160px 30px;
  height: 100%;
  background: white;
  overflow-y: scroll;
  position: fixed;
}

.nav-list-item {
  list-style-type: none;
  cursor: pointer;
  position: relative;
}

.nav-list-main {
  font-weight: 600;
  padding: 30px 0; /* to match contact height */
  border-bottom: solid 1px #eee;
    text-shadow: 0px 1px 6px rgba(255, 255, 255, 0.6);
}

@media only screen and (min-width: 1024px) {
  .nav-list-main {
    padding: 0 30px 18px 0; /* to match contact height */
    border-bottom: none;
  }
}

.nav-list-main a, .nav-list-main a:active, .nav-list-main a:visited, .nav-list-main a:hover {
  text-decoration: none;
  color: #555;
}

.nav-list-main-selected a, .nav-list-main-selected a:active, .nav-list-main-selected a:visited, .nav-list-main-selected a:hover {
  color: #556ffe
}


.nav-list-dropdown{
  position: relative;
  padding-right: 0;
}

@media only screen and (min-width: 1024px) {
  .nav-list-dropdown{
    padding-right: 50px;  /* 30px + 12px + 8px (caret width and margin) */
  }
}

.nav-list-dropdown:before{
  position: absolute;
  content: '';
  height: 9px;
  width: 12px;
  background: url('data:image/svg+xml;utf8,<svg width="12" height="9" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.41.84L6 5.42 10.59.84 12 2.25l-6 6-6-6L1.41.84z" fill="%23CCCCCC"/></svg>');;
  top: 40px;
  right: 10px;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.2s ease-in;
  margin-left: 8px;
}

@media only screen and (min-width: 1024px) {
  .nav-list-dropdown:before{
    top: calc(50% - 9px);
    right: 30px;
  }
}

@media only screen and (max-width: 1023px) {
  .nav-list-main-active.nav-list-dropdown:before{
    transform: translateY(-50%) rotate(180deg);
  }
}

.nav-list-contact{
  background: #24D4A3;
    box-shadow: 0px 1px 20px #fff;
  color: white;
  padding: 16px 24px;
  border-radius: 100px;
  transform: translateY(0);
  transition: transform 0.2s ease-in;
  position: fixed;
  right: 40px;
  bottom: 20px;
    text-shadow: 0px 1px 6px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;
}
.nav-list-contact:hover {
    box-shadow: 0px 1px 20px #43F2C1;
}

.nav-list-contact a, .nav-list-contact a:visited, .nav-list-contact a:active, .nav-list-contact a:hover{
  color: white;    
}

@media only screen and (min-width: 1024px) {
  .nav-list-contact{
    position: relative;
    right: unset;
    bottom: unset;
  }
}

.nav-list-contact:hover{
  transform: translateY(-2px);
}

.nav-submenu {
  opacity: 0;
  visibility: hidden;
  position: relative;
  display: grid;
  top: 50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  border-radius: 30px;
  transition: all 0.25s ease;
  mix-blend-mode: normal;
  height: 0;
  padding: 0;
    
}

@media only screen and (min-width: 1024px) {
  .nav-submenu {
    position: absolute;
    height: auto;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(#FFFFFF, #f7f8ff);
  }
}

@media only screen and (min-width: 1024px) {
  .nav-list-main-active:after{
    content: "";
    position: absolute;
    bottom: -9px;
    left: -30px; /* was 0 */
    right: 0;
    margin: 0 auto;
    height: 0;
    width: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid white;
    filter: drop-shadow(0px -2px 2px rgb(0 0 0 / 9%));
  }  
}

.nav-submenu-active {
  opacity: 1;
  visibility: visible;
  height: 100%;
}

@media only screen and (min-width: 1024px) {
  .nav-submenu {
    height: auto;
  }
}

.nav-submenu-item {
  list-style-type: none;
    font-size: 16px;
}

.nav-submenu-item-solutions {
  margin-left: 0px;
}

@media only screen and (min-width: 1024px) {
  .nav-submenu-item-solutions {
    margin-left: -20px;
  }
}

.nav-submenu-item-solutions-link {
  padding: 8px 20px;
  border-radius: 13px;
  background: transparent;
  font-size: 14px;
  transition: background 0.2s ease-in;
  display: inline-block;
}

.nav-submenu-item-solutions-link, .nav-submenu-item-solutions-link:active, .nav-submenu-item-solutions-link:hover,.nav-submenu-item-solutions-link:visited{
  color: #555;
  text-decoration: none;
  cursor: pointer;
}

.nav-submenu-item-solutions-link:hover{
  background: #F0F3FF;

}

.nav-submenu-industry {
  grid-gap: 20px;
  padding: 30px;
  grid-template-columns: 1fr;
}

@media only screen and (min-width: 1024px) {
  .nav-submenu-industry {
    grid-template-columns: repeat(2, minmax(max-content, 1fr));
  }
}

/* reverse mobile first since we are checking padding in the JS */
@media only screen and (max-width: 1023px) {
  .nav-submenu-industry {
    padding: 0;
    padding: 0;
    margin-top: -30px;
    margin-bottom: 30px;
    margin-left: -20px;
    box-shadow: none;
    background: transparent;
  }
}

.nav-submenu-item-detail{
  display: grid;
  grid-template-columns: 55px auto;
  padding: 20px;
  border-radius: 13px;
  background: transparent;
  transition: background 0.2s ease-in;
}

.nav-submenu-item-detail:active, .nav-submenu-item-detail:visited, .nav-submenu-item-detail:hover{
  text-decoration: none;
  color: #555;
}

.nav-submenu-item-detail:hover{
  background: #F0F3FF;
}

.nav-submenu-item-detail-image{
  height: 40px;
  width: 40px;
}

.nav-submenu-item-detail-title{
  font-weight: 700;
  font-size: 16px;
}

.nav-submenu-item-detail-description{
  font-weight: 400;
  font-size: 14px;
  color: #999999;
}


.nav-submenu-solutions {
  column-gap: 20px;
  grid-gap: 40px;
  padding: 50px;
  grid-template-columns: 1fr;
  cursor: text;
  margin-left: 15px;
  margin-top: -20px;
  margin-bottom: 20px;
}

.nav-submenu-active.nav-submenu-solutions{
  margin-bottom: 40px;
}

@media only screen and (min-width: 1024px) {
  .nav-submenu-solutions {
    grid-template-columns: repeat(3, minmax(max-content, 1fr));
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    grid-gap: 80px;
  }
}

/* reverse mobile first since we are checking padding in the JS */
@media only screen and (max-width: 1023px) {
  .nav-submenu-solutions {
    padding: 0;
  }
}

.nav-submenu-solutions-heading {
  color: #333;
  font-weight: 700;
  font-size: 14px;
  border-bottom: none;
  display: block;
  margin-bottom: 20px;
  padding-left: 20px;
  position: relative;
}

@media only screen and (min-width: 1024px) {
  .nav-submenu-solutions-heading {
    border-bottom: solid 1px #EEEEEE;
    padding-bottom: 15px;
  }
}

.nav-submenu-solutions-heading:before{
  height: 10px;
  width: 10px;
  border-radius: 10px;
  left: 0px;
  top: 6px;
  content: '';
  position: absolute;
}

.nav-submenu-solutions-heading-products:before{
  background: linear-gradient(218.36deg, #D67DDE 9.92%, #556FFE 91.54%);
}

.nav-submenu-solutions-heading-capabilities:before{
  background: #448AFF;
}

.nav-submenu-solutions-heading-services:before{
  background: #24D4A3;
}

.nav-submenu-solutions-list {
  padding: 0;
  margin-top: -10px;
}

/* Hamburger */
.gh__hamburger{
  position: absolute;
    right: 0; top: 7px;  
  width: 20px;
  height: 11px;
  padding: 1.25rem;
  cursor: pointer;
  display: block;
}

@media only screen and (min-width: 1024px) {
  .gh__hamburger{
    display: none;
  }
}

.gh__hamburger__top, .gh__hamburger__bottom{
  position: absolute;
  background: #555;
  height: 2px;
  width: 20px;
  transform: rotate(0);
  transition: all ease .5s;
  transform-origin: center center;
}

.gh__hamburger__bottom{
  transform: translateY(8px);
}

.gh__hamburger-active .gh__hamburger__top{
  transform: rotate(-45deg);
}

.gh__hamburger-active .gh__hamburger__bottom{
  transform: rotate(45deg);
}