/* Start of CMSMS style sheet 'flick2' */
/*****************
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;
}

/*
Set initial font styles
*/
body {
   font-family:Arial, Helvetica, sans-serif;
   background-color:#FFF;
   color: #FFF;
}

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

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

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

div.clearer {
   clear:both;
   height:0;
   margin:0;
   padding:0;
}

/*****************
basic layout 
*****************/

/* center wrapper, min max width */
div#pagewrapper {
   border: none;
   margin: 0 auto;       /* this centers wrapper */
   max-width: 1031px; /* IE wont understand these, so we will use javascript magick */
   min-width: 1031px;
   background-color: #FFF;
   color: black;
   padding-bottom: 12px;
}

/*** 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#the-header { 
   width: 1019px;
   height: 175px;
   margin-top:12px;
   margin-bottom:10px;
   margin-left:6px;         
}

div#the-footer {
   width: 1019px;
   height: 30px;
   margin-left:6px;
   margin-bottom:30px;
   color: #FFF;
   background:#FFF;
   text-align: center;
   font-size: 11px;
}

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

div#the-footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

.header{
  display:block;
}
.header *{
  display:block;
  height:1px;
  overflow:hidden;
  font-size:.01em;
  background:#1F7A99}
.header1{
  margin-left:3px;
  margin-right:3px;
  padding-left:1px;
  padding-right:1px;
  border-left:1px solid #9ec5d3;
  border-right:1px solid #9ec5d3;
  background:#579bb2}
.header2{
  margin-left:1px;
  margin-right:1px;
  padding-right:1px;
  padding-left:1px;
  border-left:1px solid #e8f1f4;
  border-right:1px solid #e8f1f4;
  background:#4993ac}
.header3{
  margin-left:1px;
  margin-right:1px;
  border-left:1px solid #4993ac;
  border-right:1px solid #4993ac;}
.header4{
  border-left:1px solid #9ec5d3;
  border-right:1px solid #9ec5d3}
.header5{
  border-left:1px solid #579bb2;
  border-right:1px solid #579bb2}
.headerfg{
  background:#1F7A99;
  padding-bottom:3px;
}

.footerfg{
  background:#1F7A99;
  padding-top:4px;
  height:35px;
}

div#header h1 a {
}

/* position for the search box */
div#search {
}

div.breadcrumbs {
}

div.breadcrumbs span.lastitem { 
} 

div#main {
}

div#content {
   background: url(uploads/images/LeftBody.jpg);
   float: left;
   width: 597px;
   min-height: 362px;
   padding-left: 0px;
   padding-top: 40px;
   padding-right: 20px;
   padding-bottom: 40px;
   margin-top: -8px;
   color: #FFFFFF;
   font-size: 13px;
   line-height: 18px;
}

div#content h1 {
   padding-left:50px;
   padding-top:8px;
   padding-bottom:8px;
}

div#content2 {
   background: url(uploads/images/Center2.jpg);
   float: left;
   width: 547px;
   height: 318px;
   padding-left: 50px;
   padding-top: 0px;
   padding-right: 20px;
   padding-bottom: 0px;
   margin-top: -8px;
   color: #FFFFFF;
   font-size: 13px;
   line-height: 18px;
   overflow: auto;
}

div#contentplain {
   background: url(uploads/images/Center2.jpg) repeat;
   float: left;
   width: 931px;
   min-height: 375px;
   padding-left: 50px;
   padding-top: 1px;
   padding-right: 50px;
   padding-bottom: 0px;
   color: #FFFFFF;
   font-size: 13px;
   line-height: 18px;
   /*overflow:hidden;*/
}

div#contentplain h1 {
   padding-left:0px;
   padding-top:8px;
   padding-bottom:8px;
}

div#contentplaintop {
   background: url(uploads/images/Center1.jpg);
   width: 1031px;
   height: 38px;
   margin-top: -8px;
   clear:both;
}

div#contentplainbottom {
   background: url(uploads/images/Center3.jpg);
   width: 1031px;
   height: 28px;
   clear:both;
   margin-bottom:0px;
}

