@keyframes water-top {
	from {
		background: url(../images/game/water_top.png) 0px 0px;
	}
	to {
		background: url(../images/game/water_top.png) 97px 0px;
	}
}

@font-face {
    font-family: kelly-slab;
    src: url("../fonts/kelly-slab.ttf");
}

#game_container {
	width: 100%;
	min-width: 1200px;
	height: 100%;
	min-height: 835px;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
}

body, html {
	margin: 0;
	padding: 0;
	background-color: black;
	width: 100%;
	min-width: 1200px;
	height: 100%;
	min-height: 835px;
}

.top_panel {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 47px;
	background-image: url(../images/bottom_panel_top.png);
	font-family: kelly-slab;
	font-size: 17px;
	display: flex;
	align-items: center;
}
.top_panel__content {
	width: calc(100% - 100px);
	height: 100%;
	display: flex;
	justify-content: space-evenly;
    align-items: center;
}
.sky {
	position: absolute;
	top: 47px;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
}
.info_block {
	position: absolute;
	right: -437px;
	top: -10px;
	width: 437px;
	height: 265px;
	background-image: url(../images/info_block.png);
	transition: 1s linear;
	z-index: 9;
	color: #f07322;
}
.info_block_text {
	position: absolute;
    top: 30px;
    left: 30px;
    font-family: kelly-slab;
    font-size: 15px;
    width: calc(100% - 60px);
    height: calc(70% - 60px);
}
.weather_block_text {
	position: absolute;
    top: calc(30px + 70% - 60px);
    left: 30px;
    font-family: kelly-slab;
    font-size: 12px;
    width: calc(100% - 60px);
    height: calc(12.5%);
    line-height: 26.5px;
    align-content: end;
}

#main_panel {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 518px;
	background-color: black;
	transition: 1s linear;
	z-index: 10;
}

@media (max-height: 840px) {
	#main_panel {
		height: 400px;
	}
	.bp_main {
		height: 353px;
	}
}

.bp_line {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 47px;
	background-image: url(../images/bottom_panel_top.png);
}
.bp_main {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 471px;
	background-image: url(../images/bottom_panel_bg.png);
}
.sky_block {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 200px;
}
.water {
	position: absolute;
	top: 200px;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
}
.twater {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../images/water.png);
	background-size: 100% 100%;
	z-index: 1;
}
.swater {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url(../images/water_top.png);
	opacity: 0.75;
	z-index: 3;
	background-size: 100% 100%;
}
.animation {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}
.clouds {
	position: absolute;
	top: 0;
	left: 0;
}
.southampton_island, .ship {
	position: absolute;
	top: 0;
	left: 0;
}
.location {
	position: absolute;
	right: 0;
	top: 0;
	width: 700px;
	height: 100%;
	display: none;
	overflow: hidden;
}
.location_img {
	width: 690px;
	height: calc(100% - 130px);
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
	border: 2px solid #3d6d59;
	overflow: hidden;
    position: absolute;
}

#location_name {
	position: absolute;
	top: 5px;
	left: 5px;
	font-family: kelly-slab;
	font-size: 38px;
	color: white;
	text-shadow: 5px 5px 5px black;
}

.player_stat {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 121px;
}
.avatar {
	margin-top: 5px;
	margin-left: 3px;
	width: 100px;
	height: 100px;
	border: 2px solid #3d6d59;
}
.info {
	position: absolute;
    top: 0px;
    left: 130px;
    width: 200px;
    height: 100%;
    font-family: kelly-slab;
    line-height: 9px;
    font-size: 13px;
}

#needs_block {
	position: absolute;
	top: 0;
	left: 0px;
	width: calc(100% - 30px);
	height: 100%;
	font-family: kelly-slab;
	flex-wrap: wrap;
	justify-content: left;
	overflow: hidden;
	z-index: 1;
}

