/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.group:before,
.group:after,
.clearfix:before,
.clearfix:after,
.block:before,
.block:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.group:after,
.clearfix:after,
.block:after {
	clear: both;
}



/* ========================================================================== 
   StayFriends
   ========================================================================== */

body {
	height: 100%;
	min-height: 100%;
	padding: 0;
	font-family: Arial, sans-serif;
	font-size: 12px;
	color: #333;

	background: #e0dcd7;
	background-image: url(/i/glob/bg_frame_standard.gif);
	background-repeat: repeat-x;
}


*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

* {
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: top left;
}

a, a:hover, a:visited, a:active {
	color: #3366CC;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

/* Headings */
h1 {
	margin: 20px 0 30px 0;
	
	color: #333;
	font-size: 23px;
	font-weight: bold;
	line-height: 27px;
}

h2 {
	color: #333;
	font-size: 17px;
	font-weight: normal;
	line-height: 21px;
}

h3 {
	color: #333;
	font-size: 23px;
	font-weight: bold;
	line-height: 1;
}

h4 {
	font-size: 1em;
	font-weight: bold;
}


/* Buttons */
a.btn, .btn {
	display: block;
	font-size: 1.5em;
	font-weight: bold;
	color: #fff;
	width: 100%;
	padding: 10px;
	text-align: center;
	background-color: #ff8d00;
	position: relative;
	height: auto;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	
	border-width: 0.1em;
	border-style: solid;
	border-bottom-color: #d28107;
	border-right-color: #d28107;
	border-left-color: #fd9a1f;
	border-top-color: #fd9a1f;
	
	-webkit-border-radius: 0.35em;
	-moz-border-radius: 0.35em;
	border-radius: 0.35em;
}
	.person-info a.btn, .person-info .btn {
		height: 50px;
		text-align: left;
	}

a.btn:hover, .btn:hover {
	background-color: #e47e00;
}
a.btn:active, .btn:active {
	background-color: #e47e00;
}

.inputBtn {
	display: block;
	background: #ff8d00 url(/i/public/ic_search.png) 6px 2px no-repeat;
	height: 30px;
	width: 37px;
	border: 1px solid #ff8d00;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}


button .person  {
	padding: 3px 0 5px 38px;
	margin: 0 10px;
	background-position: 0px -170px;
	background-repeat: no-repeat;
}
button .message  {
	padding: 3px 0 5px 38px;
	margin: 0 10px;
	background-position: -38px -170px;
	background-repeat: no-repeat;	
}
button .contact  {
	padding: 4px 0 5px 38px;
	margin: 0 10px;
	background-position: -77px -170px;
	background-repeat: no-repeat;

}
a.btn-unfeatured,
.btn-unfeatured {
	display: block;
	width: 100%;
	text-align: center;
	color: #36c;
	font-size: 14px;
	
	background-color: #ccc;
	border-width: 0.1em;
	border-style: solid;
	border-top-color: #d9d9d9;
	border-left-color: #cdcdcd;
	border-right-color: #acacac;
	border-bottom-color: #aaaaaa;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	
	-webkit-border-radius: 0.35em;
	-moz-border-radius: 0.35em;
	border-radius: 0.35em;
}
.person-info .btn-unfeatured {
	font-size: 1.5em;
	font-weight: bold;
	padding: 10px;
	height: 50px;
	text-align: left;
}
a.btn-unfeatured:hover, .btn-unfeatured:hover {
	background-color: #bdbdbd;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#cccccc), to(#b5b5b5));		/* Safari 4-5, Chrome 1-9 */
	background: -webkit-linear-gradient(top, #b5b5b5, #ccc);								/* Safari 5.1, Chrome 10+ */
	background: -moz-linear-gradient(top, #b5b5b5, #ccc);								/* Firefox 3.6+ */
	background: -ms-linear-gradient(top, #b5b5b5,#ccc);									/* IE 10 */
	background: -o-linear-gradient(top, #b5b5b5,#ccc);									/* Opera 11.10+ */
	background: linear-gradient(#b5b5b5,#ccc);											/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b5b5b5', endColorstr='#cccccc');	

}
a.btn-unfeatured:active, .btn-unfeatured:active {
	background-color: #bdbdbd;
}
a.btn:hover, .btn:hover {
	background-color: #e47e00;
}
a.btn:active, .btn:active {
	background-color: #e47e00;
}

/* Rounded profile images */
.person-photo-large {
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	-ms-border-radius: 50px;
	border-radius: 50px;
}
.person-photo {
	-webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	-ms-border-radius: 25px;
	border-radius: 25px;	
}
	.registrationTeaser .person-photo {
		-webkit-border-radius: 30px;
		-moz-border-radius: 30px;
		-ms-border-radius: 30px;
		border-radius: 30px;	
		
		float: left;
		margin-right: 10px;
	}

/* Frame */

section#body { }

.content { 
	margin: 0 auto; 
	width: 940px;
}

/** Header **/
header {
	height: 60px;
	border-bottom: 1px solid #666666;
	background: #f5f5f5;
}
	header .content { 
		position: relative;
		height: 60px;
	}
	body.fixedHeader header {
		position: fixed;
		left: 0;
		top: 0;
		right: 0;
		z-index: 2;
	}
	body.fixedHeader > #body { 
		padding-top: 80px; 
	}
	
	header a#logo { 
		position: absolute; 
		top: 13px;
		left: 0px;
	}
		html.svg body header a#logo { 
			top: 13px;
			left: 0px;
			width: 193px;
			height: 33px;
			background-size: auto 68px;
			background-repeat: no-repeat;
			background-position: -26px -13px;
		}
		html.svg body header a#logo,
		html.no-svg body header a#logo {
			outline: 0;
		}
		html.no-svg body header a#logo { 
			left: 0px; 
			top: 13px; 
		}
		
	header a#logo > span { display: none; }
	
	/* SVG Logo */
	
	html.svg header a#logo { }	
	html.svg body.site1 header a#logo { background-image: url(/i/logo/de/logo_no_text.svg); }
	html.svg body.site2 header a#logo { background-image: url(/i/logo/se/logo_no_text.svg); }
	
	html.svg body.site3 header a#logo { background-image: url(/i/logo/fr/logo_no_text.svg); background-size: auto 89px; background-position: -31px -15px; }
	
	html.svg body.site5 header a#logo { background-image: url(/i/logo/at/logo_no_text.svg); }
	html.svg body.site6 header a#logo { background-image: url(/i/logo/ch/logo_no_text.svg); }
	
	/* Alternate Logo - for no SVG supported browsers */
	html.svg body header a#logo img { display: none; }
	
	html.no-svg body header a#logo img { display: block; }
	html.no-svg body.site3 header a#logo img { display: block; }
	
	header #pps {
		position: absolute;
		top: 14px;
		right: 365px;
		width: auto;
		max-width: 300px;
	}
	header #pps input {
		width: 215px;
		height: 30px;
		border: 1px solid #CCC;
		border-right-color: transparent;
		border-radius: 3px 0px 0px 3px;
		outline: none;
		vertical-align: top;
		background: #FFF;
	}
	header #pps button {
		position: relative;
		width: 85px;
		height: 30px;
		border: 1px solid #ff8d00;
		-webkit-border-radius: 0px 3px 3px 0px;
		-moz-border-radius: 0px 3px 3px 0px;
		border-radius: 0px 3px 3px 0px;
		vertical-align: top;
		
		/*background: #ff8d00 url(/i/public/ic_search.png) 6px 2px no-repeat;*/
		background: #ff8d00;
		color: #fff;
		font-weight: bold;
		padding-left: 26px;
		font-size: 14px;
	}
	header #pps button:before {
		content: "\e657";
		font-family: 'icomoon';
		position: absolute;
		display: block;
		width: 25px;
		height: 25px;
		top: 3px;
		left: 1px;
		color: #fff;
		font-size: 22px;
	}
	
	header #facebookConnectBtn {
		position: absolute;
		top: 14px;
		right: 148px;
		width: auto;
		height: 30px;
		line-height: 30px;
		
		background: url(/i/public/FB_btnlogo.png) #3b5998 -1px -1px no-repeat;
		padding-left: 30px;
		border: 0;
		
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;	
	}
		header #facebookConnectBtn span {
			padding: 7px;
			color: #fff;
			font-weight: bold;
			font-size: 18px;
		}
		body.site2 header #facebookConnectBtn span {
			text-transform: none;
		}
	header #login {
		position: absolute;
		top: 13px;
		right: 0px;
		width: auto;
		padding: 7px;
		text-align: center;
		font-weight: bold;
		font-size: 18px;
		color: #0077b2;
		padding-left: 0;
		padding-right: 0;
	}

