/*body, div, span*/
#gallery-container div,
#gallery-container span
{
	font-family: 'Droid Sans', arial, sans-serif;
	font-size: 12px;
}
strong{font-weight:bold}
#gallery-container{
	margin:10px;
}
div#gallery-container div.message{display:block;margin-top:50px;margin-left:20%;font-size:13px}
div#upload-container{
	margin: 10px 0;
	height:45px;
}
div#selectFromMyImages{
	display:inline;
	cursor: pointer;
	margin: 0 10px;
}
div#sortBy{
	display:inline;
}
#uploadSelectContainer{
	background:url('/img/gallery_upload.png') no-repeat 0 0;
	height:40px;
	width:475px;
	position:relative;
}
#uploadSelectContainer span.upload{
	font-size:18px;
	color:#fff;
	text-shadow:0px -1px 0px #89bbc3;
	filter: dropshadow(color=#89bbc3,offx=0,offy=-1);
	position:absolute;
	top:10px;
	left:33px;
	font-weight:bold;
}
#uploadSelectContainer div.separator{
	position:absolute;
	top:11px;
	left:276px;
	background:url('/img/gallery_upload_separator.png') 0 0 no-repeat;
	height:14px;
	width:2px;
}
#uploadBtn{
	cursor:pointer;
	position:absolute;
	top:12px;
	left: 165px;
	height:18px;
	width:90px;
}
#selectFromMyImages{
	height:18px;
	width:153px;
	position:absolute;
	top:12px;
	left:287px;
}
#uploadBtn span.text, #selectFromMyImages span.text{
	font-size:13px;
	color:#135A83;
	text-shadow:0px -1px 0px #77c3d0;
	filter: dropshadow(color=#77c3d0,offx=0,offy=-1);
}
#uploadBtn span.text{
	width:90px;
	display:block;
	background:url('/img/gallery_upload_file.png') 73px 0 no-repeat;
}
#uploadBtn span.text:hover{
	background:url('/img/gallery_upload_file_hover.png') 73px 0 no-repeat;
}
#uploadBtn span.text:hover, #selectFromMyImages span.text:hover{
	top:11px;
	color:#000;
}
#imagesUpload{
	display:none;
	cursor:default;
	width:421px;
	position:absolute;
	top:27px;
	left:-137px;
	z-index:100;
	background-color:#86DAE9;
	-webkit-border-radius: 10px;
	-webkit-border-top-left-radius: 0;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius: 10px;
	-moz-border-radius-topleft: 0;
	-moz-border-radius-topright: 0;
	border-radius: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
