/* Start of CMSMS style sheet 'vitv_Page_Layout' */
/* Visibel Ink CSS Layout */

/*****************
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;
}


/* Repeating background */
/* Header  */

#header {
	width: 900px;
    height: 236px;
	background:url(../images/vitv/vitiv_header.jpg) no-repeat;
	padding-top: 15px;
	padding-right: 10px;
	padding-left: 10px;
}

#flash_content {
	width: 600px;
    height: 200px;
	margin-top: 36px;
	padding-right: 10px;
	padding-left: 10px;
    float:left;
}

#logo {
	width: 150px;
    height: 74px;
	margin-top:20px;
	margin-right:10px;
	background:url(../images/vitv/vitv_logo.gif) no-repeat;
    float:right;
}

#menu_bkgnd{
    width: 920px;
    height: 59px;
    background:url(../images/vitv/vitv_menu.gif) no-repeat;
}

/* Content Shadow */
#content_shad{
	width: 860px;
	padding-right: 30px;
	padding-left: 30px;
    background:url(../images/vitv/vitv_main.gif) repeat-y;
    float:left; /*  this is required to continue the shadow for full page height*/
}

/* Content */
#content{
	width: 865px;
}

/* footer shadow */
#footer{
	width: 880px;
	height: 31px;
	background:url(../images/vitv/vitv_footer.gif) no-repeat;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
}


/*Basic FONT and link set up*/
/*Set initial font styles*/
body {
   text-align: left;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
   color: #233e7f;

}

/*set font size for all divs,this overrides some body rules*/
div {
   font-size: 0.98em;
}

/*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 red 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: #db5d1e; /* this colour will effect menu if no primary-nav color is set*/
}

a:visited {
   background-color: inherit;
   color: #db5d1e; 
}

/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   color: #db5d1e;
}

/*****************
basic layout 
*****************/
body {
	margin-left: auto;
	margin-right: auto;
	width: 925px;
    padding: 20px 0px 20px 0px;
    background-color: #d3effd;
}

/* center wrapper, min max width */
div#pagewrapper {
   padding-top:20px;
   width: 920px;
   margin: 0 auto;     /* this centers wrapper */
   background-color: #d3effd;
}

div#main {
   padding:5px;
   margin-right: 26%; /* this will give room for sidebar to be on the right side, make sure this space is bigger than sidebar width */
    background-color: #FFFFFF;
}

div#sidebar {
   float: right;  /* set sidebar on the right 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 doublemargin bug */
   margin-left: 0;
   margin-right:0%;
   border-left: 1px solid #FFFFFF;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0% 1%;
   width: 24%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   padding-top:10px;
   color: #000000;
}

div#footer p {
   font-size: 0.8em;
   /* padding: 0.5em;       some air for footer */
   text-align: center; /* centered text */
   margin:0;
}

div#footer p a {
   color: #000000; /* needed because footer link would be same color as background otherwise */
}

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

/* HEADINGS */
div#content h1 {
   font-size: 1.2em;  /* font size for h1 */
   line-height: 2em;
   margin: 0;
}
div#content h2 {
   font-size: 1.2em;
   line-height: 2em;
   text-align: left;
   color: #db5d1e; 
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
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 #666666;  /* black border for pre blocks */
   background-color: #666666;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
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 {
   margin: 0 0 0.25em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

/* End of 'vitv_Page_Layout' */