/** Footer **/
footer {
	border-top: 1px solid #bbb;
}
	footer .content {
		position: relative;
		padding: 10px 0;
	}
	footer .copyright {
		color: #666;
		font-size: 11px;
	}
	footer ul {
		display: inline;
		list-style: none;
		font-size: 11px;
		padding: 0;
		margin: 0;
		float: right;
	}
		footer ul li {
			float: left;
			padding-right: 4px;
		}
		footer ul li::before { 
			content: "| "; 
			color: #36c; 
		}
		footer ul li:nth-child(1)::before { 
			display: none; 
		}
			footer ul li.searchlink a {
				position: relative;
			}
			footer ul li.searchlink a:before {
				content: "\e657";
				font-family: 'icomoon';
				color: inherit;
				position: absolute;
				left: -16px;
				top: 1px;
			}

/* Image Sprite */
.person-info .person-buttonlist li button span {
	background-image: url(/i/public/icons_sprite.png);
}


/* =========================================================================
   Sticky Footer
   ========================================================================= */

html, 
body, 
#sticky-footer-wrapper { 
	height: 100%;
}

body > #sticky-footer-wrapper {
	height: auto; 
	min-height: 100%;
	min-width: 940px;
}

#sticky-footer-wrapper {
	/* Muss genau so hoch sein wie der Footer */
	padding-bottom: 35px;
}
body.fixedHeader #sticky-footer-wrapper {
	padding-top: 61px;
}

