.ftb-all menu,
.ftb-all ul.menu li {
    list-style-type: none;
}
.ftb-all ul.menu li {
    padding-right: .5em;
}
/*foundation default overrides:*/

.dropdown.menu a {
    background:none;
    padding: 0.7rem 1rem;
}

.menu .active > a {
    background: none;
    /*color: #fff;*/
}
.is-dropdown-submenu.first-sub {
    /*padding-top: 1em !important;*/
}
ul.menu.ul-first-level > li.is-dropdown-submenu-parent {
    /*padding-bottom: 200px;*/
}
/* # ~~~~~ Preventing FOUC  ~~~~~ # */

@media only screen and (min-width: 640px) {
    /*nav.top-bar,*/
    /*div.top-bar,*/
    .title-bar,
    .title-bar-title{
        display: none;
    }
}
.no-js .top-bar{
    display: none;
}
@media screen and (min-width: 40em) {
    .no-js .top-bar {
        display: block;
    }
    .no-js .title-bar {
        display: none;
    }
    .top-bar {
        padding: 0;
    }
    .top-bar > .menu {
        padding: .5rem;
    }
    [data-responsive-menu] ul {
        display: none;
    }
}

/* # ~~~~~ helpers  ~~~~~ # */
nav.top-bar .menu.w100 {
    width: 100%;
}
.top-bar.topbar-no-bg {
    background: none;
}
/*
#+++++++++++++++++++++++++++++++++++++++++++++++++++++
# Theme Transparent:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
/* # ~~~~~ Desktop ~~~~~ # */
@media screen and (min-width: 40em) {
    .tr .ftb-all,
    .tr .ftb-all > ul {
        background: none !important;
    }

    .tr ul.menu > li > a {
        color: #fff;
    }

    .tr ul.menu > li > a:hover,
    .tr ul.menu > li > a:active {
        color: #ddd;
    }

    .tr ul.menu .is-active > a,
    .tr ul.menu > .active > a {
        color: #ddd;
        /*background: rgba(255,255,255, 0.1);*/
        background: inherit;
    }

    .tr ul.menu .is-dropdown-submenu a {
        color: #000;
    }

    .tr ul.menu .is-dropdown-submenu a:hover {
        color: #999;
    }

    .tr ul.menu .is-dropdown-submenu {
        background: rgba(255, 255, 255, 0.8);
        /*border: none*/
    }
    /* # ~~~~~ arrows desktop ~~~~~ # */
    .tr .dropdown.menu>li.is-dropdown-submenu-parent>a::after {
        border:none;
        font-family: "Font Awesome 5 Pro";
        content: "\f107";
        margin-top: -10px;
        right: 10px;
    }
    .tr .dropdown.menu .submenu li.opens-right>a::after {
        border:none;
        font-family: "Font Awesome 5 Pro";
        content: "\f105";
        top: 20px;
    }
}

