/*body, div, span*/
#gallery-container div,
#gallery-container span
{
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
}
strong{font-weight:bold}
#gallery-container{
	height: 100%;
}
#imageEdit{
	width:210px;
	float:right;
	padding: 55px 15px;
}
#tileContainer{
	overflow: hidden;
	height: 100%;
	overflow-y: auto;
	
}
div#gallery-container div.message{display:block;margin-top:50px;margin-left:20%;font-size:13px}
ul#tabs {
	border-bottom: 2px solid #6D6D6D;
	overflow: hidden;
}
/*
ul#tabs li{
	width: 50%;
	float: left;
}
ul#tabs li.sel
*/
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;
}
#selectFromMyImages{
	height:18px;
	width:153px;
	position:absolute;
	top:12px;
	left:287px;
}
#selectFromMyImages span.text{
	font-size:13px;
	color:#135A83;
	text-shadow:0px -1px 0px #77c3d0;
	filter: dropshadow(color=#77c3d0,offx=0,offy=-1);
}
#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%}
ul#tilePanel{list-style:none;overflow:hidden}
ul#tilePanel li.tile,ul#tilePanel li.tileHover{float:left;overflow:hidden;margin:10px;position:relative;height:105px;width:100px;border: 1px solid transparent;text-align:center;max-width:200px;padding:5px;cursor:move}
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:#e0effb}
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;margin:0 auto}
ul#tilePanel li.tile div.thumbnail img,#imageEdit div.content div.thumbnail img,ul#galleryPhotos li img{position:absolute;margin:auto;top:0;bottom:0;right:0;left:0;border: 1px solid transparent;max-width: 95%;max-height: 95%;box-sizing: border-box;}
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}

#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.show{
	display: block;
}
#imageEdit div.content.hide{
	display: none;
}
#imageEdit div.content div.hint{border:3px solid #DDD;color:#ddd;font-size:2em;text-align:center;border-radius:10px;height:230px;padding-top:190px}
#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:400;
	margin:15px 0 2px;
	display:block;
	font-size:13px;
	color: #4a4a4a;
	letter-spacing: 0.05em;
}
#imageEdit div.content div.edit label.left{float:left;}
#imageEdit div.content div.edit div.counter{float:right;margin-right:8px;margin-top:15px}
#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:204px}
#imageEdit div.content div.edit input.watermark,#imageEdit div.content div.edit textarea.watermark{color:#808080}
#imageEdit div.content div.edit textarea{width:204px;height:117px;resize:none;font-family: 'Droid Sans', arial, sans-serif;font-size: 12px;}
#imageEdit div.content button,button#closeUpload{
	background-color: #007CDC;
    border: medium none;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    padding: 5px 0;
    text-align: center;
    text-decoration: none;
    width: 120px;
	margin-top: 10px;
}
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{
	background-color: #004ED0;
}
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;
}
ul#tilePanel li.uploadTile {
	float: left;
	margin: 0 0 10px 15px;
}
a#uploadBtn {
    background: url("/img/editor/add_image_label.png") no-repeat scroll center center #007CDC;
    display: block;
    height: 100px;
    margin: 10px;
    width: 100px;
}
a#uploadBtn:hover {
	border-radius: 50px;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
}
#tilePanel li.tile:hover,
#tilePanel li.tile.selected:hover {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid rgba(0,0,0,0.2);
	-moz-box-shadow: 1px 2px 5px rgba(0,0,0,0.53);
	-webkit-box-shadow: 1px 2px 5px rgba(0,0,0,0.53);
	box-shadow: 1px 2px 5px rgba(0,0,0,0.53);
}
#tilePanel li.tile:hover img{
	border-color: rgba(0,0,0,0.17);
}
#tilePanel li.tile.selected {
    border: 1px solid #849096;
	-moz-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.53);
-webkit-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.53);
box-shadow: inset 1px 1px 3px rgba(0,0,0,0.53);
}
ul#tilePanel li.tile ul.actions li.delete
{
	float: right;
	background-position: 5px -170px;
	height: 8px;
	width: 8px;
	margin: 7px 5px 5px 0;
	padding: 0 5px;
}
ul#tilePanel li.tile ul.actions li.delete:hover{
	background-position: 5px -224px;
}
ul#tilePanel li.tile ul.actions li.rotate.right{
	background-position: -2px -591px;
}
ul#tilePanel li.tile ul.actions li.rotate.right:hover{
	background-position: -2px -653px;
}
ul#tilePanel li.tile ul.actions li.preview{
	background-position: 0 -339px;
}
ul#tilePanel li.tile ul.actions li.preview:hover{
	background-position: 0 -469px;
}
#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 -707px;
	cursor:move;
	padding: 0 4px;
}
ul#tilePanel li.tile ul.actions li.move:hover{
	background-position: 2px -768px;
}
#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;
	border: none;
}
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;
}

#tileContainer .jspVerticalBar{
	width: 8px;
	right: 2px;
	background: transparent;
}
#tileContainer .jspTrack{
	background: transparent;
}
#tileContainer .jspDrag{
	background-color: rgba(166,166,166,0.7);
	width: 5px;
	margin: 0 auto;
	transition:width 0.1s ease-in-out ;
	-moz-transition:width 0.1s ease-in-out ;
	-webkit-transition:width 0.1s ease-in-out ;
	-o-transition:width 0.1s ease-in-out ;
}
#tileContainer .jspDrag:hover, #tileContainer .jspDrag.hover{
	width: 7px;
}
#tileContainer .jspVerticalBar .jspArrow {
	background: #fff url('/img/editor/scrollpane_arrow.png') no-repeat 0 0;
	height: 16px;
}
#tileContainer .jspVerticalBar .jspArrowUp{
	background-position: -4px 0;
	width: 8px;
	height: 10px;
	margin-bottom: 2px;
}
#tileContainer .jspVerticalBar .jspArrowDown{
	background-position: -4px -11px;
	margin-top: 5px;
	width: 8px;
}

#gallery-container .content .filename {
	text-align: center;
	font-size: 11px;
	margin: 2px 0;
}
