a#nextpic{
	float: right;
	margin-right: 1em;
}
a#prevpic{
	float: left;
	margin-left: 1em;
}


div.galleryCMS_editgallery {
	width: 100%;
	margin: 0;
	padding: 0;
	margin-top: 1em;
	margin-bottom: 1em;
/*	border-top: solid 1px white;*/
	padding-top: 1em;
}
div.galleryCMS_editgallery fieldset{
/*	text-align: left;*/
	display: inline;
	float: left;
	width: 48%;
	border: 1px dotted white;
	padding: 2px;
}

div.galleryCMS_editgallery textarea{
	width: 90%;
}

div.detailCMS{
	text-align: center;
}

div.detailCMS div{
	width: 100%;
	text-align: center;
}
img.detailCMS_picture{
	border: none;
	max-height: 600px;
	max-width: 100%;
}
/*
div.content{
	position: relative;
}
div.content img{
	border: solid 1px white;
}*/
div.galleryCMS_gallery{
	width: 100%;
/*	height: 110px;
*/	text-align: center;
	margin-top: 1em;
	border-top: solid 2px #cfcfcf;
	display: block;
	clear: both;
}
div.nodivide{
	border-top: none;
}
div.galleryCMS_gallery div.galleryCMS_slot{
	vertical-align: middle;
	height: 112px;
	width: 112px;
	min-width: 112px;
	min-height: 112px;
	max-height: 112px;
	max-widthL 112px;
	display: inline;
	text-align: center;
	border: none;
}
div.galleryCMS_gallery div.galleryCMS_slot img{
	vertical-align: middle;
	margin-left: 2px; margin-right: 2px;
	margin-top: 2px; 
	margin-bottom: 2px;
	border: none;
}
div.galleryCMS_gallery div.galleryCMS_nav{
	width: 100%;
	clear: both;
	margin-top: 1em;
	float: left;
}

a.selected_gallery{
	/* color: black; */
	text-decoration: none;
/*	text-align: right;*/
}

form#addgal{
	width: 100%;
}

form.add_gallery fieldset{
	border: 1px dotted /*white*/;
	text-align: left;
}

form.add_gallery fieldset textarea.galleryCMS,
form.add_gallery fieldset input.galleryCMS{
	width: 12em;
	display: block; 
	padding: 0px;
}
form.add_gallery fieldset div.add_gallery_submit{
/*	text-align: right;*/
}

div.galleryCMS_nav a{
  color: #efefae;
	padding-left: 5px;
   padding-right: 5px;

}
/*
a.pageturn_left{
	float: left;
}

a.pageturn_right{
	float: right;
}
*/
a.pagelink{
	padding: .3em;
}

a.pageturn{
	text-decoration: none;
}


a.gal_viewed_page{
/*	color: #efefef;*/
}

div.loginDiv{
	display: inline;
}


div.picCMS_chooser{
	position: absolute;
	top: 100px;
	left: 100px;
	width: 400px;
	max-height: 80%;
	border: ridge white;
	background: black;
	text-align: left;
}
div.picCMS_chooser a.close{
	float: right;
	display: inline;
	margin-right: 5px;
}
div.picCMS_chooser strong{
	clear: right;
}

div.picCMS_chooser div.chooser_option{
width: 100%;
margin-bottom: 10px;
border-bottom: solid 1px white;
}

div.picCMS_chooser div.chooser_option div.chooser_para{
	float: left;
	clear: none;
	display: block;
	min-height: 100px;
}
div.aboutCMS div.textCMS_editor, 
div.aboutCMS div.imgCMS_editor {
	width: 48%;
	float: left;	
	text-align: center;
}
div.textCMS_editor textarea{
	display: block;
	margin: auto;
}
div.aboutCMS div.aboutCMS_image{
	max-width: 100%;
}
div.aboutCMS{
	clear: both;
}	
div.aboutCMS .heading{
	font-size: 16px;
}

div.aboutCMS .title{
	font-size: 18px;
}

div.aboutCMS textarea{
	width: 50%;
	min-width: 200px;
	overflow: auto;
	height: 8em;
}
/*
div.aboutCMS div.aboutCMS_image{
	float: left;
	min-width: 110px;
	text-align: center;
}
*/

input.styleCMS_size{
	width: 4ex;
}
div.aboutCMS input[type='button'],
div.aboutCMS input[type='submit']{
	padding: 0;
	margin: 0;
	font-size: 12pt;
}

div.collapsible{
	border: outset 1px white;
	width: auto;
	min-width: 1px;
	position: absolute;
	background-color: black;
	left: 10%;
	max-width: 80%;
	padding: .35em;
	vertical-align: middle;
}
div.collapsible fieldset{
	border: none;
	width: auto;
	text-align: right;
}
div.collapsible legend{
	display: none;
}

a.collapse_control{
	background: lightgray;
	color: black;
	border: outset 1px darkgray;
	text-decoration: none;
	font-size: 12pt;
}
div.collapsible a.collapsediv_close{
	margin-bottom: 1em;
}

div#pagearea{
	clear: both;
	padding-top: 1em;
}

div#detailarea{
	text-align: center;
}

table.gallinks{
	margin: auto;
	text-align: center;
	border-collapse: collapse;
}
table.gallinks tr td{
	border: solid 1px;
	padding: 1em;
}
