@charset "UTF-8";

/* "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework */
@import url(yaml/core/base.css);
@import url(yaml/screen/basemod.css);

@import url(basemod_1-3-2_madtv.css);

:root {
	--color-red: #DC2424; /* Mad TV red */
	--color-green: #40A040; /* green */
	--color-gray-100: #ECECEC; /* very light gray */
	--color-gray-200: #DCDCDC; /* light gray */
	--color-gray-300: #B0B0B0; /* gray */
	--color-gray-400: #808080; /* dark gray */
	--color-gray-500: #606060; /* very dark gray */
	--color-black: #000000;
	--color-even: var(--color-gray-100);
	--font-family-default: Verdana, Arial, sans-serif;
	--font-family-game: AdvoCut, "Courier New", Verdana, Arial, sans-serif;
	--font-size-default: 11px;
	--font-size-small: 10px;
	--font-size-game: 18px;
	--cursor-game: url(../img/cursor.png), default;
	--cursor-game-act: url(../img/cursor_action.png), pointer;
}

@font-face {
	font-family: 'AdvoCut';
	src: url('../res/advocut-webfont.eot');
	src: url('../res/advocut-webfont.eot') format('embedded-opentype'),
		url('../res/advocut-webfont.woff') format('woff'),
		url('../res/advocut-webfont.ttf') format('truetype'),
		url('../res/advocut-webfont.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

*, *::before, *::after {
	box-sizing: border-box;
}

body {
	font-size: var(--font-size-default);
	line-height: 1.2em;
	font-family: var(--font-family-default);
	background: url(../img/bg/body.png) repeat-x var(--color-gray-400) fixed;
}

/***** TEXT *****/
p {
	margin: 5px 0;
}

.bold,
.bold a {
	font-weight: bold;
}

.noFirstLetterUc {
	&::first-letter {
		text-transform: initial !important;
	}
}

/***** HEADLINES *****/
h1,
h2,
h3 {
	font-weight: bold;
	&::first-letter {
		text-transform: uppercase;
	}
}

h1 {
	font-size: 18px;
	line-height: 20px;
	margin: 10px 0 5px 0;
}

h2 {
	font-size: 16px;
	line-height: 18px;
	margin: 10px 0 5px 0;
}

h3 {
	font-size: 14px;
	line-height: 16px;
}

/***** LINKS *****/
a {
	color: var(--color-black);
	cursor: pointer;
	text-decoration: underline;
	outline: none;

	&:hover {
		color: var(--color-red);
	}

	&.selected {
		color: var(--color-red);
		font-weight: bold;
		text-decoration: none;
	}

	&.alt {
		color: var(--color-black);
		line-height: 1em;
		font-size: var(--font-size-default);
		font-weight: normal;
		text-decoration: underline;
		font-family: var(--font-family-default);

		&:hover {
			color: var(--color-black);
			text-decoration: underline;
		}
	}
}

/***** IMAGES *****/
img {}

/***** TABLES *****/
table {
	border: 0;
	border-spacing: 0;

	/* Table with border an even-odd rows */
	&.style1 {
		border: 2px solid var(--color-black);
		width: 100%;

		tr {
			&:nth-child(even) {
				background-color: var(--color-even);
			}

			th {
				padding: 2px 3px;
				background-color: var(--color-gray-300);

				&::first-letter {
					text-transform: uppercase;
				}
			}
			td {
				padding: 1px 3px;
			}

			&.disabled {
				color: var(--color-gray-400);
				a {
					color: var(--color-gray-400);
					&:hover {
						color: var(--color-red);
					}
				}
			}
		}
	}

	/* Simple table without visible borders */
	&.style2 {
		display: block;

		tr {
			th,
			td {
				padding: 4px;
			}
		}

		tr.even + tr.even td,
		tr.odd + tr.odd td {
			padding-top: 0;
		}
	}
}

/***** FORMS *****/
input,
select,
textarea {
	background-color: #fff;
	color: var(--color-black);
	border: 1px solid var(--color-black);
	font-size: 12px;
	width: 200px;
	font-weight: bold;
	margin: 2px 0 0 0;
	padding: 2px 0 2px 2px;
}

input[type=radio],
input[type=checkbox] {
	width: auto !important;
	margin: 0 5px 0 0;
}

input[type=submit] {
	cursor: pointer;
}

input[disabled=disabled],
input[disabled] {
	background-color: var(--color-gray-100);
	border-color: var(--color-gray-300);
}

textarea {
	font-family: var(--font-family-default);
	font-size: var(--font-size-default);
}

select {
	padding: 2px;
}

option {
	padding: 4px 4px 0 4px;
}

.button {
	width: auto !important;
	font-size: var(--font-size-default);
	font-weight: bold !important;
	padding: 2px 4px;
	cursor: pointer;
}

.radio {
	border: 0;
	background-color: var(--color-gray-200);
}

legend {
	font-weight: bold;
}

/* Zend Form */
.zend_form {
	.field {
		margin: 0 0 1em 0;
	}

	label {
		display: block;
		font-weight: bold;

		&.checkbox {
			font-weight: normal;
			margin: 2px 0 0 0;
		}
	}

	input,
	select,
	textarea {
		font-weight: normal;
		width: 400px;
	}

	select[multiple=multiple] {
		height: 16em;
	}

	textarea {
		height: 100px;
	}

	ul.errors {
		list-style-type: none;
		list-style-image: none;
		margin: 0;
		color: var(--color-red);

		li {
			margin: 0;
		}
	}

	.counter {
		padding: 0 0 0 5px;

		&.error {
			color: var(--color-red);
		}
	}
}

/***** LISTS *****/
ul {
	line-height: 1.5em;
	margin: 0 0 0.5em 0;
	list-style-image: url(../img/bullet.gif);
	list-style-type: square;
}

ol {
	line-height: 1.2em;
}

li {
	margin-bottom: 0.5em;
}

/***** HELPER CLASSES *****/
.hidden {
	display: none !important;
}

.shadow {
	box-shadow: 4px 4px 0 var(--color-black);
	-moz-box-shadow: 4px 4px 0 var(--color-black);
	-webkit-box-shadow: 4px 4px 0 var(--color-black);
}

.loading {
	background: url(../img/loader.gif) no-repeat -2px 0;
	padding: 2px 0 0 32px;
	line-height: 32px;
	min-height: 32px;
}

.red_box {
	background-color: var(--color-red);
	border-top: 2px solid #f09080;
	border-right: 2px solid #803430;
	border-bottom: 2px solid #803430;
	border-left: 2px solid #f09080;
}

.green_box {
	background-color: var(--color-green);
	border-top: 2px solid #8CDC80;
	border-right: 2px solid #208020;
	border-bottom: 2px solid #208020;
	border-left: 2px solid #8CDC80;
}

.red_box a,
.green_box a {
	line-height: 1em;
}

.text_normal {
	color: var(--color-black);
	font-size: var(--font-size-default);
	font-weight: normal;
	line-height: 1.2em;
	text-decoration: none;
	font-family: var(--font-family-default);
	letter-spacing: 0;

	a {
		font-size: var(--font-size-default);
		line-height: 1.2em;
		text-decoration: underline;
	}
}

.ellipsis { /* shorten text (one line only) */
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.red,
.red a {
	color: var(--color-red);
}

.red_bg {
	background-color: var(--color-red);
	padding: 0 8px 0 10px;
}
.lightgrey_bg {
	background-color: var(--color-gray-300);
	padding: 0 8px 0 10px;
}
.lighter_lightgrey_bg {
	background-color: var(--color-gray-200);
	padding: 0 8px 0 10px;
}
.grey_bg {
	background-color: var(--color-gray-400);
	padding: 0 8px 0 10px;
}
.white_bg {
	background-color: #fff;
	padding: 0 8px 0 10px;
}

.green,
.green a {
	color: var(--color-green);
}

.important {
	color: var(--color-red);
	font-weight: bold;
	b {
		font-weight: bolder;
	}
	a {
		color: var(--color-red);
	}
}

.small {
	font-size: var(--font-size-small);
	font-weight: normal;
	font-family: var(--font-family-default);
	line-height: 1em;
}

.info {
	color: var(--color-gray-300);
}

.even {
	background-color: var(--color-even);
}
.odd {
	background-color: #fff;
}

.loader {
	text-align: center;
	display: block;
}

.change-visibility {
	position: absolute;
	top: 3px;
	right: 3px;
}

.interactive {
	cursor: pointer;
}

/***** INGAME *****/
.content-game {
	font-size: var(--font-size-game);
	line-height: 1em;
	text-decoration: none;
	font-family: var(--font-family-game);
	height: 240px;
	padding: 0; /* important */
	cursor: var(--cursor-game);

	a,
	.button,
	.interactive,
	map area {
		cursor: var(--cursor-game-act);
	}

	div,
	a {
		line-height: 1em;
		text-decoration: none;
	}

	a:hover * {
		color: var(--color-black);
	}
}

/***** LAYOUT *****/
#header {
	padding: 0 0 2px 0;
}

#header_left {
	float: left;
	padding: 0 0 0 90px;
}

#header_right {
	float: right;
	margin: 0 252px 0 0;
}

