/* CSS Resets */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,q,small,strong,sub,sup,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;margin:0;padding:0}article,aside,figure,figure img,figcaption,hgroup,footer,header,nav,section,video,object{display:block}a img{border:0}figure{position:relative}figure img{width:100%}


/* ==================================================================================================================== */
/* ! The 1140px Grid V2 by Andy Taylor \ http://cssgrid.net \ http://www.twitter.com/andytlr \ http://www.andytlr.com   */
/* ==================================================================================================================== */

.container {
   
}

.row {
width: 100%;
max-width: 1140px;
min-width: 755px;
margin: 0 auto;
 
}

.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol {
margin-right: 3.8%;
float: left;
min-height: 1px;
}


.row .fourcol {
width: 30.75%;
}


.row .eightcol {
width: 65.4%;
}


.row .twelvecol {
width: 100%;
float: left;
}

.last {
margin-right: 0px;
}

img, object, embed {
max-width: 100%;
}

img {
	height: auto;
}
#content-block { overflow: hidden;}
#pagewrapper { overflow: hidden;}

/* Mobile */

@media only screen and (max-device-width: 480px)
{
	body {
	font-size: 12px;
	-webkit-text-size-adjust: none;
	    background-color: #ffffff;
	    
	}
	
	.row, body, .container {
	width: 100%;
	min-width: 360px;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 0px;
	padding-right: 0px;
	}
	body
	{
	    background: none;
	}
	
	.row .onecol, .row .twocol, .row .threecol, .row .fourcol, .row .fivecol, .row .sixcol, .row .sevencol, .row .eightcol, .row .ninecol, .row .tencol, .row .elevencol, .row .twelvecol {
	width: auto;
	float: none;
	margin-left: 0px;
	margin-right: 0px;
	padding-left: 20px;
	padding-right: 20px;
	}
	#body {
	    width: 100%;
	    min-height: 0px;
	}
		div#MainBodyArea {
	    background: none;
	    min-height: 0px;
		    border-bottom: solid #cccccc 1px;
	    
	}
	div#header {
	     background: url('/images/logo_mobile.png') no-repeat;
	    height: 70px;
	    
	}
	div#header h1 a { height: 70px;}
	#menuwrapper {
	    height: auto;
	
	}
	#primary-nav {
	    height: auto;
	    
	}
    div#footer {
        background: none;
        width: 100%;
    }
    #primary-nav li {
        border-top: 1px solid white;
        line-height: 20px;
        float: none;
        font-size: 90%;
    }
    #primary-nav li ul {
        display: none;
    }
   div#mainbody {
       border-right: none;
       margin-left: 0px;
       min-height: 0px;
   }
   div#pagewrapper {
       width:100%;
   }
   #header.logo {
       height: 70px;
   }
   #rightnav {
       min-height: 0px;
       border-top: solid #cccccc 1px;
       margin-left: 10px;
   }
   #header-right {
    background-image: none;
    height: 70px;
}
div#pagewrapper{ height: 85px;}
#searchwrapper { margin-left: 10px;}
div#search-text { margin-left: 10px;}

#content-block {
    background: white;
    width: 100%;
}
h2{ line-height: 1.4em;}


}
/*
@media only screen and (-webkit-min-device-pixel-ratio: 2) 
{
     div#header {
	     background: url('/media/077/images/logo_mobile_2.png') no-repeat;
	    height: 70px;
	}
}*/