/*
GLOBAL

Try to define style properties as globally as possible. E.g. the basic font setting should be right there for the body element
*/

* { 
	margin:0px;
	padding:0px;
}

body {
	font-family: Times, Georgia, Palatino,serif;
	font-size: 76%; /* as recommended in CSS guide */
	background: #efefe7 url(verlauf.png) top left repeat-x;
	background-color: #efefe7;
	color: black;
	word-wrap:break-word;
	line-height:1.6;
}

img {
	border:0px #000 none;
}

a {
	color: #273d29;
}

a:visited {
	color: black;
}

a:hover, a:active {
	color: red;
}


h5, h6 {
	font-size: 100%;
}


#page {
	width:776px;
	margin:18px auto;
	padding: 15px;
	background: white;
}

#title {
	color: #fff;
	overflow: hidden;
	height:200px;
	background: url(keith-bryan-header.png) center top no-repeat;
	z-index: 1;
	position:relative;
}

#title h1 {
	position: absolute;
	width: 652px;
	height: 130px;
	top: 40px;
	left: 60px;
	z-index: 2;
	background: url(keith-bryan-logo.png) no-repeat;
	text-indent: -9999px;
	/*
	position: absolute;
	top: 60px;
	left: 250px;
	font-size: 217% !important;
	text-shadow: #333 2px 1px 2px;
	*/
}

#title h1 a {
	text-decoration:none;
}

#title h1 a:hover {
	text-decoration:underline;
}

#title p {
	margin-left: 250px;
	font-size:120%;
	text-shadow: #333 1px 1px 2px;
}

#title h1 a {
	color:inherit;
} 

#logo-container {
	float: left;
	margin: 36px 12px 0px 36px;
}

#logo {
	position: relative;
	top: 5px;
	left: 20px;
	z-index: 3;
}

ul, ol {
	padding-left:2.5em;
}

ul {
	list-style-type:square;
}

dd {
	margin-left: 2.5em;
}


/*
SITEMENU
*/

#sitemenu {
	clear:left;
}

#sitemenu ul {
	font-size: 1.5em;
	margin:0px 0px 16px 0px;
	padding:1px 6px 1px 0px;
	list-style:none;
	text-align:left;
	background:#273d29 ;
}

#sitemenu ul li {
	display:inline;
	margin:0px;
}

#sitemenu ul a, #sitemenu ul .currentPage .in, #sitemenu ul .currentParent .in {
	color: #f6f7cf;
	text-decoration: none;
	padding:3px 4px;
}

#sitemenu .currentPage .in, #sitemenu .currentParent a .in,  #sitemenu a:hover  {
	/*background: #ddd;*/
	color: red !important;
}


/* 
MAIN PART 
*/

#main, #sidebar {
	line-height:1.8;
}
#main {
	background-color: #efefe7;
	-webkit-box-shadow: 3px 3px 6px #666;
	-moz-box-shadow: 3px 3px 6px #666;
}

.article, #index, .no-callouts {
	margin-bottom:1em;
	padding:10px 6px 6px 6px;
}


#index .article {
	margin:0px;
	border:0px none;
	background:transparent;
	padding:0px;
	clear:right;
}

.article p {
	margin-bottom: 0.8em;
}

.article-info {
	clear:right;
	text-align:right;
	padding-right:6px;
}

#main {
	font-size: 1.2em;
	line-height: 1.5em;
}

#main h2 {
	color: #273d29;
	padding:6px 6px;
	margin-left: 6px;
	margin-right: 6px;
	border-width: 0px 0px 2px 0px;
	border-color: #273d29;
	border-style: solid;
}

/*
SIDEBAR & CALLOUTS
*/
body.allow-sidebar #main {
	margin-left:245px;
	padding-top:1px;
}

#sidebar {
	margin-top:1px;
	width:230px;
	float:left;
}

.pagelet {
	margin-bottom:15px;
	padding:0px 0px 2px 0px;
	overflow:hidden;
}

.pagelet h4 {
	margin:4px 0px 4px 0px;
	color:#273d29;
	padding:1px 6px;
	border-color: #eee;
	border-style: solid;
	border-width: 0px 0px 1px 0px;
}

