#photoDescription {
	width: 318px;
    height: 100px;
    overflow: auto;
    resize: none;
}

.full-photo-wrapper {
	position: absolute;
	height: 100%;
	width: 100%;
	text-align: center;
}

.full-photo {
	display: inline-block;
	height: auto;
	max-height: 100%;
	max-width: 100%;
	border: 1px solid #141823;
	vertical-align: middle;
}

.full-photo:before  {
	content: ' ';
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}

.dialog-photo {
	text-align: center;
	height: 100%;
	position: relative;
	text-align: left;
}

.dialog-text-wrapper {
	display: inline-block;
	width: 360px;
	height: 520px;
	overflow: auto;
	background-color: #fff;
	position: relative;
	word-wrap: break-word;
	line-height: normal;
}
.dialog-photo-wrapper {
	display: inline-block;
	min-height: 520px;
	min-width: 660px;
	height: 520px;
	width: 660px;
	background-color: #000;
}


#photoDialog {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.9);
	z-index: 30000000;
	opacity:0;
	pointer-events: none;
	display: table;
	table-layout: fixed;
	height: 100%;
	width: 100%;
	font-family: tahoma, verdana, arial, sans-serif;
}

#photoDialog .dialog-wrapper1 {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	width: 100%;
}

#photoDialog .dialog-wrapper2 {
	min-width: 1020px;
	min-height: 520px;
	margin: 20px;
	text-align: left;
	background: #000;
	display: inline-block;
	line-height: 0;
}

#photoDialog .card-stats {
	margin: 15px 0 10px 0;
	color: #ADADAD;
	font-size: 12px;
}

#photoDialog .card-action-buttons {
	border-top: 1px solid #CCC;
	padding-top: 10px;
	color: #7F7F7F;
	font-size: 12px;
}

#photoDialog ul.buttons-menu > li.button {
	display: inline-block;
	margin-right: 0px;
	font-weight: bold;
	cursor: pointer;
	min-width: 40px;
}

#photoDialog ul.buttons-menu > li.button:nth-child(2):before,
#photoDialog ul.buttons-menu > li.button:nth-child(2):after{
	content: '\20\a0\20';
}

#photoDialog ul.buttons-menu > li.button:hover {
	text-decoration: underline;
}

#photoDialog ul.buttons-menu > li.button > span.fa {
	margin-right: 5px;
	color: #AFB4BD;
}

#photoDialog .user-likes {
	color: #0084FF !important;
}

#photoDialog .user-likes * {
	color: #0084FF !important;
}

img.card-full-photo {
	max-height: 285px;
	max-width: 628px;
	cursor: pointer;
}

.dialog-close:hover {
	opacity: 1;
	transition: opacity 1s cubic-bezier(.23, 1, .32, 1);
}

.dialog-close {
	font-size: 24px;
	color: #fff;
	line-height: normal;
	opacity: .4;
	position: absolute;
	right: 12px;
	top: 12px;
	transition: opacity 1s cubic-bezier(.23, 1, .32, 1);
	z-index: 3000001;
	text-decoration: none;
}
.photo-wrapper {
	padding: 0;
	border: none;
	display: inline-block;
	position: relative;
	overflow: hidden;
	margin-bottom: 0px;
	margin-right: 7px;
	width: calc(49% - 4px);
	margin-top: 9px;
}

.photo-wrapper:nth-of-type(2n) {
	margin-right: 0px;
}

.photo-thumbnail-big:after {
	border: 1px solid rgba(0, 0, 0, .1);
	bottom: 0;
	content: '';
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}
.photo-thumbnail-big {
	display: block;
	cursor: pointer;
	height: 190px;
	width: 190px;
	background-position: 50% 25%;
	background-size: cover;
	transition-duration: 500ms;
	transition-property: width, height;
	background-color: transparent;
	position: relative;
	max-width: 100%;
}

#photoPageContainer .section-content {
	background-color: #fff;
	margin: 10px 0 0 0;
	padding: 0 0 5px 0;
	border-top: 1px solid #D3D6DB;
	line-height: 0;
}

