.footer-area {
  padding:75px 0 55px;

}
.footer-area p {
  margin-top:0;
}
.f-top-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
}
.smobile{
  display:none;
}
.footer-nav {
  max-width: calc(100% - 290px);
  width: 100%;
}
.footer-nav .hs-menu-wrapper.hs-menu-flow-horizontal > ul {
  display: flex;
  justify-content: space-between;
}
.footer-nav ul > li.hs-menu-depth-1 {
  width: calc(100% / 5);
  margin-right: 0;
}
.hs-menu-wrapper.flyouts .hs-item-has-children {
  line-height: 0 !important;
}
.footer-nav ul li.hs-menu-item.hs-menu-depth-1.hs-item-has-children > a {
  color:#323548;
  margin-bottom: 26px;
  text-decoration: none;
  font-weight:700;
  line-height: 100%;
}
.footer-nav ul li ul.hs-menu-children-wrapper {
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
}
.footer-nav ul li ul li.hs-menu-item.hs-menu-depth-2 {
  margin-bottom: 23px;
  line-height: 0 !important;
}
.footer-nav .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a {
  display: inline-block;
  padding: 0;
  white-space: normal;
  max-width: inherit;
  width: auto !important;
  font-size: 11px !important;
  color:#323548;
  text-decoration: none;
  text-transform: capitalize;
  font-weight:400;
}
.footer-nav .hs-menu-wrapper.hs-menu-flow-horizontal > ul li a:hover {
  color:#00B1CD;
}
.footer-nav ul li ul li.hs-menu-item.hs-menu-depth-2.active.active-branch {
  background: none;
}
.reach3-box {
  max-width: 290px;
  background: #000000;
  border-radius: 15px;
  text-align: center;
  padding: 31px 19px 27px;
}
.reach3-logo {
  display: inline-flex;
  margin-bottom:15px;
}
.reach3-box p {
  font-size: 11px !important;
  line-height: 1.45;
  text-align: center;
  color:#FFFFFF;
  margin: 0 0 16px;
  font-weight:400;
}
.reach3-box p:last-child {
  margin-bottom:0px;
}
.reach3-box p a {
  text-align: center;
  display: block;
  color:#00B1CD;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
}
.reach3-box p a:hover,
.reach3-box p a:focus {
  color: #fff;
}

.f-bottom-row {
  display: flex;
  align-items: flex-end;
  margin:-18px 0 0;
}
.f-logo-area.sm {
  display:none;
}
.f-logo-area {
  display: flex;
  align-items: flex-end;
  max-width: 422px;
}
.f-logo-col {
  margin-right: 30px;
  width: 100%;
  max-width: 100px;
}
.f-about-text p {
  font-size: 11px !important;
  color:#323548;
  line-height: 1.5;
}
.f-about-text .f-address {
  font-size: 12px !important;
  color:#323548;
  margin-bottom: 15px;
  font-weight:700;
}
.f-about-text p:last-child {
  margin-bottom: 0;
  font-weight:400;
}
.f-copyright-area {
  text-align: center;
  padding: 0 72px 0 56px;
}
.f-media {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}
.f-media a {
  display: inline-flex;
  justify-content: center;
  border: 1px solid #323548;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 10px;
  transition: .3s ease-in-out;
  margin-right: 10px;
  align-items: center;
}
.f-media svg {
  width: 10px;
  fill: #323548;
  transition: .3s ease-in-out;
}
footer.footer-area a.link:after, a:after {
  display: none;
}
.f-media a:hover {
  transform: scale(1.2);
  border: 1px solid #323548;
}
.f-media a:hover svg {
  width: 12px;
}
.f-media.smobile{
  display: none;
}
.copyright-text p,
.copyright-text p a {
  font-size: 11px !important;
  color:#323548;
  line-height:100%;
}
.copyright-text a {
  text-decoration: none;
  white-space: nowrap;
  text-transform: capitalize;
}

