﻿/*
https://colorscheme.ru/#3v31T--Ouw0w0
blue #0086DB
*/

*
{
	padding: 0;
	margin: 0;
	font-family: 'Segoe UI';
	box-sizing: border-box;
	font-size: inherit;
}

html
{
	font-size: 16px;
	height: 100vh;
}

body
{
	text-align: center;
	background: #888;
	min-height: 100vh;
	min-width: 100vw;
}

body.fixed
{
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
}

p
{
	margin-top: 1.25rem;
}

a, a:visited
{
	color: #0000FF;
}

table
{
	width: 100%;
	margin-top: 1.5rem;
	border-collapse: collapse;
	border: none;
}

table td
{
	padding: 0.475rem;
	border: solid 1px #000;
	vertical-align: top;
	text-align: left;
	font-size: 0.975rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

table td.center
{
	text-align: center;
}

table td.nowrap
{
	white-space: nowrap;
}

table td.small
{
	font-size: 85%;
}

table thead td
{
	background-color: #EEEEEE;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
}

table.layout
{
	border: none;
}

table.layout tr td
{
	border: none;
	width: auto;
}

table.layout tr.gray td
{
	background: #EEEEEE;
}

table.layout tr td.label
{
	width: 18rem;
	font-weight: bold;
}

table.layout tr td table td
{
	border: solid 1px;
}

table.layout tr td table thead td
{
	white-space: nowrap;
}

table.layout tr td table
{
	margin-top: 0;
}

table.layout p
{
	margin-top: 0;
}

br
{
	clear: both;
}

ul
{
	margin-left: 1.5rem;
}

ul li
{
	font-size: 14px;
	padding-left: 1rem;
	text-align: justify;
}

h1, h2, h3
{
	text-transform: uppercase;
}

h1, h2, h3
{
	letter-spacing: -1px;
}

h1
{
	margin-top: 0;
	font-size: 2rem;
	line-height: 2rem;
}

h2
{
	margin-top: 1rem;
	font-size: 1.5rem;
}

h3
{
	margin-top: 1rem;
	font-size: 1.25rem;
}

form.detail
{
	width: 50%;
}

select
{
	padding: 0.25rem;
	width: 100%;
}

textarea
{
	padding: 0.5rem;
	width: 100%;
	height: 8rem;
}

input[type=button], input[type=submit]
{
	padding: 0.5rem 1rem;
	border: none;
	cursor: pointer;
	background: #0086DB;
	color: #FFFFFF;
	font-weight: bold;
}

input[type=submit].red
{
	background: #B00000;
}

p.link,
td.link
{
	text-decoration: underline;
	color: #00f;
	cursor: pointer;
}

div#notification
{
	margin-top: 0.5rem;
}

div#notification span
{
	font-weight: bold;
}

div#notification div.timestamp
{
	font-weight: bold;
	color: #080;
	margin-top: 0.25rem;
}

div#notification div.locked
{
	font-weight: bold;
	color: #d00;
	margin-top: 0.25rem;
}

div#notification div.error
{
	font-weight: bold;
	color: #d00;
	margin-top: 0.25rem;
}

div#competition
{
	margin-top: 0.5rem;
}

div#competition div
{
	display: inline;
}

div#competition span
{
	font-weight: bold;
}

div#lock-button
{
	width: 14rem;
	float: left;
}

div#foreigner-button
{
	width: 14rem;
	float: left;
}

div#doc-button
{
	width: 10rem;
	float: right;
	margin-right: 1.25rem;
}

div#page
{
	width: 95vw;
	margin-left: auto;
	margin-right: auto;
	background-color: #FFFFFF;
	text-align: left;
	padding: 1rem;
	min-height: 100vh;
}

ul#menu
{
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	height: 2.5rem;
	margin-top: 0.75rem;
	list-style-type: none;
	background-color: #0086DB;
	border-radius: 0.25rem;
	overflow: hidden;
}

ul#menu li
{
	float: left;
	height: 2.5rem;
	line-height: 2.5rem;
	padding: 0 0.75rem;
	transition: all ease 0.15s;
}

ul#menu li a
{
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
}

ul#menu li:hover
{
	background-color: #ddd;
}

ul#menu li:hover a
{
	color: #000000;
}

ul#menu li.current
{
	background-color: #ffbf00;
}

ul#menu li.current a
{
	color: #fff;
}

td.header
{
	font-weight: bold;
}

div#login
{
	width: 20rem;
	color: #fff;
	background: #0086DB;
	margin: auto;
	padding: 2rem;
	border: none;
	border-radius: 0.5rem;
}

div#login *
{
	background: inherit;
}

div#login h2
{
	margin-top: 0;
	font-weight: normal;
}

div#login h2 strong
{
	display: block;
	margin-top: 1rem;
	color: #ffe;
	font-size: 150%;
}

div#login a
{
	display: block;
	height: 2.5rem;
	line-height: 2.5rem;
	color: #fff;
	text-transform: uppercase;
}

div#login input
{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 1rem;
	background-color: #FFFFFF;
	border: none;
	outline: none;
	border: none;
	border-radius: 0.25rem;
	height: 2.5rem;
	line-height: 2.5rem;
}

div#login input.button
{
	width: 80%;
	cursor: pointer;
	color: #0086DB;
	background: #DDDDDD;
	line-height: 1.5rem;
	text-transform: uppercase;
	font-weight: normal;
	transition: all ease 0.15s;
}

div#login input.button:hover
{
	background: #fff;
}

div.alert
{
	margin: 1.5rem auto;
	font-weight: bold;
}

div.alert a
{
	color: #FFFFFF;
	text-decoration: underline;
	cursor: pointer;
}

div.alert table
{
	margin: 0;
	border: none;
}

div.alert td
{
	color: #FFFFFF;
	padding: 1rem;
	border: none;
}

div.alert td.message
{
	background-color: #AA0000;
}

div.alert td.action
{
	background-color: #00AA00;
	text-align: center;
	vertical-align: middle;
}

div.info
{
	margin-top: 1rem;
	margin-bottom: 1.5rem;
	font-weight: bold;
	padding: 0.75rem;
	color: #FFF;
	background: #00CC99;
}

form#sos-edit-form select, form#sos-edit-form input[type=text], form#sos-edit-form textarea
{
	width: 20rem;
	border: solid 1px;
	padding: 0.5rem;
}

a.button
{
	display: inline-block;
	width: auto;
	height: 2rem;
	line-height: 1.675rem;
	padding: 0 2rem;
	color: #fff;
	background: #0086DB;
	border: solid 1px #0086DB;
	border-radius: 0.25rem;
	font-weight: bold;
	text-decoration: none;
	transition: all ease 0.15s;
}

a.button:hover
{
	background: #fff;
	color: #0086DB;
}

div.panel p
{
	margin-top: 0.5rem;
}

div.panel div.section
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
}

