/* ---------------------------------------------------

	    Conduct web version primary css file
	      Developed by Matatiro Solutions
	        www.matatirosolutions.co.uk
	
	                2 July 2007

	 This file is copyright 3 Sqaure Associates
        No part of the file may be used or 
       reproduced without the express written 
         permission of 3 Sqaure Associates
	         www.3squareassociates.com
	
   ---------------------------------------------------- */ 	

/* --------- primary classes for screen layout -------- */
body {
  margin: 0 auto;
  padding: 0;
  font: 11px Verdana,Tahoma,Arial,sans-serif;
  background: #f4f4f4 url(../graphics/bg.gif) top center repeat-y;
}

#wrap {
  background: #ffffff;
  color: #303030;
  margin: 0 auto;
  width: 760px;
}

#mainPage {
  margin-top: 15px;
  }
  
img {
  border: none;
}

.clear {
  clear:both;
  border-top: 1px solid #F7F7F7;
}

.clearAbove {
  clear:both;
  margin: -20px 0px 0px 0px;
  padding: 0px;
}

.pFirst {
  margin: 0px;
}

.pCenter {
  text-align: center;
}

.pRight {
  text-align: right;
}

.pBorder {
  margin-top: 5px;
  border-top: 1px solid #999999;
  padding-top: 4px;
}

.pTitle {
  font-weight: bold;
  color: #dd0000;
  margin-top: 0px;
  padding: 10px;
  float: left;
  margin-bottom: 0px;
}

.grey {
  color:#CCCCCC;
}

.floatRight {
  float:right;
  margin: 6px 10px 3px 0px;
}

.floatRight a, .floatRight a:visited,
#recordNavigation a, #recordNavigation a:visited {
  text-decoration: none;
  color: #256091;
  font-weight: bold;
}

.floatRight a:hover,
#recordNavigation a:hover {
  background:#d3dfe9;
}

.pFloatLeft {
  float: left;
  margin: 10px 0px 3px 10px;
}

.error {
  color:#FF0000;
  margin-left: 10px;
  font-weight:bold;
}

.message {
  color:#00CC33;
  margin-left: 10px;
  font-weight:bold;
}

.hint {
  color:#FF9933;
  margin-left: 10px;
  font-weight:bold;
}

table.login{
  border: 0px;
  padding: 0px;
  margin-left: auto;
  margin-right: auto;
  width: 220px;
}

.login th {
  background-color:#CCCCCC;
  padding: 4px;
}

.login td {
  background-color:#eeeeee;
  padding: 6px;
  width: 110px;
  margin: 0px;
}

#leftColumn {
  float: left;
  width: 500px;
}

#loginArea {
  float: right;
  width: 220px;
  border: 1px solid #666666;
  padding: 10px;
  background: #eeeeee;
}

#loginArea label {
  width: 65px;
  text-align: right;
  display: block;
  float: left;
  padding: 3px 3px 0px 0px;
}

#loginArea input {
  width: 140px;
}

#loginArea p {
  margin: 0px 0px 2px 0px;
}

.pForm{
  border: 1px solid #666666;
  padding: 10px;
  background: #eeeeee;
  margin-top: 30px;
}


/* ------------- Student data classes ----------------- */

#studentSummary {
  height: 190px;
  float: left;
  width: 350px;
  }

#studentSummaryWide {
  height: 80px;
  float:left;
  width: 750px;
  margin: 0px;
}

#studentListSummary {
  height: 80px;
}

#studentSummaryData {
  margin-left: 20px;
  width: 200px;
  border: 1px solid #666666;
  float: left;
}

#studentSummaryData p {
  margin: 0px;
  padding: 4px;
  border: none;
}

#studentSummaryData .pBorder {
  border-bottom: 1px solid #666666;
  }

#studentSummaryImage {
  float: left;
  border: 1px solid #666666;
  border-left: none;
  height: 87px;
}

#studentSummaryImage img {
  height: 87px;
}

#studentData {
  border: 1px solid #666666;
  margin: 20px;
}

#studentData {
  height: 370px;
}

#studentContacts {
  height: 370px;
  margin-top: 0px;
  width: 385px;
  float: right;
}



#studentContactsList,
#studentConductList,
#studentSMSList,
#studentEmailList,
#studentLetterList,
#studentList,
#conductList {
  overflow-y: scroll;
  overflow-x: none;
  border: 1px solid #666666;
}

#conductSearch {
  border: 1px solid #666666;
}

