/* global */

* {
  font-style: normal;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 0;
  text-decoration: none;
}

img {
  border: none;
}

a, .blue {
  color: #158ed2;
}

a:hover {
  color: white;
  background-color: #158ed2;
}

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;
}

/* userbar */

div#userbar {
  height: 34px;
  background: url(../img/userbar_bg.jpg) repeat-x top left #5cbce4;
}

div#userbar a#signin_button {
  float: right;
  margin: 3px 0 0 7px;
}

div#userbar a#signin_button:hover {
  background: none;
}

div#userbar form {
  float: right;
  height: 34px;
  line-height: 34px;
}

div#userbar form label {
  color: white;
  font-weight: bold;
}

div#userbar div.wrapper {
  margin: 0 auto;
  width: 750px;
}

div#userbar ul {
  float: left;
}

div#userbar ul#right_menu {
  float: right;
}

div#userbar ul li {
  float: left;
  margin: 0 3px 0 0;
}

div#userbar ul li a {
  display: block;
  float: left;
  font-weight: bold;
  padding: 0 10px;
  height: 34px;
  line-height: 34px;
  color: white;
}

div#userbar ul li a.admin {
  color: red;
}

div#userbar ul li a span {
  font-weight: normal;
  color: #465B63;
}

div#userbar ul li a:hover, div#userbar ul li a.current {
  background-color: #3ca1cb;
}

/* header */

div#header {
}

div#header h1 {
  display: none;
}

div#header div.wrapper {
  margin: 0 auto;
  width: 750px;
}

div#header a#logo {
  display: block;
  width: 450px;
  height: 113px;
  margin: 0 auto;
}

div#header a#logo:hover {
  background-color: transparent;
}

/* 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: 1.5em 0 0 0;
}

div#content div.wrapper {
  margin: 0 auto;
  width: 750px;
}

div#content div#page {
}

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;
}

/* footer */

div#footer {
  clear: both;
}

div#footer, div#footer a {
  color: #111;
}

div#footer a:hover {
  color: white;
  background-color: #111;
}

div#footer p {
  padding: 1em;
  font-size: 1em;
  text-align: center;
}

div#footer p span {
  font-size: 0.8em;
  color: #333;
}

/* buttons */

/* BUTTONS */

.buttons a , .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.important .buttons a, div.important .buttons button{
  border:1px solid #bbb;
  border-top:1px solid #ccc;
  border-left:1px solid #ccc;
}

.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}

.buttons button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}

*:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}

.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}

/* STANDARD */

button:hover, .buttons a:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}

.buttons a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}

/* POSITIVE */

button.positive, .buttons a.positive{
    color:#529214;
}

.buttons a.positive:hover, button.positive:hover{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}

.buttons a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* NEGATIVE */

.buttons a.negative, button.negative{
    color:#d12f19;
}

.buttons a.negative:hover, button.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}

.buttons a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}

/* icons */

div#content a.edit, 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 span.views, div#content a.zoom_in, div#content a.zoom_out, div#content a.lock, div#content a.unlock, div#content a.create, div#content a.modify, div#content a.mini_add, div#content a.happy, div#content a.comment, div#content span.tags, div#content a.send, div#content span.send, div#content span.gmail, div#content span.yahoo, div#content span.msn, div#content span.lycos, div#content span.aol, div#content a.organize, div#content a.manage, div#content span.private, div#content a.close, div#content a.add {
  background-image: url(../img/pencil.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 20px;
  border: none;
}

div#content a.close {
  background-image: url(../img/cross.png);
}

div#content a.add {
  background-image: url(../img/add.png);
}

div#content span.private {
  background-image: url(../img/lock.png);
}

div#content a.manage {
  background-image: url(../img/wrench_orange.png);
}

div#content a.organize {
  background-image: url(../img/arrow_refresh.png);
}

div#content span.photo {
  background-image: url(../img/photo.png);
}

div#content span.gmail {
  background-image: url(../img/gmail.ico);
}

div#content span.yahoo {
  background-image: url(../img/yahoo.ico);
}