div.panel div.section span
{
	width: 14%;
	height: 1.5rem;
	line-height: 1.25rem;
	text-align: left;
	border: solid 1px #0086DB;
	border-radius: 0.25rem;
	background: #ddd;
	color: #888;
	margin-top: 0.5rem;
	margin-right: 1%;
	font-size: 0.75rem;
	text-transform: lowercase;
	white-space: nowrap;
	padding: 0 0.5rem;
	cursor: pointer;
	transition: all ease 0.15s;
}

div.panel div.section span:hover
{
	background: #eee;
	color: #000;
}

div.panel div.section span.active
{
	background: #0086DB;
	color: #fff;
	font-weight: bold;
}

div.panel.expand
{
	width: 100%;
	border: solid 1px #ddd;
	border-radius: 0.25rem;
	padding: 0 1rem 1rem 1rem;
	margin-top: 1rem;
	position: relative;
	height: 2.5rem;
	overflow: hidden;
	transition: all ease 0.15s;
}

div.panel.expand.open
{
	padding-top: 2.5rem;
	height: auto;
}

div.panel.expand i
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2.5rem;
	line-height: 2.5rem;
	font-size: 1.25rem;
	background: #ddd;
	color: #fff;
	padding-left: 0.75rem;
	cursor: pointer;
}

