/* CSS Document */

                       
/* preview styles */
#photo_preview {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    color: #000000;
    display: none;
    left: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1005;
}
.photo_wrp {
    background-color: #FAFAFA;
    height: auto;
    margin: 3vh auto;
    overflow: auto;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    position:relative;

    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.previewimage {
max-width: 98%;
max-height: 98%;
}

.close {
    cursor: pointer;
    position: absolute;
    right: 1px;
    top:1px;
}
.pleft {
    float: left;
    overflow: hidden;
    position: relative;
    width: 68%;
    height:100%;
}
.pright {
    float: left;
    position: relative;
    max-width: 400px;
    width: 30%;
    margin-left:1%;
    margin-top: 14px;
}
p.imagetitle {
    font-size: 18px;
    margin-bottom: 5px;
    text-align: center;
}

.preview_prev, .preview_next {
    cursor: pointer;
    margin-top: -25px;
    opacity: 0.4;
    position: absolute;
    top: 40px;

    -moz-transition: opacity 0.2s ease 0s;
    -ms-transition: opacity 0.2s ease 0s;
    -o-transition: opacity 0.2s ease 0s;
    -webkit-transition: opacity 0.2s ease 0s;
    transition: opacity 0.2s ease 0s;
}
.preview_prev:hover, .preview_next:hover {
    opacity: 1;
}
.preview_prev {
    left: 10px;
}
.preview_next {
    right: 30px;
}

#commentboxarea {
margin-top: 4px;
margin-bottom: 4px;
}

#photocomments {
text-align: left;
}

#photocomments #comments #list {
max-height: 450px;
overflow: auto;
}

.photocomment{
	position: relative;
	font-size: 14px;
}

.photocomment .user{	
	float: left;
	width: 40px;
	margin-left: 3px;
	text-align: center;
}

.photocomment .user img{	
	max-width: 40px;
	margin: auto;
}

.photocomment .inf{
  font-size: 14px;
  margin-left: 50px;
}

.photocomment h2{
	margin: 0px;
	color: #225790;
}

.photocomment p{
	margin-top: 3px;
    margin-bottom: 8px;
}

.photocomment .comment-icons{
	cursor: pointer;
  position: absolute;
	top: 2px;
  right: 2px;
	display: block;
	margin: 0px 2px;
    font-size: 18px;
}

.commenttimeago {
text-transform: uppercase;
font-size: 11px; 
color: #888; 
margin-left: 15px;
}

.preview_prev{
    top:40px;
    left:10px;
}
.preview_next{
    top:40px;
    right:10px;
}

@media only screen and (max-width: 1000px) {
    .pleft {
        width:100%;
        margin-top:10px;
        max-height: 60vh;
        height: auto;
        display: block;
        overflow: auto;
    }
    .pright{
        width:100%;
        max-width:100%;
        margin-top:10px;
    }
    .previewimage{
        max-height:59vh;
    }
    #commentboxarea{
        margin:2px 10px;
    }


}