
/* Comments Widget ========================================================== */


#photo_comments_widget {
	font-size:13px;
}

#photo_comments_widget .title{
    overflow: hidden;
}
#photo_comments_widget .title h2{
border-bottom:0 !important;
}
#photo_comments_widget h2{
	margin-top:0;
	padding-top:0;
}
#photo_comments_widget h2,
#photo_comments_widget .track{
    float:left;
}

#photo_comments_widget .track{
    height:24px;
    line-height:24px;
    margin-top: 22px;
    margin-left: 20px;
    font-size:12px;
    color:#999;
}

#photo_comments_widget .track input{ margin:0; padding:0; }

#photo_comments_widget #photo_comments_add_link {
    margin: 10px 0;

}
#photo_comments_widget #photo_comments_add_link a { 
    font-size:14px; 
    color:#fff;
	padding:6px 8px;
	background:#009bde;
	border-radius:2px;
	-moz-border-radius:2px;
	border:0 !important;
}
#photo_comments_widget #photo_comments_add_link a:hover {  
    color:#fff;
	background:#008fcc;
}

#photo_comments_add_form {
    background:#fff;
    padding:0;
	box-sizing:border-box;
	width:100%;
	position:absolute;
	z-index:111;
	bottom:0;
	left:0;
	transition: all .3s;
}

#photo_comments_add_form .buttons{
	box-sizing:border-box;
    background:#fafbfc;
	margin:-7px 0 0 0;
	padding:0 10px;	
	display:none;
	overflow:hidden;
	transition: all .3s;
}
#photo_comments_add_form.is_focused .buttons{
	display:block;
}
#photo_comments_add_form .buttons .button{
	margin-top:10px;
	margin-bottom:10px;
	border-radius:2px;
	font-family:-apple-system,BlinkMacSystemFont,Roboto,Open Sans,Helvetica Neue,sans-serif;
}
	#photo_comments_add_form .buttons .button{
			padding:0 8px !important;
			height:26px !important;
			line-height:26px !important;
			font-size:12px !important;
			font-weight:normal !important;
			text-transform:none !important
		}
#photo_comments_add_form .buttons .button[name="cancel"]{
	color:#55677d;
	background:#e5ebf1
}
#photo_comments_add_form .buttons .button[name="preview"]{
	background:#55677d
}
#photo_comments_add_form .buttons .button[name="submit"]{

}

#photo_comments_add_form .markItUpContainer{
	border-top:1px solid #e7e8ec;
	margin:0;
	padding-left:10px;
	padding-right:10px;
	box-sizing:border-box;
}

#photo_comments_add_form .markItUpContainer ul li a{
	width:32px !important;
	height:32px !important;
	display:inline-block !important;
}
#photo_comments_add_form .markItUpContainer ul li a:hover{
    background-color:#fafafa;
}
#photo_comments_add_form .markItUpContainer .markItUpHeader{
	transition: all .3s;
	display:none;
	overflow:hidden;
	box-sizing:border-box;
	background:#fafbfc;
	margin:0 -10px;
}
#photo_comments_add_form .markItUpContainer .markItUpHeader > ul{
	margin:0 !important;
}
#photo_comments_add_form.is_focused .markItUpContainer .markItUpHeader{
	display:block;
}

#photo_comments_add_form .form_textarea textarea{
    transition: all .3s;
    height:42px;
	min-height:42px !important;	
	padding-top:16px;
	padding-left:46px;
	border:0 !important;
	overflow:hidden;
	box-shadow:none !important;
	font-size:13px !important;	
	line-height: 1.36;
	box-sizing:border-box;
    width:100%;
    margin:0;
	color:#000;
	font-family:-apple-system,BlinkMacSystemFont,Roboto,Open Sans,Helvetica Neue,sans-serif;
}
#photo_comments_add_form:not(.is_focused) .form_textarea textarea{
	resize:none;
}
#photo_comments_add_form .form_textarea textarea::-webkit-resizer {
  display: none !important;
}
#photo_comments_add_form.is_focused .form_textarea textarea{
	height:auto;
}
#photo_comments_add_form .form_textarea{
	position:relative;
}

#photo_comments_add_form .answer_title{
	position:absolute;
	right:25px;
	top:40px;
	font-family:-apple-system,BlinkMacSystemFont,Roboto,Open Sans,Helvetica Neue,sans-serif;
	font-size:11px;
	color:#888;
}

