﻿/* Cleaner */
	a img
	{
		border: 0;
	}
/* end */

.nw
{
	white-space: nowrap;
}

.hidden
{
	display: none !important;
}

body a {
    color: #323137;
}

.hide-in-ie6
{
	_display: none;
	width:0;
	height:0;
	overflow: hidden;
}

.nobr
{
	white-space: nowrap;
}


.active {
	text-decoration: none;
	border-bottom: dotted 1px;
	
	*text-decoration: underline;
	*border-bottom: none;
}

#contacts .active {
	text-decoration: none;
}

/* clearfix */
	.clearfix:after
	{
		content: ".";
		display: block;
		clear: both;
		visibility: hidden;
		line-height: 0;
		height: 0;
	}

	.clearfix
	{
		display: inline-block;
	}

	html[xmlns] .clearfix
	{
		display: block;
	}

	* html .clearfix
	{
		height: 1%;
	}
/* end */

body
{
	overflow: hidden;
}

#overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	z-index: 1000;
	opacity: 0.75;
	background: #fff;
}

#pop-wrapper {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}
	#pop-wrapper .inner {
		position: relative;
		z-index: 10000;
		width: 100%;
	}


/* messages */
	#gift-notifications .icon,
	#message-log .icon
	{
		display: inline-block;
		height: 18px;
		line-height: 18px;
		width: 12px;
		margin-right: 4px;
		font-size: 0;
	padding: 2px;
		background: url('/i/gifts-controls-sprite.png') -308px 6px no-repeat;
	}
		#message-log .icon {
			background-color: transparent;
		}
/* end */


