/*	MAIN DOM ELEMENTS
_____________________________________________________________*/

body {
	background-color:#79795D;
	color: #FFF;
}

a:link, a:visited, a:active {
	color: #FFF;
	text-decoration:none;
}

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

/*	GLOBAL STYLES
_____________________________________________________________*/

.red {
	color:#B50400;
}

.note,
.highlight {
	border:1px solid #63624C;
	background:#D3D1B6;
	color:#63624C;
}

.avatar {
	background:#FFF;
	border:1px solid #39161C;
}

.loadingbg {
	background:#FFF;
}

p.error,
li.error {
	color:#B50400;
}

.small-button {
	border:1px solid #999379;
	background-image:url('../images/ui/sprite.png');
	color:#3F3D32 !important;
}

.small-button:hover {
	background:url('../images/ui/sprite.png') 0px -200px;
}

.icon {
	background:#FFF;
	background-position:center center;
	border: 0.1em solid #C9C0A6;
}

/*	ERROR MESSAGE STYLES
_____________________________________________________________*/

div.error {
	border:1px solid #E4DC6B;
	background:#FEFBCF;
	color:#B50400;
}

/*	MODAL DIALOG BOX
_____________________________________________________________*/

#control_overlay {  
    background-color:#000;
}

.modal {  
    background-color:#FFF;  
    padding:10px;  
    border:1px solid #353227;
}

.modal-close {
	background:url('../images/ui/sprite.png') 0px -700px;
}

.modal-title span {
	color:#777055;
}

/*	TOOLTIP BOX STYLES
_____________________________________________________________*/

.tooltip {
	background-color:#FFF;
	border:1px solid #39161C;
	-webkit-box-shadow: 0px 0px 30px #000;
	-moz-box-shadow: 0px 0px 30px #000;
	-opera-box-shadow: 0px 0px 30px #000;
	box-shadow: 0px 0px 30px #000;
}

/*	HEADER AND NAVIGATION
_____________________________________________________________*/

#header {
	background:#514C3D url('../images/ui/masthead.gif');
}
	
#header #logo {
	color:#FFF;
}
	
#header #search input.text {
	background:#FFF;
	color:#3F3D32;
}

#header #sitetools #usertools a.button,
#header #sitetools #search a.button {
	background:#63624C;
	color:#FFF;
}

#header #sitetools #usertools a.button:hover,
#header #sitetools #search a.button:hover {
	background:#D6BB55;
	color:#000;
}

#header #sitetools #usertools a.active,
#header #sitetools #search a.active {
	background:#DBD2B9 !important;
	color:#3F3D32 !important;
}

#header #nav li a {
	color: #FFF;
	background:#63624C;
	-moz-border-radius-topleft: 4px;
	-khtml-border-top-left-radius: 4px;
	-webkit-border-top-left-radius: 4px;
	border-top-left-radius: 4px;
	-moz-border-radius-topright: 4px;
	-khtml-border-top-right-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	border-top-right-radius: 4px;
}
	
#header #nav li a:hover {
	color: #000;
	background: #D6BB55;
}
	
#header #nav li.active a { /* currrent selected tab */
	color: #fff;
	background: #79795D;
}

a.navigation-link {
	color:#514C3D;
}

a.navigation-link:hover {
	color:#000;
}

/*	FOOTER AND COPYRIGHT
_____________________________________________________________*/

#copyright {
	border-top:1px solid #63624C;
	color:#FFF;
}

/*	FORMS AND LAYOUT BOXES
_____________________________________________________________*/

div.block {
	background:#9A967C;
}

div.block .border-bottom {
	border-bottom:1px solid #63624C;
}

div.block hr {
	border-bottom:1px solid #63624C;
}

div.block div.head {
	color:#D3D1B6;
	border:1px solid #79795D;
	/*
border-left:1px solid #63624C;
	border-right:1px solid #63624C;
	border-bottom:1px solid #63624C;
*/
	background-color:#63624C;
	padding-left:10px;
}

div.block div.head a {
	color:#FFF;
}

div.block div.subhead {
	border-left:1px solid #63624C;
	border-right:1px solid #63624C;
	background-color:#A6A588;
}

div.block div.body {
	border-left:1px solid #63624C;
	border-right:1px solid #63624C;
	border-bottom:1px solid #63624C;
	color: #000;
}

div.block .body h1.title {
	border-bottom:1px solid #B7B09E;
	background:#EAE3D0;
}