#studentContactsList,
#studentConductList,
#studentSMSList,
#studentEmailList,
#studentLetterList,
#conductList,
#conductSearch {
  margin: 10px;
}

#studentContactsList {
  height: 300px;
}

#studentList {
  height: 850px;
  margin: 0px;
}

#studentListHeader a, #studentListHeader a:visited {
  text-decoration: none;
  color: #256091;
}

#studentListHeader th {
  vertical-align: top;
}

#studentContactsList input,
#studentContactsList select {
  width: 120px;
  border: 1px solid #ebf2bc;
} 

.bottomBorder {
  border-bottom: 1px double #666666;
  font-size:1px;
  margin-bottom: 2px;
}

#studentDataDetails {
  width: 325px;
  float: left; 
}

#studentDataSearchDetails {
  width: 700px;
  float: left;
}

#studentDataImage {
  float:right;
}

#studentDataImage .studentImage {
  margin: 40px 20px 0px 0px;
  width: 290px;
}

#studentDataImage .noImage {
  margin: 60px 20px 0px 0px;
  width: 290px;
  text-align:center;
}


#recordNavigation {
  margin: 40px 0px 0px 20px;
}

#recordCount {
  width: 150px;
  float: left;
}

#recordControl {
  float:right;
  text-align: right;
  margin-right: 42px;
}

#returnToResults {
  position: absolute;
  float: right;
  text-align: right;
  margin-right: 42px;
  border: 1px solid #CCCCCC;
  width: 250px;
  height: 150px;
}

#thumbnailGraph {
  float:right;
  width: 400px;
  height: 205px;
  margin-top: -3px;
}
/* ---------------  Student conduct  ------------------- */

#studentConduct,
#studentSMS {
  border: 1px solid #666666;
  height: 500px;
  margin: 20px;
}

#studentConductList,
#studentSMSList,
#studentEmailList,
#studentLetterList {
  height: 444px;
  margin-top: 0px;
}

#conductList {
  height: 435px;
  margin-top: 0px;
}

#conductSearch {
  height: 190px;
  margin-top: 0px;
  padding: 10px;
}

#studentConductList textarea,
#studentSMSList textarea,
#studentEmailList textarea,
#studentLetterList textarea,
#conductList textarea,
#conductSearch textarea {
  border: 1px solid #ebf2bc;
  font: 11px Verdana,Tahoma,Arial,sans-serif;
  margin-top: 0px;
  overflow-y: scroll;  
}

#studentConductList textarea,
#conductList textarea,
#conductSearch textarea {
  width: 470px;
  height: 40px;
}

#studentConductList .largeTextarea {
  width: 650px;
  height: 400px;
} 

#studentSMSList textarea {
  width: 475px;
  height: 80px;
}

#studentEmailList textarea {
  width: 400px; /* 350px*/
  height: 80px;
}

#studentLetterList textarea {
  width: 520px;
  height: 80px;
}

#studentConductList input,
#studentConductList select,
#conductList input,
#conductList select,
#conductSearch input,
#conductSearch select {
  width: 180px;
  border: 1px solid #ebf2bc;
  font: 11px Verdana,Tahoma,Arial,sans-serif;
} 

#studentSMSList input,
#studentSMSList input .narrow,
#studentEmailList input,
#studentEmailList input .narrow,
#studentLetterList input,
#studentLetterList input .narrow,
.login input {
  border: 1px solid #ebf2bc;
  font: 11px Verdana,Tahoma,Arial,sans-serif;
}

#studentSMSList input,
#studentEmailList input,
#studentLetterList input {
  width: 220px;
}

#studentSMSList input .narrow,
#studentEmailList input .narrow,
#studentLetterList input .narrow {
  width: 120px;
} 

#newConduct,
#newContact {
  display: none;
}

.attachmentList {
  border: 1px solid #ebf2bc;
  vertical-align: top;
}

.attachmentList a {
  margin-top: 5px;
  padding-top: 5px;
  color: #dd0000;
  
}

.formFieldset .oddRow {
  border-bottom: 1px solid #ebf2bc;
}

#message,
.message {
  z-index: 205;
  background-color:#FFFFFF;
  border: 1px solid #999999;
  width: 350px;
  padding: 0px;
  display: none;
  position:absolute;
  top:0px;
  left:0px;
}

#messageHeader,
.messageHeader {
  background:#000099;
  color:#FFFFFF;
  margin:0px;
}

#messageHeader h2,
.messageHeader h2 {
  float: left;
  color: #FFFFFF;
  margin-left: 10px;
}

