/**
 * Masthead Resetters
 */
#masthead {
  background: transparent;
  margin-bottom: 10px;
}

#masthead #nbdr-menu-toggle,
#masthead .site-branding,
#masthead .secondary-navigation,
#masthead .site-search {
  float: none;
  display: inline-block;
  max-width: 50%;
}
.site-search .widget_product_search form:before {
  width: 0;
}

body.woocommerce-active .site-header {
  padding-bottom: 0;
  border-bottom: 0;
  padding-top: 0;
}

body.woocommerce-active .site-branding {
  float: unset;
}

@media only screen and (min-width: 768px) {
  #masthead {
    margin-bottom: 0;
  }
  #masthead #nbdr-menu-toggle,
  #masthead .site-branding,
  #masthead .secondary-navigation,
  #masthead .site-search {
    float: inherit;
    display: inherit;
    max-width: inherit;
  }

  #masthead #nbdr-menu-toggle {
    display: none;
  }

  body.woocommerce-active .site-header {
    padding-top: 1em;
    padding-bottom: 0.25em;
  }
  body.woocommerce-active .site-branding {
    float: left;
  }
}

/**
 * Logo
 */

.site-header .site-logo-anchor img,
.site-header .site-logo-link img,
.site-header .custom-logo-link img {
  width: auto;
  max-width: none;
  max-height: 36px;
}

@media only screen and (min-width: 768px) {
  .site-header .site-logo-anchor img,
  .site-header .site-logo-link img,
  .site-header .custom-logo-link img {
    width: 100%;
    max-width: 210px;
    max-height: none;
  }
}

#masthead .secondary-navigation,
#masthead .secondary-navigation > div,
#masthead .site-search {
  max-width: 100%;
  width: 100%;
}

/**
 * Masthead Brand
 */

/**
 * Masthead Secondary
 */

#masthead .secondary-navigation {
  margin-bottom: 5px;
}

#masthead .secondary-navigation li {
  max-width: 50%;
  display: inline-block;
}

#masthead .secondary-navigation li.menu-phone-number {
  font-size: 0.75em;
  text-align: left;
  vertical-align: text-bottom;
}

#masthead .secondary-navigation li.menu-item--account {
  margin-left: calc(50% - 30px);
}

@media only screen and (min-width: 768px) {
  #masthead .site-branding {
    width: 21.7391304348%;
    float: left;
    margin-right: 4.347826087%;
  }

  #masthead .secondary-navigation {
    width: 47.8260869565%;
    float: left;
    margin-right: 4.347826087%;
  }

  #masthead .secondary-navigation li {
    max-width: none;
  }

  #masthead .secondary-navigation li.menu-phone-number {
    font-size: var(--font-size-medium);
  }

  #masthead .secondary-navigation li.menu-item--account {
    margin-left: inherit;
  }
}

/**
 * Masthead Site Search
 */


#masthead .site-search input {
  padding: 0.5em 0.5em 0.5em 2em;
}
.site-search .widget_product_search form::before {
  top: 1.15em;
  left: 1.15em;
}
.site-search .widget_product_search form::before {
  top: 1.1em;
  left: 0.75em;
  color: var(--black);
  font-weight: 400;
  font-size: 0.75em;
}
@media only screen and (min-width: 768px) {

  #masthead .site-search {
    width: 21.7391304348%;
    float: right;
    margin-right: 0;
    clear: none;
  }
  #masthead .site-search input {
    padding: 1em 1.41575em;
    padding-left: 2.617924em;
  }
  .site-search .widget_product_search form::before {
    top: 1.15em;
    left: 1.15em;
    font-size: 1em;
  }
}


/**
 * Mobile Menu Toggle
 */
button.menu-toggle {
  cursor: pointer;
  text-align: center;
  background: transparent;
  color: transparent;
  padding: 40px 0 0 0;
  font-size: 0;
  height: 47px;
  width: 30px;
}

button.menu-toggle:hover {
  background-image: none;
}

button.menu-toggle span::before {
  transition: all, ease, .2s;
}

