/* PhotoGallery */
#body > .content .page.classic.gallery {
    padding-bottom:0px;
}
.photogallery 
{
    position: relative;
    overflow: auto;
	margin-left: 6px;
    clear: both;
}
.photogallery > h2
{
    font-size: 1.6em;
    padding: 5px 25px;
    margin: 15px 0px 0px 0px;
    color: #08448A;
    border-bottom: 6px solid #FFFFFF;
}
.photogallery.photogallery-homepage.no-ui-dialog > h2 {
    font-size:2em;
    margin-top: 25px;
    color:inherit;
} 
.photogallery > article 
{
    float: left;
    position: relative;
    margin: 6px 6px 0px 0px;
    cursor: pointer;
    overflow: hidden;
    width: 158px;
    height: 158px;
}
.photogallery > article .cover
{
    width: 158px;
    height: 158px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.photogallery > article .loading
{
    display:none;
    color: rgb(8,68, 138);
    background: rgba(230,230, 230,.6);
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    margin: 0px;
}
.photogallery > article .loading span
{
    font-size: 40px;
    margin-left: 60px;
    margin-top: 50px;
}
.photogallery > article header
{
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 60px;
    margin: 0px;
    background-color: rgba(0,66,126,0.4);
}
.photogallery > article header h3
{
    text-align: center;
    width: 158px;
    height: 60px;
    margin: 0px;
    color: #ffffff;
    font-size: 1.5em;
    vertical-align: middle;
    display: table-cell;
}
.photogallery > article:hover .cover {
    border: 5px solid #AFC036;
}
.photogallery .view-album .jgallery-btn {
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	cursor: pointer;
}
.photogallery .view-album .jgallery-btn:hover {
	text-shadow: 0 0 .15em #fff;
}
.photogallery .view-album .jgallery-btn.inactive {
	opacity: .5;
}
.photogallery .view-album .jgallery-btn.inactive:hover {
	opacity: 1;
}
.photogallery .view-album .jgallery-btn.active {
	color: #fff;
	opacity: 1;
}
.photogallery .view-album .jgallery-btn-small {
	width: 40px;
	height: 40px;
	margin: 0;
	line-height: 43px;
	font-size: 18px;
	text-align: center;
	color: #fff;
}
.photogallery .view-album .change-album {
	z-index: 1;
	position: relative;
}
.photogallery .view-album .change-album .menu {
	left: 0;
	/*bottom: 42px;*/
	background: #111;
	position: absolute;
	overflow: auto;
	display: none;
}
.photogallery .view-album .change-album .menu .item {
	margin: 0;
	padding: 10px 40px 10px 10px;
	border-bottom: 1px solid rgba(127, 127, 127, 0.5);
	/*font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;*/
	font-weight: bold;
	font-size: 14px;
	text-align: left;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	line-height: normal;
	white-space: pre;
	color: #ddd;
	text-shadow: none;
	display: block;
}
.photogallery .view-album .change-album .menu .item:hover {
	color: #fff;
	background: #222;
}
.photogallery .view-album .change-album .menu .item.active {
	color: #ddd;
	background: #333;
}
.photogallery .view-album .change-album .title {
	padding: 0;
	line-height: 40px;
	left: 48px;
	top: 0;
	bottom: auto;
	right: auto;
	/*font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;*/
	font-size: 14px;
	position: absolute;
	white-space: pre;
}
.photogallery .view-album .change-album.active {
	border-radius: 2px;
}
.photogallery .view-album .change-album.active .menu {
	display: block;
}
.photogallery .view-album .change-album.active[tooltip]:after {
	display: none !important;
}

.photogallery .view-album .zoom-container .nav-bottom {
	height: 40px;
	background: #111;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	left: 0;
	bottom: -40px;
	right: 0;
	text-align: left;
	z-index: 10002;
	position: absolute;
}
.photogallery .view-album {
	background: #111;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	/*float: left;*/
	position: relative;
	z-index: 1;
}
.photogallery .view-album [class*="fa-"] {
	background: #111;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.photogallery .view-album .jgallery-btn {
	margin-right: 8px;
	background: none;
	display: inline-block;
}
.photogallery .view-album .fa-close.jgallery-btn {
	margin-right: 0px;
}
.photogallery .view-album .fa-close
{
    position: absolute;
    right: 0px;
}
.photogallery .view-album.change-album {
	position: relative;
}
.photogallery .view-album .change-album .menu {
	position: absolute;
	display: none;
}
.photogallery .view-album .change-album .title {
	margin-left: -5px;
	padding: 8px 29px 6px 0;
	font-size: 14px;
	background: #111;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	right: auto;
	top: 4px;
	line-height: normal;
	display: inline-block;
}
.photogallery .view-album .change-album.active .menu {
	display: block;
}
.photogallery .view-album {
	/*font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;*/
	/*text-align: center;*/
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	z-index: 10002;
}
.photogallery .view-album * {
	outline: none;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

.photogallery .view-album {
	background: rgb(230,230, 230);
}
.photogallery .view-album [tooltip]:after {
	background: rgba(8,68, 138, .9);
	color: rgb(230,230, 230);
}
.photogallery .view-album .jgallery-btn {
	color: rgb(8,68, 138);
	text-shadow: 0 0 1px rgb(230,230, 230);
}
.photogallery .view-album .jgallery-btn.active {
	color: rgb(8,68, 138);
}
.photogallery .view-album .jgallery-btn:hover {
	text-shadow: none;
	text-shadow: 0 0 .15em rgba(8,68, 138,.75), 0 0 .45em rgba(8,68, 138,.5);
}
.photogallery .view-album .change-album .menu {
	background: rgb(255,255, 255);
}
.photogallery .view-album .change-album > .title {
	background: rgb(255,255, 255);
	box-shadow: 4px 0 4px rgb(255,255, 255)
}
.photogallery .view-album .change-album .menu {
	background: rgb(230,230, 230);
}
.photogallery .view-album .change-album .menu .item {
	border-color: rgb(230,230, 230);
	color: rgb(8,68, 138);
	background: rgb(255,255, 255);
}
.photogallery .view-album .change-album .menu .item {
	border-color: rgb(255,255, 255);
	background: rgb(230,230, 230);
}
.photogallery .view-album .change-album .menu .item.active,
.photogallery .view-album .change-album .menu .item:hover {
	background: rgb(8,68, 138);
	color: rgb(230,230, 230);
}
.photogallery .view-album {
	background: rgb(255,255, 255);
	-webkit-box-shadow: 0 -3px rgba(255,255, 255, .5);
	box-shadow: 0 -3px rgba(255,255, 255, .5);
}
.photogallery .view-album,
.photogallery .view-album .fa {
	background: rgb(255,255, 255);
}
.photogallery .view-album .fa span 
{
    font-family: "Agenda", "Arial Narrow", Arial;
}
.photogallery .view-album [tooltip] {
    position: relative;
}
.photogallery .view-album [tooltip]:after {
    padding: .5em;
    font-size: .8em;
    line-height: 1em;
    font-family: "Agenda", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
    white-space: pre;
    bottom: 100%;
    left: 0;
    content: attr(tooltip);
    text-shadow: none;
    display: none;
    position: absolute;
}
.photogallery .view-album [tooltip][tooltip-position*="bottom"]:after {
    bottom: auto;
    top: 100%;
}
.photogallery .view-album [tooltip][tooltip-position*="right"]:after {
    left: auto;
    right: 0;
}
.photogallery .view-album [tooltip]:hover:after {
    display: block;
}
@media (max-width: 767px) {
    .photogallery .view-album [tooltip]:hover:after {
        display: none !important;
    }
}
.photogallery.no-ui-dialog > h2 
{
    color: #AFC036;
}
.photogallery.no-ui-dialog {
    margin-bottom: 6px;
}
#body .photogallery > article .cover, #body .photogallery > article .loading
{
    padding: 0px;
}
#body .photogallery > article header h3 {
    font-size: 1.1em;
}
.photogallery .jgallery .jgallery-container
{
    background: rgb(255,255, 255)!important;
}
#body > .content .page.menuRight .photogallery {
    width: 844px;
    float: left;
}
