.gallery-section
{
    
}

.gallery-section .static-gallery
{
    display: none;
}

.gallery-section .slideshow
{
    display: none;
}

.gallery-section .active
{
    display: block;
}

.gallery-section .slideshow div.image-control dl dt
{
    display: none;
}

.gallery-section .slideshow div.image-control dl dd ul
{
    margin-right: 10px;
}

.gallery-section .slideshow div.image-control dl dd li
{
    list-style: none;
    float: left;
}

.gallery-section .slideshow div.image-control dl dd.image-control-modes ul li
{
    margin-left: 0.5em;
}


.gallery-section .slideshow div.image-control dl dd.image-control-speeds
{
    float: right;
}

.gallery-section .slideshow div.image-control dl dd.image-control-speeds ul li
{
    margin-left: 0.5em;
}

.gallery-section .static-gallery ul.gallery-images li
{
    list-style: none;
    float: left;
    margin: 1.5em;
}

.gallery-section .static-gallery ul.gallery-pages
{
    clear: both;
}

.gallery-section .static-gallery ul.gallery-pages li
{
    float: left;
    list-style: none;
}

.gallery-section .inactive
{
    display: none;
}

.gallery-section fieldset
{
    border: 1px solid #999999;
    margin-left:150px;
    height: 85px;
}

.gallery-section fieldset legend
{
    display: none;
}

.gallery-section label
{
    display: block;
    float:left;
    width:70px;
    clear:left;
    margin-bottom: 5px;
}

.gallery-section input,
.gallery-section select
{
	padding:0px;
    margin-bottom: 1em;
    width:250px;
    float:left;
    clear:right;
    /*margin-left: 20px;*/
    /*margin-top: 20px;*/
}
#ctl00_MainContentHolder_btnSearch
{
    width:70px;
    margin-left:5px;
}

.gallery-section .image-wrapper
{
    display: block;
    clear:both;
    float:left;
    top: 400px;
    position: absolute;
}

.gallery-section .image-cover
{
    position: absolute;
    background: #000;
    z-index: 2;
}

.gallery-section .size-0
{
    width: 100px;
    height: 75px;
}

.gallery-section .size-1
{
    width: 240px;
    height: 180px;
}

.gallery-section .size-2
{
    width: 500px;
    height: 375px;
}

.gallery-section .size-3
{
    width: 1024px;
    height: 768px;
}

#content.gallery-section h3
{
	color:#fff;
	font-family:Geneva,Arial,Helvetica,sans-serif;
	font-size:2em;
	margin:0;
	margin-bottom:1em;
}
#content.gallery-section h4
{
	margin-bottom:0.1em;
	margin-top:0.1em;
}
a#ctl00_MainContentHolder_lnkEdit
{
	float:right;
	margin-right:100px;
	margin-top:-53px;
	color:Red;
}
#size-picker
{
	float:right;
	margin-top:-60px;
}
#size-picker select
{
	width:90px;
	margin-bottom:0px;
}
#ctl00_MainContentHolder_lnkBack
{
}

div.classifications
{
	width:33%;
	padding:0;
	margin:0;
	float:left;
	display:block;
}
div.classifications ul
{
	margin-top:0.2em;
}
.image-title
{
	clear:both;
	float:left;
}
.search-box fieldset
{
	margin-left: 0px;
	position: absolute;
	display: block;
	text-align: right;
	height: 100%;
	clear: none;
	float: left;
}

ul.search-results,
ul.pages,
ul.sizes,
ul.controls,
ul.album-page
{
	float:left;
	overflow:visible;
	clear:right;
	display:block;
	width:580px;
}

ul.search-results
{
	padding-left: 0px;
	margin-left: 0px;
	}
ul.sizes,
ul.controls
{
	width:auto;
	display:inline;
	clear:right;
	padding-left:20px;
}
ul.pages
{
	clear:left;
	margin-left:100px;
}
ul.controls li,
ul.sizes li,
ul.pages li
{
	display:inline;
	list-style-type:none;
}

ul.controls li a.selected,
ul.sizes li a.selected,
ul.pages li a.selected
{
	color:#ED1C24 !important;
}

ul.search-results li,
ul.album-page li
{
	float:left;
	margin:0;
	padding:0;
	display:block;
	clear:none;
	width:125px;
	
}
ul.search-results li span,
ul.album-page li span
{
	display:block;
	text-align:center;
	width:100px;
}
ul.search-results li a,
ul.album-page li a
{
	display:block;

	border:solid 1px #999;
	margin-right:10px;
	margin-bottom:10px;
	padding:10px 10px 10px 10px;
	min-height:150px;
	width:100px;
	overflow:hidden;
	
	border:1px solid #999999;
	height:155px;
}
ul.search-results li a:hover,
ul.album-page li a:hover
{
	border:solid 1px #eee;
}
div.search-types 
{
	width:100%;
	clear:right;
	overflow:hidden;
	margin-left: 15px;
}
div.search-types fieldset
{
	width:215px;
	float:left;
	margin:0px;
	margin-right:30px;
}
div.search-types fieldset div.field label
{
	width:200px;
}
div.search-types fieldset div.field input,
div.search-types fieldset div.field select
{
	width:180px;
}
div.search-types fieldset div.submit input
{
	width:90px;
	float:right;
	clear:both;
	margin-right:15px;
}
div.gallery-image
{
	width:550px;
	height:470px;
	overflow:scroll;
	border:solid 2px #fff !important;
	margin-top:50px;
	margin-left:20px;
	
}
* html div.gallery-image
{
	clear:none;
}
div.size-Small,
div.size-Small div#displayArea
{
	width:240px;
	height:180px;
	overflow:hidden;
}
div.size-Medium, div.size-Medium div#displayArea
{
	width: 501px;
	height: 376px;
	overflow: hidden;
}

div.size-Large,
div.size-Large div#displayArea
{
	width:550px;
	height:470px;
	overflow:visible;
}
div.size-Large div#displayArea
{
	overflow:Scroll;
}

div#displayArea
{
	position:relative;
	
}
div#displayArea img
{
	position:absolute;
	margin:0 auto;
	z-index: 1;
}

div#content
{
	overflow:hidden;
	padding-top:130px;
	margin-left:0px;
	width:596px;
}

.clear-right
{
	clear:right;
}

.btn
{
	float: right;
}

#GalleryResults
{
	margin-left: 15px;	
}
