html,body {
  margin: 0;
  min-height:100%;
}

html {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  overflow: -moz-scrollbars-vertical;
  margin: 0;
  padding: 0;
  position: relative;
  background-color: #343536;
}

.overlay{
  position:fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  background-color: rgba(0,0,0,0.5);
  display: none;
}

body, td, th, input, textarea, select, a {
  font-size: 12px;
}

p {
  margin-top: 0px;
  margin-bottom: 20px;
}

h1, .welcome {
  color: #000080;
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: normal;
  text-shadow: 0 0 1px rgba(0, 0, 0, .01);
}

h2 {
  color: #000000;
  font-size: 16px;
  margin-top: 0px;
  margin-bottom: 5px;
}

#container {
 # width:980px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  height:100%;
  text-align: left;
  background: #fff;
  padding:0px;
  background-color: #343536;
}

#content {
  background:#fff;
  border-radius: 5px;
  padding:10px;
  min-width:1080px;
}

#footer {
  background-color:red;
  position: relative;
  clear: both;
  overflow: auto;
  padding: 10px;
  border-top: 1px solid #DBDEE1;
  border-bottom: 1px solid #DBDEE1;
  background:#58c;
  height: 40px;
  color:#fff;
  white-space:nowrap;
  margin-top: 15px;
  min-width:1080px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  margin: 5px;border-radius: 5px;
  box-shadow:2px 2px 5px #888;
}
#footer li {
  display:inline;
  margin-left:15px;
  padding:5px;
  width:60px;
}
#footer a {
  text-decoration: none;
  color: #fff;
}
#footer a:hover {
  font-weight: bold;
}


#header {
  height: 100px;
  margin-bottom: 7px;
  padding-bottom: 4px;
  position: relative;
  z-index: 99;
  min-width:1080px;
}
#header #logo {
  position: absolute;
  top: 10px;
  left: 15px;
}
#header #logo img {
  border-radius:5px;
}

#header #tel {
  position:absolute;
  right:0px;
  top:33px;
  z-index:999;
}
#header #warrant {
  position:absolute;
  top:8px;
  left:425px;
}

#header #welcome {
  position: absolute;
  top: 47px;
  right: 0px;
  z-index: 5;
  //width: 298px;
  text-align: right;
  color: #999999;
}
#header .links {
  position: absolute;
  right: 0px;
  bottom: 3px;
  font-size: 10px;
  padding-right: 10px;
}
#header .links a {
  float: left;
  display: block;
  padding: 0px 0px 0px 7px;
  color: #000080;
  text-decoration: none;
  font-size: 12px;
}
#header .links a + a {
  margin-left: 8px;
  border-left: 1px solid #CCC;
}

#menu {
  /*background:#58c;*/
  background: #000;
  height: 37px;
  margin-bottom: 15px;

  -webkit-border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -khtml-border-radius: 5px 5px 5px 5px;
  border-radius: 0px 0px 5px 5px;

  -webkit-box-shadow: 0px 2px 2px #888;
  -moz-box-shadow: 0px 2px 2px #888;
  box-shadow: 0px 2px 2px #888;

  padding: 0px 5px;
  min-width:1080px;
}
#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu > ul {
  float: left;
  border-right: 1px solid #888;
  text-shadow: 0 1px 1px black;
  z-index: 20;
}

//#menu > ul:last-child {
//    border-right: none;
//    border-left: 1px solid #888;
//    float: right;
//}
#menu > ul > li:hover {
  background: #888;
}
#menu > ul > li > a {
  font-size: 13px;
  color: #FFF;
  line-height: 14px;
  text-decoration: none;
  display: block;
  z-index: 6;
  position: relative;
  padding-top: 12px;
  padding-right: 8px;
  padding-bottom: 11px;
  padding-left: 8px;
}
#menu > ul > li > div {
  display: none;
  background: #FFFFFF;
  position: absolute;
  z-index: 5;
  padding: 5px;
  border: 1px solid #000000;
  -webkit-border-radius: 0px 0px 5px 5px;
  -moz-border-radius: 0px 0px 5px 5px;
  -khtml-border-radius: 0px 0px 5px 5px;
  border-radius: 0px 0px 5px 5px;
  background: url('/images/menu.png');
  background-color: #555;
}
#menu > ul > li:hover > div {
  display: table;
}
#menu > ul > li > div > ul {
  display: table-cell;
}
#menu > ul > li ul + ul {
  padding-left: 20px;
}