#photoPageContainer .section-menu-button-wrapper {
	float: right;
	padding-right: 15px;
	padding-top: 2px;
}

#photoPageContainer .section-menu-title {
	float: left;
	font-size: 20px;
	font-weight: bold;
	height: 29px;
	margin: 0 0 0 15px;
}

#photoPageContainer .section-menu {
	padding-top: 17px;
}

.section-header {
	overflow: hidden;
}

.section-container {
	margin: 30px auto 0 auto;
	width: 100%;
	border: 1px solid #D3D6DB;
	background-color: #F6F7F8;
	border-radius: 2px;
	overflow: hidden;
}

#photoMainContainer {
	display: inline-block;
	vertical-align: top;
	margin-right: 10px;
	width: 100%;
	position: relative;
}

#photoPageContainer {
	margin: 10px auto 0 auto;
	width: 99%;
}

#photoSideBar {
	display: inline-block;
	width: 130px;
	height: 150px;
}

#coverPhoto {
	background-color: #232937;
	background-image: none;
	height: 205px;
	position: relative;
}

#coverFullname {
	bottom: 12px;
	left: 201px;
	position: absolute;
}

#coverFullname h3 {
	font-family: helvetica, arial, sans-serif;
	font-size: 24px;
	font-weight: bold;
	line-height: 30px;
	max-width: 275px;
	position: relative;
}

#coverFullname a {
	color: #fff;
	text-decoration: none;
}

#profilePicContainer {
	color: #141823;
	border: 1px solid #D3D6DB;
	border-top: none;
	border-radius: 0 0 3px 3px;
	background-color: #fff;
	min-height: 41px;
	position: relative;
	z-index: 4;
}

#profilePic {
	width: 160px;
	height: 160px;
	background-color: #fff;
	border: 4px solid #fff;
	border-radius: 2px;
	display: block;
}

#profilePicLink {
	background-color: rgba(0, 0, 0, .3);
	padding: 1px;
	position: absolute;
	box-shadow: none;
	left: 15px;
	margin-top: 0;
	top: -143px;
	display: block;
	border-radius: 4px;
}

#uploadDialog .upload-buttons {
	display: block;
	margin: 15px 0 5px 0;
	text-align: right;
}

.advert-photo-view {
    width: 300px;
    min-height: 250px;
    border: 1px solid #ddd;
    margin: 18px 0 18px 18px;
    text-align: center;
    padding: 10px;
}

#photoUploadForm .dz-message {
	font-size: 18px;
	font-weight: bold;
}

div.ui-widget-overlay {
	background: rgba(0, 0, 0, .4);
}

#photoUploadForm {
	width: auto;
}

#uploadDialog {
	display: none;
}

div.photo-nav-bar {
	position: absolute;
	background-color: transparent;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

#photoDialog .photo-nav-arrow {
	display: inline-block;
	color: #fff;
	height: 100%;
	cursor: pointer;
	transition: opacity .2s;
	opacity: 0;
}

#photoDialog .photo-nav-arrow>div {
	position: relative;
	font-size: 64pt;
	top: 46%;
}

#nextPhoto {
	text-align: right;
	width: 70%;
}

#nextPhoto>div {
	padding-right: 20px;
}

#prevPhoto {
	text-align: left;
	width: 30%;
}

#prevPhoto>div {
	padding-left: 20px;
}

#photoInfoUpdater {
    padding: 18px 18px 10px 18px;
    border-bottom: 1px solid #ccc;
}

#photoInfoUpdater .save-button {
	margin-top: 20px;
	text-align: right;
}

body.ADVFN3 .ptbutton {
	color: #4e5665;
	text-decoration: none;
	font-weight: bold;
	border-radius: 2px;
	border-color: #cccccc #c5c6c8 #b6b7b9;
	border-style: solid;
	background-color: #fff;
	border-width: 1px;
	text-shadow: 0 1px 0 #fff;
	cursor: pointer;
	font-size: 12px;
}

