/* Start of CMSMS style sheet 'msgij' */
* {
padding: 0;
margin: 0;
border: 0;
}
html {
text-align: center; /*** Centers the design in old IE versions ***/
}
body {
color: #000; 
font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
background: #1d2a3c;
text-align: center; /*** Centers the design in old IE versions ***/
height: 100%;
}
body {
font-size: 90%;
border-top: 4px solid #003;
background: #1d2a3c url(images/msgij/bg_rail.jpg) repeat-x center 0;
}
p {padding: 7px 0 7px 0;}

a, a:visited, a:active, a:focus {
color: #000099;
outline:none;
}
a:hover{
color: #1d2a3c;
text-decoration: none;
outline:none;
}

h1, h2, h3 {
font-weight: bold;
padding-bottom: 5px;
color: #003;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.4em;
}
h3 {
font-size: 1.3em;
}
h1 a, #header h2{
color: #fff;
}
.clear { clear: both; }

.hidden {
   display:none;
}

#mainContainer {
width: 900px;
margin: 0 auto; /*** Centers the design ***/
min-height: 100%;
background: transparent; /*url(/examples/three-column-100-bg.gif) repeat-y; /*** This is our faux columns ***/
text-align: left; /*** Because we centered the text in body we have to move the text back to left aligning ***/
}

* html #mainContainer {
height: 100%;  /*** IE doesn't support min-height, but instead it handles height as min-height so we need to hack the height ***/
}

/**************************
HEADER
**************************/

#header {
height:117px;
background: transparent;
}

#header h1 {
display:inline-block;
width: 275px;
height: 100px;
margin: 7px 0 0 10px;
background: url(images/msgij/logo1.png) no-repeat;
text-indent: -2000px;
font-size: 10px;
}

#search {
float: right;
width: 600px;
height: 37px;
margin-right:-35px;
background: #003;
}
* html #search {
position: relative;  /*** IE needs this  ***/
}

#search form {
   width: 190px;
   float: right;
   margin-top: 5px;
}

#search form input {
   float: left;
   margin-top: 2px;
   padding: 1px 2px;
}

#search form input#searchsubmit {
   float: left;
   margin: 0 0 0 4px;
   padding: 0;
}

#login {
   float: left;
   padding: 8px 0 0 24px;
   font-size: 90%;
   font-weight: bold;
}

#login a {
  color: #c1c9d4;
  text-decoration: none;
}

#login a:hover {
  text-decoration: underline;
}

/**************************
CONTENT AND COLUMNS
**************************/
.outer {
border: 10px solid #003;
padding-left: 325px;  
margin-bottom: 30px;
background: #fff url(images/msgij/bg_lefttop.jpg) 0 -20px no-repeat;
}

* html .outer {
padding-right: 0px; /* Normally this shouldn't be in this hack, it should be in .outer, but because of IE7 I had to */
}
.inner {
width: 555px; /*** This width is for non-IE browsers. Mozilla makes this necessary. Be sure to check your layout in different browsers if you changes this value. Especially IE7 seems to create a horisontal scroll if this value is set too large ***/
padding-bottom: 0px;
}
* html .inner {
width: 100%;
}

/*** div.inner is wider than its container, div.outer, and so overlaps to the right, pushing
div.right into the proper position. IE expands div.outer instead, requiring a Tan hack to avoid 
blowing the layout apart. IE gets the original 100% width as in the Livingstone layout.
***/

.float-wrap {
float: left;
width: 880px;
margin-left: -325px; /*** Same length as .outer padding-left but with negative value ***/
}

* html .float-wrap {
/*** No need for hacking IE on this layout ***/
}

#content {
float: right;
width: 555px;
background: #fff;
}

* html #content {
position: relative;  /*** IE needs this  ***/
}

.contentWrap{
padding: 5px;
background: url(images/msgij/bg_contentwrap.jpg) no-repeat;
}

.contentWrap ol, .contentWrap ul {
margin: 3px 0 5px 35px;
}

.contentWrap li {
padding-bottom: 2px;
}

#rotator {
float: right;
width: 590px;
height: 335px;
margin: -45px -45px 0 0;
border: 5px solid #003;
background: #000;
}

* html #rotator {
position: relative;  /*** IE needs this  ***/
margin: -45px -45px 0 0;
}

#rotator #rot_title {
position:relative;
margin-top:275px;
width:590px;
height:60px;
background: url(images/msgij/overlay.png) no-repeat;
}

#content #intro {
display: none;
}

#content #contentblock {
position:absolute;
top:451px;
width: 190px;
height: 287px;
margin-left:310px;
padding:0 15px;
background: #fff url(images/msgij/bg_home-br.png) no-repeat 0 6px;
}

#contentblock p {
color: #c1c9d4;
font-weight: bold;
/*font-style: italic;*/
}

