#page-inner {
	display: block;
	margin-top: 24px;
	margin-left: auto;
	margin-right: auto;
	width: 700px;
}

#settings tr td:first-child {
	vertical-align: top;
	width: 75px;
	padding-top: 4px;
}

.ui-slider {
	margin-top: 8px;
	margin-left: 0px;
}

#page-content .ui-slider-horizontal {
	height: 1.6em;
}

.slider-scale {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	/*width: 100%;*/
	height: 48px;
	position: relative;
	margin-left: 0px;
}

#formula {
	margin-left: 24px;
	display: inline-block;
	top: 2px;
	position: relative;
}

#info {
	position: relative;
	top: 8px;
	left: 8px;
}

.slider-scale-tick {
	position: relative;
}
.slider-scale-tick:before {
	content: "";
	border-left: 1px solid #677680;
	display: block;
	position: absolute;
	height: 5px;
}
.slider-scale-big:before {
	height: 10px;
}
.slider-scale-tick:after {
	top: 10px;
	counter-increment: section;
	content: attr(data-label);
	transform: translateX(-50%);
	text-align: center;
	position: absolute;
}

.ui-slider-horizontal .ui-state-default {
	background: url(handle.png) no-repeat scroll 50% 50% !important;
	width: 48px !important;
	height: 40px !important;
	top: -30px !important;
	margin-left: -24px !important;
	text-align: center;
	border: 0 !important;
	outline: none;
	padding-top: 8px;
	box-sizing: border-box;
	font-size: 12px;
}

.slider-scale-big {
	font-size: 12px;
}

.ui-slider-horizontal .ui-state-active {
	color: black !important;
	/*text-shadow: 0 0 8px rgba(255, 128, 0, 1);*/
}

.ui-slider-horizontal#height-slider .ui-state-default:after {
	content: " м";
}

.ui-slider-horizontal#weight-slider .ui-state-default:after {
	content: " кг";
}

#types {
	border-collapse: collapse;
	margin-top: 16px;
	font-size: 14px;
}

#types tr td, #types tr th {
	border: solid 1px black;
	padding: 8px;
}

#types tr:nth-child(2) td {
	background-color: rgba(0, 0, 240, 0.5);
}

#types tr:nth-child(3) td {
	background-color: rgba(0, 255, 255, 0.5);
}

#types tr:nth-child(4) td {
	background-color: rgba(0, 255, 0, 0.5);
}

#types tr:nth-child(5) td {
	background-color: rgba(173, 255, 47, 0.5);
}

#types tr:nth-child(6) td {
	background-color: rgba(255, 255, 0, 0.5);
}

#types tr:nth-child(7) td {
	background-color: rgba(255, 128, 0, 0.5);
}

#types tr:nth-child(8) td {
	background-color: rgba(240, 0, 0, 0.5);
}

#types tr td:nth-child(3) {
	border: 0;
	background-color: rgba(255, 255, 255, 0) !important;
	color: #000;
	font-weight: bold;
}

.arrow {
	visibility: hidden;
}

.arrow-visible {
	visibility: visible;
}

#expression {
	font-family: monospace;
	font-size: 20pt;
	width: 1503.2px;
	border-width: 2px;
	border-color: black;
	border-bottom-color: lightgray;
	box-sizing: border-box;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

#analysis {
	border: solid 2px black;
	border-top-width: 0;
	box-sizing: border-box;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

#salary-table input[type="number"] {
	font-size: 14pt;
	width: 50px;
}

#salary-table input.money {
	font-size: 14pt;
	width: 200px;
}


#salary-table input.long {
	font-size: 14pt;
	width: 500px;
}

#salary-table input[type="radio"] {
	transform: scale(1.4) translateY(2px);
}