/* 
 * fiveoclock CSS
 *
 * Copyright 2009-2010 ARCHETWIST.COM
 *
 * All rights reserved
 *
 */

/* HTML elements
----------------------------------------------- */

body {
	margin: 0 2em;
	padding: 0;
	font: .8em Arial, sans-serif;
	background-image: url(images/background.png);
	background-repeat: repeat-y;
	background-position: center;
	background-color: #FFF;
	color: #6A6A6A;
	line-height: 1.4em;
	}

h1 {
	font-size: 1.4em;
	}
h2 {
	font-size: 1.2em;
	}
h3 {
	font-size: 1.1em;
	}
h4 {
	font-size: 1.0em;
	}
h5 {
	font-size: 0.9em;
	}
h6 {
	font-size: 0.8em;
	}

a {
	background-color: inherit;
	color: #FFF;
	text-decoration: none;
	}
a:hover {
    text-decoration: underline;
    }

img {
	border: 0;
	vertical-align: middle;
	}

dt {
	margin-top: 1em;
	margin-bottom: .5em;
	}
dd {
	margin-left: 2.5em;
	}

ul, ol {
	margin: 1em 0;
	padding: 0 0 0 2.5em;
	}
ul li, ol li {
	margin: .1em 0;
	}
ul li {
	list-style-type: disc;
	}

/* Layout
----------------------------------------------- */

#container {
	width: 800px;
	margin: 1em auto 2em auto;
	background-color: #CCD2B7;
	color: inherit;
	}

#logo {
	clear: both;
	padding: 1em 0;
	}

#header,
#footer {
	position: relative;
	margin: 10px 20px;
	}

#header .block {
	float: left;
	margin-right: 2em;
	font-size: .9em;
	}
#header .breadcrumb {
	float: right;
	margin: .5em 0;
	}

#header {
	padding-bottom: 2em;
	border-bottom: 1px #FFF solid;
	}

#content {
	position: relative;
	margin: 20px;
	}

.front #title {
	display: none;
	}

#footer {
	margin-bottom: 1em;
	border-bottom: 1px #FFF solid;
	}

#copyright {
	margin: 0 20px;
	font-size: .9em;
	}

/* General
----------------------------------------------- */

.clear {
	clear: both;
	}
.hidden {
	display: none;
	}

.left {
	float: left;
	}
.right {
	float: right;
	text-align: right;
	}

.messages {
	margin: 2em 0;
	padding: 1em;
	background-color: #E1BF00;
	color: #000;
	font-weight: bold;
	}
.error {
	background-color: #FFAE79;
	color: inherit;
	}

.preview {
	margin: 1em 0;
	padding: 1em;
	background-color: #E6E9DC;
	color: inherit;
	}

/* Nodes */

.node {
	margin: 2em 0;
	}
.node .contact a {
	text-decoration: underline;
        }

/* Lists */

ul.links {
	margin: .5em 0;
	padding: 0;
	}
ul.links li {
	display: inline;
	margin: 0 .8em 0 0;
	padding: 0;
	}
li a.active {
    color: #E97705;
    background-color: inherit;
    }

/* Tables */

table {
	width: 100%;
	margin: 1em 0;
	}

th,
td {
	padding: .2em 1em .2em .2em;
	text-align: left;
	}

td {
	vertical-align: middle;
	}

.sticky-header {
	margin-top: 0;
	background-color: #C7CDAF;
	color: inherit;
	}

/* Forms */

fieldset {
	margin: 1em 0;
	padding: 1em;
	background-color: #C7CDAF;
	color: inherit;
	border: 0;
	}

.form-item {
	margin: .3em 0;
	font-size: 1em;
	}

.form-text,
.form-textarea {
	padding: .3em;
	background-color: #EEE;
	color: #000;
	border: 1px #AAA solid;
	}
.form-textarea {
	width: 90%;
	}

label {
	display: block;
	margin: 1em 0 0 0;
	font-weight: bold;
	}

.form-submit {
	margin: .6em .6em .6em 0;
	padding: .2em;
	background-color: #F8F8F8;
	color: #6A6A6A;
	border-width: 1px;
	border-color: #FFF #EEE #EEE #FFF;
	border-style: solid;
	}

.form-required {
	margin: 0 .2em;
	background-color: inherit;
	color: #E14400;
	}

.description {
	font-size: .9em;
	}

/* Menus */

ul.menu {
	margin: .5em 0;
	padding: 0;
	}
ul.menu li {
	display: inline;
	margin: 0 1em 0 0;
	}

.forum-topic-navigation {
	display: none;
	}

/* Tabs */

ul.primary,
ul.secondary {
	margin: 1em 0;
	padding: .5em 1em 0 0;
	}

