/* general page styles */

body {
	background-color: #CCCCCC;
	font-family: sans-serif, verdana;
	font-size: 12px;
}

.contentContainer {
	background-color: white;
	/*border: 1px solid black;*/
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: 0;
}

.clearFloat {
	clear: both;
	height: 1px;
	overflow: hidden;
}

.hidden {
	display: none;
}

.floatLeft {
	float: left;
}

.no_margin {
	margin-top: 0;
	margin-bottom: 0;
}

/* universal header stuff */

.headerBlock {
	padding: 0.5% 1%;
}

.contentBlock {
	padding: 1%;
}

.headerBlock {
	/*background-color: #9DD; */
}

.headerLogoBlock {
	float: left;
	width: 150px;
	padding-top: 13px;
	padding-left: 4px;
}

.headerLogoImage {
	float: left;
	margin-right: 5px;
}

a.headerLink:hover, a.imageLink:hover {
	color: black;
	text-decoration: none;
}

a.headerLink, a.imageLink {
	color: black;
	text-decoration: none;
}

.headerText {
	font-size: 1.5em;
}

.headerSubtext {
	font-size: 1.1em;
}


/* Rails errors */

/**********************
		errors
 **********************/

.fieldWithErrors {
	display: inline;
	background-color: red;
	padding-top: 4px;
}

.fieldWithErrors input {
	border: 2px red solid;
}

#errorExplanation {
	width: 600px;
	border: 2px solid red;
	padding: 7px;
	padding-bottom: 7px;
	margin-top: 12px;
	margin-bottom: 12px;
	background-color: #f0f0f0;
}

#errorExplanation h2 {
	text-align: left;
	font-weight: bold;
	padding: 5px 5px 5px 15px;
	font-size: 12px;
	margin: -7px;
	background-color: #c00;
	color: #fff;
}

#errorExplanation p {
	color: #333;
	margin-bottom: 0;
	padding: 5px;
}

