/* Basics
------------------------------ */
* {
margin:0;
padding:0;
}

html {
	/* Moz */
	height: 100%;
}

/* Main Layout
------------------------------ */
body {
	background: #ffe9af url(images/cms/header_bg.png) repeat;
	color: #5A5A4B;
	margin:0 1em 1em;    /* gives some air for the pagewrapper */
	padding: 0px 0px 50px;
  text-align: left;
  font-family: georgia, serif;
}
#main {
	text-align: left;
	margin: -20px auto 5px;
	width: auto;
	background: transparent;
	padding: 20px 30px 0px;
	border: none;
/*	
	border-top: 1px solid #E6E6DF;
	border-right: 1px solid #E6E6DF;
	border-bottom: 5px solid #E6E6DF;
	border-left: 1px solid #E6E6DF;
*/
}

#sidebar {
	margin-top: 1.4em;
}

#credit, #sort {
	margin: 0 auto;
	width: 640px;
	font-size: 85%;
	color: #96967E;
	text-align: right;
	clear: both;
}
#credit a, #sort a {
	text-decoration: none;
	color: #96967E;
	border-bottom: 1px dotted #96967E;
}
#credit a:hover, #sort a:hover {
	color: #BDBDAE;
	border-bottom: 1px solid #BDBDAE;
	text-decoration: none;
}
#gallerytitle {
	border-bottom: 1px solid #E6E6DF;
	padding-bottom: 14px;
	margin-bottom: 20px;
	/*min-height: 40px;
  _height: 40px;*/
}
#gallerytitle h2 { 
	font-weight: bold; 
	font-size: 1.4em; 
	width:510px;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
	background-color: transparent;
  background-image: url(/uploads/dharmakirti/hung_h.png);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: left center;
}

/* Link Styles
------------------------------ */
a:link, a:active, a:visited { text-decoration: underline; color: #17A; }
a:hover, a:focus { text-decoration: none; color: #6BD !important; }

/* Text Styles
------------------------------ */
h2 {
	font-weight: bold;
	color: #095eae;
	text-shadow: rgba(0,0,0,0.3) 1px 1px 1px;
}
h2 a:link, h2 a:visited {
	color: #8DB8CF;
	text-decoration: none;
}
h2 span {
	color: #8DB8CF;
}
h2 a:hover {
	color: #94c2e5;
	text-decoration: none;
}
h3 {
	font-weight: bold;
	color: #002E5B;
	margin-top: 30px;
}
h3 a:link, h3 a:visited { text-decoration: none; }
h3 a:hover { text-decoration: underline; }


/* Miscellaneous
------------------------------ */
hr {
	clear: both;
	height: 0;
	border: 0;
	border-top: 1px solid #E6E6DF;
	margin: 0 0 12px 0;
	padding: 0;
}
img {
	border: 0;
}
blockquote {
	border-left: 1px dotted #96967E;
	margin-left: 20px;
	padding-left: 20px;
	color: #363630;
}

#imagemetadata {
  text-align: right;
  position: relative;
  display: none;
}

#imagemetadata table {
  text-align: left;
  line-height: 1em;
  border: 1px solid #ccc;
  position: absolute;
  top: 2em;
  right: 0px;
  background-color: #fafafa;
}

#imagemetadata table td {
  border-bottom: 1px solid #f0f0f0;
  background-color: #f8f8f8;
  padding: 2px 5px;
}

#padbox {
	font: 83%/1.5em normal georgia, serif;
}


/* Page Navigation
------------------------------ */
ul.pagelist {
	clear: both;
	padding: 0;
	margin: 20px 40px;
	list-style-type: none;
}
ul.pagelist li {
	display: inline;
}
ul.pagelist li a, ul.pagelist span.disabledlink {
	padding: 4px 7px;
	margin: 0 2px;
	text-decoration: none !important;
    border: 1px solid #ffdeaf !important;
    background-color: #fbfef6;
}

/* My Comment */

ul.pagelist li a:hover {
	background-color: #faf6da !important;
	border: 1px solid #dfc49c !important;
	color: #000;
}

ul.pagelist li.current a {
	text-decoration: none;
	font-weight: bold;
	cursor: default;
	color: #095EAE;
	border: none !important;
	background: transparent !important;
}
ul.pagelist li.prev {
	margin-right: 10px;
}
ul.pagelist li.next {
	margin-left: 10px;
}
.disabledlink {
	color: #ddd;
	cursor: default;
}
.pagenav {
	clear: both;
}
.disabled_nav {
	visibility: hidden;
}


/* AJAX
------------------------------ */
#albumDescEditable, #albumTagsEditable {
	margin-bottom: 12px;
}
#imageDescEditable, #albumTagsEditable {
	margin-top: 24px;
}
#imageDesc, #exif_link {
	margin-bottom: 4px;
}

#exif_link {
  float: right;
}

/* Tags
------------------------------ */
.taglist ul {
	display: inline;
	list-style-type: none;
}

.taglist li {
	background: url(../images/tag.png) no-repeat left center;
	list-style-type: none;
	padding-left: 18px;
	float:left;
	padding-right: 5px;
	color: #999999;
}

