/*

**************************************************************************************
**************************************************************************************
**************************************************************************************

Header

Author: MG
Version: v1.0.0

**************************************************************************************
**************************************************************************************
**************************************************************************************

*/

/* Resets */

#r-siteHeader ul{
	margin: 0;
	padding: 0;
}

#r-siteHeader li{
	list-style: none;
}

#r-searchWrapper #searchArea-4 input, #r-searchWrapper #searchArea-4 input#searchKeyWords{
	-webkit-appearance: none;
    border-radius: 0;
}

#r-siteHeader{
	line-height: 1em;
}
#r-siteHeader a, #r-searchWrapper #searchArea-4 input:focus, #r-searchWrapper #searchArea-4 input#searchKeyWords{
	-webkit-tap-highlight-color: rgba(0,0,0,0); 
}

#searchCon{
	display: none;
	visibility: hidden;
}

a:link, a:visited, a:active{
	text-decoration: none;
}
a:hover{
	text-decoration: underline;
}

/* pull left */
.pull-left{
	float: left;
}

.pull-left:first-child{
	margin: 0;
}

/* clear floats */
.cf:before,
.cf:after {
    content: "";
    display: table;
} 
.cf:after {
    clear: both;
}

/* Grid */
.group:before,
.group:after {
    content: "";
    display: table;
} 
.group:after {
    clear: both;
}
.group {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}

header .col {
    padding: 0;
}
.col{
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	padding-left: 1em;
	padding-right: 1em;
	width: 100%;
	float: left;
}
.col:last-of-type{
	padding-right: 0;
}

.hideSmallTablet{
	display: none;
	visibility: hidden;
}

@media only screen {

	.small-1{
		width: 8.33333333333333%;
	}
	.small-2{
		width: 16.6666666666667%;
	}
	.small-3{
		width: 25%;
	}
	.small-4{
		width: 33.3333333333333%;
	}
	.small-5{
		width: 41.6666666666667%;
	}
	.small-6{
		width: 50%;
	}
	.small-7{
		width: 58.3333333333333%;
	}
	.small-8{
		width: 66.6666666666667%;
	}
	.small-9{
		width: 75%;
	}
	.small-10{
		width: 83.3333333333333%;
	}
	.small-11{
		width: 91.6666666666667%;
	}
	.small-12{
		width: 100%;
	}
}

@media only screen and (min-width: 37.563em) {

	.medium-1{
		width: 8.33333333333333%;
	}
	.medium-2{
		width: 16.6666666666667%;

	}
	.medium-3{
		width: 25%;
	}
	.medium-4{
		width: 33.3333333333333%;
	}
	.medium-5{
		width: 41.6666666666667%;
	}
	.medium-6{
		width: 50%;
	}
	.medium-7{
		width: 58.3333333333333%;
	}
	.medium-8{
		width: 66.6666666666667%;
	}
	.medium-9{
		width: 75%;
	}
	.medium-10{
		width: 83.3333333333333%;
	}
	.medium-11{
		width: 91.6666666666667%;
	}
	.medium-12{
		width: 100%;
	}
}

@media only screen and (min-width: 50.063em) { /* landscape ipad */

	.medium-ls-1{
		width: 8.33333333333333%;
	}
	.medium-ls-2{
		width: 16.6666666666667%;
	}
	.medium-ls-3{
		width: 25%;
	}
	.medium-ls-4{
		width: 33.3333333333333%;
	}
	.medium-5{
		width: 41.6666666666667%;
	}
	.medium-ls-6{
		width: 50%;
	}
	.medium-ls-7{
		width: 58.3333333333333%;
	}
	.medium-ls-8{
		width: 66.6666666666667%;
	}
	.medium-ls-9{
		width: 75%;
	}
	.medium-ls-10{
		width: 83.3333333333333%;
	}
	.medium-ls-11{
		width: 91.6666666666667%;
	}
	.medium-ls-12{
		width: 100%;
	}
}