#col1 {
	margin: 0 10px 0 0;
	text-align: right;
	line-height: 1em;

	.box {
		text-align: left;
	}
}

#col2 {
	position: relative;

	p {
		margin: 2px 0;
	}

	input {
		padding: 0;
		margin: 0;
	}

	#menu-toggle {
		display: none;
	}

	#menu-footer-links {
		display: none;
	}
}

#game_screen {
	position: relative;
}

#content_screen {
	background-repeat: no-repeat;
	position: relative;

	/***** BACKGROUND IMAGES *****/
	#room_advertising_agency & {
		background-image: url(../img/bg/rooms/ad_agency.png);
	}
	#room_agent & {
		background-image: url(../img/bg/rooms/agent.gif); /* animated */
	}
	#room_anti_nicotine & {
		background-image: url(../img/bg/rooms/anti_nicotine.png);
	}
	#room_archive & {
		background-image: url(../img/bg/rooms/archive.gif); /* animated */
	}
	#room_betty & {
		background-image: url(../img/bg/rooms/betty.png);
	}
	#room_bio_control & {
		background-image: url(../img/bg/rooms/bio_control.png);
	}
	#room_boss & {
		background-image: url(../img/bg/rooms/boss.png);
	}
	#room_building & {
		background-image: url(../img/bg/rooms/building.png);
	}
	#room_free_duban & {
		background-image: url(../img/bg/rooms/free_duban.png);
	}
	#room_laundry & {
		background-image: url(../img/bg/rooms/laundry.png);
	}
	#multiplayer_auction &,
	#room_movie_agency & {
		background-image: url(../img/bg/rooms/movie_agency.gif); /* animated */
	}
	#room_news & {
		background-image: url(../img/bg/rooms/news.gif); /* animated */
	}
	#room_office & {
		background-image: url(../img/bg/rooms/office.png);
	}
	#room_peacebrothers & {
		background-image: url(../img/bg/rooms/peacebrothers.png);
	}
	#room_peoples_duban & {
		background-image: url(../img/bg/rooms/peoples_duban.png);
	}
	#room_porter & {
		background-image: url(../img/bg/rooms/porter.png);
	}
	#room_psychiatrist & {
		background-image: url(../img/bg/rooms/psychiatrist.png);
	}
	#room_rattling_agency & {
		background-image: url(../img/bg/rooms/rattling_agency.png);
	}
	#room_screenplay_agency & {
		background-image: url(../img/bg/rooms/screenplay_agency.gif); /* animated */
	}
	#room_studio.room_studio_1 & {
		background-image: url(../img/bg/rooms/studio_1.gif); /* animated */
	}
	#room_studio.room_studio_2 & {
		background-image: url(../img/bg/rooms/studio_2.gif); /* animated */
	}
	#room_studio.room_studio_3 & {
		background-image: url(../img/bg/rooms/studio_3.gif); /* animated */
	}
	#room_supermarket & {
		background-image: url(../img/bg/rooms/shop.gif); /* animated */
	}
	#room_tobacco & {
		background-image: url(../img/bg/rooms/tobacco.png);
	}
	#screen_married & {
		background-image: url(../img/bg/rooms/married.png);
		height: 400px;
	}
	#screen_television_program_planned & {
		background-image: url(../img/bg/rooms/television_program_planned.png);
	}
	#screen_television_program & {
		background-image: url(../img/bg/rooms/television_program.png);
	}

	&.simple {
		border: 1px solid var(--color-black);
		height: auto;
		margin: 0 0 2px 0;
		background-color: var(--color-gray-100);
		padding: 10px;
		min-height: 400px;

		.msg_top {
			background-color: var(--color-red);
			padding: 15px 25px 15px 15px;
			margin: 0 0 1em 0;

			a:hover {
				color: #fff;
			}

			&.success {
				background-color: var(--color-green) !important;
			}
		}
	}

	&.tv-frame {
		background-image: url(../img/bg/tv_frame.png);
		height: 468px;
		padding: 50px 155px 100px 50px;

		.msg_top {
			color: var(--color-red);
			font-weight: bold;
			margin: 1.5em 0 1em 0;

			&.success {
				color: var(--color-green) !important;
			}
		}
	}
}

.submenu {
	padding-left: 20px;
	width: 390px;

	a {
		display: inline-block; /* needed for :first-letter */

		&::first-letter {
			text-transform: uppercase;
		}
	}
}

.pager {
	margin-top: 5px;
	text-align: center;

	a,
	span {
		border: 1px solid var(--color-black);
		font-size: 9px;
		text-decoration: none;
		padding: 0 2px;
	}
	span {
		color: var(--color-gray-300);
		border: 1px solid var(--color-gray-300);
	}
}

.content_scrollable {
	max-height: 220px;
	width: 430px;
	overflow: auto;
	overflow-x: hidden;
	line-height: 1.2em;
	position: relative;
}

#footer {
	text-align: right;
	clear: none; /* overwrite yaml */
	margin: 2px 0 0 0;

	.divider {
		padding: 0 5px;
	}
}

#box-footer {
	position: fixed;
	bottom: 0;
	right: 0;
	text-align: left;

	.box-footer-item {
		width: 243px;
		height: 20px;
		float: left;
		position: relative;
		margin: 0 5px 0 0;

		.box {
			width: 243px;
			position: absolute;
			bottom: 0;
			z-index: 3;
		}
	}
}

/***** LAYOUT: BOXES *****/
#col1,
#col2,
#footer,
#box-footer {
	.box {
		border: 1px solid var(--color-black);
		margin: 0 0 5px 0;
		font-size: var(--font-size-small);
		font-weight: normal;
		line-height: 1.2em;
		position: relative;
		background-color: #fff;

		.box-head {
			font-weight: bold;
			padding: 2px 4px;
			white-space: nowrap;

			img {
				border: 1px solid var(--color-black);
				height: 10px;
				width: 10px;
			}
		}
		.box-content {
			border-top: 1px dashed var(--color-black);
			padding: 2px 4px;
			line-height: 1.2em;
			font-size: var(--font-size-small);

			.box-more {
				text-align: right;
				padding: 0 4px;
				font-weight: bold;
			}
		}
	}
}

#box-sound {
	.box-content {
		text-align: center;

		audio {
			width: 100%;
			height: 30px;
		}

		a {
			text-decoration: none;

			&#audio-play {
				font-size: 30px;
				line-height: 20px;
				display: none;
			}

			&#audio-pause {
				font-size: 40px;
			}
		}
	}
}

#box-login {
	.msg {
		font-weight: bold;
		color: var(--color-red);
	}
	.field {
		margin: 0;
		float: left;
		width: 105px;

		label {
			white-space: nowrap;
		}

		&#field-identity {
			margin: 0 0.5em 0 0;
		}
	}

	input {
		width: 100px;

		&#submit {
			margin-top: 12px;
			width: 15px !important;
		}
	}
}

