.util_links { -webkit-text-size-adjust: 100%; }
footer { z-index: 1; }
nav#ddfullscreenmenu ul li a, nav#ddfullscreenmenu ul li.breadcrumb { font-size: 1.23rem !important; }

#fullscreenmenu-ul1 .clear { margin-top:6px;border-top: 1px solid lightgray; }

.left.Result { margin-left: 0px;left: 0 !important;width: 100%;padding-left: 0; }

.list-products.moulding-landing li { max-height: unset !important; }/*need to change in style.css for (max-width: 736px)*/

.list-products.gallery-landing li, .list-products li:not(.item-line) { max-height: unset !important;max-width: unset !important;padding:0;margin:0;width: 26% !important; }/*need to change in style.css for (max-width: 736px)*/

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    .list-products.gallery-landing li:not(.empty-fake) { max-height: unset !important;max-width: unset !important;width:49% !important;padding:0;margin:0; }/*need to change in style.css for (max-width: 736px)*/
    .list-products li:not(.empty-fake) { max-height: unset !important;max-width: unset !important;width:49% !important;padding:0;margin:0; }/*need to change in style.css for (max-width: 736px)*/
    .list-products.supplies-landing li { width:100% !important; }
    .list-products.searching.supplies-landing li:not(.item-line) { width:49% !important; }
    .list-products.matboard-landing li{ width:100% !important; }
    .list-products.searching.matboard-landing li:not(.item-line) { width:49% !important; }
    .list-products.glazing-landing li { width:100% !important; }
    .list-products.searching.glazing-landing li:not(.item-line) { width:49% !important; }
    .list-products.foamboard-landing li { width:100% !important; }
    .list-products.searching.foamboard-landing li:not(.item-line){ width:49% !important; }
    #full_width li{
        width :100% !important;
    }
}

.list-products li.empty-fake.buttons { width: 100% !important; }

/*.list-products.gird-item.searching li img{ 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}*/



.list-products li img { margin-top:0; } /*need to change in style.css for (max-width: 736px)*/

.list-products.gird-item.gallery-landing li img:not(.list-products.gird-item.gallery-landing.moulding-landing li img) { max-width: 96%;max-height: 100%; }
.overlay,.text{height:100% !important;}

/*.list-products.gird-item.gallery-landing.moulding-landing .p_img { min-height: 132px; }*/

.list-products.searching.supplies-landing li .p_img, .list-products.searching.matboard-landing li .p_img ,.list-products.searching.glazing-landing li .p_img, .list-products.searching.foamboard-landing li .p_img{ min-height: 142px; }

/*.list-products.gird-item.gallery-landing.moulding-landing .clearance_mobile { position:relative;top:-30px; }*/
.list-products .p_details-div .p_details { height:auto;position: static; }

.p_details_div,.p_details-div { top:0 !important; }

.avail-price>div { width:50%; }

#mobileShut { display:none !important; }

.mobileShut {
  display: none !important;
}

.list-products.gallery-landing li .p_details { position: inherit; height: auto;min-height: 30px; }

.list-products.searching .p_details_div .p_details { font-size: 18px;height: auto;position: inherit; }

.list-products.searching .p_details-div .p_details { font-size: 16px }

.close_filters { height:80px;background:white; }

.mobile_info { padding-top: 30px !important; }

.closecross { right: 4px;top:0; }

.closecross:hover {
    font-size: 19px !important;
    right: 4px;
    top: 0px;
}
.mask img {
    left: 50%;
    transform: translate(-50%,-50%);
}

.matb p a, .foamboard-landing .c-img p a  { width: 90% !important;height: auto !important; }
.foamboard-landing .c-img div a , .foamboard-landing .c-img div a img { /*width: 100% !important;*/ }
 @media (max-width: 600px){
     .matb{ width:32% !important; }
    .matb:not(.list-products.gird-item.glazing-landing .matb){ width:32% !important; }
    .list-products.matboard-landing{ width: 100% !important; }
    .list-products { justify-content: unset; }
    .list-products.gird-item.glazing-landing .matb{  width:48% !important; }
    .list-products.gird-item.glazing-landing .land-brand.c-img { width:auto !important; }
}

.apply_filters { font-size: 22px;color: #333333;background: white;border: 1px solid #666666;height: 48px;
    width: 147px;margin-top: 10px;border-radius: 5px; }