.taglist .tags_title {
	background: none;
	padding-right: 5px;
	padding-left: 0;
}

/* Image Thumbnails
------------------------------ */
.imagethumb a, .imagethumb a:hover {
	display: block;
	padding: 9px;
	margin: 0px 9px 9px 0px;
	line-height: 0px;
    border: 1px solid #ffdeaf !important;
    background-color: #fbfef6 !important;
}
.imagethumb a:visited {
    background-color: #fcfcfc;
    border: 1px solid #f8f8f8;
}
.imagethumb a:hover {
	background-color: #faf6da !important;
	border: 1px solid #dfc49c !important;
}
.imagethumb {
	float: left;
}
.albumdesc2 {
	line-height: 18px;
}


/* Album Thumbnails
------------------------------ */
#albums {
	float: left;
}
.album {
	margin: 0 12px 8px 0;
    padding: 10px 8px 2px 10px;
	float: left;
	width: 305px;
	border: 1px solid #E7F0F5;
	background: #F7F9FD;
    line-height: 100%;
}
.album a img {  }
.album .thumb {
    float: left; 
    margin-right: 6px;
}
.album h3 {
	padding: 0;
	margin: 0;
}
.album p {
	line-height: 12px;
	font-size: 11px;
    padding: 4px 0px 0px;
    margin: 0px;
}
.albumdesc small {
	color: #8DB8CF;
}


/* Individual Image
------------------------------ */
.image { 
	margin: 0;
	padding: 0;
	border: 0;
}
#image {
	text-align: center;
	line-height: 0;
}
.imgnav {
	float: right;
	width: 175px;
	text-align: center;
	border: 1px solid #D5E6EE;
	background: #EEF5F9;
	margin-top: -10px;
}
.imgnav .imgprevious a, .imgnav .imgnext a {
	display: block;
	width: 50%;
	height: 100%;
	float: left;
	padding: 4px 0;
	font-size: 120%;
	text-decoration: none;
	line-height: 180%;
	color: #237898;
}
.imgnav .imgprevious a:hover, .imgnav .imgnext a:hover {
	background-color: #fff;
	text-decoration: none;
	color: #002E5B;
}
.imgnav .imgprevious a {
	float: left;
}
.imgnav .imgnext a {
	float: right;
}
#narrow {
	margin: 0 auto;
	width: 440px;
}


/* Comments
------------------------------ */
#comments {
	clear: both;
}
.error { 
  color: #C33; 
  font-weight: bold; 
}
.comment {
	padding: 10px;
	border: 1px solid #E7F0F5;
	background: #FBFCFD;
	margin-bottom: 12px;
}
.commentmeta {
	margin-bottom: 12px;
}
.commentauthor {
	font-weight: bold;
}
.commentdate {
	margin-top: 12px;
	color: #8DB8CF;
	font-size: 85%;
}


/* Forms
------------------------------ */
.inputbox {
	width: 250px;
	padding: 2px;
}
textarea {
	padding: 4px;
	width: 100%;
	color: #5A5A4B;
	font: 100%/200% "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.checkbox {
	cursor: pointer;
}
.pushbutton {
	cursor: pointer;
	padding: 5px 10px;
}
label {
	cursor: pointer;
}
label:hover {
	color: #000;
}
#map {
	
}

/* Admin Toolbox
------------------------------ */
#admin, #admin_data{
	position: fixed;
    _position: absolute;
	right: 0px;
	top: 0px;
	width: 150px;
	border-bottom: 1px solid #E6E6DF;
	border-left: 1px solid #E6E6DF;
	background: #fff;
    z-index: 2;
}
#admin_data{
	top: 0px;
	padding-top: 3em;
	z-index: 1;
	line-height: 1.4em;
}
#admin h3 {
	font-weight: normal;
	color: #999;
	margin:0;
	padding:0;
}
#admin h3:hover { color: #036; }

/* Search Box
------------------------------ */
#search {
	float: right;
	text-align: center;
	background: transparent;
}
#search input.pushbutton {
	padding: 1px;
	font-size: 80%;
}
#search ul {
  position:absolute;
  text-align: left;
  width:20px;
  margin:0px;
  padding:2px;
  list-style:none;
}
#search ul .item {
  display:none;
}
#search ul:hover .item {
  display:block;
  padding:1px;
  margin:0px;
  background:#fff
}
#search li {
width:150px;
}
.clear {
  clear:both;
  height:10px;
}

/* Archive View
---------------------------- */
#archive{
	width: 300px;
	margin: 0 auto;
	text-align: center;
}
ul.archive * {
	padding:0;
	margin:0;
	list-style:none;
}
ul.archive #year {
	margin-top:10px;
	text-align: center;
	margin-bottom:5px;
	font-weight:bold;
	font-size:18px;
}
ul.archive #month {
	font-size: 14px;
	list-style:none;
	border-top:2px solid #E6E6DF;
	padding-top: 5px;
}

