#verticals > li > a, 
#useful-links > li > a,
#useful-links > a{
	font-weight:normal;
	color:#333;
	text-transform:lowercase;
	font-size:14px;
	font-family:'Droid Serif',serif;
}
#verticals > li > a span, #useful-links > li > a span{
	color:#335383;
	font-weight:bold;
}
#useful-links > a{
	line-height:34px;
	padding-right: 0;
}
#useful-links:hover > a:after {
	border-top-color: #335383;
}
#masthead-logo{
	width:170px;
	height:25px;
	display:block;
	background-image:url('#file({'filename': 'east-anglian-daily-times-logo-tablet.png', 'contentId': $content.contentId, '':''})');
	background-size: 170px 25px;
	left:20px;
	top:36px;
}
@media(max-width:649px){
	#masthead-logo{
		background-image:url('#file({'filename': 'east-anglian-daily-times-logo-mobile.png', 'contentId': $content.contentId, '':''})');
	}
}
#header-extras .estd {
	position:absolute;
	left:80px;
	top:15px;
	font-family: "Times New Roman",serif;
	font-size: 11px;
}
.navbar-default .navbar-toggle .icon-bar{
	background-color: #335383;
}
.site-search .btn, 
.site-search .btn:active, 
.site-search .btn.active{
    width:18%;
    height:38px;
    margin:0 0 0 2%;
    background: #020202;
    display: inline;
    vertical-align:top;
    z-index:1001;
	background: url('#file({'filename': 'magnifying-glass.png', 'contentId': $content.contentId, '':''})') #335383 no-repeat center center;
	border:none;
	border-top-right-radius:3px;
	border-bottom-right-radius:3px;
    color:#fff;
    line-height:22px;
    font-size:16px;
    width:50px;
    display:block;
    position:absolute;
    top:0;
    right:0;
	text-indent: -9999px;
	transition:background 0.2s;
	background-size:21px;
}
#frm-search-term{
	box-shadow:0 0 10px 0 #ddd inset;
}

#search-button{
	background-image:url('#file({'filename': 'magnifying-glass-mobile.png', 'contentId': $content.contentId, '':''})');
	background-size:29px;
	right:70px;
}

@media screen and (-webkit-min-device-pixel-ratio: 2){
	#search-button{
		background-image:url('#file({'filename': 'magnifying-glass-mobile-x2.png', 'contentId': $content.contentId, '':''})');
	}
	.site-search .btn, 
	.site-search .btn:active, 
	.site-search .btn.active{
		background-image: url('#file({'filename': 'magnifying-glass-x2.png', 'contentId': $content.contentId, '':''})');
	}
}
@media (min-width: 650px) {
	.header-content .site-search, 
	.search-open .header-content .site-search{
		width:215px;	
	}
	#frm-search-term{
		width: calc(100% - 48px);
	}
	#masthead-logo{
		width:280px;
		height:42px;
		display:block;
		background-image:url('#file({'filename': 'east-anglian-daily-times-logo-tablet-small.png', 'contentId': $content.contentId, '':''})');
		background-size:280px 42px;
		top:47px;
	}
	#header-extras .estd {
		top:23px;
		left:135px;	
	}
}
@media (min-width:650px) and (-webkit-min-device-pixel-ratio: 2){
	#masthead-logo{
		background-image:url('#file({'filename': 'east-anglian-daily-times-logo-tablet-small-x2.png', 'contentId': $content.contentId, '':''})');
	}
}
@media (min-width: 720px) {
	.header-content .site-search, 
	.search-open .header-content .site-search{
		width:225px;	
	}
	#masthead-logo{
		width:325px;
		height:50px;
		display:block;
		background-image:url('#file({'filename': 'east-anglian-daily-times-logo-tablet.png', 'contentId': $content.contentId, '':''})');
		background-size:325px 50px;
		top:44px;
	}
	#header-extras .estd {
		top:23px;
		left:157px;	
	}
}
@media (min-width:730px) and (-webkit-min-device-pixel-ratio: 2){
	#masthead-logo{
		background-image:url('#file({'filename': 'east-anglian-daily-times-logo-tablet-x2.png', 'contentId': $content.contentId, '':''})');
	}
}

