* {
	margin: 0px;
	padding: 0px;
}

.clear { clear:both;}
.clear_left {clear:left;}
.clear_right {clear:right;}
.left	{float:left;}
.right {float:right;}

/*    flashs    */
#flashs {
	position:fixed;
	bottom: 0px;	
	z-index: 5;	
}

.flash_error, .flash_notice {
	border:1px solid;
	border-color: #bbbac0;
	text-align:center;
	width: 600px;
	height: 32px;
	margin-left: 200px;
	background: url(/images/layout/user-config-background.jpg) repeat-x;
	font-size: 20px;
	padding-top: 8px;
}

.flash_error { color: #ad4049;}

.flash_notice { color: #6b9860;}
a img{ border-width: 0px;}

/* ------- New Layout ----------- */
body {background: #EDF2F7 url(/images/layout/new/background.jpg) repeat-x;}

#all_body {
	width:999px;
	margin:0 auto;
	border-top: none;
	background-color: #fff;
}
	#content {border:25px solid #E8EFF9; border-top: none; border-bottom: none;}

	#user-bar {background: url(/images/layout/new/userbar.png) no-repeat #ffffff; padding:0px 20px 0px 0px;
						 height:50px; width:979px;}
		#user-bar #search_form {float:right;}
		#user-bar p {color:#00ffff;font-size: 11px;}
		#user-bar img {display:inline; float:left;}
		#user-bar-left {text-align: left; float:left; padding:13px 0px 0px 8px;}
		#user-bar-right p{padding-top: 13px;padding-right: 3px;}
		
		.search { position:relative; text-align: right;}
		.search #enter { position:absolute; right:7px; top:11px;}
		.search #enter a{color:#625DBD;}
		.search input:focus { border:1px solid #122f6e; background-color: #E8E8F4;}
		.search input.sentence {
			background:url(/images/layout/search_icon.gif) no-repeat white;
			padding-left: 28px; margin-top: 7px;
			width:230px;
			height:24px;
			border:1px solid #B2AFCB;
			color: #122f6e;
			font-size: 145%;
		}

		
	#main {padding:30px 40px;}
		#main h1 {border-bottom: 2px solid #7179AA;padding-left: 20px;}
		#main h2 {padding-top: 15px;}
		#main .text {padding:15px 0px 0px 150px; width:600px;line-height:18pt;}
		#main .text p {margin:8px 0px;}
		#main .text ul, #main .text ol{padding-left: 80px;}
		#main .main-with-logo {width:720px;}
		.video {
			width:165px;
			height:160px;
			text-align: center;
			float:left;
			margin: 20px 35px 15px 0px;	}
		
		#right-bar{ margin-left: 660px; font-size: 120%;}
			#right-bar h3 {color:#000099;}
			#right-bar ul{margin-left: 30px;color:black;}
			#right-bar ul a{color:black;}
		/*Search style*/
		#search-couple {
			background: url(/images/layout/couples/background-middle.jpg) repeat-y;
			padding:0px 244px 0px 67px;
		}
			#search-couple .infos {background-color: #E9E7F4; height:40px;}
				.couple-preview, .company-preview {margin:20px 15px;border-bottom: 1px solid #041DAE; height:80px;}
				.couple-preview img, .company-preview img{border:1px solid #A9A9AB;padding:1.5px;float:left; margin-right: 10px;}
				.couple-preview h3 a, .company-preview h3 a{font-size: 14px; color:black;}

				.company-preview p { margin:2px 0px;}
				.company-preview .adds p {display:inline; margin-left: 8px;}
				.company-preview .adds .favorite {width: 16px; height:16px;display:block; float:left; margin-left: 4px;
																		background: url(/images/layout/icons/icons.png) no-repeat 0px 0px;}



		#search-header {border:1px solid #021CAD; padding: 20px 0px 20px 67px;margin-bottom: 10px;}
			#search-header h1 { color: #000099; font-weight: normal;font-size: 2.2em;border-bottom: none;}
			#search-header .search {text-align: left;}
		.search-preview {width:49%;border:1px solid #e6e6e6; margin-right: 5px;}
			.search-preview h2 {font-weight: normal; color: #153F67; padding-left: 13px;background-color: #E9E7F4;}
			.search-preview h2 .total {font-size: 14px; margin-left: 8px;color:#818F9F;}
			.extended {width:630px;}

			.pagination {
				float: right;
				height:23px;
				background-color: #E9E7F4;
				text-align: right;
				padding: 7px 4px 0px 0px;
			}
		
		/*New Couple Layout*/
		#men.active   {background-color: #9a9dd4;}
		#men.active .new-couple-box {background-color: #EDEcF3;}
		#woman.active {background-color: #fee7e7;}
		#woman.active .new-couple-box {background-color: #FEFAF9;}
			.new-couple-box, .date-couple-box{
				padding:8px;
				margin-left: 40px;
				border:2px solid #E6E6E8;
			}
			.new-couple-box{
				width:553px;
			}
				.new-couple-box-internal {border: 1px solid #ccccff; background-color: #fbfbfd;padding: 10px 0px;}
				.active .new-couple-box h2 { color: #0027A6;}
				.new-couple-box h2 {
					color: #bbbbbb;
					font-family: "Apple Chancery", "Monotype Corsiva ", Zapfino, cursive;
					padding-left: 185px;
					margin:0px 20px;
					border-bottom: 1px solid #EDECF1;
				}
				.new-couple-box label { text-align:right; margin-right:10px; display:block; width:200px; float:left; clear:both; font-weight:bold; }
				.new-couple-box p, .date-couple-box p {margin:15px 0px;}
			.date-couple-box{ padding-left: 110px;background-color: #fff7f3; width:451px;}
		/*End New Couple LAYOUT*/
		
		/*New Company layout*/
		form.new_company {padding:10px;}
			form.new_company p { margin:12px 0px 0px 175px;}
			form.new_company #photo_upload{width:160px;background:white url(/images/layout/user-config-background.jpg) repeat-x;padding:5px;margin-right:5px;}
			form.new_company label {text-align:right; margin-right:10px; display:block; float:left; font-weight:bold;	width:150px;padding-right:5px;}
			form.new_company input {font-size: 12px; }
			form.new_company input#company_name {font-size:22px; width:300px;}
			form.new_company input#company_city {width:150px;}
			form.new_company .permalink{ width:179px;margin-left: -28px;margin-right:0px;}
			form.new_company .terms { margin:10px 0px 10px 338px;}
		/*End New Company layout*/
		
		/*Errors Layout*/
		.fieldWithErrors input {background: #ffcccc;}
		/*END Errors Layout*/
	
#footer { text-align: center; padding:12px 0px 8px 0px;}
	#footer p { display:inline; padding:0px 30px; color:#7873C7;}
	#footer a { color:#7873C7;}
	
/* Album - Photos*/
.album {
	width:175px;
	height:230px;
}
.album, .photo {
	text-align: center;
	float:left;
	margin:5px 5px;
	text-decoration: none;
	width:175px;
	height:230px;
}
#videos .video{
	margin:0 2px 15px 0;
	height:220px;
	width:183px;
}
#videos .photo { height:175px; }
#videos .video h2{font-size: 105%;}

.photo-with-background {
	background: url(/images/layout/photo-bkg-1.jpg) no-repeat;
	height:172px;
	width:172px;
	vertical-align:middle;
	display:table-cell;
}
a.photo-with-background:hover {
	background: url(/images/layout/photo-bkg-2.jpg) no-repeat;
}
a.photo-with-background img {vertical-align:middle;}

.video {
	width:165px;
	height:160px;
	text-align: center;
	float:left;
	margin: 0px 30px 15px 0px;
}

.show_video {
	color:#515153;
}
.show_video h2 {
	margin-bottom: 20px;
	color:#9BA1CF;
	font-size: 150%;
}
.show_video .infos {
	border:1px solid #dfdfdf;
	padding-right: 20px;
}
.show_video .infos .description {
	padding:10px 25px;
	width:60%;
	background-color: #F1F0F5;
}
	