/*
 * TYPOGRAPHY
 */

body,
body.edit /* dealing with conflict with .edit icon */
{
	background-color:#9AD6D6;
	background-image:none;
	font-family: "Helvetica Neue", Helvetic, Arial, sans-serif;
}

p, blockquote, pre,
dl, dt, dd, ol, ul, li,
fieldset, form, legend,
table, caption, tbody, tfoot, thead, tr, th, td
{
	font-size:1em;
	line-height:1.5em;
	margin:1.5em 0;
}
blockquote
{
	padding-left:0.7em;
	border-left:0.3em double #1AAFB7;
}
/*li{margin:0.75em 0;}*/
ul,ol{margin-left:-2em; padding-left:2em;list-style:disc outside;}
ol{list-style:decimal outside;}
ul.noBullet{margin-left:0; padding-left:0; list-style-type:none;}
a {
	color:#5BCFCF;
	font-weight:700;
	text-decoration:none;
}
a:hover
{
	color:#fff;
}
h1, h2, h3, h4, h5, h6, label
{
  font-family: Archer, Rockwell, "American Typewriter", "Courier New", serif;
  font-weight:500;
	color:#1AAFB7;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, label a {
  font-weight:500;
}
h1
{
	font-size:4em;
	margin:24px 0 0;
	float:left;
	text-shadow:-1px 2px 3px rgba(0, 162, 174, 0.4);
}
h1,
h1 a
{
	color:#fff;
}
h1 a:hover {
  text-shadow:-2px 2px 6px rgba(0, 162, 174, 1);  
}
h2
{
	font-size:2.5em;
	line-height:1em;
	margin:0.5em 0;
}
.home h2 {margin-bottom:-14px;}
h3, h4
{
	font-size:1.5em;
	line-height:1em;
	margin:1em 0;
}
h4{margin-bottom:0.25em;}


div#content
{
	color:#c0d8d8;
}
div#footer
{
	font-size:0.916em;
	text-align:right;
	color:#0CA0AC;
}
div#footer a:link, 
div#footer a:active, 
div#footer a:visited
{
	color:#0CA0AC;
}
div#footer a:hover
{
	color:#fff;
}
div#footer .login
{
	float:left;
}
div#footer .legalese
{
	float:right;
}

/*
 * FORMS
 */
textarea,
input.text,
input.password,
select,
body#tinymce
{
	background-color:#A39C86;
	font-family: "Helvetica Neue", Helvetic, Arial, sans-serif;
	color:#171613;
}
textarea:focus,
input.text:focus,
input.password:focus,
select:focus
{
	background-color:#9AD6D6;
	border-color:#0CA0AC;
}
textarea,
input.text,
input.password,
select
{
	border:1px solid #24231E;
	padding:0 .5em;
	font-size: 1.5em;
	line-height:1.5em;
	width:80%;
}

#sideBar input.text,
#sideBar input.password,
#sideBar select
{width:268px;}
#sideBar select{padding-right:0; width:288px;}
textarea{width:523px;}
body#tinymce{margin:0 2em;}

.imageWell /* this is a container for thumbnails in a image upload widget */
{
	position:relative;
	border:1px solid #24231E;
	border-top:0;
	text-align:center;
	padding:0.666em 0;
	background:#3F3C34 url(/images/ui/imageWell_bg.png) 0 0 repeat-x;
}
.imageWell img {margin:0 auto;}
.imageWell input.file
{
	width:268px;
}

/*
 * LAYOUT
 */
div#wrapper{}
div.wrapper
{
	margin:0 auto;
	width:864px;
}
div#header
{
		border-bottom:9px solid #0CA0AC;
		margin-bottom:2px;
}
ul#nav
{
	margin:0;
	float:right;
}
ul#nav li
{
	margin:0; padding:36px 18px;
	display:block;
	float:left;
}
ul#nav li
{
  font-family: Archer, Rockwell, "American Typewriter", "Courier New", serif;
  font-weight:500;
	color:#fff;
	font-size:2em;	
	text-decoration:none;
	text-shadow:-1px 2px 2px rgba(0, 162, 174, 0.4);
}
ul#nav li a {
  color:#fff;
  font-weight:500;
}
ul#nav li a:hover{
  text-shadow:-1px 2px 6px rgba(0, 162, 174, 1);
}
body.home ul#nav li.home,
body.about ul#nav li.about,
body.albums ul#nav li.gallery,
body.articles ul#nav li.texts
{
	background: url(/images/ui/nav_arrow.png) 50% 100% no-repeat;
}

div#content
{
	background:#322F28 url(/images/ui/content_bg.png) 0 0 repeat-x;
  border-top:1px solid #B5D7D9;
	padding:1.5em 0 4.5em;
}
body.home div#content
{
	padding-top:0;
}
div#sideBar
{
	float:right;
	width:288px;
	text-align:right;
}
body.about div#sideBar
{
	float:left;
	width:288px;
	text-align:left;
}
div#copy
{
	margin-right:324px;
}
body.home div#copy
{
	margin:0;
	width:540px;
}
body.about div#copy
{
	margin:0 0 0 324px ;
}
body.about div#copy .cv
{
	font-size:1.2em;
	line-height:1.25em;
	margin:1.25em 0;
}
div#footer
{
	margin:1px 0 0; padding:1px;
  border-top: 8px solid #00A2AE;
}