#photo_comments_add_form .form_textarea .form_user_avatar{
	position:absolute;
	left:13px;
	top:10px;
	bottom:auto;
	z-index:2
}
#photo_comments_add_form.is_focused .form_textarea .form_user_avatar{
	top:44px;
}
#photo_comments_add_form.is_focused.is_smilepanel .form_textarea .form_user_avatar{
    top:234px;
}
#photo_comments_add_form.is_focused.is_uploader .form_textarea .form_user_avatar{
    top:153px;
}
#photo_comments_add_form.is_focused.is_tube .form_textarea .form_user_avatar{
    top:153px;
}
#photo_comments_add_form.is_focused.is_image .form_textarea .form_user_avatar{
    top:153px;
}
#photo_comments_add_form .form_textarea .form_user_avatar img{
	border-radius:50%;
	overflow:hidden;
}

#photo_comments_add_form .preview_box{
    padding:15px;
    border:solid 4px #B3C2C9;
    background:#FFF;
    display:none;
	position:relative;
	line-height: 1.36;
	color:#111;
	font-size:13px;
	margin:5px;
}

  .preview_box-close {
  width: 34px;
  height: 34px;
  line-height: 34px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;

  font-style: normal;
  font-size: 20px;
  font-family: Arial, Baskerville, monospace; 
  }
  .preview_box-close:hover,
  .preview_box-close:focus {
    opacity: 1; 
  }
  .preview_box-close:active {
    top: 1px;
  }

	
#photo_comments_add_form .loading{ 
    position:absolute;
	padding:0;
	background-position:95px 50%;
	left:0;
	bottom:0;
	top:0;
	right:0;
	box-sizing:border-box;
	line-height:48px;
	text-align:center;
	background-color:#fafbfc;
	opacity:.9;      
	align-items: center;
	flex-wrap: nowrap;
	vertical-align:middle;
	justify-content: center;
	height:100%;
	display:none;
 }
#photo_comments_add_form .loading.is_visable{ 
	display: flex;
}

#photo_comments_add_form .author_data {
	display:none;
	padding:0;
	height:auto;
	background:#e7e8ec
}
#photo_comments_add_form.is_focused .author_data{
	display:flex;
}
#photo_comments_add_form .author_data .field {
	overflow:hidden;
	width:50%;
	box-sizing:border-box;
	padding:5px;
	margin:0;
}

#photo_comments_add_form .author_data .field .input {
	width:100%;
	vertical-align:middle;
}


#photo_comments_add_form .not_allowed_info{
	padding:20px;
	color:#888;
	font-size:13px;
	display:flex;
	align-items:center;
}
#photo_comments_add_form .not_allowed_info i{
	font-size:34px;
}
#photo_comments_add_form .not_allowed_info i:before{
	margin-left:0;
	vertical-align:middle;
}



#photo_comments_widget #photo_comments_refresh_panel {
    display: block;
    width:50px;
    height:35px;
    position: fixed;
    z-index:100;
    right:0px;
    top:45%;
    background:url("/templates/default/images/loader24.gif") no-repeat center center #B3C2C9;
}

#photo_comments_widget #photo_comments_refresh_panel a{
    display: block;
    width:50px;
    height:35px;
    background:url("/templates/default/images/icons32/update-black.png") no-repeat center center #B3C2C9;
}
#photo_comments_widget #photo_comments_refresh_panel a:hover{
    background-color: #e1ebef;
}

#photo_comments_widget {
	padding-bottom:20px
}

.photoCommentsHead{
        display:flex;  
		align-items: flex-start;
        flex-wrap: nowrap;
		flex-flow: row nowrap;
        flex-direction: row; 
		justify-content: space-between;		
		width:100%;
	color:#fff;
	margin:-6px 0 0 0;
	background:#fff;
	overflow:hidden;
}
.photoCommentsHead h4{
		padding:0 0 0 9px !important;
		font-size:17px !important;	
		margin:0 !important;
		color:#000 !important;	
}
.photoCommentsHead h4 i:before{
	margin:0;
    margin-right:4px;
	font-size:16px;
}
.photoCommentsHead h4 span{
	font-size:14px;	
	line-height:16px;
	color:#999;
}
.photoCommentsHead > div, .photoCommentsHead h4,
.photoCommentsHead div.photoComments_tools a{
	height:32px;
	line-height:32px;
}
	