/* # ~~~~~ mobile ~~~~~ # */
@media screen and (max-width: 40em) {
    .tr .top-bar {
        background: rgba(0,0,0, 0.5);
    }
    .tr .menu-icon {
        width: 20px;
        height: 16px;
    }
    .tr .menu-icon::after {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 2px;
        background: #fefefe;
        -webkit-box-shadow: 0 7px 0 #fefefe, 0 14px 0 #fefefe;
        box-shadow: 0 7px 0 #fefefe, 0 14px 0 #fefefe;
        content: '';
    }
    .tr .menu-icon:hover::after {
        background: #cacaca;
        -webkit-box-shadow: 0 7px 0 #cacaca, 0 14px 0 #cacaca;
        box-shadow: 0 7px 0 #cacaca, 0 14px 0 #cacaca; }
}

/*
#+++++++++++++++++++++++++++++++++++++++++++++++++++++
# Theme Transparent black on white:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
/* # ~~~~~ Desktop ~~~~~ # */
@media screen and (min-width: 40em) {
    .tr-bow .ftb-all,
    .tr-bow .ftb-all > ul {
        background: none !important;
    }

    .tr-bow ul.menu > li > a {
        color: #111;
        font-weight: bold;
        padding-right: .8em !important;
    }

    .tr-bow ul.menu > li > a:hover,
    .tr-bow ul.menu > li > a:active {
        color: #4BB58C;
        background: none;
    }

    .tr-bow ul.menu .is-active > a,
    .tr-bow ul.menu > .active > a {
        color: #4BB58C;
        background: rgba(255,255,255, 0.6);
        background: none;
    }

    .tr-bow ul.menu .is-dropdown-submenu a {
        color: #111;
    }

    .tr-bow ul.menu .is-dropdown-submenu a:hover {
        color: #4BB58C;
    }
    .tr-bow ul.menu .is-dropdown-submenu li {
        background: rgba(255, 255, 255, 0.7);
        /*background: #ddd;*/
        /*border: none*/
    }
    .tr-bow ul.menu>li>.is-dropdown-submenu {
        background: none !important;
        border: none !important;
        padding-top: 1em;
        /*border: none*/
    }
    .tr-bow ul.menu li ul li .is-dropdown-submenu {
        padding-top: 0;
        /*border: none*/
    }
    /* # ~~~~~ arrows desktop ~~~~~ # */
    .tr-bow .dropdown.menu>li.is-dropdown-submenu-parent>a::after {
        border:none;
        font-family: "Font Awesome 5 Pro";
        content: "\f107";
        margin-top: -8px;
        right: 10px;
    }
    .tr-bow .dropdown.menu .submenu li.opens-right>a::after {
        border:none;
        font-family: "Font Awesome 5 Pro";
        content: "\f105";
        top: 20px;
    }
    .tr-bow .dropdown.menu .submenu li.opens-left>a::after {
        border:none;
        font-family: "Font Awesome 5 Pro";
        content: "\f104";
        top: 20px;
    }
}

/*
#+++++++++++++++++++++++++++++++++++++++++++++++++++++
# Theme Transparent black on white with gradient:
#+++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
/* # ~~~~~ Desktop ~~~~~ # */
@media screen and (min-width: 40em) {
    .tr-grey-grad .ftb-all,
    .tr-grey-grad .ftb-all > ul {
        background: none !important;
    }

    .tr-grey-grad ul.menu > li > a {
        color: #333;
        font-weight: normal;
        padding-right: .8em !important;
    }

    .tr-grey-grad ul.menu > li > a:hover,
    .tr-grey-grad ul.menu > li > a:active {
        color: #890F2D;
        background: none;
    }

    .tr-grey-grad ul.menu .is-active > a,
    .tr-grey-grad ul.menu > .active > a {
        color: #890F2D;
        background: inherit;
    }

    .tr-grey-grad ul.menu .is-dropdown-submenu a {
        color: #333;
    }

    .tr-grey-grad ul.menu .is-dropdown-submenu a:hover {
        color: #890F2D;
    }
    .tr-grey-grad ul.menu .is-dropdown-submenu li {
        background: #fff;
    }
    .tr-grey-grad ul.menu .is-dropdown-submenu li:hover {
        background: #f5f5f5;
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y1ZjVmNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlMGUwZTAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(top,  #f5f5f5 0%, #e0e0e0 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e0e0e0));
        background: -webkit-linear-gradient(top,  #f5f5f5 0%,#e0e0e0 100%);
        background: -o-linear-gradient(top,  #f5f5f5 0%,#e0e0e0 100%);
        background: -ms-linear-gradient(top,  #f5f5f5 0%,#e0e0e0 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e0e0e0',GradientType=0 );
    }
    .tr-grey-grad ul.menu>li>.is-dropdown-submenu {
        background: none !important;
        border: none !important;
        padding-top: 1em;
        /*border: none*/
    }
    .tr-grey-grad ul.menu li ul li .is-dropdown-submenu {
        padding-top: 0;
        /*border: none*/
    }
    /* # ~~~~~ arrows desktop ~~~~~ # */
    .tr-grey-grad .dropdown.menu>li.is-dropdown-submenu-parent>a::after {
        border:none;
        font-family: "Font Awesome 5 Pro";
        content: "\f107";
        margin-top: -8px;
        right: 10px;
    }
    .tr-grey-grad .dropdown.menu .submenu li.opens-right>a::after {
        border:none;
        font-family: "Font Awesome 5 Pro";
        content: "\f105";
        top: 20px;
    }
    .tr-grey-grad .dropdown.menu .submenu li.opens-left>a::after {
        border:none;
        font-family: "Font Awesome 5 Pro";
        content: "\f104";
        top: 20px;
    }
}
/* # ~~~~~ mobile ~~~~~ # */
@media screen and (max-width: 40em) {
    .tr-bow .top-bar {
        background: rgba(0,0,0, 0.5);
    }
    .tr-bow .menu-icon {
        width: 20px;
        height: 16px;
    }
    .tr-bow .menu-icon::after {
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 2px;
        background: #fefefe;
        -webkit-box-shadow: 0 7px 0 #fefefe, 0 14px 0 #fefefe;
        box-shadow: 0 7px 0 #fefefe, 0 14px 0 #fefefe;
        content: '';
    }
    .tr-bow .menu-icon:hover::after {
        background: #cacaca;
        -webkit-box-shadow: 0 7px 0 #cacaca, 0 14px 0 #cacaca;
        box-shadow: 0 7px 0 #cacaca, 0 14px 0 #cacaca; }
}

/*
#+++++++++++++++++++++++++++++++++++++++++++++++++++++
# Theme Light white on opacity black with accordion tr-light
#+++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
/* # ~~~~~ Desktop ~~~~~ # */
@media screen and (min-width: 40em) {
    .tr-light .ftb-all,
    .tr-light .ftb-all > ul {
        background: none;
    }
    .tr-light ul.menu > li > a {
        color: #000;
        /*font-weight: bold;*/
        padding-right: .8em !important;
    }
    .blayout-pagets__heroimage_pure .tr-light ul.menu > li > a {
        color: #fff;
        /*font-weight: bold;*/
        padding-right: .8em !important;
    }

    .tr-light ul.menu > li > a:hover,
    .tr-light-bow ul.menu > li > a:active {
        color: #74AE00;
    }
    .tr-light ul.menu .is-active > a,
    .tr-light ul.menu > .active > a {
        color: #74AE00;
        background: none;
    }
    .tr-light ul.menu .is-dropdown-submenu li {
        background: rgba(0, 0, 0, 0.4);
        /*background: #ddd;*/
        /*border: none*/
    }
    .tr-light ul.menu .is-dropdown-submenu li a{
        color: #fff;
    }
    .tr-light ul.menu>li>.is-dropdown-submenu {
        background: none;
        border: none;
    }
    .blayout-pagets__heroimage_pure .tr-light ul.menu>li>.is-dropdown-submenu {
        padding-top: .4em;
        /*border: none*/
    }
    .blayout-pagets__heroimage_pure .tr-light ul.menu li ul li .is-dropdown-submenu {
        padding-top: 0;
        /*border: none*/
    }
    /* # ~~~~~ arrows desktop ~~~~~ # */
    .tr-light .dropdown.menu > li.is-dropdown-submenu-parent > a::after {
        border: none;
        font-family: "Font Awesome 5 Pro";
        content: "\f107";
        content: "\f0d7";
        font-weight: 900;
        font-size: 15px;
        margin-top: -8px;
        right: 10px;
    }

    .tr-light .dropdown.menu .submenu li.opens-left > a::after {
        border: none;
        font-family: "Font Awesome 5 Pro";
        content: "\f104";
        content: "\f0d9";
        font-size: 15px;
        top: 20px;
        font-weight: 900;
    }
}
/*
#+++++++++++++++++++++++++++++++++++++++++++++++++++++
# Megamenu
#+++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
.is-mega {
    position: relative;
}
.mega-menu {

}
.mega-menu .dropdown-pane {
    width: 100% !important;
    /*max-width: 85rem;*/
    margin: 0 auto !important;
    left: 0% !important;
    right: 0% !important;
    position: absolute;
    top: inherit !important;
}
.mega-menu > a{
    position: relative; 
}
.mega-menu > a span {
    display: block;
    padding-right: 20px;
    /*background: #fff;*/
}
.mega-menu .menu {
    background: none;
}
.mega-menu > a::after {
    display: block;
    width: 0;
    height: 0;
    border: inset 6px;
    content: '';
    border-bottom-width: 0;
    border-top-style: solid;
    border-color: #1779ba transparent transparent;
    right: 5px;
    left: auto;
    position: absolute;
    top: 50%;
    left: auto;
    margin-top: -2px;
}

.mega-menu > .dropdown-pane{
    padding: 0;
}
.mega-menu > .dropdown-pane > a {
    display: none;
    visibility: hidden;
}

.dropdown.menu .dropdown-pane a {
    padding: 0;
}

/* # ~~~~~ drilldown fix ~~~~~ # */
.ftb-all .is-drilldown{
    /*overflow-y:visible !important;*/
    /*height: auto !important;*/
    display: flex;
    width: 100vw;
}
.is-drilldown .menu.align-center li {
    display: block ;
}
.ftb-all .accordion-menu {
    /*overflow-y:visible !important;*/
    height: auto !important;
    display: flex;
    width: 100vw;
}

/* # ~~~~~ presets: ~~~~~ #

    .dropdown.menu.medium-horizontal>li.is-dropdown-submenu-parent>a::after {
        display: block;
        width: 0;
        height: 0;
        border: inset 6px;
        content: '';
        border-bottom-width: 0;
        border-top-style: solid;
        border-color: #1779ba transparent transparent;
        right: 5px;
        left: auto;
        margin-top: -3px;
    }
    .dropdown.menu.vertical > li.opens-right > a::after {
  display: block;
  width: 0;
  height: 0;
  border: inset 6px;
  content: '';
  border-right-width: 0;
  border-left-style: solid;
  border-color: transparent transparent transparent #1779ba; }
*/