#needs_block_img {
	position: absolute;
	top: 10px;
	right: 0px;
	width: 390px;
    height: 105px;
	font-family: kelly-slab;
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	overflow: hidden;
	transition: 1s linear;
}

#needs_block_hide {
	position: absolute;
	top: 0;
	right: 0px;
	width: 26px;
	height: 100%;
	background: url(../images/game/needs_block.png);
	cursor: pointer;
	z-index: 3;
}

.needs_name {
	padding-left: 10px;
}

.needs_unit {
	position: relative;
	width: 110px;
	height: 10px;
}

.sname {
	font-size: 13px;
    max-width: 200px;
    line-height: 13px;
    margin-top: 10px;
    height: 26px;
	font-weight: bold;
}
.chat {
	position: absolute;
	top: 0;
	left: 0;
	width: calc(100% - 700px);
	height: 100%;
	display: none;
}
.chat_ta {
	display: block;
	position: absolute;
	top: 5px;
	left: 100px;
	top: 5px;
	width: calc(100% - 110px);
	height: calc(100% - 84px);
	resize: none;
	border: 2px solid #3d6d59;
}
.enter_chat {
    display: block;
	position: absolute;
	bottom: 12px;
	left: 100px;
	width: calc(100% - 110px);
	height: 50px;
	resize: none;
	border: 2px solid #3d6d59;
}
.buttons {
	display: block;
	position: absolute;
	top: 5px;
	left: 5px;
	list-style: none;
	padding: 0px;
	text-align: center;
	font-family: kelly-slab;
	font-size: 18px;
}
.buttons_li:hover {
	cursor: pointer;
	color: white;
}

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	background-color: #151A2D;
	opacity: 1;
	transition: 1s linear;
}

.preloader_content {
	width: 445px;
	height: 150px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#start_button {
	width: 366px;
	margin-left: auto;
	margin-right: auto;
	cursor: pointer;
	display: none;
	opacity: 0;
	transition: 1s linear;
}

.static {
	display: block;
	width: 0px;
	height: 10px;
	background-color: green;
	border: 1px solid black;
	border-radius: 10px;
	z-index: 11;
	transition: 1s linear;
	position: absolute;
	top: 0;
	left: 0;
}

.static_free {
	display: block;
	width: 100px;
	height: 10px;
	background-color: black;
	border: 1px solid black;
	border-radius: 10px;
	z-index: 10;
	position: absolute;
	top: 0;
	left: 0;
}
.stat_unit {
	position: relative;
	line-height: 10px;
}
.static_game p {
	margin-bottom: 5px;
}
.stat_g_unit {
	width: 100px;
	height: 20px;
	margin-right: 10px;
}
.stat_g_unit:last-child {
	margin-right: 0px;
}
.animation_div {
	display: none;
}
#game_animation {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#close_block {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
}

.deck_actions {
	width: calc(100% - 10px);
	height: 50px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.button_game {
	display: block;
	width: 100px;
	height: 36px;
	background: url(../images/game/button.png);
	text-align: center;
	line-height: 36px;
	z-index: 9;
	color: black;
	cursor: default;
	margin-right: 10px;
	font-family: kelly-slab;
}

.button_game:hover {
	cursor: pointer;
}

.cabin_name:hover {
	cursor: pointer;
	text-decoration: underline;
}

@keyframes k_collision_animation {
	0% {
		left: 0px;
	}
	25% {
		left: 10px;
	}
	50% {
		left: 0px;
	}
	75% {
		left: -10px;
	}
	100% {
		left: 0px;
	}
	
}

#water_collision_animation {
	width: 100%;
	height: 100%;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999999999999;
}

@keyframes k_water_collision_animation {
	0% {
		background-color: transparent;
		opacity: 0;
	}
	25% {
		background-color: blue;
		opacity: 1;
	}
	50% {
		background-color: black;
		opacity: 1;
	}
	75% {
		background: black;
		opacity: 1;
	}
	100% {
		background-color: transparent;
		opacity: 0;
	}
	
}

