* {
    margin: 0;
    padding: 0;
}

body {
  text-align: center;
  background: url(../img/bg_up.jpg) top no-repeat, url(../img/bg_down.jpg) top;
  background-size: 100%;
  background-position: 0 -0.6%;
}

.wrapper {
  font-family: "Trebuchet MS";
  font-size: 30px;
  margin: 10px 15%;
  /* margin: 10px 15% 10px 15%; */
  margin-bottom: 40px;
  padding-top: 27%;
}

.tr_menu {
	background: none;
}

.menu {
	display: flex;
	font-size: 20px;
	justify-content: space-evenly;
	/* width: 100%; */
}

.menu li {
	padding: 5px 15px;
	background-color: #2e82c3;
	border-radius: 20px;
	list-style-type: none;
	transition: 0.3s;
}

.menu li:hover {
	cursor: pointer;
	background-color: #2f9aec;
}

.menu li.action {
	background-color: green;
	animation: heartbeat 1.5s infinite;
}

.menu li.action:hover {
	background-color: #3a913a;
}

@keyframes heartbeat {
	0% {
		transform: scale(1);
	}

	20% {
		transform: scale(1.15);
	}

	40% {
		transform: scale(1);
	}

	60% {
		transform: scale(1.15);
	}

	80% {
		transform: scale(1);
	}

	100% {
		transform: scale(1);
	}
}

.menu li a {
	text-decoration: none;
	color: white;
}

.logo img {
	width: 350px;
	/* position: absolute; */
}

.refresh {
	font-size: 12px;
    display: flex;
    justify-content: flex-end;
	position: absolute;
    background: #4646b5;
    padding: 1px 8px;
    border-radius: 7px;
    right: 2px;
    bottom: 2px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  text-align: center;
  cursor: default;
}

table td:nth-child(1) {
  width: 100px;
}

table td:nth-child(3) {
  width: 100px;
}

table thead tr {
  color: #ffffff;
  font-weight: bold;
  background: #2e82c3;
}

table thead tr th {
  padding: 10px;
  border-radius: 8px;
}

table thead tr td {
  border-radius: 8px;
}

table tbody tr td {
  border: 1px solid #2e82c3;
  border-radius: 8px;
  background: #cbdfef;
  white-space: nowrap;
    -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
}

/* table tbody tr td:hover { */
  /* filter: brightness(1.2); */
/* } */

table tbody tr {
  /* -webkit-transition-duration: 0.2s; */
  /* transition-duration: 0.2s; */
}

.tooltip span{
    border-radius: 5px 5px 5px 5px;
    visibility: hidden;
    position: absolute;
    left: 200px;
    background: #fff;
    box-shadow: -2px 2px 10px -1px #333; 
    border-radius: 5px;	
}
 
.tooltip:hover span{
	visibility: visible;
}

table tbody tr:hover {
  filter: brightness(1.2);
}

#image {
    z-index: 9999;
	position: absolute;
	display: none;
	top: 0px;
	left: 0px;
	/* filter: brightness(60%); */
	border-color: #008a77; /* Цвет границы */
    border-style: solid; /* Стиль границы */
	font-size: 0px;
}

#image img {
	width: 150px;
}

.links {
	color: black;
	font-size: 30px;
    font-family: Trebuchet MS;
    display: block;
    /* margin-bottom: 50px; */
	/* margin: 10px 15% 10px 15%; */
}

.link {
	border: 1px solid #2e82c3;
	border-radius: 8px;
	background: #efefef;
	white-space: nowrap;		
}
.join {
    font-family: "Trebuchet MS";
    font-size: 16px;
    padding: 2px 7px;
    border-radius: 8px;
    background: #ffd700;
    float: right;
    /* margin: 5px; */
	white-space: nowrap;
	/* width: 90px; */
}
.link:hover {
	background: #ffffff;
}
.link a, .join a {
	color: black;
	text-decoration: none;
}
.link a:hover, .join a:hover {
	/* text-decoration: underline; */
	font-weight: bold;
}

.select-css { 
font-size: 15px; 
margin-top: 15px;
font-family: sans-serif; 
font-weight: 700; 
color: #444; 
line-height: 1.3; 
padding: .6em 1.4em .5em .8em; width: 100%; 
max-width: 30%; 
box-sizing: border-box; 
border: 1px solid #aaa;
 box-shadow: 0 1px 0 1px rgba(0,0,0,.04); 
border-radius: .5em;
 -moz-appearance: none;
 -webkit-appearance: none;
 appearance: none;
 background-color: #fff; 
background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'), linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); 
background-repeat: no-repeat, repeat;
background-position: right .7em top 50%, 0 0;
background-size: .65em auto, 100%; 
} 
 .select-css::-ms-expand { display: none; } 
 .select-css:hover { border-color: #888; } 
 .select-css:focus { border-color: #aaa; 
 box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
 box-shadow: 0 0 0 3px -moz-mac-focusring; 
color: #222;
 outline: none; 
} 
 .select-css option { font-weight:normal; } 
 *[dir="rtl"] .select-css, :root:lang(ar) .select-css, :root:lang(iw) .select-css { 
background-position: left .7em top 50%, 0 0; 
padding: .6em .8em .5em 1.4em; 
}
.dselect {
	display: flex;
    justify-content: center;
}
@media screen and (max-width: 1000px) {
  .wrapper {
    font-size: 20px;
	margin: 0;
  }
	.logo img {
		width: 250px;
	}	
	#image img {
		width: 100px;
	}
	.links {
		font-size: 15px;
		/* margin: 30px 1px 30px 1px; */
	}
	.menu {
		font-size: 15px;
	}
	.link {
		/* margin-top: 5px; */
	}
	.select-css {
		max-width: 100%; 
	}
}
@media screen and (max-width: 475px) {
		table {
		font-size: 16px;
	}
	.refresh {
		display: none;
	}
	.menu {
		flex-direction: column;
	}
	
	.menu li {
		margin: 5px auto;
		width: 150px;
		text-align: center;
	}
	.select-css {
		max-width: 100%; 
	}
}
@media screen and (max-width: 375px) {
  .wrapper {
    font-size: 12px;
	/* margin: 5px 1% 70px 1%; */
  }
  .logo img {
		width: 150px;
	}
	#image img {
		width: 100px;
	}
}

