#uGalleries {	padding: 5px 0;
	position: relative;}

#uGalleries .right {	float: right;}


#uGalleries .photo {	text-align: center;}

#uGalleries #picture {
	border: 1px solid #CCCCCC;
    padding: 2px;
    max-width: 100%;
}

#uGalleries div.pathway { margin: 0 0 10px 0; padding: 0; color: #666; font-size: 11px; font-family: Tahoma, Arial, serif; border-bottom: 1px dashed #ddd; }
#uGalleries a.pathlink, #uGalleries a.pathlink:visited, #uGalleries a.pathlink:link, #uGalleries a.pathlink:active { color: #5a76e2; font-size: 11px; text-decoration: none; }
#uGalleries a.pathlink:hover { color: #ff9900; font-size: 11px; text-decoration: none; }

.smalllite {
    color: #A0A0A0;
    font-family: Tahoma,Verdana,Arial;
    font-size: 0.8em;
}

.thumbs table.viewpreview { margin: 0; padding: 0; width: 100%; }
.thumbs table.viewphoto { margin: 0; padding: 0; border-collapse: collapse; width: 100%; }
.thumbs table.viewphoto td { margin: 0; padding: 0; text-align: center; }
.thumbs table.viewphoto td.photo { padding-bottom: 2px; }

.thumbs table.viewphoto td.photo a > div {
    border-radius: 5px 5px 5px 5px;
	border: 1px solid #CCCCCC;
	background-color: #fafafa;
	background: url('../images/no_photo.png') no-repeat 50% 50% transparent;
    margin: 0 auto;
    padding: 3px;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
}

.thumbs table.viewphoto td.photo img {	border-radius: 3px 3px 3px 3px; }

.thumbs table.viewphoto a { color: #8080F0; text-decoration: none; position: relative; }

.thumbs table.viewphoto td.photo a { display: block }

.thumbs table.viewpreview td.theme { padding-left: 10px; padding-right: 10px; word-break: break-all; }

.thumbs table.viewpreview td.smalllite { color: #A0A0A0; font-family: Tahoma,Verdana,Arial; font-size: 0.8em; padding: 5px 10px 10px; }

.lists table.viewpreview {	border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    font-size: 11px;}

.lists table.viewpreview th {	background-color: #EBEFF9;
    border: 1px solid #CCCCCC;
    margin: 0;
    padding: 4px;
}

.lists table.viewpreview tr {
    margin: 0px;
    padding: 0px;
}

.lists table.viewpreview td {
    border: 1px solid #CCCCCC;
	vertical-align: top;;
	padding:5px;
}

.lists table.viewpreview td.photo {	width: 1%;
}

.lists table.viewpreview td.smalllite {	width:30%;}

.view_header {margin: 0 0 10px; padding: 3px 0; position: relative;z-index: 1; border-bottom: 1px solid #ccc;}

.header .desc {	background: none no-repeat scroll 5px 50% #EBEFF9;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 10px;}

.sort {float: left;}
.sort .desc, .view_selector .desc {float: left;margin-right: 10px;margin-top:5px;font-style: italic;color: #999;}
.view_selector {float: right;}


.album_style_list .ui-selectmenu-item-icon,
.album_style_thumb .ui-selectmenu-item-icon { height: 14px; width: 14px; }
.ui-selectmenu-menu .album_style_list .ui-selectmenu-item-icon,
.album_style_list .ui-selectmenu-status .ui-selectmenu-item-icon
 { background: url(../images/album_list.png) 0 0 no-repeat;}
.ui-selectmenu-menu .album_style_thumb .ui-selectmenu-item-icon,
.album_style_thumb .ui-selectmenu-status .ui-selectmenu-item-icon
 { background: url(../images/album_thumb.png) 0 0 no-repeat;}

.album_info {	padding-bottom: 10px;}

#uGalleries ul li { list-style: disc outside none; background: none; line-height: 1.2; margin: 0 0 0 7px; padding: 0;}

#uGalleries .ui-tabs ul.ui-tabs-nav li.ui-state-default { list-style: none outside none; }
#uGalleries .warning {
	font-size: 1em; margin: 1em 0;
	padding: 10px 4px 10px 38px;
	background: #fcf9c6 url(../images/warning32.png) 2px 50% no-repeat;
	border-top: 1px solid #feb526;
	border-bottom: 1px solid #feb526;
	color: #ff9900;
	font-weight: bold;
}

#uGalleries .info {
	background: url("../images/info32.png") no-repeat scroll 4px top #ECF2FE;
    border-bottom: 2px solid #63A5FF;
    border-top: 2px solid #63A5FF;
    color: #63A5FF;
    min-height: 18px;
    padding: 5px;
    vertical-align: middle;
}

#uGalleries .note {
	margin: 5px 0; padding: 3px; border-top:1px solid #e2e2a0; border-bottom:1px solid #e2e2a0; background-color:#FFFFD4; color:#444;
}

#uGalleries ul {	font-size: 1em;
	margin: 0 0 0 7px;
	padding: 0;}

#uGalleries ul#exif {	padding-left: 40px;
	color: #707070;}

#uGalleries ul#exif li {
	list-style-type: square;
}

