/*Styles to HIDE from PageLime*/
/****HOMEPAGE*****/

#homephoto {
	position: absolute;
	left: 230px;
	top: 0px;
	bottom: 0px;
	line-height: 0px !important;
	min-height: 620px;
}
#homephotoactual {
	height: 100% !important;
    
}

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

}
nav { 
  		height: auto;
		
}
	
.mobilehide {
	display: inherit;	
}

.mobileshow {
	display: none;
}
#content {
	overflow:hidden;
}

#content iframe, #content embed, #content img {
	max-width: 100%;
	
}

#background-image {
    width: 100%;
    overflow: hidden;
  height: 0;
  padding-top: 100%;
}

#background-image {
    right: 0;
    top: 0px;
    bottom: 0px;
    position: fixed;
    height: auto;
    padding-top:0px;

}
#homephotoactual {
width: inherit;
}

/***now MOBILE STYLES ****/
@media screen and (max-width: 640px) {
.mobileshow {
	display: inherit;	
}
.virtualblock img {
    max-width: 100% !important;
    vertical-align: middle;
}
    .virtualblock {
        text-align: center;
    }
.mobilehide {
	display: none;
}
    
    #content {
	margin: 0px 0px 0px 0px;
}

    h1,h2,h3,h4,h5,h6 {
	text-align: center;
}
#pagehome #page_holder {
	width: 100%;
	border-bottom: 0px;
	min-height: inherit;
	border-right: 0px;
	position: relative;
	top: inherit;
	bottom: inherit;
	left: inherit;
	min-height: inherit;
}
#homephoto {
	position: relative;
	left: inherit;
	top: inherit;
	bottom: inherit;
	padding: 0px;
	
}
#homephotoactual {
	height: auto !important;
	/*min-height:inherit;*/
    min-height: auto;
width: 100% !important;
	border-right: 0px solid #502222;
}
    
    .photo-section {
        text-align: center;
    }
/*page structure*/
#left_column {
	width: 100%;
	float: none;	
}

#right_column {
		width: 100%;
	float: none;
}
/*resume page*/

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

#resume_header_left {
	width: auto;
    float: none;
	padding-left: 5px;
}

#resume_header_right {
	width: auto;
    float: none;
	padding-right: 5px;
}

#headerimage {
    margin-top: 0px;
    margin-bottom: 10px;
}
    
    /**homepage */
#homeimageholder {
    display: inherit;
    justify-content: center;
    align-items: center;
    overflow:inherit;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    padding-bottom: 100px;
}
#homeimage {
    flex-shrink: 0;
    width: 100%;
    min-height:inherit;
}

	/**videos page**/
.blockvideosmall {
	padding-bottom: 5px;
	border-bottom: 1px solid #AFC3D4;
	margin: 0px 0% 20px;
	text-align:center;
	width: 100%;
	display:inline-table;
}
    
#page_inner {
	min-height: inherit;	
}
#sidebar {
	float: none;
	min-height: inherit !important;
	width: 100%;
	overflow-x: hidden;
	position: relative;
    border-right: 0px;
}

#content_holder {
	float: none;
	width: 100%;	
    margin-left: 0px;
}
	
    header {
        
    }
    
    .logo {
        width: 100%;
        text-align: center;
        background-color: #fefefe;
    }
    header img {
        max-height: 160px;
    }
	nav { 
  		height: auto;
        padding-top: 0px;
        padding-bottom: 0px;
		
  	}
  	nav ul {
  		width: 100%;
  		display: block;
  		height: auto;
		height: 40%;
  	}
	
	
	
  	/*nav li {
  		width: 50%;
  		float: left;
  		position: relative;
		margin-right: 0px;
  	}*/
	
	nav ul.submenu li{
  		width: 100%;
  	}
	nav li {
	display: inline-block;
margin-right: -4px;
}





/** bio page **/

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



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


#content {
	margin: 0px 15px;
    padding-right: 0px;
    padding-top: 20px;
}
.editable-gallery img {
	max-height: 80px;
}
/*****galleria******/
#galleria {
	height:auto !important;
}
	nav {
		border-bottom: 0;
	}
	nav ul {
		display: none;
		height: auto;
	}
	nav a#pull {
		display: block;
		background-color: #285089;
		width: 100%;
		position: relative;
		border-bottom: 1px solid #285089;
        color: #fefefe;
	}
	
	nav a#pull:after {
		content:"";
		background: url('/images/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
nav a {
	width: 100%;
		}
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	
	/* forsubnav */
nav li ul {
	display: none;
	position: relative; 
   top: inherit; 
   height: auto;
    left: auto;
}

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

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

#social_icons img {
	height: 40px;
	/*padding: 0px 10px;*/
}
    
    #social_icons {
    margin:     0px 20px;
    border-top: 0px;
    border-bottom: 0px;
    text-align: center;
    padding: 10px 0px;
}
    
    footer {
        margin-left: 20px;
    }

    
footer p {
	text-align: center;
    }


.scrollup_holder {
	text-align: center;
}

    
   
    

    
    
}



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