@media only screen and (min-width: 64.063em) {

	.large-1{
		width: 8.33333333333333%;
	}
	.large-2{
		width: 19.6666666666667%;
	}
	.large-3{
		width: 25%;
	}
	.large-4{
		width: 33.3333333333333%;
	}
	.large-5{
		width: 41.6666666666667%;
	}
	.large-6{
		width: 50%;
	}
	.large-7{
		width: 58.3333333333333%;
	}
	.large-8{
		width: 66.6666666666667%;
	}
	.large-9{
		width: 75%;
	}
	.large-10{
		width: 80.3333333333333%;
	}
	.large-11{
		width: 91.6666666666667%;
	}
	.large-12{
		width: 100%;
	}
}

/*////////////////////////////////////////////////////////////////////////////////////
Header styles
////////////////////////////////////////////////////////////////////////////////////*/

/* Typography */
#r-siteHeader{
	background-color: #FFF;
	font-family: 'GibsonLight',Arial,Helvetica,sans-serif;
	font-weight: normal;
}

#r-hdGreeting, #r-hdAccountList, #gotoCheckOutContainerLink, #r-secondaryNav{
	font-family: 'GibsonRegular',Arial,Helvetica,sans-serif;
	font-weight: normal;
}
#r-hdTelephone{
	font-family: 'GibsonSemiBold',Arial,Helvetica,sans-serif;
	font-weight: normal;
}

p#r-hdGreeting,
#r-searchWrapper #searchArea-4 input#searchKeyWords,
#r-hdAccountList,
#gotoCheckOutContainerLink,
#r-hdContact{
	font-size: 12px !important;
}

p#r-hdTelephone{
	font-size: 16px;}

#r-hdTelephone a:hover, #r-hdTelephone a:focus{
	color: #000;
	text-decoration: none !important;
}

/* Layout */

#r-siteHeader{
	padding: 6px 0;
	width:100%;
}

#r-hdBranding figure{
	margin: 0;
}

#r-hdBranding span{
	display: none;
	visibility: hidden;
}


#hdDelivery{ /* 05/11? */
	float: right;
	margin-right: 1.3em;
}

/* Logo  */
#r-hdBranding {padding-left:0.3em;}

#r-hdBranding a {	
	display: block;
	margin: 0px !important;
	width: 190px;
	height: 80px;
	background: url('/repo/IHM/desktop/header/02-images/IHM_logo.png') -0px 5px no-repeat transparent;
}

#r-searchWrapper #searchArea-4 p.title{
	display: none;
	visibility: hidden;
}

#basketItems{
	position:absolute;
	left:32px;
	color:#fff;
	top:9px;
	display:block;
	z-index:2;
}
		
#basketItems:before{
	float:left;
	display:inline-block;
	content:"(";}
	
#basketItems:after{
	float:left;
	display:inline-block;
	content:")";}

#r-hdGreeting{
	margin-left: 10px;
	float: left;
}

#r-hdAccountList{
	float:right!important;
	position:relative;
	padding:0!important;
}

#r-hdAccountList ul li{
	display: inline-block;
}

#r-hdAccountList ul li a{
	font-family: 'GibsonRegular',Arial,Helvetica,sans-serif;
	height: 4px;
	padding: 0 5px;
	border-right: 1px solid #000;
}

#r-hdAccountList ul li:last-child a{
	padding-right: 0;
}

#r-hdAccountList ul li:last-child a{
	border: 0;
}
#phone-number {
	padding-left:27px;
	position:relative;
	top:2px;
	*top:4px;
	font-family:'GibsonSemiBold',Arial,Helvetica,sans-serif;
	font-size:17px;
	background:url('/repo/IHM/desktop/header/02-images/ihm-desk-tab-sprites.png') no-repeat -224px -622px transparent;
}
#phone-charges {
	font-family:Arial,Helvetica,sans-serif;
	font-size:7px;
	position:absolute;
	right:0;
	bottom:1px;
	color:#777;
}

#r-hdGreeting p, #r-hdAccountList ul{
	font-family: 'GibsonRegular',Arial,Helvetica,sans-serif;
	margin: 0 0 15px 0;
	padding: 0;
}

#r-searchWrapper{
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	width: 100%;
	float: right;
}

