@media screen and (max-width: 1000px) {
	#responsive-menu {
		margin-top: 92px;
	}
	#constrain-header form.search-form {
		margin: 92px 0 0;
	}
}

@media screen and (min-width : 521px) and (max-width : 767px) {  
	#header {
		background: url(/view/myaccount/images/myaccount_mobile_header_x2.jpg) no-repeat left top #b31932;
	}
}
/* Small-screen & smartphones (portrait and landscape) */
@media	screen and (max-width : 520px),
		screen and (-webkit-min-device-pixel-ratio : 1.3) and (max-width : 640px) and (orientation : landscape),
		screen and (-webkit-min-device-pixel-ratio : 1.3) and (max-width : 480px) and (orientation : portrait),
		screen and (-o-min-device-pixel-ratio: 13/10) and (max-width : 640px) and (orientation : landscape),
		screen and (-o-min-device-pixel-ratio: 13/10) and (max-width : 480px) and (orientation : portrait),
		screen and (min-resolution: 1.3dppx) and (max-width : 640px) and (orientation : landscape),
		screen and (min-resolution: 1.3dppx) and (max-width : 480px) and (orientation : portrait) {

	
	/* Navigation */
	
	.home #header,
	.home #header.v2,
	body #header,
	body #header.v2 {
		background: url(/view/myaccount/images/myaccount_mobile_header.jpg) no-repeat scroll left top #b31932;
    }

    #main-navigation {
    	background: #FFF;
    }
	
	body #main-navigation li a {
		font-size: 100%;
		background:#671015;
		background: -webkit-gradient(linear, 0 0, 0 30, from(#9d1c24), to(#671015));
		background: -webkit-linear-gradient(top, #9d1c24, #671015 30px);
		background: -moz-linear-gradient(top, #9d1c24, #671015 30px);
		background: -o-linear-gradient(top, #9d1c24, #671015 30px);
		background: linear-gradient(to bottom, #9d1c24, #671015 30px);
	}
	
	#main-navigation li.active a {
		background:#9d1c24;
		background: -webkit-gradient(linear, 0 0, 0 30, from(#671015), to(#9d1c24));
		background: -webkit-linear-gradient(top, #671015, #9d1c24 30px);
		background: -moz-linear-gradient(top, #671015, #9d1c24 30px);
		background: -o-linear-gradient(top, #671015, #9d1c24 30px);
		background: linear-gradient(to bottom, #671015, #9d1c24 30px);
		opacity:0.9;
	}

	.my-account dl dt {
		width: 100%;
		font-weight: bold;
		padding: 2px 1em;
	}

	.my-account dl dd {
		width: 100%;
	}

	.my-account dl dd select,
	.my-account dl dd input {
		width: 92%;
	}

	p.edit-section {
		margin: -10px 0 9px 0;
	}
	
	#responsive-menu {
		margin: 0;
	}
	
	#constrain-header form.search-form {
		margin: 50px 0 0;
	}
}

@media screen and (-webkit-device-pixel-ratio : 2) and (max-width : 640px) and (orientation : landscape),
        screen and (-webkit-device-pixel-ratio : 2) and (max-width : 360px) and (orientation : portrait) { 

	.home #header,
	.home #header.v2,
	body #header,
	body #header.v2 {
		background: url(/view/myaccount/images/myaccount_mobile_header_x2.jpg) no-repeat scroll left top #b31932;
		background-size: 320px 50px;
    }
}