.macro-form {
	max-width: 820px;
	border: 2px solid #888;
	margin: 0px auto;
	padding: 15px;
	overflow: auto;
}

.radio-option {
	display: block;
	font-size: 20px;
	padding: 15px;
	border: 1px solid #eee;
	border-radius: 15px;
	margin-bottom: 15px;
	cursor: pointer;
}

.radio-option:hover {
	background-color: #f2f2f2;
}

.radio-option b {
	font-weight: normal;
	cursor: pointer;
}

.weight-slider, .height-slider, .age-slider {
	width: 82%;
}

span.grams {
	max-width: 120px;
	display: inline-block;
	border: none;
	float: none !important;
}
span.grams input {
	border: none !important;
	font-size: 22px;
	font-weight: bold !important;
	text-align: right !important;
}

.ui-widget-content .ui-state-focus {
	border: 1px solid #00a9ff !important;
	/*background: #00a9ff url("images/ui-bg_glass_50_00a9ff_1x400.png") 50% 50% repeat-x !important;*/
	color: #fff !important;
}

.ui-widget-content .ui-state-hover,
.ui-widget-content .ui-state-active {
	background: #0088dd !important;
	border: 1px solid #0066bb;
	color: #fff !important;
}

.switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 110px;
}

.switch input {
  display:none;
}

td.imperial {
	padding-right: 0px !important;
	text-align: right;
}

td.metric {
	padding-left: 0px !important;
	text-align: left;
}

td.system-switch {
	width: 130px;
	padding: 0px !important;
}

.slider {
  background-color: #00a9ff;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 26px;
}

span.selected,
span.selected:hover {
	background-color: #00a9ff;
	color: #fff;
}

span.selected:hover

input:checked + .slider {
  background-color: #00a9ff;
}

input:checked + .slider:before {
  transform: translateX(75px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#bodyfat-calc table {
	background-color: #fff !important;
	border: 1px solid #333;
	color: #676767;
}

.td-right,
.td-left {
	padding: 20px !important;
	font-size: 22px;
	font-weight: bold;
	text-align: left !important;
}

.td-center label {
    color: #00a9ff;
    font-size: 22px;
}

.unit-container {
	font-weight: normal;
	font-size: 20px;
	display: block;
}

.switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 110px;
}

.switch input {
  display: none !important;
}


.slider-round {
  background-color: #00a9ff;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider-round:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 26px;
}

span.selected,
span.selected:hover {
	background-color: #00a9ff;
	color: #fff;
}

span.selected:hover

input:checked + .slider-round {
  background-color: #00a9ff;
}

input:checked + .slider-round:before {
  transform: translateX(75px);
}

.slider-round {
  border-radius: 34px;
}

.slider-round:before {
  border-radius: 50%;
}

.td-center {
	text-align: center;
}

.ui-slider-handle {
	width: 50px !important;
	height: 50px !important;
	border-radius: 25px;
	top: -21px !important;
	padding: 15px 1px;
	font-size: 17px;
	text-align: center;
	font-weight: bold;
	letter-spacing: 1px;
	position: absolute;
	z-index: 2;
	cursor: default;
	-ms-touch-action: none;
	touch-action: none;
	font-family: "proxima-nova", sans-serif;
}

.ui-state-default {
	border: 1px solid #00a9ff !important;
	/*background: #00a9ff url("../../../../plugins/custom-legion/css/images/ui-bg_glass_50_00a9ff_1x400.png") 50% 50% repeat-x !important;*/
	color: #fff !important;
	font-weight: bold !important;
}

.ui-state-focus {
	border: 1px solid #00a9ff !important;
	/*background: #00a9ff url("images/ui-bg_glass_50_00a9ff_1x400.png") 50% 50% repeat-x !important;*/
	color: #fff !important;
}

.ui-widget-header {
	background: #00a9ff;
}

.ui-state-hover,
.ui-state-active {
	background: #0088dd !important;
	border: 1px solid #0066bb;
	color: #fff !important;
}

.ui-slider {
    max-width: 500px;
    margin: 0px auto;
    width: 75%;
    border: 1px solid #a6c9e2;
    border-radius: 5px;
    height: 13px;
    display: inline-block;
}

.increment {
    width: 28px;
    height: 28px;
    border: 1px solid #0bf;
    line-height: 17px;
    vertical-align: top;
    font-family: courier;
    color: #0bf;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    top: -7px;
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    margin: 0px 5px;
}

.increment:hover {
    background-color: #cef;
}

.increment .minus {
	display: block;
	width: 10px;
	height: 2px;
	margin: auto;
	position: absolute;
	top: 50%;
    left: 50%;
	transform: translate(-50%, -50%);
	background: #0bf;
	border-radius: 3px;
}

.increment .plus {
	display: block;
	width: 2px;
	height: 10px;
	margin: auto;
	position: absolute;
	top: 50%;
    left: 50%;
	transform: translate(-50%, -50%);
	background: #0bf;
	border-radius: 3px;
}

.increment .plus:after {
	position: absolute;
	top: 4px;
	left: -4px;
	width: 10px;
	height: 2px;
	content: "";
	background: #0bf;
	border-radius: 3px;
}

.system-switch {
	top: 10px;
	position: relative;
}


@media screen and (max-width: 767px) {
/*	tr, td, .td-right {
	    display: block;
	    width: 100% !important;
	    text-align: center !important;
	    min-height: 82px;
	}

	tr {
		border: 1px solid #d8d8d8;
	}
	td {
	    padding: 20px !important;
	    border: none !important;
	}*/
	.td-right {
		padding: 40px 20px 0px !important;
	}
	.td-center {
		padding: 10px 20px 30px !important;
	}
	#bodyfat-calc #genderRadios label {
		margin: 0px 5px;
	}
}

@media screen and (max-width: 387px) {
	.ui-slider {
		width: 68%;
	}
}