.copyright-text a:hover {
  color:#4A90E2;
}
.copyright-text p:last-child {
  margin-bottom: 0;
}
.bottom-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  width: 100%;
  max-width:300px;
}
.bottom-logos a {
  margin-left: 20px;
  text-decoration: none;
  border: unset;
}
}
.footer-nav .hs-menu-wrapper.flyouts .hs-menu-children-wrapper{
  display:block !important;
}
.footer-nav li.hs-menu-item.hs-menu-depth-1.hs-item-has-children button{
  display:none;
}
.copyright-text p a {
  font-weight: 400;
}
@media screen and (max-width: 1305px) {
  .f-top-row{
    margin-bottom: 38px;
  }
}
@media screen and (max-width: 1174px) and (min-width: 768px) {
  .footer-area .hs-menu-wrapper.hs-menu-flow-horizontal>ul li a {
    padding: 0px!important;
  }
}


@media screen and (max-width: 1153px) {
  .footer-nav .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1 {
    margin-right: 20px !important;
  }
  .bottom-logos a {
    display: inline-block;
    margin-bottom: 10px;
  }
}


@media screen and (max-width: 991px) {
  .footer-nav .hs-menu-wrapper.hs-menu-flow-horizontal>ul{
    display: flex;
    justify-content: unset;
  }
  .footer-nav .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1 {
    margin-right: 0px !important;
  }
  .smobile{
    display:block;
  }
  .footer-area {
    padding: 40px 0 40px;
  }
  .f-top-row {
    flex-direction: column;
    align-items: center;
    margin-bottom:45px;
  }
  .f-logo-col {
    margin: 0 auto 30px;
  }
  .f-logo-area.sm {
    display: block;
    margin-bottom: 71px;
    text-align: center;
  }
  .footer-nav {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .f-bottom-row {
    align-items: center;
    flex-direction: column;
  }

  .f-logo-area.lg {
    display: none;
  }
  .f-copyright-area {
    margin-bottom: 30px;
  }
  .bottom-logos {
    margin: 0 auto;
  }
}


@media screen and (max-width: 767px) {
  .footer-nav {
    max-width:100%;
  }
  .footer-nav ul > li.hs-menu-depth-1 {
    width:100%;
  }
  .footer-nav .hs-menu-wrapper.hs-menu-flow-horizontal>ul {
    flex-direction: column;
  }
  .footer-nav .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1 {
    margin-right: 0px!important;
    margin-bottom:32px;
    max-width: 201px;
    width: 100%;
  }
  .footer-nav ul li ul li.hs-menu-item.hs-menu-depth-2 a {
    font-size: 9px !important;
  }
  .footer-nav li.hs-menu-item.hs-menu-depth-1.hs-item-has-children button {
    position: absolute;
    top: 2px;
    right: 7px;
    border: 0;
    font-size: 0;
    height: 17px;
    width: 18px;
    padding: 0;
    background: url(https://www.rivaltech.com/hubfs/rival-technologies/down-arrow.png) no-repeat center;
    background-size: 8px 5px;
  }
  .footer-nav li.hs-menu-item.hs-menu-depth-1.hs-item-has-children button.active {
    transform: rotate(180deg);
  }
  .f-logo-area.sm {
    max-width: 100%;
  }
  .f-copyright-area {
    padding: 0;
  }
  .f-media {
    margin-bottom: 20px;
  }
  .copyright-text p {
  }
  .copyright-text p span {
    order: 3;
    max-width:254px;
    margin:0 auto;
    font-size: 10px;
    line-height:100%;
    font-weight: 400;
  }
  .copyright-text p a {
    margin: 0 0 13px;
    font-weight: 400;
    font-size: 10px !important;
  }
  .f-media.smobile {
    display: block;
  }
  .footer-nav .hs-menu-wrapper.flyouts .hs-menu-children-wrapper{
    display:block !important;
  }
  .footer-nav li.hs-menu-item.hs-menu-depth-1.hs-item-has-children button{
    display:none;
  }
  .f-top-row {
    align-items: center;
    flex-direction: column;
    margin-bottom: 45px;
    padding: 0 43px;
  }
  .copyright-text {
    padding: 0 88px;
  }

}

@media(max-width: 500px){
  .footer-nav .hs-menu-wrapper.hs-menu-flow-horizontal>ul li.hs-menu-depth-1 {
    width: 100%;
  }
  .copyright-text {
    padding: 0;
    max-width: 285px;
  }
}