div.NewsSummary {
   margin-top:8px;
   padding-top:8px;
   margin-bottom:0px;
   padding-bottom:15px;
   margin-left:19px;
   margin-right:10px;
   border-bottom: solid 1px #CCC;
   width:455px;
   height:240px;
   overflow:hidden;
   float:left;
}

div.NewsSummaryLink {
   font-size:24px;
   padding-bottom:10px;
}

div.NewsSummaryLink a,
div.NewsSummaryLink a:link,
div.NewsSummaryLink a:hover,
div.NewsSummaryLink a:visited {
   text-decoration:none;
   color:#1F7A99;
}

div.NewsSummarySummary {
   font-size:12px;
   line-height:15px;
   padding-bottom:10px;
   float:left;
   width:345px;
}

div.NewsSummaryMorelink {
   margin-top:5px;
   padding-bottom:0px;
   float:right;
}

div.NewsSummaryMorelink a,
div.NewsSummaryMorelink a:link,
div.NewsSummaryMorelink a:hover,
div.NewsSummaryMorelink a:visited {
   text-decoration:none;
   color:#000;
}

div.NewsSummaryContent {
   font-size:12px;
   line-height:15px;
   padding-bottom:10px;
}

div.NewsSummaryExtra {
}

div.NewsSummaryField {
   overflow:hidden;
   margin-right:10px;
   margin-bottom:10px;
   margin-top:-2px;
   float:left;
   max-width:100px;
}

div.NewsSummaryField img {
   height:100px;
}

div.NewsSummaryAuthor {
   font-size:11px;
   color:#7B7B7B;
   float:left;
}

div.NewsSummaryPostdate {
   font-size:11px;
   color:#7B7B7B;
   float:right;
}

div#NewsPostDetail {
   height:auto;
}

div#NewsPostDetailTitle{
   font-size:30px;
   margin-top:16px;
   color:#7B7B7B;
   width:450px;
}

div.NewsDetailField{
   margin-top:23px;
   margin-right:16px;
   margin-left:24px;
   float:left;
}

div.NewsDetailField img{
   width:250px;
}

div#NewsPostDetailContent{
   font-size:12px;
   line-height:15px;
   padding-bottom:10px;
   padding-top:6px;
   width:450px;
   clear:both;
   border-top: solid #1F7A99 6px;
   border-bottom: solid #1F7A99 6px;
}

div#NewsPostDetailContent img{
   width:450px;
}

div#NewsPostDetailContent object {
   width:450px !important;
}

div#NewsPostDetailComment {
   font-size:12px;
}

div#NewsPostDetailComment a {
   color:#7B7B7B;
}

div#NewsPostDetailComment input[type="text"] {
   width:200px;
   height:12px;
}

div#NewsPostDetailComment textarea {
   width:200px;
   height:36px;
}

div#NewsPostDetailExtra{
}

div#NewsPostDetailAuthor{
   margin-top:6px;
   margin-bottom:12px;
   font-size:11px;
   float:left;
}

div#NewsPostDetailDate{
   margin-top:6px;
   margin-bottom:12px;
   font-size:11px;
   float:left;
}

div#NewsPostDetailPrintLink{
   float:left;
   margin-top:10px;
}

div#NewsPostDetailReturnLink{
   float:right;
   margin-top:10px;
}

div.DownloadSummary{
}

div.DownloadSummaryItem{
   float:left;
   margin-left:4px;
   width:220px;
}

div.DownloadSummaryPostdate{
}

div.DownloadSummaryTitle{
   font-size:30px;
   margin-top:16px;
   padding-bottom:20px;
}

div.DownloadSummaryCategory{
}
	
div.DownloadSummaryAuthor{
}
		
div.DownloadSummarySummary{
   padding-top:8px;
   padding-bottom:8px;
}
		
div.DownloadSummaryMorelink{
}
		
div.DownloadSummaryContent{
   padding-top:8px;
   padding-bottom:8px;
}
		
div.DownloadSummaryExtra{
}
        
div.DownloadSummaryImage{
   float:left;
}

div.DownloadSummaryImage img {
   width:231px;
   height:288px;
}

div.DownloadSummaryField{
   font-size:12px;
}