.photoCommentsHead div.photoComments_tools{
	background:#fff;
	padding-right:10px;
}
.photoCommentsHead div.photoComments_tools a{
	display:inline-block;
	text-decoration:none !important;
	vertical-align:top;
	padding:0 5px 0 7px;
	line-height:36px !important;
	color:#868e96;
}
.photoCommentsHead div.photoComments_tools a.photoComments_refresh.animate-spin,
.photoCommentsHead div.photoComments_tools a.photoComments_refresh[data-disabled="1"]{
	cursor:default;
}
.photoCommentsHead div.photoComments_tools a.photoComments_refresh[data-disabled="1"]{
	color:#eee !important;
}
.photoCommentsHead div.photoComments_tools a:first-child{
	border:0;
	padding-left:14px;
}
.photoCommentsHead div.photoComments_tools a.photoComments_track:hover{
	color:#000;
}
.photoCommentsHead div.photoComments_tools a.photoComments_refresh:hover{
	color:#007bff;
}
.photoCommentsHead div.photoComments_tools a.photoComments_rss:hover{
	color:#f9632c;
}
.photoCommentsHead div.photoComments_tools i:before{
	font-size:15px;	
	margin:0;
	padding:0;
}	
#photo_comments_list .comment{
    overflow: hidden;
    padding:10px;
	padding-right:20px;
    border-top: 1px solid #e7e8ec;
    margin-top: -1px;
	line-height: 1.36;
}
#photo_comments_list .comment[data-level]{
	
}
#photo_comments_list .comment[data-parent_id]{
	border-top:0;
	margin-top:0;
}


#photo_comments_list .comment:first-child{
	border-top:0;
	padding-top:13px;
}
#photo_comments_list.striped-list .comment{
    border-bottom: solid 1px #EDEDED;
    padding-bottom:15px;
}

#photo_comments_list.striped-list .comment:last-child{
    border:none;
    padding-bottom: 0;
    margin-bottom: 0;
}

#photo_comments_list .selected-comment{
    background:#ffffcb;
}

#photo_comments_list .comment .info,
#photo_comments_list .comment .body {
    overflow: hidden;
    clear: both;
}

#photo_comments_list .comment .info{
    margin-bottom:4px;
}

#photo_comments_list .comment .info div {
    float: left;
    margin-right: 10px;
    font-size:12px;
}

#photo_comments_list .comment_text{
	color:#111;
}

#photo_comments_list .comment .info .rating{
}

#photo_comments_list .comment .info .rating .buttons{
    float:right;
    margin-left:5px;
    padding-top:2px;
}

#photo_comments_list .comment .info .rating a {
    display:inline-block;
    width:13px;
    height:13px;
    background:url("/templates/default/images/comment_vote.png") no-repeat;
}

#photo_comments_list .comment .info .rating .value {
    display: block;
    float:left;
    font-weight: bold;
}

#photo_comments_list .comment .info .rating a.rate-up { background-position: 0 0; }
#photo_comments_list .comment .info .rating a.rate-up:hover { background-position: 0 -13px; }
#photo_comments_list .comment .info .rating a.rate-down { background-position: -13px 0; }
#photo_comments_list .comment .info .rating a.rate-down:hover { background-position: -13px -13px; }

#photo_comments_list .comment .info .name .user{ color:#375D81; text-decoration:none !important; font-weight:bold; }
#photo_comments_list .comment .info .name .user:hover{ color:#d35400; }
#photo_comments_list .comment.is_topic_starter .info .name .user{ color:#d35400; }
#photo_comments_list .comment.is_topic_starter .info .name .user:hover{ color:#e67e22; }

#photo_comments_list .comment .info .name .guest_name{ font-weight: bold; }

#photo_comments_list .comment .info .name .subject{ color:#4096EE; }
#photo_comments_list .comment .info .name .subject:hover{ color:#d35400; }

#photo_comments_list .comment .info .date{ color:#999; }

#photo_comments_list .comment .nav a {
    text-decoration:none;
    margin-right: 3px;
    color:#BDC3C7;
}

#photo_comments_list .comment .nav a:hover {
    color:#d35400;
}