footer {
	position: relative;
	margin-top: -35px; /* Negativer Wert der Footer-Höhe */
	height: 35px;
	clear: both;
	min-width: 940px;
}


/* =========================================================================
   Public Person Page
   ========================================================================= */


/* Personal info area */
.person-info  {
	background-color: #FFF;
}
	.person-info  .content {
		padding: 30px 315px 30px 115px;
		min-height: 250px;
		position: relative;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.person-info  .person-photo-large {
		cursor: pointer;
		position: absolute;
		top: 30px;
		left: 0;
		margin-right: 20px;
		height: 100px;
		width: 100px;
	}
	.person-info .person-info-details {
		padding: 32px 0 0 0;
	}
	.person-info-details  h1 { 
		margin: 0;
	}
	.person-info .person-schoollist  {
		height: auto;
		margin: 5px 0 0 0;
		padding: 0;
		
		list-style: none;
		
		line-height: 27px;
	}
	.person-info .person-schoollist li {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
		.person-info .person-schoollist li span {
			color: #666;
			font-size: 14px;
			padding-right: 5px;
		}
		.person-info .person-schoollist li a {
			font-size: 14px;
			font-weight: bold;
		}
	
	.person-info .person-buttonlist  {
		position: absolute;
		right: 0;
		top: 30px;
		width: 300px;
	}
		.person-info .person-buttonlist ul {
			padding: 0;
			margin: 0;
			list-style: none;
		}
			.person-info .person-buttonlist ul li {
				margin-bottom: 10px;
				text-align: center;
			}
				.person-info .person-buttonlist ul li .more {
					display: inline-block;
					margin-top: 5px;
					font-size: 14px;
					font-weight: bold;
				}

/* Personal more area */
.person-more  { 
	padding: 60px 0 0 0; 
	position: relative; 
}
.person-more:before {
	content:"";
	display: block;
	position: absolute;
	border: 25px solid #efefef;
	border-color: #efefef transparent transparent transparent;
	top: 0px;
	left: 50%;
	margin-left: -25px;
}
.person-more:after {
	content: "";
	display: inline-block;
	position: absolute;
	border: 25px solid #fff;
	border-color: #fff transparent transparent transparent;
	top: -1px;
	left: 50%;
	margin-left: -24px;
}

/* Classmates area */

#classmates { }
	#classmates .teaser-content {
		background-color: #fff;
		padding: 20px 0;
		
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
	}
	#classmates .teaser-content > h3 {
		margin: 0;
		padding: 10px 20px 10px 20px;
		font-size: 17px;
		font-weight: normal;
		display: table;
		width: 100%;
		box-sizing: border-box;
	}
	#classmates .teaser-content > h3:first-child {
		padding-top: 0;
	}
	#classmates .teaser-row {
		padding: 10px 0 20px;
		display: table-row;
	}
	#classmates .teaser-row:last-child {
		padding-bottom: 0;
	}
		#classmates .teaser-col {
			padding: 0;
			height: auto;
		}
		#classmates .teaser-col span {
			height: 70px;
			position: relative;
			padding: 0 20px 0 90px;
			text-align: left;
			/*line-height: 70px;*/
			white-space: nowrap;
			text-overflow: ellipsis;
			overflow: hidden;
			
			display: table-cell;
			vertical-align: middle;
			width: 235px;
			max-width: 235px;
		}
			#classmates .teaser-col em {
				width: 50px;
				height: 50px;
				display: block;
				position: absolute;
				left: 20px;
				top: 10px;
				-webkit-border-radius: 25px;
				-moz-border-radius: 25px;
				border-radius: 25px;
			}
			
			#classmates .teaser-col em:before {
				content: "";
				position: absolute;
				display: block;
				top: 0;
				left: 0;
				width: 50px;
				height: 50px; 
				border: 5px solid #ff8d00;
				-webkit-border-radius: 30px;
				-moz-border-radius: 30px;
				border-radius: 30px;
				z-index: 1;
				opacity: 0;
				
				-webkit-transition: top 0.3s, left 0.3s, width 0.3s, height 0.3s, opacity 0.3s;
				transition: top 0.3s, left 0.3s, width 0.3s, height 0.3s, opacity 0.3s;
			}
			#classmates .teaser-col:hover em:before {
				top: -5px;
				left: -5px;
				width: 60px;
				height: 60px; 
				opacity: 1;
				border-width: 5px;
			}
		
		/* empty teaser-col s */
		#classmates .teaser-col.teaser-col-empty {
			cursor: default;
		}
			#classmates .teaser-col.teaser-col-empty span { }
			#classmates .teaser-col.teaser-col-empty em { display: none; }