div.block div.br {
	border-right:1px dotted #B7B09E;
}

div.block div.box textarea.text {
	border:1px solid #B7B09E;
	color:#3F3D32;
	background:#FFF;
}

div.block div.box input.text {
	border:1px solid #B7B09E;
	color:#3F3D32;
	background: #FFF;
}

div.block div.box .textbox {
	border:1px solid #B7B09E;
	color:#3F3D32;
	background:#FFF;
}

div.block div.box input.button {
	border:1px solid #999379;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	background:url('../images/ui/sprite.png');
	color:#3F3D32;
}

div.block div.box input.button:hover {
	background-image:url('../images/ui/sprite.png');
	background-position:0px -200px;
}

div.block div.box input.button:disabled {
	color:#79795d;
}

div.block div.box select.select {
	border:1px solid #999379;
	color:#3F3D32;
	background:url('../images/ui/sprite.png');
}

div.block div.r1 {
	background:#FFF;
}

div.block div.r2 {
	background:#F0F0F0;
}

#placeholder td {
	color:#000 !important;
}

/*	TABLE LIST VIEW
_____________________________________________________________*/

table.list {
	border:1px solid #39161C;
}

table.list th {
	border-right:1px solid #39161C;
	border-bottom:1px solid #39161C;
	border-top:1px solid #39161C;
	color:#FFF;
	background:#777055;
}

table.list td {
	border-right:1px dotted #39161C;
	color:#000;
}

table.list td a:link, table.list td a:visited {
	color:#000;
	text-decoration:none;
}

table.list td a:hover, table.list td a:active {
	color:#000;
	text-decoration:underline;
}

table.list tr.r1 {
	background:#FFF;
}

table.list tr.r1:hover {
	background:#F2EBDD;
}

table.list tr.r2 {
	background:#EAE3D0;
}

table.list tr.r2:hover {
	background:#F4EDDF;
}

table.list tr.r3 {
	background:#B7B09E;
}

/*	TABBED PANEL VIEW
_____________________________________________________________*/

div.tabcontainer {
	border-top:5px solid #63624C;
}

ul.tabs li.tab a {
	-moz-border-radius-topleft: 4px;
	-khtml-border-top-left-radius: 4px;
	-webkit-border-top-left-radius: 4px;
	border-top-left-radius: 4px;
	-moz-border-radius-topright: 4px;
	-khtml-border-top-right-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	border-top-right-radius: 4px;
	color:#FFF;
	background:#63624C;
}
	
ul.tabs li.tab a:hover {
	background:#63624C;
}
	
ul.tabs li.tab a.active {
	background:#63624C;
}

/*	TABLE LIST ACTIVITY BUTTONS
_____________________________________________________________*/

.button-normal,
.tab-button .button,
a.button,
a.icon-button,
ul.button a {
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	background:#DBD2B9 url('../images/ui/sprite.png');
	border:1px solid #999379;
	color:#3F3D32;
}

.button-hover,
.tab-button .button:hover,
a.button:hover,
a.icon-button:hover,
ul.button a:hover {
	background:#DBD2B9 url('../images/ui/sprite.png') 0px -200px;
}

.tab-button .button.selected,
a.button.selected,
a.icon-button.selected,
ul.button.selected a {
	background:#DBD2B9 url('../images/ui/sprite.png') 0px -100px;
	border:1px solid #777055;
	color:#FFF;
}


/*	BLOG STYLES
_____________________________________________________________*/

.blog hr {
	border-top:1px solid #39161C !important;
}

/*	CONTEXTUAL MENU
_____________________________________________________________*/

#control_contextmenu {  
	border-top:1px solid #79795d;
	border-left:1px solid #79795d;
	border-right:1px solid #79795d;
	-moz-box-shadow: 1px 1px 8px #3F3D32;
	-webkit-box-shadow: 1px 1px 8px #3F3D32;
	-opera-box-shadow: 1px 1px 8px #3F3D32;
} 
 
#control_contextmenu ul li {  
    color:#3F3D32;  
	border-bottom:1px solid #79795d;
	background:#F4F4F4;
} 
 
#control_contextmenu ul li.selected, 
#control_contextmenu ul li:hover {  
	color:#FFF;
	background:#666055;
} 
 
#control_contextmenu ul li.selected:hover {  
	color:#3F3D32;
	background-color:#EAE3D0;
} 
 
#control_contextmenu ul li.disabled, 
#control_contextmenu ul li:hover.disabled {  
    background-color: #EAE3D0;  
    color:#39161C;  
}

