#mini_projects_frame{
	position:relative;
	display:block;
	top:0px;
	left:0px;
	width:875px;
	height:390px;
	margin-left:17px;
	text-align:left;
	color:#6D6E70;
	font-size:13px;
	overflow:hidden;
}
#projects_container{
	position:relative;
	display:block;
	top:0px;
	left:0px;
	width:auto;
	height:390px;
}
.mproject_box{
	position:relative;
	display:block;
	top:0px;
	left:0px;
	width:210px;
	height:386px;
	float:left;
	margin-left:8px;
	cursor:pointer;
}


.mproject_box a{
	text-decoration:none;
	color:#6D6E70;
	border:0px;
}
.mproject_image{
	position:relative;
	display:block;
	top:0px;
	left:0px;
	width:210px;
	height:309px;
}
.mproject_text{
	position:relative;
	display:block;
	top:0px;
	left:0px;
	width:210px;
	height:65px;
	margin-top:11px;
	text-decoration:underline;
}
#btn_next{
	position:absolute;
	display:block;
	top:141px;
	right:-25px;
	width:14px;
	height:27px;
	cursor:pointer;
	background:url(images/btn_next.png) no-repeat;
	z-index:1000;
}
#btn_prev{
	position:absolute;
	display:none;
	top:141px;
	left:0px;
	width:14px;
	height:27px;
	cursor:pointer;
	background:url(images/btn_prev.png) no-repeat;
	z-index:1000;
}
/*SINGLE PROJECT*/

#page_title{
	position:relative;
	display:block;
	top:0px;
	left:0px;
	width:196px;
	height:98px;
	float:left;
	margin-left:0px;
	text-align:left;
	color:#948671;
	font-size:18px;
	margin-right:22px;
	margin-top:15px;
	line-height:23px;
}
#page_title p{
	margin:0px;
	padding:0px;
}
#project_thumbs{
	position:relative;
	display:block;
	top:2px;
	left:0px;
	width:196px;
	height:220px;
	float:left;
	margin-left:0px;
	text-align:left;
	margin-right:22px;
}
.thumb_project{
	position:relative;
	display:block;
	top:0px;
	right:0px;
	width:57px;
	height:50px;
	cursor:pointer;
	float:left;
	margin-right:5px;
	margin-bottom:5px;
	border:1px #948671 solid;

}
.prj_img{
	position:relative;
	display:block;
	top:0px;
	right:0px;
	width:57px;
	height:50px;
	overflow:hidden;
	background:#D8D1C5;
	
}

.prj_img_active{
	position:absolute;
	display:none;
	top:-1px;
	left:-1px;
	width:56px;
	height:49px;
	
	border:2px solid #948671;
	z-index:100;
}

#under_image{
	position:relative;
	display:block;
	top:0px;
	left:0px;
	width:650px;
	height:20px;
	background:none;
	margin-top:7px;
	font-size:13px;
	font-family: 'Oxygen', sans-serif;
	color:#948671;
}
#all_images_link{
	position:relative;
	display:block;
	top:0px;
	left:0px;
	width:150px;
	height:20px;
	float:left;
	text-align:left;
}
#all_images_link a{
	text-decoration:underline;
	border:0px;
	color:#948671;
}
#ref_frame{
	position:relative;
	display:block;
	top:0px;
	left:65px;
	width:250px;
	height:20px;
	background:none;
	float:right;
	text-decoration:none;
	border:0px;
	color:#948671;
}
.ref_frac {
	position:relative;
	display:block;
	top:0px;
	left:0px;
	float:left;
	margin-right:5px;
}
.nomarg{
	margin-right:0px;
}
#sepe {
	color:#d2d2d2;

}
#total_images{
	color:#d2d2d2;
}
#btn_picpre {
	color:#d2d2d2;
	cursor:default;
}

#btn_picnext {
		cursor:pointer;

}


@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
	#centerimage_frame{
		display: none !important;
	}
	
	#page_title{
		display: none;
	}
	
	#text_frame {
	  width: 99% !important;
	  padding: 0 !important;
	}
	
	#project_thumbs {
	  width: 100% !important;
	  margin-right: 0 !important;
	}
	
	#btn-gallery{
		display: block !important;
	}
	
	.thumb_project {
	  position: relative;
	  display: block;
	  top: 0px;
	  right: 0px;
	  width: 30vw;
	  height: 30vw;
	  float: left;
	  margin-left: 0.8vw;
	  margin-bottom: 2vw;
	}
	
	.prj_img {
	  position: relative;
	  display: block;
	  top: 0px;
	  right: 0px;
	  width: 100%;
	  height: 100%;
	  overflow: hidden;
	  background: #D8D1C5;
	}
	.prj_img img{
		height: 100%;
		width: auto;
	}
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
#centerimage_frame{
		display: none !important;
	}
	
	#page_title{
		display: none;
	}
	#btn-gallery{
		display: block !important;
	}

	#text_frame {
	  width: 99% !important;
	  padding: 0 !important;
	}
	
	#project_thumbs {
	  width: 100% !important;
	  margin-right: 0 !important;
	}
	
	.thumb_project {
	  position: relative;
	  display: block;
	  top: 0px;
	  right: 0px;
	  width: 30vw;
	  height: 30vw;
	  float: left;
	  margin-left: 0.8vw;
	  margin-bottom: 2vw;
	}
	
	.prj_img {
	  position: relative;
	  display: block;
	  top: 0px;
	  right: 0px;
	  width: 100%;
	  height: 100%;
	  overflow: hidden;
	  background: #D8D1C5;
	}
	.prj_img img{
		height: 100%;
		width: auto;
	}

}


/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
#centerimage_frame{
		display: none !important;
	}
	
	#page_title{
		display: none;
	}
	#btn-gallery{
		display: block !important;
	}

	#text_frame {
	  width: 99% !important;
	  padding: 0 !important;
	}
	
	#project_thumbs {
	  width: 100% !important;
	  margin-right: 0 !important;
	    height: auto;
	    padding-top: 30px;
  padding-left: 1vw;
	}
	
	.thumb_project {
	  position: relative;
	  display: block;
	  top: 0px;
	  right: 0px;
	  width: 30vw;
	  height: 30vw;
	  float: left;
	  margin-left: 0.8vw;
	  margin-bottom: 2vw;
	}
	
	.prj_img {
	  position: relative;
	  display: block;
	  top: 0px;
	  right: 0px;
	  width: 100%;
	  height: 100%;
	  overflow: hidden;
	  background: #D8D1C5;
	}
	.prj_img img{
		height: 100%;
		width: auto;
	}

}