
error {
    margin:0;
    padding:0;
}

/* General Style Info */
body {
    font-family: arial,helvetica,verdana,sans-serif;
    font-size: 12px;
    color:#000;
    background: #555;
    overflow-y:scroll;
    margin: 0;
    padding: 0;
}

#school{
    position:relative;
    float:left;
    width: 100%;
    margin-bottom: 5px;
    padding: 2px 5px;
    display: block;}

#left {
    position:relative;
    float:left;
    width: 20%; 
    height:100%;
    padding: 2px 5px;
    display: block;
    z-index:1;
}

#left.hidden {
    position:relative;
    float:left;
    height:100%;
    padding: 2px 5px;
    display: none;
    z-index:1;
}

#top {  
    position:relative;
    float: left;  
    width:70%;   
    padding: 2px 5px ;
    display: block;
}

#top.wide{
    width:99%;
}

#center {     
    font-family: helvetica,verdana,sans-serif, arial;
    font-size: 12px;
    position:relative;
    float: left;
    width:70%;
    display: block;    
}

#center.wide{
    width:99%;
}

#main {      
    width:100%;
    margin-bottom: 5px;
    margin-right: 5px;
    background-color: #F0F0F0;
    padding: 15px 5px;
    display: block;
    border-radius: 10px;/*rounded corners*/    
}

#bottom {    
    font-style: italic;
    color:#555;
    width:100%;
    margin-bottom: 5px;
    margin-right: 5px;
    background-color: #F0F0F0;
    padding: 15px 5px;
    display: block;
    border-radius: 10px;/*rounded corners*/
}

/*tabbed menu*/
#tab {
    position:relative;
    left:-6;
    padding: 2px 5px 2px 2px;
    padding-top:0px;
    background-color:#555;
}

#tab a
{
    display: inline-block;
    text-decoration: none;
    color:white;
    background: #333;
    padding-top: 5px;
    padding-bottom:5px;
    padding-left:10px;
    padding-right:10px;
    text-decoration: none;
    v-align:center;
    margin-bottom:2px;
    width:92px;
}

#tab a:hover{
    background-color: #000;
}

#tab a.active{
    background-color: #25408f;
}

#menu_toggle {
    font-weight: bold;
    text-transform: uppercase;
}

/*tabbed menu end*/

/* menu */

ul#menu, ul#menu ul {
    list-style-type:none;
    margin: 0;
    padding: 0;
    
}

ul#menu a {
    display: block;
    text-decoration: none;
}

ul#menu li {
    margin: 0px;
    padding: 0 ;    
    background: #333;
    margin-bottom:2px;
}

ul#menu li a {
    background: #333;
    color: #fff;
    padding-top:5px;
    padding-bottom:5px;
    padding-left:5px;
}

ul#menu li a:hover {
    background: #000;
}

ul#menu li a#menu_current {
    background: #25408f ;
    color:white;
}

ul#menu li ul  {
    margin-top:5px;    
}

ul#menu li ul li  {
    padding:0px;    
}

ul#menu li ul li a {
    background: #ccc;
    color: #000;
    padding-left: 20px;
    padding-top:5px;
    padding-bottom:5px;
}

ul#menu li ul li a:hover {
    background: #aaa;
    border-left: 5px #000 solid;
    padding-left: 15px;
}

ul#menu li ul li a#menu_current {
    background: #25408f ;
    color:white;
    border-left: 5px #000 solid;
    padding-left: 15px;
}

/* menu end */

/* flash messages cake 2.7+ */

div.error
{
    color: #900;
}

div.success
{
     color: #008000;
}

div.message
{
position:relative;
    top:0px;
    left:-6px;
    width:100%;
    clear:both;
    background:#BFBFBF;
    text-align:center;
    padding:5px;
    margin:0;
    z-index:5;
    font-weight:bold;
}

/* end flash messages */


div#news{
    font-size:13px;
}

div.column{
    float: left;
}

div.column1 {
    float: left
}
div.column2 {
    overflow: hidden
}


#debug {
    border:solid 1px #000000;
    float:left;
    top: 5pt;
    left: 5pt;
    width: 95%;
    margin-bottom: 5px;
    background-color: #fff;
    padding: 1em;
    display: block;
}

a {
    color: black;
    text-decoration: underline;
}

a:visited {
    color: black;
}

a.button
{
    text-decoration: none;
}

a img {
    border:none;
}

#bottom img {
    border:solid 1px;
    padding: 2px;
    margin:2px;
    width:23%;
}
h1, h2, h3, h4, h5, h6 {
    padding: 5px 0px;
}

