

html {
	overflow: auto;
	padding: 0;
	margin: 0;
}

body {
	background-color: black;
	padding: 0;
	margin: 0;
}

.PageContainer {
	width: 800px;
	height: 550px;
	margin: 0 auto;
	margin-top: 20px;
}

.PageHeader {
	height: 50px;
}
.PageHeader h1 { float: left; font-size: 24px; padding-left: 10px; padding-top: 5px; margin: 0; font-weight: bold; color: white; }
.PageHeader a:hover { text-decoration: none; }
.PageHeader img { float: left; clear: none; }

/*
New PageHeader to enable TinyMCE 
================================
*/

.PageHeader .LogoField {
	float: left;
	height: 50px;
	_overflow: hidden;	
}
.PageHeader .LogoField img {
	float: none;
	margin: 0;
	margin-right: 10px;
}
.PageHeader .HeaderField {
	height: 50px;
	overflow: hidden;	
}
.PageHeader .HeaderField h1 {
	float: none;
	margin: 0;
	padding: 0;
	font-size: 24px;
	padding-top: 5px;
	font-weight: bold;
	color: white;
}
.PageHeader .HeaderField p {
}
.PageHeader .HeaderField a {
}
.PageHeader .HeaderField a:hover {
}
.PageHeader .HeaderField img {
	float: none;
	margin: 0;
}

/*
================================
*/

.NavigatorContainer {
	min-height: 20px;
	_height: 20px;
	background-color: black;
	margin: 40px 20px 0 20px;
	padding-left: 5px;
}
.NavigatorContainer a {
}
.NavigatorContainer a:hover {
}

.ContentContainer {
	padding: 20px;
}

.PageFooter {
	width: 800px;
	margin: 0 auto;
	margin-top: 5px;
	min-height: 16px;
	_height: 16px;
}
.PageFooter a { text-decoration: none; }
.PageFooter a:hover { text-decoration: underline; }
.PageFooter p { padding: 0; margin: 0; }

.CopyrightText {
	margin-right: 135px;
	float: left; 	
}

.dinStudioLink {
	float: right;
	text-align: right;
}
.dinStudioLink a { color: #888; }

/*
Functions
===================================================================================================
*/

.MainPageInlineContainer {
	float: left;
	_display: inline;
	height: 355px;
}
.MainPageInlineContainer .ImageContainer {
	width: 200px;
	height: 220px;
	overflow: auto;
	background: black;
	margin-right: 20px;
	margin-bottom: 20px;
	overflow: hidden;
	text-align: center;
}

.MainPageInlineContainer .ParagraphContainer {
	width: 180px;
	height: 113px;
	overflow: auto;
	padding: 10px;
	margin-right: 20px;
	background: black;
}

.MainPage {
	height: 355px;
	background-color: black;
	padding: 10px;
	overflow: auto;
}

.MainPage .NewsContainer {
	float: right;
	padding-left: 10px;
	margin: 0 0 10px 10px;
	border-left: 1px solid #ccc; 
	width: 170px;
}
.MainPage .NewsItem .date { font-style: italic; }
.MainPage .NewsItem p { text-align: left; margin-bottom: 10px; }

.MainPage .BodyTextContainer {
}

.LayoutPage {
	background: black;
	padding: 10px;
	height: 355px;
	overflow: auto;
}

.EmptyPage {
	background: black;
	padding: 10px;
	height: 355px;
	overflow: auto;
}

.TextLayout1 {
	background: black;
	padding: 10px;
	height: 355px;
	overflow: auto;
}
.TextLayout1 .FunctionTable { border-collapse: collapse; border: 0; width: 720px; }
.TextLayout1 .LeftColumn { vertical-align: top; padding-right: 10px; }
.TextLayout1 .RightColumn { width: 200px; vertical-align: top; }
.TextLayout1 .RightColumn img { margin-bottom: 5px; }

.TextLayout2 {
	background: black;
	padding: 10px;
	height: 355px;
	overflow: auto;
}
.TextLayout2 .FunctionTable { border-collapse: collapse; border: 0; width: 720px; }
.TextLayout2 .LeftColumn { width: 50%; padding-right: 5px; vertical-align: top; }
.TextLayout2 .RightColumn { width: 50%; padding-left: 5px; vertical-align: top; }
.TextLayout2 .InlineImageContainer { float: left; display: inline; margin: 0 5px 5px 0; }
.TextLayout2 .InlineImageContainer .ParagraphContainer { width: 170px; }
.TextLayout2 .InlineImageContainer img { margin-bottom: 5px; }

.GalleryDescription {
	margin: 0;
	padding: 0;
	text-align: center;
}
.GalleryDescription #text {
	overflow-y: auto;
	overflow-x: hidden;
	height: 45px;
	text-align: center; 
}
.GalleryDescription img { margin: 0 auto 5px auto; }