@media (min-width: 1024px) {
	.header-content .site-search, 
	.search-open .header-content .site-search{
		display:none;	
	}
	#masthead-logo{
		margin:0 auto;
		position:relative;
		top: 20px;
		left:0;
		background-image: url('#file({'filename': 'east-anglian-daily-times-logo.png', 'contentId': $content.contentId, '':''})');
		background-size: 409px 63px;
		width: 409px;
		height: 63px;
	}
	#header-extras .estd {
		position: relative;
		top: 20px;
		left: 0;
		display: block;
		text-align: center;
	}
	#header-extras{
		min-height: 125px;
	}
	
}

#header-extras .e-edition{
	display:block;
	position: absolute;
	width:230px;
	right: 40px;
	bottom: -31px;
}
#header-extras .e-edition:after{
	content:'';
	display:block;
	width:216px;
	height:116px;
	background-image:url('#file({'filename': 'e-edition-mask.png', 'contentId': $content.contentId, '':''})');
	position: absolute;
	top: -15px;
	left: -46px;	
}
#header-extras .e-edition a{
	position:absolute;
	right:0;
	top:12px;	
	width:100px;
	font-family:'Droid Serif',serif;
	z-index: 1;
	color:#333;
	text-decoration:none;
}
#header-extras .e-edition a span{
	display:block;
	color:#335383;
	font-size:16px;
}
#header-extras .transform{
	display:block;
	perspective: 100px;
	-webkit-perspective: 100px;
	perspective-origin: 50% 75%;
	width:200px;
}
#header-extras .transform img{
	-moz-transform: rotateY(-13deg);
	-webkit-transform: rotateY(-13deg);
	transform: rotateY(-13deg);
	width: 115px;
	display: block;
}
#header-extras .weather-widget{
	position:absolute;
	top: 20px;
	left: 30px;
	width: 300px;
}
#header-extras .weather-widget .weather-description{
	display:none;
}
#header-extras .weather-max-temp,
#header-extras .weather-min-temp{
	position:relative;
	padding:20px 0 0 0;
	float:left;
	color:#b2b2b2;
	font-size:12px;
	margin: 28px 0 0 10px;
}
#header-extras .weather-link{
	display:none;
}
#header-extras .weather-max-temp > span,
#header-extras .weather-min-temp > span{
	color:#c51616;
	font-size:28px;
	font-family:'Droid Serif';
	font-weight: 600;
	position:absolute;
	top:0;
	left:0;
}
#header-extras .threshold-under > span{
	color:#50aac7;
}
#header-extras .weather-max-temp span span,
#header-extras .weather-min-temp span span{
	color:#666;
	font-size:18px;

}
.weather-widget .forcast .weather-image img{
	display:none;	
}
.weather-widget .forcast .weather-image{
	width: 90px;
	height: 90px;

	background-size:100%;
}

.weather-widget .forcast.overcast  .weather-image{ background-image:url('#file({'filename': 'weather-icon-7.svg', 'contentId': $content.contentId, '':''})'); }
.weather-widget .forcast.cloudy  .weather-image{ background-image:url('#file({'filename': 'weather-icon-8.svg', 'contentId': $content.contentId, '':''})'); }
.weather-widget .forcast.partly-cloudy  .weather-image{ background-image:url('#file({'filename': 'weather-icon-9.svg', 'contentId': $content.contentId, '':''})'); }
.weather-widget .forcast.heavy-rain  .weather-image{ background-image:url('#file({'filename': 'weather-icon-12.svg', 'contentId': $content.contentId, '':''})'); }
.weather-widget .forcast.heavy-showers  .weather-image{ background-image:url('#file({'filename': 'weather-icon-4.svg', 'contentId': $content.contentId, '':''})'); }
.weather-widget .forcast.sunshine-and-showers .weather-image{ background-image:url('#file({'filename': 'weather-icon-2.svg', 'contentId': $content.contentId, '':''})'); }
.weather-widget .forcast.snow  .weather-image{ background-image:url('#file({'filename': 'weather-icon-1.svg', 'contentId': $content.contentId, '':''})'); }
.weather-widget .forcast.sunny  .weather-image{ background-image:url('#file({'filename': 'weather-icon-10.svg', 'contentId': $content.contentId, '':''})'); }
.weather-widget .forcast.rain  .weather-image{ background-image:url('#file({'filename': 'weather-icon-3.svg', 'contentId': $content.contentId, '':''})'); }

@media (max-width: 1023px) {
	#header-extras .e-edition,
	#header-extras .weather-widget{
		display:none;	
	}
}

@media screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 1024px) {
	#masthead-logo{
		background-image:url('#file({'filename': 'east-anglian-daily-times-logo-x2.png', 'contentId': $content.contentId, '':''})');		
	}
}












