fieldset .allproducts__sortby__container {
    display: none;
}
fieldset .allproducts__types__container {
    display: inline-block;
    position: relative;
    right: 0;
    top: 0;
    z-index: 1;
}
main.allproducts__wrapper {
    padding: 0px 0 40px 20px;
}
@media only screen and (max-width: 767px) {
    main.allproducts__wrapper {
        padding: 0px 20px 40px;
    }

  }
.allproducts__filter__wrapper .allproducts__filter{
    padding-top: 0;
}
.allproducts_filter_wrap input[type=radio],
.allproducts__types input[type=radio],
.allproducts__nutritional_claims input[type=radio] {
    -webkit-appearance: auto;
}
fieldset .allproducts__brands>li input{
    display: inline-block;
}
fieldset .allproducts__brands>li>label,
fieldset .allproducts__nutritional_claims label,
fieldset .allproducts__types label {
    display: inline-block;
    margin-bottom: 0;
    width: 100%;
    padding: 3px 0 4px;
    font-size: .8rem;
}
fieldset .allproducts__brands{
    overflow-y: scroll;
}

.allproducts__types label.checkbox_for_radio,
.allproducts__nutritional_claims label.checkbox_for_radio {
    display: block;
}
.allproducts__nutritional_claims__label {
    display: none;
}
.allproducts_filter_wrap label {
    margin: 0;
}
fieldset .brand_search_textbox {
    font-size: 0.8rem;
    border: 1px solid #ccc;
    outline: none;
}
fieldset .brand_search_textbox:focus {
    border-color: #009490;
}
/* TABS AND ACCORDIONS */
  .tab_wrapper {
    margin: 0 0 50px;
    display: inline-block;
    width: 100%;
    position: relative;
  }
  .tab_wrapper * {
    box-sizing: border-box;
  }
  .tab_wrapper > ul {
    clear: both;
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid #ccc;
  }
  .tab_wrapper > ul li {
    float: left;
    cursor: pointer;
    font-weight: 400;
    padding: 8px 18px;
    text-transform: uppercase;
    border: 1px solid #ccc;
    font-size: 1.05em;
    border-bottom: 0;
    position: relative;
    border-top: 3px solid #ccc;
    color: #999;
    margin: 0 5px 0 0;
  }
  .tab_wrapper > ul li.active {
    border-color: #009490;
    color: #009490;
  }
  .tab_wrapper > ul li.active:after {
    content: "";
    position: absolute;
    bottom: -1px;
    height: 1px;
    left: 0;
    background: #fff;
    width: 100%;
  }
  .tab_wrapper .controller {
    display: block;
    overflow: hidden;
    clear: both;
    position: absolute;
    top: 0;
    right: 0;
  }
  .tab_wrapper .controller span {
    padding: 8px 22px;
    background: #009490;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
  }
  .tab_wrapper .controller span.next {
    float: right;
    margin-left: 10px;
  }
  .tab_wrapper .content_wrapper {
    float: left;
    width: 100%;
    border: 1px solid #ccc;
    border-top: 0;
    box-sizing: border-box;
  }
  .tab_wrapper .content_wrapper .tab_content {
    display: none;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0px 4px 8px rgba(128,128,128,0.3);
  }
  @media only screen and (max-width: 767px) {
    .tab_wrapper .content_wrapper .tab_content {
        padding: 20px 0;
    }

  }
  .tab_wrapper .content_wrapper .tab_content .error {
    color: red;
  }
  .tab_wrapper .content_wrapper .accordian_header {
    display: none;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #fff;
    position: relative;
    cursor: pointer;
  }
  .tab_wrapper .content_wrapper .accordian_header.active {
    color: #009490;
    border-bottom: 1px solid #ccc;
  }
  .tab_wrapper .content_wrapper .accordian_header.active:after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 5px;
    height: 100%;
    /* background: #49a4d9; */
  }
  .tab_wrapper .content_wrapper .accordian_header .arrow {
    float: right;
    display: inline-block;
    width: 12px;
    height: 12px;
    position: absolute;
    right: 15px;
    border-radius: 2px;
    transform: rotate(-135deg);
    background: #004e5a;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
                  /* &:after{
                      position: absolute;
                      top: 0;
                      content: "";
                      left: 0;
                      width: 10px;
                      height: 10px;
                      background: $white;
                      border-top: 3px solid $border_color;
                      border-left: 3px solid $border_color;
                  } */
  }
  .tab_wrapper .content_wrapper .accordian_header.active .arrow {
    transform: rotate(45deg);
    margin-top: 6px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
  }
  .tab_wrapper.left_side > ul {
    width: 25%;
    float: left;
    border-bottom: 1px solid #ccc;
  }
  .tab_wrapper.left_side > ul li {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 18px;
    border-width: 1px;
    border-right: 0;
    border-left: 0;
  }
  .tab_wrapper.left_side > ul li:after {
    left: 0;
    top: 0;
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    background: #ccc;
  }
  .tab_wrapper.left_side > ul li.active {
    border-color: #ccc;
  }
  .tab_wrapper.left_side > ul li.active:after {
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: #009490;
  }
  .tab_wrapper.left_side > ul li.active:before {
    right: -1px;
    position: absolute;
    top: 0;
    content: "";
    width: 2px;
    height: 100%;
    background: #fff;
  }
  .tab_wrapper.left_side .content_wrapper {
    width: 75%;
    border: 1px solid #ccc;
    float: left;
  }
  .tab_wrapper.left_side .controller {
    top: -50px;
  }
  .tab_wrapper.right_side > ul {
    width: 25%;
    float: right;
    border-bottom: 1px solid #ccc;
  }
  .tab_wrapper.right_side > ul li {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 18px;
    border-width: 1px;
    border-right: 0;
    border-left: 0;
    text-align: right;
  }
  .tab_wrapper.right_side > ul li:after {
    right: 0;
    left: inherit;
    top: 0;
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    background: #ccc;
  }
  .tab_wrapper.right_side > ul li.active {
    border-color: #ccc;
  }
  .tab_wrapper.right_side > ul li.active:after {
    right: 0;
    left: inherit;
    top: 0;
    width: 5px;
    height: 100%;
    content: "";
    background: #49a4d9;
  }
  .tab_wrapper.right_side > ul li.active:before {
    left: -2px;
    right: inherit;
    position: absolute;
    top: 0;
    content: "";
    width: 2px;
    height: 100%;
    background: #fff;
  }
  .tab_wrapper.right_side .content_wrapper {
    width: 75%;
    float: left;
    border: 1px solid #ccc;
  }
  .tab_wrapper.right_side .controller {
    top: -50px;
  }
  .tab_wrapper.accordion .content_wrapper {
    border: none;
  }
  .tab_wrapper.accordion .content_wrapper .accordian_header {
    display: block;
    padding: 18px 18px 14px;
    text-transform: none;
    /* border-top: 1px solid #fff;
    border-bottom: 2px solid #ccc; */
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    background: #004e5a;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tab_wrapper.accordion > ul {
    display: none;
  }
  .tab_wrapper .active_tab {
    display: none;
    position: relative;
    background: #000000;
    padding: 12px;
    text-align: center;
    padding-right: 50px;
    color: #fff;
    cursor: pointer;
    border-radius: 30px;
  }
  .tab_wrapper .active_tab .arrow {
    width: 30px;
    height: 30px;
    overflow: hidden;
    line-height: 30px;
    text-align: center;
    background: #fff;
    position: absolute;
    right: 6px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
  }
  .tab_wrapper .active_tab .arrow:after {
    content: "";
    width: 10px;
    display: inline-block;
    height: 10px;
    border-right: 3px solid #000;
    border-bottom: 3px solid #000;
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -6px;
    margin-top: -8px;
  }
  .tab_wrapper .active_tab .text {
    text-indent: 39px;
    display: block;
  }
  
  @media only screen and (max-width: 767px) {
    .tab_wrapper > ul {
      display: none;
    }
    .tab_wrapper .content_wrapper {
      border: 0;
    }
    .tab_wrapper .content_wrapper .accordian_header {
      display: block;
    }
    .tab_wrapper.left_side .content_wrapper, .tab_wrapper.right_side .content_wrapper {
      width: 100%;
      border-top: 0;
    }
    .tab_wrapper .controller {
      display: none;
    }
    .tab_wrapper.show-as-dropdown > .tab_list {
      border: 0;
      box-shadow: 0 0 8px #ccc;
      position: absolute;
      z-index: 3;
      background: #fff;
      border-radius: 5px;
      margin-top: 15px;
    }
    .tab_wrapper.show-as-dropdown > .tab_list:before {
      content: "";
      position: absolute;
      top: -6px;
      left: 50%;
      width: 14px;
      height: 14px;
      background: #fff;
      transform: rotate(45deg);
      box-shadow: -3px -4px 5px #efefef;
      margin-left: -7px;
    }
    .tab_wrapper.show-as-dropdown > .tab_list li {
      border: 0;
      border-bottom: 1px solid #ccc;
    }
    .tab_wrapper.show-as-dropdown > .tab_list li.active:after {
      display: none;
    }
    .tab_wrapper.show-as-dropdown .active_tab {
      display: block;
    }
    .tab_wrapper.show-as-dropdown > .tab_list {
      display: none;
    }
    .tab_wrapper.show-as-dropdown > .content_wrapper > .accordian_header {
      display: none;
    }
    .tab_wrapper.show-as-dropdown > .tab_list li {
      display: block;
      float: none;
      width: 100%;
    }
  }
  @media only screen and (min-width: 768px) {
    .tab_wrapper.show-as-dropdown > .tab_list {
      display: block !important;
      overflow: hidden;
    }
  }