#energy_animation {
	width: 100%;
	height: 100%;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999999999999;
	color: black;
}

@keyframes k_energy_animation {
	0% {
		background-color: transparent;
		opacity: 0;
	}
	50% {
		background-color: black;
		opacity: 0.8;
	}
	100% {
		background-color: transparent;
		opacity: 0;
	}
	
}

@keyframes k_hungry_animation {
	0% {
		left: 0px;
	}
	25% {
		left: 10px;
	}
	50% {
		left: 0px;
	}
	75% {
		left: -10px;
	}
	100% {
		left: 0px;
	}
	
}

#chat_button {
	display: none;
	width: 40px;
	height: 27px;
	background: url(../images/chat_button.png);
	text-align: center;
	line-height: 27px;
}
#chat_button:hover {
	cursor: pointer;
}
.chat_hide {
	display: none;
}
.lifeboats_buttons {
	position: absolute;
	bottom: 135px;
	right: 10px;
}

.announce {
	color: white;
	text-align: center;
	font-family: kelly-slab;
	font-size: 20px;
}

#actions {
	display: none;
	position: absolute;
	width: 600px;
	height: 250px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: url(../images/list_bg.png);
	background-size: 100% 100%;
	border: 5px solid #2E2C25;
	border-radius: 10px;
	color: black;
	z-index: 888;
	text-align: center;
}

#button_actions {
	width: calc(100% - 10px);
	height: 50px;
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.actions_button {
	margin-right: 5px;
}

.actions_button:last-child {
	margin-right: 0px;
}

#items_actions {
	display: flex;
	width: calc(100% - 10px);
	height: calc(100% - 70px);
	margin-top: 5px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	flex-wrap: wrap;
	overflow-y: scroll;
	overflow-x: hidden;
}

#ticket_actions {
	display: flex;
    width: calc(100% - 90px);
    height: calc(100% - 78px);
    margin-top: 38px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    flex-wrap: wrap;
}

#poker {
	display: none;
	width: 556px;
	height: 301px;
	background: url(../images/game/poker/panel.png);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 888;
}

#purser {
	display: none;
	width: 656px;
	height: 366px;
	background: url(../images/game/purser.png);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 888;
}

#purser__chips_button {
	background: transparent;
	position: absolute;
	top: 185px;
	left: 329px;
	width: 132px;
	height: 49px;
	cursor: pointer;
}

#purser__bank_button {
	background: transparent;
	position: absolute;
	top: 185px;
	left: 476px;
	width: 132px;
	height: 49px;
	cursor: pointer;
}

#purser__salary_button {
	background: transparent;
    position: absolute;
    top: 113px;
    left: 476px;
    width: 132px;
    height: 49px;
    cursor: pointer;
}

#purser__info_button {
	background: transparent;
    position: absolute;
    top: 113px;
    left: 329px;
    width: 132px;
    height: 49px;
    cursor: pointer;
}

#purser__ticket_button {
	background: transparent;
    position: absolute;
    top: 40px;
    left: 329px;
    width: 132px;
    height: 49px;
    cursor: pointer;
}

#purser__ship_button {
	background: transparent;
    position: absolute;
    top: 40px;
    left: 476px;
    width: 132px;
    height: 49px;
    cursor: pointer;
}

#purser__chips {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 172px;
    height: 112px;
	background: url(../images/game/purser__chips.png);
	z-index: 20;
}

#purser__ticket {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 378px;
    height: 238px;
	background: url(../images/game/ticket_panel.png);
	z-index: 20;
}

#purser__bank {
	display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 211px;
    height: 113px;
    background: url(../images/game/bank_panel.png);
    z-index: 20;
}

#purser__info {
	display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 175px;
    height: 113px;
    background: url(../images/game/info_panel.png);
    z-index: 20;
}

#purser__salary {
	display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 211px;
    height: 113px;
    background: url(../images/game/salary_panel.png);
    z-index: 20;
}

