/* For mobile phones: */
* {box-sizing: border-box;}
html {
	font-family: Verdana, Helvitica, sans-serif;
	font-size: 12px;
	background-color: white; 	
	text-align: center;
	}
body {
	border: 1px solid black;
	background-color: #ccffff;
	margin-left: auto; margin-right: auto; margin-top: 10px;
	max-width: 190mm;
	padding: 0px;
}
.row {margin: 2px 0px;}
.row::after {
	content: "";
	clear: both;
	display: table;
}
[class*="col-"] {
	float: left;
	width: 100%;
	padding: 1px;
	border: 0px solid red;
	text-align: left;
}
.left {padding-left: 15px; padding-right: 15px;}
.line {
	margin-top: 0.5em;
    margin-bottom: 1em;
    margin-left: 0px;
    margin-right: 0px;
    border-top: 1px solid black;
}
input[type="text"] {
	width: 55px;
	text-align: center;
	font-size: 1em;
	padding: 3px 0px;
	margin-top: 5px;
	margin-bottom: 5px;
}
input[type="text"].default {
	color: Grey;
	font-weight: normal;
	background-color: #dddddd;
	border: 1px solid grey;
}
input[type="text"].changed {
	color: black;
	font-weight: bold;
	background-color: #ffffff;
	border: 1px solid black;
}
input[type="radio"] {
	margin: 10px 0px;
	border: 0px;
	width: 1.3em;
	height: 1.2em;
}
label {margin-left: 5px;}
.header {
	background-color: #00cccc;
	color: black;
	padding: 15px;
}
.footer {
	background-color: #ccffff;
	color: black;
	padding: 15px;
	text-align: left;
}
.hidden {
	visibility: hidden;
	display: none;
}
.spacer {
	text-align: center;
	display: inline-block;
	width: 13px;
}
.button,.smallbutton {
	font-size: 12px;
	background-color: white;
	border: 1px solid black;
	border-radius: 5px; 
	color: black;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
}
.button {
	margin: 8px 10px;
	width: 150px; 
  padding: 10px 0px;  
}
.smallbutton {
	margin: 3px 10px;
	width: 65px;
  padding: 5px 0px;
}
.button:hover,.smallbutton:hover {
	background-color: #ffae6b;
	color: black;
}
.button[disabled],#operation9[disabled] {
background-color: lightGrey; 
color: #808080; cursor: 
default; 
border:1px solid grey;
}
.button[disabled]:hover,#operation9[disabled]:hover {
background-color: lightGrey; 
color: grey; 
cursor: default; 
border:1px solid #ffae6b;
}
#error {font-size: 1.2em; color: red;}
#enterdata {
padding: 0px 10px;
}	
#db,#ht { margin-left: 8px;}
#ya { margin-left: 12px;}	
#male, #female, #lean, #estimated {
margin-left: 12px;
}
#leanResult.show,#estimatedResult.show {
	visibility: visible;
	}
#leanResult.hide,#estimatedResult.hide {
	/*visibility: visible;*/
	visibility: hidden;
	color: grey;
	}
#getbmi, #clear {
	margin-left:20px;
	}
#bmiDisplay{	
	text-align: left;
	visibility: visible;
	border: 0px solid red;
	}
#leanDisplay{	
	text-align: left;
	visibility: visible;
	border: 0px solid green;
}
#weightText{
	display: inline-block;
	margin: 9px 0px;
}
#weightText.warn {
	color: red;
	border: 0px solid red;
}
#error,#cookietest{font-size: 1.2em; color: red;}
#operation9, #operation9:hover {color: #0000ff;}
#profiles {
	text-align: center;
	}
#profiles.disabled {color: grey; border: 0px solid #008060;}
#profiles.enabled {
	color: black; 
	border: 2px solid #ffae6b;
	border-radius: 8px;
}	
/* End For mobile phones: */
@media only screen and (orientation: landscape) {
	body {border: 1px solid black;}
}
/* For desktop: */
@media only screen and (min-width: 600px) {
	.col-1 {width: 8.33%;}
	.col-2 {width: 16.66%;}
	.col-3 {width: 25%;}
	.col-4 {width: 33.33%;}
	.col-5 {width: 41.66%;}
	.col-6 {width: 50%;}
	.col-7 {width: 58.33%;}
	.col-8 {width: 66.66%;}
	.col-9 {width: 75%;}
	.col-10 {width: 83.33%;}
	.col-11 {width: 91.66%;}
	.col-12 {width: 100%;}
.left {padding-left: 20px;}
#enterdata {
	padding: 10px 20px;
}	
}
/* end @media only screen and (min-width: 600px) */