/* CUSTOM */
.allproducts__sidebar .tab_1_3 {
    display: none;
}
.allproducts__wrapper .hero{
    margin-top: 0;
    text-align: left;
    padding: 40px;
    margin-bottom: 20px;
}
.allproducts__wrapper .hero h1 {
    font-size: 28px;
    padding: 0 0 20px;
}
.allproducts__wrapper .hero p {
    padding: 0 0 5px;
}
.allproducts__wrapper .hero .hero_statement__readmore,
.allproducts__wrapper .hero.truncate .hero_statement__readmore {
    padding-left: 40px;
    padding-right: 40px;
}
.allproducts__wrapper .hero .hero_statement__readmore .hero_statement__readmore__button{
    padding: 0;
}
.allproducts_top_grid {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}
.allproducts_filter_wrap span {
    color: #019490;
}
.allproducts__thumb__wrapper {
    box-shadow: 0 0 6px rgba(128,128,128,0.4);
}
.allproducts__title__wrapper .allproducts__title{
    text-align: left;
}
.allproducts .allproducts__product{
    min-height: 380px;
    padding: 0;
    margin-bottom: 10px;
}
@media only screen and (max-width: 767px) {
    .allproducts .allproducts__product{
        min-height: 400px;
    }
}
.allproducts__product .allproducts__buttons {
    justify-content: space-between;
}
.allproducts__buttons a.img-tio__enquire__button, 
.allproducts__buttons a.img-tio__enquire__button:active, 
.allproducts__buttons a.img-tio__enquire__button:focus, 
.allproducts__buttons a.img-tio__enquire__button:hover, 
.allproducts__buttons a.img-tio__enquire__button:visited {
    padding: 10px 10px 6px;
    position: relative;
    font-weight: 400;
    font-size: 0.9rem;
    max-width: 59%;
    width: 100%;
    margin: 0;
    text-align: center;
}
.allproducts__buttons a.allproducts__button--view,
.allproducts__buttons a.allproducts__button--view:hover {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 10px 10px 6px;
    height: auto;
    max-width: 39%;
    width: 100%;
    text-align: center;
    text-decoration: none;
}
.tab_content ul.allproducts__categories{
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.allproducts__thumb__wrapper img {
    max-height: 100%;
    max-width: 100%;;
    width: auto;
}
.allproducts__categories .allproducts__category {
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    position: relative;
}
ul.allproducts__subcategories {
    padding: 0;
}
ul.allproducts__subcategories li:first-child {
    margin-top: 0;
}
ul.allproducts__subcategories li:last-child {
    margin-bottom: 20px;
}
.allproducts__categories .allproducts__category:last-child {
    border-bottom: none;
}
.allproducts__categories .allproducts__category>a {
    color: #707372;
    font-size: .8rem;
    font-weight: 400;
    text-decoration: none;
    padding: 14px 0 12px;
    max-width: 90%;
    width: 100%;
}
.allproducts__categories .allproducts__category>a:hover,
.allproducts__categories .allproducts__category>a:focus,
.allproducts__categories .allproducts__category>a:active {
    color: #004e5a;
}
.allproducts__category .allproducts__expander{
    padding: 16px 0px 8px;
    position: absolute;
    right: 0;
    top: 0;    
}
.allproducts__categories .allproducts__category .allproducts__category__active{
    color: #004e5a;
}
.allproducts__all-products-button a, 
.allproducts__all-products-button a:hover, 
.allproducts__all-products-button a:focus, 
.allproducts__all-products-button a:active {
    display: inline-block;
    width: 100%;
    padding: 0 0 10px;
    border-bottom: 1px solid #ccc;
    color: #707372;
    font-size: .8rem;
    font-weight: 400;
    text-decoration: none;
}
.allproducts__all-products-button a.active{
    color: #004e5a;
}
.allproducts__categories .allproducts__category ul li>a {
    font-size: 0.75rem;
    text-decoration: none;
}
.allproducts__button.allproducts__button--more {
    padding: 14px 20px 10px;
    height: auto;
}
/* TABS AND ACCORDIONS */


@media only screen and (max-width: 767px) {
    .allproducts__button__categories button#mobile_categories_menu {
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: space-between;
        padding: 24px 30px 20px;
    }
    button#mobile_categories_menu .chevron {
        left: 0;
        transform: rotate(90deg);
        margin-top: -4px;
    }
}
/* CHEVRON */
.chevron::before {
	border-style: solid;
	border-width: 0.15em 0.15em 0 0;
    border-color: #009490;
	content: '';
	display: inline-block;
	height: 0.50rem;
	left: 0.15em;
	position: relative;
	top: 0.05em;
	transform: rotate(-45deg);
	vertical-align: top;
	width: 0.50rem;
}
.allproducts__expand .chevron:before{
	left: 0;
	transform: rotate(45deg);    
}
.allproducts__collapse .chevron:before{
	top: 0;
	transform: rotate(135deg);    
}
/* CHEVRON */

