html, body {
    height: 100%;
    margin: 0;         /* Reset default margin on the body element */
}
body {
    padding: 0;
    vertical-align: top;
    font-family: Arial,Helvetica,"Sans Serif";
    color: #3D3D3D;
    background-color: #EEEEF6;
    font-size: 10pt;
}
iframe {
    display: block;       /* iframes are inline by default */
    border: none;         /* Reset default border */
    width: 100%;
    min-height:10000px;
}
#download_csv {
    display: none;
}
.csv button {
    width: 100%;
}
.csv button img {
    height:16px;
}
input, textarea, button {
    outline: none;
    background-color: #EEEEF6;
    border-radius: 5px;
}
button, input[type=color], .user_menu div {
    cursor:  pointer;
}
a, img { 
    outline: 0; 
}
.main {
    display: none;
    width:100%;
    margin:auto;
}
.Logout {
    right: 0px;
    position: absolute;    
}
.cur_lang {
    position: fixed;
    top:50px;
    right:50px;
    border-radius:5px;
    padding:5px;
    font-size:24px;
    border:2px solid silver;
    width: 36px;
    text-align: center;
    background: linear-gradient(to top, #87878f 20%, #bebec6 80%);
}
.cur_lang:hover {
    background: linear-gradient(to bottom, #87878f 20%, #bebec6 80%);
    border: 2px solid #f4cc35;
    cursor: pointer;
}
.Login, .Pawword {
    width: 80px;
}
#user_logon_dialog table {
    width: 100%;
    margin: auto;
}
#user_logon_dialog td {
    vertical-align: middle;
    padding: 4px;
}
#user_logon_dialog input {   
    width: 200px;
}
#keyhole {
    padding:10px;
}
#keyhole div {
    width: 60px !important;
    height: 60px !important;
    overflow: hidden;
    vertical-align: middle;
    text-align: center;
    background: linear-gradient(to bottom, #87878f 20%, #bebec6 80%);
    border: 1px solid #87878f;
    border-radius: 32px;
    display: inline-block;
}
#keyhole div:hover {
    background: linear-gradient(to bottom, #c49c05 20%, #f4cc35 80%);
    cursor: pointer;
}
#keyhole img {
	margin: 7px;
	height: 46px;
}
.Login, .Password {
    text-align: right;
}
.be_careful {
    display:none;
    text-align: center;
    position: relative;
    color: darkred;
    text-shadow: none;
}