.pagelet.bordered {
	background:#222;
}

.pagelet.bordered h4 {
}

.pagelet div {
	margin:0px 3px;
}

.pagelet p {
	margin-bottom: 0.8em;
}


.callout {
	width:230px;
	float:right;
	margin: 0px 0px 0px 10px ;
}

.callout .pagelet.bordered {
	margin-left:-1px;
}

/* 
PHOTO GRID PAGE
*/

.photogrid-index {
    text-align: center;
    margin: auto;
    overflow: hidden; /* for IE 5 Mac */
}

/* IE 6 Hack */
/* Hides from IE5-mac \*/
* html .photogrid-index {
	height:1%; /* for IE 5, 6 Win */
	margin-left:-8px;
}
/* End hide from IE5-mac */

.photogrid-index a {
	text-decoration:none;
	padding:1px 3px;
}
.photogrid-index h3 a:hover {
	text-decoration:underline;
}

.gridItem {
    float: left;
    position:relative;
    width:142px;
    height:180px;	/* room for caption */
	margin:5px;
    padding-top: 10px;
    color:inherit;
    overflow: hidden;
}

body.allow-sidebar .gridItem {
	width: 160px;
}

.gridItem h3 {
    font-weight: normal;
    font-size: 100%;
    line-height: 130%;
    color: black;
    margin: 4px 7px 0px 5px;
	padding: 0px 2px;
    position:absolute;
	top: 140px; /* needs to leave 38px from the bottom of the gridItem */
	width: 128px;
	color: black;
}

body.allow-sidebar .gridItem h3 {
	width:136px;
	margin: 4px 11px 0px 11px; 
}

.gridItem img {
    /*border: 1px solid #eee;*/
    margin: auto;
    display:block;
    position: absolute;
    top: 0;
    bottom: 40px;
    right: 0;
    left: 0;
}

* html .gridItem img {
	position:relative;
}


/*
PHOTO NAVIGATION
*/

.photo-navigation {
    position: relative;
    height: 60px;
    width:200px;
    margin:0px auto 8px auto;
}

.photo-navigation div {
	width:60px;
	height:60px;
	position: absolute;
    text-indent: -5000em;
}

.photo-navigation a {
	border-bottom:none;
	display:block;
	width:100%;
	height:100%;
}

#previous-photo	{
    background: url(button-left-off.png) no-repeat;
    left: 14px;
}

#previous-photo a {
    background: url(button-left.png)		no-repeat;
}

#next-photo {
    background: url(button-right-off.png)		no-repeat;
    left: 138px; 
}

#next-photo a {
    background: url(button-right.png)		no-repeat;
}

#photo-list {
    background: url(button-nav-off.png)		no-repeat;
    left: 76px;
}
#photo-list a {
    background: url(button-nav.png)		no-repeat;
}

.image-controls a {
	border-bottom:none !important;
}

/* IE 6 Hack */
/* Hides from IE5-mac \*/
* html .gridItem img {
	position: relative;
	top:0px;
}

* html .gridItem h3 {
	position: relative;
	top: 0px;
}
/* End hide from IE5-mac */


.collection-navigation {
	margin-top: 6px;
}

.collection-navigation a {
	text-decoration: none;
}


/* 
PAGE BOTTOM
*/
#page-bottom {
	margin-top:12px;
	padding:4px 12px 2px 12px;
	line-height:1.4em;
	background: #273d29;
	color: #f1f3d2;
	font-size: 1.2em;
	text-align: center;	
}

#page-bottom a {
	color: #F1F3D2;
}

/*
OTHER
*/
.article-thumbnail {
	padding-left: 5px;
	/*float:left;*/
}

/* 
SANDVOX INTERNALS
	
these should be present in every style sheeto ensure that certain classes used by Sandvox to hide and clear elements are respected.
Don't change them unless you have very good reason to do so.
*/

.clear {clear: both; height: 0;}
#main .clear {clear:right;}
.hidden {display:none;}
img.narrow {float: right;  margin: 0em 0em 0.8em 0.8em;}
img.wide {display: block;}
.ImageElement, .VideoElement { text-align:center;}