div.rightimg {
   float: right;
   width: 414px;
   height: 442px;
   margin-top: -8px;
   background: url(uploads/images/RightBody.jpg) no-repeat;
}

div#leftimg {
   /*background: url(uploads/images/LeftBodyFront.jpg);*/
   float: left;
   width: 547px;
   height: 402px;
   padding-left: 0px;
   padding-top: 0px;
   padding-right: 0px;
   margin-top: -8px;
}

div#rightbox {
   float: right;
   width:36px;
   height:442px;
   margin-top: -8px;
   background:url(uploads/images/RightBox.jpg);
}

.space {
   height:10px;
}

.login{
  display:block;
}
.login *{
  display:block;
  height:1px;
  overflow:hidden;
  font-size:.01em;
  background:#7B7B7B}
.login1{
  margin-left:3px;
  margin-right:3px;
  padding-left:1px;
  padding-right:1px;
  border-left:1px solid #343434;
  border-right:1px solid #343434;
  background:#5c5c5c}
.login2{
  margin-left:1px;
  margin-right:1px;
  padding-right:1px;
  padding-left:1px;
  border-left:1px solid #0c0c0c;
  border-right:1px solid #0c0c0c;
  background:#636363}
.login3{
  margin-left:1px;
  margin-right:1px;
  border-left:1px solid #636363;
  border-right:1px solid #636363;}
.login4{
  border-left:1px solid #343434;
  border-right:1px solid #343434}
.login5{
  border-left:1px solid #5c5c5c;
  border-right:1px solid #5c5c5c}
.loginfg{
   background:#7B7B7B;
   color:#FFFFFF;
   padding-left:28px;
   padding-top:18px;
   line-height:20px;
   font-size:14px;
   height:180px;
}

div#the-mid-body { 
   width: 1019px;
   margin-left: 6px;     
   margin-bottom: 0px;    
}

.mid-body{display:block}
.mid-body *{
  display:block;
  height:1px;
  overflow:hidden;
  font-size:.01em;
  background:#000000}
.mid-body1{
  margin-left:3px;
  margin-right:3px;
  padding-left:1px;
  padding-right:1px;
  border-left:1px solid #919191;
  border-right:1px solid #919191;
  background:#3f3f3f}
.mid-body2{
  margin-left:1px;
  margin-right:1px;
  padding-right:1px;
  padding-left:1px;
  border-left:1px solid #e5e5e5;
  border-right:1px solid #e5e5e5;
  background:#303030}
.mid-body3{
  margin-left:1px;
  margin-right:1px;
  border-left:1px solid #303030;
  border-right:1px solid #303030;}
.mid-body4{
  border-left:1px solid #919191;
  border-right:1px solid #919191}
.mid-body5{
  border-left:1px solid #3f3f3f;
  border-right:1px solid #3f3f3f}
.mid-bodyfg{
  background:#000000;
  padding-left:20px;
  padding-bottom:0px;
  padding-top:16px;
  margin-bottom:0px;
  height: auto;
}

.greybox {
   height:auto;
   background:#7B7B7B;
   color:#FFFFFF;
   padding-left:28px;
   padding-top:0px;
}

#the-mid-body #the-login .greybox h2 a {
   text-decoration: none;
   font-size: 20px;
}

#the-mid-body #the-login #bottom {
   padding-top:16px;
   background-color:#000000;
   color:#FFFFFF;
   text-align:right;
}

#the-mid-body #the-login #bottom h1 {
   margin:0;
   font-size:32px;
} 

#the-mid-body #the-login #bottom h2 {
   margin:0;
   font-weight:100; 
   font-size:22px;
} 

#the-mid-body #the-login #bottom h3 {
   margin:0;
   font-weight:100;
   font-size:14px;
}

#the-mid-body #the-login #bottom a, a:hover, a:visited {
   text-decoration: none;
}

div#the-login {
   width:300px;
   float: right;
   padding-right:24px;
   padding-top:0px;
}

div#the-login h1 {
   margin-bottom:16px;
}

.white-box {
  background-color:#FFF;
  width:980px;
  padding-top:40px;
  margin-top:20px;
  height:auto;
}

.white-box h1 {
   font-size:28px;
   color:#7B7B7B;
   margin-left:24px;
   margin-top:-18px;
   margin-bottom:12px;
}

.white-box2 {
  background-color:#FFF;
  width:980px;
  padding-top:20px;
  margin-top:0px;
  height:auto;
}

.white-box2 h1 {
   font-size:24px;
   color:#7B7B7B;
   margin-left:24px;
   margin-bottom:12px;
}

div#login a:link,
div#login a:hover,
div#login a:visited {
   text-decoration:underline; 
   font-size:13px;
}

div#the-login a:link.signup,
div#the-login a:hover.signup,
div#the-login a:visited.signup {
   display:block;
   float:left;
   text-decoration:none; 
   font-size:16px;
   margin-right:0px;
   margin-top:0px;
   background-color: #009900;
   border: solid 1px;
   border-color: #BBB #999 #999 #BBB;
   padding: 4px 6px 4px 6px;
   width: 60px;
}

a:link.signup,
a:hover.signup,
a:visited.signup {
   display:block;
   text-decoration:none; 
   font-size:16px;
   margin-right:36px;
   margin-top:91px;
   background-color: #009900;
   border: solid 1px;
   border-color: #BBB #999 #999 #BBB;
   padding: 4px 6px 4px 6px;
}

div#logout-download {
   float:right;
}

