/* Start of CMSMS style sheet 'NAAC Layout 1 column + menu' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td {
margin:0px;
padding:0px;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 95%;
   line-height: 120%;
}

/*
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 no underline and bluish color */
a,
a:link 
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: #18507C; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #18507C;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #C3D4DF;
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   background-color: #101a63;
   margin-top: 10px;   
   margin-bottom: 10px;
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0px solid black;
   margin: 0 auto;       /* this centers wrapper */
   max-width: 800px;   /* IE wont understand these, so we will use javascript magick */
   min-width: 800px;
   background: #5394c2 url(uploads/images/left-bottom.gif) no-repeat bottom left;
 
}


/*** 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: 163px;    /* adjust according your image size */
   background: #101a63 url(uploads/images/naac-mast2rounded.gif) no-repeat 0px 0px;
border-bottom: 0px solid #FFFFFF;
margin-bottom: 00px;

}


div#sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 151px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #5394c2 url(uploads/images/left-top.gif) no-repeat top left;
 /* the background color will be displayed for the length of the content in the column, but no further */
       	padding: 20px 0px 0px 0px;
}

div#sidebar2 { 
	margin: 0 0 0 171px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
     background: #5394c2 url(uploads/images/right-top.gif) no-repeat top right;
	padding: 20px 0 0 0px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
      
}


div#main {
   margin-left: 0px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   padding-left: 20px;
   padding-top: 20px;
   padding-right: 20px;
   margin-top: 0px;
   margin-right: 15px; /* and some air on the right */
   background: #FFFFFF;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 135px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
   background: #ffffff;
}

div#emailsignup {
    padding-top: 15px;
    margin-left: 16px;
}


div#donatebox {
   padding-topo: 15px;
   margin-left: 16px;
   color: #fff;
}

div #donatebox p {
    font-size: 75%;
    font-color: #ffffff;
}


div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #cfe05d;
   width: 629px;
   margin-left: 171px;
   background: #5394c2 url(uploads/images/right-bottom.gif) no-repeat bottom right;  
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   color: #cfe05d;
}

div#footer p a {
   color: #cfe05d; /* 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;
}


div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/

h1 {
font-family: Geneva, Arial, Helvetica, sans-serif;   
font-size: 2em; /* font size for h1 */
   line-height: 1em;
   color: #5394c2;
   margin: 0;
   padding-bottom: .25em;
border-bottom: 1px solid #5394c2; 
/* and some air under the border */
        margin: 0 0 0.5em 0;
}




div#content {
}

/* HEADINGS */
div#content h1 {
font-family: Geneva, Arial, Helvetica, sans-serif;   
font-size: 2em; /* font size for h1 */
   line-height: 1em;
   color: #101a63;
   margin: 0;
border-bottom: 1px solid #e7ab0b; 
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
h2 {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 175%;
	font-weight: bold;
	color: #101a63;
	margin-bottom: .5em;
	padding: 0px;
}

h3 {
font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 135%;
       line-height:120%;
	font-weight: bold;
	color: #101a63;   
margin-top: 0;
margin-bottom: .25em;

}
h4 {
   color: #101a63; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h5 {
   color: #101a63; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #101a63; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */


p {
   font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 90%;
	line-height: 130%;
	color: #333333;
	margin: 0 0 1em 0;
	padding: 0px;
}


.quicklinktext {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 80%;
	line-height: 120%;
	color: #000000;
	margin: 0px;
	padding: 0px;
	list-style-type: square;
}


hr {
margin-top: .5em;
margin-bottom: .5em;
color: #16285b; 
}

a:link { 
font-family: Arial, Helvetica, sans-serif; 
color: #000066; 
text-decoration: none}



blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
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: 90%;
   line-height: 130%;
color: #333333;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol 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 */
/* End of 'NAAC Layout 1 column + menu' */