.r-searchWrapperInner{
	width: 80%;
}

#r-searchWrapper #searchArea-4{
	clear: both;
	position: relative;
	top: 0;
	left: 0;
	height: auto;
	max-width: none;
	width: 56%;
	float: left;
	margin: 0 0 0 10px;
}

#r-searchWrapper #searchArea-4 input#searchKeyWords{
	position: relative;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	height: 32px !important; /* being over ridden in JDW_styles.css */
	width: 100%;
	padding: 0 40px 0 10px !important;
	margin: 0;
	border: 0;
	color: #808080;
	border: 1px solid #949494;
}

#r-searchWrapper #searchArea-4 #r-searchButton, #r-searchWrapper #searchArea-4 .searchButton{
	display: block;
	position: absolute;
	width: 32px;
	height: 32px;
	bottom: 0;
	right: 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-indent: -9999px;
	z-index: 9999;
}

#gotoCheckOutContainerLink{
	font-family: 'GibsonRegular',Arial,Helvetica,sans-serif;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	float: right;
	height: 32px;
	width:auto;
	min-width: 115px;
	margin: 0;
	padding:0 !important;
	position:relative;
	background-color: #8FA190;
}

#gotoCheckOutContainerLink span{
	font-family: 'GibsonRegular',Arial,Helvetica,sans-serif;
	position: relative;
	padding: 9px;
}

#basketItems span{
	padding:0 1px;
	float:left;
	display:inline-block;}

/*#gotoCheckOutContainerLink span span{
	text-indent: 26px;
	padding: 0;
} */

#gotoCheckOutContainerLink span.checkout{
	text-indent: 24px;}

#gotoCheckOutContainerLink p{
	margin: 0;
	padding: 0;
	color: #FFF;
}
#gotoCheckOutContainerLink p a,
#gotoCheckOutContainerLink p a:link,
#gotoCheckOutContainerLink p a:visited{
	font-family: 'GibsonRegular',Arial,Helvetica,sans-serif;
	background: none;
	padding: 0;
	color: #FFF;
	display: inline-block;
}

#numBagItemsSection{
	font-size: 12px;
}

.basket{
	cursor: pointer;
}

.basket, .checkout{
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	text-align: center;
	display: inline-block;
	width: 100%;
	font-size: 12px;
}

p#r-hdTelephone{
	font-family: 'GibsonSemiBold',Times,Helvetica,sans-serif !important;
	margin: 6px 0;
	float: left;
	padding: 0;
	text-align:right;
}

p#r-hdCallRate{
	clear:both; /* 5/11? */
	display: inline-block;
	text-align:right;
	font-size: 8px;
	margin: 7px 7px 7px 12px;
	padding: 0;
}

#r-hdContact{ /* 05/11? */
	position:relative;
	float:right;
}

header #r-hdContact #r-hdCreditMessage{
	position:absolute;
	right:0;
	top:1px;
	margin:0;
	font-family: 'GibsonRegular',Arial,Helvetica,sans-serif;
	font-size: 11px;
	white-space: nowrap;
}

#r-hdSafeSecure span{
	margin-left: 6px;
}

#r-hdSafeSecure:hover i{
	background-position: right -301px;
}

.displayTablet, .hideTablet{
	display: inline-block;
	visibility: visible;
}

.displayDesktop{
	display: none;
	visibility: hidden;
}

.displayDesktop a { color:#000000;}

@media only screen and (min-width: 40.063em) {
	
	.hideSmallTablet{
		display: inline-block;
		visibility: visible;
	}

	#r-siteHeader{
		margin-top: 0;
		padding: 6px 0;
	}

	/*#r-hdBranding a{
		margin: 8px 0 0 -10px;
	}*/
	
	p#r-hdTelephone{
		float: none;
		display: block;
		text-align: right;
		margin: 0 16px 0 0;
		font-size: 16px !important;
	}
	p#r-hdCallRate{
		float: right;
		text-align: right;
		font-size: 8px;
		margin: 0 16px 0 0;
	}
	
	#r-hdGreeting{
		margin-left: 0;
	}

	#gotoCheckOutContainerLink{
		max-width: none;
		width: 26%;
	}
	.searchWrapper{
		max-width: none;
		width: 100%;
	}
	
	#r-searchWrapper #searchArea-4{
		margin: 0;
		width: 62%; /* 05/11? */
	}
	
	#r-searchWrapper #searchArea-4 p.title{
		display: none;
		visibility: hidden;
	}
	
	input#searchKeyWords{
		max-width: none;
		width: 100%;
	}
	#r-hdContact p{
		font-family:'GibsonLight',Arial,Helvetica,sans-serif;
		text-align: right;
	}

	#r-hdContact #r-hdCreditMessage{
		margin: 18px 16px 0 0;
	}
}