#menu > ul > li ul > li > a {
  text-decoration: none;
  padding: 4px;
  color: #FFFFFF;
  display: block;
  white-space: nowrap;
  min-width: 120px;
}
#menu > ul > li ul > li > a:hover {
  background: #000000;
}
#menu > ul > li > div > ul > li > a {
  color: #FFFFFF;
}


.center { text-align: center; }
.right { text-align: right; }
.left { text-align: left; }
.green { color: green; }
.blue { color: blue; }
.red { color: red; }



.heading {
  height: 38px;
  padding-left: 7px;
  padding-right: 7px;
  border: 1px solid #DBDBDB;
  //background: url('../image/box.png') repeat-x;
  background: #eee;
  -webkit-border-radius: 7px 7px 0px 0px;
  -moz-border-radius: 7px 7px 0px 0px;
  -khtml-border-radius: 7px 7px 0px 0px;
  border-radius: 7px 7px 0px 0px;
}
.heading .buttons {
  float: right;
  margin-top: 8px;
  margin-right:15px;
}
a.button {
  text-decoration: none;
  color: #FFF;
  display: inline-block;
  padding-left: 8px;
  padding:5px;
  margin-right: 5px;
  text-shadow: 0 1px 1px #777;
  background: blue;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
a.button:hover {
  color: #aaa;
  background: #ccc;
  color:#666;
}

.success, .warning, .attention, .information {
        padding: 10px 10px 10px 33px;
        margin-bottom: 15px;
        color: #555555;
}
.success {
        background: #EAF7D9 url('/images/success.png') 10px center no-repeat;
        border: 1px solid #BBDF8D;
}
.warning {
        background: #FFD1D1 url('/images/warning.png') 10px center no-repeat;
        border: 1px solid #F8ACAC;
}
.attention {
        background: #FFF5CC url('/images/attention.png') 10px center no-repeat;
        border: 1px solid #F2DD8C;
}
.success .close, .warning .close, .attention .close, .information .close {
        float: right;
        padding-top: 4px;
        padding-right: 4px;
        cursor: pointer;
}

#footerlinks {
  display: inline-block;
}
#footerlinks li {
  margin: 0 35px;
  padding: 0 0 8px;
  float: left;
  position: relative;
  list-style: none;
}
#footerlinks a {
  font-weight: bold;
  text-decoration: none;
  margin: 0;
  -webkit-border-radius: 1.6em;
  -moz-border-radius: 1.6em;
  text-shadow: 0 1px 1px rgba(0,0,0, .3);
}
#footerlinks li:hover > a {
  color: #444;
  text-shadow: 0 1px 0 rgba(255,255,255, 1);
}
#footerlinks:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}


.login-form, 
.create-form {
  padding:5px;
  text-align:center;
  margin:20px;
}
.login-form input,
.create-form input {
  padding:5px;
  border:1px solid #ddd;
  border-radius: 5px;
}
.login-form table,
.create-form table {
  width: 350px;
  border:1px solid #555;
  border-radius: 5px;
  background:#58c;
  color:white;
  font-family: Sans-serif;
  font-weight: bold;
  font-size:13px;
  box-shadow:2px 2px 5px #888;
  text-shadow: 1px 1px #444;
}
.login-form input[name=password],
.login-form input[name=email], 
.create-form input[name=cusername], 
.create-form input[name=crealname], 
.create-form input[name=cemail], 
.create-form input[name=cpassword],
.create-form input[name=confirm] 
{
  width:90%;
}
.login-form input[name=submit],
.create-form input[name=submit]
{
  background:green;
  color:white;
  border:1px solid green;
  padding:5px;
  border-radius: 5px;
}
.login-form input[name=submit]:hover, 
.create-form input[name=submit]:hover {
  cursor:pointer;
  background:#aaa;
  border:1px solid #aaa;
}
