/* ==== HEADER ==== */

header#header {
    position: sticky;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    height: 50px;
}

header#header.header-background {
    background:#fafafa;
}

.main-navigation-container {
    display: grid;
    grid-gap: 0;
    grid-template-columns: auto 160px;
    align-items: center;
    width: 100vw;
    height: 100%;
}

.checkout-header {
    padding: 20px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.page-header {
    width: 100%;
    padding: 0;
    height:90px;
    position: relative;
    background:#fafafa;
}

.wrapper-top {
    margin-top: 0;
}

.page-header-container {
    display: table;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.page-header .page-header-title {
    display: table-cell;
    vertical-align: middle;
    padding: 0 4vw;
    position: relative;
    z-index: 1;
}

.page-header h2 {
    margin: 0 auto;
    display: block;
}

.account-header h3 {
    margin: 0 auto;
    display: block;
    max-width: 1300px;
}

header#header .row {
    overflow: visible;
    height: 100%;
    position: relative;
}

header#header #logo {
    width: 100%;
    height: 100%;
    display: table;
    padding: 0;
    margin: 0;
    clear: both;
    overflow: hidden;
}

header#header #logo a {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}

header#header #logo a img {
    height: auto;
    width: auto;
    display: block;
    aspect-ratio: 220 / 31;
    max-height: 20px;
}

header#header #site-description {
    display: none;
}

/* Navigation */

header#header nav ul {
    margin: 0;
    padding: 0;
}
header#header nav ul li {
    list-style: none;
}

header#header nav a {
    display: block;
    width: 90%;
    padding: 15px 5%;
    text-align: left;
}

nav#desktop {
    display: none;
}

#top-search-bar {
    position: fixed;
    z-index: 999;
    background: #f4f4f4;
    color: #ffffff;
    top: 0;
    left: 0;
    height: 50px;
    width: 100%;
    transform:translateY(-110%);
    -webkit-transform:translateY(-110%);
    -moz-transform:translateY(-110%);
    opacity: 0;
}

#top-search-bar.show-search-bar {
    transform:translateY(0);
    -webkit-transform:translateY(0);
    -moz-transform:translateY(0);
    opacity: 1;
}

#top-search-bar .search-form {
    height: 100%;
}

#top-search-bar .search-form input[type="search"] {
    color: #101010;
    background:rgba(255,255,255,0.1);
}

.search-form input[type=search] {
    background: 0 0;
    border: none;
    padding: 10px 4vw;
    outline: none;
    display: block;
    -webkit-appearance: none;
}

.search-form input[type=submit] {
    padding: 10px;
    display: block;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    margin: 0;
    vertical-align: middle;
    line-height: 1;
}

.search-container {
    margin: 0;
    display: grid;
    grid-template-columns: auto 80px;
    align-items: center;
    height: 100%;
}

.on-page-search {
    display: grid;
    grid-template-columns: auto 150px;
    align-items: center;
}

#top-search-bar .search-container {
    width: calc(96vw - 50px);
    width: -webkit-calc(96vw - 50px);
    width: -moz-calc(96vw - 50px);
}

#top-search-bar ::-webkit-input-placeholder {
  color: #353535;
}
#top-search-bar ::-moz-placeholder {
  color: #353535;
}
#top-search-bar :-ms-input-placeholder {
  color: #353535;
}
#top-search-bar :-moz-placeholder {
  color: #353535;
}

#close-search-box {
    position: absolute;
    right: 0;
    top: 0;
    padding: 14px;
    cursor: pointer;
}

#close-search-box svg {
    width: 20px;
    height: auto;
    fill: #101010;
}

.header-icon-grid {
    display: grid;
    grid-template-columns: 40px 40px 40px 40px;
    align-items: center;
    z-index: 999;
    text-align: center;
}

.open-search-box {
    display: block;
    cursor: pointer;
}

.open-search-box svg {
    width: 20px;
    height: auto;
    fill: #101010;
}

/*====== MOBILE NAVIGATION ======*/

nav#mobile {
    position: fixed;
    z-index: 990;
    bottom: 0;
    height: calc(100% - 94px);
    height: -webkit-calc(100% - 94px);
    height: -moz-calc(100% - 94px);
    overflow: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    left: 0;
    padding: 10px 0;
    transform: translateY(110%);
    -webkit-transform: translateY(110%);
    -moz-transform: translateY(110%);
    opacity: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

nav#mobile.page-scrolled-down {
    height: calc(100% - 49px);
    height: -webkit-calc(100% - 49px);
    height: -moz-calc(100% - 49px);
}

 nav#mobile::-webkit-scrollbar {
   display: none;
   width: 0;
   background:transparent;
 }

nav#mobile ul {
    margin: 0;
    padding: 0;
}

nav#mobile ul li {
    list-style: none;
    position:relative;
    padding: 0;
}

nav#mobile a {
    display: block;
    width: 100%;
    padding: 19px 5%;
    text-align: left;
    box-sizing: border-box;
    -wekbit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

