
/**
 * Theme overrides
 */

#top {
  background-color: transparent !important;
}

/* Set the default background color for secondary nav to transparent */
.mega .depth-1,
.sf-menu .depth-1 {
  background-color: transparent !important;
}

/* Give the secondary nav layer a bg color of white when when the user is hovering over the parent menu item */
.mega .sfHover .depth-1,
.sf-menu .sfHover .depth-1 {
  background-color: #fff !important;
}

.mega .otherIngredientsHover .depth-1 {
  top: -999em !important;
}

html.sticky-footer body.toolbar-drawer,
html.sticky-footer body.toolbar-drawer .wrapper {
  min-height: 0 !important;
  height: auto !important;
}

#main {
  padding-top: 0 !important;
}

#main .container {
  padding-bottom: 0 !important;
}

#main .block {
  margin: 0;
}

#footer {
  position: fixed !important;
  bottom: 0 !important;
  width: 100% !important;
}

html.sticky-footer #footer {
  height: auto !important;
}

#lm-hp-homepage-container input[type="button"] {
  border: 0;
  font-size: 13px;
  line-height: 16px;
  padding: 3px 11px;
  text-transform: uppercase;
}

#navigation {
  background: #fff;
}

/**
 * Template styles
 */

#lm-hp-homepage-container {
  width: 100%;
  overflow: hidden;
}

#lm-hp-homepage-container p {
  font-size: 15px;
}

#hp_slides {
  height: auto !important;
}

#hp_slides .hp_slide_wrapper {
  position: relative;
  height: 100%;
}

#hp_slides .hp_slide_container {
  display: none;
  position: relative;
  top:125px;
  overflow: hidden;
  height: 100%;
}

#hp_slides .lm_hp_basic_container,
#hp_slides .main-container-2col {
  height: 100%;
}

#hp_slides li {
  width: 100%;
}

#hp_navigation {
  position: absolute;
  right: 5%;
  bottom: 15%;
  z-index: 9999;
}
#hp_navigation a {
  background: #000;
  color: #fff;
  display: block;
  float: left;
  font-size: 13px;
  line-height: 16px;
  margin: 0 0 0 3px;
  outline: none;
  padding: 3px 11px;
  text-decoration: none;
}
#hp_navigation a.active,
#hp_navigation a:active {
  background: #fff;
  color: #000;
}
#hp_navigation a.hover,
#hp_navigation a:hover {
  background: #6F6F6F;
  color: #000;
}

#lm-hp-homepage-container .jcarousel-clip {
  overflow: hidden;
}

/*
 * This overwrites a default style from the elcbase theme that places some margin & padding on li's inside blocks.
 */
.block .jcarousel-list li {
  margin: 0;
  padding: 0;
}

/*
 * Media queries
 */

@media screen and (max-height: 600px) {
  #hp_slides .hp_slide_container {
    top: 0;
  }

  #footer {
    position: static !important;
  }
}

@media screen and (max-width: 768px) and (orientation: portrait) {
  #hp_slides .lm_hp_basic_container .content_center .content,
  #hp_slides .lm_hp_basic_container .content_center .titles {
    position: relative;
    right: 60px;
  }

  #top,
  #footer {
    position: relative;
    bottom: 15px;
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
  #hp_slides li {
    height: 500px;
  }

  #hp_slides {
    height: 2000px;
  }
  
  footer#footer {
    position: fixed !important;
  }
}