@media only screen and (min-width: 50.063em) {

	/*#r-hdBranding a{
		margin: 5px 0 0 -10px;
		width: 160px;
		height: 60px;
		background-size:320px auto; 
		background-position: 0 -442px;
	}*/
	
	#r-hdAccountList ul li a{
		padding: 0 10px;
		color:#000000;
	}
 
	#gotoCheckOutContainerLink .checkout i{
		display: none;
		visibility: hidden;
	}

	.searchWrapper{
		padding: 0;
		background-color: transparent;
	}

	#gotoCheckOutContainerLink{
		width: 35%;
		padding: 0;
	}

	#r-searchWrapper #searchArea-4{
		max-width: none;
		width: 59%;
	}

	#r-hdContact #r-hdCreditMessage{
		margin: 18px 16px 0 0;
	}

	.basket, .checkout{
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		height: 32px;
		float: left;
		text-align: center;
	}

	.basket{
		text-indent: 34px;
		width: 65%;
		color: #000;
		background-color: #f1f1f1;
	}
	
	#gotoCheckOutContainerLink span.checkout{
		text-indent: 0;
		width: 35%;
	}
	.displayTablet{
		display: none;
		visibility: hidden;
	}
	
	.displayDesktop{
		display: inline-block;
		visibility: visible;
	}
	
	#basketItems{
		color:#000;
		left: 26px;}
		
	#basketItems:before, #basketItems:after{
		content:"";
		display:none;}
		
	#basketItems span{
		padding:0;
		width:16px;
		text-align:center;}
}

@media only screen and (min-width: 64.063em) {
	
	/* Layout */	
	#r-siteHeader, #r-innerPageContainer, nav#r-LM_topNavigation, #r-secondaryNav {
		margin: 0 auto;
	}
	/*#r-hdBranding a{
		margin: 0px 0 0 -10px;
		width: 160px;
		height: 60px;
	}*/
	p#r-hdTelephone a{
		pointer-events: none;
		-ms-touch-action: none;
	}
	p#r-hdTelephone{
		font-size: 15px !important;
		margin-right: 0;
	}
	p#r-hdCallRate{
		margin-right: 0;
	}
	p#r-hdTelephone a:hover, p#r-hdTelephone a:focus{
		color: inherit;
	}
	p#r-hdTelephone a:hover i, p#r-hdTelephone a:focus i{
		background-position: left -317px;
	}

	#r-secondaryNav{
		padding: 7px 0;
		background-color: #f1f1f1;
		text-align: left;
	}
	#r-secondaryNav li:last-child{
		margin-right: 0;
	}
	#r-secondaryNav li:first-child{
		margin-left: 16px;
	}
	#r-secondaryNav li a{
		padding: 7px 0;
		font-size: 11px;
		margin-right: 50px;
		display: inline-block;
		visibility: visible;
	}
	#r-secondaryNav li span{
		text-transform: uppercase;
	}

	#r-secondaryNav li a sup{
		position : relative;
		line-height : 0;
		vertical-align: top;
		top : 0.4em;
	}
	#r-hdContact #r-hdCreditMessage{
		position: relative;
		float: right;
		top: 0;
		margin: 5px 0 -4px;
		padding: 0;
		display: inline-block;
		background: none;
		color: #666;
	}
	

	/* remove styling for telephone number  */
	a[href^="tel"]:link,
	a[href^="tel"]:visited,
	a[href^="tel"]:hover {
		text-decoration: none !important;
		color: inherit;
		cursor: default;
	}
	.hideTablet{
		display: none;
		visibility: hidden;
	}
}

