/* New Menu CSS */
*, :after, :before {
    box-sizing: border-box;
}
#toggle-menu{
    cursor: pointer;
    padding: 10px;
    display: none;
    color: #000;
}
#toggle-search{
    cursor: pointer;
    padding: 10px;
    color: #000;
}
header ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.list-style-none
{
	margin: 0;
    padding: 0;
	   list-style: none;
}
nav{
    box-shadow: none !important;
}
#wrap > .header{
    position: fixed;
    width: 100%;
    z-index: 99;
    background: white;
}
.header .bg-blue, nav{
    background-color: #fff;
}
nav .mega-nav {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    visibility: hidden;
    transform: translate(-110%);
    z-index: 10000;
    transition: .5s;
    max-width: 380px;
    overflow: auto;
    width: 100%;
    height: 100%;
    font-family: sans-serif;
}
nav .open-menu .mega-nav {
    transform: translate(0);
    visibility: visible;
    box-shadow: 0 18px 18px rgba(0,0,0,.3);
}
#close-meaga-nav{
    position: relative;
    cursor: pointer;
}
#close-meaga-nav::after{
    display: inline-block;
    content: "\00d7";
    font-size: 38px;
    width: 38px;
    text-align: center;
    color: #505050;
}
.mega-nav-backdrop {
    opacity: 0;
    visibility: hidden;
    display: none;
    position: fixed;
    content: "";
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    transition: visibility 0s,opacity .5s linear;
}
.mega-nav-backdrop.open-menu {
    opacity: 1;
    visibility: visible;
    display: block;
}
.menu-header{
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e7e7e7;
}
.primary-nav{
    width: 380px;
    min-height: 100%;
    /* overflow-y: auto; */
    border-right: 1px solid #e7e7e7;
}
.menu-body{
    /*height: calc(100vh - 101px);*/
    min-height: calc(100vh - 101px);
}
.menu-body .secondary-nav, .menu-body .tertiary-nav{
    display: none;
}
.secondary-nav.open-menu{
    display: block;
    /* opacity: 1;
    transform: translateY(100%); */
}
.tertiary-nav{
    position: fixed;
    left: 380px;
    top: 0;
    width: 380px;
    height: 100%;
    display: none;
}
.primary-nav > li > a, .secondary-nav > li > a, .tertiary-nav > li > a, .fourth-nav > li > a{
    display: block;
    color: #000;
    text-decoration: none;
    transition: all 0.2s ease;
}
.primary-nav > li > a{
    position: relative;
    font-size: 20px;
    padding: 16px 28px;
}
.secondary-nav{
    margin-left: 20px;
    display: none;
	z-index:1;
    overflow-x: hidden;
    /* opacity: 0;
    transform: translateY(0);
    transition: all .3s ease-out; */
}
.secondary-nav > li > a{
    position: relative;
    font-size: 16px;
    padding: 16px 28px;
    padding-right: 45px;
    color: #505050;
}
.secondary-nav > li.has-submenu > a::before{
    border-right: 2px solid #aaa;
    border-top: 2px solid #aaa;
    content: '';
    display: block;
    height: 10px;
    margin-top: -7px;
    position: absolute;
    transform: rotate(45deg);
    right: 34px;
    top: 50%;
    width: 10px;
}
.secondary-nav > li.has-submenu > a:after {
    margin-top: -1px;
}
.secondary-nav > li.has-submenu > a.active{
    position: relative;
}
.secondary-nav > li.has-submenu > a.active::after{
    content: '';
    height: 100%;
    width: 1px;
    right: -1px;
    position: absolute;
    top: 1px;
    z-index: 1;
    background-color: white;
}

