/* Basic styling */

.rcom-header {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Open Sans";
    font-size: 14px;
    background-color: red;
    height: 50px;
}

.rcom-header ul,
.rcom-header ol,
.rcom-header dl {
	margin: 0;
}

.rcom-header .rcom-icon {
    display: inline-block;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    background-size: cover;
    margin: 0 10px -5px -15px;
}

.rcom-header .rcom-icon--cart {
    background-image: url(/imgs/common/rcom-cart.svg);
}

.rcom-header .rcom-icon--account {
    background-image: url(/imgs/common/rcom-account.svg);
}

.rcom-header .rcom-icon--contact {
    background-image: url(/imgs/common/rcom-phone.svg);
}

.rcom-header .rcom-icon--hamburger {
    background-image: url(/imgs/common/rcom-hamburger.svg);
	width: 18px;
	height: 12px;
	margin: 3px 5px 0px 0;
}

.rcom-header .rcom-icon--close {
    background-image: url(/imgs/common/rcom-x.svg);
	width: 14px;
	height: 14px;
	margin: 4px 5px 0px 0;
}

.rcom-header .rcom-icon--back {
    background-image: url(/imgs/common/rcom-back.svg);
	width: 16px;
	height: 16px;
	margin-bottom: -3px;
	pointer-events: none;
}

.rcom-header .rcom-icon--drill-right {
    background-image: url(/imgs/common/rcom-vcr-play.svg);
    width: 5px;
    height: 10px;
    position: absolute;
    left: calc(100vw - 23vw);
    margin-top: 19px;
}

.rcom-header .submenu-active .rcom-icon--drill-right {
    display: none;
}

.rcom-header {
    background: transparent;
    padding: 0;
}