p {
    margin: 5px 0px;
}

legend {
    color:black;
}

/* Layout */
#container {
    text-align: left;
    width: 960px;
    margin: 10px auto;
    border: 1px solid black;
}

#header{
    background: #ddd;
    color: black;
    padding: 10px 20px;
}
#header h1 {
    color: black;
}
#header h1 a {
    color: black;
    font-weight: normal;
    text-decoration: none;
}
#header h1 a:hover {
    color: #fff;
    text-decoration: underline;
}
#content{
    background: #fff;
    clear: both;
    color: #333;
    padding: 10px;
    overflow: auto;
    height: 20px;
}
#footer {
    background: #ddd;
    color: black;
    clear: both;
    padding: 6px 10px;
    text-align: right;
}

/* user */
div#logo {
    margin: 0;
    width: 15em;
    /*  height: 11em; */
    background: #FFFFFF;
    padding: 1em 0 0.6em 0;
    text-align:center;

}

div#logo font {
    background: #05AA39;
    padding: 0.1em;
    margin: 0.2em 0 0.4em 0;
    text-decoration: none;
}






/* Tables */
table {
    background: #fff;
    color: #333;
    margin: 0px;
    width: 100%;
    border-collapse: collapse;
    font-size:12px;
}
th {
    border-color: #999;
    border-style: solid;
    border-width: 1px;
    text-align: center;
    color: white;
    background-color: #555;
}
th a  {
    display: block;
    padding: 2px;
    color: white;
    text-decoration: underline;
}

th a:visited {
    display: block;
    padding: 2px;
    color: white;
    text-decoration: underline;
}

th a:hover {
    background: #aaa;
    color: #333;
    text-decoration: underline;
}
table tr td {
    border: 1px solid #999;
    padding: 2px;
    vertical-align: top;
}
table tr.altrow td {
    background: #f4f4f4;
}

table.highlight tr:hover {
    background-color: lightgray;
}

table
.warninghighlight{    
    background: #F9966B;     
}  

td.actions {
    text-align: center;
    white-space: nowrap;
}
td.actions a {
    margin: 0px 6px;
}

/*these two together make sure all images have equal height with preserved aspect ratio*/
td img {    height:auto;width:40px; }
td img {    height:40px;width:auto; }
/*these two together make sure all images have equal height with preserved aspect ratio*/


td div.input {
    width:100%;
    text-align: left;
    padding:0;
}

/* only mozilla  renders readonly greyed out by default
    set to grey manually to avoid user-confusion */
div.input input[readonly=readonly] {    
    background-color: lightgrey;
    border: none;
    padding-left: 5px;

}
div.textArea textArea[readonly=readonly] {
    background-color: lightgrey;
    border: none;
    padding-left: 5px;
}

/* make readonly input controls in table look like normal text*/
td div.input input[readonly=readonly] {
    font-family: arial,helvetica,verdana,sans-serif;
    font-size:12px;
    width:auto;
    color:#333333;
    padding:0;
    background-color: white;
    text-align: left;
    vertical-align: top;
    border: none ;
    border-width: 0;
}
th div.input input[readonly=readonly] {
    font-family: arial,helvetica,verdana,sans-serif;
    font-size:12px;
    width:auto;
    color:white;
    padding:0;
    background-color: #555;
    text-align: left;
    vertical-align: top;
    border: none ;
    border-width: 0;
}

th label {
    font-family: arial,helvetica,verdana,sans-serif;
    font-size:12px;
    width:auto;
    color:white;
    padding:0;
    background-color: #555;
    text-align: left;
    vertical-align: top;
    border: none ;
    border-width: 0;
}

textarea {
    font-size:16px;
}

textarea[readonly]
{
    font-size:12px;
    border:none;
}

img.icons {
    height:auto;
    width:auto;
}

div.login {
    margin-left:20px;
    width:270px;
}

div.input label {
    display:inline-block;
    width:100px;
    text-align:right;
    white-space:nowrap;
    margin-right: 5px;
    vertical-align:top;
}

div.input input {

}

div.input fieldset {
    display:inline-block;
    padding:0 30px 0 5px;
}

div.input fieldset label {
    font-size:12px;
    font-weight:normal;
    text-align:left;
}

div.inpu fieldset legend {
    font-size:12px;
    font-weight:normal;
}

div.input fieldset input {
    margin-left:100px;
}


div.false {
    text-align:right;
    width:220px;
}