.tertiary-nav > li > a{
    font-size: 15px;
    padding: 16px 16px;
    color: #505050;
}
ul.fourth-nav {
    -webkit-column-break-inside: avoid;
	column-break-inside: avoid;
	padding:0px 12px;
}
.fourth-nav > li > a{
    font-size: 15px;
    padding: 3px 0px 3px 7px;
    color: #505050; 
}
.show-mobile.primary{
    border-bottom: 1px solid #e7e7e7;
}
.show-mobile.primary a{
    font-size: 20px;
    color: #252525;
}
.show-mobile.secondary a{
    font-weight: 600;
}
.go-back {
    color: #c16b00;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    padding-left: 15px;
    position: relative;
}
.go-back::before,
.go-back::after {
    content: "";
    display: block;
    left: 0px;
    position: absolute;
    top: 50%;
    transition: left 0.1s;
}
.go-back::before {
    border-color: #c16b00;
    border-style: solid;
    border-width: 0 0 2px 2px;
    height: 6px;
    margin-top: -3px;
    width: 6px;

    transform: rotate( 45deg );
    -webkit-transform: rotate( 45deg );
}
.go-back::after {
    background: #c16b00;
    height: 2px;
    width: 11px;
}
.go-back:hover::before,
.go-back:hover::after {
    left: -3px;
}
.has-submenu{
    position: relative;
}
  
.ms-auto{
    margin-left: auto;
}
.d-flex{
    display: flex;
}
.align-items-center{
    align-items: center;
}
.text-decoration-none, .text-decoration-none:hover{
    text-decoration: none;
}
.header-links a{
    display: inline-block;
}
.text-gray{
    color: #505050;
}
.mr-30px{
    margin-right: 30px;
}
.ml-30px{
    margin-left: 30px;
}
.mr-10px{
    margin-right: 10px;
}
.border-right{
    border-right: 1px solid #ccc;
}
.ucSearch{
    height: auto !important;
    /* width: auto !important; */
    padding: 0 !important;
	position: absolute;
	width: 25vw !important;
    left: 67%;
    margin-left: -15vw;
    top: 27px;
	z-index:2;
}


.ucSearch .search-field{    
    margin: 0 !important;
	width: 100% !important;
	transition: width 0.2s ease;
	background: #f5f5f5 url(/media/1612692/icon-search-black.png) 5px no-repeat;
	padding-left: 35px !important;
}
.ucSearch .search-field:focus{
	background: #f5f5f5 url(/media/1612692/icon-search-black.png) 5px no-repeat;
}
.search-field{
    color: #999999 !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-color: #B4B4B4 !important;
    border-radius: 8px 8px 8px 8px !important;
    font-family: "Helvetica", Sans-serif !important;
    font-size: 14px !important;
    /* font-weight: 600 !important; */
    min-height: 33px !important;
    padding: 6px 30px !important;
}
 .ucSearch .search-field:focus{
		 width: 30vw !important; 
	}
.link-dna{
    /* color: #F58025 !important; */
    font-weight: bold;
}
.link-sanger{
    /* color: #133D8D !important; */
    font-weight: bold;
}
.link-gene{
    /* color: #AB3F97 !important; */
    font-weight: bold;
}
.link-wps{
    /* color: #08B8E5 !important; */
    font-weight: bold;
}
.link-genotyping{
    /* color: #af2944 !important; */
    font-weight: bold;
}
.nav-mobile{
    display: none;
}
.top-links{
    display: flex;
    justify-content: end;
    list-style: none;
}
.bottom-links{
    position: relative;
}
#quickorder{
    left: auto !important;
    right: 0;
}
.closeNav{
    display: none;
    position: absolute !important;
    right: 1px;
    top: 1px;
    width: auto !important;
    z-index: 2 !important;
    border: none !important;
}
.closeNav:hover a{
    background-color: none !important;
	background: url("/media/1612694/x-icon-1.png") left bottom no-repeat;
}
.closeNav a{   
	background: url("/media/1612693/x-icon-2.png") left bottom no-repeat;
}
.closeNav a{
    text-decoration: none !important;
    padding: 10px !important;
    width: 34px !important;
    height: 34px !important;
    border: none !important;
    font-size: 24px !important;
    font-weight: bold;
}
.ucTopLogin div.content{
    width: 200px !important;
}
@media (min-width: 2200px){
    .ucSearch{
        left: 70%;        
    }
}