#box-news {
	&.box {
		.box-content {
			padding: 0;

			.news-item {
				padding: 4px;

				&:nth-child(even) {
					background-color: var(--color-even);
				}

				.news_intro {
					font-style: italic;
					font-weight: bold;
					cursor: pointer;
				}

				.news_contents {
					display: none;
					margin-top: 4px;

					.news_goto {
						text-align: right;
						display: block;
						margin-top: 4px;
					}
				}

				&:first-child .news_contents {
					display: block;
				}
			}
		}
	}
}

#box-multiplayer-games {
	#multiplayer_user_games_content {
		.multiplayer_user_game {
			font-weight: bold;
		}
		.inactive {
			opacity: 0.5;
		}
	}
}

#box-game-info {
	img {
		float: left;
		border: 1px solid var(--color-black);
		height: 8px;
		width: 8px;
		margin: 2px 2px 0 0;
	}

	#multiplayer_game_info_users {
		display: none;

		fieldset {
			padding: 0 3px 0 3px;
			margin: 4px 0 4px 0;
			border: 1px solid;

			legend {
				padding: 0 0 4px 0;
			}

			label {
				padding: 0 0 1px 0;
				font-weight: bold;
				float: left;
				width: 140px;
			}

			p {
				text-align: right;
				margin: 0; /* important */
			}
		}
	}
}

/***** LAYOUT: CHAT & GAME CHANNEL *****/
.chat {
	border-bottom: 1px dashed var(--color-black);
	max-height: 200px;
	overflow-y: auto;
	overflow-x: hidden;

	p {
		padding: 2px 4px;
		margin: 0;

		&:nth-child(even) {
			background-color: var(--color-even);
		}
	}

	.name {
		color: var(--color-black);
		padding-right: 5px;
		font-weight: bold;

		a {
			font-weight: bold;
		}

		span.inactive {
			cursor: help;
			font-weight: normal;
			padding-left: 2px;
		}
	}

	.date {
		padding-right: 5px;
		font-size: var(--font-size-small);
		color: var(--color-gray-400);
	}

	.message {
		display: block;
	}
}

#box-chat,
#box-game-channel {
	.box-content {
		padding: 0;
	}
	form {
		padding: 2px 4px 4px 4px;

		input[type=text] {
			width: 186px;
		}
	}
}

/***** LANGUAGES *****/
#languages {
	position: relative;

	summary {
		cursor: pointer;
		background: url(../img/bg/sprites/flags.png) no-repeat;
		display: inline-block;
		width: 21px;
		height: 12px;
		text-indent: -9999px;
		margin: 2px;
	}

	ul {
		position: absolute;
		right: 0;
		top: 0;
		background: #fff;
		list-style-type: none;
		margin: 0;
		padding: 2px;
		line-height: 1em;
		white-space: nowrap;

		li {
			display: inline-block;
			margin: 0 0 0 3px;
			background: url(../img/bg/sprites/flags.png) no-repeat;
			opacity: .5;

			&:first-child {
				margin-left: 0;
			}

			&:hover {
				opacity: 1;
			}

			a {
				display: block;
				width: 21px;
				height: 12px;
				text-indent: -9999px;
			}
		}
	}

	/* Sprites for language flags */
	.language-en {
		background-position: 0 -313px;
	}
	.language-de {
		background-position: 0 -188px;
	}
	.language-fr {
		background-position: 0 -500px;
	}
	.language-es {
		background-position: 0 -375px;
	}
	.language-cn {
		background-position: 0 -63px;
	}
	.language-ro {
		background-position: 0 -1128px;
	}
	.language-hu {
		background-position: 0 -625px;
	}
	.language-pl {
		background-position: 0 -1002px;
	}
	.language-pt {
		background-position: 0 -1065px;
	}
	.language-no {
		background-position: 0 -939px;
	}
	.language-tr {
		background-position: 0 -1316px;
	}
}

/***** COOKIE CONSENT / COOKIE HINT *****/
.cc-window a {
    text-decoration: none;
}

/***** CONFIRM-BOX *****/
.confirm {
	a {
		text-decoration: underline;
	}
	img {
		position: absolute;
		bottom: 10px;
		border: 2px solid;
		border-color: var(--color-gray-300) var(--color-black) var(--color-black) var(--color-gray-300);

		&.confirm_yes {
			left: 120px;
		}
		&.confirm_no {
			right: 120px;
		}
	}
}

/***** CONSOLE *****/
#console {
	position: relative;
	height: 160px;
	line-height: 1em;
	font-size: 17px;
	background: url(../img/bg/console.png) no-repeat;

	#console_users_budget,
	#console_info,
	#console_day {
		display: block;
		position: relative;
		left: 302px;
		text-align: right;
		width: 85px;
		height: 25px;
		padding: 3px 5px 2px 5px;
		color: inherit;
	}

	#console_users_budget {
		top: 13px;
	}

	#console_info {
		top: 28px;
	}

	#console_day {
		top: 64px;
	}

	#money_details {
		position: absolute;
		display: none;
		z-index: 1000;
		left: 240px;
		top: -101px;
		background-color: #fff;
		width: 150px;
		text-align: left;
		border: 2px solid var(--color-gray-400) !important;
		padding: 1px 5px 1px 5px !important;
	}

	#console_info_details {
		position: absolute;
		display: none;
		z-index: 1000;
		left: 170px;
		top: -108px;
		background-color: var(--color-gray-400);
		width: 300px;
		text-align: left;
		border: 2px solid var(--color-gray-400) !important;
	}

	#betty_love {
		position: relative;
		top: 51px;
		left: 258px;
		height: 5px;
		padding: 0;
		background-color: var(--color-red);
		font-size: 1px;
	}

	#console_day_details {
		position: absolute;
		display: none;
		z-index: 1000;
		left: 225px;
		top: -100px;
		background-color: #fff;
		width: 180px;
		border: 2px solid var(--color-gray-400) !important;
		padding: 1px 5px 1px 5px !important;
	}

	#console_end_day_hint {
		position: absolute;
		display: none;
		z-index: 1000;
		left: 240px;
		top: -47px;
		background-color: #fff;
		width: 150px;
		text-align: center;
		border: 2px solid var(--color-gray-400) !important;
		padding: 1px 5px 1px 5px !important;
	}

	#console_end_day {
		display: block;
		width: 36px;
		height: 36px;
		position: absolute;
		left: 250px;
		top: 113px;
	}

	.console_watchers {
		position: absolute;
		display: none;
		z-index: 9;
		left: 416px;
		top: 14px;
		border: 0;
		width: 200px;
		height: 120px;
		background: url(../img/bg/sprites/console.png) no-repeat;
	}

	/* Sprites for console watchers */
	#console_watchers_family {
		background-position: -214px -168px;
	}
	#console_watchers_family_oldest {
		background-position: -214px -334px;
	}
	#console_watchers_family_oldest_one_sleeping {
		background-position: -214px -500px;
	}
	#console_watchers_family_with_teen {
		background-position: -214px -666px;
	}
	#console_watchers_girl {
		background-position: -214px -832px;
	}
	#console_watchers_grandpa {
		background-position: -214px -998px;
	}
	#console_watchers_grandpa_and_girl {
		background-position: -214px -1164px;
	}
	#console_watchers_grandpa_sleeping {
		background-position: -214px -1330px;
	}
	#console_watchers_man_sleeping {
		background-position: -214px -1496px;
	}
	#console_watchers_teen_and_girl {
		background-position: -214px -1662px;
	}
	#console_watchers_teen_angry {
		background-position: -214px -1828px;
	}
	#console_watchers_teen_happy {
		background-position: -460px 0;
	}
	#console_watchers_teen_interested {
		background-position: -460px -166px;
	}
	#console_watchers_two_men {
		background-position: -460px -332px;
	}
	#console_watchers_woman {
		background-position: -460px -498px;
	}

	.console_movie {
		position: absolute;
		display: none;
		z-index: 9;
		left: 20px;
		top: 10px;
		border: 0;
		width: 160px;
		height: 120px;
		background: url(../img/bg/sprites/console.png) no-repeat;
	}

	/* Sprites for console movies */
	#console_movie_advertising {
		background-position: 0 -168px;
	}
	#console_movie_cancelled {
		background-position: 0 -336px;
	}
	#console_movie_action {
		background-position: 0 0;
	}
	#console_movie_comedy {
		background-position: 0 -504px;
	}
	#console_movie_culture {
		background-position: 0 -672px;
	}
	#console_movie_epic {
		background-position: 0 -840px;
	}
	#console_movie_live {
		background-position: 0 -1008px;
	}
	#console_movie_lovestory {
		background-position: 0 -1176px;
	}
	#console_movie_series {
		background-position: 0 -1344px;
	}
	#console_movie_sf {
		background-position: 0 -1512px;
	}
	#console_movie_show {
		background-position: 0 -1680px;
	}
	#console_movie_sundry {
		background-position: 0 -1848px;
	}
	#console_movie_whodunit {
		background-position: -214px 0;
	}
}