/* BREADCRUMBS */
.gap {
    padding: 12px;
}
.breadcrumbs-container__alt {
    background-color: #fff;
    padding-top: 16px;
    padding-bottom: 20px;
}
.breadcrumbs-container__alt .breadcrumbs, .breadcrumbs-container__alt .breadcrumbs a{
    color: #707372;
}
.breadcrumbs > span:nth-last-child(2) {
    font-weight: 700;
}
/* BREADCRUMBS */


/* MOBILE MENU */
button.allproducts__button--reset{
    /* display: none; */
    background-color: #707372;
    color: #fff;
    padding: 17px 20px 12px;
    height: auto;
    width: 100%;
    position: inherit;
}
@media only screen and (max-width: 767px) {
    .allproducts .allproducts__overlay--revealed{
        background-color: #fff;
    }
    aside.allproducts__filter__wrapper.allproducts__filter__wrapper--open {
        left: 0;
        right: auto;
        /* padding: 16px 30px 14px 0; */
    }
    aside.allproducts__filter__wrapper{
        left: -260px;
        right: auto;
        padding: 16px 30px 14px 0;
        box-shadow: 0 0 6px rgba(128,128,128,.5);
    }
    .tab_wrapper .content_wrapper .tab_content{
        box-shadow: none;
        padding: 20px 10px;
    }
    .tab_wrapper{
        /* padding-top: 65px; */
    }
    button.allproducts__button--reset {
        padding: 20px 0 14px;
        width: 80%;
        height: auto;
        display: initial;
    }
    button.allproducts__filter__close_btn.allproducts__filter__close_btn--revealed {
        left: 190px;
        z-index: 211;
    }
    button.allproducts__filter__close_btn{
        background-color: #fff;
        border: 1px solid #ccc;
        color: #009490;
        left: -261px;
        padding: 10px;
        align-items: baseline;
        line-height: 1;
        right: auto;
        top: 16px;
        font-size: 30px;
        justify-content: center;
        height: 49px;
        width: 40px;
    }
}