/* Start of CMSMS style sheet 'msgij_sub' */
* {
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: #1c4f9a;
/*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; }

#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 ***/
}

.hidden {
   display:none;
}

/**************************
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;
}

#header h1 a {
display:block;
height: 100px;
}

#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: 0;
margin-bottom:30px;
background: url(uploads/images/diversen/bg_leftsub.gif) repeat-y;
}

* 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 {
border: 10px solid #003;
width: 690px; /*** 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-left: 190px;  
padding-bottom:30px;
}
* 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: -190px; /*** 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: 690px;
background: #fff;
}

* html #content {
position: relative;  /*** IE needs this  ***/
}

.contentWrap{
padding: 10px 20px;
background: url(images/msgij/bg_contentwrap.jpg) no-repeat;
min-height: 275px;
}

#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;
}

#content #calendar {
display:none;
float: left;
width: 330px;
height: 332px;
background: url(images/msgij/bg_contentleft.jpg) no-repeat;
}

#content table.rand {
border-collapse: collapse;
}
#content table.rand th {
padding: 5px;
border: 1px solid #003;
background: #bbc;
}
#content table.rand td {
padding: 5px;
border: 1px solid #003;
}

#content ul, #content ol {
margin-left:18px;
}

/**************************
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: 190px;
padding: 0px;
}

* html #left {
position: relative;  /*** IE needs this  ***/
}

#left #menu {
float: left;
width: 215px;
/*height: 287px;*/
padding: 10px;
margin-left: -45px;
margin-top: 0px;
background: #003; /*url(images/msgij/bg_lefttop.jpg) repeat-x;*/
}

/*
#left #menu ul {
list-style: none;
padding-bottom: 4px;
}

#left #menu li a {
display: block;
width: 215px;
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 #menu li a:hover {
background-position: 0 bottom;
color: #c1c9d4;
}

*/

#left #box {
display: block;
float: left;
width: 215px;
height: 106px;
margin-left: -45px;
margin-top: 50px;
margin-bottom:10px;
padding: 12px 10px 10px 10px;
background: #fff url(images/msgij/bg_subleft.jpg) no-repeat;
text-align:center;
}

* html #left #box {
position: relative;  /*** IE needs this  ***/
}

#left #box p {
font-size:.8em;
font-weight:bold;
margin:0;
padding:0;
color: #1c4f9a;
}

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;
}


#left #leftbttm {
display:block;
float:left;
width: 160px;
height: 60px;
padding: 0 10px;
font-size:9px;
}
#left #leftbttm a {
display:block;
text-decoration:none;
}

/*************************
LEFT SUB COLUMN
**************************/

#leftsub {
float: left;
width: 230px;
padding: 0px;
}

* html #leftsub {
position: relative;  /*** IE needs this  ***/
}

#leftsub #menu {
height: 230px;
padding: 5px;
background: #003; /*url(images/msgij/bg_lefttop.jpg) repeat-x;*/
}

#leftsub #menu ul {
list-style: none;
padding-bottom: 4px;
}

#leftsub #menu li a {
display: block;
width: 230px;
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;
}
#leftsub #menu li a:hover {
background-position: 0 bottom;
color: #c1c9d4;
}



/*************************
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;
}

/**************************
FORMS
**************************/
#content label {
   display: inline-block;
   width: 120px;
}

#content input {
   border: 1px solid #9ca9b1;
   padding: 3px;
}

#content .checkbox input { margin-left: 120px; }
#content .checkbox label { width: 200px; font-size: 70%; }

#content .submit input { margin-left: 120px; }

/* End of 'msgij_sub' */