#uGalleries #blogdiv {	background-color: #F0F0F8;
	margin-top: 0em;
	padding: 1em;}

#uGalleries #report {	background-color: #FFF0F0;
	margin-top: 0em;
	padding: 1em;
	position: relative;}

#uGalleries button.small span.ui-button-text {	padding: 1px 5px;}

#uGalleries #your_rating {
	display: block;
    padding: 5px;
    position: relative;
}

#uGalleries #your_rating .rate {	font-size: 18px;
    font-weight: bold;}

#uGalleries #your_rating select#rating {    font-size: 0.95em;
    width: 88px;
}

#uGalleries #comments {	position: relative;
}

#uGalleries #comments td {
	text-align: left;
}

#uGalleries .comments_title {
    background: url("../images/comment.png") no-repeat scroll 5px 50% #EBEFF9;
    border: 1px solid #CCCCCC;
    font-weight: bold;
    margin-bottom: 4px;
    padding: 4px 4px 4px 26px;
    text-align: left;
    width: auto;
}



#uGalleries table.comments {
	width: 100%;
	border-collapse: collapse;
}

#uGalleries table.comments td.title {
	background: none no-repeat scroll 0 0 #EEEEEE;
    border: 1px solid #CCCCCC;
    padding: 4px;
    font-size: 0.9em;
}
#uGalleries table.comments td.message {    padding: 4px;
    border: 1px solid #CCCCCC;
    background-color: #FEFEFE;
    color: #000000;
}

#uGalleries table.new_comment {	width: 100%;}

#uGalleries table.new_comment td.title {
    background-color: #EBEFF9;
    margin: 0;
    padding: 4px;
    border: 1px solid #CCCCCC;
}

#uGalleries .pagination {
    display: block;
    height: auto;
    line-height: 25px;
    margin: 5px 0;
    text-align: center;
    font-size: 9px;
}

#uGalleries .pagination span,
#uGalleries .pagination a {
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top,  #ffffff 0%, #eeeeee 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* IE10+ */
background: linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
padding:3px 8px;
border:1px solid #ddd;
margin:2px;
text-decoration:none;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
font-weight:bold;
color: #666666;
font-size: 1em;
display: inline-block;
}
#uGalleries .pagination a:hover {
background:#ddd !important;
}

#uGalleries .pagination a { color: #01A0B8; }

#uGalleries table.comments div.delcomm {
	float: right;
	background: url("../images/delete.png") no-repeat scroll 0% 0% transparent;
	cursor: pointer;
	width:16px;
	height:16px;
}

#uGalleries .viewinfo {	width: 100%;
	font-size:0.9em;
	margin-bottom: 10px;}

#uGalleries .viewinfo .infocell {
	display: inline-block;
    vertical-align: top;
    width: 32%;
}

