.tdee-form {
	border: 2px solid #888;
	margin: 0px auto;
	padding: 15px;
	overflow: auto;
	color: #676767;
	border-radius: 10px;
}

.tdee-calculator {
    margin-bottom: 40px;
}

.radio-option {
	display: block;
	font-size: 20px;
	padding: 15px;
	border: 1px solid #eee;
	border-radius: 15px;
	margin-bottom: 15px;
	cursor: pointer;
	font-weight: bold;
	line-height: 1.3;
}

.radio-option:hover {
	background-color: #f2f2f2;
}

.radio-option b {
	font-weight: normal;
	cursor: pointer;
}

.tdee-form label,
.tdee-form .grams {
	font-size: 22px;
	font-weight: bold;
}

.tdee-form .label label.block-label span.unit-container {
	display: block;
}

.tdee-form label a {
	font-size: 18px;
	display: block;
	font-weight: normal;
}

.tdee-form label.radio-label {
	vertical-align: top;
	line-height: 30px;
	margin: 0;
    width: 33%;
}

.tdee-form .radio-label {
	display: inline-block;
}

.tdee-form .radio-label span {
	display: block;
}

.tdee-form .row {
	border-bottom: 1px solid #ddd;
	overflow: auto;
}

.tdee-form .row.stats-activity,
.tdee-form .row.stats-goal {
	padding-top: 20px;
}

.tdee-form .stat-slider {
	padding-top: 30px;
}

.tdee-form .system-switch {
	margin: 0;
	width: 33%;
}

.tdee-form .stats-activity .label {
	padding-top: 200px;
}

.tdee-form .stats-goal .label {
	padding-top: 100px;
}

.tdee-form .sliders .increment,
.tdee-form .slider-td .increment,
.tdee-form .slider-td .ui-slider,
.tdee-form .sliders .ui-slider {
	display: inline-block;
}

.tdee-form .sliders .increment,
.tdee-form .slider-td .increment {
	width: 28px;
	height: 28px;
	border: 1px solid #0bf;
	font-family: courier;
	color: #0bf;
	background: transparent;
	border-radius: 3px;
	cursor: pointer;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.tdee-form .sliders .increment .button,
.tdee-form .slider-td .increment .button {
	margin: 0;
	font-family: inherit;
	font-size: 21px;
	color: inherit;
	position: relative;
}

.tdee-form .sliders .increment .minus,
.tdee-form .slider-td .increment .minus {
	background: #0bf;
	height: 2px;
	position: relative;
	width: 10px;
	border-radius: 3px;
}

.tdee-form .sliders .increment .plus,
.tdee-form .slider-td .increment .plus {
	background: #0bf;
	height: 10px;
	position: relative;
	width: 2px;
	border-radius: 3px;
}

.tdee-form .sliders .increment .plus:after,
.tdee-form .slider-td .increment .plus:after {
	background: #0bf;
	content: "";
	height: 2px;
	left: -4px;
	position: absolute;
	top: 4px;
	width: 10px;
	border-radius: 3px;
}

.tdee-form .custom-multiplier {
	display: none;
}

.tdee-form .custom-multiplier-span {
	position: relative;
	display: none;
}


.tdee-form .radio-option.selected .custom-multiplier-span {
	display: inline;
}

.tdee-form .radio-option.selected .custom-multiplier {
	display: inline;
	width: 75px;
	margin-left: 25px;
	border: none;
	background-color: #00a9ff;
	color: #fff;
	text-align: center;
	position: relative;
  -webkit-appearance: textfield;
     -moz-appearance: textfield;
          appearance: textfield;
}

.tdee-form .radio-option.selected .custom-multiplier::-webkit-inner-spin-button,
.tdee-form .radio-option.selected .custom-multiplier::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

#multiplier-up {
	content:"▲";
	color: #fff;
	background-color: #00a9ff;
	position: absolute;
	top: -10px;
	right: -8px;
    width:25px;
    height:15px;
    z-index: 2;
}

#multiplier-down {
	content:"▼";
	color: #fff;
	background-color: #00a9ff;
	position: absolute;
    bottom: -3px;
	right: -8px;
    width:25px;
    height:15px;
    z-index: 2;
}

.tdee-form .label {
	float: left;
	width: 40%;
	clear: both;
	padding: 20px;
}

