﻿.template, #contacts .active {
	display: none;
}

/* ok, let's go. this is a layout */
html, body {
	height: 100%;
	max-height: 100%;
	padding: 0;
	margin: 0;
}

#container {
	position: relative;
	height: 100%;
	max-height: 100%;
	min-height: 480px;
	min-width: 640px;
}

#header {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 5;
	height: 71px;
	background: #001f55 url('/i/aidate-controls-sprite.png') 0 46px repeat-x;
}

#o-mount {
	position: absolute;
	top: 71px;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #fff;
	padding: 8px;
}

#i-mount {
	position: relative;
	border: solid 1px #c30;
	height: 100%;
	background-color: #f8f8f8;
}

#title-bar {
	position: relative;
	color: #c30;
	background-color: #ffffcd;
	font-family: Arial;
	font-size: 9pt;
	font-weight: bold;
	padding: 10px;
	height: 15px;
	overflow: hidden;
	border-bottom: solid 1px #c30;
}

#footik {
	position: absolute;
	bottom: 6px;
	left: 6px;
	right: 6px;
	height: 117px;
	padding: 0 303px 0 0;
	overflow: hidden;
}

#opponent-profile {
	width: 295px;
	height: 222px;
	border: solid 1px #d3d3d3;
	border-bottom: none;
	background-color: #fff;
	overflow: hidden;
	position: absolute;
	top: 42px;
	right: 6px;
}

#contacts 
{
	overflow-y: auto;
	background-color: #fff;
	position: absolute;
	top: 264px;
	right: 6px;
	bottom: 129px;
	width: 295px;
	border: solid 1px #d3d3d3;
	border-bottom: top;
}

#contacts-actions {
	display: block;
	color: #757575;
	font-family: Tahoma;
	font-size: 8pt;
	text-align: center;
	white-space: nowrap;
	width: 303px;
	height: 120px;
	position: absolute;
	bottom: 5px;
	right: 6px;
	z-index: 500;
}

.basic-smiles, .extra-smiles {
	bottom: 219px;
}

.basic-smiles {
	left: 6px;
}

.extra-smiles {
	left: 157px;
	right: 311px;
	max-width: 320px;
	/*width: 320px;*/
}

#message-area {
	position: absolute;
	left: 6px;
	right: 8px;
	bottom: 127px;
	padding: 0 304px 0 0;
	overflow: hidden;
}

#messages {
	position: absolute;
	left: 6px;
	top: 42px;
	bottom: 262px;
	right: 310px;
	border: 1px solid #d3d3d3;
	background: #fff;
}

#message-log {
	font-family: Arial, sans-serif;
	font-size: 9pt;
	height: 100%;
	overflow-y: scroll;
}
/* end of layout */


/* message log, message text area, smiles */
#message-log p {
	margin: 0 1ex;
	padding: 0;
}

#message-log .n {
	margin-top: .5ex;
	font-weight: bold;
}

#message-log .op.n {
	color: #c30;
}

#message-log .y.n {
	color: #979797;
}

#message-log .msg {
	margin-bottom: 1ex;
}

#message-log .op {
	font-weight: bold;
}
	#message-log .message {
		margin: 1ex;
		line-height: 22px;
	}

#purchase-message {
	padding-left: 17px;
	background: url('/i/inf.gif') no-repeat 0 4px;
	margin: 1ex 0 1ex 7px;
	line-height: 22px;
}
	#message-log #purchase-message {
		width: 90%;
	}

	#gift-selector #purchase-message {
		display: inline-block;
		_display: inline;
		_zoom: 1;
	}
		#gift-selector #purchase-message p {
			display: inline;
		}
		#gift-selector #purchase-message p.advise {
			display: none;
		}

#purchase-message p {
	margin: 0;
	padding: 0;
}

#purchase-message .desc {
	color: #666;
}

#purchase-message div, 
#purchase-message p.advise, 
#purchase-message .spinner, 
#purchase-message .running-out, 
#purchase-message .no-credits, 
#purchase-message .no-credits-left, 
#purchase-message .premium-smiles,
#purchase-message .virtual-gifts,
#purchase-message .without-ticket,
#purchase-message.without-ticket .with-ticket, 
#purchase-message .another-amount {
	display: none;
}

#purchase-message.fail .fail, 
#purchase-message.error .error-message, 
#purchase-message.thank-you .thank-you, 
#purchase-message.no-credits .no-credits, 
#purchase-message.running-out .running-out, 
#purchase-message.no-credits-left .no-credits-left, 
#purchase-message.premium-smiles .premium-smiles,
#purchase-message.virtual-gifts .virtual-gifts,
#purchase-message.without-ticket .without-ticket, 
#purchase-message.with-ticket .another-amount, 
#purchase-message.advised p.advise {
	display: inherit;
}

#purchase-message .error-message {
	color: #c30;
}

#purchase-message input, 
#purchase-message .error, 
#purchase-message.error .another-amount, 
#purchase-message.spinned input {
	display: none;
}