#uGalleries .viewinfo .inforow {
	display: block;
    vertical-align: top;
    width: 100%;
}

.viewinfo .inforow input {
	width: 80%;
}

#uGalleries #toolbar {
	display: block;
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px solid #CCCCCC;
    overflow: auto;
}

#uGalleries #toolbar .button {
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #eeeeee 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* IE10+ */
	background: linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* W3C */
    display: inline-block;
    padding: 0px;
    text-align:center;
    border-radius: 4px 4px 4px 4px;;
    color:#000;
    border: 1px solid #CCCCCC;
    font-size: 1em;
    font-weight: normal;
    text-decoration: none;
    margin-right: 5px;
    height: auto;
}

#uGalleries #toolbar .button:hover,
#uGalleries #toolbar .submenu .button:hover {
	border: 1px solid #999999;
	background: #dadada 50% 50% repeat-x;
	font-weight: normal;
	color: #212121;
}

#uGalleries #toolbar .submenu .button:hover {
	border: none;
}

#uGalleries #toolbar .button a {    text-decoration: none;
    color:#000;
    padding: 7px;
    display: block;
}


#uGalleries #toolbar .submenu {
    position: absolute;
    width: 260px;
    border: 1px solid #CCCCCC;
    z-index: 1000;
    display: none;
	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #eeeeee 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* IE10+ */
	background: linear-gradient(top,  #ffffff 0%,#eeeeee 100%); /* W3C */
}

#uGalleries #toolbar .submenu .button {
    background: transparent;
    border: medium none;
    height: 32px;
    margin: 0;
    padding: 0;
    width: 100%;
    border-radius: 0;
    text-align: left;
}

#uGalleries table.editphoto {
	border: 1px solid #CCCCCC;
    border-collapse: collapse;
    border-spacing: 0;
}

#uGalleries table.editphoto td {	padding: 5px;}

#uGalleries .album_desc {
	margin-bottom: 10px;
    padding: 5px;
}

/* Overlay */
#uGalleriespmodal-overlay {background-color:#000; cursor:wait;}

/* Container */
#uGalleriespmodal-container {color:#bbb; background-color:#f6f6f6; border:4px solid #444; padding:12px;}
#uGalleriespmodal-container code {background:#141414; border-left:3px solid #65B43D; color:#bbb; display:block; margin-bottom:12px; padding:4px 6px 6px;}
#uGalleriespmodal-container a {color:#ddd;}
#uGalleriespmodal-container a.modalCloseImg {background:url(../images/x.png) no-repeat; width:25px; height:29px; display:inline; z-index:3200; position:absolute; top:-15px; right:-16px; cursor:pointer;}
#uGalleriespmodal-container #basic-modal-content {padding:8px;}

#uGalleries table.new_comment td.message {
	padding:0px 5px 0px 0px;
}

#uGalleries .checkbox, #uGalleries .radio {
	width: 19px;
	height: 25px;
	padding: 0 5px 0 0;
	background: url(../images/checkbox.png) no-repeat;
	display: block;
	clear: left;
	float: left;
	cursor: pointer;
}

#uGalleries .ckeckbox_label {	font-size: 11px;
    line-height: 20px;}

#uGalleries #album_edit {
	background-color: #EEEEEE;
    border: 1px solid #CCCCCC;
    border-radius: 4px 4px 4px 4px;
    padding: 5px;
    font-size: 11px;
}

/* TOOLBAR */
.gal_tool_wrapper {
    clear:both; height:32px; line-height:32px; margin:0; padding:0 0 10px;
    background: transparent;
}

a.elx_toolbar, a.elx_toolbar:link, a.elx_toolbar:visited {
	background: none repeat scroll 0 0 #EEEEEE;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
	display:block;
	float:right;
	margin:3px 5px 0 5px;
	padding:0 0 0 7px;
	color:#5c99cc;
	font:bold 12px/25px tahoma, arial serif;
	text-decoration:none;
}

a.elx_toolbar.toolbar_left {	float: left;}