.tdee-form .content {
	float: right;
	width: 60%;
	padding: 20px;
	text-align: center;
}

.tdee-form .flex-content {
	float: right;
	width: 60%;
	padding: 20px;
	text-align: center;
	display: flex;
	justify-content: space-around;
}

.tdee-form .flex-slider-content {
	float: right;
	width: 60%;
	padding: 20px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.tdee-form .increment:hover {
	background-color: #cef;
}

.tdee-form .sliders td:last-child {
	padding-right: 10px;
	padding-left: 10px;
}

.tdee-form .macro-bottom-table td {
    padding-right: 100px;
}

.tdee-form span#cals-left {
	display: inline !important;
}

.tdee-form .lbm-result,
.tdee-form .bmr-result,
.tdee-form .tdee-result,
.tdee-form table td {
	padding: 20px;
	padding-left: 20px !important;
	font-size: 22px;
	color: #e54027;
}

.tdee-form .lbm-result,
.tdee-form .bmr-result,
.tdee-form .tdee-result {
	font-weight: bold;
}

.tdee-form .row .perc-td,
.tdee-form .row .slider-td {
	text-align: center;
	padding: 20px;
}

.tdee-form .row.calories .label,
.tdee-form .row.calories .content {
	width: 100%;
}

.tdee-form table td.select-td {
	width: 65%;
}

.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;
}

.tdee-form td.perc-td {
	text-align: center;
	font-size: 22px;
	border: none !important;
}

.tdee-form .ui-slider-handle {
	width: 50px !important;
	height: 50px !important;
	border-radius: 25px;
	top: -19px !important;
	padding: 13px 1px;
	font-size: 17px;
	text-align: center;
	font-weight: bold !important;
	letter-spacing: 1px;
	font-family: "proxima-nova", sans-serif;
	line-height: 1.4em;
}

.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;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 1px solid #00a9ff !important;
    background: #00a9ff url("images/ui-bg_glass_50_00a9ff_1x400.png") 50% 50% repeat-x !important;
    font-weight: normal;
    color: #fff !important;
}

.ui-widget-header {
    border: 1px solid #4297d7;
    /*background: #00a9ff url("images/ui-bg_gloss-wave_0_00a9ff_500x100.png") 50% 50% repeat-x !important;*/
    color: #eaf5f7;
    font-weight: bold;
}

.tdee-form td.perc-td label {
	font-size: 22px;
}

.tdee-form .ui-slider {
    max-width: 500px;
    margin: 4px auto 0px;
    width: 75%;
}

.tdee-form .flex-slider-content .ui-slider {
	margin: 0 6px;
	border-radius: 3px;
}

table.macro-bottom-table td.slider-td {
	width: 100% !important;
	text-align: center !important;
	padding: 10px 20px 40px !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;
}

label.radio-label {
	color: #00a9ff;
	font-size: 22px;
}

.tdee-form label span {
	font-size: 20px;
}

.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%;
}

.tdee-form .increment {
	top: initial;
}

.tdee-form .increment .minus {
	transform: none;
    top: 0;
    left: 0;
}

.tdee-form .increment .plus {
	transform: none;
    top: 0;
    left: 0;
}

@media screen and (max-width: 767px) {
	.tdee-calculator {
	    margin-bottom: 25px;
	}

	.tdee-form .label {
		width: 100%;
		text-align: center;
		padding: 30px 0px 0px;
	}

	.tdee-form .content,
	.tdee-form .flex-content,
	.tdee-form .flex-slider-content {
		width: 100%;
		text-align: center;
		padding: 20px 0px;
	}

	.tdee-form .label label.block-label span.unit-container {
		display: inline;
	}

	.tdee-form .row.sliders {
		padding-bottom: 20px;
	}

	.tdee-form .row.unit .content,
	.tdee-form .row.sliders .stat-slider {
		padding: 20px 0px;
	}

	.tdee-form .system-switch {
	    /* margin: 15px 5px; */
	}

	.tdee-form .switch {
		width: 60px;
	}

	.metric {
		padding-right: 10px;
	}

	.male {
		padding-left: 32px;
	}

	input:checked + .slider:before {
	  transform: translateX(26px);
	}

	.tdee-form .stats-activity .label,
	.tdee-form .stats-goal .label {
		padding-top: 20px
	}

}