#errorExplanation ul li {
	font-size: 12px;
	list-style: square;
}


	/* menu bar */

	.menuBar {
		/*
		border-top: 1px solid black; 
		border-bottom: 1px solid black;
		border-left: 1px solid #CCC;
		font-weight: bold;
		border-right: 1px solid #CCC; */
		padding: 4px 10px; 
		background-color: #377;
	}

	.menuItem a, .menuItem a:hover {
		color: white; /*#0066BB;*/
		text-decoration: none;
	}

	.menuItem {
		margin-right: 25px;
	}

	/* website-specific header stuff */

	.acctBlock {
		float: right;
	}

	.fbConnectPic {
		float: left;
		margin-right: 6px;
	}

	.accountText {
		vertical-align: middle;
		float: right;
		padding-top: 10px;
	}
	
	/* bottom links */

	.bottomLinks {
		margin-top: 30px;
		margin-bottom: 8px;
		text-align: center;
	}

 

	/* front page content */

	.recentMealBox, .mapBox {
		border: 2px solid #666;
		padding: 10px;
	}

	.bigBox {
		margin-top: 10px;
		margin-bottom: 10px;
		width: 99%;
	}

	.center {
		margin: 0 auto;
	}

	.recentMealBox {
		width: 600px;
	}

	.footnote {
		margin: 20px 0;
		font-size: 0.8em;
	}

	.welcomeText {
		font-weight: bold;
	}

	.blogPointer {
		text-align: center;
	}
	/* home page workflow */

	.workflowExplanation {
		text-align: center;
		font-weight: bold;
	}

	.workflow {
		width: 711px;
		height: 154px;
		background-image: url('/images/workflow.png');
		margin: 0 auto;
		position: relative;
	}

	.workflow img {
		position: absolute;
	}

	#thumbnail {
	}

	.workflow img.horizontal {
		left:9px;
		top:34px;
	}

	.workflow img.vertical {
		left:25px;
		top:23px;
	}

	#fblogo {
		left:433px;
		top:56px;
		width:70px;
	}

	#twitterlogo {
		left:462px;
		top:81px;
		width:80px;
	}

	#bloggerlogo {
		left:426px;
		top:100px;
	}

	#ljlogo {
		left:403px;
		top:19px;
	}

	#people {
		left:608px;
		top:37px;
	}

	#mealstromlogo {
		left:299px;
		top:36px;
	}


	#mms {
		left:168px;
		top:38px;
		width:25px;
	}

	#web {
		left:171px;
		top:89px;
		width:30px;
	}

	#email {
		left:199px;
		top:66px;
		width:30px;
	}

	/* iphone from http://commons.wikimedia.org/wiki/File:Multimedia-player-iphone.svg */

	#iPhone {
		left:213px;
		top:15px;
		width:18px;
	}

	/* meal display: new */
	
	.leftColumn {
		float: left;
		width: 452px;
		padding: 10px;
	}

	.rightColumn {
		float: right;
		width: 300px;
		padding-right: 20px;
	}
	
	.mealTitle {
	}
	
	.mealDescription {
		
	}
	
	.imageHolderInGallery {
		width: 130px;
		padding: 9px;
		display: inline-block;
	}
	
	.imageHolderInGallery img {
		width: 130px;
	}

	.imageMarkedToDelete {
		border: 2px solid #C00;
		padding: 6px;
		margin: 1px;
	}

	/* meal editing */
	.iFrameFileUpload {
		height: 20px;
		margin-bottom: 3px;
	}
	
	.formSectionHeader {
		font-size: 1.1em;
		font-weight: bold;
	}

	.statusMessage {
		text-align: center;
		padding-top: 10px;
		font-weight: bold;
		font-size: 1.6em;
	}

	/* meals */

	.mealInfo {
	}


	.mealMap {
		margin-top: 12px;
		margin-right: 20px;
	}

	/* maps */

	.mapHeader {
		text-align: center;
		margin-bottom: 5px;
	}

	.mapLarge {
		width: 600px;
		height: 400px;
	}
	
	.mapLargeWithHeader {
		width: 600px;		
		height: 400px;		
	}
	
	.mapLargeWithHeader #map {
		height: 385px;
	}

	.mapSmall {
		width: 280px;
		height: 280px;
	}
	
	.mapSmallWithHeader {
		height: 280px;
		width: 280px;
	}
	
	.mapSmallWithHeader #map {
		height: 265px;
	}

	#map {
		width: 100%;
		height: 100%;
	}	

	.markerThumbnail {
		float: left;
	}

	.markerText {
		float: left;
		margin-left: 8px;
		width: 200px;
	}

	/* meal display */

	.mealInList {
		margin: 20px 0;
	}

	.mealpicSmall {
		width: 275px;
	}

	.mealPicBig {
		max-width: 100%;
	}

	.mealEditForm {
		float: left;
		width: 65%;
	}

	/* iPhone page */

	.iPhoneScreenshotRow {
		margin: 30px auto;
		width: 90%;
	}

	.screenshotWithCaption {
		width: 272px;
		float: left;
		margin: 0 30px;
	}
	.screenshotWithCaption img {
		width: 100%;
	}

	.screenshotCaption {
		margin-top: 5px;
		font-style: italic;
		text-align: center;
	}


	/*****************
	 *   login       *
	 *****************/

	.facebookLoginBox {
		border-left: 1px solid black;
		float: left;
		margin-left: 4%;
		margin-top: 0;
		min-width: 300px;
		max-width: 38%;
		padding-bottom: 3.5%;
		padding-left: 4%;
		padding-top: 3.5%;
	}

	#loginForm label {
		display: table-cell;
		display: inline-block;
		width: 70px;
	}

	#loginPrompts {
		float: right;
		min-width: 160px;
		margin-top: 4px;
	}
 
	.loginLabel {
		position: relative;
		left: -200px;
	}

	.loginField {
		position: relative;
		left: 70px;
		width: 200px;
	}	

	.loginPrompt {
		margin-bottom: 5px;
	}
		
	div#loginButton {
		margin: 0 10%;
	}


	/* user profile */

	.userHeader {
		margin: 15px 0 10px 0;
	}

	.userHeader .userName {
		font-weight: bold;
		font-size: 1.3em;	
	}

	.userHeader .userMealsCount {
		font-size: 1.15em;
	}

	/* tabs */

	.tabFang {
		background-color: #559999;
		height: 4px;
		overflow: hidden;
		position: relative;
		width: 3px;
	}

	.tabFangLeft {
		left: 0px;
		top: 2px;
	}

	.tabFangRight {
		left: 0px;
		top: -2px;
		float: right;
	}

	.tabLine {
		margin-top: 20px;
		height: 2px;
		border-top: 1px solid #599;
		background-color: #599;	
		position: relative;
		left: -3px;
	}

	.tabItem {
		float: left;
		margin-left: 15px;
		background-color: #DDDDBB;
		border: 2px solid #599;
		padding: 5px 4px 1px 4px;
		position: relative;
		top: -16px;
		left: -5px;
		margin-bottom: -2px;
		height: 16px;
	}

	.activeTab {
		font-weight: bold;
	}

	.tabLoadingCell {
		width: 16px;
		height:17px;
		padding: 1px 2px 0 2px;
		top: -14px;
		margin-right: 10px;
		float: right;
	}

	.tabLoadingCell img {
		visibility: hidden;
	}

	.tabBody {
		display: none;
	}


	/* user listings */

	.userListing {
		margin: 15px 0;
	}

	.userListing .userName {
		font-weight: bold;
		font-size: 1.15em;	
	}

	/* user acct */

	.userForm {
		margin-top: 12px;
	}

	.twoColumn {
		float: left;
		width: 55%;
	}

	.pageIntro {
		font-weight: bold;
	}

	.accountTabHeader {
		font-weight: bold;
		margin: 12px 0;
	}

	.optionalBlock {
		margin-left: 8px;
	}

	.optionsHeader {
		font-style: italic;
		margin-top: 12px;
	}

	.optionsExplanation {
		font-style: normal;
	}

	.examplePicture {
		float: right;
		border: 1px solid black;
	}

	.smallExample {
		width: 200px;
	}


	.updatedMessage {
		font-weight: bold;
		color: green;
	}

	.clearedMessage {
		font-weight: bold;
		color: red;	
	}

	/* home page errors */

	#homepageErrorDisplay h2, #homepageErrorDisplay p {
		display: none;
	}

	#homepageErrorDisplay .errorIntro {
		color: red;
		font-weight: bold;
	}

	#homepageErrorDisplay #errorExplanation {
		border: 0;
		padding: 0;
		margin-top: 0;
		margin-bottom: 0;
		width: 100%;
		overflow: normal;
		background-color: white;
	}

	ul.errorInText {
		margin-top: 2px;
		margin-bottom: 2px;
	}

	ul.errorInText li, #homepageErrorDisplay ul li {
		list-style-image: url('/images/error.png');
	}

	/* Facebook Tab */
	.fbSizeExamples {
		float: right;
	}

	.fbSizeExamples .nextArrow {
		margin-left: 100px;
	}

	.fbSettings {
		float: left;
	}


	/******************
	  comments
	 ******************/
	.mealComments {
		margin-left: 6px;
		margin-top: 20px;
	}

	.FB_SERVER_IFRAME {
		max-width: 98%;
	}