/* I Remember You area */
#iru { }
	#iru .teaser-content {
		background-color: #fff;
		padding: 20px 0;
		
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
	}
	#iru .teaser-col {
		padding: 0;
		height: auto;
	}
		#iru .teaser-col span {
			position: relative;
			padding: 0 20px 0 20px;
			text-align: left;
			white-space: nowrap;
			text-overflow: ellipsis;
			overflow: hidden;
			height: 40px;
			line-height: 40px;
		}

/* CLASSPHOTO */
#classphotos { }
	#classphotos .teaser-content,
	#classphotos .caroufredsel_wrapper {
		width: 100% !important;
		overflow: hidden;
		
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}
	#classphotos .teaser-row {
		height: 160px;
		white-space: nowrap;
		width: 2000em;
	}
	#classphotos .teaser-col {
		width: 230px;
		height: 160px;
		float: left; 
		display: block;
		background-size: 230px 160px;
		background-repeat: no-repeat;
	}
	#classphotos .scrollable .teaser-col {
		-webkit-border-radius: 0 !important;
		-moz-border-radius: 0 !important;
		border-radius: 0 !important;
	}
	
	#classphotos .teaser-image-previous,
	#classphotos .teaser-image-next {
		display: none;
		cursor: pointer;
		position: absolute;
		top: 50px;
		height: 50px;
		width: 50px;
		z-index: 1;
	}
		#classphotos .teaser-image-previous i,
		#classphotos .teaser-image-next i {
			position: absolute;
			display: block;
			left: 50%;
			top: 50%;
			width: 0;
			height: 0;
			background: #fff;
			opacity: 0;
			
			-webkit-border-radius: 0;
			-moz-border-radius: 0;
			border-radius: 0;
			
			-webkit-transition: top 0.3s, left 0.3s, width 0.3s, height 0.3s, opacity 0.3s, border-radius 0.3s;
			transition: top 0.3s, left 0.3s, width 0.3s, height 0.3s, opacity 0.3s, border-radius 0.3s;
		}
		#classphotos .teaser-image-previous:hover i,
		#classphotos .teaser-image-next:hover i {
			left: 0;
			top: 0;
			width: 100%;
			height: 100%;
			opacity: 1;
			
			-webkit-border-radius: 25px;
			-moz-border-radius: 25px;
			border-radius: 25px;
		}
		
		#classphotos .teaser-image-previous em,
		#classphotos .teaser-image-next em {
			position: absolute;
			left: 0;
			top: 0;
			display: block;
			width: 100%;
			height: 100%;
			background-image: url("/i/public/icons_sprite.png");
			background-repeat: no-repeat;
		}
	#classphotos .teaser-image-previous { left: 5px; }
	#classphotos .teaser-image-next     { right: 5px; }
		#classphotos .teaser-image-previous em { background-position: -2px -120px; }
		#classphotos .teaser-image-next em     { background-position: -50px -120px; }
	
	#classphotos .scrollable .teaser-image-previous,
	#classphotos .scrollable .teaser-image-next {
		display: block;
	}
	