#messageHeader a,
.messageHeader a {
  color:#FFFFFF;
  text-decoration: none;
  padding-top: 10px;
  font-size:10px;
}

#messageHeader a:hover,
.messageHeader a:hover {
  text-decoration: underline;
  background:none;
}

#messageContent,
.messageContent {
  margin: 10px;
  line-height: 1.5em;
}

#messageContent label,
.messageContent label {
  width: 130px;
  text-align: right;
  padding: 5px;
  display: inline;
  float: left;
}

#messageContent input,
#messageContent select,
.messageContent input,
.messageContent select {
  width: 220px;
}

#newConductType,
#newActionTaken,
#newPointsValue,
#largeImage {
  z-index: 206;
  background-color:#FFFFFF;
  border: 1px solid #999999;
  width: 400px;
  padding: 0px;
  display: none;
  position:absolute;
  top:0px;
  left:0px;
}

#newConductType {
  height: 260px;
}

#newActionTaken,
#newPointsValue {
  height: 140px;
}

#largeImage {
  background-color:#666666;
  padding: 20px;
}

#largeImage a {
  color:#FFFFFF;
  font-size: 14px;
}

#enlargeImage {
  z-index: 50;
  position:absolute;
  margin-top: -24px;
}

#changeImage {
  z-index: 50;
  position:absolute;
  margin: -24px 0px 0px 24px;
}

#enlargeImage img,
#changeImage img {
  width: 22px;
  height: 22px;
  border: 1px solid #CCCCCC;
}

.conductTableBottom {
  border-bottom: 1px solid #ebf2bc;
}

.conductTable td,
.conductTable th {
  width: 90px;
}

#conductArea .conductTable th {
  text-align: center;
}

.conductTable .narrow {
  width: 22px;
}

.conductTable .medium {
  width: 60px;
}

.conductTable .mediumWide {
  width: 100px;
}

.conductTable .wide {
  width: 135px;
}

.conductTable .extraWide {
  width: 180px;
}


/* -------------  Form layout classes  ----------------- */

.formFieldset {
	font-size: 11px;
}

.formFieldset p {
	margin: 0px 8px 0px 8px;
	padding: 3px 3px 3px 3px;
	clear: right;
}

.formFieldset label {
	margin: -2px 3px 0 3px;
	padding: 8px 5px 5px 0px;
	display: inline;
	float: left;
	text-align: right;
	width: 150px;
}

.formFieldset .formButton, .formbutton, .formButton {
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  border-top: none;
  border-bottom: 1px solid #cccccc;
  background-image:url(../graphics/navbg.jpg);
  background-repeat:repeat-x;
  height: 22px;
  width: 120px;
  margin: 0;
  padding: 0px;
  color: #256091;
  font-size:12px;
  font-weight:bold;
}

.formFieldset input, .formFieldset select{
  border: 1px solid #ebf2bc;
  width: 220px;
  margin: 3px 20px 0 0;
	
}

input, select {
  border: 1px solid #ebf2bc;
}
.inputCheckbox {
  width: 10px;
}

.formFieldset .inputLeft {
  text-align: left;
}

.formFieldset .narrow {
  width: 120px;
  margin-right:0px;
  }

.formFieldset .medium {
  width: 105px;
  margin-right:0px;
}

.formFieldset .extraNarrow {
  width: 80px;
  margin-right:0px;
}

.formFieldset .superNarrow {
  width: 60px;
  margin-right:0px;
}

.formFieldset .extraSuperNarrow {
  width: 30px;
  margin-right:0px;
}

.formFieldset .studentDetails {
  width: 155px;
}

.formFieldset .studentDetailsHidden {
  width: 160px;
  border: none;
}

.formFieldset .checkBox {
  width: 15px;
}

.formFieldset .required {
  border: 1px solid #ebf2bc;
  background: url(../graphics/formRequired.gif) no-repeat top right #fff;
}

.formFieldset .narrowRequired {
  border: 1px solid #ebf2bc;
  background: url(../graphics/formRequired.gif) no-repeat top right #fff;
  width: 120px;

}

.formFieldset .small-width {
	width: 60px;
}

.formFieldset .medium-width {
	width: 90px;
}

.formFieldset .large-width {
	width: 250px;
}

.formFieldset .contacts {
	width: 250px;
}

.formFieldset .nowrap {
	margin: 3px;
	display: inline;
}

.formFieldset textarea {
	border: 1px solid #361E7C;
}

