/* Start of CMSMS style sheet 'Page Stylesheet' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

 html, body{height:100%;}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family:Verdana, Arial, Helvetica, sans-serif;
   font-size: 70%;
   line-height: 1.8em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #2E5F8F; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #2E5F8F;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   color: #003366;
}

/*****************
basic layout 
*****************/
body {
background-color:#850922;
background-image: url(graphics/bkg.gif);
background-position: top;
background-repeat: repeat-y;
   color: #333;
   margin:0px;    /* gives some air for the pagewrapper */
}


/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   max-width: 771px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 771px;
   background-color: #fff;
   color: #000;
position: relative;
min-height:100%;
height:auto;
}
* html #pagewrapper{height:100%;}/* page height for ie6 and under*/

div#sidelines {
   float: left;
   border-left: 11px solid #dae6bd;
   border-right: 1px solid #fed688;
   border-bottom: 0px;
   border-top: 0px;
   margin: 0 auto;       /* this centers wrapper */
   width: 14px; 
   height:100%;
   background-color: #fff;
}
div#translator {
   padding: 40px 0px 20px 15px;
   margin: 0;
}

/*** header ***


we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 64px; /* adjust according your image size */
   background: #FFFFFF;           
padding:10px 8px 30px 20px;
}

div#header h1 a {
/* you can set your own image here */
   background: #FFFFFF url(graphics/sacred-heart-parish-school.gif) no-repeat 0 8px; 
   display: block; 
width:429px;
   height: 60px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

/* position for the search box */
div#search {
   width: 27em;    /* enough width for the search input box */
   text-align: right;
   padding: 13px 15px 15px 0;
   margin: 0 0px;
position: absolute;
top:0px;
right:0px;
z-index:1;
}


div#announcements {
   width: 27em;    /* enough width for the search input box */
   text-align: right;
   padding: 15px 15px 15px 0;
   margin: 0 0px;
position: absolute;
top:30px;
right:0px;
z-index:1;
}

/* TOP LINKS start */
div#toplinks{
color:#999999;
margin: 15px 26px;
border:none;
position: absolute;
z-index:1;
top:80px;
right:0px;
}

div#toplinks a,
div#toplinks a:link 
div#toplinks a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #2E5F8F; 
}

div#toplinks a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #2E5F8F;                /* a different color can be used for visited links */
}

div#toplinks a:hover {
   text-decoration: underline;
   color: #003366;
}

/* TOP LINKS end */


/*** start  Home Page Images ***/
#homeimage {
  position: relative; 
  width: 237px; 
  height: 172px;
} 

#homeimage-school-trans {
  position: absolute; 
  bottom: 0px; 
  left: 0px; 
  height: 21px; 
  width: 237px; 
  background-image: url('graphics/transparency-school.png');
z-index:1;
} 


#homeimage-students-trans {
  position: absolute; 
  bottom: 0px; 
  left: 0px; 
  height: 21px; 
  width: 237px; 
  background-image: url('graphics/transparency-students.png');
z-index:1;
} 

#homeimage-families-trans {
  position: absolute; 
  bottom: 0px; 
  left: 0px; 
  height: 21px; 
  width: 237px; 
  background-image: url('graphics/transparency-families.png');
z-index:1;
} 
/*** end Home Page Images ***/

/*** start  Page Image ***/
#pageimage {
  position: relative; 
  padding: 0px 22px;
  width: 727px; 
  height: 172px;
 clear: both; 
} 
#pageimage-text {
  position: absolute; 
  bottom: 0; 
  left: 0;
  height: 162px; 
  width: 240px;
z-index:2; 
} 

      #pageimage-text h1 {
        margin: 0;
        padding: 0;
        line-height: 125%;
        padding: 25px 0px 0px 35px;
        font-weight: normal;
        font-size: 20px;
        font-family: Georgia, "Times New Roman", Times, serif; 
        color: #FFFFFF;
      } 


#pageimage-school {
background:#AF0123;
width:727px;
height:10px;
}
#pageimage-school-trans {
  position: absolute; 
  top: 10px; 
  left: 184px; 
  height: 162px; 
  width: 74px; 
  background-image: url('graphics/transparency-school.png');
z-index:1;
} 

