/* .ui-keyboard { */
	/* font-size: 1.1em;  */
/* } */

@media only screen and (max-height: 480px) { /* 5 inch */
    .ui-keyboard { font-size: 1.3em; }
}

@media screen and (min-height: 481px) and (max-height: 600px){ /* 7 inch */
    .ui-keyboard { font-size: 1.5em; }
}

@media screen and (min-height: 601px) and (max-height: 799px){ /* 9 inch */
    .ui-keyboard { font-size: 1.6em; }
}

@media screen and (min-height: 800px){ /* 10 inch */
    .ui-keyboard { font-size: 1.7em; }
}

input {
	background-color: #FEFEFE;
}

input,select  { 
	line-height: 44px;
	height: 44px; 
	vertical-align: middle; 
	font-size: 1.2em; 
}

option {
	height: 40px; 
	line-height: 40px; 
	padding-top: 15px;
 }
/* start */
label {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

input[type=checkbox].setting_checkbox {
	position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

input[type="checkbox"].setting_checkbox  + label.setting_label {
	padding-left: 86px;
	padding-top: 12px;
    height: 28px; 
	display: block;
	line-height: 15px;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: 0 -40px;	
    cursor: pointer;
}

input[type=checkbox].setting_checkbox:checked + label.setting_label {
	background-position: 0 -80px;
}

input[type=checkbox].setting_checkbox:disabled + label.setting_label {
	background-position: 0 0px;
}

.setting_label {
	background: url("../images/settings_checkbox.png");
}
/* end */
span {
  display: inline-block;
  vertical-align: middle;
}

a {
	color: #F0F0F0;
	text-decoration: none;
}

a:hover {
	color: #F0F0F0;
	text-decoration: none;
}

a:active {
	color: #F0F0F0;
	text-decoration: none;
}

.page_container {
	display: block;
	text-align: center;
	margin: 0 auto;
	font-size: 1em;
}

.settings_container {
	display: block;
	width: 300px;
	vertical-align: top;
	padding: 2px;
	margin: 0 auto;
}

.settings_container_inline {
	display: inline-block;
	width: 300px;
	padding: 2px;
	vertical-align: top;
}

#setting_title {
	display: block;
	width: 300px;
	height: 40px;
	text-align: center;
	line-height: 25px;
	margin: 10px auto 5px auto;
	font-size: 2.0em;
}

#setting_button {
	display: inline-block;
	background-repeat: repeat-x;
	background-image:  url('../images/settings_button.png');
	width: 250px;
	padding-top:10px;
	height: 40px;
	line-height: 20px;
	vertical-align: middle;
	text-align: center;
	font-size: 1.2em;
	margin: 5px auto 5px auto;
	border: 1px solid #F0F0F0;
}

#general_button {
	color: #F0F0F0;
	display: block;
	background-repeat: repeat-x;
	background-image:  url('../images/settings_button.png');
	width: 140px;
	padding-top:10px;
	height: 40px;
	line-height: 20px;
	vertical-align: middle;
	text-align: center;
	margin: 5px auto 5px auto;
	font-size: 1.2em;
	border: 1px solid #F0F0F0;
}

.alarm_button {
	color: #F0F0F0;
	display: block;
	background-repeat: repeat-x;
	background-image: url('../images/settings_button.png');
	width: 60px;
	padding-top:10px;
	height: 40px;
	line-height: 20px;
	text-align: center;
	vertical-align: middle;
	font-size: 1.2em;
	border: 1px solid #F0F0F0;
}

#submit_button {
	color: #F0F0F0;
	display: block;
	background-repeat: repeat-x;
	background-image:  url('../images/settings_button.png');
	width: 140px;
	padding-top:10px;
	height: 40px;
	line-height: 20px;
	vertical-align: middle;
	text-align: center;
	margin: 20px auto 10px auto;
	font-size: 1.2em;
	border: 1px solid #F0F0F0;
}

#setting_item {
	display: block;
	text-align: left;
	margin: 4px auto 4px auto;
	font-size: 1.4em;
}

#setting_subitem {
	display: inline-block;
	text-align: left;
	margin-left: 4px;
	margin-top: 2px;
	margin-bottom: 2px;
	font-size: 0.8em;
}

#setting_text {
	font-size: 1.2em;
	text-align: center;
}

.setting_input {
	display: inline-block;
	color: #000000;
	font-size: 1.4em;
}

#setting_block {	
	display: block;
	margin-top: 4px;
	margin-bottom: 4px;
}

#setting_block_back_1 {
	background: #104030;
}

#setting_block_back_2 {
	background: #103040;
}

#setting_block_content {
	margin-bottom: 4px;
	padding: 4px;
}

.txtblok {
	background: #000000;
	color: #ffffff;
	display: block;
	margin: 2px;
	text-align: left;
	font-size: 100%;
}

#errorline {	
	display: block;
	margin: 4px 4px 4px 4px;
	padding: 0px 2px 0px 2px;
	text-align: center;
	font-size: 100%;
}

.info {
	color: #ffffff; 	
	display: block;
	margin: 0px;
	text-align: center;
	text-decoration: none;
	font-size: 110%;
	font-weight: bold;
}

#menuHolder {
	align: center;
}

.celImage {
	vertical-align: middle;
	display: block;
	margin-left: auto;
    margin-right: auto;
	width: 64px;
	height: 64px;
}

.alarmList {
	color: #ffffff;
	text-decoration: none;
	list-style: none; 
	list-style-type: none;
}

.smsList {
	color: #ffffff;
	text-decoration: none;
	list-style: none; 
	list-style-type: none;
}

.smsinfo {
	color: #ffffff; 	
	display: block;
	margin: 0px;
	text-decoration: none;
	font-size: 1.1em;
}

.fancy_button {
	font-weight: 600;
	text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}
