#fotogallery {
	margin: 0;
	padding: 0;
}

#fotogallery li {
	width: 360px;
	list-style: none;
	display: inline-block;
}

#fotogallery li figure {
	margin: 10px;
	background: #fff;
	padding-bottom: 10px;
	border-radius: 2px;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: flex-start;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

#fotogallery li figure img {
	border-radius: 2px 2px 0 0;
	margin-bottom: 5px;
	width: 100%;
	transition: 0.3s all;
	background: url("/share/lb/1/images/loading.gif") no-repeat center center;
}

#fotogallery li.highlighted  figure, #fotogallery .photo-selected{
	outline: 2px solid red;
	outline-offset: 5px;
}

#fotogallery li figure img:hover {
	opacity: 0.8;
}

#fotogallery li figure figcaption {
	font-weight: bold;
	margin-left: 10px;
	max-width: 320px;
}

#fotogallery li figure .author {
	align-self: flex-start;
	display: flex;
	flex-flow: row nowrap;
	margin: 3px 0 0 10px;
}

.invisible {
	display: none;
}

.loading-animation-div {
	animation: loading 0.5s infinite alternate;
}

.photo-loading img, .photo-loading:hover {
	opacity: 0.5;
	transition: 0.5s all;
	animation: loading 0.5s infinite alternate;
}

@keyframes loading {
	from {
		opacity: 0.4;
	}

	to {
		opacity: 1;
	}
}

.navigation {
	text-align: center;
}

.navigation .button {
	display: inline-block;
	background: #333;
	border: 1px solid #000;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	padding: 15px 25px;
	border-radius: 3px;
	transition: 0.3s all;
}

.navigation .button:hover {
	text-decoration: none;
	background: #000;
	color: #fff;
}

.navigation ul {
	display: block;
	list-style: none;
	margin-top: 40px;
	padding: 0;
}

.navigation ul li {
	display: inline-block;
}

.fotogallery-title {
	text-align: center;
}

.fotogallery-photos-count {
	font-size: 16px;
}

.fotogallery-soutez-link {
	color: #b00000;
	display: inline-block;
	margin: 0 10px 5px;
	text-align: center;
	font-size: 18px;
	font-weight: 500;
	text-decoration: none;
	line-height: 1;
}

.fotogallery-empty {
	padding: 50px 0 0;
	width: 100%;
	text-align: center;
	font-size: 20px;
}

.fotogallery-empty .button {
}

.fotogallery-empty.hidden {
	display: none;
}

#fotogallery .soutez-server {
	margin: 0;
	padding-left: 10px;
	padding-top: 5px;
	font-size: 12px;
	text-align: left;
	align-self: flex-start;
}

#fotogallery .soutez-server a {
	color: #4E7A97;
}

.fotogallery-title {
	font-weight: 500;
}

.underline {
	text-decoration: underline;
}

@media screen and (max-width: 800px)
{
	.fotogallery-title {
		font-size: 18px;
	}

	.fotogallery-photos-count {
		font-size: 13px;
	}
}

.PF-wrap {
	background: white;
	padding: 10px 10px 15px;
	max-width: 680px;
	margin: 0 auto;
	font-size: 16px;
}

.PF-wrap .PF-year {
	font-size: 70px;
	font-weight: 700;
	font-family: sans-serif;
	line-height: 1;
}

.PF-wrap .PF-text {
	margin-top: 5px;
	color: black;
}

.PF-wrap .PF-text-2 {
	margin-top: 10px;
}

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

	.PF-wrap {
		font-size: 14px;
		max-width: 600px;
	}

	.PF-wrap .PF-year {
		font-size: 50px;
	}
}

.no-user-foto {
	margin: 0 auto;
    display: table;
    background: rgba(255, 255, 255, 0.25);
    width: 90%;
    max-width: 600px;
    text-align: center;
    padding: 20px 10px;
}

.no-user-foto a {
	margin: 10px auto;
    display: table;
    width: 100px;
    text-align: center;
    padding: 10px 10px;
	border-radius: 10px;
	color: white;
}
@media only screen and (min-width: 741px) {
#menu-content-wrap.fixed {
    background: #f1f3f5;
    /*min-height: 65px;*/
    border-bottom: 20px solid #f1f3f5;}
}

@media only screen and (max-width: 380px) {
    #content-wrap {
    margin-left: 0;
    margin-right: 0;
}
}