ul.primary {
	border-bottom: 1px solid #FFF;
	}
ul.secondary {
	border-bottom: 1px solid #EEE;
	}

ul.primary li,
ul.secondary li {
	display: inline;
	padding: 0 1em;
	}
ul.primary a,
ul.secondary a {
	padding: 0;
	}

ul.primary li.active a {
	border-bottom: 4px solid #FFF;
	}
ul.secondary a.active {
	border-bottom: 4px solid #EEE;
	}

/* Pager */

.pager {
	margin: 1em 0 2em 0;
	padding: 0;
        font-size: .9em;
	text-align: center;
        text-transform: uppercase;
	}

.item-list ul.pager {
        margin-bottom: 2.4em;
        }
.item-list .pager li {
	display: inline;
	margin: 0 .2em;
        padding: .2em .5em;
        background-color: #FFF;
        color: inherit;
	}

.pager-current {
        font-weight: normal;
        }

/* Views */

table.views-view-grid {
	width: 100%;
	}

.view-header {
    text-align: center;
}

/* Login box */

#footer #block-user-0,
#footer #block-user-0 input.form-submit {
	font-size: .9em;
	padding: .2em;
	}

#footer #block-user-0 label,
#footer #block-user-0 input,
#footer #block-user-0 div,
#footer #block-user-0 ul,
#footer #block-user-0 li {
	display: inline;
	}
#footer #block-user-0 input,
#footer #block-user-0 li {
	margin-right: 1em;
	}

#footer #block-user-0 .form-required {
	display: none;
	}
#footer #block-user-0 .form-text {
	padding: .1em;
	}

/* Administration */

.block-region {
	clear: both;
	margin: 1em 0;
	padding: 1em;
	line-height: normal;
	background-color: #BED3E9;
	color: inherit;
	}

td.region {
	font-weight: bold;
	}

tr.region-empty {
	background-color: inherit;
	color: #AAA;
	}

.admin .left,
.admin .right {
	width: 48%;
	}

/* Version status */

table.update {
	line-height: 18px;
	}

.version-status {
	float: right;
	}

.icon {
	margin: 0 .5em;
	}

table.update ul {
	margin: 0;
	padding: 0;
	}
table.update ul li {
	margin: 0 1em 0 0;
	}

table.update table td {
	padding: 0;
	}

/* Specific
----------------------------------------------- */

/* Node: Painting, Artwork */

.node-type-painting #title,
.node-type-painting .node,
.node-type-artwork #title,
.node-type-artwork .node {
	text-align: center;
	}

.node-type-painting .product-image,
.node-type-artwork .field-field-artwork-picture {
	float: none;
	margin: 2em 0;
	}

.node-type-artwork .field-label,
.node-type-artwork .field-items,
.node-type-artwork .field-item {
	display: inline;
	}
.node-type-artwork .field-field-artwork-picture .field-label {
	display: none;
	}

.node-type-painting .model {
	display: auto;
	margin: 0;
	font-weight: normal;
	}

.node-type-artwork .field-field-artwork-sold .field-label {
	display: none;
	}

.node-type-artwork h2#title {
	margin-bottom: 0;
}
.node-type-artwork .node {
	margin-top: 0;
}

.node-type-artwork .custom-pager-top {
	position: relative;
}
.node-type-artwork .custom-pager-top li.previous,
.node-type-artwork .custom-pager-top li.next {
	position: absolute;
	top: -2em;
	width: 40%;
	margin: 0;
}
.node-type-artwork .custom-pager-top li.previous {
	left: 0;
	text-align: left;
}
.node-type-artwork .custom-pager-top li.next {
	right: 0;
	text-align: right;
}
.node-type-artwork .custom-pager-top li.key {
	width: 20%;
	margin: -2em 40% 2em 40%;
}

/* Node: Page */

.node-type-page .imagefield-field_other_picture {
	float: right;
	margin: .2em 0 1em 1em;
	border: 4px #fff solid;
}

/* Views and node pages */

.page-works #title {
	text-transform: capitalize;
	}

.view-works table.views-view-grid td,
.view-teapots table.views-view-grid td {
	width: 128px;
	padding: 0 0 2em 0;
	vertical-align: top;
	}
.view-works table.views-view-grid td.col-1,
.view-works table.views-view-grid td.col-2,
.view-works table.views-view-grid td.col-3,
.view-works table.views-view-grid td.col-4,
.view-teapots table.views-view-grid td.col-1,
.view-teapots table.views-view-grid td.col-2,
.view-teapots table.views-view-grid td.col-3,
.view-teapots table.views-view-grid td.col-4, {
	padding-right: 25px;
	}

.view-works .views-field-title,
.view-teapots .views-field-title {
	font-size: .9em;
	}

