html, body
{
	margin: 0;
	padding: 0;
	height: 100%;
	-webkit-tap-highlight-color: transparent;
}

#content
{
	min-height: 100%;
	position: relative;
	background: white;
	-webkit-tap-highlight-color: transparent;
}

#mainleftsidebar
{
	position: absolute;
	left: 0;
	top: 0;
	width: 240px;
	bottom: 0;
}

/* Logo in the top left corner */
#logo
{
	margin: 8px 40px;
}

/* Narrow strip along top of screen that includes login information */
#header
{
	position: absolute;
	left: 240px;
	top: 0;
	right: 0;
	height: 48px;
/*	border: 1px solid black;*/
}

/* Region in the center where card game is played */
#field
{
	position: absolute;
	left: 240px;
	top: 48px;
	right: 0;
	bottom: 0;
/*	border: 1px solid rgba(0, 255, 0, 1);*/
}

a:link
{
	text-decoration: none;
    color: #C00;
}

a:visited
{
	text-decoration: none;
    color: #C00;
}

a:hover
{
	text-decoration: none;
    color: white;
}

a:active
{
	text-decoration: none;
    color: white;
}

.illustration
{
    float: right;
	margin: 0 0 0 16px; /* t,r,b,l */
}

.text_input
{
	margin: 4px 0 4px 0;
	width: 160px;
	font-family: "Arial", Helvetica, sanserif;
	font-size: 15px;
	font-weight: bold;
}

p
{
	margin: 2px 26px;
	font-family: "Arial", Helvetica, sanserif;
	font-size: 15px;
	font-weight: bold;
    color: #555;
}

.text_box
{
 	background: white;
	border: solid black 3px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	display: inline-block;
	margin: 16px;
	padding: 16px;
	vertical-align: top;
}

.red_text
{
    color: #C00;
}

.text_error
{
    color: #A00;
}

.text_heading
{
    color: black;
	font-size: 17px;
	margin-top: 16px;
}

.text_descriptive
{
	font-weight: normal;
    color: #555;
}

.text_announce
{
	font-weight: bold;
    color: #555;
	text-align: center;
}

input[type="text"], input[type="password"]
{
	margin: 10px;
	float: right;
	font-family: sans-serif;
	font-size: 15px;
	box-shadow: none;
	border-radius: none;
}

.thumbnail_block
{
	padding-left: 16px;
	display: inline-block;
	text-align: center;
	font-family: arial;
	font-size: 15px;
	font-weight: bold;
	color: black;
/*	border: 1px solid rgba(255, 0, 0, 1);*/
}

.thumbnail_image
{
/*	border: 1px solid rgba(0, 0, 255, 1);*/
}

.thumbnail_label
{
	display: block;
	margin: 0;
}

.pillbutton
{
	background: white;
	border: solid black 3px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	color: black;
	cursor: pointer;
	display: block;
	font-family: arial;
	font-size: 15px;
	font-weight: bold;
	margin-left:auto;
	margin-right:auto;
	padding: 6px;
	text-decoration: none;
	text-align: center;
}

/*.pillbutton:not(.nohover):hover*/
.pillbutton:hover
{
    background: #C00;
    text-decoration: none;
}

.pillbutton:active
{
    background: grey;
    text-decoration: none;
}

.buy_me_a_coffee
{
	font-family: arial;
	font-size: 15px;
	font-weight: bold;
	color: rgba(0, 0, 0, 0.67);
	padding: 4px;
	text-align: right;
}

.unselectable
{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.modal
{
	display: none;
	position: fixed;
	z-index: 9999;
	padding-top: 100px; /* Location of the box - BOGUS: center vertically*/
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto; /* Enable scroll if needed */
	background-color: rgba(0,0,0,0.3);
	user-select: none; /* стандартное свойство */
  -webkit-user-select: none; /* для Safari */
  -moz-user-select: none; /* для Firefox */
  -ms-user-select: none; /* для IE/Edge */
}

.modal-content
{
	background-color: #fefefe;
	margin: auto;
	padding-top: 2px;
	padding-left: 8px;
	padding-right: 8px;
	padding-bottom: 16px;
	border: 8px solid rgba(0,0,0,0.5);
	border-radius: 16px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding;
	background-clip: padding-box;
	width: 480px;
	user-select: none; /* стандартное свойство */
  -webkit-user-select: none; /* для Safari */
  -moz-user-select: none; /* для Firefox */
  -ms-user-select: none; /* для IE/Edge */
}

.close_modal
{
	color: black;
	float: right;
	font-size: 24px;
	font-weight: bold;
}

.close_modal:hover,
.close_modal:focus
{
	color: #C00;
	text-decoration: none;
	cursor: pointer;
}

.modal_header
{
	font-family: arial;
	font-size: 20px;
	font-weight: bold;
	color: #C00;
	text-transform: uppercase; 
}

.modal_text
{
	font-family: arial;
	font-size: 14px;
	font-weight: bold;
	color: black;
}