body.ADVFN3 .ptbutton-highlight {
	color: #fff;
	background-color: #4e69a2;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
	border-color: #435a8b #3c5488 #334c83;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

body.ADVFN3 .ptbutton.ptbutton-disabled {
	background-color: #fff;
	color: #c9cdd6;
	text-shadow: none;
	border-color: #e0e0e0 #d9dadb #cacbcc;
}

.ptbutton:focus {
	box-shadow: 0 0 1px 2px rgba(88, 144, 255, .75), 0 1px 1px rgba(0, 0, 0, .15);
	outline: none;
}

.ptbutton-small {
	padding: 4px 8px;
}

.ptbutton-medium {
	padding: 6px 8px;
}

.photo-description {
	padding: 18px 18px 8px 18px;
	border-bottom: 1px solid #ccc;
}

.photo-description .description-buttons {
	margin: 15px 0 0 0;
}
.photo-description .description-wrapper {
	margin: 10px 0 0 0;
	font-size: 14px;
	min-height: 16px;
}

.photo-description .profile-photo-link-small {
	display: inline-block;
	background-color: #fff;
	margin-right: 5px;
}

.profile-photo-small {
	height: 40px;
	width: 40px;
}

.photo-description .photo-info-content {
	display: inline-block;
	padding-left: 5px;
	vertical-align: top;
}

a.profile-link {
	color: #3B5998;
	text-decoration: none;
	font-weight: bold;
	font-size: 14px;
}

a.profile-link:hover, a.photo-date-link:hover {
	text-decoration: underline;
}

.photo-info-content .profile-link {
	display: block;
}

a.photo-date-link {
	font-size: 12px;
	color: #ADADAD;
	text-decoration: none;
	margin-top: 5px;
	display: block;
}

a.description-link {
	color: #3b5998;
	cursor: pointer;
	text-decoration: none;
}

a.description-link:hover {
	text-decoration: underline;
}

span.description-about {
	color: #9197a3;
}

#photoUploadForm.dropzone div.dz-preview  {
	margin: 0 10px 15px 0;
}

#photoUploadForm.dropzone .dz-preview .dz-image  {
	width: 100px;
	height: 100px;
	border-radius: 10px;
}

#photoUploadForm.dropzone {
	min-height: 145px;
	padding: 10px 0 0 10px;
	border: 2px dashed #CCCCCC;
}

a.photo-thumbnail-delete {
	opacity: 0;
	width: 24px;
	height: 24px;
	float: right;
	position: absolute;
	z-index: 99;
	right: 5px;
	top: 5px;
	text-align: center;
	font-size: 18px;
}

a.photo-thumbnail-delete>span.fa {
	padding-top: 4px;
	font-size: 14px;
}

.content-title .fa-caret-right {
	margin: 0 8px;
}

.card-stats .stat{
	margin-right: 10px;
}


span.prev-comment-spinner {
    font-size: 12px;
    color: #919191;
}

#photoDialog .card-comment-list .comment {
	padding-bottom: 8px;
}

#photoDialog .card-comment-list, #photoDialog .comment-load-more {
	width: auto;
    margin: 0;
    padding: 10px 18px 0 18px;
    background-color: #F6F7F8;
    position: relative;
}

.comment-load-more a{
	font-size: 12px;
    text-decoration: none;
}

.comment-load-more a:hover{
	text-decoration: underline;
}

.comment-content {
	overflow: hidden;
}

.comment-content>div, .comment-content a.profile-link {
	font-size: 12px;
}

.comment-date {
	color: #ADADAD;
	margin-top: 5px;
}

.ptbutton.post-comment {
	height: 22px;
	width: 22px;
	display: inline-block;
    text-align: center;
}

.ptbutton.post-comment>span{
	margin-top: 5px;
}

#photoDialog .comment-input-button {
	float: right;
	margin: 1px;
	position: absolute;
	top: 13px;
	right: 21px;
}

#photoDialog .card-comment-box {
	width: auto;
	margin: 0;
	padding: 10px 18px 10px 18px;
	background-color: #F6F7F8;
	position: relative;
}

