/* base */
html{
	height: 100%;
}
body{
	height: 100%;
}
.wrapper{
	padding: 0 10px;
	position: relative;
}
.uploaderHeader h1.navbar-header{
	font-size: 26px;
	margin:15px;
}
.uploaderHeader h1 a{
	color: white;
	text-decoration: none;
}
.uploaderFooter{
	text-align: right;
	padding: 10px;
}

/* index */
.imageWrapper{
	margin: 0 auto;
}
.imageBox{
	overflow:hidden;
	width: 300px;
	margin-bottom:15px;
}
.imageBox a{
	color: #333;
	text-decoration: none;
}
.imageBox:hover .imageBox-image{
	opacity: 0.7;
}
.imageBox-image{
	text-align: center;
	border-bottom: 1px solid #ddd;
}
.imageBox-image img{
	max-width: 100%;
	max-height: 400px;
}
.imageBox-text:after{
	display: block;
	content: "";
	clear: both;
}
.imageBox-title{
	width: 230px;
	overflow: hidden;
	text-overflow: ellipsis;
	margin:0;
	padding: 10px;
	white-space: nowrap;
	float: left;
}
.imageBox-reply{
	width: 70px;
	float: right;
	padding: 10px;
	padding-left: 0;
	text-align: right;
	margin-bottom: 0;
}
.imageBox-reply .material-icons{
	color: #aaa;
	font-size: 20px;
	line-height: 20px;
	vertical-align: middle;
}
.comment_count{
	vertical-align: middle;
	line-height: 20px;
}
.btn.modalOpen{
	position: fixed;
	right: 40px;
	bottom: 40px;
}
.modal-afterUp{
	display: none;
}
.modal-afterUp:after{
	display: block;
	content: "";
	clear: both;
}
.modal-imageLayer{
	border: 2px solid #aaa;
  width: 204px;
  margin: 0 auto;
  background-color: white;
  margin: 10px auto
}
.modal-imageLayer img{
	width: 100%;
}
#error{
	text-align: center;
  color: red;
}
.page{
	text-align: center;
}
.overlay{
	width: 100%;
	height: 100%;
	background-color: #EEE;
	position: absolute;
	z-index: 100;
	text-align: center;
}

/* recent comment */
.recentComment_header{
	margin: 10px 10px 20px;
}
.recentComment_row{
	margin-bottom: 5px;
}
.recentComment_row:nth-last-of-type(0){
	margin-bottom: 0;
}

/* detail */
@media screen and (min-width:768px){
	.detail-wrapper{
		padding:0 40px;
	}
}
.detailBox{
	overflow: hidden;
}
.detailBox-image{
	border-bottom: 1px solid #ddd;
	text-align: center;
}
.detailBox-image img{
	max-width: 100%;
	max-height: 100%;
}
.detailBox-desc{
	padding: 5px 20px;
	position: relative;
}
.detailBox-desc-title{
	margin:15px 0 10px;
	padding-right: 40px;
}
.detailBox-desc-data span{
	margin-right: 10px;
}
.detailBox-desc-data .material-icons{
	margin-right: 5px;
	font-size: 22px;
	vertical-align: middle;
}
.detailBox-desc-delete{
	position: absolute;
	right: 20px;
	top: 20px;
	z-index: 5;
	width: 40px;
	height: 33px;
	text-align: center;
	border: 0;
  background: transparent;
  padding: 0;
  border-radius: 2px;
  transition:0.1s all;
}
.detailBox-desc-delete:hover{
	background:#eee;
}
.detailBox-desc-delete .material-icons{
	font-size: 24px;
	line-height: 33px;
	color: #ccc;
	transition:0.1s all;
}
.detailBox-desc-delete:hover .material-icons{
	color: #888;
}

.detailBox-comment{
	border-top:1px solid #ddd;
	padding: 15px 20px 5px;
}
.detailBox-comment-title{
	margin:15px 0 10px;
}
.detailBox-comment-data span{
	margin-right: 10px;
}
.detailBox-comment-data .material-icons{
	margin-right: 5px;
	font-size: 22px;
	vertical-align: middle;
}
.detailBox-form{
	border-top: 1px solid #ddd;
}
.detailBox-form .row{
	padding: 0 15px;
}
.detailBox-form textarea{
	height: 38px;
}
.detailBox-form .submitButton{
	margin:0 0 7px;
	padding: 7px 0;
	width: 100%;
	display: block;
}
.returnButton{
	text-align: center;
	margin-bottom: 15px;
}