* {
	box-sizing: border-box;
	font-family: Verdana;
	font-size: 11px;
	color: #fff;
}

.displaynone { display: none }

red {color: red}
yellow {color: #ffc107}

.red {color: red}

.min1200 {
	min-width: 1200px;
}

body {
	margin: 0;
	background: #333;
}

.header {
	height: 100px;
	background: #000;
	background-image: url(img/bg1.png);
	padding: 0 10px 20px 10px;
	display: flex;
	border-bottom: 3px solid #0b0;
}

.logo {
	width: 93px;
	height: 95px;
	margin-right:20px;
}

.logo:hover {
	cursor: pointer;
}


.head_block {
	margin-top: 16px;
	white-space: nowrap;
	
	display: flex;
    align-items: center;
}

.title {
	font-size: 30px;
	color: #0b0;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.state {
	display: flex;
	/* justify-content: center; */
}

.state_title {
	font-size: 20px;
	color: #fff;
}

.state_time {
	font-size: 20px;
	margin-left: 7px;
	color: #0b0;
}

.title2 {
	margin: 10px;
    font-size: 30px;
    color: #FF9800;
}

.top_buttons {
	margin-left: 20px;
	display: flex;
	flex-direction: column;
}

.top_buttons button {
	border: 1px solid #0b0;
	background: #333;
	color: #0b0;
	padding: 2px 25px;
	font-size: 20px;
	text-transform: uppercase;
	margin-bottom: 5px;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.top_buttons button:hover {
	border: 1px solid #ff9800;
	/* color: #ff9800; */
	cursor: pointer;
}

.top_buttons button:active {
	background: #555;
}

.jp {
	text-transform: uppercase;
	text-align: center;
	margin-left: 20px;
}

.jp_title {
	font-size: 30px;
	width: 250px;
	color: #0b0;
}

.jp_summ {
	font-size: 30px;
	width: 250px;
	color: #fff;
}

.head_last_block {
	width: -webkit-fill-available;
	width: -moz-available;
	width: fill-available;
	text-align: right;
}

.head_last_block .logo {
	transform: scale(-1, 1);
}

.t_players_list {
	width: 70%;
}

.theader {
	display: flex;
	min-width: 1900px;
}

.theader_item {
	min-width: 380px;
	padding: 5px 10px;
	background: #ffc107;
	border: 1px solid #777;
}

.theader_item.ended {
	background: #555;
}

.theader_item.active {
	background: #8bc34a;
}

.theader_item.waiting {
	background: #cddc39;
}

.turnir {
	display: flex;
}

.turnir * {
	/* 
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	 */
}

.team {
	margin: 10px;
	padding: 10px;
	border: 1px solid #777;
	background: #222;
}

.team button {
	border: 1px solid #ff9800;
	background: #333;
	color: #ff9800;
	padding: 2px 25px;
	font-size: 11px;
	text-transform: uppercase;
	margin-bottom: 5px;
	margin-right: 10px;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.team button:hover {
	border: 1px solid #fff;
	color: #ffff;
	cursor: pointer;
}

.team button:active {
	background: #555;
}

.team .team_buttons {
	margin-top: 10px;
}


.team .team_title {
	font-size: 20px;
	/*background: #555;*/
	color: #ffeb3b;
	padding: 2px 10px;
	margin-bottom: 15px;
}

.team.full .team_title {
	color: #0b0;
}

.team.disabled {
	opacity: 0.7;
}


.user {
	padding: 1px 10px;
	font-weight: bold;
	z-index: 100;
	max-height: 30px;
	/* overflow: hidden; */
	position: relative;


}

.user_login {
	color: #ff9800;
}

.user_login a {
	text-decoration: none;
	line-height: 1.1;
	color: #ffeb3b;
}

.team.full .user_login a {
	color: #4caf50;
}

.user.winner { background: #adffad; }
.user.looser { background: #ffadad; }


.class {
	margin-left: 10px;
    color: black;
	font-weight: normal;
	white-space: nowrap;
}

.stagename {
	color: red;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}

.stageperiod {
	font-size: 13px;
	font-weight: bold;
	text-align: center;
}

.theader_item .stageperiod { color: #000; }
.theader_item.active .stageperiod { color: #000; }
.theader_item.waiting .stageperiod { color: #000; }
.theader_item.ended .stageperiod { color: #fff; }

.green_wins {
    color: #090;
}

.red_wins {
    color: red;
}


.notstarted {
	background: #000;
	margin: 20px 10px;
	border: 1px solid #0b0;
	border-radius: 4px;
	padding: 5px 10px;
}



.ns_title {
	font-size: 20px;
	color: #0b0;
	border-bottom: 1px solid #0b0;
	margin-bottom: 5px;
	padding-bottom: 10px;
}

.showall {
	color: #FFEB3B;
	font-size: 20px;
	text-decoration: none;
}

.showall:hover {
	border-bottom: 2px solid;
}

.active_t_item {
	border-bottom: 1px solid #0b0;
	padding: 5px 0 10px 0;
}


.active_t_item * {
	font-size: 13px;
}

.active_t_item:first-child {
	padding-top: 0px;
}

.active_t_item:last-child {
	border-bottom: 0px;
}

.active_t_item .t_desc {
	display: none;
}

.active_t_item .t_title {
	font-size: 20px;
	background: #555;
	color: #0b0;
    padding: 2px 10px;
	margin-bottom: 15px;
}

.active_t_item .t_title:hover {
	cursor: pointer;
	text-decoration: underline;
	color: #fff;
}

.active_t_item .t_item_info {
	margin-left: 30px;
	margin: 1px 0 1px 30px;
	letter-spacing: 0.3px;
}

.active_t_item .t_item_info.t_rolemode {
	color: orangered;
	font-weight: bold;
}

.active_t_item .t_item_time {
	color: #0b0;
	font-weight: bold;
}

.active_t_item .t_item_time_orange {
	color: #ff9800;
	font-weight: bold;
}

.active_t_item .t_players {
	display: flex;
}

.active_t_item .t_players_title {
	margin-right: 10px;
	white-space: nowrap;
}

.active_t_item a {
	color: #0b0;
	text-decoration: none;
}


.active_t_item a:hover {
	color: #fff;
	text-decoration: underline;
}


.active_t_item .t_item_buttons {
	margin-top: 10px;
	margin-left: 30px;
}

.active_t_item button {
	border: 1px solid #ff9800;
	background: #333;
	color: #ff9800;
	padding: 2px 25px;
	font-size: 11px;
	text-transform: uppercase;
	margin-bottom: 5px;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.active_t_item button:hover {
	border: 1px solid #fff;
	color: #ffff;
	cursor: pointer;
}

.active_t_item button:active {
	background: #555;
}


.system_box {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1100;
}

.system {
	background: #000;
	color: #fff;
	font-weight: bold;
	padding: 5px 15px;
	border-radius: 3px;
	border: 1px solid #0b0;
	min-width: 100px;
	text-align: center;
	margin-bottom: 10px;
	
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}



.dialog_bg {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0, 0.0) !important;
	width: 100%;
	height: 100%;
	z-index: 1000;
}

.dialog_bg .dialog {
	min-width: 500px;
	max-width: 600px;
	min-height: 110px;
	max-height: 700px;
	width: fit-content;
	height: fit-content;
	position: absolute;
	margin: auto;
	top: 20%;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #333;
	border: 2px solid #0b0;
}

.dialog_bg .dialog .dialog_title {
    background: #777;
	color: #fff;
	font-weight: bold;
	padding: 4px 10px;
}

.dialog_bg .dialog .dialog_content {
	padding: 10px;
	flex-grow: 1;
	max-height: 400px;
	overflow: hidden;
	color: #fff;
}

.dialog_bg .dialog .dialog_buttons {
	padding: 10px;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.dialog_bg .dialog .dialog_buttons .button {
	margin: 0 5px;
	background: #000;
	min-width: 75px;
	text-align: center;
	padding: 4px 10px;
	border: 1px solid #0b0;
	color: #fff;
	cursor: pointer;
}


.dialog_bg .dialog .dialog_buttons .button:hover {
	background: #555;
	color: #fff;
	cursor: pointer;
}

.dialog_bg .dialog .dialog_buttons .button:active {
	border: 1px solid #fff;
}

.dialog_bg .dialog .dialog_input {
	text-align: center;
}

.dialog_bg .dialog .dialog_input input {
	width: 100%;
	color: #fff;
	background: #555;
	border: 1px solid #0b0;
	padding: 2px 10px;
	margin: 5px 0;
}


.dialog_bg .dialog .dialog_content b {
	color: #0b0;
}

.dialog_bg .dialog .dialog_content .t_regcode {
	font-size: 20px;
	color: #0b0;
	margin: 5px 0;
	text-align: center;
}

.dialog_bg .dialog .dialog_content .t_team_password {
	font-size: 20px;
	font-weight: bold;
	color: #ff5722;
	margin: 5px 0;
	text-align: center;
	letter-spacing: 2px;
}



.t_ended {
	background: #000;
	margin: 20px 10px;
	border: 1px solid #9e9e9e;
	border-radius: 4px;
	padding: 5px 10px;
}

.t_ended .ns_title {
	color: #9e9e9e;
	border-bottom: 1px solid #9e9e9e;
}

.t_ended .active_t_item {
	border-bottom: 1px solid #9e9e9e;
}

.t_ended .active_t_item:last-child {
	border-bottom: 0px;
}

.t_ended .active_t_item .t_title {
	color: #9e9e9e;
}


absdelta {
	color: #2196F3;
	color: #9c27b0;
}


.top {
	background: #000;
	margin: 20px 10px;
	border: 1px solid #9c27b0;
	border-radius: 4px;
	padding: 5px 10px 10px;

	display: flex;
	flex-wrap: wrap;
}

.top_title {
	font-size: 20px;
	color: #ffeb3b;
	padding-bottom: 5px;
}

.top_block {
	border-right: 1px solid #9c27b0;
	margin-left: 10px;
	padding-right: 10px;
	letter-spacing: 0.4px;
	min-width: 300px;
}

.top_list {
	height: 165px;
	overflow-x: hidden;
	overflow-y: auto;
	padding-right: 10px;
}



.top_list::-webkit-scrollbar {
	width: 8px;

}

.top_list::-webkit-scrollbar-track {
	background: #1a1a1a;
}

.top_list::-webkit-scrollbar-thumb {
	background-color: #FF9800;
	border-radius: 20px;
	border: 0px;
}


.top_winner_item,
.top_bests_item,
.top_role_percent_item,
.top_total_item {
	display: flex;
	justify-content: space-between;
	margin-bottom: 1px;
	padding-bottom: 1px;
	border-bottom: 1px solid transparent;
}

.top_winner_item:hover,
.top_bests_item:hover,
.top_role_percent_item:hover,
.top_total_item:hover {
	border-bottom: 1px solid #777;
	cursor: default;
}

.top_datetime {
	margin-right: 20px;
	pointer-events: none;
	/*color: #0b0;*/
}

.top_login {
	white-space: nowrap;
	color: #ff9800;
	pointer-events: none;
}

.top_value {
	margin-left: 20px;
	/*color: #0b0;*/
	pointer-events: none;
}




.footer {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 20px;
}

.footer a.tg {
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
}

.footer a.tg img {
	width: 20px;
	margin: 0 5px;
}

.footer a.tg div {
	font-size: 13px;
	color: #03A9F4;
}



.progress {
	width: 100%;
	height: 24px;
	border: 1px solid #444;
	background: #607d8b;
	display: flex;
	flex-wrap: nowrap;
}

.progress.disabled {
	background: initial;
}

.progressbar {
	width: -webkit-fill-available;
 	border: 1px solid transparent;
	display: flex;
	padding: 0;
	margin: 0;
	position: relative;
}

.progressbar.user_active {
 	border: 1px solid #ffc107;
}

.progressbar.user_active.user_solo {
 	border: 1px solid transparent;
}


.pb_value {
	background: #555;
	display: flex;
    align-items: center;
    line-height: 0;
}
.pb_value.pb_red { background: #f44336; }
.pb_value.pb_yellow { background: #ff9800; }
.pb_value.pb_green { background: #4caf50; }

.pb_value_text {
	position: absolute;
	z-index: 100;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}


.progressbar.user_active .pb_value_text {
	font-weight: bold;
}

.progressbar .user_link {
	cursor: pointer;
}

.progressbar .user_link:hover {
	text-decoration: underline;
}

/*
.progressbar.warning .pb_value:after {
	content: "(!!!)";
	color: red;
	margin-left: 5px;
	font-weight: bold;
}*/


.progressbar.warning {
	background: #000;
}

.progressbar.warning .pb_value {
	background: #000;
}

.progressbar.user_roleerror {
	background: #000;
}

.progressbar.user_active.user_roleerror .pb_value {
	background: #000;
}

.progressbar.user_active.user_roleerror .pb_value_text,
.progressbar.user_active.user_roleerror .pb_value_text *
{
	color: red;
}

points {
	color: #FFEB3B;
	margin: 0 3px;
}




ol.reghelp {}

ol.reghelp li::marker {
	color: #ffc107;
}










