.inline-block {
	display: inline-block;
}

.gradient-orange-pink {
	background: rgb(246,62,72);
	background: -moz-linear-gradient(45deg, rgba(246,62,72,1) 35%, rgba(245,146,79,1) 100%);
	background: -webkit-linear-gradient(45deg, rgba(246,62,72,1) 35%, rgba(245,146,79,1) 100%);
	background: linear-gradient(45deg, rgba(246,62,72,1) 35%, rgba(245,146,79,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f63e48",endColorstr="#f5924f",GradientType=1); 
}

.bmi-wrapper input[type=radio] {
    display: none;
}





.bmi-wrapper {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 500px;
	color: #fff;
	font: 16px/1.2 BlinkMacSystemFont, -apple-system, “Segoe UI”, Roboto, Helvetica, Arial, sans-serif;
	overflow: hidden;
}
.calculator-wrapper {
	display: flex;
	flex: 1;
	flex-direction: column;
	height: 100%;
	
}

#calculator-part, #BmiVal {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}






/*1st STAGE--------------------------------------------------*/
.bmi-intro {
    display: none;
    width: 100%;
    max-width: 360px;
	margin-right: 10px;
}
.bmi-intro::after {
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	box-shadow: inset -10px 0px 10px 0px rgba(50, 50, 50, 0.45);
}

.bmi-text-musk {
    position: absolute;
    bottom: -60px;
    left: -9px;
    font-size: 166px;
    font-family: Arial;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.bmi-banner img {
    display: block;
    width: 100%;
    position: relative;
    filter: drop-shadow(0 70px 40px rgba(0, 0, 0, 0.39));
	-webkit-filter: drop-shadow(0 70px 40px rgba(0, 0, 0, 0.39));
}
.bmi-cal-dec {
    padding: 20px 20px;
    position: relative;
    font-size: 16px;
    margin-top: 30px;
}
.who-logo {
	width: 80px;
	position: relative;
	margin: -10px 10px 0 0;
}
.who-logo img {
	width: 80px;
}
.bmi-short {
	flex: 1
}
.button-area {
    display: flex;
    flex-direction: column;
    height: 100px;
    width: 100%;
    padding: 20px 0;
}
.bmi-btn {
    display: inline-block;
    border-radius: 24px;
    background-color: #fff;
    padding: 14px 43px 15px 20px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.30);
    position: relative;
    font-weight: bold;
    width: max-content;
    color: #555;
    cursor: pointer;
}
.bmi-btn-icon {
    background-color: #f04b47;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: .4s ease-out;
    color: #fff;
    position: absolute;
    top: 4px;
    right: 4px;
}
.bmi-btn:hover {
	background-color: #fff;
	box-shadow: 0 0 0 0 rgba(251, 251, 250, 0.7);
	-webkit-animation: pulse 1.25s cubic-bezier(0.66, 0, 0, 1);
	-moz-animation: pulse 1.25s cubic-bezier(0.66, 0, 0, 1);
	-ms-animation: pulse 1.25s cubic-bezier(0.66, 0, 0, 1);
	animation: pulse 1.25s cubic-bezier(0.66, 0, 0, 1);
	animation-iteration-count: infinite;
}

@-webkit-keyframes pulse {to {box-shadow: 0 0 0 20px rgba(255, 226, 18, 0);}}
@-moz-keyframes pulse {to {box-shadow: 0 0 0 20px rgba(255, 226, 18, 0);}}
@-ms-keyframes pulse {to {box-shadow: 0 0 0 20px rgba(255, 226, 18, 0);}}
@keyframes pulse {to {box-shadow: 0 0 0 20px rgba(255, 226, 18, 0);}}

/*TOGGLE SWITCH START--------------------------------------------------*/
.track {
    display: inline-block;
    position: relative;
    width: 112px;
	height: 30px;
	border-radius: 14px;
    z-index: 1;
}
.knob-2, .knob-1 {
	display: inline-block;
	position: absolute;
	border-radius: 14px;
	text-align: center;
	width: 100%;
	height: 100%;
	top: 0;
	color: #fff;
	font-size: 14px;
	line-height: 13px;	
	opacity: 0;
	cursor: pointer;
	z-index: 3;
	transition: .2s ease;
	border: 2px solid #fff;
}
.knob-2 {
	left: 0;
	padding: 7px 36px 0 8px;
}
.knob-1 {
    right: 0;
	padding: 7px 6px 0 28px;
}
.knob-1:before, .knob-2:before {
	display: block;
	content: "";
	position: absolute;
	border-radius: 14px;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}
.knob-1:before, .knob-2:before {
	background-color: rgba(255, 255, 255, 0.1);
}

input[type="radio"]:checked + label {
	opacity: 1;
	z-index: 2;
}


input#female:checked ~ .switch:after, input#male:checked ~ .switch:after {
	content: "";
}
input#feety:checked ~ .switch {
	transform: translate3d(0, 0, 0);
}
input#centy:checked ~ .switch {
	transform: translate3d(88px, 0, 0);
}
input#centy:checked ~ .switch:after, input#pound:checked ~ .switch:after {
	transform: rotate(540deg);
}
input#kilo:checked ~ .switch {
	transform: translate3d(0, 0, 0);
}
input#pound:checked ~ .switch {
	transform: translate3d(88px, 0, 0);
}
.switch {
    display: block;
    position: absolute;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),0px 2px 2px 0px rgba(0, 0, 0, 0.14),0px 1px 5px 0px rgba(0,0,0,.12);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    top: -3px;
    pointer-events: none;
    z-index: 4;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 70%;
}
.switch:after {
	font-family: "Material Icons";
	font-size: 18px;
	display: flex;
	justify-content: center;
	align-items: center;
	content: "\E5C8";
	width: 100%;
	height: 100%;
	color: #333;
	transition: 500ms;
  -webkit-transition: 500ms;
  -moz-transition: 500ms;
  -ms-transition: 500ms;
  -o-transition: 500ms;
}

