/* Предпоказ при загрузке */
#album-photos-widget .preview {
    overflow: hidden;
    margin-bottom: 15px;
    border-bottom: 1px dashed rgba(0,0,0,.2);
    padding-bottom: 15px;
}
#album-photos-widget .preview:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
#album-photos-widget .markItUp {
    margin: 0;
}
#album-photos-widget .markItUpEditor {
    height: 120px;
}
#album-photos-widget .preview .thumb {
    float:left;
    width:85px;
    text-align: center;
	padding:10px;
	border-radius:3px;
	border:1px solid rgba(0,0,0,.07);
}
#album-photos-widget .preview .thumb a.hover_image{
	display:block;	
}
#album-photos-widget .preview .thumb img {
	display:block;
	max-height:64px;
	max-width:64px;
	border-radius:3px;
}
#album-photos-widget .preview .info {
	margin-left:100px;
}
#album-photos-widget .preview .info .title input {
	margin-bottom:10px;
}
#album-photos-widget .preview .info .photo_additional select {
	margin-top:10px;
}
#album-photos-uploader {
	margin-top:20px;
}
#album-photos-widget .thumb .actions{
	position: relative;
}
#album-photos-widget .thumb .actions .delete {
	position: relative;
	font-size:.8rem;
	bottom:0;
	left:0;
	right:0;
	top:0;
}


/* Список фотографий */
.album-photos-wrap.tiled {
	margin:-15px;
	position:relative;
	overflow:hidden;
}
.content_item.albums_item .album-photos-wrap.tiled{
	margin-bottom:15px;
}
.content_item.albums_item .f_content{
	margin-top:0;
}
.album-photos-wrap .photo.unpublished img {
    filter: blur(5px) grayscale(100%);
}
.album-photos-wrap:not(.tiled) .photo{
    float: left;
    margin: 3px;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}