#photo_comments_list .comment .nav .scroll-down { display:none; }

#photo_comments_list .comment .body .avatar{
    float:left;
    padding:2px;
    position: relative;
}

#photo_comments_list .comment .body .avatar img,
#photo_comments_list .comment .avatar .default_avatar,
#photo_comments_add_form .form_user_avatar .default_avatar{
	overflow:hidden;
	border-radius:50%;
}
#photo_comments_add_form .form_user_avatar .default_avatar:before,
#photo_comments_list .comment .avatar .default_avatar:before {
		display:flex;  
        flex-direction: row;        
		justify-content:center;		
		align-items: center;
		flex-wrap: nowrap;
		flex-flow: row nowrap;
        height: 100%;
}
#photo_comments_list .comment .body .avatar.comment_user_online{
    border-left-color: #27ae60;
    border-left-width: 2px;
}

#photo_comments_list .comment .body .avatar img, #photo_comments_list .comment .body .avatar a { display:block; }


#photo_comments_list .comment .content{
    padding-left:10px;
    position: relative;
    overflow: hidden;
}


#photo_comments_list .comment .content img {
	max-width:100%;
}

#photo_comments_list .comment .content .links{
    padding:4px 0;
    font-size:12px;
	border-top:0 !important;
}

#photo_comments_list .comment .content .links a {
    font-size:11px;
    color:#999;
    border-bottom:dashed 1px #999;
    text-decoration: none;
    margin-right:6px;
	background:unset !important;
}
#photo_comments_list .comment .content .links a:hover {
    color:#d35400;
    border-bottom:dashed 1px #d35400;
}

#photo_comments_list .comment .deleted{
	overflow:hidden;
    padding:0 15px 0 0;
    color:#999;
    font-style:italic;
}
#photo_comments_list .comment .deleted .deleted_info{
	display:none;
    padding-top:3px;
    color:#c00;	
	font-style:normal
}
#photo_comments_list .comment .deleted .deleted_info i:before{
	margin-left:0;
}
#photo_comments_list .comment.is_deleted{
	cursor:help;
}
#photo_comments_list .comment.is_deleted .name{
	display:none;
}
#photo_comments_list .comment.is_deleted .content{
	padding-left:45px;
	padding-top:5px;
}

#photo_comments_widget .login_to_comment{
	font-size:12px;
	text-align:center;
	margin-top:-30px;
	padding:0 15px;
}
#photo_comments_widget .login_to_comment a{
	display:block;
	padding:2px;
}






#photo_comments_widget .no_comments{
    background-image: url(../images/icons/first_comment.png);
    height: 170px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center 12px;
    text-align: center;
    font-size: 13px;
    line-height: 140%;
    box-sizing: border-box;
    padding: 90px 30px 0;
}




/* Mobile Comments Add Widget ========================================================== */

#photo_comments_add_form_panel{
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	height:100%;
	min-height:100%;
	z-index:1111111111111;
	overflow:auto;
}
#photo_comments_add_form_panel #photo_comments_add_form{
	position:fixed;
	bottom:-10px;
	left:0;
	right:0;
}


#photo_comments_add_form_panel textarea.textarea.markItUpEditor{
	font-size:15px !important;
	height:100px;
}

#photo_comments_add_form_panel .buttons{
	display:flex !important;
	justify-content: center;
	text-align:center;
	margin:0 !important;
	padding:0 !important;
	background:#fff !important;
}
#photo_comments_add_form_panel .buttons .button{
	box-sizing:border-box;
	float:none !important;
	border-radius:0 !important;
	height:32px !important;
	line-height:32px !important;
	font-size:15px !important;
}
#photo_comments_add_form_panel .buttons .button:first-child{
	width:70%;
}
#photo_comments_add_form_panel .buttons .button:last-child{
	width:30%;
}

.mobileAddComment{
	position:fixed;
	bottom:20px;
	right:25px;
	z-index:111111111111111;
	text-decoration:none;
	width:48px;
	height:48px;
	line-height:50px;
	background:rgba(0,0,0,0.4);
	color:#fff !important;
    font-size:26px;	
	text-align:center;
	overflow:hidden;
	border-radius:50%;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);	
}


@media all and (max-width:680px) {
	#photo_comments_add_form {
		position:relative;
	}
}