/***** ADMIN CONSOLE *****/
#footer .box {
	padding: 5px;
	margin: 10px 0 0 0;
	text-align: left;
}

#bonus_user_outer {
	position: relative;

	.ui-autocomplete {
		position: absolute;
		left: 0;
	}
}

/***** HELP TOOLTIP / JTIP *****/
.JT_arrow {
	display: none;
	position: absolute;
	z-index: 101;
	height: 23px;
	width: 10px;
}

#JT_arrow_left {
	background: url(../img/bg/tooltip_arrow_left.png) no-repeat left top;
	left: -12px;
}

#JT_arrow_right {
	background: url(../img/bg/tooltip_arrow_right.png) no-repeat left top;
}

#JT {
	position: absolute;
	z-index: 100;
	border: 2px solid var(--color-black);
	background-color: #fff;
	overflow: hidden;
	display: none;

	iframe {
		display: none;
		position: absolute;
		top: 0;
		left: 0;
		z-index: -1;
		filter: mask();
		height: 3000px;
	}
}

#JT_copy {
	padding: 10px;
	color: #333;

	p,
	ul{
		font-size: 1.1em;
	}

	p {
		margin: 3px 0;
	}
}

.JT_loader {
	background: url(../img/tooltip_loader.gif) no-repeat center center;
	width: 100%;
	height: 12px;
}

.JT_title {
	padding: 2px 0 3px 8px;
	font-weight: bold;
	border-bottom: 2px solid var(--color-black);
	background-color: var(--color-gray-300);
}

#JT_copy img {
	padding: 1px;
	border: 1px solid #ccc;
}

.jTip {
	cursor: help;

	img {
		border: 1px solid var(--color-black);
		height: 8px;
		width: 8px;
	}
}

a .jTip {
	cursor: pointer;
}

.jTipWrap {
	position: relative;
}

#col2 .jTip {
	position: absolute;
	top: 3px;
	right: 3px;
}

/***** TOOLTIP - JQuery Plugin *****/
#tooltip {
	position: absolute;
	z-index: 100;
}

/***** TOOLTIP / MOVIE DETAILS *****/
#madtvTooltip {
	display: none;
	position: absolute;
	z-index: 1000;
	top: 15px;

	* {
		line-height: 1em;
	}

	#madtvTooltipInner {
		padding: 2px;
		background-color: var(--color-gray-400);

		.left {
			float: left;
		}

		.right {
			display: block;
			text-align: right;
		}

		.studio {
			width: 18px;
			height: 14px;
		}

		.studio2 {
			width: 9px;
			height: 14px;
		}

		.rating {
			position: relative;
			background-color: #A0D8F0;
			width: 102px;
			height: 10px;
			margin: 5px 10px 0 2px;
			float: left;

			.ratingbar {
				position: absolute;
				top: 0;
				left: 2px;
				background-color: var(--color-red);
				height: 8px;
				font-size: 1px;
			}

			.ratingscala {
				position: absolute;
				top: -4px;
				left: -1px;
			}
		}

		/* possible watchers */
		.watchers {
			.left {
				text-align: right;
				width: 120px;
			}
			.right {
				padding-right: 60px;
			}
		}

		/* Sprite for doorplates */
		.building_doorplate {
			float: left;
			background-image: url(../img/bg/sprites/doorplates.png);
			width: 32px;
			height: 32px;
		}
		.building_doorplate-books {
			background-position: 0 0;
		}
		.building_doorplate-cigar {
			background-position: 0 -82px;
		}
		.building_doorplate-contract {
			background-position: 0 -164px;
		}
		.building_doorplate-earth {
			background-position: 0 -246px;
		}
		.building_doorplate-movie {
			background-position: 0 -328px;
		}
		.building_doorplate-office {
			background-position: 0 -410px;
		}
		.building_doorplate-shop {
			background-position: 0 -492px;
		}
		.building_doorplate-studio {
			background-position: 0 -574px;
		}
		.building_room {
			background-color: var(--color-gray-300);
			padding: 2px;
			height: 36px;
		}
	}
}

.tooltip_discrete {
	width: 250px;
	padding: 20px;
	font-weight: normal;
	font-family: var(--font-family-default);
	color: var(--color-black);
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 10;

	.tooltip_inner {
		background-color: #fff;
		border: 2px solid var(--color-black);
		padding: 2px 4px;
	}
}

.details,
.meta_id,
.meta_title,
.meta_titlelength,
.meta_category,
.meta_blocks,
.meta_blocks_left {
	display: none;
}

/***** ERROR REPORT *****/
.system-error {
	position: absolute;
	z-index: 1;
	width: 400px;
	font-size: 14px;
	font-weight: bold;
	overflow: hidden;
	background: #fff;
	border: 2px solid var(--color-red);
	padding: 5px;
	margin: 12px;
}

.confirm,
.error_report {
	position: absolute;
	display: none;
	top: 60px;
	left: 120px;
	width: 400px;
	height: 140px;
	z-index: 100;
	background-color: #fff;
	border: 2px solid var(--color-gray-400);
	padding: 0 0 0 22px; /* padding top and left must be 0 because of scrollbar */
}

.error_report .message {
	overflow: auto;
	overflow-x: hidden;
	height: 100%;
	padding: 4px 10px 0 2px;
}
.error_report .non_game_msg,
.error_report .non_game_msg a {
	font-family: var(--font-family-default);
	font-weight: normal;
	line-height: 1.4em;
	font-size: var(--font-size-default);
}

.error_report .in_game_msg,
.error_report .in_game_msg a,
.error_report .in_game_msg ul li {
	line-height: 1em;
	font-family: var(--font-family-game);
	color: var(--color-black);
	font-weight: bold;
	font-size: var(--font-size-game);
}

.error_report .in_game_msg p {
	margin: 0 0 0.5em 0;
}

.error_report .in_game_msg a {
	text-decoration: underline;
}

/* error report for PHP errors */
#error-report-dev {
	width: 80%;
	left: 10%;
	height: auto;
	text-align: left;
}

#warning_mobile {
	display: none;
}
/* One or more available input mechanism(s) cannot hover (or there are no pointing input mechanisms) */
@media (any-hover: none) {
	#warning_mobile {
		display: block;
	}
}

/***** INDEX / START PAGE *****/
body#index {
	.content-normal {
		height: auto;
		padding: 0;
		cursor: var(--cursor-game);

		a,
		area {
			cursor: var(--cursor-game-act);
		}
	}

	.sign {
		background-color: #fff;
		position: absolute;
		padding: 6px;

		a {
			line-height: 1em;
			text-decoration: none;
			font-size: 20px;
			font-weight: bold;
			font-family: var(--font-family-game);
		}
	}
}

/***** REGISTRATION *****/
body#register {
	label {
		display: block;
		font-weight: bold;
	}
	.input {
		float: left;
	}
	.description {
		margin: 0 0 0 200px;
		padding: 0 10px;
		font-size: var(--font-size-small);
	}
}