div#content span.lycos {
  background-image: url(../img/lycos.ico);
}

div#content span.aol {
  background-image: url(../img/aol.ico);
}

div#content span.msn {
  background-image: url(../img/msn.ico);
}

div#content a.send, div#content span.send {
  background-image: url(../img/email_go.png);
}

div#content span.votes {
  background-image: url(../img/thumb_up.png);
}

div#content span.tags {
  background-image: url(../img/tag_blue.png);
}

div#content a.comment {
  background-image: url(../img/comment.png);
}

div#content a.happy {
  background-image: url(../img/emoticon_smile.png);
}

div#content a.mini_add {
  background-image: url(../img/bullet_add.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 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, div#content a.slideshows {
  background-image: url(../img/photos.png);
}

div#content span.red {
  color: red;
}

div#content span.green {
  color: green;
}

/* fieldset */

fieldset {
  margin: 1em 0;
  padding: 0 1em;
  border: 1px solid #ddd;
}

fieldset legend {
  padding: 0 0.5em;
  font-weight: bold;
}

/* organize photos */

div#organize_photos div.entry {
  float: left;
  margin: 10px 10px 0 0;
  line-height: 11px;
  text-align: right;
}

div#organize_photos div.entry span {
  font-size: 11px;
}

div#manage_photos div.photo {
  width: 75px;
  height: 75px;
}

div#organize_photos div.entry.loading {
  background: url(../img/loading.gif) no-repeat center center transparent;
}

/* uploader */

div#uploader fieldset {
	margin: 5px;
}

div#uploader legend {
	font-family: Arial;
	font-size: 11pt;
	font-weight: bold;
	color: Black;
}

div#uploader fieldset.flash {
  width: 365px;
  padding: 5px;
	margin: 10px 0;
	border: 1px solid #0aa7d6;
}

div#uploader .progressWrapper {
  float: left;
	width: 357px;
	overflow: hidden;
}

div#uploader .progressContainer {
	margin: 5px;
	padding: 4px;
	
	border: solid 1px #E8E8E8;
	background-color: #F7F7F7;
	
	overflow: hidden;
}

div#uploader .red /* Error */ {
	border: solid 1px #B50000;
	background-color: #FFEBEB;
}

div#uploader .green /* Current */ {
	border: solid 1px #DDF0DD;
	background-color: #EBFFEB;
}

div#uploader .blue /* Complete */ {
	border: solid 1px #CEE2F2;
	background-color: #F0F5FF;
}

div#uploader .progressName {
	font-size: 8pt;
	font-weight: bold;
	color: #555555;
	
	width: 323px;
	height: 14px;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
}

div#uploader .progressBarInProgress, div#uploader .progressBarComplete, div#uploader .progressBarError {
	font-size: 0px;
	width: 0%;
	height: 2px;
	background-color: #0aa7d6;
	margin-top: 2px;
}

div#uploader .progressBarComplete {
	width: 100%;
	background-color: green;
	visibility: hidden;
}

div#uploader .progressBarError {
	width: 100%;
	background-color: red;
	visibility: hidden;
}

div#uploader .progressBarStatus {
	margin-top: 2px;
	width: 337px;
	font-size: 7pt;
	font-family: Verdana;
	text-align: left;
	white-space: nowrap;
}

div#uploader a.progressCancel, div#uploader a.progressCancel:link, div#uploader a.progressCancel:active, div#uploader a.progressCancel:visited, div#uploader a.progressCancel:hover {
	font-size: 0px;
	display: block;
	height: 14px;
	width: 14px;
	
	background-image: url(../img/cancelbutton.gif);
	background-repeat: no-repeat;
	background-position: -14px 0px;
	float: right;
}

div#uploader a.progressCancel:hover  {
	background-position: 0px 0px;
}

/* progressbar */

div#progressbar {
  height: 48px;
  margin: 0 0 1.5em 0;
}

div#progressbar img {
  display: block;
  float: left;
}

/* show */

div#content.show h2 {
  float: left;
  background-color: #f1f1f1;
  margin: 0 0 0 10px;
  padding: 7px 9px;
  font-size: 16px;
}