div.panel.expand.active
{
	border-color: #0086DB;
}

div.panel.expand.active i
{
	background: #0086DB;
}

div.panel.expand p:first-child
{
	margin-top: 0;
}

div.panel div.section.search
{
	display: block;
}

input#search
{
	display: block;
	width: 35%;
	height: 2rem;
	line-height: 2rem;
	padding: 0 0.5rem;
	margin-top: 0.5rem;
	outline: none;
	border: solid 1px #888;
	border-radius: 0.25rem;
}

input#search.invalid
{
	border: solid 2px #b00;
}

div#search-result
{
	display: none;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin-top: 0.25rem;
}

div#search-result a
{
	display: block;
	height: 2rem;
	line-height: 1.75rem;
	margin-top: 0.5rem;
	margin-right: 0.5rem;
	border: solid 1px #aaa;
	border-radius: 0.25rem;
	padding: 0 0.5rem;
	font-size: 0.95rem;
	white-space: nowrap;
	color: #000;
}

p.history
{
	border-top: dashed 1px #ddd;
	padding-top: 0.5rem;
	margin-top: 0.5rem;
}

p.link
{
	margin-top: 0.75rem;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
}

p.link a
{
	display: block;
	height: 1.5rem;
	line-height: 1.25rem;
	padding: 0 0.75rem;
	border: solid 1px #ddd;
	border-radius: 0.25rem;
	background: #eee;
	text-decoration: none;
	color: #000;
	margin-left: 0.5rem;
	font-size: 0.85rem;
}

p.link a.current
{
	background: #0086DB;
	border-color: #0086DB;
	color: #fff;
}

p.legend
{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
}

p.legend span
{
	display: block;
	height: 1.5rem;
	line-height: 1.25rem;
	padding: 0 0.75rem;
	border: solid 1px #ddd;
	border-radius: 0.25rem;
	font-size: 0.85rem;
	border-radius: 0.25rem;
	margin-left: 0.5rem;
	text-transform: lowercase;
}

td.expectation
{
	text-align: center;
	background: #ddd;
	color: #000;
	cursor: pointer;
	position: relative;
	width: 2rem;
	overflow: visible;
	z-index: 0;
}

td.expectation:before
{
	font-family: "Font Awesome 5 Free";
	font-weight: 400;
	font-size: 1.25rem;
	content: '\f58a';
}

td.expectation.e-00
{
	background: #d00;
	color: #fff;
}

td.expectation.e-00:before
{
	content: '\f119';
}

td.expectation.e-05
{
	background: #ff0;
	color: #777;
}

td.expectation.e-05:before
{
	content: '\f5a4';
}

td.expectation.e-10
{
	background: #0b0;
	color: #fff;
}

td.expectation.e-10:before
{
	content: '\f58c';
}

td.expectation div.expectation
{
	position: absolute;
	top: 0rem;
	left: -12.125rem;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	z-index: 1000;
}

td.expectation div.expectation i
{
	display: block;
	width: 4rem;
	height: 4rem;
	text-align: center;
	line-height: 4rem;
	font-size: 2rem;
}

td.expectation div.expectation i.e-00
{
	background: #d00;
	color: #fff;
}

td.expectation div.expectation i.e-05
{
	background: #ff0;
	color: #777;
}

td.expectation div.expectation i.e-10
{
	background: #0b0;
	color: #fff;
}

tr.overquota
{
	color: #d00;
}

tr.overquota td a
{
	font-weight: normal;
	color: inherit;
}

table.competition
{
	margin-bottom: 3rem;
	position: relative;
	z-index: 0;
}

div#basket
{
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3rem;
	line-height: 3rem;
	background: rgba(255, 255, 255, 0.85);
	color: #0086db;
	border-top: solid 1px #ddd;
	text-align: center;
	font-size: 1.25rem;
}

div#overlay
{
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.75);
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
}

div#overlay:after
{
	content: '\f00d';
	position: absolute;
	right: 2rem;
	top: 2rem;
	display: block;
	font-size: 2rem;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color: #fff;
	cursor: pointer;
}

div#popup
{
	width: 50%;
	background: #fff;
	padding: 2rem;
}