/*
#tips{
	position:absolute;
	top:10px;
	right:10px;
	height:40px;
	margin-left:20px;
	border: 1px solid #9AD1DA;
	border-radius:10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	background-color:#fff;
}
#tips div.close{
	background: url('/img/fancy_close2.png') no-repeat top right;
	height:20px;
	width:20px;
	position:absolute;
	top:-5px;
	right:-5px;
}
#tips div.text{
	padding:4px;
	text-align:center;
}
#tips ul.legend{
	padding:0 4px 4px;
}
#tips ul.legend li{
	background:url('/img/imageTabSprite.png') no-repeat top left;
	margin-right: 10px;
	float:left;
}
#tips ul.legend li.preview{
	background-position: 0 -346px;
}
#tips ul.legend li.delete{
	background-position: 0 -171px;
	margin-right:0;
}
#tips ul.legend li.move{
	background:url('/img/move_black_small.png') no-repeat 0 2px;
}
*/
ul#galleryActions {
	list-style: none;
}
ul#galleryActions li {
	float: left;
	margin-right: 10px;
}
div#imagesContainer{height:100%}
div#tileContainer{float:left;width:100%}
form#images{margin-left:230px;overflow:hidden}
ul#tilePanel{list-style:none;overflow:hidden}
ul#tilePanel li.tile,ul#tilePanel li.tileHover{float:left;overflow:hidden;margin:10px;position:relative;height:124px;width:100px;border: 1px solid transparent;text-align:center;max-width:200px;padding:5px}
ul#galleryPhotos li{float:left;overflow:hidden;position:relative;height:110px;width:100px;border: 1px solid transparent;text-align:center;max-width:200px;margin:5px;height:120px;width:120px}
ul#tilePanel li.tileHover{background-color:#7FC0E2}
ul#tilePanel li.tileHover div.text{text-align:center;margin-top:45px}
ul#tilePanel li.tile div.thumbnail,#imageEdit div.content div.thumbnail{position:relative;height:100px;width:100px}
ul#tilePanel li.tile div.thumbnail table.exif,
#imageEdit div.content div.thumbnail table.exif{
	display:none;
}
#imageEdit div.content div.thumbnail{left:60px;top:0}
ul#tilePanel li.tile div.thumbnail img,#imageEdit div.content div.thumbnail img,ul#galleryPhotos li div.thumbnail img{position:absolute;margin:auto;top:0;bottom:0;right:0;left:0}
ul#tilePanel li.tile div.caption{overflow:hidden;height:28px;line-height:14px;text-overflow:ellipsis}
.ui-state-highlight { height: 1.5em; line-height: 1.2em; }
ul#tilePanel li.tile div.right{float:right}
ul#tilePanel li.tile div.edit,ul#tilePanel li.tile div.info{display:none;text-align:left;padding:2px}
div#imageEdit{float:left;width:210px;margin-left:-100%}
#imageEdit div.content {width:222px;position:fixed;height:100%}
#imageEditBorder{height:100%;left:225px;position:absolute;top:-5px;display:none}
#imageEditBorder div{width:11px;height:100%}
#imageEditBorder div.repeat{background:url('/img/gallery_edit_border_repeat.png') 0 0 repeat-y;height:70%}
#imageEditBorder div.top{background:url('/img/gallery_edit_border_top.png') 0 0 no-repeat;height:23px}
#imageEditBorder div.bottom{background:url('/img/gallery_edit_border_bottom.png') 0 0 no-repeat;height:23px}
#imageEditBorder.bordered{display:block}
#imageEdit div.content div.hint{border:3px solid #DDD;color:#ddd;font-size:2em;text-align:center;border-radius:10px;height:180px;padding-top:130px}
#imageEdit div.content div.result{text-align:center}
#imageEdit div.content div.info{width:200px}
#imageEdit div.content div.info label,#imageEdit div.content div.edit label{font-weight:bold;margin-top:4px;display:block;height:14px}
#imageEdit div.content div.edit label.left{float:left;}
#imageEdit div.content div.edit div.counter{float:right;color:#444;margin-right:8px;margin-top:4px}
#imageEdit div.content div.info span.input{margin-top:2px;display:block;overflow:hidden;height:14px;text-overflow:ellipsis;-o-text-overflow:ellipsis;cursor:default}
#imageEdit div.content div.edit input{width:208px}
#imageEdit div.content div.edit input.watermark,#imageEdit div.content div.edit textarea.watermark{color:#808080}
#imageEdit div.content div.edit textarea{width:208px;height:117px;resize:none;font-family: 'Droid Sans', arial, sans-serif;font-size: 12px;}
#imageEdit div.content button,button#closeUpload{color:#F9F9F9;background:#A7A7A7;margin:.5em .4em .5em 0;cursor:pointer;font-weight:bold;border:1px solid #A7A7A7;border-radius:5px;-webkit-border-radius: 5px;-moz-border-radius: 5px}
table.exif td{padding:2px 0 3px 10px;width:250px}
table.exif tr{border-bottom:1px solid #444}
table.exif tr:last-child{border-bottom:0}
table.exif td.key{width:110px;border-right:1px solid #444;padding-left:0;width:170px;}
button#closeUpload{float:right}
#imageEdit div.content button:hover{color:#135A83;border-color:#D0D0D0;background-color:#D0D0D0}
ul#tilePanel li.tile ul.actions{list-style: none;display:none;padding:0;width:100%;position:absolute;z-index:2;left:0;top:0;margin:auto;background-color:#fff;}
ul#tilePanel li.tile ul.actions li{
	background:url('/img/imageTabSprite.png') no-repeat top left;
	float: left;	
	padding: 0;
	margin: 4px 0 5px 5px;
	line-height: 12px;
	width:10px;
	height:10px;
	cursor: pointer;
}
#tilePanel li.tile:hover {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #CCCCCC;
}
#tilePanel li.tile.selected {
    border: 1px solid #849096;
}
ul#tilePanel li.tile ul.actions li.delete
{
	float: right;
	background-position: 5px -174px;
	height: 8px;
	width: 8px;
	margin: 7px 5px 5px 0;
	padding: 0 5px;
}
ul#tilePanel li.tile ul.actions li.rotate.right{
	background-position: -2px -593px;
}
ul#tilePanel li.tile ul.actions li.rotate.right:hover{
	background-position: -2px -655px;
}
ul#tilePanel li.tile ul.actions li.preview{background-position: 0 -347px;}
ul#tilePanel li.tile ul.actions li.preview:hover{
	background-position: 0 -468px;
}
#tilePanel li.tile ul.actions li.preview a {
    background-position: 0 -348px;
    color: #7FC0E2;
    font-size: 10px;
    padding-left: 12px;
    text-decoration: none;
}
ul#tilePanel li.tile ul.actions li.move{
	background-position: 2px -712px;
	cursor:move;
	padding: 0 4px;
}
ul#tilePanel li.tile ul.actions li.move:hover{
	background-position: 2px -773px;
}
#thumbs div.message{
	text-align:center;
	height:100px;
	padding-top:45px
}
ul#galleryPhotos{
	list-style:none;
	min-height:100px;
	overflow:hidden;
	text-align:center;
}
ul#galleryPhotos div.thumbnail{
	width:120px;
	height:120px;
}
ul#galleryPhotos li img{
	border: 3px solid #fff;
}
#slideshow img{
	border: 10px solid #fff;
}
ul#galleryPhotos li:hover{
	opacity:1
}
#controls a.play,#controls a.pause{
	text-indent:-9999px;
	height:40px;
	width:40px;
	display:block;
	margin: 10px auto 0;
	background:url('/img/gallery_play_pause.png') 0 0 no-repeat;
}
#controls a.play{
	background-position:0 0;
}
#controls a.pause{
	background-position:-43px 0;
}
#controls a.play:hover{
	background-position:0 -42px;
}
#controls a.pause:hover{
	background-position:-43px -42px;
}
.pagination{
	display:table;
	margin: 0 auto;
}
.pagination a,.pagination span{
	text-align:center;
}
.pagination span.current{
	cursor:default;
}
.pagination a,.pagination span.current,.pagination span.ellipsis{
	padding: 4px 8px;
	border-radius:5px;
	-moz-border-radius: 5px;
	-webkit-border-radius:5px;
	border: 1px solid transparent;
}
.pagination a:hover{
	border: 1px solid #aaa;
	text-decoration:none;
}
.pagination span.current{
	background-color:#444;
	color:#fff;
	border-color:#444;
}
.pagination span.current.prev,
.pagination span.current.next{
	color:#999;
	background:none;
	border:none;
}
