@import url(reset.css);

/* Page layout ----------------------------------------------------- */

body {
  font-family: "Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,Arial,sans-serif;
  background-color: #333;
}

#header_wrap {
}

#header {
  margin: 40px auto 0 auto;
  padding: 0;
  width: 960px;
}

#topcontent_wrap {
  background-color: #0B80C6;
  min-height: 10px;
  height: auto !important; height: 10px; /* IE6 */
}

#topcontent {
  width: 960px;
  margin: 0 auto;
  height: 95px;
}

#content_wrap {
  background: #fff;
}

#content {
  margin: 0 auto;
  width: 960px;
  background-color: #eee;
}

#footer_wrap {
  background: #555;
  clear: both;
}

#footer {
  margin: 0 auto;
  width: 960px;
  font-size: 11px;
  color: #fff;
  line-height: 18px;
}

#copyright {
  margin: 0 auto;
  width: 960px;
  line-height: 16px;
  color: #AAA;
  font-size: 11px;
  padding: 10px 0;
}

/* Header ----------------------------------------------------- */

#logo {
  float: right;
  width: 300px;
  background-color: white;
  margin-top: -30px;
  position:relative; /* for IE6 */
  text-align:center;
  height: 64px;
  -moz-border-radius: 5px 5px 0 0;
  -khtml-border-radius: 5px 5px 0 0;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
}

  #logo img {
    height: 55px;
    margin-top:2px;
  }

#header ul {
}

#header ul li {
  display:inline;
}

#header ul a {
  padding: 10px 17px;
  float:left;
  text-decoration: none;
  color: #fff;
  -moz-border-radius: 5px 5px 0 0;
  -khtml-border-radius: 5px 5px 0 0;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  background-color: #1F597C;
  margin: 0 10px 0 0;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: normal;
}

#header ul a:hover {
  background: #246994;
}

#header ul a.active {
  background: #0B80C6;
}

#topcontent h1 {
  color: #fff;
  font-size: 24px;
  text-shadow: 1px 1px 2px #206DC0;
  font-family: sans-serif;
  padding: 25px 0 0 0;
}

#topcontent h2 {
  color: #E1F0FF;
  font-size: 16px;
  text-shadow: 1px 1px 2px #206DC0;
  font-family: sans-serif;
  padding: 10px 0 0 0;
}

#topcontent img {
  margin: 10px 10px 10px 0;
  border: 5px solid #eee;
  height: 120px;
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
}

#admin-area {
  background: #1F597C;
  padding: 5px 0;
  border-bottom: 2px solid #ddd;
  width: 100%;
}

  #admin-area span {
    padding: 5px 0 5px 10px;  
    font-size: 12px;
    font-weight:bold;
    color:#eee;
  }
  
  #admin-area p {
    float:right;
    font-size: 10px;
    padding: 5px 5px 0 5px;
    line-height:100%;
    color: #eee;
    margin-right:5px;
  }
  
  #admin-area ul {
    display: inline;
    padding: 5px;
  }

    #admin-area ul li {
      display: inline;
      margin: 0 5px 0 0;
    }

  #admin-area a {
    font-size: 10px;
    color: #ddd;
    text-decoration: none;
  }
  
  #admin-area a:hover {
    text-decoration: underline;
  }

/* Content ----------------------------------------------------- */

#gallery {
  padding:20px 0;
  background-color: #fff;
  width:660px;
  float:left;
}
  #gallery p,
  #gallery td,
  #gallery li,
  #gallery blockquote {
    font-size: 12px;
    color: #333;
    line-height: 20px;
    margin-bottom: 10px;
  }

  #gallery p {
    text-align: justify;
  }
  