#purser__first, #purser__second, #purser__credit, #purser__credit__second, #purser__bank_input, #purser__transfer_input {
	position: absolute;
    top: 21px;
    left: 19px;
    width: 101px;
    height: 15px;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 15px;
}

#purser__info__input, #purser__info__output {
	position: absolute;
    top: 26px;
    left: 25px;
    width: 125px;
    height: 15px;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 12px;
}

#purser__info__output {
	top: 61px;
}

#purser__second {
	top: 48px;
}

#purser__credit, #purser__credit__second, #purser__bank_input, #purser__transfer_input {
	top: 35px;
    left: 42px;
    width: 58px;
}

#purser__credit__second {
	top: 66px;
}

#purser__bank_input {
	top: 35px;
	left: 111px;
}

#purser__transfer_input {
	top: 66px;
	left: 111px;
}

#purser__credit_submit {
	position: absolute;
    display: block;
    top: 34px;
    left: 20px;
    width: 16px;
    height: 21px;
    background: transparent;
    cursor: pointer;
}

#purser__credit_return_submit {
	position: absolute;
    display: block;
    top: 63px;
    left: 20px;
    width: 16px;
    height: 21px;
    background: transparent;
    cursor: pointer;
}

#purser__bank_submit {
	position: absolute;
    display: block;
    top: 34px;
    left: 178px;
    width: 16px;
    height: 21px;
    background: transparent;
    cursor: pointer;
}

#purser__close {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10;
}

#purser__chips_submit {
	position: absolute;
    top: 73px;
    left: 16px;
    width: 83px;
    height: 18px;
    background: transparent;
    cursor: pointer;
}

#purser__transfer_submit {
	position: absolute;
    display: block;
    top: 63px;
    left: 178px;
    width: 16px;
    height: 21px;
    background: transparent;
    cursor: pointer;
}

#purser__chips_swip {
	position: absolute;
    top: 72px;
    left: 104px;
    width: 21px;
    height: 19px;
    background: transparent;
    cursor: pointer;
}

#purser__chips_close {
	position: absolute;
    top: 73px;
    left: 130px;
    width: 22px;
    height: 19px;
    background: transparent;
    cursor: pointer;
}

#slot_machine {
	display: none;
	width: 577px;
	height: 300px;
	background: url(../images/game/slot_machine.png);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 888;
}

#new_player_wearing {
	display: none;
	width: 300px;
	height: 350px;
	background: rgba(0, 0, 0, 0.75);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 888;
	color: white;
	text-align: center;
	transition: 1s linear;
	opacity: 0;
}

#slot_machine__first_number {
	position: absolute;
	top: 23px;
	left: 23px;
	font-size: 120px;
	font-family: kelly-slab;
	color: #f07322;
	width: 99px;
	height: 150px;
	text-align: center;
	justify-content: center;
	display: flex;
}

#slot_machine__second_number {
	position: absolute;
	top: 23px;
	left: 181px;
	font-size: 120px;
	font-family: kelly-slab;
	color: #f07322;
	width: 99px;
	height: 150px;
	text-align: center;
	justify-content: center;
	display: flex;
}

#slot_machine__third_number {
	position: absolute;
	top: 23px;
	left: 339px;
	font-size: 120px;
	font-family: kelly-slab;
	color: #f07322;
	width: 99px;
	height: 150px;
	text-align: center;
	justify-content: center;
	display: flex;
}

#slot_machine__start {
	position: absolute;
	top: 22px;
	left: 474px;
	width: 82px;
	height: 168px;
	background: transparent;
	cursor: pointer;
}

#slot_machine__max {
	position: absolute;
	top: 206px;
	left: 468px;
	width: 94px;
	height: 82px;
	background: rgba(0, 0, 0, 0.75);
	cursor: pointer;
}

.poker_top {
	width: 100%;
	height: 33%;
	position: relative;
}