/*TOGGLE SWITCH END--------------------------------------------------*/




/*2nd STAGE--------------------------------------------------*/
/*.male-female {
	display: flex;
	justify-content: space-between;
	padding: 50px 20px 20px 20px;
	align-items: center;
	position: absolute;
	z-index: 4;
}
.gender-icon {
    font-size: 200px;
    color: rgba(255, 255, 255, 0.80);
}
.gender-h2 {
	font-size: 32px;
	color: rgba(255, 255, 255, 0.80);
}
.male-female.active {
	left: -100%;
}
*/







/*3rd STAGE THE CALCULATOE PART -----------------------------------------------------------------------------------*/
#calculator-part {
	padding: 0px 20px 20px 20px;
}
.bmi-hi {
    font-size: 34px;
    color: #fff;
    margin-top: -14px;
}
input[type=text] {
    border-radius: 4px;
	padding: 12px 16px;
	border-bottom: 1px solid rgba(0,0,0,0.19);
	box-shadow: 0 1px 3px 0 rgba(0,0,0,0.19);
	background-color: #fff;
}
.bmi-icon {
    display: block;
    margin-bottom: 20px;
}
.bmi-icon .material-icons {
	vertical-align: bottom;
	font-size: 28px;
}
/*.bmi-height-1st {
    display: flex;
    justify-content: space-between;
	align-items: center;
}*/
.input-text-container {
	position: relative;
}
.input-text-wrapper {
	display: none;
	position: relative;
}
.input-text-wrapper.active {
	display: inline-block;
}
#calculator-part .track {
	position: absolute;
	top: 50px;
	right: 0;
}



/*3rd STAGE THE CALCULATOE RESULT PART -----------------------------------------------------------------------------------*/
#BmiVal {
	padding: 20px;
	z-index: 5;
	justify-content:space-around;
}
.your-BMI {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
	margin-bottom: 20px;
}
#BmiResult {
    background-color: rgba(255, 255, 255, 0.17);
    color: #fff;
    font-size: 50px;
    line-height: 60px;
    padding: 4px 20px 7px 20px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.19);    
}




#bmiTable {
    display: block;
    background-color: #fff;
    color: #000;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.25);
    border-radius: 6px;
	margin-left: 20px;
}
.bmi-cat {
    display: block;
	padding: 10px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.19);
	position: relative;
}


.bmi-cat:before {
    display: none;
    content: "\e31c";
    font-family: "Material Icons";
    font-size: 32px;
    position: absolute;
    left: -32px;
    top: 1px;
    color: #fff;
    text-shadow: 0 2px 3px rgba(0,0,0,0.19);
}
.bmi-cat.active:before {
	display: block;
}



























































































@media (min-width: 768px) {


.bmi-wrapper {
	flex-direction: row;
}
.bmi-intro {
	display: block;
}




}