* {
	margin: 0;
	padding: 0;
}

td {
	padding: 1px;
}

#table {
	padding: 0;
}

table.Mendeleev th {
	background-color: #fafaf0;
}
table.Mendeleev td {
	padding-top: 0;
	padding-bottom: 0;
}
.vert_text {
	font-size: 8px;
	writing-mode: vertical-rl;
}
.vert_text1 {
	width: 15px;
	writing-mode: vertical-rl;
}
.vert_text_table {
	width: 22px;
	height: 65px;
}
.element {
	border: none;
}
.simbol {
	font-weight: bold;
	font-size: 25px;
	height: 18px;
}
.ps_simbol {
	font-weight: bold;
	font-size: 24px;
	height: 18px;
}
.number {
	text-align: center;
	font-size: 13px;
	font-weight: bold;
}
.electron {
	vertical-align: bottom;
	text-align: right;
	font-size: 7px;
	width: 10px;
}
.ps_electron {
	vertical-align: bottom;
	text-align: right;
	font-size: 8px;
}
.ps_electron msup mn {
	font-size: 6px;
}
.b_electron {
	vertical-align: bottom;
	text-align: left;
	font-size: 7px;
	width: 10px;
}
.tab_electron {
	vertical-align: bottom;
	text-align: center;
	font-size: 7px;
	padding-bottom: 2px;
}
.lat_name {
	font-size: 10px;
	width: 80px;
	height: 11px;
}
.rus_name {
	font-size: 10px;
	font-weight: bold;
	width: 80px;
	height: 11px;
}
.ps_rus_name {
	font-size: 10px;
	width: 63px;
	height: 11px;
}
.a {
	text-align: left;
}
.b {
	text-align: right;
}
.mass {
	text-align: center;
	font-size: 10px;
}
.d {
	background-color: #ddff00;
}
.s {
	background-color: #ffff64;
}
.p {
	background-color: #ffffaa;
}
.f {
	background-color: #e3b575;
}
.a_group {
	text-align: left;
	width: 50%;
	display: inline-block;
}
.a_group_padd {
	padding-left: 5px;
}
.b_group {
	text-align: right;
	width: 50%;
	display: inline-block;
}
.b_group_padd {
	padding-right: 5px;
}
.nem {
	background-color: #ddff00;
}
.shm {
	background-color: #ffff00;
}
.shzm {
	background-color: #ffee87;
}
.perm {
	background-color: #ffffaa;
}
.pperm {
	background-color: #ffff77;
}
.pm {
	background-color: #ffcc00;
}
.gal {
	background-color: #c4dc25;
}
.ing {
	background-color: #ebff67;
}
.lan {
	background-color: #f8cd82;
}
.act {
	background-color: #e3b86d;
}
.spravka_chemistry {
	border: none;
	background-color: #fbffe0;
}
.name_tr {
	font-size: 13px;
	height: 50px;
}
.little {
	font-size: 13px;
}

/* Базовые стили слоя затемнения и модального окна  */
.overlay {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
	display: none;
	background-color: rgba(0, 0, 0, 0.5);
	position: fixed;
}
/* активируем слой затемнения */
.overlay:target {
	display: block;
}
/* стили модального окна */
.popup {
	display: none;
	z-index: 20;
	margin: 0;	
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	padding: 15px;
	background: #fefede;
	width: 500px;
	text-align: center;
	border-radius: 7px;
	/* внешняя тень */
	box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
}
/* активируем модальный блок */
.overlay:target+.popup {
	/* фиксированное позиционирование, окно стабильно при прокрутке */
	position: fixed;
	top: 50%;
	right: 50%;
	left: 50%;
	display: block;
}
/* формируем кнопку закрытия */
.close {
	top: -11px;
	right: -12px;
	width: 20px;
	height: 20px;
	position: absolute;
	padding: 0;
	border: 2px solid #ffffde;
	border-radius: 15px;
	background-color: rgba(61, 61, 61, 0.8);
	box-shadow: 0px 0px 10px #000;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
}
.close:before {
	color: rgba(255, 255, 222, 0.9);
	content: "×";
	text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
	font-size: 12px;
}
.close:hover {
	background-color: rgba(137, 43, 19, 0.8);
}
.descrip {
	margin: auto;
}
.descrip td {
	padding-right: 4px;
	padding-left: 4px;
}
.descrip td:first-child {
	text-align: right;
}
.help {
	margin: auto;
	border: 1px solid black;
}