.rcom-header .background-filler {
    background-color: #fff;
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.rcom-header a {
    color: #333;
    text-decoration: none;
    outline: none;
}

.rcom-header .menu, .submenu {
    list-style-type: none;
    font-weight: bolder;
}

.rcom-header .submenu {
    font-weight: normal;
}

.rcom-header .item {
    padding: 0 5px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.rcom-header .item.protected {
    box-shadow: none;
}

.rcom-header .item.button {
    padding: 9px 5px;
}

.rcom-header .cart-total {
	position: absolute;
    background-color: #e85b01;
    border-radius: 10px;
    font-size: 10px;
    width: 15px;
    text-align: center;
    height: 15px;
    left: 20px;
    padding: 0 0px;
    color: white;
    top: 10px;
    line-height: 15px;
    border: 1px solid #fff;
}

.rcom-header .cart-total:empty {
	display: none;
}

.rcom-header .item:not(.button) a:hover, 
.rcom-header .item a:hover::after {
    /* color: #ccc; */
}

/* Mobile menu */

.rcom-header .menu, 
.rcom-header .menu-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
}

.rcom-header .menu {
	position: fixed;
	width: 100% !important;
	padding: 0 5vw;
	box-sizing: border-box;
}

.rcom-header .menu li a,
.rcom-header .menu-top li a {
    display: inline-block;
    padding: 15px 4px;
    font-size: 16px;
	font-weight: 600;
	color: #333;
	text-decoration: none;
}

.rcom-header .menu li.subitem a {
    padding: 12px 40px;
   	font-size: 14px;
	font-weight: normal;
}

.rcom-header .toggle {
    font-size: 20px;
    width: 20px;
}

.rcom-header .item.button {
    order: 2;
}

.rcom-header .item {
    order: 5;
    width: 90%;
    text-align: left;
    display: none;
    cursor: pointer;
	margin-left: -6%;
	z-index: 102;
}

.rcom-header .item.has-submenu {
	padding-left: 23.5px;
}

.rcom-header .active .item,
.rcom-header .item.protected.item-hidden,
.rcom-header .item.item-hidden.submenu-active {
    display: block;
    background-color: #fff;
}

.rcom-header .item.rcom-support,
.rcom-header .item.rcom-account,
.rcom-header .item.rcom-cart,
.rcom-header .item.rcom-logo {
    display: block;
    width: auto;
    order: 3;
    /* padding-top: inherit; */
    margin-bottom: -5px;
    position: relative;
    margin-left: 0;
	z-index: 100;
}



.rcom-header .item.rcom-support {
    flex: 1;
    text-align: right;
}

.rcom-header .item.rcom-renew,
.rcom-header .item.back-to-main {
    order: 4;
    margin-top: -7px;
    z-index: 101;
}

.rcom-header .item.rcom-renew {
    border-bottom: 1px solid #ebebeb;
    border-top: 1px solid #ebebeb;
}

.rcom-header .item.rcom-renew,
.rcom-header .item.rcom-it-services,
.rcom-header .item.rcom-blog,
.rcom-header .item.rcom-logout,
.rcom-header .item.rcom-support__online
{
	padding-left: 23.5px;
}

.rcom-header .item.rcom-renew a {
    color: #114A9B;
    text-transform: uppercase;
}

.rcom-header .item.back-to-main {
    display: none;
    font-weight: bolder;
    background-color: #F5F5F5;
    cursor: pointer;
    padding-left: 23.5px;
}

.rcom-header .item.back-to-main.active {
    display: block;
}

.rcom-header .item.item-hidden {
    display: none;
}

.rcom-header .item.rcom-blog,
.rcom-header .item.rcom-logout,
.rcom-header .item.rcom-support__online {
    order: 6;
    z-index: 103;
}


.rcom-header .button.secondary {
    /* divider between buttons and menu links */
    border-bottom: 1px #444 solid;
}

/* Submenu up from mobile screens */

.rcom-header .submenu {
    display: none;
}

.rcom-header .submenu-active .submenu {
    display: block;
    padding-bottom: 12px;
}

.rcom-header .has-submenu i {
    font-size: 12px;
}

.rcom-header .has-submenu>a::after {
}

.rcom-header .submenu-active>a::after {
}

.rcom-header .subitem a {
    padding: 10px 15px;
}

.rcom-header .submenu-active {
    background-color: #111;
    border-radius: 3px;
    border:  none;
}

.rcom-header .item.submenu-active > a {
    font-weight: bold;
    padding-bottom: 10px;
}

.rcom-header .item.rcom-logo {
    font-size: 20px;
    padding: 7.5px 10px 7.5px 0;
    order: 1;
    margin-left: 15px;
    width: 50%;
    white-space: nowrap;
}

.rcom-header .item.rcom-logo .logo {
    box-sizing: border-box;
    max-width: 100%;
    width: 200px;
}

.rcom-header .item.rcom-logo .aux-logo {
    vertical-align: top; 
    margin-left: 6px;
    padding-top: 16px;
}

.rcom-header .item.rcom-account {
	margin-right: 0%;
}

.rcom-header .menu-top .item.rcom-support, 
.rcom-header .menu-top .item.rcom-account, 
.rcom-header .menu-top .item.rcom-cart, 
.rcom-header .menu-top .item.rcom-logo,
.rcom-header .menu-top .item.rcom-blog {
    display: none;
}

.rcom-header .submenu.submenu__divided li.subitem header {
		padding: 5px 20px;
    	font-weight: bolder;
    	font-size: 16px;
}

.rcom-header .submenu.submenu__divided .submenu-divider {
	background-color: rgba(0,0,0,0.3);
  	height: 1px;
  	width: 80%;
  	margin: 5px;
}
    
/* Mobile menu */
@media (max-width: 768px) {
    .rcom-header .item{
        margin: 0;
    }
    .rcom-header .menu {
        width: 100vw !important;
        margin: 0;
        padding: 0;
    }
    .rcom-header .item.has-submenu {
        padding-left: 23.5px;
    }
}
/* Tablet menu */

@media all and (min-width: 700px) {
    /* .menu {
        justify-content: center;
    } */
    .rcom-header .rcom-logo {
        flex: 1;
    }
    .rcom-header .item.button {
        width: auto;
        order: 1;
        display: block;
    }
    
    /*
    .toggle {
        flex: 1;
        text-align: right;
        order: 2;
    }
    */

    .rcom-header .item {
        order: 5;
        width: 50%;
        text-align: left;
        display: none;
        cursor: pointer;
        margin-right: 50%;
    }

    .rcom-header .item.rcom-support,
    .rcom-header .item.rcom-account,
    .rcom-header .item.rcom-cart,
    .rcom-header .item.rcom-logo {
        padding-top: 5px;
        margin-bottom: inherit;
    }

    .rcom-header .item.rcom-logo .aux-logo {
        padding-top: 12px;
    }

    .rcom-header .item.protected {
        margin-right: 0;
    }

    .rcom-header .has-submenu>a::after {
        left: calc(50% - 30px);
    }
    
    .rcom-header .rcom-icon--drill-right {
   	    left: calc(100vw - 58vw);
	}

    /* Button up from tablet screen */
    .rcom-header .menu li.button a {
        padding: 10px 15px;
        margin: 5px 0;
    }

    .rcom-header .button a {
        /* background: #0080ff;
        border: 1px royalblue solid; */
    }

    .rcom-header .button.secondary {
        border: 0;
    }

    .rcom-header .button.secondary a {
        background: transparent;
        /* border: 1px #0080ff solid; */
    }

    .rcom-header .button a:hover {
        text-decoration: none;
    }

    .rcom-header .button:not(.secondary) a:hover {
        background: royalblue;
        /* border-color: darkblue; */
    }

    .rcom-header .menu li a, 
    .rcom-header .menu-top li a {
        display: inline-block;
        padding: 12px 4px;
    }
    
    .rcom-header .menu li.item a {
    	font-size: 16px;
    }
    
    .rcom-header .menu li.subitem a {
    	font-size: 14px;
    }
    
    .rcom-header .toggle {
	    width: 30px;
        margin-top: -10px;
	}
}

/* Desktop menu */

@media all and (min-width: 960px) {
	/* overwriting the `container` coming from ns-core */
	.container {
		padding-top: 0;
	}
	
	.rcom-header {
		height: unset;
	}
	
	.rcom-header .menu, .rcom-header .menu-top {
		margin: 0 auto;
	
	}
	
	.rcom-header .menu-top {
		max-width: 100%;
	}
	
	.rcom-header .item.rcom-renew {
		margin-top: 0;
		border: none;
	}

    .rcom-header .menu {
        align-items: flex-start;
        flex-wrap: wrap;
        background-color: #fff;
        padding: 0 5%;
        position: relative;
        width: auto;
        z-index: 2;
   		justify-content: center;
   		border-top: 0.07rem solid #DCDCDC;
   		border-bottom: 1px solid #f0f0f0;
    }

    .rcom-header .menu .item.rcom-support, 
    .rcom-header .menu .item.rcom-account, 
    .rcom-header .menu .item.rcom-cart, 
    .rcom-header .menu .item.rcom-logo,
    .rcom-header .menu .item.rcom-blog,
    .rcom-header .menu .item.rcom-support__online,
    .rcom-header .rcom-icon--drill-right,
    .rcom-header .background-filler {
        display: none;
    }

    .rcom-header .menu-top .item.rcom-support, 
    .rcom-header .menu-top .item.rcom-account, 
    .rcom-header .menu-top .item.rcom-cart, 
    .rcom-header .menu-top .item.rcom-logo,
    .rcom-header .menu-top .item.rcom-blog {
        display: block;
    }
    
    .rcom-header .menu-top .item.rcom-support, 
    .rcom-header .menu-top .item.rcom-cart, 
    .rcom-header .menu-top .item.rcom-blog {
        margin-right: 25px;
    }

    .rcom-header .item.rcom-support,
    .rcom-header .item.rcom-account,
    .rcom-header .item.rcom-cart,
    .rcom-header .item.rcom-logo {
        padding-top: inherit;
    }
    
    .rcom-header .menu-top li a {
	    font-size: 14px;
		font-weight: 300;
	}



    .rcom-header .row-break {
        flex-basis: 100%;
        height: 0;
    }

    .rcom-header .item {
        order: 3;
        position: relative;
        display: block;
        width: auto;
        box-shadow: none;
    }

    .rcom-header .item.rcom-support, 
    .rcom-header .item.rcom-account, 
    .rcom-header .item.rcom-cart, 
    .rcom-header .item.rcom-logo,
    .rcom-header .item.rcom-blog {
        order: 1;
    }
    
    .rcom-header .item.rcom-support:hover > a, 
    .rcom-header .item.rcom-account:hover > a, 
    .rcom-header .item.rcom-cart:hover > a, 
    .rcom-header .item.rcom-logo:hover > a,
    .rcom-header .item.rcom-blog:hover > a {
        border-bottom: none;
    }

    .rcom-header .button {
        order: 2;
    }

    .rcom-header .submenu-active .submenu {
        display: block;
        position: absolute;
        padding: 10px;
        left: 10px;
        top: 53px;
        background: #fff;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    }

    .rcom-header .toggle {
        display: none;
    }

    .rcom-header .submenu-active {
        border-radius: 0;
    }
    
    .rcom-header .submenu.submenu__divided li.subitem {
    	display: flex; 
    	justify-content: space-around;
    }
    
    .rcom-header .submenu.submenu__divided li.subitem header {
		padding: 10px 0;
    	font-weight: bolder;
    	margin-left: 24px;
    }

    .rcom-header .submenu.submenu__divided li.subitem a {
    	width: 230px;
    	padding: 5px 20px;
    	margin: 0 5px;
    }
    
    .rcom-header .submenu.submenu__divided .submenu-divider {
    	width: 1px;
    	height: 100px;
    	background-color: rgba(0,0,0,0.3);
    	margin-top: 10px;
    }

    .rcom-header .item {
        margin: initial;
    }
    
    .rcom-header .item.rcom-renew a {
        color: #114A9B;
        text-transform: uppercase;
    }

	.rcom-header .has-submenu > a {
		border-bottom: 4px solid rgba(0,0,0,0);
	}

    .rcom-header .has-submenu>a::after {
        content: "";
    }

    .rcom-header .menu li.subitem a {
        padding: 10px 20px;
        width: 360px;
    }

    .rcom-header .menu li.subitem a:hover {
        background-color: #efe7f5;
        border-radius: 4px;
    }

    .rcom-header .item.back-to-main.active {
        display: none;
    }

    .rcom-header .item.item-hidden {
        display: block;
    }

    .rcom-header .item.submenu-active > a {
        color: #114A9B;
        border-bottom: 1px solid #114A9B;
    }

    .rcom-header .menu li a, 
    .rcom-header .menu-top li a {
        display: inline-block;
        padding: 15px 4px;
    }
    
    .rcom-header .menu li a {
    	padding: 10px 4px;
    }

    .rcom-header .item:hover > a {
        color: #114A9B;
        border-bottom: 4px solid #114A9B;
    }
    
    .rcom-header .item:hover > a {
        color: #114A9B;
        border-bottom: 1px solid #114A9B;
    }

    .rcom-header .has-submenu:hover .submenu {
        display: block;
        position: absolute;
        background-color: #fff;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        top: 45px;
        padding: 10px;
    }
    
    .rcom-header .account-dropdown {
    	display: none;
		position: absolute;
	    top: 50px;
	    right: 5px;
	    width: 248px;
	    background: #fff;
	    border-radius: 3px;
	    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.12), 0px 4px 6px rgba(0, 0, 0, 0.06);
	    border: 1px solid #DEDEDE;
	    z-index: 100000;
	    list-style: none;
	    padding: 15px 0 15px 0;
	    margin: 0;
    }
    
    .rcom-header .account-dropdown li {
    	margin: 0;
    	padding: 0;
    	text-align: left;
    	height: 34px;
    }
    
    .rcom-header .account-dropdown li a {
		width: 100%;
    	display: inline-block;
    	padding: 7px 24px;
    	line-height: 20px;
   		font-size: 14px;
    	color: #000;
    	text-decoration: none;
    }
    
    .rcom-header .account-dropdown::before,
    .rcom-header .account-dropdown::after {
    	content: " ";
    	position: absolute;
    	border-top: none;
    }
    
    .rcom-header .account-dropdown::before {
    	right: 10px;
    	top: -7px;
    	border-right: 10px solid transparent;
    	border-left: 10px solid transparent;
    	border-bottom: 7px solid #DEDEDE;
    }
    
    .rcom-header .account-dropdown::after {
		right: 12px;
	    top: -6px;
	    border-right: 8px solid transparent;
	    border-left: 8px solid transparent;
	    border-bottom: 6px solid #fff;
    }
    
    .rcom-header .background-filler {
    	z-index: 2;
    }

	.rcom-header .item.rcom-logout {
		display: none;
	}
}