/* CLEAR DEFAULTS */
html, body, div, p, span, hr, form, ul, li, ol, dl, dt, dd, h1, h2, h3, h4, h5, fieldset, pre, textarea {
  margin: 0;
  padding: 0;
}
ul, li, dl, dt, dd {
  list-style: none;
}
img {
  border: 0;
}
img.max {
  max-width: 100%;
}

/* Form Layout */
fieldset {
  border: 1px solid #ccc;
  padding: 10px;
}
fieldset .corner {
  display: inline;
  float: right;
  margin-top: -12px;
}
ul.form {
  padding: 2px 5px 5px;
  height: 1%;
}
ul.form li {
  list-style: none;
  padding-top:3px;
  display: block;
  clear: both;
  width: 100%;
}
ul.form label {
  width: 130px;
  padding: 1px 5px 3px 0px;
  float: left;
  text-align: right;
  color: #666;
}
ul.form .checkbox input {
  margin: 6px 6px 0 135px;
}
ul.form .checkbox {
  height: auto;
}
ul.form .checkbox label {
  float: left;
  padding-top: 5px;
  text-align: left;
  width: auto;
}
ul.form .checkbox input {
  float: left;
  margin: 5px 6px 0 135px;
}
ul.form input[type="text"], ul.form input[type="password"] {
  width: 250px;
  font-size: 12px;
  margin: 0;
}              
ul.form input[type="submit"], ul.form button {
  margin: 10px 0 0 135px;
}
ul.form textarea {
  margin-bottom: -5px;
}
ul.form .radios {
  height: auto;
  margin-left: 140px;
}
ul.form .radios label {
  float: left;
  padding: 0 10px 0 0;
  text-align: left;
  width: auto;
}
ul.form .radios input {
  float: left;
  margin: 4px 6px 0;
}

              
/* REQUIRED FIELD STLES */
ul.form .required label, label.required { 
  color:#000;
}
ul.form .required label:Before, label.required:Before { 
  content: "*"
}
/* FORM NOTES */
ul.form li.note {
  font-size: 11px;
  padding: 0 0 4px 135px;
  width: auto;
}
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
img.center {
  display: block;
  margin: 0 auto;
}
.legal, fieldset .corner {
  font-size: 11px;
  color: #aaa;
}

.toolbar {
  background-color: #3a3a3c;
  color: #fff;
  font-size: 12px;
  height: 22px;
  padding: 3px 5px;
}
.toolbar span {
  margin: 2px 10px 0 10px;
  margin-right: 20px;
}

.toolbar a:link, .toolbar a:visited {
  color: #8EBC2C; 
  text-decoration: underline; 
  font-weight: normal;
}
.toolbar a:active, .toolbar a:hover {
  color: #7BBFE4; 
  text-decoration: underline; 
  font-weight: normal;
}
.fixedonbottom {
  background-color: #18181a;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;  
  clear:both;
  overflow: hidden;
  width: 100%;
}

/* Tooltips */
.hasTooltip {
  position: relative;
}
.tooltip {
  position: absolute;
  z-index: 50;
  padding: 10px;
  color: #333;
  text-align: left;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
  -moz-box-shadow: 3px 3px 5px #888;
  -moz-border-radius: 5px;
  -webkit-box-shadow: 3px 3px 5px #888;
  -webkit-border-radius: 5px;
  box-shadow: 3px 3px 5px #888;
  border-radius: 5px;  
}
.tooltip h4 { font-size: 13px; white-space: nowrap; }
.tooltip p { white-space: nowrap; }


/* Dialog Boxes */
#control_overlay {  
 background-color: #000;
}
.closeBox { 
  float: right; 
  padding: 5px; 
  cursor: pointer; 
  margin: -15px -8px 0 0;
  font-size: 10px;
}
.closeBox em { text-decoration: underline; color: #8EBC2C; font-weight: bold;}
.dialogBox {
  border: 2px solid #8EBC2C;
  box-shadow: 5px 5px 45px 2px #222;
  border-radius: 15px;
  padding: 20px;
  background-color: #fff
}
#alertBox p {
  max-width: 500px;
}
#alertBox button {
  margin: 15px 10px 0 0;
  font-size: 13px;
  float: right;
  font-weight: bold;
}
/* Used with TN.loading() js function */
.loadingShield { 
  opacity: 0.7;
  position: absolute;
  z-index: 499;
  background: #FFF url('/images/icons/loading.gif') no-repeat center center;
}
#waitBox .loading {
  background: #FFF url('/images/icons/loading_big.gif') no-repeat center center;
  height: 30px;
  margin-top: 20px;
  min-width: 30px;
}
#waitBox {
  text-align: center;
  font-weight: bold;
}

/* System Wide Message */
#system_notice {
  font-size: 11px; 
  border-bottom: 1px solid #333; 
  color: #000;
  padding: 1px 5px; 
  background-color: #F8FF2C;
  font-style: italic;
}

/**** Flash Messages ****/
.errors, .attention, .warning {
  margin: 10px auto;
  font-size: 12px;
  padding: 15px 15px 15px 40px;
  font-weight: bold;  
  clear: both;
  border-radius: 15px; 
  box-shadow: 3px 3px 10px #888;
}
.errors {
  color: #C31400;
  border: 1px solid #C31400;
  background: #FFF5F5 url('/images/icons/error.gif') no-repeat 17px 19px;
}                                      
.attention {
  color: #0F1768;
  border: 1px solid #0f1768;
  background: #F5FBFF url('/images/icons/attention.gif') no-repeat 17px 19px;
}
.warning {
  color: #000;
  border: 1px solid #fadb00; 
  background: #FFFFF0 url('/images/icons/warning.png') no-repeat 14px 17px;
}

/* Pagination */
.paginate {                             
  position: relative;
  top: 10px;
  margin: 0 0 20px;
  padding: 5px;  
  height: 17px;
  font-size: 12px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  clear: both;
}
.paginate div {                             
  position: absolute;
}

.paginate .info {
  left: 5px;
  top: 5px;
}
.paginate .controls {
  right: 0;
}
.paginate .btn, .paginate .inactive {
  padding: 1px 5px;
}
.paginate .btn {
  cursor: pointer;
  text-decoration: underline;
}
.paginate .btn:hover {
  padding: 2px 4px;
  border: 1px solid #A0A0A0;
}
.paginate span.inactive {
  color: #bbb;
}