.submenu.showmenu input { width: 20px;top: -2px;position: relative;font-size: 20px;margin-right:5px; }

.mask { z-index:100001; }

/*p.h4 em, p.h4 i, p.h4 b, p.h4 u {
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
}

p.h4 i span, p.h4 em span, p.h4 b span, p.h4 u span {
    margin-right: 15px;
}
p.h4 { font-size:1rem; }*/

p.h3 i span, p.h3 em span, p.h3 b span, p.h3 u span{ display:inline-block; }
p.h3 {
    padding-left: 0;
    padding-right: 0;
    margin-left: 13px;
    font-size:1rem;
}
/*New hamburger*/
div#navtoggler1{ 
    font-size: 1rem;
    width: auto;
    top: -8px;
    position: relative;
    text-align: center;
    padding-right: 10px;
    margin-top: 8px;
    line-height: 16px; 
}
#reset {
    position: relative;
    font-size: 1rem;
    width: auto;
    text-align: center;
    top: 0px;
    padding-right: 9px;
    margin-left: auto;
    line-height: 16px;
}
#navtoggler1 span, .mobilereset { padding: 2px 5px;border: 1px solid #d9d9d9; }
span.filter_span {
    border: 1px solid #999999 !important;
    padding: 9px 26px !important;
    font-size: 18px;
    color: #333333;
}
#navtoggler1 span { text-transform:capitalize; }
.menu-sort-search select { height:25px; }
.search-info-bar .right,.menu-sort-search select { font-size:1rem; }
.menu-sort-search select { padding-left: 5px; }
.search-info-bar .right { padding-right: 8px;margin-top: 5px !important; }
/*div#navtoggler1{
    top: 0;
    border: none;
    background-image: url(/img/mobile-icons/filter-1.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 4em;
    font-size:8px;
    float: right;
    z-index: 9;
    display: block;
    position: relative;
    width: 4em;
    left: -13px;
    text-indent: -1000px;
    cursor: pointer;
    transition: 0.5s ease;
}


div#navtoggler1::before{ 
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 0.4em;
  top: 50%;
  margin-top: -0.3em;
  left: 0;
  background: black;
}*/

nav#ddfullscreenmenu1{ /* Full screen nav menu */
    width: 100%;
    height: 100%;
    visibility: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transform: scale(0.9);  /* initially scale down nav size */
    transform: scale(0.9);
    background: #fff; /* menu background color */
    display: -webkit-box;
    display: -ms-flexbox;
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    /*left:0;*/
    z-index: 100000;
    opacity: 0;
    overflow: hidden;
    overflow-y: auto;
    text-align: center;
    -webkit-transition: visibility 0s 0.5s, opacity 0.5s, -webkit-transform 0.5s;
    transition: visibility 0s 0.5s, opacity 0.5s, transform 0.5s;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}
    
nav#ddfullscreenmenu1.openmenu{ /* open menu class */
	visibility: visible;
	-webkit-transform: scale(1);
	transform: scale(1);
	opacity: 1;
  -webkit-transition-delay: 0s;
  -transition-delay: 0s;
}

div#closex1{ /* Large x close button inside nav */
    width: 32px;
    height: 50px;
    overflow: hidden;
    display: block;
    position: relative;
    cursor: pointer;
    text-indent: -1000px;
    z-index: 10;
    top: 5px;
    right: 10px;
    transition: 0.5s ease;
    margin-left:auto;
}

div#closex1::before, div#closex1::after{ /* render large cross inside close button */
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background: black;
  top: 50%;
  margin-top: -3px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

div#closex1::after{ /* render large cross inside close button */
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

div#ulwrapper1{
    position: relative;
    width: 100%; /* menu UL width */
    margin: auto;
    -webkit-perspective: 500px;
    perspective: 500px;
    -webkit-perspective-origin: 50%;
    perspective-origin: 50%;
    height:100%;
    height: calc( 100% - 130px);
    /*overflow: auto;*/
    overflow-x: hidden;
    overflow-y:scroll;
    -webkit-overflow-scrolling: touch;
}

nav#ddfullscreenmenu1 ul{
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  max-height: 100%;
  height:calc( 100% - 50px );
  font: bold 2em 'Bitter', Lato; /* use google font inside nav UL */
	/*-webkit-transition: all 0.5s .1s;
	transition: all 0.5s .1s;*/
}

