body {
  padding: 0;
  margin: 0;
  background-color: #fff;
}

form {
  margin: 0; padding: 0;
}

th, td {
  font-size: 9pt;
}

div, p, li, input, select {
  font: 9pt arial, helvetica, sans-serif;
}


#leftframe {
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  width: 19%;
  height: 500px !important;  
  background: #f9f9f9;
  float: left;
  margin-right: 0px;
  overflow: auto;
}
#rightframe {
  width: 100%;
  background: #fff;
  margin-top: 0px;
  float: left;
}
#mainframe {
  border-top: 1px solid #ccc;
  background: #fff;
  padding: 10px;
  width: 720px;
}
#maincontent {
  padding: 0;
  padding-top: 7px;
  padding-left: 7px;
}
#maincontent p {
  font: 9pt arial, helvetica, sans-serif;
}
#mainheading {
  padding-left: 10px;
  width: 720px;
}
#banner {
  height: 85px;
  background: #ffffff; /*96% 2px url('hkg-logo.gif') no-repeat; */
  cursor: hand;
}
.dtree {
  padding: 3px;
}
.heading {
  background: #ccc url(bg_shade.gif); /* #B50031;*/
  color: #000;
  border-bottom: 1px solid #888;
  border-top: 1px solid #ccc;
  padding: 3px;
  font: 9pt arial, helvetica, sans-serif;
  margin: 0;
}
.checklist {
  font: 9pt arial, helvetica, sans-serif;
  margin-top: 5px;
  margin-bottom: 10px;
}
.checklist input {
  margin-bottom: 2px;
  margin-right: 4px;
}
.selectlist {
  font: 9pt arial, helvetica, sans-serif;
  margin-top: 5px;
  margin-bottom: 10px;
}
.selectlist select {
  width: 400px;
  margin-top: 5px;
  margin-bottom: 10px;
}
.textinputlist {
  font: 9pt arial, helvetica, sans-serif;
  margin-top: 5px;
  margin-bottom: 10px;
}
.textinputlist .input {
  width: 400px;
  margin-top: 5px;
  margin-bottom: 10px;
}

.actionbar {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #eee;
  padding: 4px 5px 5px 4px;
  padding-top: 10px;
  background-color: #f7f7f7;
  height: 28px;
}

.actionbar .linkbutton {
  display: float;
  float: left;
  margin-right: 5px;
}

.statusmessage {
  border: 1px dotted #cc9;
  background-color: #ffe;
  padding: 3px;
  margin-bottom: 10px;
  width: 99%;
  font: bold 11px arial, helvetica, sans-serif;
}
.statusmessage a {
  color: #ddd;
  font-weight: normal;
  text-decoration: none;
}
.linkbutton {
  background-color: #fff;
  border: 1px solid #777;
  padding-right: 2px;
  padding-top: 1px;
  padding-bottom: 1px;
  
  width: 150px;
  font: bold 11px arial, helvetica, sans-serif;
  filter: progid:DXImageTransform.Microsoft.dropShadow(Color=#dddddd,offX=2,offY=2,positive=true);
  margin-bottom: 3px;
}

.linkbutton a {
  color: #000;
  text-decoration: none;
}

.linkbutton a:hover {
}

.linkbutton img {
	border: 0px;
	vertical-align: middle;
}

body {
  padding: 0;
  margin: 0;
  background-color: #fff;
}

form {
  margin: 0; padding: 0;
}

hr {
  border: 0; border-top: 1px solid #cccccc; height: 0px; color: #cccccc;
}

#header, #subheader {
  font: bold 9pt arial, helvetica, sans-serif;
}
#header, #subheader {
	position: relative;
	min-height: 42px;
	padding: 0;
	voice-family: "\"}\"";
	voice-family: inherit;
	height: 42px;
	padding: 0;      
}
#header ul, #subheader ul {
	width: auto;
	position: absolute;
	left: 0;
	top: 0;
	margin: 0;
	width: 100%;
	padding: 3px 5px 0 3px;
	list-style: none;
	z-index: 90;
  background: url('tabsbg2.gif') repeat-x #eeeeee;
  border-top: 1px solid #999;
  border-bottom: 0; /* 1px solid #999;*/
}
#header li, #subheader li {
	float: left;
	background: transparent url("header_tab7.gif") 100% -400px no-repeat;
	padding: 0 6px 0 3px;
	margin: 0 0 0 0;
	font: bold 8pt trebuchet ms, arial;
}
#header ul a, #subheader ul a {
	float: left;
	display: block;
	padding: 4px 2px 2px 8px;
	background: transparent url("header_tab7.gif") 0% -400px no-repeat;
	font-weight: bold;
	color: #444;
	text-decoration: none;
}
#header ul li.selected a, #subheader ul li.selected a { background-position: 0% -000px; color: #59808F; }
#header ul li.selected, #subheader ul li.selected { background-position: 100% -000px; }

#header ul li:hover a, #subheader ul li:hover a { color: #59808F;}
#header ul li:hover, #subheader ul li:hover {  }

