
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


a {
  cursor: pointer;
}

ul {
  list-style: none;
}

.desktop {
  display: none;
}

.menu_shown .menu__icon {
    top: 50px !important;
   
  }

.menu__icon {
  height: 32px;
  width: 43px;
  position: absolute;
  top: 10px;
  right: 0px;
  display: inline-block;
  vertical-align: middle;
  z-index: 20;
}

.menu__icon span {
  display: block;
  width: 40px;
  height: 40px;
  background: url(/wp-content/themes/riverflex-2022/images/Menu-burger.svg) !important;
  margin-top: -2px;
  position: absolute;
  left: 0;
  top: 50%;
}
.menu_shown .menu__icon span{
  width: 40px;
  height: 40px;
  background: url(/wp-content/themes/riverflex-2022/images/Menu-burger-hover.svg) !important;
}
.row.top__news__row {
        background-image: url(/wp-content/uploads/2022/09/Wave.png);
    background-repeat: no-repeat;
    background-size: cover;

    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    color: white;
    font-size: 14px;
    font-family: 'GilroyMedium';
}

a.news-link {
    color: white;
    text-decoration: underline;
}

.menu__icon:before,
.menu__icon:after {
  content: "";
  display: block;
  background: blue;
  width: 100%;
  height: 4px;
  position: absolute;
  left: 0;
  transform-origin: center center;
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

.menu__icon:before {
  top: 2px;
  margin-top: -2px;
}

.menu__icon:after {
  bottom: 2px;
  margin-bottom: -2px;
}

.row.menu__open_logo {
    margin-left: 139px;
    margin-top: -60px;
    margin-bottom: 124px;
}

.menu_shown .menu__icon span {
  background: transparent;
}

.menu_shown .menu__icon:before {
  top: 50%;
  transform: rotate(45deg);
}

.menu_shown .menu__icon:after {
  bottom: 50%;
  transform: rotate(-45deg);
}

.row.menu-main-row {
    margin-left: 138px;
}
 
.fixed-top .menu__icon {
  top: 41px;
}
.menu_shown .container-fluid.cta-above-footer-container {
    z-index: 1 !important;
}
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 680px) {
	  .row.menu__open_logo {
    margin-bottom: 46px;
}
.mobile .menu__item {
    font-size: 30px !important;
    line-height: 26px !important;
}
    .mobile.menu {
       margin-left:0%;
        width: 100% !important;
    }
    
  }
 .menu_shown  a.navbar-brand.light-header-logo {
    display: none;
}
.mobile.menu {
  position: absolute;
  top: 0;
  left:-1px;
  width: 100%;
  min-height: 100vh;
  text-align: left;
  padding-top: 112px;
  background: #1F1740;
  z-index: 10;
  transition: all .0s ease-in-out;
  transform: translateX(-160%);
}

a.menu__item.has__sub__menu__item {
    padding-bottom: 24px !important;
}

.menu_shown .mobile.menu {
  transform: translateX(0);
}

ul.sub-menu {
    padding-bottom: 30px;
}

a.sub_menu__item {
    color: white;
    font-size: 24px;
    font-family: 'GilroyLight';
    line-height: 40px;
}
.mobile .menu__item {
  display: block;
  line-height: 2;
  padding: 0px;
  padding-bottom: 30px;
  color: white;
  font-size: 40px;
  font-family: GilroyMedium;
  line-height: 40px;
}
.video-wrapper{border-top:none !important;}
.navbar-brand {
  position: inherit;
}

.header-row{
  z-index: 20;
}

.new-bar-inner {
  border-bottom: 1px solid #FFFFFF33;
}
.new-bar-inner .col-sm-12{
  padding-bottom: 12px;
}

@media (min-width: map-get($viewport_size, l)) {
  nav {
    padding: 3% 6%;
    background: #7eb4e2;
  }

  .mobile {
    display: none;
  }

  .desktop {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }
}

.menu__icon:before, .menu__icon:after{
  
}