nav#ddfullscreenmenu1 ul li{
  /*margin-bottom: 25px;*/
  position: relative;
  display: block;
  width:100%;
  border-bottom:1px solid lightgray;
}

nav#ddfullscreenmenu1 ul li.header > a:after{ /* right arrow inside header LIs */
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: 8px solid black;
  border-color: transparent transparent transparent black;
}

nav#ddfullscreenmenu1 ul.submenu{ /* style for non "first page" ULs */
  position: absolute;
  top: 0;
  left: 0;
	opacity: 0;
  pointer-events: none;
  transform: translate3d(100%, 0, 0);
}

nav#ddfullscreenmenu1 ul li a,
nav#ddfullscreenmenu1 ul li.breadcrumb{
	text-decoration: none;
  color: black; /* link color */
  /*text-transform: uppercase;*/
  padding: 15px 15px 10px 25px;
  display: block;
  /*border-radius: 20px;*/
  cursor: pointer;
    transition: unset;
    font-size: 1.4rem;
    text-align:left;
}

nav#ddfullscreenmenu1 ul li.breadcrumb{
  background: #eee;
  position: relative;
    border-radius: 0px;
    padding-left:30px;
}

nav#ddfullscreenmenu1 ul li.breadcrumb:after{ /* back arrow inside breadcrumb LI */
  content: '';
  position: absolute;
  left: 0px;
  top: 58%;
  transform: translateY(-58%);
  border: 10px solid black;
  border-color: transparent black transparent transparent;
}

nav#ddfullscreenmenu1 ul li a:hover{
  background: #eee;
  border-radius:0;
}

nav#ddfullscreenmenu1 ul.hidemenu{
  transform: rotateY(30deg) translateZ(-5px) !important;
  opacity: 0;
  pointer-events: none;
}

nav#ddfullscreenmenu1 ul.showmenu{
  transform: translate3d(0,0,0) !important;
  opacity: 1 !important;
  pointer-events: auto;
  display:block;
  text-align:center;
  overflow-x: hidden;
    overflow-y:scroll;
    -webkit-overflow-scrolling: touch;
}

/*New Hamburger CSS ended*/

.submenu.showmenu .style-input { font-size:1rem; }

.h4 i span { font-size:1rem; }

/*Mobile changes*/

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    .filed-item { margin-top: 20px;font-size: 1rem;width:auto !important;margin-right:4px;text-align: left !important; }
    .mat_color { max-width: 15% !important;width: 15% !important;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;vertical-align: bottom; }
    .mat_thickness { max-width: 60px !important;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;vertical-align: bottom;width: 50px !important; }
    .qty_div,.price-item { position: relative; }
    .qty_div { width:40px !important; }
    .qty_label,.price_lablel { display:block !important;position:absolute;top:-13px;font-size:10px;font-style: normal; }
    .list-head { display:none !important; }
    .list-products.supplies-landing li, .list-products.matboard-landing li, .list-products.glazing-landing li, .list-products.foamboard-landing li, .list-products.printing-landing li { position:relative;min-height: 95px; }
    .list-products li.item-line .name-item { margin-left: 20px;font-size: 1rem;margin-top: 20px;width: 16%; }
    .list-products li.item-line .description-item { width: 70%!important;font-size: 1rem;position: absolute;left: 20px;bottom: 10px;height:auto;/*white-space: nowrap; overflow: hidden;text-overflow: ellipsis;*/ }
    .image_supplies { float: right;margin-right: 20px;height: 70px !important;position: relative; }
    .image_supplies img { max-height: 60px !important;margin-top: 10px !important;position: absolute;right: 0;top: 50%;transform: translate(0%,-50%); }
}
.empty-fake { height: auto !important;min-height: unset !important; }
/*end of mobile changes*/
.list-products .p_img { min-height: 120px; }
h2.clearance {
    width: 100%;
}
.adv-container-1 {
    position: sticky;
    position: -webkit-sticky;
    top: 60px;
    z-index: 12;
}

/*** Image toogle changes ***/
.image-toggle {
    float: left;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

/*Toggle switch changes*/
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(48, 61, 105, 0.3);
  -webkit-transition: .4s;
  transition: .4s;
  border: 1px solid #ecb694;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 1px;
    bottom: 1px;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
  background-color: #ecb694;
  border: 1px solid #ecb694;
}
input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
    background: #fff;
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/*End of toogle switch css*/


.image-toggle span {
    padding: 0 10px;
}