div#gallery{
	border: 16px groove #0a3f58;
	padding: 15px;
	background: #ccc;
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 0 5px rgba(0,0,0,0.5);
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	-ms-border-radius: 1px;
	-o-border-radius: 1px;
	border-radius: 1px;
	margin-bottom: 20px;
	
}
div#gallery img{
	border-radius: 2%;
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 0 5px rgba(0,0,0,0.5);
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.col-1-2 h2{
	background-color: #efefef;
	border-bottom: 1px solid #cecece;
	margin: 2px !important;
	width: 100%;
	clear: both;
	padding-left: 10px;
}
div.likes{
	text-align: center;
	margin: 10px;
	height: 20px;
}
img.icon{
	width: 35px;
	float: left;
	margin-right: 10px;
	border: 1px solid #ccc;
}
div.inst_caption{
	font-size: 12px;
	max-height: 150px;
	overflow: auto;
}
div.inst_comment{
	max-height: 200px;
	overflow: auto;
}
div.inst_comment div{
	font-size: 12px;
}

#gallery_list{
	border: 0;
	padding: 5px;
	margin: 10px;
}

div#gallery_list img{
	border-radius: 50%;
}

table.nav{
	width: 95%;
	margin:10px auto 10px auto ;
}
@media only screen and (max-width: 480px) {
	table.nav{
		position: fixed;
		bottom: 0;
		width: 100%;
		opacity: 0.9;
		-moz-opacity: 0.9;
		filter:alpha(opacity=90);
	}
	div.gallery {
		min-height: 600px;
	}
}

table.nav div{
	position: relative;
}
table.nav div i{
	position: absolute;
  	top: 30%;
  	left: 35%;
  	transform: translate(-30%, -35%);
  	-ms-transform: translate(-30%, -35%);
	color: #fff;
	font-size: 70px;
}
table.nav div.prev{
	float: left;
	margin-left: 20px;
}
table.nav div.next{
	float: right;
	margin-right: 20px;
}
table.nav div img{
	border: 3px solid #0a3f58;
	width: 60px;
	height: 60px;
	border-radius: 10%;
}
.row img{
	padding:5px;
	border-radius: 50%;
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 0 5px rgba(0,0,0,0.5);
	box-shadow: 0 0 5px rgba(0,0,0,0.5);

}