/*
 * SECTION-SPECIFIC LAYOUT
 */

/*
 * Articles
 */
body.articles .title{font-weight:700;}
body.articles div#sideBar .author{font-weight:700;}
body.articles .publication{font-style:italic;}

/*
 * Gallery
 */
body.albums{}

ul.albums{margin:-9px -9px 1.5em;}
ul.albums li
{
	float:left;
	position:relative;
	width:232px; height:198px;
	padding:6px 22px;margin:9px;
	color:#312f28;
	background:url(/images/ui/album_bg.png) 0 0 no-repeat;
}
ul.albums li img,
body.albums img.album
{
	width:264px; height:132px;
}
ul.albums li img{margin:0 -16px;}
ul.albums li h3{margin:0.25em 0 0; color:#0CA0AC;}

.galleryViewer{min-height:588px;}
.galleryViewer .imageStrip
{
	margin-top:-1.5em; padding:0 0 6px;
	height:79px;
	background:#B5D7D8 url(/images/ui/imageStrip_bg.png) 0 100% no-repeat;
	position:relative;
}

.galleryViewer .imageStrip .icons
{display:none;}
.galleryViewer .imageStrip #previousImage,
.galleryViewer .imageStrip #nextImage
{
	width:37px; float:left;
}
.galleryViewer .imageStrip #nextImage {clear: right;}
.galleryViewer .imageStrip #previousImage a,
.galleryViewer .imageStrip #nextImage a
{
	display:block;
	float: left;
	width: 37px; height:73px;
	background:url(/images/ui/previousImage.png) 14px 50% no-repeat;
	text-indent:-9999px;
}
.galleryViewer .imageStrip #nextImage a
{
/*	clear:right;*/
	background-image:url(/images/ui/nextImage.png);
	background-position:3px 50%;
}
.galleryViewer .imageStrip #previousImage a:hover{background-image:url(/images/ui/previousImage_hover.png);}
.galleryViewer .imageStrip #nextImage a:hover{background-image:url(/images/ui/nextImage_hover.png);}
.galleryViewer .imageStrip #nextImage a.disabled{background-image:url(/images/ui/nextImage_disabled.png);}
.galleryViewer .imageStrip #previousImage a.disabled{background-image:url(/images/ui/previousImage_disabled.png);}
.galleryViewer .imageStrip .container
{
	float:left; 
	margin:0; 
	width:790px; height:76px; 
	overflow:hidden;
	position:relative;
}
.galleryViewer .imageStrip ul
{
	width:9999px;
	margin:0;
	height:76px;
	display:block; 
/*	float:left;*/
/*	background:red;*/
}
.galleryViewer .imageStrip li
{
	margin:0;
	display:block;
	float:left;
	display:block;
	margin:3px;
	width:61px; height:61px;
	border:6px solid #0CA0AC;
	overflow:hidden;
}
.galleryViewer .imageStrip li a
{
	
}
.galleryViewer .imageStrip li a:hover
{
	border-color:#15BAC3;
}
.galleryViewer .imageStrip li.active
{
	border-color:#312F28;
}
.galleryViewer .imageStrip li .icon,
.galleryViewer .imageStrip li .imageInfo
{
	display:none;
}
.galleryViewer .imageDetail{
	background:#B5D7D8;
	width:816px; height:432px;
	margin:0 auto; padding:0 0 3px;
	border:9px solid #B5D7D8;
	border-top:0;
	border-radius:0 0 10px 10px;
	-moz-border-radius: 0 0 10px 10px;
	-webkit-border-radius: 0 0 10px 10px;
	overflow:hidden;
	color:#312F28;
	text-align:right;
	position:relative;
}
.galleryViewer .imageDetail h3{margin:0.25em 0 0;}
.galleryViewer .imageDetail .image{margin:0 auto; }

.galleryViewer .imageDetail a{}
.galleryViewer .imageDetail img
{
	clear:both;
	border:0px solid #B5D7D8;
	border-top:0;
}
.galleryViewer .imageDetail .title
{
	font-weight: 700;
	color:#0CA0AC;
	margin-top:1em;
}
.galleryViewer #imageDetail_throbber
{
	width:816px; height:432px;
	text-align:center;
}
.galleryViewer #imageDetail_throbber img
{
	margin-top:9em;
}

#imageList ul {margin:1.5em -3px;}
#imageList li
{
	background:#3F3C34 url(/images/ui/imageWell_bg.png) no-repeat scroll 0 0;
	border:#24231E solid 1px;
	margin: 3px ; padding:6px 0;
	position:relative;
	text-align:center;
	float:left;
	position:relative;
}
#imageList li a.image
{
	display:block;
	width:128px; height:105px;
	overflow:hidden;
}
#imageList li .imageInfo
{
	display:none;
	position:absolute;
	bottom:0; left:0; right:0;
	border-top:1px solid #666;
	padding:3px;
	background:transparent url(/images/ui/transparent_black_70.png);
	overflow:hidden;
}
#imageList li:hover .imageInfo
{
	display:block;
}
#imageList li .imageInfo span
{
	display:block;
	font-weight:700; color:#fff;
}
#imageList #imageCount
{
	clear:both;
	color: #A39C86;
}
body.albums.show .iconBar{text-align:right;}

.loginForm
{
	width:300px;
	margin:0 auto;
	border:1px solid #24231E;
	background:#3F3C34;
	padding:1.5em 3em;
}
.loginForm input.text,
.loginForm input.password
{
	width:280px;
}


/*
 * General formatting stuff
 */
input.status{ background-image:none; }
input.status.error{border-color:#E86857; background-color:#E8C0BB;}
input.status.warning{border-color:#EAB321; background-color:#EAC563;}
input.status.accept{border-color:#1D7B16; background-color:#B7DFB3;}
/*input.status.empty{border-color:#EAB321; background-color:#EAC563;}*/
.statusMsgArea
{
	font-weight:700;
	font-size:1.25em;
	margin:0 0 1.5em;
	color: #0CA0AC;
	font-family: "Helvetica Neue", Helvetic, Arial, sans-serif;
}

.statusMsgArea.error{ color: #E86857;}
.statusMsgArea.warning{ color:#EAB835;}
.statusMsgArea.accept{ color: #1D7B16;}

.icon
{
	background-repeat: no-repeat;
	background-image:url(/images/ui/icons/star.png);
}
.icon,
div#sideBar.left .icon
{
	background-position:0 0;
	padding-left:22px;
}
div#sideBar .icon,
.icon.right
{
	padding:0 22px 0 0;
	background-position:100% 50%;
}
.iconBar .icon, 
div#sideBar .iconBar .icon
{padding:0 22px;}
.iconList p
{
	margin:0;
}
.hiddenIcons li{position:relative;}
body.articles.admin .hiddenIcons li:hover{background-color:#434037;}
.hiddenIcons .icon
{
	display:none; 
	line-height:1.5em;
	position:absolute;
	top:0; right:0;
	width:1px; overflow:hidden;
	background-color:#0CA0AC;
	border:1px solid #9AD6D6;
	text-align:left;
}
.hiddenIcons .icon:hover {width:50px;}
.hiddenIcons li:hover .icon,
.imageDetail .hiddenIcons:hover .icon
{
	display:block;
}
.hiddenIcons .icon a{display:block; width:50px;}
/*.hiddenIcons.outside li:hover .icon{right:-20px;}*/
.hiddenIcons li:hover .icon.delete,
.imageDetail .hiddenIcons:hover .icon.delete
{
	top:1.5em;
}

.email{background-image:url(/images/ui/icons/email_open.png);}
.address{background-image:url(/images/ui/icons/world.png);}
.phone{background-image:url(/images/ui/icons/telephone.png);}
.pdf{background-image:url(/images/ui/icons/page_white_acrobat.png);}
.edit{background-image:url(/images/ui/icons/pencil.png);}
.add{background-image:url(/images/ui/icons/add.png);}
.delete{background-image:url(/images/ui/icons/delete.png);}
.accept{background-image:url(/images/ui/icons/accept.png);}
.warning{background-image:url(/images/ui/icons/error.png);}
.error{background-image:url(/images/ui/icons/exclamation.png);}
.cancel{background-image:url(/images/ui/icons/cancel.png);}
.theinterned{background-image:url(/images/ui/theInterned.png);}

div.clear
{
	font-size:0;
	height:0;
	clear:both;
}

.flash,
#errorExplanation
{
	margin:0 auto 1.5em; padding:0 1em; 
	width:50%;
}
.flash
{
	padding:0.5em;
	color:#1D7B16;
	border:3px solid #1D7B16;
	border-width:9px 0;
	background-color:#B7DFB3;
	position:absolute;
	top:91px; left:0; right:0;
	z-index:99;
	width:auto;
	text-align:center;
}
.flash.error
{
	color: #E86857;
	background-image:none;
	border-color:#E86857; 
	background-color:#E8C0BB;
}
/*
 * Validation Errors
 */
.flash.error,
#errorExplanation
{
	color:#E86857; /*#E8C0BB;*/
	background:#E8C0BB;
	border:1px solid #E86857;
}
#errorExplanation h2
{
	font-family: "Helvetica Neu", Helvetica, Arial, sans;
	color: #E86857; /*text-align:center;*/
	background:none;
}
#errorExplanation ul
{
	margin-left:0; padding-left:2em;
}
div.fieldWithErrors
{
	display:block;
	color:#E86857 !important;
}
div.fieldWithErrors label
{
	color:#E86857;
}
div.fieldWithErrors input.text,
div.fieldWithErrors input.password
{
	background-color:#E8C0BB;
	border-color:#E86857;
}