/***** USERS DETAILS *****/
body#users_details {
	.content_scrollable {
		height: 250px;

		table {
			tr {
				th,
				td {
					text-align: left;
				}
			}
		}
	}
}

/***** USERS SETTINGS *****/
body#users_settings {
	.content_scrollable {
		height: 250px;

		#field-settings_movie .hint,
		#field-settings_ad .hint {
			display: none;
			color: var(--color-red);
		}
	}
}

/***** SHARED STYLES *****/
.ajax_indicator {
	position: absolute;
	overflow: auto;
	top: 11px;
	left: 11px;
	z-index: 100;
	background-color: #fff;
	font-size: var(--font-size-default);
	color: var(--color-black);
	font-weight: normal;
	letter-spacing: 0;
	font-family: Arial, sans-serif;
	text-align: center;
}

.close,
#close {
	z-index: 101;
	position: absolute;
	top: 5px;
	left: 5px;
}

.small_hints {
	position: absolute;
	top: 11px;
	left: 11px;
	z-index: 90;
	width: 150px;
	font-size: var(--font-size-default);
	color: var(--color-black);
	text-align: left;
	font-weight: normal;
	letter-spacing: 0;
	font-family: Arial, sans-serif;

	.small_hint {
		background-color: #fff;
		border: 2px solid var(--color-gray-400);
		padding: 3px 20px 3px 5px;
		margin: 0 0 8px 0;
		display: none;
		position: relative;

		.small_hint_close_layer {
			z-index: 101;
			position: absolute;
			top: 5px;
			right: 5px;
		}

		a {
			font-size: var(--font-size-default);
			font-family: Arial, sans-serif;
			text-decoration: underline;
		}

		b {
			line-height: 1.5em;
		}
	}
}

#dont_show_this_message_again {
	padding: 15px 0;
}

#arrow_up,
#arrow_down {
	display: none;
	position: absolute;
	bottom: 38px;
	left: 10px;
}

#arrow_down {
	bottom: 2px;
}

.linkToFootnotes {
	text-decoration: none;
}

/***** SHARED STYLES: BALANCE *****/
.balance {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
	background: url(../img/bg/rooms/balance.png) no-repeat;
	display: none;

	.close {
		position: absolute;
		left: 598px;
		top: 14px;
		z-index: 10;
	}

	div {
		position: absolute;
		width: 295px;
		background-color: #fff;
		z-index: 3;
		border: 3px solid var(--color-gray-400);
		border-right-color: var(--color-black);
		border-bottom-color: var(--color-black);
		padding: 2px;

		&.bottom  {
			top: 205px;
			left: 270px;
			width: 100px;
			height: 24px;
			border: 2px solid var(--color-gray-300);
			background-color: var(--color-gray-400);
			text-align: center;
		}

		&.left  {
			top: 10px;
			left: 20px;
		}

		&.upperright  {
			top: 10px;
			left: 320px;
		}

		&.lowerright  {
			top: 106px;
			left: 320px;
		}

		table {
			tr {
				.right {
					text-align: right;
				}
				th  {
					border-bottom-width: 2px;
					border-bottom-style: solid;
					border-color: var(--color-black);
					text-align: left;
					line-height: 0.86em;
					font-weight: normal;
				}
				td  {
					line-height: 0.86em;
					padding: 0;
				}
			}
		}
	}
}

/***** SHARED STYLES: CATEGORY SELECT *****/
#category_select {
	position: absolute;
	top: 20px;
	left: 400px;
	width: 190px;
	height: 188px;
	z-index: 2;
	display: none;
	padding: 4px 0 0 0;
	background-repeat: no-repeat;

	#category_select_close {
		position: absolute;
		top: 6px;
		z-index: 110;
		right: 12px;
	}

	.category_select_category {
		display: block;
		padding: 4px 0 4px 10px;
		height: 16px;
		position: relative;

		img {
			height: 8px;
			display: block;
		}
	}
}

/***** SHARED STYLES: GIFT BAG *****/
#gift-bag {
	position: absolute;
	top: 130px;
	left: 30px;
	z-index: 1;
	padding: 18px 14px;
	background: url(../img/bg/bag.gif) no-repeat;

	img {
		border: 2px solid #400000;
	}
}

#ajax_gift_bag {
	height: 48px;
	width: 64px;
}

/***** SHARED STYLES: BRIEFCASE ****/
#briefcase {
	position: absolute;
	top: 55px;
	left: 435px;
	z-index: 9;
	width: 115px;
	height: 145px;
	overflow: auto;
	margin: 10px 0 0 15px;

	.movie_box {
		display: inline;
	}
}

/***** ROOM ADVERTISING AGENCY *****/
body#room_advertising_agency {
	#hint_ad_blocker {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 0;
	}
	#briefcase .briefcase-box {
		display: inline;
	}
}

/***** ROOM MOVIE AGENCY *****/
body#room_movie_agency {
	#special_movies {
		position: absolute;
		top: 16px;
		left: 30px;
		z-index: 11;
		width: 580px;
		background-color: var(--color-gray-300);
		border: 2px solid var(--color-black);
		display: none;
		border-top-color: var(--color-gray-200);
		border-left-color: var(--color-gray-200);
		padding: 4px 0 5px 8px;

		.movie_box {
			display: block;
			float: left;
			margin: 2px 5px 0 0;
			padding-left: 36px;
			line-height: 16px !important;
			border: 2px solid var(--color-gray-200);
			border-right-color: var(--color-black);
			border-bottom-color: var(--color-black);
			width: 277px;
			height: 36px;
			background: url(../img/box_movie_special.gif) no-repeat;
		}

		#close_layer_special_movies {
			position: absolute;
			z-index: 10;
			top: 0;
			right: -18px;
			background-color: var(--color-gray-300);
			padding: 3px 3px 3px 0;
			border: 2px solid var(--color-black);
			border-top-color: var(--color-gray-200);
			border-left-color: var(--color-gray-300);
			margin-top: -2px;
		}
	}
}

/***** TELEVISION PROGRAM *****/
body#screen_television_program_planned,
body#screen_television_program {
	#television-program-messages {
		display: block;
		position: absolute;
		top: 186px;
		left: 592px;
		z-index: 19;
	}
}

/***** TELEVISION PROGRAM PLANNED *****/
body#screen_television_program_planned {
	.madtvTooltipWatchers {
		width: 200px !important;

		.right {
			padding-right: 0 !important;
		}
	}

	#planned_blocks {
		position: absolute;
		top: 8px;
		left: 144px;
		width: 418px;
		z-index: 1;
	}

	#planned_blocks_movies {
		float: left;
		width: 288px;

		.movie_box_outer {
			background-color: var(--color-gray-300);
			border: 2px solid var(--color-gray-200);
			border-right-color: var(--color-black);
			border-bottom-color: var(--color-black);
			padding: 0 4px 0 5px;

			.movie_box {
				float: left;
				width: 205px;
				line-height: 14px;
			}
		}

		.movie_box_outer,
		.movie_box,
		.no_movie_box {
			height: 32px;
		}

		.no_movie_box {
			padding: 0 10px 6px 5px;
		}
	}

	#planned_blocks_ads {
		float: left;
		width: 130px;

		.box,
		.no_box {
			display: block;
			position: relative;
			width: 128px;
			height: 32px;
			padding: 0 10px 6px 5px;
		}

		.box {
			background-color: var(--color-gray-300);
			border: 2px solid var(--color-gray-200);
			border-right-color: var(--color-black);
			border-bottom-color: var(--color-black);
			line-height: 14px;
			padding: 0 10px 0 5px;
			cursor: var(--cursor-game-act);
			font-family: var(--font-family-game);
			font-size: 17px;

			&.success {
				background-color: green !important;
			}
			&.failure {
				background-color: red !important;
			}
		}
	}

	.watchers_box {
		float: right;
		line-height: 14px;
	}

	.watchers_image {
		display: none;
	}

}