div#logout-download a:link,
div#logout-download a:hover,
div#logout-download a:visited {
   display:block;
   text-decoration:none; 
   font-size:16px;
   margin-right:10px;
   margin-top:-80px;
   background-color: #990000;
   border: solid 1px;
   border-color: #BBB #999 #999 #BBB;
   padding: 4px 6px 4px 6px;
}

div#the-login #logout {
   float:left;
}

div#the-login #logout a:link,
div#the-login #logout a:hover,
div#the-login #logout a:visited {
   display:block;
   text-decoration:none; 
   font-size:16px;
   margin-left:0px;
   margin-top:0px;
   background-color: #990000;
   border: solid 1px;
   border-color: #BBB #999 #999 #BBB;
   padding: 4px 6px 4px 6px;
}

div#the-login #download-button {
   float:left;
   margin-right:12px;
}

div#the-login #download-button a:link,
div#the-login #download-button a:hover,
div#the-login #download-button a:visited {
   display:block;
   text-decoration:none; 
   font-size:16px;
   margin-left:0px;
   margin-top:0px;
   background-color: #009900;
   border: solid 1px;
   border-color: #BBB #999 #999 #BBB;
   padding: 4px 6px 4px 6px;
}

div#contentplain #download-button,
div#contentplain #welcome {
   display:none;
}

div#blackbox {
   float: right;
   width:378px;
   height:22px;
   background:#000;
   margin-top:2px;
}

div#blackbox2 {
   float: right;
   width:378px;
   height:6px;
   background:#000;
   margin-top:-6px;
}

div#bottomlogin {
   margin-top:22px;
   color:#FFFFFF;
   clear:both;
}

div#bottomlogin h1 {
   margin: 0;
   margin-left:-50px;
   font-size:43px;
} 

div#bottomlogin h2 {
   margin: 20px 0;
   font-weight:100; 
   font-size:26px;
} 

div#bottomlogin h3 {
   margin: -12px 0;
   font-weight:100;
}

div#bottomlogin a, a:hover, a:visited {
   text-decoration: none;
}

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

div#footer {
   clear: both;       /* keep footer below content and menu */
   width: 1031px;
   height: 43px;
   padding-top: 5px;
   background: url(uploads/images/Footer.jpg);
   color: #FFF;
   text-align: center;
   font-size: 11px;
   position: relative;
   top: 0px;
}

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: #fff; /* 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
*********************/
div#content {
}

/* HEADINGS */
div#content h1 {
}
div#content h2 {
}
div#content h3 {
}
div#content h4 {
}
div#content h5 {
}

div#content2 h1 {
   margin-left:-50px;
   margin-top:-5px;
   margin-bottom:10px;
}
div#content2 h2 {
   margin-top:0px;
}
div#content2 h3 {
}
div#content2 h4 {
}
div#content2 h5 {
}