#maincontent {
  width: 639px;
  min-height:500px;
  height: auto !important; height: 500px; /* IE6 */
  float: left;
  padding: 10px 20px 20px 0;
  background-color: #fff;
}

  #maincontent h1 {
    clear: both;
    font-size: 16px;
    font-weight: bold;
    padding: 0 0 4px 0;
    color: #333;
    margin: 30px 0 10px 0;
    border-bottom: 1px solid #ccc;
    padding: 0 0 4px 0;
  }
  
  #maincontent h1 a {
    text-decoration: none;
  }

  #maincontent h2 {
    clear: both;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 20px 0 10px 0;
  }

  #maincontent h3 {
    clear: both;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin: 15px 0 5px 0;
  }

  #maincontent p,
  #maincontent td,
  #maincontent li,
  #maincontent blockquote,
  #sidebar p {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 10px;
  }

  #maincontent p {
    text-align: justify;
  }
  
  #maincontent p.code {
    background-color: #EBE7CC;
    border: 1px solid #CDC9B2;
    padding: 5px;
    text-align: left;
    line-height: 100%;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
  }

  #maincontent ul {
    margin-bottom: 10px;
  }

  #maincontent ul li {
    list-style-type: disc;
    list-style-position:outside;
    margin-left:15px;
  }

  #maincontent ol li {
    list-style-type: decimal;
    margin-left: 20px;
  }

  #maincontent table {
    width: 100%;
    margin: 15px 0;
  }

  #maincontent thead th {
    border-bottom: 2px solid #6EB4E7;
  }

  #maincontent th {
    font-weight: bold;
  }

  #maincontent th, 
  #maincontent td {
    vertical-align: top;
    text-align: left;
    padding: 0 10px 10px 0;
  }

  #maincontent th p, 
  #maincontent td p {
    padding: 0;
    margin: 0 0 5px 0;
  }
  
  #maincontent img {
    border:3px solid #ccc;
  }
  
  #maincontent img.icon {
    border:none;
  }

  #maincontent em {
    font-style: italic;
  }

  #maincontent strong {
    font-weight: bold;
  }

  #maincontent a,
  #sidebar a {
    color:#0B80C6;  
  }
  
  .article-meta {
    font-size: 10px;
    font-weight: bold;
    margin: 0 0 10px 0;
  }
  
  .article-date {
  }

  #content p.infobox {
    background: url(images/icon_info.gif) no-repeat 0 5px #eee;
    padding: 10px 10px 10px 70px;
    min-height: 55px;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
  }

  #content ul.cloud {
    width: 260px;
    margin: 10px 0 20px 0;
  }
    
    #content ul.cloud li {
      background-color:#ddd;
      padding: 5px;
      margin: 8px 0px 0 0;
      font-style: italic;
      font-size: 11px;
      line-height:14px;
      -moz-border-radius: 5px;
      -khtml-border-radius: 5px;
      -webkit-border-radius: 5px;
    }

  #maincontent ul.downloads {
  }
  
    #maincontent ul.downloads li {
      list-style-type: none;
      margin: 0 0 10px 0;
    }
  
      #maincontent ul.downloads li img {
        float:left;
        margin-top:4px;
      }
      
      #maincontent ul.downloads li p {
        margin: 0 0 2px 45px;
      }

  #maincontent ul.boxed {
    background-color: #ddd;
    padding: 10px;
    margin: 15px 0 0 0;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
  }

    #maincontent ul.boxed li {
      list-style-type: none;
      margin: 0 0 10px 0;
      padding: 0 0 13px 0;
      border-bottom: 3px dotted #999;
    }
    
    #maincontent ul.boxed li a {
      font-weight: bold;
    }

    #maincontent ul.boxed li:last-child {
      border-bottom: none;
      margin: 0;
      padding: 0 0 5px 0;
    }

  #maincontent ul.images {
    background-color: #ddd;
    padding: 10px;
    margin: 15px 0 0 0;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
  }

    #maincontent ul.images li {
      list-style-type: none;
      clear: both;
      margin: 0 0 10px 0;
      min-height: 116px;
      border-bottom: 3px dotted #999;
    }
    
    #maincontent ul.images li:last-child {
      border-bottom: none;
      margin: 0;
    }
    
    #maincontent ul.images li img {
      float:left;
      margin: 0 10px 10px 0px;
      border: 3px solid #0B80C6;
    }
    
    #maincontent ul.images li span {
      display:block;
      margin-left:120px;
    }

  #maincontent form {
    background-color: #ddd;
    border-top: 1px dotted #333;
    border-bottom: 1px dotted #333;
    padding: 10px;
  }

  #maincontent form input.error,
  #maincontent form textarea.error,
  #maincontent form select.error {
    border: 2px solid red;
  }

  #maincontent form p.info {
    padding: 10px 0;
  }

  #maincontent form span.hint {
    display:block;
    margin-left: 160px;
    color: #555;
    margin-bottom: 10px;
  }

  #maincontent form label {
    font-weight: bold;
    float: left;
    width: 160px;
  }
  
  #maincontent .right {
    float:right;
    margin: 0 0 20px 20px;
  }
  
  #maincontent .left {
    float:left;
    margin: 0 20px 20px 0;
  }