/***** SCREEN TELEVISION PROGRAM *****/
body#screen_television_program {
	#planned_movies,
	#planned_ads {
		position: absolute;
		top: 8px;
		left: 144px;
		z-index: 1;
	}

	#planned_ads {
		left: 433px;

		a {
			text-decoration: none;
			font-weight: bold;
			color: var(--color-black);
			font-family: var(--font-family-game);
			line-height: 0.8em;
		}
	}

	#planned_movies_javascript,
	#planned_ads_javascript {
		position: absolute;
		top: 10px;
		left: 144px;
		z-index: 2;
	}

	#planned_ads_javascript {
		left: 432px;
	}

	#movable_box,
	.planned_movie_planned,
	.planned_ad_planned {
		position: relative;
		background-color: var(--color-gray-300);
		border: 2px solid;
		border-color: var(--color-gray-200) var(--color-black) var(--color-black) var(--color-gray-200);
		line-height: 14px !important;
		padding: 0 10px 0 5px;
		font-size: 17px;
	}

	.planned_movie_planned {
		width: 289px;
		padding: 0 30px 0 5px;
	}

	#movable_box {
		position: absolute;
		z-index: 100;
		display: none;
		overflow: hidden;
	}

	#planned_movies div,
	.planned_movie_javascript,
	#planned_ads div,
	.planned_ad_javascript {
		position: relative;
		height: 32px;
		line-height: 14px;
		display: block;
		cursor: var(--cursor-game);
		overflow: hidden;
	}

	.planned_ad {
		width: 127px;
		white-space: nowrap;
		overflow: hidden;
	}

	.planned_movie_javascript {
		width: 260px;
	}

	.planned_ad_javascript {
		width: 120px;
	}

	/***** TELEVISION PROGRAM MOVIE SELECT *****/
	.movie_select {
		position: absolute;
		top: 100px;
		left: 30px;
		width: 355px;
		z-index: 2;
		background-color: var(--color-gray-300);
		border: 2px solid var(--color-gray-200);
		border-right-color: var(--color-black);
		border-bottom-color: var(--color-black);
		display: none;
		padding: 0 10px 10px 5px;
		text-decoration: none;
		font-family: var(--font-family-game);
		font-size: 17px;

		.movie_box {
			position: relative;
			padding: 1px 5px;
			display: block;
			width: 340px;
			border: 2px solid var(--color-gray-200);
			border-right-color: var(--color-black);
			border-bottom-color: var(--color-black);
		}
	}

	/***** TELEVISION PROGRAM AD SELECT *****/
	.ad_select {
		position: absolute;
		top: 20px;
		left: 330px;
		width: 240px;
		z-index: 2;
		background-color: var(--color-gray-300);
		border: 2px solid var(--color-gray-200);
		border-right-color: var(--color-black);
		border-bottom-color: var(--color-black);
		display: none;
		padding: 0 5px 10px 5px;
		text-decoration: none;
		font-family: var(--font-family-game);
		font-size: 17px;

		.ad_select_item {
			padding-left: 5px;
			border: 2px solid var(--color-gray-200);
			border-right-color: var(--color-black);
			border-bottom-color: var(--color-black);
		}
	}

	/***** WATCHERS DETAILS *****/
	#watchers_blocks {
		position: absolute;
		left: 408px;
		top: 10px;
		width: 20px;
		z-index: 2;

		div {
			height: 32px;

			img {
				margin: 3px 0;

				&.loading-watchers {
					margin: -2px 0 0 -7px;
				}
			}
		}
	}
}

/***** ROOM ARCHIVE *****/
body#room_archive {
	#category_select {
		top: 20px;
		left: 290px;
	}
	#briefcase {
		top: 85px;
		left: 35px;
		width: 215px;
		height: 80px;
	}
	.archive_movie_select {
		position: absolute;
		top: 80px;
		left: 300px;
		z-index: 2;
		display: none;
		padding: 20px 20px 20px 20px;

		.movie_box {
			display: inline;
		}
	}
	.archive_movie_table {
		position: absolute;
		top: 85px;
		left: 23px;
		width: 160px;
		height: 20px;
		z-index: 2;
		background: url(../img/bg/archive_movie_category.gif) no-repeat;
		padding: 3px;
		font-family: var(--font-family-game);
	}
}

/***** ROOM SUPERMARKET *****/
body#room_supermarket {
	#gift-bag {
		display: none;
	}

	.ajax_gift_box {
		width: 80px;
		height: 72px;
		float: left;
		text-align: right;
	}

	#selection {
		display: none;
		position: absolute;
		top: 40px;
		left: 110px;
		z-index: 10;
		width:300px;
		background-color:var(--color-gray-200);
		border: 2px solid var(--color-gray-400) !important;
		padding: 2px 4px !important;

		img {
			border: 2px solid #444444;
		}
	}

	#i-want-gifts {
		margin: 15px 0 0 0;
	}

	#i-want-film-needs {
		margin: 15px 0 15px 0;
	}

	#all_needs {
		display: none;
		position: absolute;
		top: 10px;
		left: 110px;
		z-index: 20;
		width: 510px;
		height: 124px;
		border: 2px solid var(--color-gray-400) !important;
		background-color: var(--color-gray-200);

		.description {
			display: block;
			float: left;
			padding: 0 0 0 5px;
			width: 130px;
			text-align: left;
		}

		.all_needs_item_jsHandle {
			display: none;
		}

		.all_needs_item {
			float: left;
			padding: 2px 0 0 5px;
			width: 70px;
			height: 120px;
			text-align: left;
			position: relative;

			.ajax_film_needs {
				float: left;

				img {
					border: 2px solid #444444;
					padding: 2px;
					background-repeat: no-repeat;
				}
			}

			.rating {
				position: relative;
				background-color: #A0D8F0;
				height: 8px;
				width: 64px;
				padding: 0;
				margin-top: 9px;

				.ratingbar {
					position: absolute;
					top: 0;
					left: 2px;
					background-color: var(--color-red);
					height: 8px;
					font-size: 1px;
				}
				.ratingscala {
					position: absolute;
					top: 0;
					left: 0;
					font-size: 1px;
				}
			}
		}

		#all_needs_arrow_up,
		#all_needs_arrow_down {
			display: none;
			position: absolute;
			left: 5px;
			top: 4px;
		}

		#all_needs_arrow_down {
			left: 40px;
		}
	}

	#gifts {
		display: none;
		position: absolute;
		top: 10px;
		left: 170px;
		z-index: 10;
		width: 440px;
		border: 2px solid var(--color-gray-400) !important;
		background-color: var(--color-gray-200);
		padding: 2px 4px !important;

		img {
			border: 2px solid #400000;
		}
	}

	#madtvTooltip {
		&.filmneedsRequired {
			left: 220px;
			top: 30px;

			.lighter_lightgrey_bg {
				width: 300px;
				height: 80px;
			}
		}

		.img-frame {
			float: right;
			margin: 2px 10px 0 0;
		}
	}

	#screenplays_selection {
		width: 35px;
		float: left;

		div {
			text-align: center;
			width: 16px;

			&.active {
				width: 26px;
			}
		}
	}

	#film_info {
		display: none;
		position: absolute;
		top: 15px;
		right: 15px;
		z-index: 10;
		width: 500px;
		border: 2px solid var(--color-gray-400) !important;
		background-color: var(--color-gray-200);
		height: 110px;
	}

	#film_needs {
		display: none;
		position: absolute;
		top: 140px;
		left: 20px;
		z-index: 10;
		width: 605px;
		border: 2px solid var(--color-gray-400);
		background-color: var(--color-gray-200);
		height: 80px;
		padding: 2px 0 0 55px;

		.film_need {
			display: none;
			float: left;
			margin-right: 5px;
			width: 175px;
			text-align: center;

			.description {
				border: 2px solid var(--color-gray-500);
				background-color: var(--color-gray-300);
			}

			.img-container {
				position: relative;
				margin: 0 0 2px 0;
				height: 48px;
			}
		}
	}

	.img-frame {
		display: inline-block;
		height: 48px;
		padding: 2px;
		border: 2px solid #444444;
		background: url(../img/shop/film_need_frame_2.gif) no-repeat;

		.filmNeedImage {
			background: url(../img/shop/film_needs_default.gif) no-repeat;
		}

		&.img-frame-actor .filmNeedImage {
			background-image: url(../img/shop/film_needs_actor.gif);
		}
		&.img-frame-actress .filmNeedImage {
			background-image: url(../img/shop/film_needs_actress.gif);
		}
		&.img-frame-alien .filmNeedImage {
			background-image: url(../img/shop/film_needs_alien.gif);
		}
		&.img-frame-child .filmNeedImage {
			background-image: url(../img/shop/film_needs_child.gif);
		}
		&.img-frame-mc .filmNeedImage {
			background-image: url(../img/shop/film_needs_mc.gif);
		}
		&.img-frame-singer .filmNeedImage {
			background-image: url(../img/shop/film_needs_singer.gif);
		}
		&.img-frame-starguest .filmNeedImage {
			background-image: url(../img/shop/film_needs_starguest.gif);
		}
		&.img-frame-effects .filmNeedImage {
			background-image: url(../img/shop/film_needs_effects.gif);
		}
		&.img-frame-specialeffects .filmNeedImage {
			background-image: url(../img/shop/film_needs_specialeffects.gif);
		}
	}

	.bg_standard {
		background-image: url(../img/shop/film_need_frame_1.gif) !important;
	}
	.bg_advanced {
		background-image: url(../img/shop/film_need_frame_2.gif) !important;
	}
	.bg_deluxe {
		background-image: url(../img/shop/film_need_frame_3.gif) !important;
	}
}