/* RSP */
#rsp { }
	#rsp .teaser-content {
		padding: 0;
	}
	#rsp .teaser-row {
		padding: 0; 
	}
	#rsp .teaser-col { }
		#rsp .teaser-col span { 
			padding-top: 15px; 
		}
		#rsp .teaser-col em {
			background-image: url(/i/public/icons_sprite.png);
			background-repeat: no-repeat;
			background-size: 53px auto;
			width: 60px;
			height: 60px;
			display: block;
			margin: 0 auto 10px auto;
		}
		#rsp #rsp-rock em           { background-position: center 0; background-image: url(/i/glob/rps/new/stone.png); }
		#rsp #rsp-rock:hover em     { background-position: center -199px; }
		#rsp #rsp-paper em          { background-position: center 0; background-image: url(/i/glob/rps/new/paper.png); }
		#rsp #rsp-paper:hover em    { background-position: center -199px; }
		#rsp #rsp-scissors em       { background-position: center 0; background-image: url(/i/glob/rps/new/scissors.png); }
		#rsp #rsp-scissors:hover em { background-position: center -199px; }


/* MyLife Events */
#mylife { }
	#mylife a { }
	#mylife .teaser-col { 
		cursor: pointer; 
		padding-bottom: 5px; 
	}
		#mylife .teaser-col span {
			padding-top: 15px;
		}
		#mylife .teaser-col em {
			background-image: url(/i/public/icons_sprite.png);
			background-repeat: no-repeat;
			width: 60px;
			height: 60px;
			display: block;
			margin: 0 auto 10px auto;
		}
		#mylife #mylife-contacts em       { background-position: -240px 0; }
		#mylife #mylife-contacts:hover em { background-position: -300px 0; }
		#mylife #mylife-marriage em       { background-position: 0 0; }
		#mylife #mylife-marriage:hover em { background-position: -60px 0; }
		#mylife #mylife-holiday em        { background-position: -120px 0; }
		#mylife #mylife-holiday:hover em  { background-position: -180px 0; }
		#mylife #mylife-baby em           { background-position: -360px 0; }
		#mylife #mylife-baby:hover em     { background-position: -420px 0; }
		#mylife #mylife-photos em         { background-position: -480px 0; }
		#mylife #mylife-photos:hover em   { background-position: -540px 0; }



