#gallery-nav { text-align: center; margin-top: -20px;  margin-bottom: 30px; }
#gallery-nav ul.menu-h li { float: none; display: inline-block; display: block\9; float: left\9; }
#gallery-nav .popup { max-width: 400px; max-height: 70%; overflow-y: scroll; }
#gallery-nav .popup ul.menu-v { padding-left: 6px; }
#gallery-nav .popup ul.menu-v li { display: block; float: none; list-style: none; line-height: 1.3em; text-align: left;  }
#gallery-nav .popup ul.menu-v li a { color: #03c; }
#gallery-nav .popup ul.menu-v li a:hover { color: red; }
#gallery-nav .popup ul.menu-v li ul { padding-left: 15px; padding-top: 2px; font-size: 0.9em; margin-bottom: 10px; }
#gallery-nav .popup ul.menu-v li ul li { float: none; }
#gallery-nav .popup ul.menu-v li ul li a { font-weight: normal; }


.album-note { display: block; color: #aaa; font-style: italic; }


/* Albums
--------- */




/* Single photo (slide by slide view)
------------------------------------- */

.slideshow-navigator { padding: 8px 0 4px; position: relative; }

.photo img { max-width: 100%; height: auto !important; }

.stack .stack-nav { font-size: 120%; padding: 4px 8px 4px; display: inline-block; position: relative; background: #000; display: block\9; background: transparent\9; }
.stack .stack-nav img { width: 22px; height: 20px; }
.stack .stack-nav .rewind { position: absolute; left: -30px; top: 3px; }
.stack .stack-nav .ff { position: absolute; right: -30px; left: auto; top: 3px; }

.image { position: relative; display: block; max-width: 100%; display: block\9; }
.image img { max-width: 100%; height: auto !important; }
.image .corner { position:absolute; z-index:10; color: #fff; font-weight: bold; }
.image .corner.top { top:5px; }
.image .corner.left { left:5px; }
.image .corner.right { right:5px; }
.image .corner.bottom { bottom:5px; }
.image .stripe { position:absolute; z-index:9; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.3); color: #fff; line-height: 1em; }
.image .stripe p { margin: 0 0; padding: 5px; }
.image .stripe p a { color: #fff; }
.image .stack { position: absolute; top: 5px; left: 0; right: 0; color: #fff; padding: 10px; text-align: center;  }

.image i.image-nav { display: block; position: absolute; top: 50%; margin-top: -48px; width: 96px; height: 96px; z-index: 100; cursor: pointer; opacity: 0; transition: opacity 0.2s 0 ease; font-size: 112px;
}
.image i.image-nav.rewind { left: 20px; }
.image i.image-nav.ff { right: 20px; }
.image:hover i.image-nav { transition: opacity 0.2s 1s ease; opacity: 0.5; }
.image:hover i.image-nav:hover { opacity: 1; -webkit-transition-delay: 0; transition: opacity 0.2s 0s ease; }

.menu-h.auth-type .icon16 {
	background-size: auto !important;
	margin-top: 1px !important;
}

/* Photostream navigator
------------------------ */

.photostream-container { width: 298px; margin: 0 auto; }
ul.photostream { padding: 0; margin: 0; list-style: none; position: relative;}
ul.photostream li { float: left; padding-right: 10px;  }
ul.photostream li img { width: 48px; height: 48px; padding: 1px; border: 1px solid #fff; }
ul.photostream li.stream-nav { position: absolute; top: 21px; }
ul.photostream li.stream-nav i { display: block; width: 12px; height: 14px; background: url('img/nav-photostream.png') no-repeat; background-size: 24px 14px; }
ul.photostream li.stream-nav.rewind { left: -16px; padding: 0; }
ul.photostream li.stream-nav.rewind i { background-position: 0 0; }
ul.photostream li.stream-nav.ff { right: -8px; padding: 0; }
ul.photostream li.stream-nav.ff i { background-position: -12px 0; }

.photostream-divider { margin-top: 90px; border-top: 1px solid #ccc; margin-bottom: 20px; }


/* Photo lists
-------------- */


ul.view-thumbs { padding: 0; /* margin: -25px -30px 30px;  */list-style: none; text-align: center; line-height: 0; }
ul.view-thumbs li { display: inline-block; margin-right: -4px /* for proper render until wookmark plugin is not initialized */; position: relative; vertical-align: top; width: 220px; margin-bottom: 0; font-size: 0.9em; display: block\9; float: left\9; }
ul.view-thumbs li a { text-decoration: none; color: #000; }
ul.view-thumbs li h5 { margin-bottom: 0.3em; }
ul.view-thumbs li img { margin-bottom: 20px; }
/* ul.view-thumbs li img.shadowed { -moz-box-shadow: 0 1px 3px #aaa; -webkit-box-shadow: 0 1px 3px #aaa; box-shadow: 0 1px 3px #aaa; margin-bottom: 5px; } */
ul.view-thumbs.album-float-left-view { margin-top: 10px; }
ul.view-thumbs.album-float-left-view li { margin-right: 22px; }


.photo-thumbs-lazyloading { text-align: center; margin-top: 10px; }

/* Comments
----------- */

.credentials { overflow: hidden; line-height: 1.3em; }
.credentials a,
.credentials span { display: inline-block !important; vertical-align: middle; padding: 0 !important; }
.credentials .date,
.credentials .icon16 { margin: 0 3px; }
.post .credentials { margin-bottom: 20px;}

.comments h3 { margin: 0 0 20px; }
.comments h4 { margin: 0 0 10px; }
.comments .credentials .date { margin: 0 5px; padding-top: 1px; }
.comments .credentials .userpic { margin-right: 5px; }
.comments .credentials .userpic.icon16 { min-width: 0; width: 16px; height: 16px; margin: 7px 4px 0; }
.comments textarea { height: 100px; min-height: 100px; width: 75%; margin-top: 0; } 
.comments ul,
.comments ul li { padding: 0; margin: 0 0 20px 0; list-style: none; }
.comments ul li ul { margin:20px 0 0 0; }
.comments ul li span.hint a { color: #aaa; text-decoration: underline; }
.comments .text { margin: 5px 0 5px 28px; }
.comments .actions { margin: 0 0 5px 28px; font-size: 0.9em; }
.comments ul li a.comment-delete { margin: 0 0 0 5px; padding: 0; color: #d99; text-decoration: underline; }
.comments ul li a.comment-delete:hover { background: red; color: white; }
.comments ul li ul { padding-left: 25px; }
.comments ul li .comment-form { padding: 10px 30px; margin-top: 0; }
.comments ul li .comment-form textarea { min-height: 100px; }
.comment.in-reply-to { background: #eee; margin: -8px -8px -13px; padding: 8px 35px 8px 8px; position: relative; }
.comment.new { background: #ffc; margin: -8px -8px -13px; padding: 8px 35px 8px 8px; }

ul.auth-type { padding: 0 0 10px !important; list-style: none; }
ul.auth-type li { padding-right: 10px; display: inline-block; float: left\9; display: inline\9; }
ul.auth-type li a { padding: 5px 6px; }
ul.auth-type li a img { margin-right: 5px; top: 4px; position: relative; }

.comment-form { padding: 0; margin-top: 30px; }
.comment-form h4 { margin: 0 0 20px; font-weight: normal; }
.comment-form-fields p { margin: 0 0 10px; }
.comment-form-fields p a { display: inline !important; }
.comment-form-fields label { width: 160px; display: block; clear: left; float: left; margin: 0 10px 0 0; padding-top: 3px; text-align: right;}
.comment-form-fields input { width: 70%; }
.comment-form textarea { min-width: 70%; min-height: 160px; }
.comment-form .comment-submit { padding:0 0 0 170px;}
.comment-form .userpic { width: 20px; height: 20px; float: left; margin-right: 5px; border-radius: 50%; }
.comment-form ul.menu-h.auth-type li a img { float: left; margin-right: 3px; position: relative; top: 2px; }
.comment-form ul.menu-h.auth-type { padding-bottom: 20px; }


/*----FLATTY STYLES----*/


.view-thumbs a .rating .icon10 {
	text-shadow: none;
}

.image {
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.photo-thumbs-lazyloading {
	text-align: left;
}

.image .corner .indicator { color: #fff; padding: 2px 7px ; }

.image .corner .indicator {
	display: block;
	position: relative;
	float: right;
	width: 40px;
	height: 40px;
}

.image .corner .indicator:before {
	content: '';
	position: absolute;
	top: -5px;
	right: -5px;
	border-style: solid;
	border-width: 0 40px 40px 0;
	border-color: transparent rgba(0,0,0,0.8) transparent transparent;
}

.image .corner .indicator i {
	position: absolute;
	width: 30px;
	left: 20px;
	top: 0;
	z-index: 444;
	text-align: center;
	font-size: 12px;
	font-style: normal;
	color: #fff;
}


.view-plain {
	text-align: center;
}

.view-plain figure {
	display: inline-block;
	padding: 10px;
	margin: 10px 0;
	text-align: left;
}

.view-plain .image {
	/*width: 100% !important;;*/
}

.view-plain .image img {
	/*width: 100% !important;*/
	height: auto;
}

#photo-name { margin-top: 0; }

.slideshow .mainPhoto {
	text-align: center;
}

.slideshow .image {
	text-align: center;
}

.slideshow .mainPhoto img {
	display: inline-block;
} 

.stream-wrapper {
	height: 55px !important;
}

#photo-hook-sidebar {
	margin: 40px auto 0;
}

#photo-hook-sidebar p:first-of-type {
	display: block;
	width: 50%;
}

#photo-hook-sidebar p:first-of-type {
	float: right;
	text-align: right;
}

#photo-hook-sidebar p:last-of-type {
	float: left;
}

#photo-hook-sidebar em {
	display: block;
}

.p-rate br {
	display: none;
}

.p-rate-photo {
	display: inline-block;
	margin: 0 10px;
}

.p-rate-photo i {
	line-height: 9px;
	text-indent: 1px!important;
}


h3.comments-count.comments-header {
	text-align: center;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-top-width: 3px;
	border-top-style: solid;
	padding: 20px 0;
	margin: 20px 0;	
}

#photo-hook-bottom .comment-reply {
	display: inline-block;
	padding: 4px 10px 5px 10px;
	margin-bottom: 5px;
}

#photo-hook-bottom .comment-reply b {
	font-weight: normal;
}

#photo-hook-bottom .comment-reply i {
	font-style: normal;
}

#photos .comments ul li {
	margin-bottom: 40px;
}

.comment-form h4 {
	text-align: center;
	text-transform: uppercase;
}

#photos .comment-form .menu-h a img {
	display: inline-block;
	margin: -1px 5px 0px 0px;
}

.comment-body textarea.form-control {
	width: inherit;
}

#photos .comment-form .menu-h a {
	padding: 4px 10px 5px 10px;
}

.comment-form input[type=button] {
	padding: 10px 20px;
}

.album-info {
	padding: 10px 0 0;
	margin-bottom: 20px;
}

.album-note {
	display: inline-block;
	margin: 0 0 20px 20px;
	float: right;
}

.album-description {
	padding-bottom: 20px;
	margin-bottom: 0;
}

.light_mode {
	position: absolute;
	display: none;
	width: 40px;
	height: 40px;
	text-align: center;
	
	top: -129px;
	right: 0;
}

.light_mode i,
.full_screen i {
	font-size: 28px;
	line-height: 35px;
	margin-right: 1px;
	margin-top: 2px;	
	display: inline-block;
}

.full_screen i {
	font-size: 24px;
}

.light_mode.dark {
	background: #242424;
	border: 1px solid #484848;
	border-right: none;
}

.light_mode.dark i {
	color: #FDDE2D;
}

.light_mode.dark:hover {
	text-shadow: 0px 0 5px #fff;
}


.full_screen {
	position: absolute;
	display: none;
	width: 40px;
	height: 40px;
	text-align: center;
	
	top: -90px;
	right: 0;
}




.lastPage,
.lastPage:hover {
	color: inherit;
	font-size: 22px;
	position: absolute;
	left: 30px;
}


body.dark, 
body.dark .fader, 
body.dark .faderBG,
body.dark .title-bg,
body.dark .containerBG {
	background: #000 !important;
	color: #fff;
}
body.dark .containerBG {
	box-shadow: none !important;
}

body.dark .prefader {
	color: #fff;
}

body.dark .comment-form form {
	background: none !important;
	border: none !important;
}

body.dark .comment-form textarea,
body.dark .comment-form input[type=text] {
	color: #fff !important;
	background: #2b2b2b !important;
	border-color: #6b6b6b !important;
}

body.dark .footerHolder, 
body.dark .footerHolder.prepend:before, 
body.dark .footerHolder.prepend:after {
	background: #000;;
}

body.dark .asideTitle {
	color: #fff !important;
	border-color: #6b6b6b !important;
}

body.dark .comment-form textarea:focus,
body.dark .comment-form input[type=text]:focus {
	border-color: #fff !important;
}

body.dark h3.comments-count.comments-header {
	border-bottom-color: #6b6b6b !important;
	border-top-color: #6b6b6b !important;
}

body.dark #photos .comments ul li {
	border-bottom: 1px solid #6b6b6b;
}


body.f_screen header, 
body.f_screen aside,
body.f_screen .sticky-wrapper,
body.f_screen .footerHolder,
body.f_screen .title-bg,
body.f_screen #photo-hook-sidebar,
body.f_screen .photo_bottom {
	display: none;
}

body.f_screen .containerBG {
	box-shadow: none !important;
}

body.f_screen .container {
	width: 100% !important;
}

body.f_screen section.slideshow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;	
}

body.f_screen section.slideshow .photo {
	margin-left: -15px;
	margin-right: -15px;
	margin-top: -20px;	
}


body.f_screen section.slideshow .mainPhoto img,
body.f_screen .page-content  {
	width: 100% !important;
	height: auto;
}

.albums {
	display: block;
	text-align: center;
	margin-bottom: 20px;
}

.albums a {
	display: inline-block;
	position: relative;
	margin: 0 15px 15px 0;
}


.cover {
	position: relative;
	width: 182px;
	height: 182px;
	z-index: 0;
}

.cover .albumImg {
	position: relative;
	z-index: 50;
	box-shadow: 0px 0px 5px #000;
}

.cover > img {
	width: 182px;
}

.cover .subImg {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	transform: rotate(4deg);
	-webkit-transform: rotate(4deg);
	-moz-transform: rotate(4deg);
	-o-transform: rotate(4deg);
	-ms-transform: rotate(4deg);
}

.albums .albumCaption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	display: block;
	text-align: center;
	background: rgba(0, 0, 0, 0.8);
	padding: 5px;
	color: #fff;
	opacity: 0;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	transform: translateZ(0);
}