.field-content img,
.product-image img,
.image img,
.field-field-artwork-picture img {
	padding: 0 !important;
	border: 4px #FFF solid;
	}

.views-field-buyitnowbutton input.list-add-to-cart,
.views-field-sell-price {
	float: left;
	margin: .2em 0;
	padding: .2em;
	}

.product-image {
	padding: 0;
	}

#cart-form-products,
#cart-form-buttons,
#checkout-form-bottom,
.cart-review,
.order-review-table,
.order-pane {
	margin: 1em 0;
	background-color: #C7CDAF;
	color: inherit;
	border: 0;
	}

.order-review-table {
	width: 100%;
	}
.order-review-table .pane-title-row,
.order-pane thead,
.order-pane-table thead th {
	background-color: #E1BF00;
	color: inherit;
	}
.order-review-table .review-button-row {
	background-color: inherit;
	color: inherit;
	}

#store-footer {
	margin: 2em 0;
	}
#store-footer a {
	background-color: inherit;
	color: #6A6A6A;
	}

/* Tertiary menu */

#block-menu-menu-tertiary-links li a {
    color: #1C9AB0;
    }
#block-menu-menu-tertiary-links li a.active {
    color: #E97705;
    }

/* AJAX
----------------------------------------------- */

/* Autocomplete styles */

#autocomplete {
	position: absolute;
	border: 1px solid;
	overflow: hidden;
	}
#autocomplete ul {
	margin: 0;
	padding: 0;
	list-style: none;
	}
#autocomplete li {
	background: #FFF;
	color: #000;
	white-space: pre;
	cursor: default;
	}
#autocomplete li.selected {
	background: #0072B9;
	color: #FFF;
	}

/* Animated throbber */

html.js input.form-autocomplete {
	background-image: url(/misc/throbber.gif);
	background-repeat: no-repeat;
	background-position: 100% 5px;
	}
html.js input.throbbing {background-position: 100% -15px;}

/* Progressbar styles */

.progress {font-weight: bold;}
.progress .bar {
	height: 1.5em;
	margin-top: .2em;
	background: #FFF url(/misc/progress.gif);
	color: inherit;
	border: 1px solid #00375a;
	}
.progress .filled {
	height: 1em;
	width: 0;
	background: #0072B9;
	color: inherit;
	border-bottom: .5em solid #004A73;
	}
.progress .percentage {float: right;}

/* Collapsing fieldsets */

html.js fieldset.collapsed {
	margin-bottom: 0;
	padding-top: 0;
	border-bottom-width: 0;
	border-left-width: 0;
	border-right-width: 0;
	background-color: transparent;
	background-image: none;
	color: inherit;
	}
html.js fieldset.collapsed * {
	display: none;
	}
html.js fieldset.collapsed table *,
html.js fieldset.collapsed legend,
html.js fieldset.collapsed legend * {
	display: inline;
	}
html.js fieldset.collapsible legend a {
	padding-left: 15px;
	background-image: url(/misc/menu-expanded.png);
	background-position: 5px 50%;
	background-repeat: no-repeat;
	}
html.js fieldset.collapsed legend a {
	background-image: url(/misc/menu-collapsed.png);
	}
* html.js fieldset.collapsible legend a {
	display: block; /* IE */
	}

/* Resizable text areas */

.resizable-textarea .grippie {
	height: 9px;
	background-image: url(/misc/grippie.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #EEE;
	color: inherit;
	border-color: #BBB;
	border-style: solid;
	border-width: 0 1px 1px 1px;
	cursor: s-resize;
	overflow: hidden;
	}

/* Table drag and drop */

.draggable a.tabledrag-handle {
	cursor: move;
	float: left;
	padding-right: 1.5em;
	}
a.tabledrag-handle:hover {
	text-decoration: none;
	}
a.tabledrag-handle .handle {
	width: 15px;
	height: 15px;
	margin-top: 2px;
	background-image: url(../../../../misc/draggable.png);
	background-position: 0 0;
	background-repeat: no-repeat;
	}
a.tabledrag-handle-hover .handle {
	background-position: 0 -20px;
	}

/* Teaser splitter */

.joined + .grippie {
	height: 5px;
	background-position: center 1px;
	margin-bottom: -2px;
	}

.teaser-checkbox {
	padding-top: 1px;
	}
div.teaser-button-wrapper {
	float: right;
	padding-right: 5%;
	margin: 0;
	}
.teaser-checkbox div.form-item {
	float: right;
	margin: 0 5% 0 0;
	padding: 0;
	}
textarea.teaser {
	display: none;
	}
html.js .no-js {
	display: none;
	}

/* Passwords */

span.password-confirm,
span.password-strength {
	visibility: hidden;
	}

/* Regions */

tr.region-populated {
	display: none;
	}
