body {
    background-color: #f1f1f1; /* default color: #f1f1f1; */
    /*background-color:#9494FF;*/  /* lighter blue */
    /*font-family: georgia,serif;*/
    font-family: Arial, Verdana, sans-serif;
    font-size:15px;
    font-weight: bold;
    /*font-family: verdana,sans-serif;*/
    /*font-family: tahoma, geneva, sans-serif*/
    /* color:#333; */
    /* color: white; */     /*#29297A;*/
    margin:0;
    padding:0;
}
 
#wrapper {
    width:960px; 
    /*background-color:pink;*/
    /*width: 100%; */
    /* background-color:#f8f8f8; */ /* default color */
    /*background-color: white; *//* white color, #FFFFFF; */
    /* margin:0 auto; */
    margin-right: 100px;
    margin-left: 120px;
    position: absolute;
    border-left:1px solid #ccc;
    border-right:1px solid #ccc;
}

#header {
    width: 100%;
    height:120px;
    background-image:url("/images/clouds_header6.jpg");
    /* background-color:#E5CAFF; */
    /* background-color:#9494FF; */ /* lighter blue */
    /* background-color:#F5EBFF; */ /* light purple color */
    margin-bottom:1px;
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
}

#nav, #footer {
    width: 100%; 
    height:40px;
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
    font-family: Arial, Verdana, sans-serif;
    font-size:15px;    
}

#nav {
	/* height:40px; */
    background-color:#29297A; /* #FFAD33; */
    padding:0px 0px 0px 0px;
    vertical-align:middle;
}

#footer {
    /* height:40px; */
    background-color:#f8f8f8; /* default color */
    padding:0px 0px 5px 0px;
    color: #29297A;
}

#footer p {
    margin-left:10px;
}

#nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#nav li {
    float: right;
}

#nav li a {
    display: block;
    color: white;
    padding: 10px 8px; /* top, right, bottom, left, 1 number for all */
    /*padding: 5px 5px;*/
    text-decoration: none;
}

#nav li a:hover {
    background-color: #DCE6F7;
}

#sidebar {
    width:160px;
    height:600px;
    float:right;
    font-family: Arial, Verdana, sans-serif;
    font-size:15px;
    /*background-color: yellow; */
    border-left: 1px solid #ccc;
}

#sidebar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    height: 100%; /* Full height */
    position:relative;  /* Make it stick, even on scroll fixed; */
    overflow: auto; /* Enable scrolling if the sidenav has too much content */
    /*border-left:1px solid #ccc; */
    /*background-color: white; */
}

#sidebar li a {
    display: block;
    color: #29297A;
    height:20px;
    padding: 5px 5px;
    /* padding: 5px 5px 5px 5px; */ /* top, right, bottom, left */
    text-decoration: none;
    /* background-color:#f1f1f1; */ /* default color */
}

#sidebar li a:hover {
    background-color:#DCE6F7;  
}

#content {
	display: block;
	background-color: white;
    /*background-color: yellow; */
    /*width:960px;*/
    width: 100%; 
    height: 700px;
    /*padding:0px;  */     /* top, right, bottom, left, 1 number for all */
    margin-top: 1px;
    /*position:absolute;*/
}

#left {
	display: block;
    /*background-color: blue; */
    /* width: 800px; */
    width: 100%;     /* changed on 4/12/2017 */
    /*height: 1200px;*/
    float:left;
}

#right {
	display: block;
    /*background-color: red; */
	width: 160px;
    /*height: 1200px;*/
    float:right;
}


#header h2 {
/*padding:5px;*/
margin-left:10px;
color:#FFAD33;
}

#header h3 {
/*padding:5px;*/
margin-left:50px;
color:#FFAD33;
}

#header p {
/*padding:5px;*/
margin-left:50px;
color: #29297A;
}


#debug {
    width:960px;
    padding:20px; 
}



#form {
  background: white;
  width: 40%;
  height: 350px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7);
  font-family: lato;
  position: relative;
  color: #333;
  border-radius: 10px;
  margin-left: 60px;
  margin-top: 40px;
}

#form header {
  height:20px;	
  background: #29297A; /* background: #FF3838; */
  padding: 20px 20px;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
}

