/*//////////////////////////////////////////////////////////////////////////////
//   Copyright (C) Anton Vlasov aka druidvav <druidvav@gmail.com>             //
//                                                                            //
//   This program is distributed in the hope that it will be useful,          //
//   but WITHOUT ANY WARRANTY, without even the implied warranty of           //
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                     //
//                                                                            //
//   This product released under GNU General Public License v2                //
//////////////////////////////////////////////////////////////////////////////*/

body {
	margin: 0;
	padding: 0;
}

table {
	font-size: 100%;
	padding: 0;
	margin: 0;
}

tr, td, th {
	padding: 0;
	margin: 0;
}

img {
	border: 0;
}

p {
	padding: 0;
	margin: 0 0 1.0em 0;
	line-height: normal !important;
}

acronym {
	cursor: help;
	border-bottom: 1px dotted black;
}

h1, h2, h3, h4, h5, .title {
    font-size: 100%;
    font-weight: normal;
    margin-left: 0 0 1em 0;
    padding-left: 0.5em 0 0 0;
    clear: left;
}

h1 {
	font-size: 160%;
	margin-left: 0px;
	font-weight: bold;
}

h2 {
	font-size: 150%;
	margin-left: 5px;
	font-weight: bold;
}

ul {
	line-height: 1.5em;
	margin: 0 0 0.5em 1.5em;
	padding: 0;
}

ol {
	line-height: 1.5em;
	margin: 0 0 0.5em 1.5em;
	padding: 0;
	font-weight: bold;
}

blockquote {
	border-left: 2px solid #8cacbb;
	padding-left: 3px;
	margin-left: 0;
}

pre {
	font-size: 120%;
	padding: 0.5em;
	overflow: auto;
}

/* Global classes */

.leftalign{
	text-align: left;
}

.centeralign{
	text-align: center;
}

.rightalign{
	text-align: right;
}

.boldtext {
	font-weight: bold;
}

.title {
	font-size: 110%;
	margin: 0;
	font-weight: bold;
	padding: 0;
}

div.clear {
	clear: both;
}

span.power {
	vertical-align: super;
	font-size: 60%;
	font-weight: normal;
}

span.sub {
	vertical-align: sub;
	font-size: 80%;
	font-weight: normal;
}

table.inline {

}

table.inline th {
	padding: 3px;
}

table.inline td {
	padding: 3px;
}

.pages {
	font-weight: bold;
	margin: 5px 0px 5px 0px;
	text-align: left;
}

.pages .cur {
	margin: 1px;
	padding: 1px;
}

.cloud a, .cloud a:hover {
	text-decoration: none;
}

div.ident {
	margin-left: 10px;
}

/* Page definition, header and footer */

div#page {
	margin: 0 auto 0 auto;
/*	text-align: justify;
	width: 760px;*/
}

div#page-heading {
	padding: 4px 4px 0px 0px;
	position: relative;
}

div#page-heading h1#page-heading-pagetitle {
	margin: 4px 0 3px 8px;
	padding: 0;
	text-align: left;
}

div#page-heading h1#page-heading-sitetitle {
	margin: 0 0 3px 8px;
	padding: 0 4px 1px 4px;
	text-align: left;
	display: inline;
}

div.page-heading-nav {
	position: absolute;
	bottom: 0px;
	margin: auto 0 0 0;
	text-align: left;
	padding: 4px;
	width: auto;
}

div.page-heading-nav div {
	margin: 2px;
}

div#page-content {
	margin-left: 3px;
	margin-right: 3px;
	padding: 3px;
}

div#page-footer {
	margin: 4px 0px 0px 0px;
	padding: 1px 2px 2px 2px;
	clear: both;
}

div#page-footer-buttons {
	float: right;
}

p#page-footer-notice {
	font-size: 80%;
}

/* Forms */

form {
	border: none;
	margin: 0;
	display: inline;
}

fieldset {
	width: 400px;
	text-align: center;
	padding: 4px;
	display: block;
	margin: 2px auto 7px auto;
}

fieldset.bigger {
	width: 600px;
}

textarea.edit {
	font-size: 100%;
	padding: 3px;
}

input.edit, select.edit, input.missing, input.button {
	font-size: 100%;
	vertical-align: middle;
	display: inline;
	padding: 1px;
}

input.missing {

}

input.button {
	cursor: pointer;
	margin: 1px;
	font-size: 110%;
}

input.default {
	font-weight: bold;
}

fieldset label {
	float: left;
	width: 30%;
	display: block;
	text-align: right;
	font-weight: bold;
}

fieldset label.simple {
	display: inline;
	text-align: left;
	font-weight: normal;
}

fieldset input, fieldset textarea, fieldset select {
	float: right;
	width: 65%;
}

fieldset div.button {
	width: 100%;
	text-align: center;
}

fieldset input.button {
	width: auto;
	float: none;
}

fieldset div.checkbox label {
	display: inline;
	text-align: left;
	width: auto;
}

fieldset div.checkbox input {
	float: right;
	width: auto;
}

fieldset div {
	clear: both;
	margin: 1px 1px 2px 1px;
	padding: 1px;
}

label input.edit {
	width: 50%;
}

/* Multiple items management */

div.heading {
	padding: 2px;
	margin: 0px;
}

/* Last images on index */

div#index-lastimages {
	width: 22%;
	margin: 5px;
	float: right;
}

div#index-lastimages h2 {
	text-align: center;
	font-size: 110%;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

div.index-lastimages-image {
	text-align: center;
	margin: 0px;
	padding: 6px 0px 6px 0px;
}

div.index-lastimages-image-info {
	text-align: left;
	font-size: 85%;
	margin: 4px;
}

div.index-lastimages-image-info h3 {
	font-weight: bold;
	margin: 1px;
}

div.index-more {
	margin: 6px 2px 2px 2px;
	text-align: right;
	font-weight: bold;
}

/* Main block on index */

div#index-main {
	width: 72%;
	margin: 0 1.5em 0 0;
	float: left;
}

/* Tags page */

div#tags-main {
}

/* Messages */

.message {
	font-size: 120%;
	margin: 2px 6px 4px 6px;
}

.remark {
	font-size: 80%;
	font-weight: normal;
	text-decoration: none;
	margin: 0;
	padding: 0;
}

.important {
	color: red;
	font-weight: bold;
}

/* Images view */

div#images-main {

}

div#images-main ul, .gallery-overview {
    padding: 0;
    list-style-type: none;
    text-align: center;
    margin-left: auto;
}

div#images-main ul li, .gallery-overview li {
    float: left;
    padding: 5px;
    margin: 5px;
    width: 165px;
    height: 215px;
}

.images-image img {
    margin: 0;
    padding: 2px;
}

.images-info {
    margin-left: 1px;
    margin-top: 0;
    text-align: left;
	font-size: 85%;
}

.images-info p {
	margin: 0px;
}


.images-info .value {
	font-weight: bold;
}

/* Image view */

div#image-main {

}

div#image-panel {
	width: 235px;
	float: left;
	font-size: 95%;
	text-align: center;
}

div.image-panel-element {
	padding: 3px;
	margin-top: 10px
}

div#image-image {
	float: left;
}

div.image-panel-element .value {
	font-weight: bold;
}

div.image-panel-element .cur-tag {
	font-weight: bold;
}

div.image-panel-rating {
	font-size: 300%;
}

/* Administration */

table.admin-table {
	margin: auto;
	margin-top: 10px;
}

table.admin-table .edit {
	width: 95%;
}

table.admin-table .v-top {
	vertical-align: top;
}