.narrowButton {
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  border-top: none;
  border-bottom: 1px solid #cccccc;
  background-image:url(../graphics/navbg.jpg);
  background-repeat:repeat-x;
  height: 22px;
  width: 80px;
  margin: 0;
  padding: 0px;
  color: #256091;
  font-size:12px;
  font-weight:bold;
}

/* ------------------- Admin classes ------------------- */

h2 {
  font-size: 13px;
  font-weight: bold;
  text-decoration: none; 
  height: 21px;
  color: #256091; 
}

#conductArea h2,
#logArea h2 {
  float:left;
  margin: 5px 0px 5px 12px;
}

#conductArea th {
  text-align:left;
}

#adminSummary {
  height: 80px;
}

.valueListEditing {
  margin: 5px;
}

.valueListEditing select {
  width:150px;
}

.valueListEditing .narrow  {
  width:50px;
}

a, a:visited {
  text-decoration: none;
  color: #256091;
}

a:hover {
  text-decoration:underline;
}


#itemX {
  border:1px solid red;
  color:#009900;
}

.hiddenFieldRight {
  border: none;
  text-align:right;
  width: 250px;
}

.systemParamField {
  width: 250px;
}

/* ------------- Chart related classes ----------------- */

#chart{
  width: 580px;
  float: left;
}

#chartMenu {
  float: left;
  width: 160px;
  margin-left:10px;
  margin-top: 3px;
  border: 1px solid #666666;
  padding: 4px;
  height: 500px;
}

.chartSelect {
  margin-top: 4px;
  width: 60px;
  }
  
.chartSelectWide {
  margin-top: 4px;
  width: 150px;
  }

#chartViews {
  border-top: 1px solid #666666;
}

#chartViews ul, 
#chartViews li {
  padding: 0px 0px 5px 5px;
  list-style-type:none;
}


/* ----------- Letter editing ---------- */

#letterContentArea {
  width: 540px;
  float:left;
}

#letterButtons {
  width: 200px;
  float: right;
  margin-top: 75px;
}

#letterButtons .insertText {
  width: 140px;
  margin-left: 20px;
}

#letterContentArea label {
  display:block;
  font-weight: bold;
  margin: 0px 10px 10px 0px;
}

#letterContentArea textarea {
  border: 1px solid #ebf2bc;
  font: 11px Verdana,Tahoma,Arial,sans-serif;
  width: 540px;
  height: 400px;
  overflow: auto;
}

#letterContentArea .letterName {
  width: 540px;
  }

#printButtons {
  position: absolute;
  z-index:30;
  margin-left: 620px;
  border: 1px solid #CCCCCC;
  padding: 10px;
}

#printTable td {
  padding-right: 5px;
}

.conductType {
  position:absolute;
  background:#FFFFFF;
  z-index:25;
  margin-top:-8px;
}

.conductSelector {
  position:absolute;
  z-index:20;
  margin-top:-8px;
}

.tinyText {
  font-size: 9px;
}

#tutorAccessPassword {
  padding:6px 0px 6px 0px;
  display:block;
}


/* --------- school list stuff --------- */

#schoolList {
  margin: 0px 105px;
  width: 547px;
  border: 1px solid #666666;
}

#schoolList .school {
  width: 204px;
}

#schoolList .postcode {
  width: 60px;
}

#schoolList .estNum {
  width: 104px;
}

#schoolList .eaNum {
  width: 80px;
}

#schoolListHeaderTop {
  height: 43px;
}

#schoolListHeader {
  height: 15px;
  background: url(../graphics/schoolListHeaderBottom.gif) repeat-Y top left;
}

#schoolListHeader table {
  margin-top: -6px;
}

#schoolListHeader th {
  font-size: 10px;
  font-weight: normal;
  color:#CC3333;
  text-align: left;
}

#schoolListContent {
  background: url(../graphics/schoolListBackground.gif) repeat-y top left;
  max-height: 500px;
  overflow: auto;
}

#schoolList table {
  margin-left: 60px;
}

#schoolListContent td {
  font-size: 10px;
}

#schoolListFooter {
  height: 34px;
  background: url(../graphics/schoolListFooter.gif) no-repeat top left;
}


/* --------- Masking functions --------- */
  
#maskOverlay {
  position: absolute;
  z-index: 200;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  min-height: 100%;
  background-color: #000;
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
  display: none;
}

#maskLoad{
  position: absolute;
  display: none;
  height: 100px;
  width: 100px;
  z-index: 201;
}