div#content.show h2 a span.tooltip {
  display: none;
  position: absolute;
}

div#content.show h2 a:hover span.tooltip {
  display: block;
  background-color: #158ed2;
}

div#photo_container, div#flash_container, div.block {
  border: 7px solid #f1f1f1;
  clear: both;
  padding: 5px;
}

div#flash_container {
  padding: 10px;
}

div#photo_container a:hover {
  background-color: transparent;
}

div#photo_container div#report a:hover {
  background-color: #158ed2;
}

div#photo_container p {
  text-align: center;
  padding: 5px 0 10px 0;
  font-size: 1.1em;
  color: #999;
}

a#previous, a#next, div#photo_container div.navigator_placeholder {
 display: block;
 float: left;
 height: 50px;
 width: 25px;
 filter:alpha(opacity=60);
 -moz-opacity:0.6;
 opacity:0.6;
}

a#previous:hover, a#next:hover {
  filter:alpha(opacity=90);
   -moz-opacity:0.9;
   opacity:0.9;
}

a#photo {
  float: left;
}

div#other_photos {
  margin: 10px 0 0 0;
  border: 5px solid #f1f1f1;
  background-color: #f1f1f1;
}

div#other_photos a {
  display: block;
  float: left;
  border: 1px solid #f1f1f1;
  margin: 1px;
}

div#other_photos a img {
  display: block;
  float: left;
}

div#other_photos a.current {
  border: 2px solid #158ed2;
  margin: 0;
}

div#userbar.show div.wrapper, div#userbar.browse div.wrapper, div#header.show div.wrapper, div#header.browse div.wrapper {
  width: 870px;
}

div#content.browse div.wrapper {
  width: 780px;
}

div#content.show div.wrapper {
  width: 870px;
}

div.tabs {
  display: block;
  float: right;
  font-size: 12px;
  margin: 7px 0 0 0;
}

div.tabs a {
  padding: 2px 4px;
}

div#header.show, div#header.browse {
  background-color: #f5f5f5;
}

div#header.show a#logo, div#header.browse a#logo {
  margin: 0;
  width: 384px;
  height: 99px;
}

/* size */

div#userbar.size div.wrapper, div#header.size div.wrapper, div#content.size div.wrapper {
  width: 98%;
}

div#content.size {
  padding: 5px 0 0 0;
}

div#header.size div.wrapper {
  border-bottom: 5px solid #f5f5f5;
  padding: 5px 0 0 0;
}

div#header.size a#logo {
  margin: 0;
  width: 291px;
  height: 60px;
  float: left;
}

p#size_selector a.entry {
  display:block;
  float: left;
  border-left: 1px solid #ccc;
  padding: 0 10px;
  text-align: center;
}

p#size_selector a.entry.current {
  background-color: #f5f5f5;
  color: black;
  font-weight: bold;
}

.notimportant {
  color: #ccc;
}

div#content.size div#photo img {
  border: 1px solid #ccc;
  margin: 10px 0 10px 0;
}

div#content.size hr {
  border: 0;
  border-bottom: 5px solid #f5f5f5;
  visibility: visible;
  margin: 20px 0 10px 0;
}

/* 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.no_effect tr:hover td, div#page table.no_effect tr.odd:hover td {
  background-color: transparent;
}

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: #158ed2;
  color: white;
  border-bottom: 1px solid #05566E;
}

/* 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 #158ed2;
}

div#paginator a:hover {
  color: white;
  background-color: #158ed2;
  text-decoration: none;
}

/* important */

div#content div.important {
  margin: 15px 0;
  padding: 5px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background-color: #f6f6f6;
}

div#content div.important a.selected {
  border-bottom: 1px dotted #2772e3;
}

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.entity {
  float: left;
  margin: 0 5px 0 0;
}

div#content div.important form input[type=text] {
  width: 80px;
}

/* uploads */

div#uploads fieldset {
  border: none;
  border-top: 1px solid #ED560B;
  padding: 4px 4px 4px 2px;
}

div#content div#uploads fieldset legend{
  margin-left: 10px;
}