.profile-photo-link-tiny {
	display: inline-block;
	background-color: #fff;
	margin-right: 10px;
	float: left;
}

.profile-photo-tiny {
	width: 32px;
	height: 32px;
}

.comment-input {
    border: 1px solid #d6d6d6;
    font: medium -moz-fixed;
    font: -webkit-small-control;
    height: auto;
    width: auto;
    padding: 2px 27px 2px 2px;
    resize: none;
    min-height: 26px;
    max-height: 100px;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    background-color: #fff;
}

.comment-input[data-placeholder]:empty:before {
    content: attr(data-placeholder);
    margin-left: 2px;
    color: #b3b3b3;
}

.comment-input[contenteditable]:focus {
    outline:none;
    border-color:#9ecaed;
    box-shadow:0 0 3px #9ecaed;
}

.tab-selected-arrow {
	background-image: url(/common/photo/images/up_arrow.png);
    height: 7px;
    width: 14px;
    position: absolute;
    margin-top: 4px;
}

.section-menu>div{
	overflow: hidden;
	padding-top: 5px;
}

#photoPageContainer .section-tab {
	display: inline-block;
    margin: 10px 0 0 20px;
    font-size: 14px;
    font-weight: bold;
}

#photoPageContainer .section-tab a {
	text-decoration: none;
	color: #000;
}

div.share-url-box {
	border: 1px solid #3b5998;
	box-sizing: border-box;
	position: absolute;
	border-radius: 5px;
	background: #FFF;
	display: none;
	padding: 5px;
	width: 290px;
	left: -120px;
	z-index: 1;
	top: 20px;
}

div.share-url-box input.share-url-input {
	box-sizing: border-box;
	padding: 0 4px;
	width: 100%;
}

@media screen and (min-width: 50em) {
  .photo-wrapper {
    width: calc(20% - 7px);
  }
  
  .photo-wrapper:nth-of-type(2n) {
    margin-right:8px;
  }
  
  .photo-wrapper:nth-of-type(5n) {
    margin-right: 0;
  }
}
@media screen and (max-width:1000px) {
	#photoDialog {
		display: table-cell;
	}
	#photoDialog .dialog-wrapper1 {
    	display: table-cell;
    	text-align: center;
    	vertical-align: middle;
    	width: 100%;
    	position: absolute;
    	height: 100%;
    	top: 0;
    	left: 0;
    	/* padding: 0 8px; */
    	overflow: scroll;
	}
	#photoDialog .dialog-wrapper2 {
    	min-width: 100%;
    	min-height: 100%;
    	margin: 0px auto;
    	/* text-align: left; */
    	background: #000;
    	display: inline-block;
    	line-height: 0;
    	max-width: 100%;
    	vertical-align: middle;
	}

	.dialog-photo-wrapper {
    	display: inline-block;
    	min-height: auto;
    	min-width: 100%;
    	/* height: auto; */
    	width: 100%;
    	background-color: #000;
    	position: relative;
    	top: 0;
    	left: 0;
	}
	.dialog-photo {
    	text-align: center;
    	height: 100%;
    	position: relative;
    	text-align: left;
    	/* float: left; */
    	width: 100%;
	}
	.full-photo-wrapper {
    	position: absolute;
    	height: 100%;
    	max-width: 100%;
    	text-align: center;
	}
	.full-photo {
    	display: block;
    	height: auto;
    	/* max-height: 100%; */
    	/* max-width: 100%; */
    	border: 1px solid #141823;
    	vertical-align: middle;
    	width: auto;
    	line-height: 0;
    	-webkit-box-sizing: border-box;
    	-moz-box-sizing: border-box;
    	box-sizing: border-box;
    	padding: 40px 0;
    	margin: 0 auto;
	}

	div.photo-nav-bar {
    	position: absolute;
    	background-color: transparent;
    	left: 0;
    	top: 0;
    	width: 100%;
    	height: 100%;
	}
	.dialog-text-wrapper {
		width: 100%;
	}
}