.GalleryNavigator {
	margin: 0 auto;
	margin-top: 10px;
	width: 140px;
	clear: both;
	height: 50px;
}
.GalleryNavigator span.Previous { display: block; float: left; width: 50px; height: 30px; }
.GalleryNavigator a.Previous {
	display: block; 
	float: left; 
	width: 50px; 
	height: 30px; 
	text-decoration: none;
	background: url('images/gallery_prev.gif') no-repeat center left;
}
.GalleryNavigator a.Previous:hover { text-decoration: none; }
.GalleryNavigator .PageNumber { 
	display: block; 
	float: left; 
	text-align: center; 
	font-weight: bold; 
	font-size: 12px;
	margin: 0 5px;
	width: 30px; 
	height: 22px;
	padding-top: 8px;
	color: #a64000;
}
.GalleryNavigator span.Next { display: block; float: left; width: 50px; height: 30px; }
.GalleryNavigator a.Next { 
	display: block; 
	float: left; 
	width: 50px;
	height: 30px;
	text-decoration: none;
	background: url('images/gallery_next.gif') no-repeat center right;
}
.GalleryNavigator a.Next:hover { text-decoration: none; }

.ImageGallery1 {
	background: black;
	padding: 10px;
	height: 355px;
	overflow: auto;
}
.ImageGallery1 .FunctionTable { margin-left: auto; margin-right: auto; width: 500px; margin-top: 10px; }
.ImageGallery1 .ImageCell { width: 166px; vertical-align: top; padding: 2px; }
.ImageGallery1 .ImageCell .ImageContainer { text-align: center; margin-bottom: 2px; }
.ImageGallery1 .ImageCell .ParagraphContainer { width: 164px; }

.ImageGallery2 {
	background: black;
	padding: 10px;
	height: 355px;
	overflow: auto;
}
.ImageGallery2 .FunctionTable { margin-left: auto; margin-right: auto; width: 500px; margin-top: 1em; }
.ImageGallery2 .ImageCell { width: 200px; vertical-align: top;  }
.ImageGallery2 .ImageCell .ImageContainer { text-align: center; margin-bottom: 2px; }
.ImageGallery2 .TextCell { vertical-align: top; }
.ImageGallery2 .TextCell p { margin-top: 0; }

.ImageGallery3 {
	background: black;
	padding: 10px;
	height: 355px;
	overflow: auto;
}
.ImageGallery3 .FunctionTable { margin-left: auto; margin-right: auto; width: 500px; margin-top: 1em; }
.ImageGallery3 .ImageCell { width: 65px; vertical-align: top;  }
.ImageGallery3 .ImageCell .ImageContainer { text-align: center; margin-bottom: 2px; }
.ImageGallery3 .TextCell { vertical-align: top;  }
.ImageGallery3 .TextCell p { margin-top: 0; }

.SplashScreen {
	margin-top: 4em;
	color: white;
}

.SplashScreen .FunctionTable { margin-left: auto; margin-right: auto; width: 600px; margin-top: 1em; }