/* Registration form */
#registration-wrapper {
	display: none;
	position: fixed;
	overflow: scroll;
	overflow-y: scroll;
	overflow-x: hidden;
	z-index: 100;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	
	background-color: rgba(0,0,0,.5);
}

#registration-window {
	display: none;
	position: absolute;
	top: 10px;
	left: 50%;
	width: 570px;
	height: auto;
	margin-left: -285px;
	margin-bottom: 10px;
	-webkit-border-radius: 10px;
	   -moz-border-radius: 10px;
	        border-radius: 10px;
	overflow: hidden;

	background-color: #FFF;
}

#registration-window .message,
#registration-window .contact,
#registration-window .profile,
#registration-window .classphotos,
#registration-window .classmates,
#registration-window .mylife,
#registration-window .ml-holiday,
#registration-window .ml-photos,
#registration-window .ml-baby,
#registration-window .ml-marriage,
#registration-window .ml-contacts,
#registration-window .iru,
#registration-window .rsp,
#registration-window .rock,
#registration-window .paper,
#registration-window .scissors {
  display: none;
}

#registration-window.addcontact .contact,
#registration-window.addcontact .addcontact,
#registration-window.message .message,
#registration-window.showprofile .profile,
#registration-window.showprofile .showprofile,
#registration-window.iru .iru,
#registration-window.classmates .classmates,
#registration-window.classphotos .classphotos,

#registration-window.rsp .rsp, 
#registration-window.rsp.rock .rock,
#registration-window.rsp.paper .paper,
#registration-window.rsp.scissors .scissors,

#registration-window.mylife .mylife,
#registration-window.ml-holiday .ml-holiday,
#registration-window.ml-photos .ml-photos,
#registration-window.ml-photos .ml-photos,
#registration-window.ml-baby .ml-baby,
#registration-window.ml-marriage .ml-marriage,
#registration-window.ml-contacts .ml-contacts { 
	display: block !important;
}

.registrationBox {
	margin: 0 auto;
	position: relative;
	border:1px solid #e3e3e3;
	width: 570px;
	background: #fff;
	padding: 20px 50px;
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
#registration-btn-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: url(/i/glob/ic/ic_closeBox.gif) -2px -1px no-repeat;
	padding: 7px;
	cursor: pointer; 
}
.registrationBox h2 {
	font-size: 17px;
	color: #333;
	font-weight: bold;
	margin: 0;
	text-align: center;	
}
	.registrationBox form h2 { margin-bottom: 10px; }
	
