/* global */

* {
  font-style: normal;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 0;
  text-decoration: none;
}

img {
  border: none;
}

a {
  color: #0033cc;
}

a:hover {
  text-decoration: underline;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font: small/150% Arial, Helvetica, Verdana, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Arial, Verdana, sans-serif;
}

hr, div.clr {
  clear: both;
  visibility: hidden;
}

/* header */

div#header {
  border-bottom: 1px solid #e0e0e0;
}

div#header h1 {
  display: none;
}

div#header div.wrapper {
  margin: 0 auto;
  width: 980px;
}

div#header a#logo {
  float: left;
  display: block;
}

div#header ul {
  float: left;
  margin: 0 0 0 1em;
}

div#header ul li {
  float: left;
  margin: 28px 0.7em 0 0;
}

div#header ul li a {
  display: block;
  float: left;
}

div#header ul#nav li a {
  font-weight: bold;
  border-top: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  padding: 0 1em;
  height: 26px;
  line-height: 26px;
}

div#header ul li a.current {
  font-weight: bold;
}

div#header ul#nav li a.current {
  border-bottom: 1px solid white;
  margin-bottom: -1px;
  background-color: white;
}

div#header div.right {
  position: absolute;
  right: 5%;
  font-size: 0.9em;
}

div#header div.right a {
  display: block;
  float: left;
  margin: 0 0 0 0.5em;
}

div#header ul#user_nav {
  float: left;
  height: 20px;
  line-height: 20px;
  font-size: 1em;
  margin: 0 5px 0 0;
}

div#header ul#user_nav li {
  margin: 0 0.2em;
}

div#header ul#user_nav li a {
  height: 20px;
  line-height: 20px;
}

/* flash_messages */

div#flash_messages {
  margin: 0 0 1em 0;
  color: #6b683f;
  background: #fff999;
  border-top: 1px solid #8c8c53;
  border-bottom: 1px solid #8c8c53;
}

div#flash_messages a {
  text-decoration: underline;
  color: #6b683f;
}

div#flash_messages a:hover {
  text-decoration: none;
}

div#flash_messages.error {
  color: #6b403f;
  background-color: #ff9b99;
  border-color: #a14c3d;
}

div#flash_messages.error a {
  color: #6b403f;
}

div#flash_messages.valid {
  color: #456b3f;
  background-color: #a8ff99;
  border-color: #538c64;
}

div#flash_messages.valid a {
  color: #456b3f;
}

div#page div#flash_messages p {
  padding: 0.6em 1em;
}

/* content */

div#content {
  padding: 1em 0 0 0;
  background: url(../img/bg.png) repeat-x top left transparent;
}

div#content div.wrapper {
  margin: 0 auto;
  width: 980px;
  background-color: white;
}

div#content div#page {
  padding: 1em 0;
}

div#page p {
  padding: 1em 0;
}

div#page ul {
  margin: 1em;
  padding: 0 1em;
}

div#page ul li {
  list-style-type: square;
}

div#page ul li ul li {
  list-style-type: circle;
}

/* forms */

div#page form {
  margin: 0 1em 0 0;
}

div#page input[type=text], div#page input[type=password] {
  border: 1px solid #aaa;
}

div#page input.form-error, div#page textarea.form-error {
  border: 2px solid red;
}

div#page input, div#page textarea {
  font-size: 1em;
  padding: 0.2em;
}

div#page form p {
  padding: 0.5em 0;
}

div#page span.help {
  font-size: 0.95em;
  color: #666;
}

div#page p.admin {
  padding: 0.2em 1em;
}

div#content div.important {
  margin: 1.5em 0;
  padding: 0.5em;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background-color: #f6f6f6;
}

div#content div.important a.selected {
  border-bottom: 1px dotted #0033cc;
}

div#content div.important a.selected:hover {
  text-decoration: none;
}

div#content div.important p {
  padding: 0;
}

div#content div.important form {
  margin: 0;
}

div#content div.important form div.block {
  float: left;
  margin: 0 0.5em 0 0;
}

div#content div.important form input[type=text] {
  width: 80px;
}

div#page a.edit, div#page a.refresh, div#page a.add, div#page a.delete {
  background-image: url(../img/pencil.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 22px;
  border: none;
}

div#page a.refresh {
  background-image: url(../img/arrow_refresh.png);
}

div#page a.add {
  background-image: url(../img/add.png);
}

div#page a.delete {
  background-image: url(../img/delete.png);
}

div#page h3 span.admin, div#page h2 span.admin {
  font-size: 0.8em;
  font-weight: normal;
  color: #999;
}

div#page h3 span.admin a, div#page h2 span.admin a {
  color: #7197b0;
}

div#page div#cloud {
  margin: 1em 5em;
  text-align: center;
  font-size: 1em;
}

/* footer */

div#footer {
  clear: both;
}

div#footer, div#footer a {
  color: #111;
}

div#footer p {
  padding: 1em;
  font-size: 1em;
  text-align: center;
}

div#footer p span {
  font-size: 0.8em;
  color: #333;
}

/* paginator */

div#paginator {
  padding: 1em 0 0 0;
  text-align: center;
}

div#paginator a {
  margin: 0.2em 0.3em;
  padding: 0.15em 0.4em;
  border: 1px solid #0033cc;
}