#form label {
  display: inline-block;
  margin-left: 20px;
  margin-top: 10px;
  margin-bottom: 5px;
  position: relative;
}

#form label span {
  color: #FF3838;
  font-size: 1em;
  position: absolute;
  left: 4em;
  top: -5px;
}

#form .error span {
  color:red
  font-size: 1em;
  position: absolute;
  left: 4em;
/*width: 15px;*/
}

#form input {
  display: block;
  width: 78%;
  margin-left: 20px;  /* 20px */
  padding: 5px 10px;  /* 5px 20px */
  font-size: 1em;
  border-radius: 3px;
  outline: none;
  border: 1px solid #ccc;
}


#form input[type=submit] {
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 20px;
/*
  width: 20em;  
  height: 2em;
  left: 20px;
  left: 30%; 
  width:20%;
  border:2px solid #FFCB00; 
  padding:10px; 
  font-size:20px; */
  float: right;
  width:150px;
  background-color:#29297A;
  font-family: inherit;
  color: white;
  outline: none;
  border: none;
  padding: 5px 15px;
  font-size: 1.3em;
  font-weight: 400;
  border-radius: 3px;
  box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
} 

#form .help {
  margin-left: 20px;
  font-size: 0.8em;
  color: #777;
}


#form input[type=submit]: hover {
  background: #ff5252;
}


#profile {
	witdh: 100%; /* change on 4/12/2017 */
	/*width: 750px; */
	height: 600px;  /* 400px, 300px */ /* 400px; will show vertical scrollbar automatically */
    /*overflow: scroll; */
    /*overflow-y: scroll; */
    overflow-y: auto;
	/*height: 100%;*/
	padding:10px;
	/*border:1px dashed grey;*/
	font-size:15px;
	/*background-color:#DCE6F7;*/
	text-align: left;
	margin-top: 10px;
	margin-right: 20px;
	margin-bottom: 20px;
	margin-left: 10px;
}

#error {
    width: 800px;
    padding: 5px;
    /*border:1px solid grey;*/
    font-size:15px;
/*    background-color:red;*/
    color: #ff0000;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 3px;
/*    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4); */
}

#done {
    width: 800px;
    padding: 5px;
    /*border:1px solid grey;*/
    font-size:15px;
/*    background-color:red;*/
    color: #00ff00;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 3px;
/*    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4); */
}


#profile .error {
    width: 800px;
    padding: 5px;
    /*border:1px solid grey;*/
    font-size:15px;
/*    background-color:red;*/
    color: #ff0000;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 3px;
/*    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4); */
}

#profile .done {
    width: 800px;
    padding: 5px;
    /*border:1px solid grey;*/
    font-size:15px;
/*    background-color:red;*/
    color: #00ff00;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 3px;
/*    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4); */
}

#profile header {
    background-color: #29297A;
    padding: 10px 10px;
    color: white;
    border-radius: 3px;
    height:20px;
    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

#profile header a {
  color: white;
  /*
  font-size: 1.2em;
  font-weight: 600; */
}

#profile header a.close {
  color: white;
  font-size: 10px;
}

#profile table, td, th {
    font-family: Arial, Verdana, sans-serif;
    font-size:  15px;
	height: 20px;
    border: 1px solid #29297A;
    color: #29297A;
}

#profile table {
	/* width: 750px; */
	width: 100%; /* change on 4/12/2017 */
    border-collapse: collapse;
}

#profile td {    
    vertical-align: bottom;
}

#profile th {    
    background-color: #8db5f4; /* #3e83f2; */
}

#profile tr:hover {background-color: #f5f5f5}

#profile #details {
    text-decoration:none;  /* remove underline of the link */
	float: left;
	/* float:right; */
	padding:5px;
	background-color: #29297A;
	color: white;
	border: 1px solid gray;
	border-radius: 3px;
	box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

#profile #edit {
    text-decoration:none;  /* remove underline of the link */
    float: left;
    margin-left: 5px;
    /* float:right; */
    padding:5px;
    background-color: #29297A;
    color: white;
    border: 1px solid gray;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

#profile #passwd {
    text-decoration:none;  /* remove underline of the link */
	float: left;
	margin-left: 5px;
	/* float:right; */
	padding:5px;
	background-color: #29297A;
	color: white;
	border: 1px solid gray;
	border-radius: 3px;
	box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

