    
html.gg_modal_opened,    
html.gg_modal_opened body{
	overflow:hidden;
	position:fixed;
	z-index:-2;
	top:0;
	width:100%;
}	
html.gg_modal_opened body{

}

.mfp-content{	
transition: all .3s;
}
.gg:before{
  font-family: "gg";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  vertical-align:middle;
  text-decoration: inherit;
  margin-right: .2em;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
  
	
	#ajax_sidebar{
	
	}
	.ajax_sidebar_header{
		background:#fff;
		padding-bottom:10px;
		overflow:hidden;
		position:relative
	}
	
	
	

    .ajax_photo_view .right .ajax_sidebar_header .photo_share_button,
	.ajax_photo_view .right .ajax_sidebar_header .photo_share_button i{		
		display:inline-block;		
		height:24px;
		line-height:24px;
		vertical-align:top;
	}
	.ajax_photo_view .right .ajax_sidebar_header .photo_share_button{
		position:absolute;
		bottom:5px;
		right:24px;
		padding:0 7px;
		border-radius:3px;
		background-color:#ecfbff;
		border:1px solid #a6e0ee;
		font-size:12px;
		text-decoration:none !important;
		color:#00BCD4
	}
	.ajax_photo_view .right .ajax_sidebar_header .photo_share_button i{
		margin-right:5px;
	}
	.ajax_photo_view .right .ajax_sidebar_header .photo_share_button.active,
	.ajax_photo_view .right .ajax_sidebar_header .photo_share_button:focus,
	.ajax_photo_view .right .ajax_sidebar_header .photo_share_button:hover {
        background-color: #ddf7ff;
	}

	
	.ajax_photo_view .right .like_buttons{
		margin:0 !important;
		border-color:#e7e8ec;
		text-align:center;
		display:flex;
		justify-content:center;
	}

    .ajax_photo_view .right .social_buttons{
	
	}
	 
	.ajax_photo_view {
        width:auto;
        max-width:100%;	    
		height:100%;	
		margin: 0 auto; 
		background: #1E1E1E; 
		padding: 0; 
		display:table;	
		box-sizing:border-box;
		font-family:-apple-system,BlinkMacSystemFont,Roboto,Open Sans,Helvetica Neue,sans-serif;
		transition: all .3s;		
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
	}	

	 .ajax_photo_container{
		  display:table-row;		  
		  height: 100%;
		  box-sizing:border-box;
		  transition: all .3s;
	 }
	 
	.ajax_photo_view .left,
	.ajax_photo_view .right {
		 margin:0 !important;
		 padding:0 !important;
		 float:none !important;
		 display: table-cell;
		 position:relative;
		 box-sizing:border-box;
	
	}	 
	 .ajax_photo_view .left{ 		
		background:#1E1E1E;
		min-width:640px !important;
        vertical-align: middle;	
		transition: all .3s;
	 }
	.ajax_photo_view .right {
        background: #fff; 
		min-width:310px !important;
		max-width:310px !important;
		vertical-align:top;
		overflow:hidden;
		position:relative;
	}
	.mfp-content:not(.fullsize) .ajax_photo_view .left{ 		
		width:auto !important;
	}
	.mfp-content.fullsize,
	.mfp-content.fullsize #ajax_sidebar,
	.mfp-content.fullsize .ajax_photo_view,
	.mfp-content.fullsize .ajax_photo_view .left{ 	
		height:100% !important;	
		vertical-align:top !important;
	}
    .mfp-content.fullsize .ajax_photo_view[data-is_comments_in_fullsize="0"] .right {
		min-width:0px !important;
		max-width:0px !important;
	}   
	.mfp-content.fullsize .mfp-close{
		display:none;
	}
	
    .ajax_photo_view .left .inside,
	.ajax_photo_view .left .inside .inside_wrap{
        margin: 0px auto !important;
		padding:0 !important;
		vertical-align:middle;
		text-align:center;		
		line-height: 0;
	}	
	.ajax_photo_view .left .inside {
       position:relative;
	   overflow:hidden;
	}
	.ajax_photo_view #photo_container img{
	    margin: 0px auto;
		vertical-align:middle;
		text-align:center;
	}
	
	.mfp-content.fullsize .photo_videos_link{
			top:60px
	}

	
	.ajax_sidebar_header h1, .add_form_panel_head .photo_title{
		display:block !important;
		overflow:hidden;
		clear:botch;
		padding:15px 0;
		margin:0 15px 0 0;
		font-size:17px;
		font-weight:bold;
		color:#000;
		line-height:18px;
		text-align:left !important;
		float:none !important;
		border:0 !important
	}
	.ajax_sidebar_header h1 a, .add_form_panel_head a{		
        text-decoration:none;	
        display:block !important;
		text-align:left !important;		
	}
	.ajax_sidebar_header h1 a.photo_title, .add_form_panel_head a.photo_title{
		color:#000 !important;
	}	
	.ajax_sidebar_header h1 a.album_title, .add_form_panel_head .album_title{
		color:#888 !important;
		font-size:13px;
		font-weight:normal;
		margin-top:3px;
	}
	.ajax_sidebar_header h1 a.photo_title.gg:before, .add_form_panel_head .album_title.gg:before{		
	   content: '\f08e';
	   line-height:16px;
	   margin-right:5px;
	}


	.ajax_photo_view .right .plr{
     padding-left:20px !important;
	 padding-right:20px !important;
	}
    .ajax_photo_view .right .ajax_sidebar_header .plr{
		padding-left:10px !important
	}
	
	.ajax_photo_view .photo_navigation{
	   transition: all .3s;
	   opacity:0;
	   text-align:center !important;
	}
	.ajax_photo_view .left .photo_navigation.prev_item{
		left:0 !important;
		padding-left:10px !important;
		padding-right:10px !important;
	}
	.ajax_photo_view .left .photo_navigation.prev_item:after{
		left:12px
	}
    .ajax_photo_view .left .photo_navigation.next_item{
		right:0 !important;
		left:80px !important;
		width:auto !important;
	}
	.ajax_photo_view .left .photo_navigation.next_item:after{
		  right:15px !important
	}
	.ajax_photo_view .left .inside .photo_navigation:hover,
	.ajax_photo_view .left .inside:hover .photo_navigation{
		 opacity:1;
	}	

	