.poker_top__panel {
	width: 322px;
	height: 74px;
	background: url(../images/game/poker/combo_n_sum.png);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
}

.combinations_list {
	width: 198px;
	height: 100%;
	padding: 2px;
	border-spacing: 0;
	font-size: 10px;
}

.poker__select {
	width: 124px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.poker_middle {
	width: 100%;
	height: 15%;
	position: relative;
}

#poker_middle_panel {
	width: 250px;
	height: 32px;
	background: url(../images/game/poker/result.png);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
}

#poker_middle_panel:hover {
	cursor: pointer;
	color: gray;
}

#poker_bottom {
	width: 100%;
	height: 50%;
	display: flex;
	justify-content: space-evenly;
    align-items: center;
}

.poker__card {
	width: 92px;
	height: 126px;
	background: url(../images/game/poker/cards.png);
	position: relative;
	bottom: 0;
	transition: 0.25s linear;
	border: 1px solid transparent;
}

.poker__card:hover {
	cursor: pointer;
}

#lifeboats {
	display: none;
	position: absolute;
	width: 600px;
	height: 250px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: url(../images/list_bg.png);
	background-size: 100% 100%;
	border: 5px solid #2E2C25;
	border-radius: 10px;
	color: black;
	z-index: 888;
	text-align: center;
	padding: 5px;
	flex-wrap: wrap;
	overflow-y: scroll;
	overflow-x: hidden;
}

#language_block {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 300px;
	height: 200px;
	background: url(../images/list_bg.png);
	background-size: 100% 100%;
	border: 5px solid #2E2C25;
	border-radius: 10px;
	color: black;
	z-index: 1000;
	text-align: center;
	padding: 5px;
}

#close_block_location {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 777;
}

.events_list_block {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 500px;
	height: 750px;
	background: url(../images/list_bg.png);
	background-size: 100% 100%;
	border: 5px solid #2E2C25;
	border-radius: 10px;
	color: black;
	z-index: 1000;
	transform: translate(-50%, -50%);
	text-align: center;
}

.events_list {
	width: 100%;
	height: 90%;
	overflow-y: scroll;
}

.events_unit {
	display: block;
	width: 99%;
	border: 1px solid black;
	border-radius: 5px;
}

.button_center {
	margin-left: auto;
	margin-right: auto;
}

.events_list_block .button_game {
	margin-top: 10px;
}

#event_name {
	margin-top: 10px;
	width: 95%;
	height: 20px;
	resize: none;
	background: transparent;
}

#event_description {
	margin-top: 5px;
	width: 95%;
	height: 80%;
	resize: none;
	background: transparent;
}

#create_event input {
	background: transparent;
	width: 30px;
}

.music_settings {
	margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    justify-content: space-between;
}

.music_settings div {
	user-select: none;
}

#previous_music:hover, #next_music:hover {
	cursor: pointer;
	text-decoration: underline;
}

#settings {
	height: auto;
	padding-bottom: 30px;
}

#sound_volume {
	margin-bottom: 10px;
}

#players_count {
	position: absolute;
	right: 0px;
    bottom: 0px;
	width: 210px;
	height: 30px;
	background-color: rgba(0, 0, 0, 0.7);
	color: white;
	text-align: center;
	line-height: 30px;
	cursor: pointer;
	z-index: 2;
}

#players_list {
	display: block;
	position: absolute;
	right: 0px;
	bottom: -310px;
	width: 200px;
	height: 300px;
	background-color: rgba(0, 0, 0, 0.6);
	color: white;
	padding: 5px;
	font-size: 10px;
	transition: 0.5s linear;
	z-index: 1;
}

.players_list__member {
	position: relative;
}

.player_list__member_info {
	position: absolute;
	top: 0px;
	left: 55px;
}

.player_list__member_info div {
    height: auto;
    max-height: 25px;
    overflow: hidden;
}