.album-photos-wrap.tiled .photo {
    float:left;
	width:100%;
    padding:15px;
    position: relative;
	overflow:hidden;
}
.cols_1 .album-photos-wrap.tiled .photo,
.cols_2 .album-photos-wrap.tiled .photo,
.cols_3 .album-photos-wrap.tiled .photo{
	float:none;
}
.cols_4 .album-photos-wrap.tiled .photo,
.cols_5 .album-photos-wrap.tiled .photo,
.cols_6 .album-photos-wrap.tiled .photo{
	width:50%;
}
.cols_7 .album-photos-wrap.tiled .photo,
.cols_8 .album-photos-wrap.tiled .photo,
.cols_9 .album-photos-wrap.tiled .photo{
	width:33.3333%;
}
.cols_10 .album-photos-wrap.tiled .photo,
.cols_11 .album-photos-wrap.tiled .photo{
	width:25%;
}
.cols_12 .album-photos-wrap.tiled .photo{
	width:20%;
}
.cols_4 .album-photos-wrap.tiled .photo:nth-child(2n+1),
.cols_5 .album-photos-wrap.tiled .photo:nth-child(2n+1),
.cols_6 .album-photos-wrap.tiled .photo:nth-child(2n+1),
.cols_7 .album-photos-wrap.tiled .photo:nth-child(3n+1),
.cols_8 .album-photos-wrap.tiled .photo:nth-child(3n+1),
.cols_9 .album-photos-wrap.tiled .photo:nth-child(3n+1),
.cols_10 .album-photos-wrap.tiled .photo:nth-child(4n+1),
.cols_11 .album-photos-wrap.tiled .photo:nth-child(4n+1),
.cols_12 .album-photos-wrap.tiled .photo:nth-child(5n+1){
	clear:left;
}
.owl-carousel.album-photos-wrap .photo,
.owl-carousel.album-photos-wrap {
    margin: 0;
}
.owl-carousel.album-photos-wrap.tiled .photo {
    float: none;
	width:100%;
	min-width:250px;
	padding:0;
}
.widget_ajax_wrap > .owl-carousel.album-photos-wrap {
    margin-bottom: 10px;
}
.album-photos-wrap.tiled .photo > a.photo_thumb_link{
	height:0;
	padding-bottom:70%;
	position:relative;
	overflow:hidden;
}
.album-photos-wrap .photo img {
    display:block;
	width:100%;
    height:100%;
    object-fit:cover;
}
.album-photos-wrap.tiled .photo img {
    object-fit:cover;
	position:absolute;
	top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
.album-photos-wrap.tiled .photo .info{
    position:absolute;
    right:15px;
    bottom:15%;
    padding:15px;
	max-width: 70%;
    background: rgba(255,255,255,.9);
    font-size:.8rem;
    color:#7a7a7a;
}
.owl-carousel.album-photos-wrap .photo .info{
	right:0;
}
.album-photos-wrap .photo h3 {
    margin:0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow:hidden;
	font-weight:400;
}
.album-photos-wrap:not(.tiled) .photo h3{
    position:absolute;
    top:50%;
    transform: translateY(-50%);
    transition: all .3s;
    left:0;
    right:0;
    z-index:1;
    opacity: 0;
    background-color:rgba(0,0,0,.7);
    text-align: center;
}
.album-photos-wrap:not(.tiled) .photo:hover h3{
    opacity: 1;
}
.album-photos-wrap:not(.tiled) .photo h3 a{
    color:#fff;
    padding: 15px 5px;
    display: block;
}
.album-photos-wrap:not(.tiled) .photo .info{
    position: absolute;
    bottom:0;
    left:0;
    line-height: 1.5;
    display:flex;
    align-items: center;
    justify-content:center;
    text-align: center;
    flex-wrap: wrap;
    right:0;
    padding: 5px;
    background-color: rgba(0,0,0,.7);
    color:rgba(255,255,255,.8);
    transform:translateY(100%);
    transition: transform .1s linear .3s;
}
.album-photos-wrap:not(.tiled) .photo:hover .info{
    transform:translateY(0);
}
.album-photos-wrap:not(.tiled) .photo .photo-counts > ::before,
.photo_icon::before{
    vertical-align: unset;
}
.album-photos-wrap:not(.tiled) .photo .info a{
    margin-left:5px;
}
.album-photos-wrap .photo .photo-counts > * {
    margin-right:5px;
    display: inline-block;
    vertical-align: middle;
    line-height:inherit;
}
.album-photos-wrap .photo .photo-counts > *:last-child {
	margin-right:0;
}
.album-photos-wrap .photo .photo-counts > *:before,
.photo_icon:before {
    content: '';
	font-family:'fontello';
	margin:0 5px 0 0;
    display: inline-block;
	color:#ababab;
}
.photo_icon:before{
	color:#fff;
}
.album-photos-wrap .photo .info .comments:before {
	content:'\e610';
}
.album-photos-wrap .photo .info .rating:before {
    content:'\e633';
}
.album-photos-wrap .photo .info .hits-count:before {
    content:'\e80f';
}
.album-photos-wrap .photo .info .author:before {
    content:'\e82a';
}
.photo_icon.icon_download:before {
    content:'\e616';
	font-style:normal;
}
.album-photos-wrap .photo .delete,
#album-photos-widget .actions .delete {
    position:absolute;
    top:-50px;
    right:15px;
    text-decoration:none;
    color: #e53c45;
    padding:2px;
    font-size:1.2rem;
    transition:all .2s;
	opacity:.8;
	z-index:1;
	display:inline-block;
	background:#fff;
}
.album-photos-wrap .photo:hover .delete {
    top:15px;
}
.owl-carousel.album-photos-wrap .photo:hover .delete {
    top:0;
	right:0;
}
.album-photos-wrap .photo .delete:hover,
#album-photos-widget .actions .delete:hover {
    opacity:.9;
}
.album-photos-wrap .photo > a {
    display: block;
    max-height: 100%;
}
.album-photos-wrap .photo .info .positive {
	color:#72b238;
}
.album-photos-wrap .photo .info .negative {
	color:#e53c45;
}
.content_item.albums_item .info_bar{
	line-height:32px;
}
.content_item.albums_item .info_bar .bar_item{
	height:42px;
}
.content_item.albums_item .info_bar .bi_share .share{
	margin-top:7px;
}
span.album_user {
    display: inline-block;
    vertical-align: middle;
}
.show-more.show_spinner > span,
.show-more.show_spinner::before{
    display:none;
}
.show-more .spinner{
    display:none;
}
.show-more.show_spinner .spinner{
    display:block;
    margin:0 auto;
}