div#paginator a:hover {
  color: white;
  background-color: #0033cc;
  text-decoration: none;
}

/* autocomplete */

div#content div#page div.autocomplete {
  position: absolute;
  width: 250px;
  background-color: white;
  border: 1px solid #888;
  margin: 0px;
  padding: 0px;
  font-size: 0.9em;
}

div#content div#page div.autocomplete ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}

div#content div#page div.autocomplete ul li.selected {
  background-color: #ffb;
}

div#content div#page div.autocomplete ul li {
  list-style-type: none;
  display: block;
  margin: 0;
  padding: 2px;
  cursor: pointer;
}

/* cloud */

div#page div#cloud {
  margin: 1em 5em;
  text-align: center;
  font-size: 0.8em;
}

/* tables */

div#page table {
  width: 100%;
}

div#page table tr td, div#page table th {
  padding: 0.1em 0.3em;
}

div#page table tr:hover td, div#page table tr.odd:hover td {
  background-color: #fff999;
}

div#page table tr.odd td {
  background-color: #f0f0f0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

div#page table tr td.num {
  font-weight: bold;
  width: 1px;
}

div#page table th {
  text-align: left;
  color: #333;
  background-color: #a7d1e9;
  border-bottom: 1px solid #7ba7c1;
}

/* buttons */

/* BUTTONS */

div#page .buttons a,div#page .buttons button{
    display:block;
    float:left;
    margin:0 7px 0 0;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;

    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:100%;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
}

div#page div.important .buttons a,div#page div.important .buttons button{
  border:1px solid #bbb;
  border-top:1px solid #ccc;
  border-left:1px solid #ccc;
}

div#page .buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}

div#page  .buttons button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}

div#page  *:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}

div#page .buttons button img, div#page  .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}

/* STANDARD */

div#page button:hover, div#page .buttons a:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}

div#page .buttons a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}

/* POSITIVE */

div#page button.positive, div#page .buttons a.positive{
    color:#529214;
}

div#page .buttons a.positive:hover, div#page button.positive:hover{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}

div#page .buttons a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* NEGATIVE */

div#page .buttons a.negative, div#page button.negative{
    color:#d12f19;
}

div#page .buttons a.negative:hover, div#page button.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}

div#page .buttons a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}

/* icons */

div#content a.edit, div#content a.delete, div#content a.user, div#content a.gallery, div#content span.calendar, div#content span.photo, div#content a.add_photo, div#content a.delete_stream, div#content span.rating, div#content span.skill, div#content span.views, div#content a.zoom_in, div#content a.zoom_out, div#content a.lock, div#content a.unlock, div#content a.enterprise, div#content a.contract, div#content a.content, div#content a.news, div#content a.category, div#content a.training, div#content a.file, div#content a.todo, div#content a.do, div#content a.undo, div#content a.create, div#content a.modify, div#content a.mini_add, div#content a.happy {
  background: url(../img/pencil.png) no-repeat left center transparent;
  padding-left: 22px;
  border: none;
}

div#content a.happy {
  background-image: url(../img/emoticon_smile.png);
  padding-left: 20px;
}

div#content a.mini_add {
  background-image: url(../img/bullet_add.png);
  padding-left: 16px;
}

div#content a.undo {
  background-image: url(../img/cross.png);
}

div#content a.todo, div#content a.do {
  background-image: url(../img/tick.png);
}

div#content a.file {
  background-image: url(../img/page_go.png);
}

div#content a.category {
  background-image: url(../img/tag_blue.png);
}

div#content a.training {
  background-image: url(../img/book_open.png);
}

div#content a.news {
  background-image: url(../img/newspaper.png);
}

div#content a.content {
  background-image: url(../img/text_align_justify.png);
}

div#content a.contract {
  background-image: url(../img/page.png);
}

div#content a.enterprise {
  background-image: url(../img/building.png);
}

div#content a.zoom_in {
  background-image: url(../img/magnifier_zoom_in.png);
}

div#content a.lock {
  background-image: url(../img/lock.png);
}

div#content a.unlock {
  background-image: url(../img/lock_open.png);
}

div#content a.zoom_out {
  background-image: url(../img/magnifier_zoom_out.png);
}

div#content span.views {
  background-image: url(../img/chart_line.png);
}

div#content a.add_photo {
  background-image: url(../img/photo_add.png);
}

div#content a.delete_stream {
  background-image: url(../img/webcam_delete.png);
}

div#content span.rating, div#content span.skill {
  background-image: url(../img/yellowstar.png);
}

div#content span.photo {
  background-image: url(../img/photo.png);
}

div#content span.calendar {
  background-image: url(../img/calendar.png);
}

div#content a.delete {
  background-image: url(../img/delete.png);
}

div#content a.user {
  background-image: url(../img/user.png);
}

div#content a.gallery {
  background-image: url(../img/photos.png);
}

div#content span.red {
  color: red;
}

div#content span.green {
  color: green;
}

div#content p.submition {
  margin: 0 0 0.5em 0;
  padding: 0.6em 1em;
}

div#content p.blue {
  background-color: #e0ecff;
  border: 1px solid #a5c9ff;
  padding: 0.6em 1em;
}

div#content span.notimportant {
  color: #666;
}