div#contentplain h1 {
}
div#contentplain h2 {
}
div#contentplain h3 {
}
div#contentplain h4 {
}
div#contentplain h5 {
}

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

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: 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;
}

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

/********************
MENU
*********************/

/* hack for Internet Explorer */
* html div#menu_horiz {
   /* hide ie/mac \*/
   height: 1%;
   /* end hide */
}

/* 
background-color for the entire menu row, 
covering 100% of the width and text center-aligned 
*/
div#menu_horiz {
   margin: 0;
   margin-bottom: -5px;
}

/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div#menu_horiz ul {
   width: 302px;
   margin: 0 auto;
   text-align: center;
   padding: 0;
   height: 10px;
}

/* menu list items */
div#menu_horiz li {
   float: left; /* makes the list horizontal */
   list-style: none; /* hides the list bullet */ 
   margin: 0;
   /*border-right: solid #CCC 1px;*/
}

/* the links, that is each list item */
div#menu_horiz a {
   padding: 0 4px; /* padding inside the list item box */
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   display: inline; /* IE has problems with this, fixed above */
}

/* hover state for links */
div#menu_horiz li a:hover {
}
div#menu_horiz a.activeparent:hover {
}

/* active parent, that is the first-level parent of a child page that is the current page */
div#menu_horiz li.activeparent a {
   color: #fff;
}

div#menu_horiz h3 {
   padding: 0 4px; /* padding inside the list item box */
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   display: inline; /* IE has problems with this, fixed above */
   font-size: 11px;
   font-weight: 100;
   color: #ccc;
}

/********************
MENU TOP
*********************/

/* hack for Internet Explorer */
* html div#menu_top {
   /* hide ie/mac \*/
   height: 1%;
   /* end hide */
}

/* 
background-color for the entire menu row, 
covering 100% of the width and text center-aligned 
*/
div#menu_top {
   margin: 0;
   margin-left: 620px;
   margin-top:-28px;
   font-size:13px;
}

/* 
the menu ul box has top and left border, 
right border is provided by the li elements 
*/
div#menu_top ul {
   width: 412px;
   margin: 0 auto;
   text-align: center;
   padding: 0;
   height: 10px;
}

/* menu list items */
div#menu_top li {
   float: left; /* makes the list horizontal */
   list-style: none; /* hides the list bullet */ 
   margin: 0;
   /*border-right: solid #CCC 1px;*/
}

/* the links, that is each list item */
div#menu_top a {
   padding: 0 4px; /* padding inside the list item box */
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   display: inline; /* IE has problems with this, fixed above */
}

/* hover state for links */
div#menu_top li a:hover {
}
div#menu_top a.activeparent:hover {
}

/* active parent, that is the first-level parent of a child page that is the current page */
div#menu_top li.activeparent a {
   color: #fff;
}

div#menu_top h3 {
   padding: 0 4px; /* padding inside the list item box */
   margin: 0; /* margin outside each list item box */
   text-decoration: none; /* no underline for links */
   display: inline; /* IE has problems with this, fixed above */
   font-size: 13px;
   font-weight: 100;
   color: #ccc;
}

dfn {
   display: none;
}

input[type="text"], input[type="password"] {
	width:200px;
	margin-bottom:3px;
	margin-top:-2px;
	font-size: 12px;
	padding: 2px;
}

input[type="submit"], input[type="button"] {
	color:#555;
	background-color:#C0C0C0;
	border:1px solid; 	  
	border-color: #BBB #666 #666 #BBB;
	font-size:16px;
	padding: 2px 3px 2px 3px;
        margin-top: 6px;
}

input[type="radio"] {
	vertical-align:text-bottom;
}

input.wide {
	width:416px;
}

.pager {
   font-size: 12px;
   text-align: center;
   clear: both;
   padding-top:20px;
   padding-bottom:20px;
   color: #333;
}

.pager a {
   color: #333;
   text-decoration:none;
}

.img-bottom-left {
  width:485px; 
  height:100px;
  margin-top: 10px;
  margin-bottom: 10px;
  float:left;
}

.img-bottom-right{
  width:485px; 
  height:100px;
  float:right;
  margin-right:20px;
  margin-top: 10px;
  margin-bottom: 10px;
}
/* End of 'flick2' */