.albums a:hover .albumCaption{
	opacity: .9;
}









ul.view-thumbs {
	text-align: center;
}

ul.view-thumbs li {
	height: 150px;
	width: 200px;
	overflow: hidden;
	margin: 1px;
}

ul.view-thumbs li .image {
	height: 150px;
	width: 200px;
	overflow: hidden;
}

ul.view-thumbs li .image img {
	vertical-align: baseline;
}

.photo_bottom .align-center {
	text-align: left !important;
}

form#fileupload {
	text-align: center;
}







/* Public gallery plugin styles
------------------------------- */

#photo-rate-votes-count,
#clear-photo-rate,
#photo-rate-error { position: relative; top: 3px; margin-left: 5px; margin-right: 5px; }
#photo-rate-error { color: red; }

.p-declined { color: red; }
.p-declined img { border: 2px solid red; margin-top: -2px; }
.p-awaiting-moderation { color: gray; font-style: italic; opacity: 0.5; }

.image .p-declined { color: white; background: red; padding: 15px; font-size: 1.2em; }
.image .p-awaiting-moderation { color: white; background: gray; padding: 15px; font-size: 1.2em; }


/* MOBILE
========= */

@media screen and (max-width: 769px) {

    .container.paper { overflow-x: hidden; }
    #gallery-nav { margin-top: 0; }
    
    .image img { height: auto !important; }
    ul.view-thumbs li { width: auto; }
    ul.view-thumbs li .image { margin: 0 10px 30px; }
    ul.view-thumbs li img.shadowed { box-shadow: none; }
    ul.view-thumbs li h5 { display: none; }
    ul.view-mixed { margin-left: -15px; }
    
    .sidebar { margin-bottom: 20px; }
    .sidebar.left { width: 100%; float: none; }
    .sidebar.right, .sidebar.right.double { width: 100%; float: none; }
    .content.left { margin-left: 0; }
    .content.right, .content.right.double { margin-right: 0; }
    .sidebar p { clear: both; }
    
    .stream-nav { display: none; }
    
    .comment-form-fields label { width: auto; float: none; }
    .comment-form-fields input { width: 100% !important; }
    .comment-form textarea { width: 100% !important; }
    .comment-form .comment-submit { padding-left: 0; }
    .comment-form .wa-captcha img { margin-bottom: 10px; }
    
    ul.albums { text-align: center; }
}