a.elx_toolbar span {
	background:none repeat scroll 0 0 rgba(0, 0, 0, 0);
	display:block;
	float:right;
	font:bold 12px/22px tahoma, arial serif;
	padding:0 7px 0 0;
}
a.elx_toolbar img { margin:3px 2px 0 0; border:none; vertical-align:top; filter:alpha(opacity=60); opacity:0.6; }
a.elx_toolbar:hover { color:#000; }
a.elx_toolbar:hover img { filter:alpha(opacity=100); opacity:1.0; }


ul.tabs {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: -moz-use-text-color -moz-use-text-color #D7E4F2 #D7E4F2;
    border-image: none;
    border-style: none none solid solid;
    border-width: medium medium 1px 1px;
    display: block;
    height: 25px;
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
ul.tabs li {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #E7EEF4;
    border-color: #D7E4F2 #D7E4F2 #D7E4F2 -moz-use-text-color;
    border-image: none;
    border-style: solid solid solid none;
    border-width: 1px 1px 1px medium;
    float: left;
    height: 24px;
    line-height: 24px;
    margin: 0 0 -1px;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: auto;
}
ul.tabs li a {
    border: 1px solid #FFFFFF;
    color: #1866B7;
    display: block;
    font-size: 1em;
    outline: medium none;
    padding: 0 20px;
    text-decoration: none;
}
ul.tabs li a:hover {
    background: none repeat scroll 0 0 #D2E0ED;
}
ul.tabs li.active, ul.tabs li.active a:hover {
    background: none repeat scroll 0 0 #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    color: #1866B7;
    font-weight: bold;
}
ul.tabs li.active {
    border-top: 1px solid #FFA223;
}

.tab_container {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #FFFFFF;
    border-color: -moz-use-text-color #D7E4F2 #D7E4F2;
    border-image: none;
    border-right: 1px solid #D7E4F2;
    border-style: none solid solid;
    border-width: medium 1px 1px;
    display: block;
    overflow: hidden;
    padding: 0 !important;
    width:100%;
}

.tab_content {
    padding: 12px;
}

.thumbs table.viewphoto td.photo div.ytplay {    background: url("../images/ytplay.png") no-repeat scroll 50% 50% #000000;
    border: medium none;
    border-radius: 0;
    height: 120px;
    left: 0;
    margin: 0;
    opacity: 0.5;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 220px;
    z-index: 101;
}

iframe.videoFrame {	width: 100%;
	min-height: 480px;
	padding-bottom: 10px;}


select.display_as.list {
	background: url("../images/item_list.png") no-repeat scroll 2px 5px rgba(0, 0, 0, 0);
    padding-left: 20px;
	-webkit-appearance: none;
}

select.display_as option[value=list]  {	background: url("../images/item_list.png") no-repeat scroll 2px 2px rgba(0, 0, 0, 0);
    padding-left: 20px;}

select.display_as.thumb {
	background: url("../images/item_thumb.png") no-repeat scroll 2px 5px rgba(0, 0, 0, 0);
    padding-left: 20px;
	-webkit-appearance: none;
}
select.display_as option[value=thumb] {
	background: url("../images/item_thumb.png") no-repeat scroll 2px 2px rgba(0, 0, 0, 0);
    padding-left: 20px;
}

.thumbs table.viewphoto td.photo .yt_play {	background: url("../images/ytplay.png") no-repeat scroll 50% 50% rgba(0, 0, 0, 0);
    border: medium none;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 120;
}

@media only screen and (max-width: 650px) {
	.sort { float:none; display: block; }
	.view_selector { float:none; display: block; }
	#uGalleries #toolbar .button { display: block; margin: 0 0 10px 0;}
	#uGalleries #toolbar .button.right { float: none;}
	#uGalleries .viewinfo .infocell { display: block; width: 100%; margin: 0 0 10px 0; }
	.viewinfo .inforow input { width: 100%; }
	#uGalleries { font-size: 120%; }
	#uGalleries #toolbar .submenu { width: 100%; }
}