.rotate { 
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    
    -webkit-transform: rotate(30deg); 
    -moz-transform: rotate(30deg); 
    -o-transform: rotate(30deg);
    -ms-transform: rotate(30deg); 
    transform: rotate(30deg); 
}
.user_menu {
    width:100%;
    margin:auto;
    text-align:left;
    border-bottom: 1px solid #BBB;
}
.user_menu div {
    margin: 0px;
    display: inline-block;
    min-width: 160px;
    border-radius: 8px 8px 0 0;
    padding: 12px;
    border-color: silver;
    color: #111;
    text-transform: uppercase;
    background: linear-gradient(to right, #B0B0B0 15%, #EEEEF6 85%);   
}
.user_menu div.active {
    text-shadow: 0px 0px 6px #111;
    color: #FFF;
    font-weight: 700;
    background: linear-gradient(to right, #909090 15%, #EEEEF6 85%);
}
.user_menu div.active:hover {
    text-shadow: 0px 0px 10px #000;
}
.user_menu div:hover {
    text-shadow: 0px 0px 6px #FFF;
}
.page {
    width:100%;
    height:100%;
    margin-bottom: 40px;
}
.page table {
    margin: 0 auto auto;
    padding:5px;
    width: 100%;
}
.page th, .page .header {
    height:1em;
    vertical-align: middle;
    font-weight: bold;
    background: linear-gradient(to bottom, #B0B0B0 15%, #EEEEF6 85%);   
    padding: 10px;
    border: 1px solid silver;
}
.page td {
    border: 1px solid silver;
    padding: 5px;
    vertical-align: middle;
}
.page input {
    width: 3em;
}
.page input[type="text"] {
    width: 100%;
    margin: auto;
}
.access input[type="text"] {
    width: 1em;
}
.access input[type="number"] {
    width: 2em;
}
.deleted {
    background-color: lightgrey;
}
.deleted input[type="text"], .deleted span {
    background-color: lightgrey;
    text-decoration:  line-through;
}
#user_list button {
    color: #203;
    font-size:8pt;
    white-space: normal;
    text-align: center;    
    width:52px;
    height:52px;
    text-decoration: none;
    padding: 0;
}
button div {
    color: darkorange;
    font-size:10pt;    
}
.delete div {
    color: darkred;
    font-size:14pt;
}
.undelete div {
    color: darkblue;
    font-size:14pt;
}
.add div {
    color: darkgreen;
    font-size:14pt;
}
.kill div {
    color: red;
    font-size:14pt;
}
.user_list th {
}
.user_list td {
}
td.act, td.access, td.chpwd {
    height: 52px;
    width: 70px;
    text-align: center;
}
td.act {border-right:none;}
td.chpwd {border-left:none;}
.graph {
    width:100%;
}
.graph td {
    vertical-align:top;
    border:none;
    position: relative;
}
.chart {
    width:100%;
    min-height: 260px;
}
div.legend {
    position: absolute;
    top: 20px;
    left: 80px;
    border: 1px solid cornflowerblue;
    padding: 10px;
    border-radius: 5px;
    width: 100px;
    background-color: rgb(240, 240, 240, 0.6);
}
.legend span {
    display: flex;
    white-space: nowrap;
}
.GdvStatus {
    width:3em;
}
.CSV {
    width:4em;
}
.GdvSn {
    width:5em;
}
.GdvAlias {
    width:5em;
}
.GdvColor {
    width:60px;
}
.GdvVisibility {
    width:2em;
}
.GdvWSThreshold {
    width:3em;
}
th.GdvNotifyThreshold {
    padding-top: 5px;
    padding-bottom: 5px;
    background: linear-gradient(to bottom, #B0B0B0 35%, #EEEEF6 215%);
}
th.NotifyWhiteSquare, th.NotifyIntenensity {
    padding-top: 5px;
    padding-bottom: 5px;
    background: linear-gradient(to bottom, #B0B0B0 -45%, #EEEEF6 75%);
}
.status {
    margin: 0px;
    padding: 0px;
    font-size: 2em;
    text-align: center;
}
.off {
    color: lightgrey;
}
.on {
    color: limegreen;
}
.device_sn {
    text-align: center;
}
.alias input[type="text"] {
    width:5em;
}
.threshold input[type="text"] {
    width:5em;
}
.critical_white_square {
    width:3em;
}
.critical_intensity {
    width:3em;
}
._color input {
    border:0;
    padding:0;
    margin:0;
    width:100%;
}
.footer {
    display: none;
    height: 3em;
    width: 100%;
    background: linear-gradient(to top, #707070 15%, #EEEEF6 85%);
    border-radius: 0 0 8px 8px;
    position:fixed;
    bottom:0;
    z-index:-1;
}
#save_cancel {
    display:none;
    position:fixed;
    bottom:0;
    width: 100%;
    background: linear-gradient(to top, #707070 15%, #EEEEF6 85%);
    border-radius: 0 0 8px 8px;
    padding: 5px;
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
}
.unsaved_changes {
    font-size: 1.1em;
    text-shadow: 1px 1px 2px #fff;
    color: black;
}
#save_cancel button {
    margin-left:15px;
    margin-right:15px;
}
button span {
    font-size:1.5em;
}
.save span {
    color: darkgreen;
}
.cancel span {
    color: darkred;
}
#confirmation {
    position:relative;
    overflow: hidden;
    background: transparent linear-gradient(to top, rgb(135, 135, 143) 20%, rgb(190, 190, 198) 80%) repeat scroll 0% 0%;
    color: white;
    text-shadow: 1px 1px 0px rgb(51, 0, 0);
    border: 2px solid rgb(158, 158, 166);
    border-radius: 5px;
    text-align: center;
    font-size: 1.4em;
}
#confirmation div span {
    display:block;
    margin: 10px;
    font-size: 2em;
}
#confirmation input[type='button']{
    width: 52px;
    height: 52px;
}

.talks {
    position: absolute;
    top: 30%;
    bottom: 70%;
    left: 0;
    right: 0;
    height: 0;
    width: 400px;
    display: flex;
    vertical-align: middle;
    margin: auto;
    text-align: center;
}
.dialog, .fixed_dialog {
    width:100%;
    z-index:200;
    margin: auto;
    padding:12px;
    overflow: hidden;
    background: linear-gradient(to top, #87878f 20%, #bebec6 80%);
    color: white;
    text-shadow: 1px 1px 0px #300;    
    border: 2px solid #9e9ea6;
    border-radius: 5px;
}
.fixed_dialog {
    font-size: 1.2em;
}
.fixed_dialog span {
    display: inline-block;
    margin-bottom:0.9em;
}
.fixed_dialog input[type=password] {
    display: block;
    width:90%;
    margin: auto;
    margin-bottom: 1em;
}
.fixed_dialog button {
    width:40%;
    margin: 1%;
}
.fixed_dialog button span {
    display: inline;
    font-size:1.5em;
}
.fixed_dialog table {
    width:100%
}
.fixed_dialog td {
    padding: 4px;
}
.fixed_dialog table td.left{
    text-align: left;
    width:50%;
    padding-left: 15px;
}
.fixed_dialog table td.right{
    text-align: right;
    width:50%;
    padding-right: 15px;
}
.fixed_dialog td button {
    width:100%;
    margin: 1%;
}
.date {
    width:130px;
}

#cover {
    position: fixed;
    z-index:100;
    top: 0;
    left: 0;
    width:100%;
    height:1100px;
    opacity: 0.5;
    background-color: white;
}







/* checkbox*/

.checkbox {
	vertical-align: top;
	width: 17px;
	height: 17px;
	margin: 0 3px 0 0;
}
.visibility input {
	width:16px;
}
.checkbox + label {
	cursor: pointer;
}
.checkbox:not(checked) {
	position: relative;
	opacity: 0;
}
.checkbox:not(checked) + label {
	position: relative;
	padding: 0 0 0 0;
	right:22px;
}
.checkbox:not(checked) + label:before {
	content: '';
	position: absolute;
	top: -2px;
	left: 2px;
	width: 48px;
	height: 22px;
	border-radius: 11px;
	background: #CDD1DA;
	box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
}
.checkbox:not(checked) + label:after {
	content: '';
	position: absolute;
	top: -2px;
	left: 2px;
	width: 22px;
	height: 22px;
	border-radius: 11px;
	background: #EEE;
	box-shadow: 0 2px 3px rgba(0,0,0,.3);
	transition: all .1s;
}
.checkbox:checked + label:before {
	background: #EEEEF6;
}
.checkbox:checked + label:after {
	left: 28px;
}
/*
.checkbox:focus + label:before {
	box-shadow: 0 0 0 3px rgba(255,255,0,.5);
}
*/

.radio {
	vertical-align: top;
	width: 17px;
	height: 17px;
	margin: 0 3px 0 0;
}
.radio + label {
	cursor: pointer;
}
.radio:not(checked) {
	position: absolute;
	opacity: 0;
}
.radio:not(checked) + label {
	position: relative;
	padding: 0 0 0 35px;
}
.radio:not(checked) + label:before {
	content: '';
	position: absolute;
	top: -3px;
	left: 0;
	width: 22px;
	height: 22px;
	border: 1px solid #CDD1DA;
	border-radius: 50%;
	background: #FFF;
}
.radio:not(checked) + label:after {
	content: '';
	position: absolute;
	top: 1px;
	left: 4px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #EEEEF6;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
	opacity: 0;
	transition: all .2s;
}
.radio:checked + label:after {
	opacity: 1;
}
.radio:focus + label:before {
	box-shadow: 0 0 0 3px rgba(255,255,0,.5);
}

input[type='reset'] {
	padding: 12px 15px;
	border: none;
	border-radius: 5px;
	background: #CDD1DA;
	color: #FFF;
	cursor: pointer;
	font-size: 15px;
}
input[type='reset']:active {
	background: #BDC0CC;
}
input[type='reset']:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(255,255,0,.5);
}
#ui-datepicker-div ,.ui-datepicker { z-index: 99999 !important; }