#profile #usermgr, #appmgr {
    text-decoration:none;  /* remove underline of the link */
	float: left;
	margin-left: 5px;
	/* float:right; */
	padding:5px;
	background-color: #29297A;
	color: white;
	border: 1px solid gray;
	border-radius: 3px;
	box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

#profile #logout {
    text-decoration:none;  /* remove underline of the link */
	float:right;
	padding:5px;
	background-color: #29297A;
	color: white;
	/*
	font-size: 1.2em;
	font-weight: 600;
	*/
	border: 1px solid gray;
	border-radius: 3px;
	box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

#profile a {
	text-decoration: none;
}

#profile a:hover { 
    background-color: #8db5f4;
    color: light-blue;
}

#adminpage {
    witdh: 100%;  /* change on 4/12/2017 */
    /* width: 750px; */
    height: 500px;  /* 400px, 300px */ /* 400px; will show vertical scrollbar automatically */
    /*overflow: scroll; */
    /*overflow-y: scroll; */
    overflow-y: auto;
    /*height: 100%;*/
    padding:10px;
    /*border:1px dashed grey;*/
    font-size:15px;
    /*background-color:#DCE6F7;*/
    text-align: left;
    margin-top: 10px;
    margin-right: 20px;
    margin-bottom: 20px;
    margin-left: 10px;
}

#adminpage header {
  /* background: #FF3838; */
  background-color: #29297A;
  padding: 10px 10px;
  color: white;
  /*font-size: 1.2em;
  font-weight: 600;*/
  /* border-radius: 10px 10px 0 0; */
  border-radius: 3px;
  height:20px;
  box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

#adminpage header a {
  color: white;
  /*
  font-size: 1.2em;
  font-weight: 600; */
}

#adminpage header a.close {
  color: white;
  font-size: 10px;
}

#adminpage table, td, th {
    height: 20px;
    border: 1px solid black;
}

#adminpage th {
	background-color: #8db5f4; /* #3e83f2; */
}

#adminpage table {
    witdh: 100%;  /* change on 4/12/2017 */
    /* width: 750px; */
    font-family: Arial, Verdana, sans-serif;
    font-size:  10px;
    border-collapse: collapse;
}

#adminpage td {    
    vertical-align: bottom;
}

#adminpage tr:hover {background-color: #f5f5f5}


#adminpage #list {
    text-decoration:none;  /* remove underline of the link */
    float: left;
    /* float:right; */
    padding:5px;
    background-color: #29297A;
    color: white;
    border: 1px solid gray;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

#adminpage #edit {
    text-decoration:none;  /* remove underline of the link */
    float: left;
    /* float:right; */
    padding:5px;
    background-color: #29297A;
    color: white;
    border: 1px solid gray;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

#adminpage #userdetails {
    text-decoration:none;  /* remove underline of the link */
    float: left;
    /* float:right; */
    padding:5px;
    background-color: #29297A;
    color: white;
    border: 1px solid gray;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}
#adminpage #add {
    text-decoration:none;  /* remove underline of the link */
    float: left;
    /* float:right; */
    padding:5px;
    background-color: #29297A;
    color: white;
    border: 1px solid gray;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}
#adminpage #search {
    text-decoration:none;  /* remove underline of the link */
    float: left;
    /* float:right; */
    padding:5px;
    background-color: #29297A;
    color: white;
    border: 1px solid gray;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

#adminpage #logout {
    text-decoration:none;  /* remove underline of the link */
    float:right;
    padding:5px;
    background-color: #29297A;
    color: white;
    /*
    font-size: 1.2em;
    font-weight: 600;
    */
    border: 1px solid gray;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