a.button {
display:inline-block;
width:182px;
height:22px;
padding:4px;
color: #fff;
font-weight: bold;
text-decoration: none;
background: transparent url(images/msgij/bg_button.png) no-repeat top left;
text-align: center;
}
a.button:hover {
background-position: bottom left;
}

#content h3 {
font-size:1.2em;
color: #1c4f9a;
margin-bottom:10px;
}

#content #calendar {
position:absolute;
top:431px;
width: 285px;
height: 312px;
padding-top: 20px;
padding-left:15px;
background: #fff url(images/msgij/bg_contentleft.jpg) no-repeat top left;
}

#calendar .event {
position:relative;
width: 269px;
margin-bottom: 10px;
/*padding-top: 1px;*/
background: url(images/msgij/bg_event.png) no-repeat top left;
}

#calendar .eventwrap {
background: url(images/msgij/bg_event-btm.png) no-repeat bottom left;
}

#calendar .event .eventdate {
float:left;
width: 60px;
margin-top: 1px;
padding:9px 0 10px 0;
background: url(images/msgij/bg_event-top.png) no-repeat top left;
text-align: center;
}

.eventday {
font-size: 1.2em;
color: #c1c9d4;
}
.eventmonth {
font-size: .9em;
color: #9ca9b1;
text-transform: uppercase;
}

#calendar .event .eventdetails {
float:left;
width: 208px;
margin-top: 1px;
padding-bottom: 1px;
}

.eventdetails a {
display: block;
/*height:50px;*/
padding: 9px 10px 10px 15px;
background: #f0f2f3 url(images/msgij/bg_event-up.png) repeat-x 0 0;
text-decoration:none;
cursor: pointer;
}
.eventdetails a:hover {
background: #d0dfe6 url(images/msgij/bg_event-over.png) repeat-x 0 0;
}

.eventtitle {
display:block;
width:170px;
font-size: 1.1em;
color: #1d2a3c;
font-weight:bold;
}

.eventlocation {
display:block;
width:170px;
font-size: .9em;
color: #9ca9b1;
text-transform: uppercase;
}

.eventlink {
position:absolute;
top:42%;
right:10px;
width:8px;
height:8px;
background: transparent url(images/msgij/bg_event-arrow.png) no-repeat 0 0;
}


/**************************
LEFT COLUMN
**************************/

/*** div.left is in div.float-wrap, and when div.float-wrap is neg margined to the left, 
div.left is carried over into the proper position. 
***/

#left {
float: left;
width: 325px;
padding: 0px;
}

* html #left {
position: relative;  /*** IE needs this  ***/
}

#left #menuvp {
height: 287px;
padding: 5px;
background: url(images/msgij/bg_lefttop.jpg) repeat-x;
}

#left #menuvp ul {
list-style: none;
padding-bottom: 4px;
}

#left #menuvp li a {
display: block;
width: 299px;
height: 34px;
margin: 14px 0 0 4px;
padding: 8px 6px 0 0;
text-align: right;
text-decoration: none;
font-size: 16px;
font-weight: bold;
color: #003;
}
#left #menuvp li a:hover {
background-position: 0 bottom;
color: #c1c9d4;
}

#left #box {
float: left;
width: 370px;
height: 97px;
margin-left: -45px;
padding-top: 130px;
background: #fff url(images/msgij/bg_leftbox.jpg) no-repeat;
text-align: center;
}

* html #left #box {
position: relative;  /*** IE needs this  ***/
}

#left #box h4 {
margin: 10px 0 0 20px;
text-align: center;
}

#left #leftbttm {
float:left;
width: 315px;
height: 98px;
padding: 5px;
background: url(images/msgij/bg_leftbttm.jpg) no-repeat;
font-size: 12px;
}



/*************************
RIGHT COLUMN
**************************/

#right {
float: right; 
width: 120px;
padding: 5px;
display: none;
}

* html #right {
position: relative;  /*** IE needs this  ***/
margin-right: -120px; /*** IE gets this margin. ***/
}

#right ul {
list-style: none;
padding-bottom: 4px;
}

#right li {
padding-bottom: 2px;
}

/**************************
FOOTER
**************************/
#footer {
width: 900px;
height: 30px; /*** The drawback with this solution is that the height of the footer can't be flexible. If you add so much content to the footer that it extends 30px, you will get a vertical scrollbar and the content will overflow the footer if you don't set overflow to hidden ***/
margin: 0 auto;
margin-top: -30px; /*** By using a negative margin-top we now moves the footer up the same amount as the footer height to avoid vertical scrolling. Remember, if you use borders and padding on your footer you will have to calculate this in your negative margin-top value also. ***/
text-align: center;
background-color: transparent;
}


/* End of 'msgij' */

