/*Reset*/
/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
@import url(https://fonts.googleapis.com/css?family=Muli:300,400|Merriweather:300,400,700);

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, input, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font-weight: normal;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*Clearfix*/
.group:after {
  content: "";
  display: table;
  clear: both;
}

input:focus{
	outline: none;
}


/*Typography*/

a{text-decoration: none;}

a,a:visited,a:hover{color: inherit;}



/*Universal Layout Styles*/
html{
	background-color:rgb(200,200,200);
}

body{
	margin: 0 auto;
	position: relative;
}

body{
	background-color: white;
}

html,body{
	min-width: 320px;
}


/*Universal Header & Navigation Styles*/

#header-container{
	display: inline-block;
	background-color: white;
	z-index: 1000;
	border-bottom: 2px solid rgb(200,200,200);
}

header{
	margin: 0 auto;
	position: relative;
	vertical-align: middle;
}

header a{
	display: inline-block;
}

header #main-nav a {

	float: left;
	line-height: 11px;
}


header h2{
	font-size: 2.3em;
	font-family: 'Merriweather', Georgia, serif;
}



#right-content{
	float: right;
}

header ul{
	letter-spacing: .1em;
	vertical-align: middle;
}

header h2, header ul, header img{
	display: inline-block;
}

header ul li{
	display: inline-block;
	text-transform: uppercase;
	font-size: 11px;
	font-family: 'Muli',sans-serif;
	letter-spacing: .1em;
}

header ul li span{
	text-transform: uppercase;
}

header a:hover{
	color: rgb(163,45,47);
}

header img{
	vertical-align: top;
}

header img:first{
	margin-left: 0;
}

#mf-login-wrapper{
	display: none;
	z-index: 32;
	width: 100%;
	position: absolute;
	top: 90px;
	background-color: white;
}

#mf-login{
	padding: 10px 30px;
}

#mf-login label{
	padding: 0px 10px;
	text-transform: uppercase;
	font-family: 'Muli',sans-serif;
	font-size: .8em;

}

#mf-login a:hover{
	color: rgb(163,45,47);
}



/*Universal Footer Styles*/

footer{
	text-align: center;
	text-transform: uppercase;
	background-color: rgb(163,45,47);
	color: white;
	font-family: 'Muli',sans-serif;
}

#privacy-link{
	cursor: pointer;
}

.ui-widget-content{
	color: white;
}

.ui-widget-header{
	border:none;
}

.ui-dialog-titlebar-close{
	outline: none;
}

.ui-icon-closethick{
	background: -97px -128px;
}

#privacy-dialog{
	display: none;
	padding: 0 45px 20px;
}

#privacy-dialog h1{
	font-family: 'Muli',sans-serif;
	font-size: 1.4em;
	text-transform: uppercase;
	line-height: 1.4em;
	margin: 0 0 20px 0;
}

#privacy-dialog p{
	font-family: 'Merriweather',Georgia,serif;
	font-size: .8em;
	line-height: 2em;
}

#privacy-dialog a{
	outline: none;
	color: rgb(227,177,73);
}

@media only screen and (min-width: 1280px){
	/*Desktop Styles - Layout */
	body{
		width: 1280px;
		padding:90px 0 0 0;
		border-bottom: 2px solid rgb(200,200,200);
	}

	/*Desktop Styles - Header and Navigation */
	#header-container{
		position: fixed;
		top: 0;
		width: 1280px;
		height: 90px;
	}

	header{
		width: 960px;
		padding: 8px 0px 18px;
	}

	header ul{
		margin: 5px 12px 0px 0px;
		padding: 0 0 20px 0;
	}

	header ul li{
		padding: 0px 12px;
	}

	header > a{
		width: 250px;
		height: 56px;
		background: url("../../images_per_page/header/mf_logo.png") no-repeat;
		margin: 7px 5px 0;
	}

	header > a, #right-content > a{
		vertical-align: middle;
		display: inline-block;
		padding: 0 0 20px 0;
	}

	header img{
		margin: 7px 5px 0;
	}

	#right-content{
		margin-top:22px;
		padding-right: 30px;
	}

	#mobile-menu{
		display: none;
	}

	/*Desktop Styles - Footer*/
	footer{
		padding: 32px 0;
	}

	#footer-content{
		font-size: 0.66em;
		letter-spacing: .04em;
	}

	footer span{
		padding: 0px 2px;
	}
}




/*Universal Styles Less than 1280px*/

@media only screen and (max-width: 1279px){

	body{
		width: 100%;
		padding:90px 0 0 0;
	}
	#header-container{
		width: 100%;
		position: fixed;
		top: 0;
		height: 90px;
	}
	header{
		width: 75%;
		padding: 8px 0px 18px;
	}
	header ul{
		margin: 5px 6px 0px 0px;
		padding: 0 0 20px 0;
	}
	header ul li{
		padding: 0px 6px;
	}
	#right-content{
		float: right;
		margin-top:22px;
		padding-right: 0px;
	}

	header > a{
		width: 250px;
		height: 56px;
		background: url("../../images_per_page/header/mf_logo.png") no-repeat;
		margin: 7px 5px 0;
	}

	header > a, #right-content > a{
		vertical-align: middle;
		display: inline-block;
		padding: 0 0 20px 0;
	}

	header img{
		margin: 7px 5px 0;
	}

	#mobile-menu{
		display: none;
	}

}

