.megamenu p,
.nav {
    letter-spacing: -0.5px;
}


.megamenu {
	
    visibility: hidden;
    opacity: 0;
    width: 100%;
    background: #fff;
    position: absolute;
    left: 0;
    top: 51px;
    z-index: 25;
    display: flex;
    box-sizing: border-box;
    min-width: 100%;

    border-top: 2px solid #ddd;
    font-size: 1em;
/*    transition: 0.4s 0.4s;*/
    transition: 0s 0.1s;
	height:480px;
	
	box-shadow: 0 3px 10px rgba(57, 63, 72, 0.3);
}

@media only screen and (min-width: 2000px) {
    .megamenu {

		height:630px;
    }
}

.megamenu ul.lhs
{
	width:250px; background:#eee; height:100%;
}



.megamenu ul.lhs li a:not(.icon > a):not(.colour > a):not(.info > a),
.megamenu ul.eights li a:not(.icon > a):not(.colour > a):not(.info > a),
.megamenu ul.lhs li button {
	 background:#F6F6F6;
	text-align: left;
	border:0px;
	display: block;
	color: #444 !important;
	margin: 0;
	padding: 22px 15px 22px;
	line-height: 100%;
	box-sizing: border-box;
	width:100%;
	font-family: museo-sans, sans-serif;
	border-bottom:1px solid #dddddd;
	font-weight: 700;
	font-size:1em;
	letter-spacing: -0.5px; 
	position: relative;
	cursor:pointer;
	
}
.megamenu ul.lhs li a::after,
.megamenu ul.lhs li button::after {
  content: '\f054'; 
  font-family: "Font Awesome 6 Pro";
  margin-left: 8px; 
  font-size: 20px; 
  position: absolute;
  right: 10px; 
  top: 50%;
  transform: translateY(-50%);
  color: inherit;
}

.megamenu ul.lhs li a:hover,
.megamenu ul.lhs li button:hover {
	color: var(--cbPurple) !important; 
	background:#ffffff !important;
}

.megamenu ul.lhs li ul li a:hover,
.megamenu ul.lhs li ul li button:hover {
	background:none!important;
}


.megamenu ul.lhs li button:hover::after {
  color: var(--cbPurple); 
}




.megamenu ul.lhs li ul.nav-boxes {

	position:absolute; z-index:99999;
	background:#ffffff; left:250px; right:0px; top:0px; padding:30px;
} 

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

	.nav-item.nolhs .megamenu  ul.nav-boxes {

		position:absolute; z-index:99999;
		background:#ffffff; left:00px; right:0px; top:0px; padding:30px;
	} 

}

.nav-boxes {opacity: 0;visibility: hidden;transition: opacity 0.3s ease-in-out; }
.nav-boxes.show {opacity: 1;visibility: visible;}

.nav-boxes.always,
.nav-boxes.always.show
{opacity: 1 !important;visibility: visible !important;}


.nav-boxes > li {
	float:left;
	margin:0 3% 2% 0;
	display: flex;
	box-sizing: border-box;
}


.nav-boxes.lots > li,
.nav-boxes.eights > li {
	float:left;
/*	margin:0 3% 8% 0 !important;*/
	margin:0 3% 5% 0 !important;
	display: flex;
	box-sizing: border-box;
}

.nav-boxes.lots > li:nth-child(n+8),
.nav-boxes.eights > li:nth-child(n+9) {
	float:left;
	margin:0 3% 0% 0 !important;
}

.nav-boxes.lots > li:nth-of-type(7),
.nav-boxes.eights > li:nth-of-type(8),
.nav-boxes.lots > li:nth-of-type(14) {
	float:left;
	margin:0 0% 0% 0 !important;
}



.nav-boxes.two > li {
	aspect-ratio:1/0.33;
	width:48.5%;
}

.nav-boxes.three > li {
	aspect-ratio:1/0.33;
	width:31.33%;
}
.nav-boxes.four > li {
	aspect-ratio:1/1;
	width:17.5%;	
}
.nav-boxes.five > li {
	aspect-ratio:1/1;
	width:17.5%;	
}
.nav-boxes.six > li {
	aspect-ratio:1/1;
	width:14.1%;	
}
.nav-boxes.six.ratiod > li {
	aspect-ratio:1/0.8;
	width:14.1%;
	margin: 0 3% 4% 0;
}


