/*
Theme Name: Document Management Solutions
Theme URI: http://www.AdelieDesign.com/
Description: A theme for the DMS website
Author: Adelie Design
Author URI: http://www.AdelieDesign.com/
Version: 1.0

*/


/* GENERAL STYLES **********************************/
@import 'reset.css';

html, body {
  height: 100%;
}

body {
  font-family: "Times New Roman", "Times", serif;
  font-size: 10px;
  background-color: #006699;
  background-image: url(images/blue-grey.png);
  background-repeat: repeat-x;
  background-position: 0 0;
}

#page {
  margin: 0;
  background-image: url(images/grey-burst.png);
  background-repeat: no-repeat;
  background-position: center top;
  min-height: 400px;
}

a {
  text-decoration: none;
}

/* HEADER *****************************************/
#header {
  width: 884px;
  margin: 0 auto;
  position: relative;
}

h1 {
  position: fixed;
  right: 0;
  top: 50%;
  margin-top: -74px;
}

p.flexweb {
  position: absolute;
  top: 2em;
  right: 0;
  font-size: 120%;
}

p.flexweb a {
  color: #999999;
  display: inline-block;
  width: 145px;
  height: 31px;
  line-height: 31px;
  text-align: center;
  background-image: url(images/flexweb-button.png);
  background-repeat: no-repeat;
  background-position: center center;
  margin-left: 10px;
}
p.flexweb a:hover {
  color: #006699;
}

/* NAVIGATION *************************************/
#navigation {
  height: 37px;
  font-size: 150%;
  font-weight: bold;
  padding-top: 63px;
  width: 100%;
  border-bottom: 4px solid #006699;
}

#navigation ul {
}

#navigation li {
  display: block;
  float: left;
  margin-left: -3px;
  margin-right: -13px;
  width: 133px;
  height: 37px;
  text-align: center;
  z-index: 10;
  position: relative;
}
#navigation li.current_page_item,
#navigation li.current_page_parent,
#navigation li.current_page_ancestor {
  z-index: 20;
}

#navigation a {
  display: block;
  height: 35px;
  padding-top: 2px;
  width: 133px;
  line-height: 35px;
  color: #999999;
  background-image: url(images/tab.png);
  background-position: left top;
  background-repeat: no-repeat;
}
#navigation a:hover {
  color: #797979;
  background-position: left center;
}

#navigation li.current_page_item a, #navigation li.current_page_item a:hover,
#navigation li.current_page_parent a, #navigation li.current_page_parent a:hover,
#navigation li.current_page_ancestor a, #navigation li.current_page_ancestor a:hover {
  background-position: left bottom;
  color: #FFFFFF;
}

/* MAIN ********************************************/
#main {
  width: 884px;
  margin: 0 auto;
  overflow: hidden;
  min-height: 400px;
  background-color: #FFFFFF;
  color: #666666;
}

#main-inner {
  background-color: #FFFFFF;
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
  -webkit-box-shadow: 0 0 6px rgba(0,0,0,0.15); /* Safari, Chrome */
  -moz-box-shadow: 0 0 6px rgba(0,0,0,0.15);    /* Firefox */
  overflow: hidden;
  min-height: 400px;
  margin: 9px; 
  border: 1px solid rgba(204, 204, 204, 0.5);
  background-image: url(images/main-gradient.gif);
  background-position: 0 0;
  background-repeat: repeat-x;
  padding: 313px 9px 15px;
  position: relative;
}

/* SIDEBAR *****************************************/
#sidebar {
  float: left;
  width: 148px;
  font-size: 120%;
  line-height: 1.5;
  border: 1px solid #e7e7e7;
  border-radius: 5px 8px;
  -moz-border-radius: 5px 8px; /* Gecko (Firefox) */
  -webkit-border-radius: 5px 8px; /* WebKit (Safari/Chrome) */
  padding: 13px;
  margin-top: -7px;
  margin-left: 27px;
}

#sidebar a {
  color: #666666;
}
#sidebar a:hover {
  text-decoration: none;
  color: #006699;
}
#sidebar h2 {
  font-size: 120%;
}

#sidebar .sidebar-post {
  text-align: center;
}

#sidebar a.button {
  color: #999999;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 91%;
  display: block;
  height: 31px;
  line-height: 31px;
  width: 127px;
  margin: 1.5em auto 0.5em;
  background-image: url(images/sidebar-button.png);
  background-repeat: no-repeat;
  background-position: center center;
}
#sidebar a.button:hover {
  color: #006699;
}