/*
#chpwd {
  background: white;
  width: 60%;
  height: 400px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7);
  font-family: lato;
  position: relative;
  color: #333;
  border-radius: 10px;
  margin-left: 60px;
  margin-top: 40px;
}
#chpwd header {
  background: #29297A;
  padding: 20px 20px;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
  height:20px;
}
#chpwd label {
  margin-left: 20px;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 5px;
  position: relative;
}
#chpwd label span {
  color: #FF3838;
  font-size: 1em;
  position: absolute;
  left: 4em;
  top: -5px;
}

#chpwd .error span {
  color:red
  font-size: 1em;
  position: absolute;
  left: 4em;
}

#chpwd input {
  display: block;
  width: 78%;
  margin-left: 20px;  
  padding: 5px 10px;  
  font-size: 1em;
  border-radius: 3px;
  outline: none;
  border: 1px solid #ccc;
}

#chpwd .help {
  margin-left: 20px;
  font-size: 0.8em;
  color: #777;
}

#chpwd input[type=submit] {
  position: relative;
  margin-top: 20px;
  margin-bottom: 10px;
  margin-right: 20px;
  width:180px;
  float: right;
  background-color:#29297A;
  font-family: inherit;
  color: white;
  outline: none;
  border: none;
  padding: 5px 15px;
  font-size: 1.3em;
  font-weight: 400;
  border-radius: 3px;
  box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
} */

fieldset {
    width:500px;
    /* border: 1px solid #CCCCCC; */
    border: 2px groove #CCCCCC;     
    margin-left: 60px;  
    margin-top: 40px;
    /*margin:0 auto; */
    border-radius:3px;
    /*box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4); */
}

/*
fieldset { 
    display: block;
    margin-left: 2px;
    margin-right: 2px;
    padding-top: 0.35em;
    padding-bottom: 0.625em;
    padding-left: 0.75em;
    padding-right: 0.75em;
    border: 2px groove (internal value);
}
*/

legend {
    color: #29297A;
    font-size: 20px;
    /* float: left; 
    position:relative;
    left:150px;*/
}


#leg legend {
    /*color: #29297A;*/
    font-size: 20px;
    /* float: left; */
    position:relative;
    left:150px;
}

#leg {
    background-color: #29297A;
    color: white;
    height:25px;
    /*width: 100%;*/
    width:500px;
    margin-top: -6px;
    margin-bottom: 0px;
    padding-top: 0.35em;
    padding-bottom: 0.35em;
}

dl {
    float: right;
    width: 390px;
}

dt {
    width: 200px;
    color: #29297A;
    font-size: 19px;
}

dd {
    width:200px;
    float:left;
}

dd input {
    width: 200px;
    border: 2px solid #DDD;
    font-size: 15px;
    text-indent: 5px;
    height: 28px;
}

/*
.btn {
    color: white;
    background-color: #29297A;
    height: 38px;
    border: 1px solid #CCC;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
    float: right;
}
*/

#registry {
    color: white;
    background-color: #29297A;
    height: 38px;
    border: 1px solid #CCC;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
    float: right;
}

#new_user {
	width: 600px;
}

#new_user table {
    /*witdh: 60%;*/ /* change on 4/12/2017 */
    width: 600px;
    font-family: Arial, Verdana, sans-serif;
    font-size:  10px;
    border-collapse: collapse;
    margin-left: 0px;
    margin-top: 5px;
    display: inline-table;
}

#new_user table, td, th {
    border: 1px solid black;
}

#new_user button
{
  display: inline-block;
  vertical-align: bottom;
}

#new_user select {
	width: 200px;
}

#new_user input[type=text] {
	width: 120px;
}

#new_user input[type=email] {
    width: 100px;
}

#new_user th {
	text-align: center;
    background-color: #8db5f4; /* yellow;  #3e83f2; */
}

#new_user td {    
    vertical-align: bottom;
}

/* On 08/16/2017 */
#fg_pass {
  background: white;
  width: 40%;
  height: 350px; /* 480px; */
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7);
  font-family: lato;
  position: relative;
  color: #333;
  border-radius: 10px;
  margin-left: 60px;
  margin-top: 40px;
}

#fg_pass header {
  height:20px;  
  background: #29297A; /* background: #FF3838; */
  padding: 20px 20px;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
}

#fg_pass label {
  display: inline-block;
  margin-left: 20px;
  margin-top: 10px;
  margin-bottom: 5px;
  position: relative;
}

#fg_pass label span {
  font-size: 1em;
  width: 200px;
  margin-left: 5px;
/*	
  color: #FF3838;
  font-size: 1em;
  position: absolute;
  left: 4em;
  top: -5px;
  */
}

#fg_pass .error span {
  color:red
  font-size: 1em;
  position: absolute;
  left: 4em;