#chat_block {
	background-color: rgb(255, 255, 255, 0.5);
	top: 5px;
	left: 95px;
	top: 5px;
	width: calc(100% - 110px);
	height: calc(100% - 17px);
	position: absolute;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#chat {
	width: calc(100% - 20px);
	height: 380px;
	margin: 0px 10px;
	padding: 5px;
}

#chat_write {
	width: calc(100% - 24px);
	height: 50px;
	margin: 5px 10px;
	resize: none;
	background: transparent;
}

#map {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	width: auto;
	height: auto;
	background: url(../images/game/map_bg.png);
	background-size: 100% 100%;
	z-index: 1000;
	transform: translate(-50%, -50%);
	padding: 15px;
}

.map_img {
	position: relative;
	width: fit-content;
	display: none;
}

.standard_deck {
	position: relative;
}

.deck_button {
	margin-right: 5px;
	color: black;
}

.game_buttons {
	display: flex;
	height: 50px;
	position: absolute;
	bottom: 5px;
    left: 5px;
}

#food_button {
	width: 50px;
	height: 50px;
	background: url(../images/game/food_button.png);
	margin-right: 5px;
	cursor: pointer;
}

#purity_button {
	width: 50px;
	height: 50px;
	background: url(../images/game/purity_button.png);
	margin-right: 5px;
	cursor: pointer;
}

#defecate_button {
	width: 50px;
	height: 50px;
	background: url(../images/game/defecate_button.png);
	margin-right: 5px;
	cursor: pointer;
}

#energy_button {
	width: 50px;
	height: 50px;
	background: url(../images/game/energy_button.png);
	margin-right: 5px;
	cursor: pointer;
}
#poker_button {
	width: 50px;
	height: 50px;
	background: url(../images/game/poker_button.png);
	margin-right: 5px;
	cursor: pointer;
}

#slot_button {
	width: 50px;
	height: 50px;
	background: url(../images/game/slot_button.png);
	margin-right: 5px;
	cursor: pointer;
}

#lifeboat_button {
	width: 50px;
	height: 50px;
	background: url(../images/game/lifeboat_button.png);
	margin-right: 5px;
	cursor: pointer;
}

#purser_button {
	width: 50px;
	height: 50px;
	background: url(../images/game/purser_button.png);
	margin-right: 5px;
	cursor: pointer;
}

.move_button {
	position: absolute;
	right: 5px;
	top: 5px;
	display: none;
	z-index: 1;
}

.lifeboats_buttons {
	display: none;
}

#chat_main_block {
	position: absolute;
	top: 0;
	left: 0;
	width: calc(100% - 700px);
	height: 100%;
	display: none;
}

.map_div {
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 1000px;
	height: 1000px;
	opacity: 0.5;
	transition: 0.5s;
}

.map_div:hover {
	opacity: 0.8;
	cursor: pointer;
}

.map_standard {
	background-color: #00095a;
}

.cabin_block {
	position: absolute;
}

.tippy-box[data-theme~='atlantis'] {
	background: url(../images/list_bg.png);
	background-size: 100% 100%;
	color: black;
}

#mail_name {
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	height: 20px;
	resize: none;
	background: transparent;
}

#mail_description {
	margin-top: 5px;
	width: 95%;
	height: 83%;
	resize: none;
	background: transparent;
}

.item_action {
	width: 80px;
	height: 80px;
	margin-left: 5px;
    margin-top: 5px;
	position: relative;
	cursor: pointer;
}

.ticket {
	width: 123px;
    height: 46px;
    margin-left: 10px;
    margin-top: 5px;
    position: relative;
    cursor: pointer;
}

.item_action:hover, .ticket:hover {
	box-shadow: 0 0 10px yellow, -1px -1px 10px yellow;
}

.player_image {
	position: absolute;
	top: 0;
	left: 0;
}

#no_light_location {
	width: 690px;
    height: 341px;
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.95);
}

.top_panel__div {
	font-size: 18px;
	height: 18px;
	background: url(../images/game/top_panel_info_center.png);
	background-size: 100% 100%;
	color: #f07322;
	min-width: 94px;
}