/* Tag Cloud
---------------------------- */
#tag_cloud {
	text-align: center;
	background: #eee;
}
#tag_cloud p {
	padding:10px 0;
	margin:20px 0;
	background: #fff;
	border-top: 3px solid #E6E6DF;
	border-bottom: 3px solid #E6E6DF;
	font-size: 18px;
	font-weight:bold;
	text-align: center;
}

/***************************
 	CMS MS Integration =) 
 ***************************/

/********************
		LAYOUT
*********************/
.accessibility {display: none;}
div#pagewrapper {
  border: 1px solid #666;
  border-top: none;
  border-bottom: none !important;
  margin: 0 auto;
  max-width: 70em;
  min-width: 42em;
  background: #fff url(/uploads/dharmakirti/content_grad_bg.png) repeat-x 0 129px;
  color: #333;
}
div#main {
   margin-left: 29% !important; 
   margin-right: 2% !important; 
}
div#content {margin: .2em auto 2em 0}
div#sidebar {
  float: left;
  width: 15em;
  display: inline;
  margin-top: 1.76em;
  margin-left: 2.28em;
}
/********************
		HEADER
*********************/
#header {
  line-height: 0.3;
  padding: 50px 0 5px 24px;
  height:72px;
  border-bottom: solid 1px #ff6347;
  background:#dfd39a url(/images/cms/header_bg.png) repeat-x top left;
  text-shadow: rgba(0,0,0,0.3) 2px 2px 2px;
}
#header h1 {
  float: left;
  margin-bottom: 0;
  font-size:37pt;
}
#header h1 a {
  display: inline;
  color: #efefef;
  padding: 25px 125px 50px;
  background: url(/images/cms/hung_header.png) no-repeat 12px -5px;
  background-repeat: no-repeat !important;
  z-index: 2;
  font-weight: bold;
  text-decoration: none;
  text-shadow: rgba(0,0,0,0.6) 1px 1px 1px;
}
#header h1 a:hover {
  text-decoration: none;
  color:#fff;
  background-position: 12px -167px;
}
#header h1 a span {
  color: #eaeaea;
  position: absolute;
  top: 26px;
  margin-left: 126px;
  font-size: 12px !important;
}
#header h1 a:hover span{color: #fff;}
div.breadcrumbs {
  color: #333 !important;
  padding: 0;
  font-size: 14px;
  margin: 0 1em 1.5em;
  border-bottom: 1px solid #bbb;
}
 div.breadcrumbs span.lastitem { 
   font-weight:bold;
   color: #095eae
 } 
/********************
		FOOTER
*********************/
div#footer {
	clear: both;
	color: #fff;
	padding-top: 40px;
	background: #dfd39a url(/uploads/dharmakirti/footer_bg.png) repeat-x top left;
	border-bottom: 1px solid black;
	line-height: 1.4;
}
div#footer p {
	font-size: 0.8em;
	padding: 1.5em 1em .7em;
	text-align: center;
	margin: 0;
	max-width: 100em;
}
div#footer span#validation {
	top: 3.3em;
	left: .5em;
	float: left;
	font: 12px monospace !important;
}
#validation img {margin-bottom: -4px !important;}
div#footer span {
	font-size: 1.25em;
	float: right;
	position: relative;
	bottom: 1.5em;
	right: 1em;
}
div#footer * a {color: #fff !important;	background-color: transparent;}
div#footer a:hover {color: #000 !important;	background-color: #ffa !important;}
/******************
		MENU 
*******************/
/* ### START ###
 * 
 *we try to use the cms style -> id 46 (not really fix!) */ 
#menu_vert {
   font-size: .9em;
   padding-left: 0;
   margin-top: 35px;
   margin-left: 1em;
   text-align: left;
   line-height: 1.2;
}
#menu_vert li {
   list-style: none;
   margin: 0;
   border-bottom: 1px solid #c0c0c0;
   display: block;
}
/** fix stupid ie bug with display:block; **/
* html #menu_vert li a { height: 1%; } 
* html #menu_vert li hr { height: 1%; }
/** end fix **/
/*
div#menu_vert a {
   text-decoration:none;
   display: block;
   padding: 0.8em 0.5em 0.8em 1.5em;
   color: #18507C;
   background: url(/images/cms/arrow-right.gif) no-repeat 0.5em center; 
   min-height:1em; /* Fixes IE7 whitespace bug */ 
/*
}
div#menu_vert a:hover {background-color: #ffa;}
div#menu_vert ul h3 {
   background: url(images/cms/arrow-right-active.gif) no-repeat 0.4em center;
   background-color: #f4a42e;
   display: block; 
   padding: 0.6em 0.5em 0.7em 1.5em;
   color: #fff;
   font-size: 1em;
   margin: 0;
}

### END ### */

/*  Creative Commons License Info DIV */
.cclicense {text-align:center !important;}
.cclicense p {font-size:.7em;color:#777;line-height: 1.8em;}
.cclicense p:first-line {font-size: 140% !important;letter-spacing: 2px;color: #a0a0a0;}
div.cclicense span {letter-spacing: -4px;}