#pageimage-students {
background:#4279A5;
width:727px;
height:10px;
}
#pageimage-students-trans {
  position: absolute; 
  top: 10px; 
  left: 184px; 
  height: 162px; 
  width: 74px; 
  background-image: url('graphics/transparency-students.png');
z-index:1;
} 

#pageimage-families {
background:#577D18;
width:727px;
height:10px;
}
#pageimage-families-trans {
  position: absolute; 
  top: 10px; 
  left: 184px; 
  height: 162px; 
  width: 74px; 
  background-image: url('graphics/transparency-families.png');
z-index:1;
} 



/***  end Page Image *** /



div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

 div#content {

padding: 10px;
min-height:450px;
margin-bottom:4em;
background-color: #FFFFF;
}


div#main {
   margin-left: 250px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 13px; /* and some air on the right */
padding:0px;
}


div#mainhome {
   margin:0px 25px;

}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 26%;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
   padding-top:0.5em;
}

div#homesub {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 727px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   padding: 0;
   margin:0.5em 22px;
}

div#homesubnav {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 237px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   padding: 0;
   margin-right:8px;
}

div#footcolor {
   clear: both;       /* keep footer below content and menu */
   background-color: #CA0028; /* same bg color as in header */
height: 6px;
width:100%;
}


div#footer {
position: absolute;
left: 210px;
bottom: 0px;
   clear: both;       /* keep footer below content and menu */
   color: #999;
background-color: transparent;
align:bottom;
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align:center;  /* centered text */
   margin: 0;
}

div#footer p a 
   color: #999; /* needed becouse footer link would be same color as background otherwise */
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/


/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
 font-family: Georgia, "Times New Roman", Times, serif; 

}
div#content h2 {
	color: #AF0123; 
	font-size: 1.8em;
 font-weight: bold;
	text-align: left; 
	padding: 10px 0px 1px 0px;
border-left: 0px;
	border-bottom: 1px solid #AF0123; 
        line-height: 1.5em;
    margin: 0 0 0.5em 0;
 font-family: Georgia, "Times New Roman", Times, serif; 

}
div#content h3 {
   color: #AF0123; 
font-weight:bold;
   font-size: 1.4em;
text-align: left; 	
padding: 10px 0px 1px 0px;
border-left: 0px;
border-bottom: 1px solid #AF0123; 
        line-height: 1.5em;
        margin: 0.5em 0 0.5em 0;
 font-family: Georgia, "Times New Roman", Times, serif; 
}
div#content h4 {
   color: #AF0123; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 1.5em 0 0 0;
padding:0px;
/* text-transform:uppercase;*/
font-family: Georgia, "Times New Roman", Times, serif; 
}

/* END HEADINGS */

/* TEXT */
div#content tr, div#content td {
 font-size: 1em;
}



blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
p {
   font-size: 1em;
   margin: 0.5em 0 1.5em 0; /* some air around p elements */
   line-height: 1.8em;
   padding: 0;
   
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li,
div#mainhome ul li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
border-bottom: 1px solid #c0c0c0;
  
}


/* END LISTS */

/* ASK THE EXPERTS contact form */
.contactform fieldset {padding: .5em;} 
.contactform fieldset legend {font-weight: bold;} 
.contactform div label {float: left;  width: 15em; height:2em; width:100%; padding: 1em 0 0.25em 0; display: block; font-weight: bold;}
.contactform div input {display: block; width: 50%; text-align:top left; float: left;}
.dotted-border {border: 1px dotted #F60; padding: 0.5em}



/* TABLE */

div#content table#lined td { border: 1px solid #CCC; }

div#content table#none, div#content table#none td, div#content .contactform td { border: none; }

/* HOME text*/

#hometext p {
   font-size: 0.9em;
   margin: 0.5em 0 0.75em 0; /* some air around p elements */
   line-height: 140%;
   padding: 0;
   
}

div#mainhome h4 {
   color: #AF0123; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin-top: 0.75em;
padding:0px;
/* text-transform:uppercase;*/
font-family: Georgia, "Times New Roman", Times, serif; 
}

dfn {
      display: none !important;
}

#applications {
   width: 27em;    /* enough width for the search input box */
   margin: 0 0px;
position: absolute;
top:75px;
left:40px;
z-index:1;
}
/* End of 'Page Stylesheet' */