/*@media only screen and (min-width: 70.333em) {
	#r-hdBranding h1,
	#r-hdBranding a{
		margin: 4px 0 0 -16px;
	}
}*/

/* sprites */

#r-searchWrapper #searchArea-4::before{
	content: ' ';
	position: absolute;
	display: block;
	top: 0;
	right: 0;
	width: 32px;
	height: 32px;
	background-color: #8FA190;
	z-index: 2;
}

#r-searchWrapper #searchArea-4::after{
	content: ' ';
	position: absolute;
	display: block;
	top: 8px;
	right: 8px;
	width: 16px;
	height: 16px;
	margin: 0 auto;
	background-image: url('/repo/IHM/desktop/header/02-images/ihm-desk-tab-sprites.png');
	background-position: left bottom;
	background-repeat: no-repeat;
	z-index: 3;
}

#gotoCheckOutContainerLink i{
	position: absolute;
	left: 7px;
	height: 16px;
	width: 16px;
	margin: 0;
	background-image: url('/repo/IHM/desktop/header/02-images/ihm-desk-tab-sprites.png');
	background-position: -191px -625px;
	background-repeat: no-repeat;
}

@media all and (max-width: 50.063em) {
	div#gotoCheckOutContainerLink i {
		background-position:-211px -625px;
	}	
}

/* sprites@2x */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx){
	/*#r-searchWrapper #searchArea-4::after{
		background: url('/repo/IHM/desktop/header/02-images/ihm-desk-tab-sprites@2x.png');
		background-position: -221px -587px ;
		background-size: 350px auto;
	}
*/
	/*#gotoCheckOutContainerLink i{
		background: url('/repo/IHM/desktop/header/02-images/ihm-desk-tab-sprites@2x.png');
	    background-position: -186px -587px;
		background-size: 350px auto;
	}*/
		
	#gotoCheckOutContainerLink span.checkout{
		text-indent: 21px;
	}
	
	.displayTablet{
		text-indent:12px;}
		
	#basketItems{
		width:auto;
		text-align:right;
		left:28px;
		top:9px;}
		
	#basketItems span{
		padding:0;}

}

@media only screen and (min-width: 50.063em) and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-width: 50.063em) and (   min--moz-device-pixel-ratio: 2),
only screen and (min-width: 50.063em) and (     -o-min-device-pixel-ratio: 2/1),
only screen and (min-width: 50.063em) and (        min-device-pixel-ratio: 2),
only screen and (min-width: 50.063em) and (                min-resolution: 192dpi),
only screen and (min-width: 50.063em) and (                min-resolution: 2dppx){
	/*#gotoCheckOutContainerLink i{
		background-position: -211px -625px;
	}*/
	
	#basketItems{
		left:28px;}
		
	#gotoCheckOutContainerLink span.checkout{
		text-indent: 0px;
	}
}
	
#maContentContainer{
	clear:both;}
	
#qtip-4{
	top: 100px !important;}
	
#searchArea-4>#searchForm { margin:0 !important;}

#ff-backtotop {
	background: url("/repo/DAL/desktop/header/02-images/BackToTop.png") #fff no-repeat 15px 15px !important;
	border: 1px solid #000;
	bottom: 20px;
	display: none;
	float: right;
	height: 37px;
	opacity: 0.5;
	padding-top: 15px;
	position: fixed;
	right: 20px;
	text-align: center;
	width: 55px;
	z-index: 2000;
}
#ff-backtotop:hover {
    opacity: 0.8;
}

/* --------- Desktops and laptops ----------- */
@media only screen 
and (min-width : 1224px) {
	#r-hdBranding {padding-left:0 !important;}
}
/* --------- ipad specific ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  {
	#r-hdAccountList {margin-right:10px;}
	#phone-number {
		background:url('/repo/IHM/desktop/header/02-images/ihm-desk-tab-sprites.png') no-repeat -219px -622px transparent;
	}
}
