/* 
 * =~=~=~=~=~=~=~=~=~=~=~=~=~=~=
 * MapQuest Template Stylesheet 
 * =~=~=~=~=~=~=~=~=~=~=~=~=~=~=
 * site layout for interior pages
 *
 * TOC
 * =~=~=~=~=~=~=~=~=~=~=~=~=~=~=
 * - layout
 * - site sections
 * - subpages
 * - floats
 * - headers and footers
 */
 
/*
 * LAYOUT
 */ 
body	{
	margin: 10px;
	padding: 0;
}

/* defaults */
.leftwrapper	{
	float: left;
	width: 0;
}
.mainwrapper	{
	float: left;
	width: 760px;
}
.rightwrapper	{
	float: left;
	width: 0;
}

/*
 * SITE SECTIONS
 */
#formpage	{
	margin-top: 0px;
}

/* content well */
.main, .side	{
	float: left;
}

.well	{
	margin-left: 10px;
}

.half	{
	float:left;
	width: 50%;
}

/*total interior container/content is 745px*/
 
/* form pages - sets column widths*/
#dirs #formpage .main, #dirs #formpage .side	{
	width: 370px;
	margin-top: 5px;
}
#dirs #formpage .side .well	{
	margin-left: 5px;
}
#dirs #formpage .panel	{
	padding: 5px 10px 20px;
}

#maps #formpage .mainwrapper .content	{
	margin-top: 0;
}
#maps #formpage .main	{
	width: 393px;
	margin-top:5px;
}
#maps #formpage .side	{
	width: 352px;
	margin-top:5px;
}

#mobile #formpage .main	{
	width: 335px;
	margin-top: 5px;
}
#mobile #formpage .side	{
	width: 405px;
	margin-top: 5px;
}



/* listing-results pages */
#dirs #results .leftwrapper	{
	width:1px;
}
#dirs #results .mainwrapper, #maps #results .mainwrapper	{
	width: 542px;
}
#dirs #results .rightwrapper, #maps #results .rightwrapper	{
	width: 218px;
}
#dirs #results .rightwrapper .content, #maps #results .rightwrapper .content	{
	margin: 5px 0 0 10px;
}

.mainwrapper .content, #container	{/*sets content margins*/
	margin: 0px 0 10px 0px;
}

/*
 * SUBPAGES (pop-ups)
 */
#subpage	{
	margin: 10px;
}
#subpage h1	{
	margin: 5px;
}
#subpage h1 img	{
	margin-right: 10px;
	vertical-align: middle;
}

/* 
 * FLOATS
 */
.clear:after	{
	display: block;
	visibility: hidden;
	clear: both; 
	height: 0; 
	content: "."; 
}
.clear {display: inline-block;}
/* show iewin - hide iemac hack  \*/
* html .clear {height: 1%;}
.clear {display: block;}
/* end hack */
	
.clearie, .fltc	{	/* js-dom script inserts old style float clear for IEmac (depreciated) */
	clear: both;
	line-height: 1px;
}

.fltl	{
	float: left;
}
.fltr	{
	float: right;
}

/*
 * HEADERS AND FOOTERS
 */
#header	{
	margin: 12px 0 8px 0;
}
#header img#navmq	{
	margin: 0 20px 0 0;
}
#header span img	{
	margin-right: 10px;
}

#footer	{
	margin: 10px 0 12px;
}
#footer h5, #provider img	{
	padding-top: 5px;
	padding-bottom: 6px;
}
