#s5_logo_wrap {margin-top:18px; }
#s5_shape5_logo {display: none;}
.jdGallery .slideElement.active {opacity:.6 !important}

#subMenusContainer div.s5_sub_wrap{
background: #fff none repeat scroll 0 0 !important;
    border: 1px solid transparent !important;
    border-radius: 2px !important;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.25) !important;
    padding: 0px !important;
  }
#subMenusContainer div.s5_sub_wrap ul {border:none;}
#subMenusContainer a {
  display: block;
    font-size: 16px;
    margin-bottom: 0;
    padding: 7px 15px !important;
    text-align: left;
    width: 100%;
    font-weight: 400 !important;
    color: #104cba;
    line-height: 28px;
}
.S5_submenu_item { 
  padding:0px; 
  height:inherit; 
  margin:3px 0px;
  border-radius:4px;     
}
.S5_submenu_item a, .S5_submenu_item, .S5_submenu_item span {  
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}
.S5_submenu_item:hover {border-radius:4px;}
#s5_nav li { }
#s5_nav li a {}

/* Start of zoo changes */

/* Fixing image sizes and centering titles for teasers */
 .cookbook-default-molds .pos-media.media-left img{
  height: 130px !important;
  width: 180px !important;
}
.pos-media.media-left{
  margin: 0px !important;
}
.cookbook-default-molds .teaser-item{
  display: flex;
  flex-direction: column;
  width: auto;
  align-items:center;
  text-align:center;
  align-content:center;
}

/* Styling for Cast Parts */
.item .pos-title{
  font-weight: 500 !important;
  font-size: 28.8px !important;
  margin-bottom: 12px !important;
}
 .ingredients .pos-media.media-right{
  display:flex;
  flex-direction:column;
  width: 40%;
}
.ingredients .pos-media.media-right img{
  object-fit: cover !important;
}
.ingredients .element.element-image.first{
  margin: 0px !important;
}
.ingredients .element.element-textarea.last{
  text-align: center;
}
.item div.pos-header{
  background: none !important;
}


/* download button */
.element.element-download.first.last a,
.element.element-download.first a,
.element.element-download.last a,
.pos-ingredients .element.element-link.first.last a{
  display: inline-block;
  color: #fff !important;
  background-color: #0077C8;
  border: 2px solid #0077C8;
  border-radius: 25px;
  padding: 6px 18px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  margin-bottom: 8px;
  white-space: nowrap;
}


/* fixing centering for mobile */
@media (max-width: 479px){
  .yoo-zoo .row{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .cookbook-default-molds .width33{
    width: 140px !important;
  }
  .cookbook-default-models .width33{
    width: 160px !important;
  }
  .ingredients{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
}

/* Getting rid of arrows and adding in numbered list / bulleted list for ingredients */
.element.element-text.first ul {
  list-style: none;
  padding-left: 0;
}
.element.element-text.first ul li {
  position: relative;
  padding-left: 1.6em !important;
  background: none !important;
}
.element.element-text.first ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #333;
  font-weight: bold;
}
.element.element-text.last ul {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0 ;
}
.element.element-text.last ul li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 1.6em !important;
  background: none !important;
}
.element.element-text.last ul li::before {
  content: counter(step-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #333;
}

/* 3D model page formatting */
.ingredients .pos-media.media-right .element.element-image.first img{
  width: 100% !important;
}
.pos-ingredients .element.element-download.first{
  margin-bottom: 5px;
}
.width33 .teaser-item .pos-title{
  text-align: center !important;
}
 .cookbook-default-models .pos-media.media-left img{
  height: 275px !important;
  width: auto !important;
}
.cookbook-default-models .teaser-item{
  display: flex;
  flex-direction: column;
  width: auto;
  align-items:center;
  text-align:center;
  align-content:center;
}

/* page menu changes */
.zoo-pagination {
  text-align: center;
  padding: 10px 0;
}
.zoo-pagination a,
.zoo-pagination span {
  display: inline-block;
  margin: 3px 6px;
  padding: 4px 8px;
  text-decoration: none;
  color: #0077c8;
  border-radius: 4px;
  background-color: #f8f8f8;
  transition: background-color 0.3s;
}
.zoo-pagination a:hover {
  background-color: #e0f0ff;
}
.zoo-pagination span {
  background-color: #0077c8;
  color: #fff;
  font-weight: bold;
}
.zoo-pagination a.end,
.zoo-pagination a.start {
  display: none;
}

/* fixing dashed lines */
.items .row{
  background-image: none !important;
  border-top: 1px solid #eeee !important; 
}

.items{
  background-image: none !important;
  border-bottom: 1px solid #eeee !important; 
}
.pos-ingredients h3{
  background-image: none !important;
  border-bottom: 1px solid #eeee !important; 
}