.FileArea {
	background: black;
	padding: 10px;
	height: 355px;
	overflow: auto;
}
.FileArea .FunctionTable { 
	margin: 15px auto;
	width: 500px;
}
.FileArea .IconCell { width: 50px; text-align: right; vertical-align: top; }
.FileArea .TextCell { padding-left: 5px; vertical-align: middle; }
.FileArea .SizeCell { width: 70px; vertical-align: middle; text-align: right; padding-right: 35px; }
.FileArea .FileList { margin: 5px 0; width: 500px; border-collapse: collapse; }
.FileArea .FileSort { width: 500px; margin: 0 auto; }
.FileArea .FileSort p { margin: 0 0 3px 0; font-size: 8pt; }

.Diary {
	background: black;
	padding: 10px;
	height: 355px;
	overflow: auto;
}
.Diary .FunctionTable { 
	margin: 0 auto;
	width: 720px; 
}
.Diary .FunctionTable td { vertical-align: top; }
.Diary .FunctionTable .LeftColumn {
	margin: 0;
	width: 175px;
	font-size: 11px;
	text-align: left;
	border-right: 1px solid #ccc; 
	padding-right: 10px;
}
.Diary .FunctionTable .RightColumn {
}
.Diary .DiaryList {
}
.Diary .DiaryListItem { border-bottom: 1px solid #ccc; padding-bottom: 5px; margin-bottom: 5px; }
.Diary .DiaryListItem h2 { font-size: 11px; margin: 0; }

.Diary .DiaryList .GroupByDay li.FirstLevelItem {
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 1px solid #ccc;
}
.Diary .DiaryList .GroupByDay li.FirstLevelItem,
.Diary .DiaryList .GroupByMonth ul.SecondLevel li,
.Diary .DiaryList .GroupByYear ul.ThirdLevel li {
	margin-bottom: 5px;
}
.Diary .DiaryList .GroupByDay a,
.Diary .DiaryList .GroupByMonth a,
.Diary .DiaryList .GroupByYear a {
	font-size: 11px;
	margin: 0;
}
.Diary .DiaryList .GroupByYear ul.SecondLevel { 
	padding: 0;
}
.Diary .DiaryList .GroupByMonth ul.SecondLevel,
.Diary .DiaryList .GroupByYear ul.SecondLevel { 
	margin-bottom: 5px; 
	padding-top: 5px; 
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.Diary .DiaryView {	padding-left: 5px;	}
.Diary .DiaryView .DiaryDate h3 { font-size: 12px; font-style: italic; }

/*
New Diary Comment Form
========================================================================
*/

.Diary .DiaryCommentFunction {
	width: 470px;
}
.Diary .DiaryCommentListItemContainer .DiaryCommentListItem {
	font-size: 10px;
}
.Diary .DiaryCommentListItemContainer .DiaryCommentListItemContainerMiddle h2 {
	font-size: 11px;
}
.Diary .DiaryCommentListItemContainer .DiaryCommentListItemContainerMiddle .DiaryCommentDate {
	font-size: 11px;
}
.Diary .DiaryCommentListContainer .CommentCountContainer h2 {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-size: 12px;
	padding: 2px;
}

.Diary .DiaryDateInput {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin: 0;
	margin-bottom: 10px;
	font-size: 12px;
	font-style: italic;
	font-weight: normal;
}
.Diary .DiaryCommentForm input.DiaryCommentSubmit { 
	border: 1px solid #ccc;
	color: white;
	background-color: #555; 
	font-size: 11px;
	width: 130px;
	padding-bottom: 3px;
	_padding: 0;
	height: 20px;
}

.Diary .DiaryCommentFormTable input {
	border: 1px solid #ccc;
	background-color: black;
	color: white;
}
.Diary .DiaryCommentFormTable textarea {
	border: 1px solid white;
	background-color: black;
	color: white;
}
.Diary .DiaryCommentListItemContainer { 
	border-bottom: 1px solid #ccc;
	margin: 0;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

/*
========================================================================
*/

.Guestbook {
	background: black;
	padding: 10px;
	height: 355px;
	overflow: auto;
	position: relative;
}
.Guestbook .FunctionTable {
	border-collapse: collapse;
	border: 0;
	margin-top: 10px;
	width: 720px;
}
.Guestbook .GuestbookForm {
	margin: 0;
	width: 200px;
	font-size: 11px;
	vertical-align: top;
	padding-right: 10px;
}
.Guestbook .GuestbookList {
	padding-left: 10px;
	border-left: 1px solid #ccc;
	vertical-align: top;
}
.Guestbook .GuestbookListItemContainer  {
	border-bottom: 1px solid #ccc;
	margin: 0;
	padding-bottom: 10px;
	margin-bottom: 10px;
}
.Guestbook .GuestbookList h2 { font-size: 11px; }
.Guestbook .GuestbookList .GuestbookDate { font-size: 11px; }
.Guestbook .GuestbookForm input.textname { width: 200px; border: 1px solid #555; margin-bottom: 10px; }
.Guestbook .GuestbookForm input.textemail { width: 200px; border: 1px solid #555; margin-bottom: 10px; }
.Guestbook .GuestbookForm textarea.textmessage { width: 200px; height: 130px; border: 1px solid #555; margin-bottom: 10px; }
.Guestbook .GuestbookForm input.GuestSubmit { 
	border: 1px solid white;
	color: white;
	background-color: #555; 
	font-size: 11px;
	width: 130px;
	padding-bottom: 3px;
	_padding: 0;
	height: 20px;
}

.Contact {
	background: black;
	padding: 10px;
	height: 355px;
	overflow: auto;
}
.Contact .FunctionTable { border-collapse: collapse; border: 0; width: 720px; }
.Contact .LeftColumn { vertical-align: top; padding-right: 10px; }
.Contact .RightColumn { width: 300px; vertical-align: top; }
.Contact .RightColumn img { margin-bottom: 5px; }
.Contact .ContactForm { margin-top: 10px; }
.Contact .ContactForm input.text { width: 200px; border: 1px solid #555; margin-bottom: 10px; }
.Contact .ContactForm textarea.textmessage { width: 370px; height: 115px; border: 1px solid #555; margin-bottom: 10px; }
.Contact .ContactForm input.ContactSubmit { 
	border: 1px solid white;
	color: white;
	background-color: #555; 
	font-size: 11px;
	width: 130px;
	padding-bottom: 3px;
	_padding: 0;
	height: 20px;
}

.LayoutPage .Contact {
	height: auto;
	border: 0;
	overflow: none;
	padding: 0;
}

.GalleryCommentFormControl textarea { background-color: black; color: white; border: 1px solid #555; }
.GalleryCommentFormControl input.GalleryCommentSubmit { 
	border: 1px solid white;
	color: white;
	background-color: #555; 
	font-size: 11px;
	width: 130px;
	padding-bottom: 3px;
	_padding: 0;
	height: 20px;
}
div.CommentContainer p.TimeStamp {
	font-size: 10px;
}


/*
Drop down menu
===================================================================================================
*/

.ClearBoth { clear: both; }

.DropMenu, .DropMenu ul {
	float: left;
	list-style: none;
	line-height: 1em;
	font-weight: bold;
	padding: 0;
	margin: 0;
}

.DropMenu a {
	display: block;
	text-decoration: none;
	padding-right: 1.5em;
}

.DropMenu a.toplevel {
	white-space: nowrap;
}

.DropMenu li {
	position: relative;
	_position: static;
	float: left;
	padding: 0;
}

.DropMenu li ul {
	position: absolute;
	z-index: 2;
	left: -999em;
	height: auto;
	width: 14em;
	font-weight: normal;
	margin: 0;
	border-top: 0;
	background-color: black;
}

.DropMenu li li {
	padding: 0;
	width: 14em;
	background-color: black;
}

.DropMenu li ul a {
	padding: 0.25em 1em;
	text-decoration: none;
	width: 12em;
}

.DropMenu li ul ul {
	margin: -15px 0 0 14em;
}

.DropMenu li a:hover {
	color: white;
	background: #888888;
	text-decoration : none;
}

.DropMenu li a.toplevel:hover {
	color: #a64000;
	background: none;
	text-decoration : underline;
}

.DropMenu li:hover ul ul, .DropMenu li:hover ul ul ul, .DropMenu li.sfhover ul ul, .DropMenu li.sfhover ul ul ul {
	left: -999em;
}

.DropMenu li:hover ul, .DropMenu li li:hover ul, .DropMenu li li li:hover ul, .DropMenu li.sfhover ul, .DropMenu li li.sfhover ul, .DropMenu li li li.sfhover ul {
	left: auto;
}

.DropMenu li:hover, .DropMenu li.hover {
  position: static;
	text-decoration: none;
}
.DropMenu a.toplevel {
	padding-top: 5px;
	padding-bottom: 5px;
}

.DropMenu a.parent {
	background: black url('images/rightarrow.gif') right center no-repeat;
}

.DropMenu a.parent:hover {
	background: #888888 url('images/rightarrow.gif') right center no-repeat;
}

/*
Gallery
===============================================================
*/

.ImageGallery {
	position: relative;
	background: black;
	padding: 10px;
	height: 355px;
	overflow: auto;
}

.GalleryPagerLinks .PreviousPage {
	width: 50px;
	height: 30px;
}
.GalleryPagerLinks .NextPage {
	width: 50px;
	height: 30px;
}

.GalleryPagerLinks .PreviousPage a {
	width: 50px;
	height: 30px;
	background: url('images/gallery_prev.gif') no-repeat center left;
}
.GalleryPagerLinks .PageNumber {
	padding-top: 5px;
	font-size: 13px;
}
.GalleryPagerLinks .NextPage a {
	width: 50px;
	height: 30px;
	background: url('images/gallery_next.gif') no-repeat center right;
}

div.Gallery9 .GalleryPagerLinks .PreviousPage a, 
div.Gallery10 .GalleryPagerLinks .PreviousPage a {
	background: url('/resources/functions/images/dark/button-previous.gif') no-repeat !important;
}
div.Gallery9 .GalleryPagerLinks .NextPage a, 
div.Gallery10 .GalleryPagerLinks .NextPage a {
	background: url('/resources/functions/images/dark/button-next.gif') no-repeat !important;
}

.Gallery9 {
	width: 710px;
}
.Gallery9 .Fullview {
	width: 560px;
}
.Gallery9 .Fullview .FullviewImage {
	width: 560px;
	height: 420px;
}
.Gallery9 .Fullview .FullviewImage img {
	_width: expression(Math.min(this.clientWidth, 560) + "px");
}

.Gallery10 {
	width: 710px;
}
.Gallery10 .Fullview {
	width: 520px;
}
.Gallery10 .Fullview .FullviewImage {
	width: 520px;
	height: 390px;
}
.Gallery10 .Fullview .FullviewImage img {
	_width: expression(Math.min(this.clientWidth, 520) + "px");
}

.PopupContainer {
	background-color: black;
	color: white;
}
.PopupContainer .PopupImage div.PopupImageBackground {
	background-color: black;
}
.PopupContainer .PopupImage div.PopupImageBackground img {
	border: 0;
}
.PopupContainer .PopupImageClose #ds-close,
.PopupContainer .PopupImageClose .ds-close {
	background: url('images/button-top-close.gif') no-repeat;
}
.PopupContainer .PopupControls .PopupSlideshow #ds-play,
.PopupContainer .PopupControls .PopupSlideshow .ds-play {
	background: url('images/button-play.gif') no-repeat;
}
.PopupContainer .PopupControls .PopupSlideshow #ds-pause,
.PopupContainer .PopupControls .PopupSlideshow .ds-pause {
	background: url('images/button-pause.gif') no-repeat;
}
.PopupContainer .PopupControls .PopupNavigation #ds-previous,
.PopupContainer .PopupControls .PopupNavigation .ds-previous {
	background: url('images/button-previous.gif') no-repeat !important;
}
.PopupContainer .PopupControls .PopupNavigation #ds-next,
.PopupContainer .PopupControls .PopupNavigation .ds-next {
	background: url('images/button-next.gif') no-repeat !important;
}

.FullviewContainer .FullviewImage div.FullviewImageBackground {
	background-color: black;
}
.FullviewContainer .FullviewImage div.FullviewImageBackground img {
	border: 0;
}
.FullviewContainer .FullviewControls .FullviewSlideshow #ds-play,
.FullviewContainer .FullviewControls .FullviewSlideshow .ds-play {
	background: url('images/button-play.gif') no-repeat;
}
.FullviewContainer .FullviewControls .FullviewSlideshow #ds-pause,
.FullviewContainer .FullviewControls .FullviewSlideshow .ds-pause {
	background: url('images/button-pause.gif') no-repeat;
}
.FullviewContainer .FullviewControls .FullviewFullscreen #ds-fullscreen,
.FullviewContainer .FullviewControls .FullviewFullscreen .ds-fullscreen {
	background: url('/resources/functions/images/dark/button-fullscreen.gif') no-repeat;
}
.FullviewContainer .FullviewControls .FullviewNavigation #ds-previous,
.FullviewContainer .FullviewControls .FullviewNavigation .ds-previous {
	background: url('images/button-previous.gif') no-repeat !important;
}
.FullviewContainer .FullviewControls .FullviewNavigation #ds-next,
.FullviewContainer .FullviewControls .FullviewNavigation .ds-next {
	background: url('images/button-next.gif') no-repeat !important;
}

/*
===============================================================
*/

.ResponsiveDesign .MainPage { padding-right: 188px; }
.ResponsiveDesign .MainPage .MainContainer { margin-right: 8px; }
.ResponsiveDesign .MainPage .NewsContainer { width: 170px; padding-left: 8px; }

.ResponsiveDesign .MainPage .MainPageInlineContainer { height: auto; margin: 0; padding: 0; }
.ResponsiveDesign .MainPage .MainPageInlineContainer .ImageContainer, 
.ResponsiveDesign .MainPage .MainPageInlineContainer .ParagraphContainer { border: 0; height: auto; margin: 0 10px 10px 0; padding: 0; width: 200px; }
.ResponsiveDesign .MainPage .MainPageInlineContainer .ParagraphContainer { margin-bottom: 5px; }

.ResponsiveDesign .ImageGallery1 .FunctionTable { width: 560px; }
.ResponsiveDesign .ImageGallery1 .FunctionTable .ImageCell { width: 180px; }
.ResponsiveDesign .ImageGallery1 .ImageCell .ParagraphContainer { padding: 5px; }

.ResponsiveDesign .ImageGallery2 .ImageCell { width: 120px; }
.ResponsiveDesign .ImageGallery2 .TextCell { margin-left: 130px; }
.ResponsiveDesign .ImageGallery3 .TextCell { margin-left: 60px; }

.ResponsiveDesign .Diary .FunctionTable .LeftColumn { width: 200px; }
.ResponsiveDesign .Diary .ArticleList .EntriesColumn { margin-right: 230px; }
.ResponsiveDesign .Diary .DiaryContainer .RightColumn { margin-left: 215px; }
.ResponsiveDesign .Diary .ArticleList .EntriesColumn img,
.ResponsiveDesign .Diary .DiaryContainer .RightColumn .DiaryItemContainer img { max-width: 100%; }

.ResponsiveDesign .ImageGallery .Gallery4 .GalleryImageCell { width: 120px; }
.ResponsiveDesign .ImageGallery .Gallery4 .GalleryTextCell { width: 210px; }

.ResponsiveDesign .ImageGallery .Gallery5 .GalleryImageCell { width: 50px; }
.ResponsiveDesign .ImageGallery .Gallery5 .GalleryTextCell { width: 280px; }


.ResponsiveDesign .ImageGallery .Slide1,
.ResponsiveDesign .ImageGallery .Slide2,
.ResponsiveDesign .ImageGallery .Slide3 { width: 720px; }

.ResponsiveDesign .ImageGallery .Slide1 img,
.ResponsiveDesign .ImageGallery .Slide2 img { max-width: 720px; border: 0; }