img.lazyload {
  opacity: 1;
  transition: opacity 0.3s;
}

img.lazyload[data-src] {
  opacity: 0;
}

	.photo_fullsize_link, .listPhotos_link, .photo_videos_link {
	display:inline-block;
	text-decoration:none !important;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1111111;
    opacity: 1;
    cursor: pointer;
    width: 60px;
    height: 60px;	
	line-height:58px;
	color:#fff !important;
	font-size:26px;
	text-align:center;
    }
	.photo_fullsize_link i:before, .listPhotos_link i:before {
		margin:0;
		width:auto;
	}	
	
    .listPhotos_link {
        right: 50%;	
        margin-right:-30px;		
        bottom:10px;
        top:auto;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);	
    } 
	.mfp-content.fullsize .listPhotos_link {
        bottom:auto;
        top:55px;		
    }
	
	.photoVideos{
		position:absolute;
		z-index: 2;		
	}
	.photo_videos_link {
		right:auto;
		left:10px;
		top:10px;
		height:44px;
		line-height:44px;
		background:rgba(30,30,30,.6);
		width:auto;
		padding:0 15px 0 12px;
		overflow:hidden;
		font-size:20px;
	}		
	.photo_videos_link span{
		display:inline-block;
		vertical-align:middle;
        height:44px;
		line-height:24px;		
		font-size:13px;
		margin-left:4px;
	}	
	.photo_videos_link i{
		display:inline-block;
		vertical-align:top;
		float:left;
		margin-right:8px;
		font-size:20px;
	}
	.photo_videos_link i:before{
		margin:0;
		height:44px;
		line-height:44px;
	}
	.mfp-content.fullsize .photo_videos_link {
		left:35px
	}
	
	
	.photo .video_icon {
		position:absolute;
		left:10px;
		top:10px;
		height:28px;
		line-height:28px;
		background:rgba(0,0,0,.6);
		padding:0 10px 0 8px;
		overflow:hidden;
		font-size:12px;
		display:inline-block;
		color:#fff !important;
	 }
	.photo .video_icon i{
		display:inline-block;
		vertical-align:top;
		float:left;
		margin-right:6px;
		font-size:13px;
	}	
	.photo .video_icon i:before{
		margin:0;
		height:28px;
		line-height:28px;
		}
	
	.photo .video_icon span{
		display:inline-block;
		vertical-align:middle;
        height:28px;
		line-height:18px;		
		font-size:10px;
		margin-left:4px;
	}
	
	
	#modalComments{
	margin-top:1px;
	transition: all .3s;
	}
	
	.ajax_photo_view .mfp-close{
			z-index:11111111
	}
	
	.photo_description{
		font-size:13px;
		color:#333;	
	    border:0;
		padding:5px 0 10px 0;
        margin-top:-10px;		
	}
	
	.photo__author{
		display:flex;
		font-size:13px;
		margin-top:-5px;
	}	
	.photo__author > div:first-child{
		padding-top:2px;
	}
    .photo__author a{
		text-decoration:none !important;
	}
	.photo_user_avatar{
		margin-right:5px;	
        display:inline-block;
        vertical-align:top;		
	}
	.photo_user_avatar img, .photo__author .default_avatar{		
		border-radius:50%;
		overflow:hidden;
	}
	.photo_user_nickname{
	    display:block;
	    padding:2px;
        color:#000;
        font-weight:bold;		
	}
	.photo_pubdate{
		color:#999;
		font-size:12px;
		padding:2px;
	}
	.photo__author .default_avatar:before, .voteUserAvatar .default_avatar:before {
		display:flex;  
        flex-direction: row;        
		justify-content:center;		
		align-items: center;
		flex-wrap: nowrap;
		flex-flow: row nowrap;
        height: 100%;
		font-size:18px
	}
	
	
	
	
	.morecontent span {
        display: none;
    }
    .morelink {
        display: block;
		text-decoration:none !important;
		opacity:0.8;
		font-size:13px;
		padding-top:5px;
		margin-right:10px;
    }
	.morecontent .morelink{	
		 font-size:12px;
		 color:#666
	}
	
	
	
	.ajax_photo_view .ajax_sidebar_header .morelink{	
	    text-align:right;
		
	}
	
	
	
	
	
	.slideDown{
		height:0;
		overflow:hidden;
		transition: all .3s;
	}	
	.slideDown.is_visable{
		height:auto;
		height:100%;
	}
	
	
	
	.ajax_photo_slide_panel{
		overflow:hidden;
		background:rgba(30,30,30,.6);
		position:absolute;
		top:0;
		left:0;
		box-sizing:border-box;
		z-index:1111111;
		height:48px;
		width:54px;
		overflow:hidden;
		transition: width 0.15s ease-out;
	}	
	.ajax_photo_slide_panel.open{
		width:100%;
		transition: width 0.25s ease-in;
	}
	.ajax_photo_slide_panel a{
		float:left;
		width:48px;
		height:48px;
		line-height:48px;
		margin:0;
		padding:0;
		display:block;
		text-decoration:none !important;
		color:#f1f1f1;
		font-size:18px;
		text-align:center;
	}
	.ajax_photo_slide_panel a.action_delete{
		color:red !important;
	}
	.ajax_photo_slide_panel a i:before{
		margin:0 !important;
	}
	.ajax_photo_slide_panel a:hover{
	    background:rgba(0,0,0,.6);
	}
	.ajax_photo_slide_panel a:first-child{
		width:54px;
	
	}
	.ajax_photo_slide_panel.open a:first-child{
	
	}
	
	
	.ajax_photo_panel{
		position:absolute;
		top:10px;
		left:0;
		width:100%;
		z-index:1111111;
		overflow:hidden;	
		text-align:center;
	}
	.ajax_photo_panel_wrap{		
	    margin:0 auto;
		background:rgba(30,30,30,.4);		
		box-sizing:border-box;
		height:42px;		
		overflow:hidden;		
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
		text-align:center;
		display:inline-block;
	}	
	.ajax_photo_panel_wrap a{
		float:left;
		width:42px;
		height:42px;
		line-height:42px;
		margin:0;
		padding:0;
		display:block;
		text-decoration:none !important;
		color:#f1f1f1;
		font-size:16px;
		text-align:center;
	}
	.ajax_photo_panel_wrap a i:before{
		margin:0;
		height:42px;
		line-height:42px;
	}
	.ajax_photo_panel_wrap a.action_link i:before{
		line-height:43px;
	}
	.ajax_photo_panel_wrap a.action_delete{
		color:red !important;
	}
	.ajax_photo_panel_wrap a i:before{
		margin:0 !important;
		width:auto;
	}
	.ajax_photo_panel_wrap a:hover{
	    background:rgba(0,0,0,.6);
	}
	.ajax_photo_panel_wrap a:first-child{
	
	}
	.ajax_photo_panel_wrap.open a:first-child{
	
	}
	
	
	
	.dropdown-menu ul{
		min-width:80px !important;
		padding:0 !important;
	}
	.dropdown-menu.dropdown_align_center,
	.dropdown-menu.dropdown_align_center ul,
	.dropdown-menu.dropdown_align_center ul li,
	.dropdown-menu.dropdown_align_center ul li a{
		text-align:center !important;
	}	
	
	.dropdown-menu ul li i:before{
		margin-left:0 !important;
		width:auto !important;
	}
	.dropdown-menu ul li > a{
		padding:5px 10px !important;
	}
	.dropdown-menu .dropdown_content{	
		box-sizing:border-box;
		min-width: 160px;
        background: #FFF;
        box-shadow: 0 3px 5px rgba(0,0,0,0.1);
        overflow: auto;
        padding:10px 12px;
        margin: 0;
	}

	.dropdown-link-disable{
		opacity:.6;
	}	
	.dropdown-link-disable, .dropdown-link-disable a{
		cursor:default !important;
	}
	
	
	.dropdown_content.is_table_list{
		padding:0;
	}
	.dropdown-content-list{
		display:table; 
		width:100%;
	}
	.dropdown-content-list-head{
		padding:8px 12px !important;
		margin:0 !important;
		border:0 !important;
		background:#eeeff2 !important;
	}
	.dropdown-content-table-list > div{
		display:table-row;
		vertical-align:middle;
	}
	.dropdown-content-table-list > div > span{
		padding:6px 12px;
		font-size:12px;
		line-height:14px;
		display:table-cell;
		vertical-align:middle;
		border-bottom:1px solid #eeeff2		
	}	
	.dropdown-content-table-list > div:last-child > span{
	    border:0;
	}
	.dropdown-content-table-list > div > span.item_name{
		width:80%;
		color:#555;
	}
	.dropdown-content-table-list > div > span.item_value{
		padding-left:5px;
	}
	
	
	
	
	
	
	.overlay_popup {
    position: absolute;
    top: 0;
    bottom:0;
	margin-bottom:1px;
	left:0;
	right:0;
    z-index: 999999999;
    display: none;
    overflow: auto;
    width: 100%;
    background: rgba(0,0,0,0.9);
	box-sizing:border-box;
    }

	.overlay_popup_container{
		padding:20px;
		position:relative;
		min-height:100%;
		box-sizing:border-box;
	}
	#external_overlay_popup.overlay_popup{
		top:0;
		bottom:0;
	    height:100%;
		overflow:auto;
		position:fixed;
	}
	#external_overlay_popup .overlay_popup_container{
	    padding:20px 4px;
	}
	#external_overlay_popup.overlay_popup .album-photos-wrap{
		overflow:auto;
		margin:0;
		height:100%;
		min-height:100%;
	
	}
	.overlay_popup_container.overlay_popup_is_image{
		text-align:center;
		display:flex;  
        flex-direction: row;        
		justify-content:center;		
		align-items: center;
		flex-wrap: nowrap;
		flex-flow: row nowrap;	
	}
	
	.overlay_popup_cancel{
		display:inline-block;
		text-decoration:none !important;
		line-height:48px;
		height:48px;
		padding:0 25px 0 15px;
		font-size:16px;
		position:absolute;
		z-index:9999999999;
		top:0;
		right:0;
		background: rgba(0,0,0,0.6);
		color:#fff !important;
	}
	.overlay_popup_cancel i,
	.overlay_popup-cancel i:before{
		margin:0;
		padding:0;
		width:auto;
		line-height:50px;
		height:48px;
	}
	.overlay_popup_cancel i{
		margin-right:5px;
		display:inline-block;
		vertical-align:middle;
	}
	
	.overlay_popup_container h1{
		color:#fff;
		font-size:19px;
		padding-left:55px;
		margin-top:-5px;
		padding-bottom:5px;
	}
	.overlay_popup_container form{
		margin:0;
		padding:0;
	}
	.overlay_popup_container form .preview .info{
		float:none !important;
		width:100% !important;
		box-sizing:border-box;
		padding-left:0 !important;
	}
	.overlay_popup_container form .input,
	.overlay_popup_container form .date-input, 
	.overlay_popup_container form .city-input, 
	.overlay_popup_container form .textarea, select{
		border-color:#ccc;
		box-shadow:none !important
	}
	.overlay_popup_container .previews_list .preview .thumb{
		width:auto !important;
		position:absolute;
		top:0;
		left:0
	}
	.overlay_popup_container .previews_list .preview.block img{
		border:0 !important;
		padding:0 !important;
	}
	.overlay_popup_container .form_container{
		background:#fff;
		padding:25px 15px;
	}
	.overlay_popup_container .form_container img.edit_thumb{
	    width:64px;
	}

	.overlay_popup_container form .buttons{
	    overflow:hidden;
		margin-top:15px;
		clear:botch;
	}
	.overlay_popup_container form .buttons .button-submit{
		border-radius:0;
	}
	
	

	.overlay_popup_image{
		max-width:100%;
	    height:auto;
		vertical-align:middle;
		text-align:center;
		margin:0 auto;	   
	}
	
	
	
	
	
	
    @media all and (max-width:980px) {
	 
	 .ajax_photo_view .left{ 		
		min-width:480px !important;
	 } 
		.ajax_photo_view .right {      
		min-width:280px !important;
		max-width:280px !important;
		}
		#photo_comments_add_form .buttons .button[name="preview"]{
			display:none !important;	
		}
	 
	}   
	@media all and (max-width:780px) {
	 
	 .ajax_photo_view .left{ 		
		min-width:300px !important;
	 } 
		.ajax_photo_view .right {
		width:200px !important;
		}
		.ajax_photo_view .right .social_buttons .goodshare {
			
		}
		#photo_comments_list .comment .body .avatar{
			display:none;
		}
		#photo_comments_add_form .form_textarea .form_user_avatar{
			display:none;		
		}
		#photo_comments_add_form .form_textarea textarea{
			padding-left:15px !important;		
		}	
		#photo_comments_add_form .buttons .button[name="preview"]{
			display:none !important;	
		}
	
	 
	}
	
	@media all and (max-width:680px) {
		
		.ajax_photo_view {
			width: 100%;
			min-height:auto;
			height:100% !important;
			display:block;	
		}
		 .ajax_photo_container{
		  display:block;		  
		  min-height:auto;
		  height:100% !important;
	      }	 
		.ajax_photo_view .left,
		.ajax_photo_view .right { 
			width: 100% !important;
			min-width: 100% !important;
			padding:0 !important;
			vertical-align:top;
			display:block;
		}
		.ajax_photo_view #photo_container img{
			vertical-align:top !important;
			width:100% !important;
			max-width:100% !important;
		}
		.ajax_photo_view .left .inside,
	    .ajax_photo_view .left .inside .inside_wrap{
			width:100% !important;
			max-width:100% !important;
		}
		#ajax_sidebar{
	 	    max-height:100% !important;
			height:100% !important;
	     }
		.mfp-content {
         height:100% !important;	
		 min-height:100% !important;	
          }
		.mfp-close-btn-in .mfp-close {
			color:#fff !important;
			font-size:28px !important;
			opacity:1 !important;
			text-shadow: 1px 1px 2px black;
		}
		  
		.ajax_photo_view .photo_navigation{	 
	     opacity:1 !important;
	    }
		
		.photo_fullsize_link {
			    display:none;
				left:0;
				top:auto;
				right:auto;
				bottom:0;
		}

		.photo_videos_link{
			top:60px
		}
		.listPhotos_link{
			bottom:0;
		}
	    #photo_comments_list .comment .body .avatar{
			display:block;
		}
		#photo_comments_add_form .form_textarea .form_user_avatar{
			display:block;		
		}
		#photo_comments_add_form .form_textarea textarea{
			padding-left:46px !important;		
		}	
	
	}

	
	
	
	
	
	
	
	
/*
 CSS for tabs
*/
.tabset > input[type="radio"] {
  position: absolute;
  left: -200vw;
}

.tabset .tab-panel {
  display: none;
}

.tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
.tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
.tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
.tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
.tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
.tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
  display: block;
}

/*
 Styling tabs
*/

.tabset > label {
  position: relative;
  display: inline-block;
  padding: 15px 15px 25px;
  border: 1px solid transparent;
  border-bottom: 0;
  cursor: pointer;
  font-weight: 600;
}

.tabset > label::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 10px;
  width: 22px;
  height: 4px;
  background: #8d8d8d;
}

.tabset > label:hover,
.tabset > input:focus + label {
  color: #06c;
}

.tabset > label:hover::after,
.tabset > input:focus + label::after,
.tabset > input:checked + label::after {
  background: #06c;
}

.tabset > input:checked + label {
  border-color: #ccc;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}

.tab-panel {
  padding: 30px 0;
  border-top: 1px solid #ccc;
}


.ajax_photo_view .markItUpHeader .smilepanel[style="display: block;"]{
	max-height:unset !important; height:150px !important;
}
.ajax_photo_view #photo_comments_add_form.is_focused.is_smilepanel .form_textarea .form_user_avatar {
    top: 193px;
}

	
	