button.menu-toggle::before,
button.menu-toggle::after,
button.menu-toggle span::before {
  content: "";
  background: var(--black);
  display: block;
  height: 3px;
  width: 25px;
  position: absolute;
  margin-top: -3px;
  transition: all, ease, .2s;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

button.menu-toggle::before {
  top: 0;
  transform: translate(-50%, 12px);
}

button.menu-toggle::after {
  top: 100%;
  transform: translate(-50%, -15px);
}


/**
 * Menu
 */

body.woocommerce-active .site-header > div:first-child {
  background: transparent;
}

body.woocommerce-active .site-header > div:last-child {
  background: var(--blue);
}

body.woocommerce-active .secondary-navigation a {
  padding: 7.13px 20px 7.13px 0;
  color: var(--black) !important;
}

@media only screen and (min-width: 768px) {
  body.woocommerce-active .secondary-navigation a {
    padding: 7.13px 20px;
  }
}

body.woocommerce-active .site-search {
  display: block;
  position: relative;
}

.theme-storefront .main-navigation ul.menu > li > a,
.theme-storefront .main-navigation ul.nav-menu > li > a {
  padding: 0.75em 1em !important;
}

body .main-navigation ul.menu ul.sub-menu,
body .main-navigation ul.nav-menu ul.children {
  background-color: var(--blue);
}

body .main-navigation ul li a:hover,
body .main-navigation ul.menu ul a:hover,
body .main-navigation ul.menu ul li:hover > a,
body .main-navigation ul.menu ul li.focus,
body .main-navigation ul.nav-menu ul a:hover,
body .main-navigation ul.nav-menu ul li:hover > a,
body .main-navigation ul.nav-menu ul li.focus {
  background-color: var(--dkblue);
}


/**
 * Secondary Nav
 */

body.woocommerce-active .secondary-navigation,
body.woocommerce-active .secondary-navigation button.menu-toggle {
  float: unset;
  display: block;
  background: transparent;
}

body.woocommerce-active .secondary-navigation ul {
  margin: 0;
}

body.woocommerce-active .secondary-navigation li {
  list-style: none;
}

@media only screen and (min-width: 768px) {
  body.woocommerce-active .secondary-navigation {
    float: left;
  }
}

.secondary-navigation .menu > * {
  vertical-align: top;
}

.secondary-navigation li.menu-item--icon a {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  margin-bottom: 0;
  position: relative;
  display: block;
}

.secondary-navigation li.menu-item--account a {
  background-image: url(https://eadn-wc05-718794.nxedge.io/wp-content/themes/nbdrstorefront/assets/images/svg_account.svg);
}

.secondary-navigation li.menu-item--account:hover a {
  background-image: url(https://eadn-wc05-718794.nxedge.io/wp-content/themes/nbdrstorefront/assets/images/svg_accountred.svg);
}

@media only screen and (min-width: 768px) {
  .secondary-navigation li.menu-item--icon a {
    text-indent: 100%;
  }
}


/**
 * Cart
 */


.site-header-cart .cart-contents {
  display: flex;
  align-content: space-between;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff0d;
  border-style: solid;
  border-color: rgb(255 255 255 / 25%);
  border-width: 0 1px 1px 1px;
  text-align: center;
  padding: 0.3em 0px;
}

.site-header-cart .cart-contents {
}

.site-header-cart .cart-contents:after {
  background-image: url('https://eadn-wc05-718794.nxedge.io/wp-content/themes/nbdrstorefront/assets/images/svg_cartwhite.svg');
  content: '' !important;
  height: 20px;
  width: 33%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.site-header-cart .cart-contents > span,
.site-header-cart .cart-contents > span.woocommerce-Price-amount {
  flex: 1 0;
  margin: 0;
}

.site-header-cart .cart-contents span.dollars {
  font-size: 20px;
}

@media only screen and (min-width: 768px) {
  .site-header-cart .cart-contents {
    padding: 0;
  }

  nav.secondary-navigation {
    margin-top: 10px;
  }

  .site-header-cart .cart-contents > span.woocommerce-Price-amount {
    margin-bottom: -6px;
  }

  .site-header-cart .cart-contents .count {
    text-align: left;
    align-self: end;
  }

  .site-header-cart .cart-contents:after {
    width: 20px;
  }
}


/**
 * Breadcrumbs
 */
body .storefront-breadcrumb {
  background: var(--light-grey);
  border-width: 0 1px;
  margin-bottom: 25px;
  padding: 0.25em;
}

body .storefront-breadcrumb span {
  font-weight: 300;
  font-size: 12px;
}

body .storefront-breadcrumb a {
  color: var(--oblue);
  font-weight: 300;
}

body .storefront-breadcrumb,
body .storefront-breadcrumb span {
  color: var(--grey);
  line-height: 14px;
}

body #breadcrumb_home {
  background-image: url('https://eadn-wc05-718794.nxedge.io/wp-content/themes/nbdrstorefront/assets/images/svg_tooth.svg');
  background-color: transparent;
  display: inline-block;
  background-size: 13px auto;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent;
  width: 14px;
  height: 14px;
  vertical-align: bottom;
}

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

  body .storefront-breadcrumb span {
    font-size: 15px;
  }
  body .storefront-breadcrumb,
  body .storefront-breadcrumb span {
    line-height: 26px;
  }
  body #breadcrumb_home {
    background-size: 16px auto;
    width: 26px;
    height: 26px;
  }

}