#mainwindow {
  padding-top: 5px;
}
h1 {
  font: bold 18px arial !important;
  margin-top: 0px;
  margin-bottom: 9px;
}
h2 {
  font: bold 14px arial !important;
  margin-top: 5px;
  margin-bottom: 5px;
  padding-bottom: 0px;
}

.infobar {
        width: 720px;
	border: 1px solid #000;
	padding: 2px;
	background-color: #ff9;
	margin-left: 10px;
	margin-bottom: 10px;
	font-weight: bold;
}

textarea.recipients {
  font: 9pt arial, helvetica, sans-serif;
  width: 400px;
}

.input {
  font: 9pt arial, helvetica, sans-serif;
  color: #000;
}

div, p, li, input, select {
  font: 9pt arial, helvetica, sans-serif;
}

.surveys a, #surveys a, #oldsurveys a, #failedsurveys a {
  text-decoration: none;
}
.surveys, #surveys, #oldsurveys, #scorecards, #failedsurveys {
  border: 1px solid #ddd;
  width: 720px;
}
.surveys th, #surveys th, #oldsurveys th, #scorecards th, #failedsurveys th{
  text-align: left;
  background-color: #ddd;
}
.surveys td, #surveys td, #oldsurveys td, #scorecards td, #failedsurveys td {
  padding: 4px;
  vertical-align: top;
}

.checkboxtable {
  border: 1px solid #ddd;
  padding: 5px;
}

.checkboxtable td {
  padding: 3px 3px 3px 0px;
  vertical-align: top;
/*  border: 1px solid red; */
}

.checkboxtable td input {
  margin-top: 1px;
}

.checkboxtable tr#subreports {
/*  display: none; */
}


.checkboxtable tr#subreports td {
/*  background-color: #f3f3f3; */
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}


/* Wizard stuff */

  h2 {
    font: bold 14px arial;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .wizard {
    width: 700px !important;
    width: 700px;
    height: 380px !important;
    height: 360px;
/*    height: 320px !important; */
/*    height: 300px; */
    border: 1px solid #000;
    margin-bottom: 20px;
    margin-top: 0px;
  }  
  .wizheader {
    width: 678px !important;
    width: 698px;
    height: 30px;
    padding: 10px;
    padding-top: 10px;
    padding-bottom: 0px;
    margin: 0;
    border-bottom: 1px solid #000;
    background-color: #f3f3f3;
  }
  .wizcontent {
    width: 678px !important;
    width: 698px;
    height: 280px;
    padding: 10px;
    margin: 0;
    background-color: #fff;
  }
  .wizbuttons {
    width: 678px !important;
    width: 698px;
    height: 28px !important;
    height: 30px;
    padding: 10px;
    padding-bottom: 0px;
    margin: 0;
    border-top: 1px solid #000;
    background-color: #ddd;
    text-align: right;
  }
  .wizardbutton {
    width: 100px;
  }
  .label {
  font: bold 9pt arial, helvetica, sans-serif;
    margin-bottom: 2px;
  }
  .wizard .input {
    width: 500px;
    margin-bottom: 3px;
  }
  #surv_from, #surv_to, #reminder_dates {
    width: 140px;
  }
.wizard #surveys, .wizard #oldsurveys {
  border: 1px solid #ddd;
  width: 660px;
}

.warning {
  color: #993300;
}

.yeargroup {
  background-color: #eeeeee !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
  font-weight: bold;
}

/* End wizard */

@media print {
   size: landscape;
   img { max-width: 100%; }
   #scorecardimage { width: 100%; }
   .actionbar{ display: none; }
   .label a { display: none; }
   input.input, textarea.input { border: none; }
   .inputbutton { display: none; }
   .noprint { display: none; }
   #uploadlink {display: none; }
   textarea #status { height: 3.5em; }
   #banner, #header {display: none; }
   #actionstable, #successorstable, #candidatestable { width: 100% !important; }
   .label { border-bottom: 1px solid #999; }
}


.groupheading_div, #documents, #results, .actions, .results, #reports, #externalscore_div, .indexactions, .genericactions, #label_image {
  padding: 3px;
  padding-right: 0;
  margin: 0;
  margin-top: 5px;
  border: 1px solid #ccc;
  background-color: #e7e7e7;
}
.smallbutton {
  border-left: 1px solid #ccc;
  padding: 3px;
  padding-right: 6px;
  margin: 0;
  background-color: #eee;
}
.smallbutton a {
  text-decoration: none;
  color: #000;
}
.smallbutton img {
  border: 0; 
}

#image_innerarea {
  padding: 4px;
  border: 1px solid #ccc;
  margin-top: 0;
  border-top: 0;
}

#documentlist, #resultslist, .actionlist, #reportlist, .indexactionlist, .genericactionlist {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
#documentlist td, #resultslist td, .actionlist td, #reportlist td, .indexactionlist td, .genericactionlist td {
  border-bottom: 1px solid #ccc;
}

#documentlist td.deletebtn img, #resultslist td.deletebtn img, .actionlist td.deletebtn img, .genericactionlist td.deletebtn img, .indexactionlist td.deletebtn img {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 2px;
  position: relative;
  text-align: center;
  top: 0px;
}

#genericactionstable {
  background: #fff;
}