/* Фильтр фотографий */
.photo_filter {
    min-height:40px;
    font-size:.9333rem;
    background-color:rgba(0,0,0,.03);
    margin: 0 0 15px 0;
    padding:0 40px 0 0;
    position: relative;
    user-select: none;
}
.photo_filter:after{
	content:'';
	display:table;
	clear:both;
}
.photo_filter .box_menu {
    line-height: 40px;
    padding:0 20px 0 7px;
    cursor: pointer;
    opacity: .8;
    white-space: nowrap;
    position: relative;
    display:block;
	float:left;
	border-right:1px solid rgba(0,0,0,.07);
	box-shadow:0 1px 0 rgba(0,0,0,.07);
}
.photo_filter .box_menu:hover{
	background:#fff;
	color:#2897e1;
}
.box_menu.box_menu_select{
	color:#f28d4f;
}
.photo_filter .clear_filter {
    text-decoration: none;
    color: #9a9a9a;
    margin-right:0;
	font-size:1.3333rem;
    height:40px;
	line-height:40px;
	width:40px;
    padding: 0 5px;
	position:absolute;
	right:0;
	bottom:0;
	top:0;
	text-align:center;
	background-color:rgba(0,0,0,.03);
	transition:all .2s linear;
	border-left:1px solid rgba(0,0,0,.07);
	box-shadow:0 1px 0 rgba(0,0,0,.07);
}
.photo_filter .clear_filter:hover{
	background-color: #e53c45;
	color:#fff;
	transition:all .2s linear;
}
.photo_filter .clear_filter:before {
	font-family:'fontello';
    content:'\e803';
}
.photo_filter .clear_filter:after{
	display:none;
} 
.photo_filter .box_menu:after {
    content: '\e683';
	font-family:'fontello';
    width: 16px;
    height: 16px;
    position: absolute;
	top:1px;
    right:0;
    transition: opacity 0.5s;
}
.box_menu_dd {
    display: none;
    position:absolute;
    background:#fff; 
	border:1px solid rgba(0,0,0,.07);
    box-shadow:0 5px 5px rgba(0,0,0,.1);
    padding:0;
    top: 40px;
    z-index:10;
}
.box_menu_dd a {
    display: block;
    line-height:1.3;
	color:#7a7a7a;
    white-space: nowrap;
    padding: 7px 35px 7px 7px;
    margin: 0px;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
	border-bottom:1px solid rgba(0,0,0,.07);
}
.box_menu_dd a:last-child{
	border-bottom:0 none;	
}
.box_menu_dd a:hover {
    text-decoration: none;
    background:#2897e1;
	color:#fff;
}
.box_menu_dd a .check {
    position: absolute;
    right: 10px;
    top: 7px;
    font-size: 13px;
	color:#2897e1;
}
.box_menu_dd a:hover .check{
	color:#fff !important;
}
.size_search_params {
    margin:10px;
}
.box_menu_dd fieldset{
	width:100%;
}


/* Список альбомов */
.content_list.tiled.albums_list .tile {
    position: relative;
}
.albums_list .photos_album_title {
	color:#9a9a9a;
}
.albums_list .photos_album_title span{
	color:#f28d4f;
}
.albums_list .photos_album_description {
	padding: 10px 0 5px;
	display: block;
	font-size: 0.8667rem;
	line-height: 1.3333rem;
	color: #7a7a7a;
}
.content_list.tiled.albums_list .info_bar {
    opacity: 1;
    margin: 0;
    display: block;
}
.sub_items_list {
    margin: 10px 0 0 0;
    overflow: hidden;
}
.sub_items_list .show-more {
    margin-bottom: 0;
}