.top_panel__text_top {
	height: 3px;
	background: url(../images/game/top_panel_info_top.png);
	background-size: 100% 100%;
}
.top_panel__text_center {
	display: flex;
	width: 100%;
	height: 18px;
}
.top_panel_info_top__block {
	width: 100%;
	height: 6px;
	display: flex;
}
.top_panel__text_bottom {
	width: 100%;
	height: 6px;
	display: flex;
}
.top_panel__text_left {
	width: 31px;
	height: 100%;
	background: url(../images/game/top_panel_info_left.png);
	background-size: 100% 100%;
}
.top_panel__text_right {
	width: 31px;
	height: 100%;
	background: url(../images/game/top_panel_info_right.png);
	background-size: 100% 100%;
}
.top_panel_info_top__left {
	width: 31px;
	height: 100%;
	background: url(../images/game/top_panel_info_top_left.png);
	background-size: 100% 100%;
}
.top_panel_info_top__center {
	width: calc(100% - 62px);
	height: 100%;
	background: url(../images/game/top_panel_info_top_center.png);
	background-size: 100% 100%;
}
.top_panel_info_top__right {
	width: 31px;
	height: 100%;
	background: url(../images/game/top_panel_info_top_right.png);
	background-size: 100% 100%;
}

.top_panel_info_bottom__left {
	width: 31px;
	height: 100%;
	background: url(../images/game/top_panel_info_bottom_left.png);
	background-size: 100% 100%;
}
.top_panel_info_bottom__center {
	width: calc(100% - 62px);
	height: 100%;
	background: url(../images/game/top_panel_info_bottom_center.png);
	background-size: 100% 100%;
}
.top_panel_info_bottom__right {
	width: 31px;
	height: 100%;
	background: url(../images/game/top_panel_info_bottom_right.png);
	background-size: 100% 100%;
}
.top_info_block {
	display: none;
}
#power_button {
	width: 120px;
	height: 45px;
	background: url(../images/power_button.png);
}

#language_button {
	width: 76px;
	height: 27px;
	background: url(../images/game/language.png);
	cursor: pointer;
	margin-left: 15px;
	display: none;
}

.needs_new_unit {
	width: 113px;
	height: 46px;
	background: url(../images/game/one_needs_block_full.png) 100% 100% no-repeat, url(../images/game/one_needs_block.png) 100% 100% no-repeat;
	background-position-y: 28px, 0px;
	background-position-x: 10px, 0px;
	background-size: 93px 4px, 100% 100%;
	transition: 1s linear;
}

.needs_new_unit__text {
	color: #f07322;
    padding-top: 6px;
    font-size: 12px;
	text-align: center;
}

.button_right {
	margin-left: auto;
}

#atlantis {
	width: 1260px;
	height: 204px;
}

#obs_deck {
	width: 735px;
    margin-left: auto;
    margin-right: auto;
}

#sun_deck {
	width: 660px;
    margin-left: auto;
    margin-right: auto;
}

#pro_deck {
	width: 783px;
    margin-left: auto;
    margin-right: auto;
}

#a_deck {
	width: 797px;
    margin-left: auto;
    margin-right: auto;
}

#b_deck {
	width: 852px;
    margin-left: auto;
    margin-right: auto;
}

#c_deck {
	width: 722px;
    margin-left: auto;
    margin-right: auto;
}

#d_deck {
	width: 774px;
    margin-left: auto;
    margin-right: auto;
}

#e_deck {
	width: 705px;
    margin-left: auto;
    margin-right: auto;
}

#g_deck, #h_deck, #orlop_deck, #tank_top_deck {
	width: 1000px;
    margin-left: auto;
    margin-right: auto;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -25%);
}

#lifeboat_button {
	width: 50px;
	height: 50px;
	background: url(../images/game/lifeboat_button.png);
	margin-right: 5px;
	cursor: pointer;
}