#sidebar {
  float:right;
  width: 300px;
  margin-top: -95px;
  position:relative; /* for IE6 */
}

  #sidebar p {
    padding: 0 20px 10px 0;
  }
  
  #sidebar label {
    font-weight: bold;
  }
  
  #sidebar p.caption {
    padding: 0 20px;
    margin: 5px 0;
    font-size: 100%;
    color: #555;
  }
  
  #sidebar .menu {
    padding: 0 10px 1px 10px;
    margin: 0;
  }

  #sidebar .menu a {
    padding: 2px 6px;
    text-decoration: none;
    color: #888;
  }

  #sidebar .menu.second-level {
    font-size: 13px;
    background-color: #1F597C;
    padding: 20px 10px 10px 10px;
    margin: 0 0 20px 0;
    min-height: 80px;
    -moz-border-radius: 0 0 5px 5px;
    -khtml-border-radius: 0 0 5px 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    color: #fff;
    
    -moz-box-shadow: 0 5px 5px #aaa;
    -webkit-box-shadow: 0 5px 5px #aaa;
    box-shadow: 0 5px 5px #aaa;
  }

    #sidebar .menu.second-level li,
    #sidebar .menu.second-level p
    {
      margin: 0 20px 9px 5px;
    }
    
    #sidebar .menu.second-level a {
      padding: 2px 6px;
      text-decoration: none;
      color: #ccc;
    }
    
    #sidebar .menu.second-level a.active {
      font-weight: bold;
      color: #fff;
    }
    
  #sidebar .menu.third-level {
    font-size: 12px;
    margin: 0 0 15px 5px;
  }

    #sidebar .menu.third-level li {
      margin: 0 0 10px 0;
    }
  
    #sidebar .menu.third-level a {
      padding: 0px 6px;
      text-decoration: none;
      color: #888;
    }
    
    #sidebar .menu.third-level a.active {
      color: #000;
      font-weight: bold;
    }
    
  .sidebar_feature {
    color: #fff;
    background-color: #1F597C;
    padding: 20px 0px 1px 20px;
    margin: 0 0 20px 0;
    min-height: 18px;
    -moz-border-radius: 0 0 5px 5px;
    -khtml-border-radius: 0 0 5px 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    
    -moz-box-shadow: 0 5px 5px #aaa;
    -webkit-box-shadow: 0 5px 5px #aaa;
    box-shadow: 0 5px 5px #aaa;
  }
  
  #sidebar .sidebar_feature p {
    color: #ccc;
  }
  
  #sidebar .sidebar_feature a {
    color: #fff;
  }
    
  #sidebar h1 {
    font-size: 14px;
  }
  
  #sidebar h2 {
    font-size: 13px;
  }
  
  #sidebar h3 {
    font-size: 12px;
  }
  
  #sidebar h1,
  #sidebar h2,
  #sidebar h3 {
    margin: 0px 0px 10px 0;
  }

  #sidebar img {
    max-width: 330px;
  }
  
  #sidebar_content {
    padding: 0 20px;
  }
  
/* Footer ----------------------------------------------------- */

#footer ul.columns {
  padding: 10px 0 0 0;
  float:left;
}

#footer ul li {
  display: inline;
  float: left;
  border-left: 1px solid #888;
  padding: 0 10px 5px 10px;
  height: 70px;
  font-weight: bold;
  width: 120px;
}

#footer ul li li {
  float: none;
  border: none;
  padding: 0;
  height: inherit;
  width: inherit;
}

#footer ul li li a {
  color: #aaa;
  display: block;
  text-decoration: none;
  font-weight: normal;
}

#footer ul li li a:hover {
  color: #fff;
}

#footer #address {
  background-color: #4B4B4B;
  border-left: 1px solid #888;
  float: right;
  padding: 10px 15px;
  width: 270px;
  font-size: 10px;
  font-weight: lighter;
}

#footer #address strong {
  color: #fff;
  font-size: 11px;
  font-weight: bold;
}

#footer #address dt,
#footer #address dd {
  float: left;
}

#footer #address dt {
  color: #aaa;
  clear: both;
  width: 35px;
  text-align: right;
  padding-right: 5px;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  clear: both;
}


@media print {
  #header_wrap,
  #footer_wrap,
  .menu { display: none; }

  #topcontent,
  #maincontent,
  #content,
  #copyright { width: 99%; }
  
  #topcontent h1,
  #topcontent h2 { text-shadow: none;}
  
  #maincontent,
  #sidebar { clear: both; float: none;}
  
  #sidebar { position: static; margin-top: 0; width: 99%; padding: 0;}
  #sidebar ul.cloud { width: 99%; }
  
  #content p.infobox { padding: 5px; background: #eee;}
  
  h1,
  h2 { page-break-after: avoid; }
}