@media (max-width: 1800px){
    .ucSearch{
        left: 64%;        
    }
}
@media (max-width: 1600px){
    .ucSearch{
        width: 22vw !important;
        left: 62%;
        margin-left: -14vw;
        top: 27px;
    }
	.ucSearch .search-field:focus{
		 width: 27vw !important; 
	}
}
@media (max-width: 1366px){
    .ucSearch{
        width: 264px !important;
        left: auto !important;
        margin-left: -15vw;
        top: 27px;
        right: 415px;
    }
	.ucSearch .search-field:focus{
		 width: 320px !important; 
	}
}
@media (max-width: 992px){
	.ucSearch .search-field:focus{
		 width: unset !important; 
	}
}
@media (max-width: 576px){
    .search-overlay{
        position: fixed;
        background-color: rgba(0,0,0,.75);
        top:0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 1000;
    }
    .ucSearch{
        display: none;
        /* z-index: 10001; */
    }
	.ucSearch .search-field:focus{
		 width: 100% !important; 
	}
}
@media (min-width: 992px){
	.ucSearch .search-field:focus{
		/* width: 340px !important; */
	}
    .closeNav{
        display: block;
    }
    .px-50px{
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
    .primary-nav{
        display: flex;
        align-items: center;
        width: 100%;
        border-right: none;
        margin-bottom: 0;
        justify-content: end;
    }
.primary-nav > li > a{
        color: #636363;
        text-decoration: none !important;
        font-size: 18px;
        font-weight: 550;
    }
    .primary-nav > li:hover > a{
        background-color: rgba(255,255,255,.10);
        color:var(--color-secondary);
    }
    .primary-nav > li.has-submenu{
        position: initial;
    }
    .primary-nav > li.has-submenu > a{
        padding-right: 50px;
    }
    .primary-nav > li.has-submenu:not(.open-menu) > a::before{
        display: none;
    }
    .primary-nav > li.has-submenu > a::after{
        content: '';
        position: absolute;
        width: 8px;
        height: 8px;
        border-left: 1px solid #000;
        border-bottom: 1px solid #000;
        transform: rotate(-45deg);
        top: 20px;
        right: 25px;
        opacity: 0.5;
    }
    .primary-nav > li.has-submenu .secondary-nav{
        position: absolute;
        /*top: 130px;*/
        /* display: block; */
        width: 100%;
        max-width: 1600px;
        margin: 0 auto;
        transform: translateX(-50%);
        background: white;
        left: 50%;
        box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
        /* height: 500px; */
        overflow-y: auto;
    }
    
    a.subProduct {
        font-family: 'Open Sans Condensed', sans-serif;
        color: #143d8d !important;
        font-size: 1.7rem !important;
        font-weight: bold;
        text-transform: uppercase;
        margin-top: 5px;
    }
    .secondary-nav{
        height: 550px;
        z-index: 99;
    }
    .secondary-nav > li:not(.has-submenu) > a:hover{
        text-decoration: underline;
    }
    .secondary-nav > li.has-submenu::after{
        content: '';
        height: 100%;
        width: 1px;
        right: -1px;
        position: absolute;
        top: 0;
        z-index: 1;
        background-color: white;
    }
    .secondary-nav::after{
        content: '';
        position: absolute;
        width: 25%;
        height: 100%;
        background-color: #f2f2f2; /*#F2F2F2;*/
        top: 0;
        z-index: 0;
        border-right: 1px solid #ddd;
    }
    .show-mobile{
        display: none;
    }
    .secondary-nav > li{
        width: 25%;
        z-index: 1;
        position: relative;
        border-right: 1px solid #ddd;
    }
    .secondary-nav > li > a{
        background-color: #f2f2f2;
        display: flex;
        align-items: center;
    }
	.secondary-nav > li > a.menu-sub-link{
        /*background-color: #fff;*/
        font-size:14px;
		padding:6px 28px;
		border:none;
    }
    .secondary-nav > li:hover > a{
        background-color: #fff;
    }
    .secondary-nav > li:hover .tertiary-nav{
        /* display: block; */
    }
    .tertiary-nav{
        position: fixed;
        top: 0;
        left: 25%;
        width: 75%;
        height: 550px;
        column-count: 4;
        column-fill: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }
	.column-count-4{
		column-count: 4!important;
	}
    .tertiary-nav > li > a{
        padding: 3px 0px 3px 7px;
        break-inside: avoid;
    }
    .tertiary-nav > li > a:hover{
        background-color: #fff;
        text-decoration: underline;
    }
	.fourth-nav > li > a{
        padding: 3px 0px 3px 7px;
        break-inside: avoid;
    }
    .fourth-nav > li > a:hover{
        background-color: #fff;
        text-decoration: underline;
    }
    .secondary-nav > li > a{
        border-bottom:1px solid #ddd;
    }
    .secondary-nav > li:first-child > a{
        border-top:1px solid #ddd;
    }
    @-webkit-keyframes fadeInRightSmall {
        0% {
            opacity: 0;
            -webkit-transform: translate3d(10%,0,0);
            transform: translate3d(10%,0,0)
        }
    
        to {
            opacity: 1;
            -webkit-transform: translateZ(0);
            transform: translateZ(0)
        }
    }
    
    @keyframes fadeInRightSmall {
        0% {
            opacity: 0;
            -webkit-transform: translate3d(10%,0,0);
            transform: translate3d(10%,0,0)
        }
    
        to {
            opacity: 1;
            -webkit-transform: translateZ(0);
            transform: translateZ(0)
        }
    }
    
    .animate__fadeInRightSmall {
        -webkit-animation-name: fadeInRightSmall;
        animation-name: fadeInRightSmall
    }
	
	.margin-top-menu
	{
		margin-top:3rem!important;
	}
}
@media (max-width: 991px){
    .px-50px{
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .nav-desktop{
        display: none;
    }
    #toggle-menu{
        display: block;
    }
    .nav-mobile{
        display: block;
    }
    nav .mega-nav {
        overflow-x: hidden;
        min-width: 380px;
    }
    nav .mega-nav.open-menu {
        min-width: 760px;
    }
    .show-mobile{
        display: none;
    }
    .primary-nav > li:not(.has-submenu) > a:hover, .secondary-nav > li:not(.has-submenu) > a:hover, .tertiary-nav > li > a:hover, .fourth-nav > li > a:hover{
        background-color: #f5f5f5;
        color: #004896;
        text-decoration: underline;
    }
    .secondary-nav > li.has-submenu > a{
        border-top:1px solid transparent;
        border-bottom:1px solid transparent;
    }
    .secondary-nav > li.has-submenu > a.active{
        border-top: 1px solid #e7e7e7;
        border-bottom: 1px solid #e7e7e7;
    }
	.ucSearch{		
		position: absolute;
		/* top: -50px; */
		right: 20px;
		width: calc(100% - 500px) !important;
		margin-left: auto;
        top: 70px !important;
	}
	.tertiary-nav {
		top: 96px;
		height: calc(100vh - 145px);
		/*height: -webkit-fill-available;*/
		-webkit-overflow-scrolling: touch;
		/*overflow-y: scroll;*/
	}
	nav .mega-nav.open-menu .mobile-login-links{
		width:50%
	}
	.menu-body.overflow-hidden {
		overflow:visible !important
	}
	.menu-body {
		height: calc(100% - 136px);
		min-height: calc(100% - 136px);
	}
	nav .mega-nav.open-menu .menu-body{
		height: calc(100% - 96px);
		min-height: calc(100% - 96px);
	}
}
@media (max-width: 767px){	
	
	.primary-nav {
		height: 100%;
		overflow-y: auto;
	}
	.menu-body {
		height: calc(100% - 136px);
		min-height: calc(100% - 136px);
	}
	nav .mega-nav.open-menu .menu-body{
		height: calc(100% - 96px);
		min-height: calc(100% - 96px);
	}
	nav .mega-nav.open-menu .mobile-login-links{
		display: none
	}
    .primary-nav a{
        background-color: #fff;
    }
    .tertiary-nav{
        left: 0;
        z-index: 1;
        /* overflow: auto; */
		height: 100vh;
		height: -webkit-fill-available;
		-webkit-overflow-scrolling: touch;
		overflow-y: scroll;
    }
    nav .mega-nav.open-menu {
        min-width: 380px;
    }
    .show-mobile{
        display: block;
    }
    .tertiary-nav{
        background-color: #fff;
		padding-bottom: 50px;
    }
    .logo{
        max-width: 170px;
        margin: 6px 0;
    }
    .header-links{
        flex-direction: column;
        justify-content: end;
    }
    .header-links span{
        display: none;
    }
    .header-links .ml-30px{
        margin-left: 0;
    }
    .header-links .mr-30px{
        margin-right: 15px;
    }
    .top-links{
        order: 1;
        text-align: right;
        margin-bottom: 10px;
    }
    .bottom-links{
        order: 2;
        text-align: right;
    }
    .bottom-links img{
        display: none;
    }
	.ucSearch {		
		width: calc(100% - 400px) !important;
	}
	
	.fourth-nav > li:not(:only-child):last-child { 
	  margin-bottom:20px;
	}
	
}
@media (max-width: 575px){    
	.ucSearch {		
		width: calc(100% - 40px) !important;
		/* position: relative !important; */
		top:15px !important;
	}
    .ucSearch .search-field{
        height: 54px !important;
		background: #f1f1f1 url(/media/1612692/icon-search-black.png) 10px no-repeat;
    	padding-left: 40px !important;
    }
	.ucSearch .search-field:focus{
		background: #f5f5f5 url(/media/1612692/icon-search-black.png) 10px no-repeat;
    	padding-left: 40px !important;
    }
	.top-links
	{
		visibility:hidden;
	}
}
.overflow-hidden{
    overflow: hidden;
}

a.subProduct,
a.subProduct:hover {
    color: #143d8d !important;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 14px !important;
    font-weight: bold;
	border: none;
    text-align: left;
    width: auto;
	text-transform: uppercase;
    margin-bottom: 5px;
    z-index: 99999;
}

.justify-content-between{
    justify-content: space-between;
}
.sboxes{
    z-index: 1 !important;
}
.carousel-indicators{
    z-index: 1 !important;
}
.user-menu{
    position: relative;
    
}
.user-menu-dropdown{
    display: none;
    position: absolute;
    right: -10px;
    top: 20px;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
}
.user-menu:hover .user-menu-dropdown{
    display: block;
}
.text-nowrap{
    text-wrap: nowrap;
}
.user-menu-dropdown a{
    display: block;
    padding: 10px;
    border-bottom: 1px solid #e7e7e7;
    text-align: left;
}
.user-menu-dropdown a:hover{
    background-color: #f1f1f1;
}
.user-menu-dropdown .account-box{
    background-color: #f2f2f2;
    padding: 10px;
    border-bottom: 1px solid #e7e7e7;
    text-align: left;
}
.clr-oranage, .clr-oranage:hover{
    color: #ED8019;
}
#quickorder{
    top: 54px !important;
}
@media (max-width: 577px){
	#quickorder{
	    top: 88px !important;
	}
}
/* .CurrentUserName, .signInOut{
    float: none !important;
    margin: 0 !important;
    top: auto !important;
}
.ucCartOverview{
    margin-top: 0 !important;
}
.ucTopLogin{
    height: auto !important;
    width: auto !important;
    vertical-align: middle !important;
}
.ucTopLogin div.content{
    width: auto;
} */


.itemSDOheader {
    margin-top: 15px !important;
}

#certsBlock li, .footerIcons li  {   
    float: left;
}
ul#sidemenu li span {
  padding-left: 45px!important;
	 margin-top: 0px!important; 
}

#greyfooter
{
	margin-top: 15px!important; 
}

.productOptions .subProduct
{
	min-width: 150px !important;
    text-align: center;
}

@media (max-width: 991px){	
	.itemSDOheader { margin-top: 10px !important;}	
}


@media (min-width: 991px){
 	.pr-25
	{
		padding-right:25px;
	}
}
@media (min-width: 1200px){
	.container, .navbar-fixed-top .container {
   	 	width: 1170px!important;
	    max-width: 1170px!important;
	}
	ul#sidemenu li span {
	  padding-left: 45px!important;
	}

	ul#sidemenu li span {
	  margin-top: -4px!important; 
	}

	.productOptions .subProduct
	{
		min-width: 260px !important;
	}
}