#purchase-message.spinned .another-amount {
	visibility: hidden;
}

#gift-selector #purchase-message.spinned .another-amount {
	display: none;
}

#purchase-message span.running-out, 
#purchase-message span.no-credits-left, 
#purchase-message span.premium-smiles {
	margin-right: .5em;
}

#purchase-message.spinned .spinner {
	display: inline;
	padding-left: 18px;
	background: url('/i/purchase-spinner.gif') no-repeat 0 0;
	line-height: 22px;
	color: #666;
}

#purchase-message .amount-20, 
#purchase-message .amount-40, 
#purchase-message .amount-80, 
#purchase-message .amount-160, 
#purchase-message .amount-320, 
#purchase-message .amount-500, 
#purchase-message .amount-1000 {
	display: inline;
	line-height: 21px;
	height: 21px;
	border: 0;
	background: url('/i/purchase-button.gif') no-repeat 0 0;
	cursor: pointer;
}

#purchase-message input.amount-20 {
	width: 122px;
	background-position: 0 -132px;
}
#purchase-message input.amount-40 {
	width: 122px;
	background-position: 0 -110px;
}
#purchase-message input.amount-80 {
	width: 122px;
	background-position: 0 -88px;
}
#purchase-message input.amount-160 {
	width: 128px;
	background-position: 0 -66px;
}
#purchase-message input.amount-320 {
	width: 128px;
	background-position: 0 -44px;
}
#purchase-message input.amount-500 {
	width: 128px;
	background-position: 0 -22px;
}
#purchase-message input.amount-1000 {
	width: 134px;
	background-position: 0 0;
}

#message {
	display: block;
	height: 85px;
	border: solid 1px #d3d3d3;
	padding: 0;
	margin: 0;
	width: 100%;
	
	resize: none;
}

/* end */

/* footer — buttons, some text */
#bns {
	height: 35px;
	position: relative;
}

#bns .button {
	position: relative;
	display: block;
	float: left;
	height: 32px;
	border: none;
	margin-right: 8px;
	cursor: pointer;
	text-indent: -2000px;
	line-height: 0;
}

#bns #send-message {
	background: url('/i/aidate-controls-sprite.png') -372px -50px no-repeat;
	width: 109px;
}

#bns #send-gift {
	background: url('/i/aidate-controls-sprite.png') -337px -81px no-repeat;
	width: 142px;
}

#bns #end-chat {
	position: absolute;
	height: 24px;
	top: 0;
	right: 0;
	background: url('/i/aidate-controls-sprite.png') -415px -25px no-repeat;
	width: 66px;
}

#tnc {
	margin: 0;
	padding: 0.5em 97px 0 3px;
	clear: both;
	color: #757575;
	font-family: Arial;
	font-size: 7.5pt;
}

#tnc a {
	white-space: nowrap;
	color: #757575;
}

/* end */

/* header */
#nav {
	height: 30px;
	position: relative;
	padding: 16px 16px 0 0;
	margin: 0;
	float: right;
	list-style-type: none;
	color: #fff;
	font-family: Tahoma;
	font-size: 8pt;
	background-color: #001f55;
	white-space: nowrap;
}

#nav a {
	color: #fff;
}

#nav li {
	float: left;
}

#logo {
	position: absolute;
	left: 0;
	float: left;
	padding: 0 14px 0 0;
	display: block;
	width: 120px;
	height: 46px;
	background: #001f55 url('/i/aidate-controls-sprite.png') 14px -25px no-repeat;
}

#slogan {
	position: absolute;
	margin-left: -175px;
	left: 50%;
	float: left;
	display: block;
	width: 252px;
	height: 46px;
	background: url('/i/aidate-controls-sprite.png') -120px -25px no-repeat;
}

/* end */

/* contact list */
#contacts ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#contacts ul li, #attendee {
	line-height: 2;
	color: #9e9e9e;
	font-family: Arial, sans-serif;
	font-size: 9pt;
	height: 23px;
	margin: 0;
	padding: 0 0 0 2em;
	border-bottom: solid 1px #f4f4f4;
	position: relative;
	cursor: default;
	overflow: hidden;
}

#attendee {
	cursor: auto;
	color: #fff;
	background-color: #c30;
}

#contacts ul li.on {
	cursor: pointer;
	color: #000;
}

#contacts li i {
	display: none;
	position: absolute;
	top: 7px;
	right: 5px;
	width: 9px;
	height: 9px;
	background: url('/i/aidate-controls-sprite.png') -388px -27px no-repeat;
	cursor: pointer;
}

#attendee i {
	position: absolute;
	left: 50%;
	margin-left: -5px;
	top: -4px;
	width: 9px;
	height: 5px;
	background: url('/i/aidate-controls-sprite.png') -376px -27px no-repeat;
}

#contacts li:hover, #contacts li.selected {
	background: #ffffcd;
}

#contacts li:hover i {
	display: block;
}

#contacts li.selected i {
	display: block;
}