/* Virtual Gifts */
	/* gift message */
		#gift-message
		{
			line-height: 18px;
		}

		#gift-message .message
		{
			display: none;
			overflow-x:hidden;
			width:100%;
		}
			#gift-message.success .success,
			#gift-message.success .success div,
			#gift-message.received .received,
			#gift-message.received .received div
			{
				display: block;
			}

		#gift-message .gift-dscr
		{
			/*border: solid 1px #ccc;*/
			margin: 0px 10px;
			min-height: 80px;
			*height: 80px;
		}

		#gift-message .sent {
			min-height: 80px;
			*height: 80px;
		}

		.gift-dscr {
			position: relative;
			padding: 12px;
		}
			.gift-dscr .gift-image {
				position: absolute;
				left: 12px;
				top: 8px;
				width: 60px;
				height: 60px;
			}
			* html .gift-dscr .gift-image {
				left: 0 !important;
			}
			
			.gift-dscr .cover-message {
				position: relative;
				min-height: 60px;
				margin-left: 75px;
				padding: 0 0 8px 12px;
				font-weight: bold;
				width: 60%;
			}
				.gift-dscr .cover-message .text {
					background-color: #ECEFF5;
					border-bottom: 1px solid #E5EAF1;		
					float: left;
					padding: 2px 10px;
					line-height: 17px;
				}
				
				* html .gift-dscr .cover-message {
					height: 60px;
				}
				
				.gift-dscr .from {
					color: #c30;
				}
				
				.success .gift-dscr .from {
					 color: #979797;
				}
				
			.gift-dscr .gift-image .png {
				position: absolute;
				left: 0;
				top: 0;
			}

		#gift-message .gift-reply-wrapper {
			position: relative;
		}

		#gift-message .gift-reply {
			position: relative;
			left: -10px;
			display: block;
			width: 201px;
			height: 22px;
			margin-top: 10px;

			text-indent: -9999px;
			line-height: 0;
			cursor: pointer;
			border: none;
			background: url('/i/gift-reply.gif') no-repeat 0 0;
		}
			#gift-message.svadba .gift-reply {
				width: 201px;
				background-position: 0 0px;
			}

		#gift-message .cover-message p {
			margin: 0 !important;
		}

		#gift-message .animation {
			position: absolute;
			left: -12px;
			top: -50px;
			width: 228px;
			height: 141px;
			
			background-image: url('/i/gift-incoming.png');
		}
	/* end */
	
	/* gift selector */
		#gift-selector a,
		#gift-selector a:visited,
		#gift-selector .ref,
		.ref
		{
			cursor: pointer;
			color: #036 !important;
			text-decoration: underline !important;
		}

		.comment
		{
			display: block;
			font-size: 90%;
			color: #707070;
		}

		#gift-selector,
		#gift-selector input,
		#gift-selector textarea
		{
			font-family: Arial;
			font-size: 12px;
		}

		#gift-selector textarea
		{
			resize: none;
			padding: 0;
		}

		#gift-selector
		{
			position: relative;
			width: 584px;
			margin: 0 auto;
			background: #fff;
			padding-top: 10px;
			top: -10px;
		}

		#aidate #gift-selector
		{
			border: solid 1px #aca899;
		}

		#svadba #gift-selector
		{
			border: solid 1px #a8bedc;
		}

			#gift-selector h2
			{
				display: block;
				height: 24px;
				margin: 0px;
				padding: 8px;
				font-size: 18px;
				font-weight: bold;
			}
			
			#aidate #gift-selector h2
			{
				color: #825825;
				background-color: #ffc;
			}

			#svadba #gift-selector h2
			{
				color: #4b7b89;
			}
			
			#gift-selector form
			{
				margin: 0;
				padding: 0;
			}

		div.list-wrapper
		{
			position: relative;
		}

		#svadba div.list-wrapper
		{
			padding: 0 10px;
		}

		div.gifts-wrapper,
		div.list-wrapper
		{
			height: 320px;
		}

		div.gifts-wrapper
		{
			position: relative;
			overflow-y: scroll;
		}
			
				
			div.gifts-fader {
				position: absolute;
				width: 550px;
				height: 40px;
				left: 0;
			}
			
			div.list-wrapper .top {
				top: 0;
				background: url('/i/gifts-fades-sprite.png') repeat-x 0 -40px;
			}
			
			div.list-wrapper .bottom {
				bottom: 0;
				background: url('/i/gifts-fades-sprite.png') repeat-x 0 0;
			}
			
		ul.gifts-list
		{
			position: relative;
			list-style: none;
			padding: 20px 0;
			margin: 0;
		}

		#aidate ul.gifts-list
		{
			margin: 0px 16px;
		}

			ul.gifts-list li
			{
				float: left;
				position: relative;
				height: 68px;
				width: 84px;
				margin: 0;
				font-size: 0;
				border: solid 1px #fff;
				cursor: pointer;
			}
			
				#aidate ul.gifts-list li:hover
				{
					background: #FFFFEC;
					border-color: #d4d1c8;
				}
				
				#aidate ul.gifts-list li.selected,
				#aidate ul.gifts-list li.selected:hover
				{
					background: #FFFFCC;
					border-color: #ACA899;
				}
				
				#svadba ul.gifts-list li:hover
				{
					background: #e3e9f2;
					border-color: #e3e9f2;
				}
				
				#svadba ul.gifts-list li.selected,
				#svadba ul.gifts-list li.selected:hover
				{
					background: #a8bedc;
					border-color: #a8bedc;
				}
				
				ul.gifts-list li .corner
				{
					display: block;
					position: absolute;
					width: 1px;
					height: 1px;
					background: #fff;
				}
				
					ul.gifts-list li .lt,
					ul.gifts-list li .rt
					{
						top: -1px;
						*top: -2px;
					}
					
					ul.gifts-list li .lb,
					ul.gifts-list li .rb
					{
						bottom: -1px;
						*bottom: -2px;
					}
					
					ul.gifts-list li .lt,
					ul.gifts-list li .lb
					{
						left: -1px;
					}
					
					ul.gifts-list li .rt,
					ul.gifts-list li .rb
					{
						right: -1px;
					}
				
			ul.gifts-list input {
				display: block;
				position: absolute;
				left: 0;
				top: 24px;
				/*height: 68px;*/
				cursor: pointer;
			}

			ul.gifts-list label {
				position: relative;
				display: block;
				height: 68px;
				padding: 4px 4px 4px 20px;
				padding-left: 20px;
				cursor: pointer;
			}

		#gift-options
		{
			padding: 10px;
		}

		#aidate #gift-options
		{
			background: #ffc;
		}

			.gift-option
			{
				position: relative;
				margin: 0;
				padding: 0;
			}
			
				.gift-option dt,
				.gift-option dd
				{
					margin: 0;
					padding: 0;
					display: block;
				}
				
				#aidate .gift-price
				{
					margin-bottom: 10px;
				}
				
				#aidate .gift-price dl
				{
					border-top: 1px solid #f2f0bb;
					border-bottom: 1px solid #f2f0bb;
					overflow: hidden;
					_zoom: 1;
					margin: 0;
					padding: 0;
				}
				
				#aidate .gift-price dl *
				{
					line-height: 26px;
				}
				
				#aidate .gift-price dt
				{
					float: left;
				}
				
				#aidate .gift-price dd
				{
					float: right;
					padding: 0 10px;
					background: #fff;
					font-weight: bold;
				}
				
				#aidate .gift-price .comment
				{
					font-size: 10px;
				}
				
				#svadba .gift-option dt
				{
					float: left;
				}
				
				#svadba .gift-option dd
				{
					padding-left: 5px;
					overflow: hidden;
					_zoom: 1;
				}
				
				.textarea-w
				{
					padding-right: 1px;
				}
				
				#gift-messagebox
				{
					width: 100%;
					border: 1px solid #d3d3d3;
					padding: 0;
					margin-left: -1px;
				}


		#att-message
		{
			padding: 0 10px;
			color: #707070;
		}

		#gift-control
		{
			padding: 6px 0 8px 0;
		}

		#aidate #gift-control
		{
			background: #fbeab7;
		}

			#gift-control .gift-send-btn-holder
			{
				float: left;
				position: relative;
			}
			
			#gift-control .gift-send-btn-holder .spinner
			{
				position: absolute;
				top: 5px;
				left: 12px;
				width: 16px;
				height: 16px;
				background: url('/i/purchase-spinner.gif') no-repeat;
				display: none;
				opacity: 0.5;
				filter: alpha(opacity=50);
			}
			
			#gift-control .spinned .spinner
			{
				display: block;
			}

			#gift-control .buttons
			{
				position: relative;
				display: table;
				_height: 30px;
				margin: 6px auto 0;
			}
			
			#gift-control .button
			{
				position: relative;
				display: block;
				float: left;
				border: none;
				margin: 0 4px;
				cursor: pointer;
				text-indent: -2000px;
				line-height: 0;
				background: url('/i/gifts-controls-sprite.png') no-repeat;
			}

			#aidate #gift-control .button
			{
				height: 30px;
			}
			
			#svadba #gift-control .button
			{
				height: 30px;
			}
			
			#aidate #gift-send
			{
				width: 105px;
				background-position: 0 0 !important;
			}

			#aidate .spinned #gift-send
			{
				background-position: -105px 0 !important;
			}
			
			#aidate #gift-cancel
			{
				width: 84px;
				background-position: -216px 0 !important;
			}
			
			#svadba #gift-send
			{
				width: 107px;
				background-position: 0 0px !important;
			}

			#svadba .spinned #gift-send
			{
				background-position: -110px -110px !important;
			}
			
			#svadba #gift-cancel
			{
				width: 79px;
				background-position: -218px 0px !important;
			}

			/*
			#gift-cancel {
				padding: 8px;
				background: none !important;
				text-indent: 0 !important;
			}

			@-moz-document url-prefix() { #gift-cancel {
				margin-top: -4px !important;
			} }
			*/
			
		#gift-notifications
		{
			font-weight: bold;
			text-align: center;
			padding: 0 16px;
		}

			#gift-notification div {
				position: relative;
				text-align: center !important;
				height: 23px;
				line-height: 17px;
				padding: 0;
			}
			
			#gift-notification div {
				display: none;
			}
			
			#svadba #gift-notification div
			{
				color: #454545;
			}
			
			#gift-notification.success .success,
			#gift-notification.error .error,
			#gift-notification.limit-exceeded .limit-exceeded {
				display: inline;
				zoom: 1;
				padding-left: 16px;
			}

		#gift-notifications .action {
			margin-left: 8px;
			font-weight: normal;
		}

		#gift-selector.hidden {
			height: 0;
		}

		#total-wrapper {
			position: absolute;
			left: 10px;
			bottom: 10px;
		}

		#total-wrapper {
			display: none;
		}

		#gift-messages-wrapper {
			position: relative;
			width: 100%;
			text-align: center !important;
		}
	/* end */