#sidebar #post-22 {
  text-align: right;
}
#sidebar #post-22 h2 {
  margin-bottom: 0.4em;
}
#sidebar #post-22 ul {
  margin-top: 0.5em;
}
#sidebar #post-22 li {
  border-top: 1px solid #d5d5d5;
}
#sidebar #post-22 li:first-child {
  border-top: none;
}
#sidebar #post-22 li a {
  display: block;
  padding: 5px 0;
}

/* CONTENT ****************************************/
#content {
  float: right;
  margin-right: 134px;
  width: 450px;
  font-size: 140%;
  line-height: 1.5;
  border-bottom: 2px solid #f2f2f2;
  margin-bottom: 60px;
}

#content .entry {
  margin-bottom: 2em;
}

#content .section {
  border-top: 2px solid #f2f2f2;
  padding-top: 1.75em;
  margin-bottom: 3em;
  clear: both;
}

#content .top {
  text-align: right;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 71.5%;
  text-align: right;
  display: block;
  float: right;
}

h2 {
  font-size: 140%;
  clear: left;
  color: #016699;
  border-bottom: 2px ridge #666666;
  margin-bottom: 0.9em;
  text-transform: uppercase;
  font-weight: bold;
}
h3 {
  clear: left;
  font-size: 140%;
  font-weight: bold;
  color: #016699;
}
h4 {
  font-weight: bold;
  font-size: 100%;
}
h5 {
}
h6 {
}

#content p {
  margin: 0 0 0.75em 0;
}
#content a:link, #content a:visited {
  color: #006699;
}
#content a:hover {
  text-decoration: underline;
}

#content ul, #content ol, #content dl {
  margin: 1em 0 1em 2.5em;
}
#content ul {
  list-style-type: square;
}
#content ul ul {
  list-style-type: disc;
}
#content ul ul ul {
  list-style-type: square;
}
#content ul.plain li {
  list-style-type: none;
}
#content ol {
  list-style-type: decimal;
}
#content ol ol {
  list-style-type: upper-alpha;
}
#content ol ol ol {
  list-style-type: decimal;
}
#content dt {
  font-weight: bold;
  margin-top: 0.5em;
}
#content dd {
  margin-left: 2.5em;
}
#content li {
  margin: 1em 0;
}

#content address {
  font-style: normal;
  margin-left: 2.5em;
}

.entry:after {
  content: ".";
  height: 1px;
  display: block;
  clear: both;
  overflow: hidden;
  text-indent: -9000px;
}

.post-meta {
  margin-top: 2em;
  clear: both;
}

/* Tables *****************/
table {
  border-collapse: collapse;
}

table.fixed-row-headers th {
  width: 5em;
}
th {
  font-weight: bold;
  font-style: italic;
  text-align: right;
}
td {
  text-align: left;
}
th, td {
  padding: 2px 8px;
  vertical-align: top;
}

/* Less formatted tables*/
table.plain {
}
table.plain th {
}
table.plain td {
}

/* Image alignment ********/
.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}
.alignright {
  float: right;
  margin: 0 0 1em 1em;
}
.aligncenter {
  float: none;
  margin: 0 1em;
}
.alignnone {
  display: block;
  clear: both;
}

div.alignleft {
  margin-left: 1em;
  margin-right: 3em;
}
div.alignleft h2, div.alignleft h3, div.alignleft h4 {
  margin-top: 0;
}

/* Post Navigation */
.post-nav {
  clear: both;
  padding: 2em 1em;
}
.post-nav p {
  margin: 0;
}
.post-nav .next-posts-link {
  float: left;
}
.post-nav .previous-posts-link {
  text-align: right;
}

/* FOOTER *****************************************/
#footer {
  font-size: 100%;
  width: 884px;
  margin: 0 auto;
  padding: 8px 0 120px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.4;
  position: relative;
}

#footer, #footer a, #footer a:visited {
  color: #cccccc;
}
#footer a:hover {
  text-decoration: underline;
}
#footer p {
  margin: 0 1em;
}

#footer .huggins {
  position: absolute;
  right: 30px;
  top: -55px;
}

.clear-block {
  display: block;
  clear: both;
}


/* ROTATING/HEADER IMAGES ***********************/
#content ul.rotating-images {
  position: absolute;
  top: 15px;
  left: 12px;
  padding: 0 0 18px;
  margin: 0;
  border-bottom: 2px solid #f2f2f2;
  list-style-type: none;
  width: 840px;
  height: 235px;
  overflow: hidden;
}
#content ul.rotating-images li {
  margin: 0;
  padding: 0;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
#content ul.rotating-images li:first-child,
#content ul.rotating-images li.first-child {
  display: block;
}