.registrationTeaser {
	overflow: hidden;
	padding: 20px 50px; 
}
	.registrationTeaser textarea {
		height: 50px;
		width: 465px;
		max-height: 250px;
		/*border: 1px solid #999;*/
		font-size: 14px;
		padding: 5px;
		color: #999;
		resize: vertical;
	}
	.registrationTeaser .profile img,
	.registrationTeaser .contact img,
	.registrationTeaser .mylife img, 
	.registrationTeaser .classmates img {
		float: left;
		margin: 0 10px 0 0;
	}
	.registrationTeaser .profile h2,
	.registrationTeaser .contact h2,
	.registrationTeaser .mylife h2 {
		float: left;
		margin: 8px 0 10px 0;
		text-align: left;
		width: 305px;
	}
	.registrationTeaser h2 span {
		color: #ff8d00;
	} 
		#registration-window.message .message h2,
		#registration-window.message form h2.message {
			margin-top: 0;
			text-align: center;
		}
	.registrationTeaser .iru-selection {
		font-size: 17px;
		font-weight: normal;
		color: #333;
		margin-bottom: 15px;
		text-align: center;
	}
	.registrationTeaser .classphotos h2 { margin: 0; }
	.registrationTeaser .classphotos h2.centered { padding-top: 25px; }
	
	.registrationTeaser .teaser-photo-single,
	.registrationTeaser .teaser-photo-multiple {
		float: left;
		margin-right:5px;
		overflow: hidden;
		width: 140px;
	}
	.registrationTeaser .teaser-photo-single img {
		border-radius: 5px;
		margin-right: 5px;
		height: 90px;
		width: 130px;
	}
	.registrationTeaser .teaser-photo-multiple img {
		border-radius: 5px;
		margin-right: 5px;
		float: left;
		height: 44px;
		width: 65px;
	}
	.registrationTeaser .teaser-photo-multiple img.top {
		margin-bottom: 5px;
	}

#registration-window.iru .iru h2 { margin-bottom: 0; text-align: center; }
.registrationFormContainer  {
	border-top: 1px solid #ccc;
	padding: 30px 50px 20px; 
	position: relative; 
}
.registrationTeaser .rsp .rock,
.registrationTeaser .rsp .paper,
.registrationTeaser .rsp .scissors,
#registration-window.ml-holiday .ml-holiday .icon,
#registration-window.ml-photos .ml-photos .icon,
#registration-window.ml-baby .ml-baby .icon,
#registration-window.ml-photos .ml-photos .icon,
#registration-window.ml-marriage .ml-marriage .icon,
#registration-window.ml-contacts .ml-contacts .icon {
	background-image: url("/i/public/icons_sprite.png");
	background-repeat: no-repeat;
	
	float: left;
	margin: 0 10px 0 0;
	height: 60px;
	width: 60px;
}
.registrationTeaser .rsp .rock {
	background-position: 0 -60px;	
}
.registrationTeaser .rsp .paper {
	background-position: -120px -60px;
}
.registrationTeaser .rsp .scissors {
	background-position: -240px -60px;
}
#registration-window.ml-holiday .ml-holiday .icon {
 	background-position: -120px 0; 
 	display: block;
}
#registration-window.ml-photos .ml-photos .icon {
 	background-position: -480px 0;
 	display: block;
}
#registration-window.ml-baby .ml-baby .icon {
 	background-position: -360px 0;
 	display: block;
}
#registration-window.ml-marriage .ml-marriage .icon {
 	background-position: 0 0;
 	display: block;
}
#registration-window.ml-contacts .ml-contacts .icon {
 	background-position: -240px 0;
 	display: block;
}

.registrationFormContainer:before {
	content:"";
	display: block;
	position: absolute;
	border: 15px solid #ccc;
	border-color: #ccc transparent transparent transparent;
	top: -1px;
	left: 50%;
	margin-left: -23px;
}
.registrationFormContainer:after {
	content: "";
	display: inline-block;
	position: absolute;
	border: 16px solid #ccc;
	border-color: #fff transparent transparent transparent;
	top: -3px;
	left: 50%;
	margin-left: -24px;
}


.registrationTeaser {}

form { 
	margin: 0;
}
form input[type='text'],
form input[type='date'],
form input[type='number'],
form input[type='email'],
form input[type='password'],
form select,
form textarea {
	border: 1px solid #ccc;
	color: #333;
	font-size: 14px;
	padding: 0.5em;
	width: 100%;
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	
	-webkit-border-radius: 0.2em;
	-moz-border-radius: 0.2em;
	border-radius: 0.2em;
}
input::-webkit-input-placeholder {
	color: #999;
}
input::-moz-placeholder {
	color: #999;
}
input:-moz-placeholder {   /* Older versions of Firefox */
	color: #999;
}
input:-ms-input-placeholder { 
	color: #999;
}
	.optional input::-webkit-input-placeholder {
		font-style: italic;
	}
	.optional input::-moz-placeholder {
		font-style: italic;
	}
	.optional input:-moz-placeholder {   /* Older versions of Firefox */
		font-style: italic;
	}
	.optional input:-ms-input-placeholder { 
		font-style: italic;
	}