.cake-sql-log {
    width: 960px;
    margin: auto;
    font-size: smaller;
}
.cake-sql-log caption {
    color: #ccc;
}
.cake-sql-log table {
    background: #f4f4f4;
}
.cake-sql-log td {
    text-align: left;
}

/* Paging */
div.paging {
    color: #bbb;
    margin: 5px 0px;
}
div.paging div.disabled {
    color: #ccc;
    display: inline;
}
div.paging span {
}
div.paging span.current {
    color: #000;
}
div.paging span a {
}

/* Scaffold View */
dl {
    line-height: 2em;
    margin: 0em 0em;
    width: 60%;
}
dl.altrow {
    background: #f4f4f4;
}
dt {
    font-weight: bold;
    padding-left: 4px;
    vertical-align: top;
}
dd {
    margin-left: 10em;
    margin-top: -2em;
    vertical-align: top;
}

/* Forms */
form {
}
fieldset {
    white-space:normal;
    border: 1px solid #ccc;
    padding: 10px 20px 10px 10px;
}
fieldset legend {
    font-size: x-large;
}
fieldset fieldset {
    padding: 16px 10px;
}
fieldset fieldset legend {
    font-weight: normal;
}
fieldset fieldset div {
}
form div {
    padding: 5px;
    vertical-align: text-top;
}
form div.input {
    color: #444;
}

form div.submit {
    text-align: center;
}
label {
    display: block;
}
input, textarea {
    width: 250px;
    border-radius: 3px;/*rounded corners*/
    -moz-border-radius:6px;/*rounded corners */
}

td input, textarea {
    width: auto;
}

input[type=image]
{
    width:auto;
}

select {    
    vertical-align: text-bottom;
    background-color:white;
    border-radius: 3px;/*rounded corners*/
    -moz-border-radius:6px;/*rounded corners firefox*/
}
select[multiple=multiple] {
    width: auto;
}
option {
}
input[type=checkbox] {
    background: white;
    margin: 0px 6px 7px 2px;
    width: auto;
}
input[type=radio] {
    width:auto;
    margin: 0 3px 7px 0;
}
div.radio div {
    display: inline-block;
}
input[type=submit] {
    display: inline;
    width: auto;
}

/* Notices and Errors */
div#flashMessage {
    position:relative;
    top:0px;
    left:-6px;
    width:100%;
    clear:both;
    background:#BFBFBF;
    text-align:center;
    padding:5px;
    margin:0;
    z-index:5;
    font-weight:bold;
}

div#authMessage
{
    position:relative;
    top:0px;
    left:-6px;
    width:100%;
    clear:both;
    color:#fff;
    text-align:center;
    padding:5px;
    margin:0;
    z-index:5;
    background:#900;
}

div.flash-error
{
    color: #900;
}



div.error-message {
    clear: both;
    color: #900;
    font-weight: bold;
}
p.error {
    background-color: #e32;
    color: #fff;
    font-family: monospace;
    padding: 5px;
}
p.error em {
    color: #000;
    font-weight: normal;
}
.notice {
    background: #ffcc00;
    color: #000;
    display: block;
    font-family: monospace;
    padding: 5px;
}

/* Actions */
div.actions ul {
    margin: 0px 0;
    padding: 0;
}
div.actions li {
    display: inline;
    list-style-type: none;
    line-height: 2em;
    margin: 0 5px 0 0;
    white-space: nowrap;
}
div.actions ul li a {
    text-decoration: none;
}
div.actions ul li a:hover {
    text-decoration: underline;
}

/* Related */
div.related {
    clear: both;
    display: block;
}

div.picture 
{
    float: left;
}
div.picture img
{
    width: 120px;
}

div.picturesmall
{
    float: left;
}
div.picturesmall img
{
    width: 40px;
}

#fieldsetContainer
{
    display: block;
    overflow: auto;
    height:90%;
}

.autocomplete_live {
    background:#F0F0F0 none repeat scroll 0%;
    clear:both;
    cursor:pointer;
    display:block;
    margin:0px;
    padding:0px;
    z-index:9999;
}

.autocomplete_live ul {
    clear:both;
    display:block;
    list-style-type:none;
    margin:0px;
    padding:0px;
    position:absolute;
    width:100%;
}

.autocomplete_live li {
    background:#F0F0F0 none repeat scroll 0%;
    border-bottom:1px solid #C0C0C0;
    display:block;
    height:25px;
    list-style-type:none;
    margin:0px;
    padding:0px;
}