/* end */

/* Contact List */
	#contacts ul
	{
		margin: 0;
		padding: 0;
		list-style-type: none;
	}
		#contacts ul li,
		#attendee {
			line-height: 23px;
			*line-height: 21px;
			color: #9e9e9e;
			font-family: Arial, sans-serif;
			font-size: 9pt;
			height: 23px;
			margin: 0;
			padding: 0;
			padding-left: 24px;
			border-bottom: solid 1px #f4f4f4;
			position: relative;
			cursor: default;
		}
		
		#contacts ul li
		{
			overflow: hidden;
		}
		
			#contacts li.contact .icons,
			#attendee .icons {
				list-style: none;
				padding: 0;
				margin: 0;
				overflow: hidden;
			}
				#contacts li.contact .icon,
				#attendee .icon {
					float: left;
					position: relative;
					display: block;
					width: 26px;
					height: 26px;
					overflow:hidden;
				}
					#contacts li.contact .icon b,
					#attendee .icon b {
						position: absolute;
						display: block;
					}
/* end */

.ribbon-new
{
	position: absolute;
	right: -3px;
	top: -2px;
	width: 36px;
	height: 35px;
	background: url('/i/ribbon-new.png') no-repeat;
	_background: none;
	_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/i/ribbon-new.png', sizingMethod='image');
}

.alignMcontainer {
	float:right;
	position:relative;
	right:50%;
}

.alignMitem {
	position:relative;
	right:-50%;
	float:left;
}
