/*Styles to HIDE from PageLime*/

#page_inner {
	width: 100%;
	max-width: 950px;

}

.imageblockimg {
	height: auto;
	
}
.contentoutercolor {
	width: 100%;
}
#header_holder, #footer_holder, .contentouter, .contentouterpage, .contentinnercolor_padding {
	width: 100%;
	max-width: 930px;	
	margin: 0 auto;
}
nav { 
  		height: auto;
		
}
	
#content {
	overflow:hidden;
}

#content iframe, #content embed, #content img {
	max-width: 100%;
	
}
@media screen and (max-width: 660px) {
	
	.blockvideosmall {
	padding-bottom: 5px;
	border-bottom: 1px solid #C6D2DE;
	margin: 0px 0% 20px;
	text-align:center;
	width: 100%;
	display:inline-table;
}
}

/*Styles for screen 600px and lower*/
@media screen and (max-width: 600px) {
.mobileshow {
	display: inherit;
}

.mobilehide {
	display: none;
}

	nav { 
  		height: auto;
		
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
		float: none;
  	}
	
nav ul ul {
  		width: auto !important;
  	}	
	
  	/*nav li {
  		width: 50%;
  		float: left;
  		position: relative;
		margin-right: 0px;
  	}*/
	
	nav ul.submenu li{
  		width: 100%;
  	}
	
	
  	nav li a {
		border-bottom: 1px solid #c6dcd8;
		border-right: 0px;
	}
  	nav a {
	  	text-align: left;
	  	/*width: 100%;
	  	text-indent: 25px;*/
  	}
	nav a:hover {
	border-bottom: 1px solid #576979;
	
}

	
	.editable-gallery img {
	max-height: 100px;
}

#headshot-gallery.editable-gallery img {
	max-height: 140px;
}
	
	
/*page structure*/
#column_left, #column_right {
	float: none;
	width: 100%;
	margin-bottom: 20px;
}
#column_right {
	text-align: center;
}

/*resume page*/
#resumeimages a {
	display: none !important;
}

#resumeimages a:nth-child(-n+3){
	display: inline-block !important;
}

#resumeimages {
	text-align: center;	
}

#resumeimages a {
	max-width: 28%;
	display: inline-block;
}
#resumeimages img {
	max-width: 100%;
	height: auto;

}
.resume_tablesection td{
	padding: 2px 3px;
	font-size:12px;
}

#column_left_resume {
	float: none;
	width: auto;
	margin-left: 0px;
	background-color: #fefefe;
}


#column_right_resume {
	display: none;
}

/* gallery */
.prettyframe {
	max-width: 30.4% !important;
	margin: 1%;
	height: auto !important;
}

/*bio page*/

.bio-image-holder {
	width: 100%;
	float: none !important;
	text-align: center;
}

.bio-image {
	max-width: 100%;
	height: auto;	
	margin-bottom: 15px;
}

.bio-text {
	width: 100%;
	float: none !important;
}

.bio-text h2 {
	margin-top: 0px;
	font-size: 24px;
	margin-bottom: 20px;
}


/*****galleria******/
#galleria {
	height:auto !important;
}

.header_right {
	padding-bottom: 5px;
}

	nav {
		border-bottom: 0;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
		background-color: #fefefe;
		width: 100%;
		position: relative;
		border-bottom: 1px solid #c6dcd8;
		border-top: 1px solid #c6dcd8;
		color: #51544b !important;
	}
	
	nav a#pull:after {
		content:"";
		background: url('/image/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 5px;
		top: 7px;
	}
nav a {
	width: 100%;
	text-align: center;
		}
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a, nav li a:hover {
		border-bottom: 1px solid #c6dcd8;
	}
	
	/* forsubnav */
nav li ul {
	display: none;
	position: relative; 
   top: inherit; 
   height: auto;
}

nav li ul li {
	display: block; 
   width: 100%;
   float: none; 
   margin-right: 0px;
}

nav li ul a {
	text-align: left;
	
   background: #666;
   border-right: 0px;
}
nav li ul a, nav li ul a:hover {
		border-bottom: 1px solid #999;
	}

#social_icons img {
	height: 30px;
	/*padding: 0px 10px;*/
}

/*SUPERSIZED */
#listofphotos {
	display: inherit !important;
	line-height: 0px;
}

#listofphotos img {
	max-width: 100%;
}
#supersized, #prevslide, #nextslide, #supersized-loader {
	visibility: hidden !important;
}

}



/*Sfor phones portrait and landscape*/
@media only screen and (max-device-width : 480px) {
	.scrollup {
		display: none;
	}
}