:root {
  --gray-1:#222222;
  --gray-2:#333333;
  --gray-3:#555555;
  --gray-4:#D3D3D3;
}
html, body {
	font-family: Arial, Helvetica, sans-serif;
  height: 100%;
}
/*h3 {
	font-size: 1.8vw;
}*/
.btn_lang {
  color: #ffffff;
  cursor: pointer;
}
.btn_lang_selected {
  text-decoration: underline;
}
.main {
    height: 100%;
    width: 100%;
    display: table;
}
.button {
  font: bold 15px Arial;
  text-decoration: none;
  background-color: #EEEEEE;
  color: #333333;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;
}
#key {
	padding: 8px;
	margin: 28px 0 14px;
	display: inline-block;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	box-sizing: border-box;
	text-align: center;
}
#login {
	background-color: #1e8c3c;
	border: 1px solid #15622a;
	color: #ffffff;
	padding: 0.5em;
	font-weight: bold;
  cursor: pointer;
}
.control_table td, .control_table th {
  border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	border-right: none;
	border-left: none;
  text-align: center;
}
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
	margin: 0;
}
td, th {
  border: 1px solid #bbbbbb;
  text-align: center;
  padding: 8px;
}
.btn_label {
	position: relative;
  display: inline-block;
	vertical-align: middle;
  height: 34px;
}
/* Slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #ffffff;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
input:checked + .slider {
  background-color: #3cae3c;
}
input:focus + .slider {
  box-shadow: 0 0 1px #3cae3c;
}
/*input:checked + .slider1 {
  background-color: #3cae3c;
}
input:focus + .slider1 {
  box-shadow: 0 0 1px #3cae3c;
}
input:checked + .slider2 {
  background-color: #f44336;
}
input:focus + .slider2 {
  box-shadow: 0 0 1px #f44336;
}*/
input {
  padding: 4px 4px;
  margin: 4px 0;
  box-sizing: border-box;
}
.button {
  background-color: #f44336;
  border: none;
  color: #ffffff;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.2vw;
  cursor: pointer;
}
.board_element {
	margin: 1% 0;
}
input.board_element {
  cursor: pointer;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fefefe;
  margin: auto;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animatetop;
  animation-duration: 0.4s
}

.modal-header {
  padding: 1.5vh 1vw;
  background-color: #333333;
  color: #FFFFFF;
}

.modal-body {
  padding: 0.5vh 1vw;
  background-color: #FFFFFF;
  color: #000000;
}

/* Add Animation */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}

/* The Close Button */
.close {
  color: #FF0000;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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

/*                  Selector                       */
/*the container must be positioned relative:*/
.custom-select {
  position: relative;
  font-family: Arial;

}

.custom-select select {
  display: none; /*hide original SELECT element:*/
}

.select-selected {
  height: 100%;
	padding: 0;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	display: flex;
	justify-content: center;
	align-items: center;
}

/*style the arrow inside the select element:*/
.select-selected:after {
	position: absolute;
  content: "";
	float:right;
  right: 10px;
  width: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: #ffffff;
  padding: 8px 16px;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: gray;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}