.nav-boxes.six.ratiod > li.icon a {

    padding-top: 90% !important;
	
}
.nav-boxes.lots > li {
	aspect-ratio:1/1;
	width: 11.71%;	
}
.nav-boxes.eights > li {
	aspect-ratio:1/1;
	width: 9.81%;	
}
.nav-boxes.colour > li {
	aspect-ratio:1/1;
	width:8%;
	float:left;
	margin:0 3% 5% 0;
	display: flex;
	box-sizing: border-box;
	border-radius: 8px;
	padding: 0px 3%;
    text-align: center;
}

.nav-boxes.six > li:nth-of-type(6),
.nav-boxes li:last-of-type {margin-right:0}


.nav-boxes.two > li,
.nav-boxes.three > li,
.nav-boxes.four > li,
.nav-boxes.five > li,
.nav-boxes.six > li,
.nav-boxes.lots > li,
.nav-boxes.eights > li,
.nav-boxes.colour > li,
.nav-boxes.info > li
{ border: 1px solid #dddddd ; }



.nav-boxes.two > li:hover ,
.nav-boxes.three > li:hover ,
.nav-boxes.four > li:hover ,
.nav-boxes.five > li:hover  ,
.nav-boxes.six > li:hover  ,
.nav-boxes.lots > li:hover  ,
.nav-boxes.eights > li:hover  ,
.nav-boxes.colour > li:hover ,
.nav-boxes.info > li:hover 
{ 
	
	border: 1px solid #777777 ;
}



li.icon {
	background-colour:#fff!important;

	background-image:none;
	background-position:  center center!important;
	background-repeat:no-repeat !important;
	background-size:85%;
	-moz-transition: all 0.3s ease-in-out; 
    -webkit-transition: all 0.3s ease-in-out; 
    transition: all 0.3s ease-in-out; 
	position:relative;
	cursor: pointer;
}

li.icon.buyingguide:after,
li.icon.sizeguide:after,
li.icon.insight:after,
li.icon.gallery:after{
	 content: "";
    position: absolute;
    top: 55%;
    left: 60%;
    width: 40%;
    height: 40%;
    background: #ffffff url(../images/buying-guide-icon.svg) center/contain no-repeat;
	background-size:65%;
	padding:7%; box-sizing: border-box;
	border-radius: 50%;
    opacity: 1; 
    pointer-events: none; 
}



li.icon.jute:after,
li.icon.cotton:after,
li.icon.canvas:after,
li.icon.nonwoven:after,
li.icon.matt:after,
li.icon.gloss:after,
li.icon.kraft:after,
li.icon.rapid:after{
	 content: "";
    position: absolute;
    top: 65%;
    left: 65%;
    width: 30%;
    height: 30%;
    background: #ffffff url(../images/buying-guide-icon.svg) center/contain no-repeat;
	background-size:65%;
	padding:7%; box-sizing: border-box;
	border-radius: 50%;
    opacity: 1; 
    pointer-events: none; 
}

li.icon.sizeguide:after{ background: #ffffff url(../images/size-icon.svg) center/contain no-repeat; background-size:65%;}
li.icon.insight:after{background: #ffffff url(../images/insights-icon.svg) center/contain no-repeat; background-size:65%;}
li.icon.gallery:after{ background: #ffffff url(../images/gallery-icon.svg) center/contain no-repeat; background-size:65%;}

li.icon.jute:after{ border:2px solid #000; background: #ffffff url(../images/jute-swatch.jpg); background-size:cover;}
li.icon.cotton:after{border:2px solid #000; background: #ffffff url(../images/cotton-swatch.jpg); background-size:cover;}
li.icon.canvas:after{ border:2px solid #000; background: #ffffff url(../images/canvas-swatch.jpg); background-size:cover;}
li.icon.nonwoven:after{ border:2px solid #000; background: #ffffff url(../images/nonwoven-swatch.jpg); background-size:cover;}

li.icon.matt:after{border:2px solid #000; background: #ffffff url(../images/matt-swatch.jpg); background-size:cover;}
li.icon.gloss:after{ border:2px solid #000; background: #ffffff url(../images/gloss-swatch.jpg); background-size:cover;}
li.icon.kraft:after{ border:2px solid #000; background: #ffffff url(../images/kraft-swatch.jpg); background-size:cover;}
li.icon.rapid:after{ border:2px solid #000; background: #ffffff url(../images/rapid-icon.svg); background-size:80% 80%; background-repeat: no-repeat; background-position: center center}

li.colour{
	background:none;
	border:0px !important;
	position:relative;
	cursor: pointer;
}
li.info{
	background:none;
	border:0px !important;
	position:relative;
	cursor: pointer;
}
li.icon:hover {
/*	background-size:67%;*/
}

li.icon a,
li.colour a{background:none !important; 

	padding: 0px;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 0%;
    bottom: 0;
    margin-top: 0px;
    padding-top: 110%;
	left: 0;
    right: 0;
	color:var(--cbPurple);
	
}






@media only screen and (min-width: 992px) and (max-width: 1690px) {

.nav {        	font-size: 1.1vw !important;    }
.nav-list > .nav-item >  a {   padding: 18px 8px 18px !important;			}
}
@media only screen and (min-width: 992px) and (max-width: 1400px) {

	
	
}
@media only screen and (min-width: 992px) and (max-width: 1230px) {
 .nav {        	font-size: 1.2vw !important;    }
.nav-list > .nav-item >  a  {   padding: 18px 5px 18px !important;			}
    .megamenu {
/*        top: 153px;*/
        font-size: 1.3vw;
    }

}
@media only screen and (min-width: 992px) and (max-width: 3590px) {

    .nav-item a {
        position: relative;
    }
}


.megamenu p {
    margin-top: 6px;
    width: auto;
    font-size: 1em;
    max-width: 250px;
    line-height: 1.2em;
}
.megamenu .mmcb .navtitle {
    font-size: 1.1em;
    margin-bottom: 0.25em;
}
.nav,
.nav-item {
    float: left;
}
.c-hamburger {
    display: none;
    position: relative;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    float: right;
    margin: 5px;
    width: 56px;
    height: 56px;
    font-size: 0;
    text-indent: -9999px;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    transition: background 0.3s;
}
.c-hamburger:focus {
    outline: 0;
}
.c-hamburger span {
    display: block;
    position: absolute;
    top: 25px;
    left: 10px;
    right: 10px;
    height: 6px;
    background: #662483;
}
.c-hamburger span::after,
.c-hamburger span::before {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #662483;
    content: "";
}
.c-hamburger span::before {
    top: -12px;
}
.c-hamburger span::after {
    bottom: -12px;
}
.c-hamburger--htx {
    background-color: #ffffff;
}
.c-hamburger--htx span {
    transition: background 0s 0.3s;
}
.c-hamburger--htx span::after,
.c-hamburger--htx span::before {
    transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0s;
}
.c-hamburger--htx span::before {
    transition-property: top, transform;
}
.c-hamburger--htx span::after {
    transition-property: bottom, transform;
}
.c-hamburger--htx.is-active span {
    background: 0 0;
}
.c-hamburger--htx.is-active span::before {
    top: 0;
    transform: rotate(45deg);
}
.c-hamburger--htx.is-active span::after {
    bottom: 0;
    transform: rotate(-45deg);
}
.c-hamburger--htx.is-active span::after,
.c-hamburger--htx.is-active span::before {
    transition-delay: 0s, 0.3s;
}
*,
:after,
:before {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.nav a,
.nav a:hover {
    text-decoration: none;
}
.nav ol,
.nav ul {
    list-style: none;
}
.nav {
    width: auto;
    padding: 0;
    font-size: 1.1em;
    font-weight: 700;
    margin: 0px auto -2px;
	border-top:2px solid #dddddd;
    float: none;
    display: table;
	
	float:left; clear:both;
	width:100%; 
}
.nav-list {
    text-align: left;
    margin-left: 0;
}
.nav-item {
    zoom: 1;
}
.nav-item a {
    display: block;
    color: #444;
    margin: 0;
    padding: 0 12px 10px;
    line-height: 100%;
    text-align: left;
    cursor: pointer;
}
.nav-item a:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    margin: 0;
    border-bottom: 2px solid var(--cbPurple);
/*    transition: right 0.3s;*/
    transition: 0.3s;
    z-index: 99;
}
.nav-item a:hover:after {
    right: 0;
}
.nav-item .megamenu a:after {
    content: "";
    display: none;
}
.nav-item.dl a {
    padding: 8px 20px 0;
}
.nav-item:last-child a {
    margin: 0;
}
.nav-item > a:hover {
    color: #ff5c26;
}
.nav-item:hover .megamenu {
    opacity: 1;
    visibility: visible;
/*    transition-delay: 0.3s;*/
    transition-delay: 0.1s;
}

.megamenu:focus-within body {
    overflow: hidden;
}

.nav-click {
	position: absolute;
	top: 7px;
	right: 12px;
	display: none;
	cursor: pointer;
	height: 35px;
	width: 44px;
	cursor: pointer;
	line-height: 35px;
}
.nav-click i {
	display: block;
	height: 100%;
	font-style: normal;

}

.nav-click i::after {
    display: block;

	content: '\f054';
    font-family: "Font Awesome 6 Pro";
	color:#ffffff;
	
	
}
.nav-rotate {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}
.nav-item a.selected {
    background-color: #fff;
    color: #333;
}
.nav button:hover {
    background-color: #ffffff !important;
}
.nav-list:hover .nav-item a:not(.megamenu .navtitle a):not(.mmcb ul li a) {
    color: #aaa;
}
.nav-item:hover a {
    color: #222 !important;
}
@media only screen and (min-width: 992px) and (max-width: 1690px) {
    .nav {
        background: 0 0;
        margin-top: 0px;
        margin-right: 0;
        clear: right;
        margin-bottom: 0;
    }
}
@media (min-width: 992px) {
    .nav {
        padding: 0;
/*        font-size: 1.1em;*/
    }
    .nav-item a {
        display: block;
        color: #444;
        margin: 0;
/*        padding: 18px 15px 18px;*/
        padding: 18px 13px 18px;
        line-height: 100%;
        text-align: center;
    }
}
@media only screen and (min-width: 0px) and (max-width: 991px) {
	
	nav .holder{width: 100%;padding: 0;}
	.megamenu {height:auto; margin:0;padding: 0 !important; }
	.megamenu ul.lhs,
	.megamenu ul.eights {
		width: 100%; 
		height:auto;
		display: inline-block;
		
	}
	


	
	.megamenu ul.lhs li a:not(.icon > a):not(.colour > a):not(.info > a), .megamenu ul.lhs li button {padding: 15px 5%; }
	
	
	
	.megamenu ul.eights li  {margin:0 0 0 0 !important;}
	.megamenu ul.eights li a {border-bottom: 1px solid #dddddd; padding: 15px 5%; }
	.megamenu ul.eights li:last-child a {border-bottom: 0px solid #dddddd; padding: 15px 5%; }
	
	
	
	
	
	
	.megamenu ul.lhs li ul.nav-boxes { display:none;    position: relative;    left: 0px;    right: 0px;    top: 0px;    padding: 0px; }
	.megamenu ul.eights  li ul.nav-boxes { display:none;    position: relative;    left: 0px;    right: 0px;    top: 0px;    padding: 0px; }
	
	.megamenu ul.nav-boxes.eights {background: #eee; opacity:1; visibility: visible; }
	
	.nav-boxes.six.ratiod > li.icon a {
    padding-top: 18px !important ;
}

	.megamenu ul.lhs li:hover > ul.nav-boxes{/*display: block !important;*/} 
	.nav-boxes > li { width:100% !important; aspect-ratio: unset !important;}
	
	
	
	.megamenu ul.lhs li a::after, .megamenu ul.lhs li button::after { 
right: 12px;
/*        background: green;*/
        height: 35px;
        width: 44px;
        text-align: center;
        line-height: 35px;

	}
	
	
	
.megamenu ul.lhs li button.sub-rotate::after,
.megamenu ul.lhs li button.sub-rotate:hover::after { 
top:7px;
/*        background: pink !important;*/
         -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);

	}
	
	
	
	.nav-boxes.show {
    opacity: 1; display: block !important;
    visibility: visible;
	}
		
    .nav-item a,
    .nav-item:hover a {

        color: #fff;
    }
	.nav-list:hover .nav-item a:not(.megamenu .navtitle a):not(.mmcb ul li a) {
    color: #fff;
}
	
	.nav-item:hover a:not(li.icon a) {
    color: #fff !important;
}
	
	li.icon, li.colour, li.lots, li.eights {
    background: none !important;
    background-image: none !important;
		border:0px !important;
		margin:0px !important;

	}
	
	li.icon a, li.colour a, li.lots a, li.eights a {
    background: none !important;
    background-image: none !important;
/*    color:blue!important;*/
    text-align: left;
    width: 100%;
    position: relative;
    top: 0%;
    bottom: 0;
    /* padding: 18px 5%; */
    padding: 15px 5% 0;
		box-sizing: border-box
	}

    ul.nav-boxes li.icon:last-child a, ul.nav-boxes li.colour:last-child a, ul.nav-boxes li.lots:last-child a, ul.nav-boxes li.eights:last-child a {

    padding: 15px 5% 15px;
		
	}
    .nav-item:hover a {
    color: #444 !important;
}


.megamenu ul.lhs li a:not(.icon > a):not(.colour > a):not(.info > a),
.megamenu ul.eights li a:not(.icon > a):not(.colour > a):not(.info > a),
.megamenu ul.lhs li button {
	
	letter-spacing: 0px; 

	
}
	
	li.icon.buyingguide:after,
li.icon.sizeguide:after,
li.icon.insight:after,
li.icon.gallery:after,
	li.icon.jute:after,
li.icon.cotton:after,
li.icon.canvas:after,
li.icon.nonwoven:after,
li.icon.matt:after,
li.icon.gloss:after,
li.icon.kraft:after,
li.icon.rapid:after{
	display:none
	}
	
    .nav-list,
    .nav.open {
        width: 100%;
    }
    .megamenu .mmtb,
    .megamenu li:before,
    .megamenu p,
    .nav-item a br,
    .nav-item:hover .nav-submenu,
    .nav-list,
    .navhide {
        display: none;
    }
    #a133,
    #a4,
    .megamenu .mmcb {
        background: #ccc !important;
    }
    .nav-list {
/*        position: fixed;*/
/*        position: sticky;*/
        position: static;
		
		
        margin: 0;
        background: #662483;
        opacity: 1;
        box-sizing: border-box;
/*        top: 66px;*/
        padding-bottom: 0%;
    }
	
	.nav-list:first-of-type {    margin-top: 64px; padding-bottom: 0%; padding-top: 0%;}
	
    .c-hamburger,
    .nav-click {
        display: block;text-align: center;
    }
    .nav-item a {
        margin: 0 0 0 5% !important;
        text-align: left !important;
		box-sizing: border-box;
		
/*		background:blue; */
		width:76%;
    }
    .nav-item > a {
/*        padding: 18px 0 18px !important;*/
        padding: 15px 0 15px !important;
      /*  padding: 0px 0 18px !important;*/
    }
    .c-hamburger {
        z-index: 99999;
    }
    .shopbtn2 {
        float: none !important;
        border: 0 !important;
        padding: 0 0 3% !important;
        margin: 0 !important;
    }
    .nav-item:hover .megamenu {
        visibility: hidden;
    }
    .megamenu {
        visibility: visible !important;
        display: none;
        box-shadow: 0 0 #000;
        border-top: 0 solid #662483;
        top: 0;
/*
        margin-top: 15px;
        margin-bottom: 15px;
*/
        padding: 2% 0 5%;
        font-size: 0.8em;
        position: relative;
        transition: none;
        opacity: 1;
    }

    .megamenu li a,
    .megamenu li a:focus,
    .megamenu li a:hover {
        color: #000 !important;
        margin: 0 0 0 0% !important;
        text-align: left !important;
/*        font-weight: 100 !important;*/
    }
    .megamenu ul li a {
        color: #444 !important;
    }
    .nav,
    .nav-item {
        width: auto;
        padding: 0;
    }
    .nav {
        letter-spacing: -1px;
        z-index: 99998;
        margin: 0;
        letter-spacing: 0;
/*        font-size: 1.5em;*/
        font-size: 18px;
        position: absolute;
        top: 0;
        right: 0;
			border-top:0px solid #dddddd;
    }
    .nav-item {
/*        height: 8.09%;*/
        float: none;
        position: relative;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .nav-item.dl a {
        padding: 3% 0;
    }
}