#water_block {
	display: block;
	width: 700px;
	height: 0px;
	position: absolute;
	bottom: 0;
	left: 0; 
}

.water_top {
	display: block;
	width: 100%;
	height: 30px;
	background: url(../images/game/water_top.png) 0px 0px;
	animation: water-top 1s linear infinite;
}

.water_body {
	display: block;
	width: 100%;
	height: calc(100% - 30px);
	background: rgba(0, 38, 255, 0.5);
}

.map_sinking {
	background-color: rgb(129, 129, 129);
}

.map_underwater {
	background-color: rgb(0, 0, 0);
}

.location_img__div {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.chat_name:hover {
	text-decoration: underline;
	cursor: pointer;
}

#player_information {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 451px;
	height: 594px;
	background: url(../images/game/player_panel.png);
	z-index: 1000;
}

#player_information__avatar {
	position: absolute;
	top: 32px;
	left: 31px;
	width: 70px;
	height: 70px;
}

#player_information__name {
	position: absolute;
	top: 31px;
	left: 113px;
	max-width: 193px;
	max-height: 10px;
	overflow: hidden;
	line-height: 10px;
	font-size: 10px;
	font-family: kelly-slab;
	color: #f07322;
}

#player_information__age {
	position: absolute;
	top: 72px;
	left: 113px;
	max-width: 56px;
	max-height: 10px;
	overflow: hidden;
	line-height: 10px;
	font-size: 10px;
	font-family: kelly-slab;
	color: #f07322;
}

#player_information__citizenship {
	position: absolute;
	top: 72px;
	left: 184px;
	max-width: 121px;
	max-height: 10px;
	overflow: hidden;
	line-height: 10px;
	font-size: 10px;
	font-family: kelly-slab;
	color: #f07322;
}

#player_information__bio {
	position: absolute;
	top: 144px;
	left: 33px;
	width: 380px;
	height: 421px;
	font-size: 10px;
	font-family: kelly-slab;
	color: #f07322;
}

#player_information__mute {
	position: absolute;
	top: 27px;
	left: 313px;
	width: 115px;
	height: 27px;
	background: transparent;
	cursor: pointer;
}

#player_information__padded {
	position: absolute;
	top: 68px;
	left: 314px;
	width: 115px;
	height: 27px;
	background: transparent;
	cursor: pointer;
}

#player_information__ban {
	position: absolute;
	top: 99px;
	left: 314px;
	width: 29px;
	height: 26px;
	background: transparent;
	cursor: pointer;
}

#player_information__report {
	position: absolute;
	top: 99px;
	left: 352px;
	width: 6829px;
	height: 26px;
	background: transparent;
	cursor: pointer;
}

#player_information__warn1 {
	display: none;
	position: absolute;
	top: 27px;
	left: 441px;
	width: 10px;
	height: 22px;
	background: url(../images/game/warn_lamp.png);
}

#player_information__warn2 {
	display: none;
	position: absolute;
	top: 58px;
	left: 441px;
	width: 10px;
	height: 22px;
	background: url(../images/game/warn_lamp.png);
}

#player_information__warn3 {
	display: none;
	position: absolute;
	top: 90px;
	left: 441px;
	width: 10px;
	height: 22px;
	background: url(../images/game/warn_lamp.png);
}

.chat_click:hover {
	cursor: pointer;
	text-decoration: underline;
}

.admin_message {
	color: #972c2c;
}

.buttons_li {
	margin-right: 20px;
	text-align: center;
}

#purser__salary__job, #purser__salary__salary {
	position: absolute;
    top: 26px;
    left: 22px;
    width: 79px;
    height: 24px;
    font-size: 10px;
    overflow: hidden;
    color: white;
}

#purser__salary__salary {
	left: 110px;
}

#purser__salary_submit {
	position: absolute;
	top: 61px;
	left: 18px;
	width: 174px;
	height: 25px;
	cursor: pointer;
}