form .group { 
	position: relative;
	display: table;
	width: 100%; 
}
form .separator {
	margin: 15px 0;
	background-color: #ccc;
	border-top: 1px solid #ccc;	
}
form#registrationForm input[type='text'] {
	width: 300px;
}
form#registrationForm label { 
	color:#333;
	font-size: 14px;
	font-weight: bold;
	display: inline-table;
	margin-right: 10px;
	text-align: right;
	width: 130px;
}
form#registrationForm .fieldset .field label,
form#registrationForm .fieldset .group label {
	font-weight: normal;
	width: auto;
}
form#registrationForm .fieldset .field { display: inline-table; }
	form#registrationForm .g_gender.fieldset .field { width: 85px; }
	
form#registrationForm .optional label, 
form#registrationForm .optional label { color: #999; font-style: italic; }
form#registrationForm div.group { margin-bottom: 10px; }
form#registrationForm div.group.grouperror { margin-bottom: 5px; }
form#registrationForm div.group .mandatory { display: none; }
form#registrationForm .currentError { background: url("/i/glob/ic/ic_check_box_red_failed.png") right 11px no-repeat; }
form#registrationForm .currentError input { border: 1px solid #ea1a1a; }
form#registrationForm .error,
form#registrationForm .errorFieldset { display: none; font-size: 12px; color: #ea1a1a; width: 300px; margin-left: 143px; margin-bottom: 10px; }
form#registrationForm .gradyear .errorFieldset { margin-left: 186px; }
form#registrationForm .agb .error { margin-left: 70px; }
form#registrationForm .birthday .error,
form#registrationForm .gradyear .error { display: none; }
form#registrationForm .g_gender .field label { 
	margin: 0 10px 0 5px;
	text-align: left; 
}

form#registrationForm .g_gender,
form#registrationForm .g_startyear,
form#registrationForm .g_endyear,
form#registrationForm .g_birthDay,
form#registrationForm .g_birthMonth,
form#registrationForm .g_birthYear {
	display: inline-table;
}

form#registrationForm .g_birthDay,
form#registrationForm input#F_birthDay,
form#registrationForm .g_birthMonth,
form#registrationForm input#F_birthMonth { width: 50px; margin-right: 5px; }
form#registrationForm .g_birthYear,
form#registrationForm input#F_birthYear { width: 80px; }

form#registrationForm .group.g_gender,
form#registrationForm .group.g_acceptTermsOfBusiness {
	line-height: 23px;
}

form#registrationForm .group.g_endYear,
form#registrationForm .group.g_startYear {
	display: inline-table;
	margin-bottom: 0px;
	width: 150px;
}
form#registrationForm .group.g_endYear input[type=text],
form#registrationForm .group.g_startYear input[type=text]{
	width:90px;
}
form#registrationForm .group.g_acceptTermsOfBusiness .field {
	text-align: center;
	margin: 0 0 5px 0;
}
form#registrationForm .group.g_acceptTermsOfBusiness label {
	font-size: 12px;
	font-weight: normal;
	width: 307px;
}
form#registrationForm button { width: 330px; margin: 0 auto; display: none; }



#ivwszmtag { position: absolute; }

#scrollUp-wrapper {
	bottom: 0;
	width: 100%;
}
	#scrollUp-wrapper > div {
		width: 940px;
		margin: 0 auto;
		position: relative;
	}
		#scrollUp-wrapper > div > a {
			display: block;
			position: absolute;
			width: 50px;
			height: 50px;
			/* background: transparent url(/i/public/top.png); */
			background: #fff;
			left: -63px;
			bottom: 0;
			text-align: center;
			padding-top: 11px;
			font-weight: bold;
		}