/***** SCREEN TVSTATIONS *****/
body#screen_tvstations {
	#tvstation_imagemap_img {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 30;
	}

	#tvstation_map {
		display: block;
		width: 640px;
		height: 240px;
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;

		.tvstations_infoitem {
			width: 35px;
			height: 20px;
			margin: 0 0 6px 0;
		}

		.station {
			padding: 0;
			position: absolute;
			z-index: 20;
			background-repeat: no-repeat;
			width: 32px;
			height: 32px;
			transition: all .3s;

			&.tvstation-available {
				background-image: url(../img/bg/tvstations/tvstation.gif);
			}

			&.tvstation-not-available {
				background-image: url(../img/bg/tvstations/tvstation_different.gif);
			}

			&.tvstation-owned {
				background-image: url(../img/bg/tvstations/tvstation_white.gif);
				z-index: 21;
			}

			&.satellite {
				width: 78px;
				height: 76px;

				&.satellite-west {
					transform: scaleX(-1);
				}

				&.satellite-available {
					background-image: url(../img/bg/tvstations/satellite_black.gif);
				}

				&.satellite-owned {
					background-image: url(../img/bg/tvstations/satellite.gif);
				}

				&.satellite-not-available {
					background-image: url(../img/bg/tvstations/satellite_different.gif);
				}
			}

			&.hover {
				z-index: 22;
				opacity: 1 !important;
			}
		}

		&.hover .station {
			opacity: .25;
		}
	}

	.tvstations_infobox {
		position: absolute;
		display: block;
		right: 20px;
		bottom: 20px;
		z-index: 40;
	}
}

/***** BOSS ROOM *****/
body#room_boss {
	#boss_answer {
		position: absolute;
		top: 25px;
		left: 310px;
		width: 300px;
		height: 100px;
		padding: 10px 5px;

		#boss_answer_payback {
			display: none;
		}
	}

	.boss_choice {
		position: absolute;
		top: 148px;
		left: 306px;
		width: 320px;
		height: 75px;
		background: url(../img/bg/boss_choice_background.gif) no-repeat;
		display: none;

		.boss_choice_text {
			width: 270px;
			height: 67px;
			float: right;
			padding: 17px 20px 0 0;
		}

		.boss_choice_nextprev {
			width: 40px;
			float: left;
			line-height: 0 !important;

			.boss_choice_prev,
			.boss_choice_payback_prev {
				padding: 4px 0 0 4px;
			}

			.boss_choice_next,
			.boss_choice_payback_next {
				padding: 0 0 0 4px;
			}
		}
	}

	#boss_choice_start {
		display: block;
	}

}

/***** NEWS ROOM *****/
body#room_news {
	.newscategory {
		position: absolute;
		top: 150px;
		height: 48px;
		width: 38px;

		.newscategory_selected {
			display: none;
			position: absolute;
			bottom: 0;
			left: 14px;
		}
	}

	.newscategory_details {
		position: absolute;
		display: none;
		left: 30px;
		top: 100px;
		width: 155px;
		background-color: var(--color-gray-400);
		padding: 2px;
		z-index: 2;
	}

	#link_to_category_select {
		position: absolute;
		top: 10px;
		left: 130px;
		width: 170px;
		height: 220px;
	}

	#news_select {
		display: none;
		position: absolute;
		top: 8px;
		left: 15px;
		width: 616px;
		height: 220px;
		z-index: 2;
		background: url(../img/bg/news_select_background.png) no-repeat;

		.close {
			top: 2px;
			left: 285px;
		}

		#category_select_icons {
			display: block;
			float: left;
			height: 63px;
			width: 285px;
			margin: 10px 0 0 10px;

			#arrow_up,
			#arrow_down {
				display: none;
				position: absolute;
				top: 10px;
				left: 170px;
			}
			#arrow_down {
				left: 210px;
			}

			img.selected {
				border: 4px solid var(--color-gray-500);
				border-bottom-color: var(--color-gray-200);
				border-left-color: var(--color-gray-200);
			}

			img.unselected {
				border: 4px solid var(--color-gray-200);
				border-bottom-color: var(--color-gray-500);
				border-left-color: var(--color-gray-500);
			}
		}

		#news_container {
			position: relative;
			margin: 1px 0 0 10px;
			float: left;
			width: 290px;
			height: 136px;

			.ajax_news {
				display: none;
			}
		}

		#news_program {
			position: relative;
			float: right;
			width: 302px;
			height: 210px;
			padding: 6px 2px 0 0;
		}

		.ajax_news {

			.news_block {
				display: block;
				height: 68px;
				width: 287px;
				padding: 1px 1px 1px 3px;
				border: 3px solid var(--color-gray-200);
				border-right-color: var(--color-black);
				border-bottom-color: var(--color-black);

				.description {
					display: block;
					height: 42px;
					line-height: 14px;
					overflow: hidden;
				}

				.details {
					display: block;
					height: 18px;
					overflow: hidden;
				}
			}
		}
	}
}

/***** SCREENPLAY AGENCY *****/
body#room_screenplay_agency {
	#briefcase {
		top: 115px;
		left: 30px;
	}
}

/***** AGENT ROOM *****/
body#room_agent {
	#room_agent_map_rooms {
		display: none;
		background: url(../img/bg/rooms/agent_building.png) no-repeat;
		position: absolute;
		top: 0;
		left: 0;
		width: 640px;
		height: 234px;

		.room {
			position: absolute;
			height: 24px;
			width: 20px;
			border: 2px solid var(--color-black);

			&.room_sell {
				background-color: var(--color-red);
			}
		}
	}

	#madtvTooltip {
		width: 300px;
	}
}

/***** BETTY ROOM *****/
body#room_betty {
	#betty_answer {
		display: none;
		position: absolute;
		top: 34px;
		left: 320px;
		width: 270px;
		height: 160px;
		z-index: 2;
		padding: 8px 8px 8px 22px !important;
		background-color: #fff;
		border: 2px solid var(--color-gray-400) !important;
		overflow: auto;

		#close {
			top: 6px;
			right: 6px;
		}
	}

	#betty_avatar {
		position: absolute;
		left: 340px;
	}

	#user_betty_love_layer {
		position: absolute;
		display: block;
		left: 340px;
		top: 22px;
		width: 245px;
		height: 153px;
		z-index: 2;
	}

}