/* Просмотр фото */
#album-photo-item {
    position: relative;
    overflow: visible;
	clear:none;
}
#album-photo-item:after {
    clear: both;
    content: '';
    display: block;
}
#album-photo-item .left {
    width: 100%;
    float: left;
    margin-right: -250px;
}
#album-photo-item .right {
    width: 250px;
    float: right;
    position: relative;
}
#album-photo-item .left .inside {
    margin-right: 250px;
    padding-right: 20px;
}
.cols_1 #album-photo-item .left,
.cols_1 #album-photo-item .right,
.cols_1 #album-photo-item .left .inside,
.cols_2 #album-photo-item .left,
.cols_2 #album-photo-item .right,
.cols_2 #album-photo-item .left .inside,
.cols_3 #album-photo-item .left,
.cols_3 #album-photo-item .right,
.cols_3 #album-photo-item .left .inside,
.cols_4 #album-photo-item .left,
.cols_4 #album-photo-item .right,
.cols_4 #album-photo-item .left .inside,
.cols_5 #album-photo-item .left,
.cols_5 #album-photo-item .right,
.cols_5 #album-photo-item .left .inside{
	float:none;
	margin:0 0 15px;
	padding:0;
	width:100%;
}
#photo_container {
    position: relative;
    zoom: 1;
    display: inline-block;
    overflow: hidden;
}
.inside .inside_wrap {
    text-align: center;
}
#photo_container > img {
    display: block;
    height: auto;
	width: 100%;
    max-width: 100%;
    position: relative;
}
.fullscreen_title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    text-align: left;
    font-size: 20px;
    background: linear-gradient(to bottom,rgba(0,0,0,.5) 0,rgba(0,0,0,0) 100%);
    height: 46px;
    line-height: 40px;
    overflow: hidden;
    padding: 0 15px;
    margin: 0;
    color: #fff;
	display:none;
}
.fullscreen_now .fullscreen_title {
	display:block;
}
#album-photo-item .like_buttons {
    margin: 10px 0;
    border-left: 0;
    border-right: 0;
    font-size: inherit;
}
#album-photo-item.content_item .like_buttons.info_bar .bar_item{
    display: inline-block;
    vertical-align: middle;
    float: none;
    padding:5px;
	height:42px;
	line-height:32px;
}
#album-photo-item .share{
	margin-top:7px;
}
.photo_content {
    font-size: .9333rem;
    padding: 0 0 10px;
    margin: 0 0 10px;
}
.download_menu {
    position: relative;
}
.download_menu .download-button {
    display: block;
    margin: 10px 0 0;
    background-color:#f28d4f;
    color: #fff;
    padding: 10px 15px;
    border-radius: 3px;
    white-space: nowrap;
	font-size:1.2rem;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s linear;
    text-decoration: none;
}
.download_menu .download-button:hover {
    background-color: #2897e1;
}
.download_menu .process_download {
    background-color: #136bb9;
    padding: 5px 10px;
}
.download_menu .process_download:hover {
    background-color: #2897e1;
}
.download_menu #bubble {
    display: none;
    position: absolute;
    z-index: 999;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    padding: 10px;
    border-radius: 2px;
    box-shadow: 0 1px 5px rgba(0,0,0,.2);
    font-size: 13px;
    line-height: 1.6;
    left: 0;
    top: 50px;
    width: 100%;
    box-sizing: border-box;
}
#bubble:before {
    position: absolute;
    top: -8px;
    left: 50%;
    content: "";
    width: 0;
    border-width: 0 8px 8px;
    border-style: solid;
    border-color: rgba(0,0,0,.2) transparent;
    margin-left: -8px;
}
#bubble:after {
    position: absolute;
    top: -7px;
    left: 50%;
    content: '';
    width: 0;
    border-width: 0 7px 7px;
    border-style: solid;
    border-color: #fff transparent;
    margin-left: -7px;
}
.download_menu table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
.download_menu td {
    text-align: left;
    padding: 3px 6px;
    white-space: nowrap;
    line-height: 21px;
}
.download_menu td input {
    margin: 0;
    vertical-align: middle;
	position:relative;
	top:-2px;
}
.download_menu td label {
    cursor: pointer;
}
.download_menu .disable_download td label {
    cursor: not-allowed;
}
.original_download_preset.disable_download {
    background-color: #e53c45;
    color: #fff;
}
.exif_wrap {
    padding: 10px 15px;
    background: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.07);
    white-space: nowrap;
    overflow: hidden;
    margin: 10px 0 0 0;
}
.exif_wrap > a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0;
    text-decoration: none;
}
.exif_wrap > a:before {
	font-family:'fontello';
	color:#ababab;
	content:'\e638';
}
.exif_wrap .exif_info {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #565656;
    margin: 7px 0 0 0;
}
.exif_wrap .exif_info > span {
    float: left;
    cursor: help;
}
.photo_details {
    padding: 10px 10px;
    background:rgba(0,0,0,.03);
    margin: 0;
    font-size: 13px;
    color: #7a7a7a;
    box-sizing: border-box;
    overflow: hidden;
}
.download_menu + .photo_details {
    margin-top: 10px;
}
.photo_details dt, .photo_details dd {
    float: left;
    margin: 0;
    width: 50%;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 22px;
}
.photo_details dd {
    padding: 0 0 0 5px;
}
.full_in_modal .fullscreen_click {
    content: '';
    background: #000;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 0.5s ease;
    opacity: 0;
    cursor: pointer;
    display: none;
}
.full_in_modal .fullscreen_click:after{
	position:absolute;
	font-family:'fontello';
	content:'\e681';
	color:rgba(255,255,255,.8);
	top:-2rem;
	left:50%;
	margin-top:-1rem;
	margin-left:-1rem;
	width:3rem;
	height:3rem;
	line-height:3rem;
	font-size:3rem;
	transition:top .2s linear;
	z-index:2;
}
.full_in_modal:hover .fullscreen_click:after{
	top:50%;
}
.full_in_modal:hover .fullscreen_click {
    opacity: 0.4;
}
#fullscreen_photo {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.2;
    transition: opacity 200ms ease;
    cursor: pointer;
}
#photo_container:hover #fullscreen_photo {
    z-index: 2;
    opacity: 1;
}
#fullscreen_photo > div {
    width: 2.2rem;
    height: 2.2rem;
	padding:.2rem;
    margin: 10px 15px 0 0;
}
#fullscreen_photo > div:hover {
	background-color:rgba(0,0,0,.1);
}
#fullscreen_photo > div:before{
	font-family:'fontello';
	content:'\e680';
	font-size:2rem;
	color:#fff;
	display:block;
	height:2rem;
	line-height:1;
}
#fullscreen_photo.close > div:before {
	content:'\e803';
}
.disabled-act {
	display: none;
}
#related_photos_wrap > h3 {
    margin: 10px 0;
}
#related_photos_wrap {
    clear: both;
    overflow: hidden;
}
.owl-prev,
.owl-next,
.photo_navigation {
    width: 40px;
    background: transparent !important;
    height: 100%;
    position: absolute;
    top: 0;
    cursor: pointer;
    transition: left .3s,right .3s;
    z-index: 1;
}
.owl-prev:hover,
.owl-next:hover,
.photo_navigation:hover {
	background-color:rgba(0,0,0,.1) !important;
}
.prev_item {
    left: -40px;
}
.next_item {
    right: -40px;
}
#photo_container:hover .prev_item {
    left: 0;
}
#photo_container:hover .next_item {
    right: 0;
    left: auto;
}
.owl-prev:after,
.owl-next:after,
.photo_navigation:after {
    font-family:'fontello';
    height: 32px;
    width: 20px;
	text-align:center;
	content:'\e691' !important;
    position: absolute;
    top: 50%;
    margin-top: -16px;
	color:#fff;
	font-size:32px;
	background:none !important;
}
.owl-next:after,
.next_item:after {
    right: 10px;
    content:'\e692' !important;
}
.prev_item:after {
    left: 10px;
}
.fullscreen_now {
    height: 100%;
    width: 100%;
    background: #000;
    text-align: center;
}
.fullscreen_now #photo_container {
    height: 100%;
    width: 100%;
	display: flex;
}
.fullscreen_now #photo_container img {
    margin: auto;
	width:auto;
    max-width: 100%;
	max-height: 100%;
}
@media screen and (min-width:0\0) {
	.fullscreen_now #photo_container img {
		height: 100%;
	}
}