/*width: 15px;*/
}

#fg_pass input {
  display: block;
  width: 78%;
  margin-left: 20px;  /* 20px */
  padding: 5px 10px;  /* 5px 20px */
  font-size: 1em;
  border-radius: 3px;
  outline: none;
  border: 1px solid #ccc;
}


#fg_pass input[type=submit] {
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 40px;
  float: right;
  width:120px;
  background-color:#29297A;
  font-family: inherit;
  color: white;
  outline: none;
  border: none;
  padding: 5px 15px;
  font-size: 1.3em;
  font-weight: 400;
  border-radius: 3px;
  box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
} 

#fg_pass .help {
  margin-left: 20px;
  font-size: 0.8em;
  color: #777;
}


#fg_pass input[type=submit]: hover {
  background: #ff5252;
}

/* on 8/22/2017 */
#reset_pass {
  background: white;
  width: 40%;
  height: 350px; /* 480px; */
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7);
  font-family: lato;
  position: relative;
  color: #333;
  border-radius: 10px;
  margin-left: 60px;
  margin-top: 40px;
}

#reset_pass header {
  height:20px;  
  background: #29297A; /* background: #FF3838; */
  padding: 20px 20px;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
}

#reset_pass label {
  display: inline-block;
  margin-left: 20px;
  margin-top: 10px;
  margin-bottom: 5px;
  position: relative;
}

#reset_pass label span {
  color: #FF3838;
  font-size: 1em;
  position: absolute;
  left: 4em;
  top: -5px;
}

#reset_pass .error span {
  color:red
  font-size: 1em;
  position: absolute;
  left: 4em;
/*width: 15px;*/
}

#reset_pass input {
  display: block;
  width: 78%;
  margin-left: 20px;  /* 20px */
  padding: 5px 10px;  /* 5px 20px */
  font-size: 1em;
  border-radius: 3px;
  outline: none;
  border: 1px solid #ccc;
}


#reset_pass input[type=submit] {
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 40px;
  float: right;
  width:150px;
  background-color:#29297A;
  font-family: inherit;
  color: white;
  outline: none;
  border: none;
  padding: 5px 15px;
  font-size: 1.3em;
  font-weight: 400;
  border-radius: 3px;
  box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
} 

#reset_pass .help {
  margin-left: 20px;
  font-size: 0.8em;
  color: #777;
}


#reset_pass input[type=submit]: hover {
  background: #ff5252;
}

#set_passwd {
    width: 300px;
}

#set_passwd table {
    /*witdh: 60%;*/ /* change on 4/12/2017 */
    width: 300px;
    font-family: Arial, Verdana, sans-serif;
    font-size:  10px;
    border-collapse: collapse;
    margin-left: 0px;
    margin-top: 5px;
    display: inline-table;
}

#set_passwd table, td, th {
    border: 1px solid black;
}

#set_passwd button
{
  display: inline-block;
  vertical-align: bottom;
}

#set_passwd input[type=password] {
    width: 150px;
}

#set_passwd th {
    text-align: center;
    background-color: #8db5f4; /* yellow;  #3e83f2; */
}

#set_passwd td {    
    vertical-align: bottom;
}

#set_passwd #submit {
    text-decoration:none;  /* remove underline of the link */
    float: left;
    margin-left: 5px;
    padding:5px;
    background-color: #29297A;
    color: white;
    border: 1px solid gray;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

#set_passwd #close_pass {
    text-decoration:none;  /* remove underline of the link */
    float: left;
    margin-left: 5px;
    padding:5px;
    background-color: #29297A;
    color: white;
    border: 1px solid gray;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
}

#pass_section { 
    margin-top: 10px;
}


.message {color: #FF0000;font-weight: bold;text-align: center;width: 100%;padding: 10;}
.demo-table {background:#FFDFDF;width: 100%;border-spacing: initial;margin: 20px 0px;word-break: break-word;table-layout: auto;line-height:1.8em;color:#333;}
.demo-table td {padding: 20px 15px 10px 15px;}
.demoInputBox {padding: 7px;border: #F0F0F0 1px solid;border-radius: 4px;}
.btnRegister {padding: 10px;background-color: #09F;border: 0;color: #FFF;cursor: pointer;}