/***** PORTER *****/
body#room_porter {
	#porter_answer {
		position: absolute;
		top: 34px;
		left: 400px;
		width: 185px;
		height: 150px;
		z-index: 2;
		padding: 8px 8px 8px 22px !important;
		background-color: #fff;
		display: none;
		border: 2px solid var(--color-gray-400) !important;

		#close {
			top: 6px;
			right: 6px;
		}
	}
}

/***** STUDIO *****/
body#room_studio {
	#briefcase {
		top: 40px;
		left: 480px;
	}

	#butler_options {
		display: none;
		position: absolute;
		top: 55px;
		left: 158px;
		z-index: 10;
		width: 320px;
		background-color: var(--color-gray-400);
		padding: 2px;

		#shoppinglist {
			float: right;
			padding: 0 40px 0 0;
		}
	}

	#studio_table {
		background: url(../img/bg/screenplay_box_studio.gif) no-repeat;
		position: absolute;
		top: 165px;
		left: 495px;
		z-index: 9;

		.movie_box img {
			visibility: hidden;
		}
	}
}

/***** BUILDING *****/
body#room_building {
	#building_iframe {
		width: 640px;
		height: 220px;
		margin-top: 8px;
	}

	#roomBuildingScroller {
		position: absolute;
		top: 20px;
		left: 590px;
		width: 30px;
		display: block;
	}

	#additionalScroller {
		.up,
		.down {
			position: absolute;
			left: 142px;
			width: 355px;
			height: 30px;
		}
		.up {
			top: 0;
		}
		.down {
			bottom: 0;
		}
	}
}

#room_building_iframe {
	overflow: hidden;

	&.content-game {
		height: auto;
	}

	a.anchor {
		visibility: hidden;
	}

	#madtvTooltip {
		width: auto;
		padding: 0;
		background: none;
		margin: 12px 0 0 18px;
		text-align: left;
	}
}

/***** OVERVIEW *****/
body#overview {
	.overview_select {
		> div {
			width: 350px;
		}
		img {
			margin: 1em;
		}
		a b {
			display: block;
			padding: 1em;
			font-size: 140%;
			line-height: 120%;
		}
	}

	.film_needs_details_image {
		position: absolute;
		top: 4px;
		right: 4px;
	}
}

/***** MULTIPLAYER SHARED *****/
.multiplayer_left {
	float: left;
	width: 210px;
}

.multiplayer_right {
	float: left;
	width: 222px;
	overflow: auto;
}

/***** MULTIPLAYER LOBBY *****/
body#multiplayer {
	.create_game {
		height: 240px;
	}

	#multiplayer_games {
		border: 1px dashed var(--color-black);
		margin: 2px 10px 0 0;
		height: 185px;
		overflow: auto;

		#multiplayer_games_content {
			padding: 2px 4px;

			p {
				margin: 0;
				padding: 2px 4px;

				&:nth-child(even) {
					background-color: var(--color-even);
				}
			}
		}

		table {
			width: 100%;

			tr {
				&:nth-child(even) {
					background-color: var(--color-even);
				}
				td {
					padding: 2px 4px;
				}
			}
		}
	}

	form {
		.item {
			display: block;
			padding: 2px 0;
		}
	}
}

/***** MULTIPLAYER GAMESTART *****/
body#multiplayer_gamestart {
	/* Contains chat */
	.multiplayer_left .box-content {
		border: 0;
		padding: 0;
		font-size: var(--font-size-small);
	}
	#multiplayer_game_channel_content {
		border: 1px dashed var(--color-black);
		margin: 2px 10px 0 0;
		height: 120px;
		overflow: auto;
	}
	#multiplayer_game_channel_input {
		width: 170px;
	}

	.kick-user {
		text-decoration: none;
	}

	.multiplayer_bottom {
		float: left;
		width: 100%;

		.multiplayer_participants {
			float: left;
			width: 210px;

			.name {
				padding: 2px 8px 2px 0;
			}
		}

		.multiplayer_action {
			float: left;
			width: 210px;
		}
	}
}

/***** MULTIPLAYER RESULTS *****/
body#multiplayer_results {
	p.loading {
		line-height: 16px;
	}
}

/***** MULTIPLAYER AUCTION *****/
body#multiplayer_auction {
	#multiplayer_auction_select,
	.multiplayer_auction_movie {
		display: none;
		position: absolute;
		top: 20px;
		left: 220px;
		width: 350px;
		height: 100px;
		z-index: 2;
		padding: 0 8px 8px 14px;
		background-color: #fff;
		border: 2px solid var(--color-gray-400) !important;
	}

	.multiplayer_auction_movie {
		height: 140px;
		top: 40px;
		left: 200px;
		padding: 4px 8px 8px 22px;

		h1 {
			margin: 0;
		}

		form {
			display: inline;

			input[type=text] {
				width: 80px;
			}
		}

		.movie_box {
			float: right;
			padding: 10px 10px 0 10px;
		}
	}

	#multiplayer_auction_select {
		.movie_box {
			display: inline;
		}
	}

	#multiplayer_auction_response {
		padding: 10px 0 0 0;
	}
}

/***** USER INPUT *****/
body#input {
	#content_screen.simple {
		min-height: 360px;
	}

	#field-limitation {
		label {
			margin: 0 0 0.5em 0;
		}
		br {
			display: none;
		}
	}

	/* User input movie */
	#zend_form_movie {
		.field-lang,
		#field-episodes,
		#field-episodes_live,
		#field-live_in_days,
		#field-live_in_block,
		#field-category_series,
		#field-studio,
		#group-episodes_title,
		#group-episodes_description,
		#group-description2 {
			display: none;
		}
	}

	/* User input ad */
	#zend_form_ad {
		.field-lang,
		#field-categories,
		#additional_info-description {
			display: none;
		}
	}

	/* User input filmneeds */
	#zend_form_filmneed {
		.field-film-need-title {
			margin-left: 215px;
		}
		#field-type,
		#field-importance {
			float: left;
			margin: 0 1em 0 0;
		}
		#field-type {
			select {
				width: 130px;
			}
		}
		#field-importance {
			select {
				width: 50px;
			}
		}
	}

	#input_filmneeds_manage {
		img {
			border: 1px solid var(--color-black);
		}
	}
}

/***** USER INPUT REVIEW *****/
body#input_review {}

/***** USER GENERATED INPUT *****/
body#input_usergenerated {
	.content_scrollable {
		height: 250px;
	}
}

/***** PAYPAL / BUY *****/
body#buy {
	form.create {
		.left {
			float: left;
			input {
				margin-top: 10px;
			}
		}
		.right {
			float: left;
		}
	}
}

/***** RESPONSIVE LAYOUT *****/
@media screen and (max-width: 800px) {
	.hidden-sm {
		display: none !important;
	}
	.visible-sm {
		display: block !important;
	}
	#page_margins {
		width: 640px;
	}
	#page {
		padding: 0;
	}
	#col2 {
		float: none;
		position: absolute;
		left: -245px;
		z-index: 91;
		overflow: visible;
		border-right: 1px solid var(--color-black);
		background: #fff;
		height: 100%;

		#col2-content {
			height: 100%;
			overflow-y: auto;
		}

		#menu-toggle {
			display: block;
			position: absolute;
			right: -22px;
			top: 16px;
			width: 11px;
			height: 23px;
			padding: 5px;
			background: url(../img/arrow_right.gif) #fff no-repeat center center;
			text-indent: -9999pt;
			border: 1px solid var(--color-black);
			border-left: 0;
			cursor: pointer;
		}

		&.toggled #menu-toggle {
			background-image: url(../img/arrow_left.gif);
		}

		.box {
			margin: 0;
			border: 0;
			border-top: 1px dashed var(--color-black);

			&:first-child {
				border: none;
			}

			.box-content {
				border: none;
			}
		}
	}

	#col3 {
		margin: 0;
		position: relative;
	}

	#game_screen {
		width: 640px;
	}

	.content-game {
		height: 232px;
		margin-top: -6px;
	}
}