nav#mobile a.members-link {
    padding: 10px;
    margin: 10px 50px 10px 5%;
    color: #fff;
    max-width: 80%;
}
nav#mobile a.members-link:hover, nav#mobile a.members-link:hover > .fa {
    color: #fff;
}

nav#mobile ul li ul.sub-menu {
    display: none;
    width: 100%;
    background: #202020;
}

nav#mobile ul li .menuArrow {
    top: 0;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 999;
    cursor: pointer;
    position: absolute;
    right: 0;
    font-size: 20px;
    font-weight: bold;
    color: #dddddd;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
}

nav#mobile ul li .menuArrow:hover {
    color: #ffffff;
}

nav#mobile ul li ul.sub-menu li a {
    padding: 15px 6.5%;
    font-size: 14px;
    font-weight: normal;
}

nav#mobile ul li ul.sub-menu li .menuArrow {
    font-size: 15px;
}

nav#mobile ul li ul.sub-menu li ul.sub-menu {
    margin-left: 5%;
}

nav#mobile ul li .menuArrow.rotateArrow {
    transform: rotateZ(90deg);
    -webkit-transform: rotateZ(90deg);
    -moz-transform: rotateZ(90deg);
    border-radius: 100%;
    height: 50px;
}

nav#mobile ul.sub-menu li:last-child {
    border-bottom: none;
}

#seaflora-store-finder-mobile {
    margin: 0;
    text-align: center;
    background: #202020;
}

nav#mobile #seaflora-store-finder-mobile a {
    text-align: center;
    font-size: 24px;
    border-bottom: 1px solid #252525;
}

#seaflora-store-finder-mobile a span.dashicons {
    color: #dddddd;
    font-size: 28px;
    width: auto;
    height: auto;
    vertical-align: middle;
}

@media screen and (min-width: 768px) {

.page-header h2 {
    font-size: 36px;
}
}
@media screen and (min-width: 960px) {

    header#header #logo a img {
        max-height: 31px;
    }

.main-navigation-container {
    grid-template-columns: 300px auto 150px;
}

#top-search-bar .search-container {
    width: 90vw;
}

.search-form input[type=search] {
    padding: 20px 4vw;
    font-size: 22px;
}

.header-icon-grid {
    top: 20px;
    grid-template-columns: 50px 50px 50px;
    right: 20px;
}

.open-search-box {
    padding: 7px;
}

#close-search-box {
    padding: 28px;
}

header#header {
    height: 80px;
}

#top-search-bar {
    height: 80px;
}

header#header #logo {
    width: auto;
    padding: 0;
}

nav#desktop {
    display: flex;
    height: 100%;
    padding: 0;
    align-items: center;
    justify-content: right;
}

header#header nav#desktop ul {
    display: flex;
    height: 100%;
    align-items: center;
}

header#header nav#desktop ul li {
    padding: 0;
    position: relative;
    height:100%;
    display: grid;
    grid-template-columns: 100%;
    align-items: center;
}

header#header nav#desktop ul li.menu-item-has-children {
    padding-right:5px;
}

header#header nav#desktop ul#menu-main li > a:after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 15px;
    content: "";
    width: 0;
    height: 1px;
    background: #101010;
    transition: width 0.6s ease-out;
    -webkit-transition: width 0.6s ease-out;
    -moz-transition: width 0.6s ease-out;
    -ms-transition: width 0.6s ease-out;
}

header#header nav#desktop ul#menu-main li > a:hover:after {
    width: 100%;
}

header#header nav#desktop ul#menu-main li.current-menu-item > a:after {
    width: 100%;
}

header#header nav#desktop ul li a {
    font-size: 11px;
    display: inline-block;
    padding: 10px 5px;
    width: auto;
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    position: relative;
    text-align: center;
}

header#header nav#desktop ul li .menuArrow {
    font-size: 11px;
}

header#header nav#desktop ul li a.members-link {
    padding: 10px;
    margin: 0 50px 0 20px;
    color: #fff;
}
header#header nav#desktop ul li a.members-link:hover, header#header nav#desktop ul li a.members-link:hover > .fa {
    color: #fff;
}

header#header nav#desktop ul li a:hover {
    color: #101010;
}

.header-background nav#desktop ul li a:hover {
    color:#101010;
}

header#header nav#desktop ul.sub-menu {
    position:absolute;
    top: 100%;
    display:block;
    min-width: 250px;
    height: 0;
    z-index:99;
    left: 0;
    padding: 0 10px;
    overflow: hidden;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    transition: all 0.5s linear;
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -ms-transition: all 0.5s linear;
    opacity: 0;
}

header#header nav#desktop ul.sub-menu li {
    display:block;
    width: 100%;
    position: relative;
    padding: 0;
}

header#header nav#desktop ul.sub-menu li a {
    padding: 10px 5%;
    width: 100%;
    text-align: left;
    line-height: 1.5;
}

}

@media screen and (min-width: 1075px) {

header#header nav#desktop ul li a {
    font-size: 14px;
    padding: 21px 7px;
}

header#header nav#desktop ul li .menuArrow {
    font-size: 14px;
}

}


@media screen and (min-width: 1400px) {

    .page-header-container {
        max-width: 1500px;
    }

}