/*	THUMBNAIL PAGINATION
_____________________________________________________________*/

.subhead .thumb-opt input.text {
	border:1px solid #999379;
	color:#3F3D32;
	background:#FFF;
}

.subhead .thumb-opt a {
	border:1px solid #999379;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	background:url('../images/ui/sprite.png');
	color:#3F3D32;
}

.subhead .thumb-opt a:hover {
	background:url('../images/ui/sprite.png') 0 -200px;
}
	
.subhead .thumb-opt a.selected {
	background:url('../images/ui/sprite.png') 0 -100px;
	border:1px solid #777055;
	color:#FFF;
}
	
.subhead .thumb-opt .disabled,
.subhead .thumb-opt a.current {
	color:#999379;
} 

/*	THUMBNAILS
_____________________________________________________________*/

.thumbnail {
	background:#FFF;
	border: 1px solid #C9C0A6;
}

.thumbnail-container .handle {
	background:url('../images/ui/sprite.png') 0 -560px;
}

.thumbnail-container .large,
.thumbnail-container .small {
	background:#A7A588;
	border:1px solid #79795D;
}

/* title links */

.thumbnail-container dl a:link, .thumbnail-container dl a:visited {
	/* background:#D6BB55 !important; */
	color:#fff !important;
	text-decoration:none !important;
	padding:0 !important;
	border:0 !important;
	outline:0 !important;
}
.thumbnail-container dl a:active, .thumbnail-container dl a:hover {
	/* background:#d7bc57 !important; */
	color:#fff !important;
	text-decoration:underline !important;
	padding:0 !important;
	border:0 !important;
	outline:0 !important;
}

/* image links */

.thumbnail-container .img a:link, .thumbnail-container .img a:visited {
	/* background:#D6BB55 !important; */
	color:#000 !important;
	text-decoration:none !important;
	padding:0 !important;
	border:0 !important;
	outline:0 !important;
	border:0 !important;
}
.thumbnail-container .img a:active, .thumbnail-container .img a:hover {
	/* background:#d7bc57 !important; */
	color:#000 !important;
	text-decoration:underline !important;
	padding:0 !important;
	border:0 !important;
	outline:0 !important;
	border:0 !important;
}

/* img style */
.thumbnail-container .img img {
	border:1px solid #000 !important;
}

/* img hover style */
.thumbnail-container .img img:hover {
	border:4px solid #D6BB55 !important;
}


/* icon links */

.thumbnail-container .actions a:link, .thumbnail-container .actions a:visited {
	background:#fff !important;
	color:#000 !important;
	text-decoration:none !important;
	padding:0 !important;
	outline:0 !important;
	border:1px solid #878787 !important;
}
.thumbnail-container .actions a:active, .thumbnail-container .actions a:hover {
	background:#D7BC57 !important;
	color:#000 !important;
	text-decoration:underline !important;
	padding:0 !important;
	outline:0 !important;
	border:1px solid #878787 !important;
}

/*	IMAGE DETAIL VIEW
_____________________________________________________________*/

.image {
	background:#FFF;
	border:1px solid #C9C0A6;
}

.quicklinks,
.quicklinks-active {
	background:#b2b192;
	border:1px solid #79795d;
}

.quicklinks-active {
	background:#d6d5b6;
	border:1px solid #79795d;
}

.quicklinks-active .thumbnail {
	border:1px solid #79795d !important;
}

.quicklinks .img,
.quicklinks-active .img {
	text-align:center;
	display:table-cell;
	vertical-align:middle;
}

.keywords {
	-khtml-border-radius:4px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border:1px solid #79795d;
	background:#b2b192;
}

/* keyword links */
.keywords a:link, .keywords a:visited {
	color:#000 !important;
	text-decoration:none !important;
}
.keywords a:hover, .keywords a:active {
	color:#000 !important;
	text-decoration:underline !important;
}

/*	TEXTBOX LIST
_____________________________________________________________*/

ul.textboxlist {
	border:1px solid #B7B09E;
	background:#FFF;
}

ul.textboxlist li {
	border:1px solid #39161C;
	background:#DBD2B9;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

ul.textboxlist li a.bit-button {
	background: url('../images/ui/close.gif');	
}

/*	TAB VIEW BUTTON PANEL
_____________________________________________________________*/

div.tab-button {
	background:#FFF;
	border:1px solid #39161C;
	color:#404947;
}