/*Styles for large screens */

@media only screen and (max-width: 1279px) and (min-width: 900px){

	header{
		width: 880px;
		margin: 0 auto;
	}

	header ul{
		margin-right: 16px;
	}
	header ul li{
		padding: 0px 12px;
	}
	footer{
		padding: 25px 0;
	}

	footer span{
		padding: 0;
	}

	#footer-content{
		width: 580px;
		margin: 0 auto;
		font-size: .66em;
		line-height: 1.9em;
		letter-spacing: .1em;
	}
}

/*Styles only for medium screens*/

@media only screen and (max-width: 899px) and (min-width:680px){
	body{
		padding:90px 0 0 0;
	}
	#header-container{
		position: fixed;
		top: 0;
		height: 90px;
		border-bottom: 2px solid rgb(200,200,200);
	}
	header{
		width: 95%;
		padding: 8px 0px 18px;
	}
	header h2{
		font-size:1.9em;
	}

	header ul li{
		padding: 0px 6px;
	}

	header > a{
		width: 220px;
		height: 49px;
		background: url("../../images_per_page/header/mf_logo_220.png") no-repeat;
		margin: 10px 5px 0;
	}

	header > a, #right-content > a{
		vertical-align: middle;
		display: inline-block;
		padding: 0 0 20px 0;
	}

	header > a img{
		width: 85%;
		margin-top:10px;
	}

	header img{
		margin: 7px 5px 0;
	}
	#right-content{
		padding-right: 0px;
	}
	#mobile-menu{
		display: none;
	}
	footer{
		padding: 25px 0;
	}

	#footer-content{
		width: 580px;
		margin: 0 auto;
		font-size: .66em;
		line-height: 1.9em;
		letter-spacing: .1em;
	}

	footer span{
		padding: 0px;
	}
}

/* Smaller screen switch to mobile header. */

@media only screen and (max-width: 800px) {
	body{
		padding: 0;
	}
	#header-container{
		position: static;
		height: auto;
	}

	header{
		border-bottom: 2px solid rgb(200,200,200);
		width: 100%;
	}

	header > a{
		margin: 10px 5px 0 6%;
		width: 220px;
		height: 49px;
		background: url("../../images_per_page/header/mf_logo_220.png") no-repeat;
	}

	header > a img{
		width: 85%;
		margin-top:10px;
	}

	header h2{
		font-size:1.9em;
	}

	header ul{
		display: none;
	}

	header img{
		margin: 4px 5px 0;
	}

	#right-content{
		padding-right: 10%;
	}

	#mobile-menu{
		display: block;
		text-align: center;
		padding: 20px 0;
		position: static;
		box-sizing:border-box;
	}

	#mobile-menu ul{
		display: none;
		margin: 8px 0 0 0;
	}

	#mobile-menu ul li{
		text-transform: uppercase;
		font-size: 18px;
		line-height: 34px;
		font-family: 'Muli',sans-serif;
		letter-spacing: .1em;
		color: rgb(163,45,47);
	}

	footer{
		padding: 25px 0;
	}

	#footer-content{
		width: 420px;
		margin: 0 auto;
		font-size: .8em;
		line-height: 1.9em;
	}

	#footer-content span:nth-child(2), #footer-content span:nth-child(4){
		display: none;
	}
}

/*Styles for mobile screens*/

@media only screen and (min-width: 480px) and (max-width: 679px){
}

@media only screen and (max-width: 479px){
	body{
		padding: 0;
	}
	#header-container{
		position: static;
		height: auto;
	}

	header{
		border-bottom: 2px solid rgb(200,200,200);
		width: 100%;
	}

	header > a{
		width: 220px;
		height: 49px;
		background: url("../../images_per_page/header/mf_logo_220.png") no-repeat;
		margin: 10px 5px 0 5%;
	}

	header > a img{
		width: 85%;
		margin-top:10px;
	}

	header h2{
		font-size:1.9em;
	}

	header ul{
		display: none;
	}

	header img{
		margin: 4px 3px 0;
	}

	#right-content{
		padding-right: 2%;
	}

	#mobile-menu{
		display: block;
		text-align: center;
		padding: 20px 0;
		position: static;
		box-sizing:border-box;
	}

	#mobile-menu ul{
		display: none;
		margin: 8px 0 0 0;
	}

	#mobile-menu ul li{
		text-transform: uppercase;
		font-size: 18px;
		line-height: 34px;
		font-family: 'Muli',sans-serif;
		letter-spacing: .1em;
		color: rgb(163,45,47);
	}

	footer{
		padding: 25px 0;
	}

	#footer-content{
		width: 300px;
		margin: 0 auto;
		font-size: .65em;
		line-height: 1.8em;
	}

	#footer-content span:nth-child(2), #footer-content span:nth-child(4){
		display: none;
	}
}