#contacts ul li em, #attendee em {
	position: absolute;
	top: 6px;
	left: 5px;
	display: block;
	width: 11px;
	height: 11px;
	color: #9e9e9e;
	background-image: url('/i/aidate-controls-sprite.png');
	background-repeat: no-repeat;
	background-position: -375px -37px;
}

#contacts ul li.on em {
	background-position: -387px -37px;
}

#contacts ul li.on.inchat em, #attendee em {
	background-position: -399px -37px;
}

#contacts ul li.on.inchat.unread em {
	background: url(/i/icon_status_unresponded_message.gif) no-repeat 0 0;
}

#contacts ul li.active {
	cursor: auto;
	color: #fff;
	background-color: #c30;
}

#rac, #vol {
	text-decoration: underline;
	cursor: pointer;
	color: #757575;
}

/* end */

/* opponent profile */
.profile-w {
	height: 185px;
	padding: 7px;
	overflow: hidden;
	background-color: #fff;
}

.profile-l {
	width: 140px;
	float: left;
	position: relative;
}

.profile-l #thumbnail {
	width: 140px;
	height: 146px;
	padding-top: 20px;
	position: relative;
}

.profile-l #thumbnail .thumb-icons {
	position:absolute;
	top:115px;
	left:22px;
}

.profile-l #thumbnail .thumb-icons span, .profile-l #thumbnail .thumb-icons a
{
	display: inline;
	padding:2px;
	margin-left: 0;
	width: 32px;
	height: 32px;
}

.profile-l #thumbnail .gift-icon img
{
	width:32px;
	height:32px;
}

.profile-l #video {
	position: absolute;
	left: 0;
	top: -5px;
}
.profile-l #video.movie {
	width: 140px;
	height: 159px;
}

.profile-l #thumbnail a {
	width: 100px;
	display: block;
	margin-left: 19px;
}

.profile-l img.thumbnail
{
	display: block;
	width: 100px;
	height: 133px;
	padding: 0;
	margin: 0;
	overflow: hidden;
}

#auth-state {
	display: block;
	width: 100px;
	height: 13px;
	background: url('/i/aidate-controls-sprite.png') -206px -72px no-repeat;
	color: #fff;
}

#auth-state strong {
	display: none;
}

ul#services-l {
	width: 92px;
	margin: 0 0 0 25px;
	padding: 0;
	list-style-type: none;
}

#services-l {
	height: 15px;
}

ul#services-l li {
	margin: 0;
	padding: 0;
	float: left;
	height: 16px;
	width: 16px;
	padding: 0 3px 0 0;
	position: relative;
}

ul#services-l li.last {
	padding-right: 0;
}

#services-l a {
	background: url('/i/aidate-controls-sprite.png') 0 0 no-repeat;
	display: block;
	position: absolute;
	width: 16px;
	height: 16px;
	font-size: 0;
	line-height: 0;
	text-indent: -2000px;
}

#services-l li#s-mail a {
	background-position: -149px -72px;
}

#services-l li#s-phone a {
	background-position: -166px -72px;
}

#services-l li#s-favorite a {
	background-position: -114px -72px;
}

#services-l li#s-date a {
	background-position: -97px -72px;
}

#services-l li#s-vgift a {
	background-position: -58px -75px;
}

.profile-r {
	width: 134px;
	padding-left: 7px;
	float: right;
}

.profile-r, .profile-r h5, .profile-r a {
	font-family: Arial, sans-serif;
	font-size: 9pt;
	font-weight: normal;
}

.profile-r h5 {
	margin: 20 0 .5ex;
}

.profile-r a {
	color: #001f56;
}

.profile-r h5 a {
	font-weight: bold;
}

.profile-r h5 em {
	font-style: normal;
}

ul#services-r, ul#services-r li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

ul#services-r li {
	height: 18px;
	padding-left: 16px;
	position: relative;
}

ul#services-r li span {
	display: block;
	position: absolute;
	width: 16px;
	height: 16px;
	left: 0;
	background: url('/i/aidate-controls-sprite.png') 0 0 no-repeat;
}

ul#services-r li a {
	padding-left: 16px;
}

ul#services-r li#s-video-chat span {
	background-position: -80px -72px;
}

ul#services-r li#s-gift span {
	background-position: -132px -72px;
}

ul#services-r li#s-videos span {
	background-position: -183px -72px;
}

ul#services-r li a {
	padding-left: 4px;
	background-color: #fff;
	display: block;
}

ul#services-r li#s-date a {
	padding-left: 5px;
}

.profile-r p {
	clear: both;
	font-size: 8.5pt;
	margin: .5ex 0;
	padding: 0;
}

/* typing state */

#typing-message {
	color: #666;
	display: none;
}

#typing-message {
	display: block;
}

	#typing-message .message {
		display: none;
	}

	#typing-message.is-typing .is-typing {
		display: inline;
		padding-right: 20px;
		background: url('/i/typing.gif') no-repeat 100% 60%;
	}

	#typing-message.entered-text .entered-text {
		display: inline;
	}

/* end */


