@media only screen and (max-device-width: 480px) {

.nav { width: 10px; }

}


/*----- Floating Footer CSS -----*/

html, body {
    height: 100%;
}

.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -90px;

    background-image:url(images/bg_fixed.jpg);
    background-repeat: repeat-x;
    background-attachment: fixed;
}

#footer, .push {
    height: 79px;
}



/*-----Basic Page Styles-----*/

body {
    min-width: 900px;
	margin: 0;
	padding: 0;
	color: white;
	background-color: #345267;
	
	background-repeat: repeat-x;
	
	font-family: "Bitstream Vera Sans", "Helvetica Neue", Verdana, Arial, Sans-Serif;
	font-weight: 300;
	line-height: 1.5em;
	letter-spacing: 1px;
	text-align: justify;
	font-size: 14px;
}


@font-face {
	font-family: 'BitstreamVeraSansRoman';
	src: url('/bitstream/Vera-webfont.eot');
	src: local('☺'), url('/bitstream/Vera-webfont.woff') format('woff'), url('/bitstream/Vera-webfont.ttf') format('truetype'), url('/bitstream/Vera-webfont.svg#webfontHBSQ3oqr') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'BitstreamVeraSansOblique';
	src: url('/bitstream/Vera-Italic-webfont.eot');
	src: local('☺'), url('/bitstream/Vera-Italic-webfont.woff') format('woff'), url('/bitstream/Vera-Italic-webfont.ttf') format('truetype'), url('/bitstream/Vera-Italic-webfont.svg#webfontWP43HMd4') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'BitstreamVeraSansBold';
	src: url('/bitstream/Vera-Bold-webfont.eot');
	src: local('☺'), url('/bitstream/Vera-Bold-webfont.woff') format('woff'), url('/bitstream/Vera-Bold-webfont.ttf') format('truetype'), url('/bitstream/Vera-Bold-webfont.svg#webfontUJ0ocPd0') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'BitstreamVeraSansBoldOblique';
	src: url('/bitstream/Vera-Bold-Italic-webfont.eot');
	src: local('☺'), url('/bitstream/Vera-Bold-Italic-webfont.woff') format('woff'), url('/bitstream/Vera-Bold-Italic-webfont.ttf') format('truetype'), url('/bitstream/Vera-Bold-Italic-webfont.svg#webfontp3Q7kEbP') format('svg');
	font-weight: normal;
	font-style: normal;
}



#centerer {
	width: 800px;
	margin: 0 auto 0 auto;
}

#logo {
    display: block;
	float: left;
	background-image: url(images/logo.png);
	width: 250px;
	height: 71px;
	margin: 30px 0px 0px 0px;
}

a {color: white;}

a:visited {
	color: #aebcc3;
	color: rgba(255,255,255,.8);
}

a:active {outline:none;}

b {font-weight: bold;}

h1 {
    display: inline;
    font-size: 20px;
    text-shadow: 0 1px 0 rgba(0,0,0,.5);
    //font-weight: normal;
}

#header_outer {
    width: 100%;
    background-color: #2f5270;
	background-image:url(images/header_bg.jpg);
	background-repeat: repeat-x;
}

#header {
    width: 800px;
    margin: 0 auto 0 auto;
	height: 131px;
}

#content_outer {
    width: 100%;
}

#content {
    width: 800px;
    margin: 0 auto 0 auto;
    padding-top: 30px;
}

#footer_outer {
    background-color: #2e4b60;
    border-top: 1px solid #203443;
    border-top: 1px solid rgba(0,0,0,.3);
    padding-top: 10px;
    
    background-image:url(images/footer_shadow.gif);
    background-repeat:repeat-x;
}

#footer, #footer a {
    text-align: center;
    color: #8da7bb;
    text-shadow: 0 1px rgba(0,0,0,.7);
    line-height: 2.5em;
    margin: 0 .5em 0 .5em;
    
}

#footer a:hover {
    color: white;
}

.clear {clear: both;}

hr {
    width: 800px;
    height: 2px;
    background-color: transparent;
    background-image: url(images/hr.png);
    border: none;
}




/*-------------Nav------------*/


#nav {
	float: right;
	margin-top: 42px;
}

#nav a {margin-left: 20px;}

#portfolio {
	float: left;
	width: 111px;
	height: 45px;

	background-image: url(images/nav.png);
	background-position: -1px -1px;
}

#portfolio:hover { background-position: -1px -48px; }
#portfolio:active { background-position: -1px -95px; }

#services {
	float: left;
	width: 107px;
	height: 45px;

	background-image: url(images/nav.png);
	background-position: -122px -1px;
}

#services:hover { background-position: -122px -48px; }
#services:active { background-position: -122px -95px; }

#photography {
	float: left;
	width: 151px;
	height: 45px;

	background-image: url(images/nav.png);
	background-position: -239px -1px;
}

#photography:hover { background-position: -239px -48px; }
#photography:active { background-position: -239px -95px; }

#contact {
	float: left;
	width: 104px;
	height: 45px;

	background-image: url(images/nav.png);
	background-position: -399px -1px;
}

#contact:hover { background-position: -399px -48px; }
#contact:active { background-position: -399px -95px; }



/*-----Homepage Content-----*/

.thumb {
	display: block;
    position: relative;
    width: 370px;
    height: 190px;
    margin: 0px 0 60px 0;
    text-decoration: none;
    background-color: transparent;

    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    	
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;

	-webkit-transition: opacity .1s linear;
	-moz-transition: opacity .1s linear;
	transition: opacity .1s linear;

    behavior: url(PIE.htc);
}

.big_thumb {
    width: 800px;
    height: 400px;
    margin:22px 0 60px 0;
}

.big_thumb .text_overlay {
    width: 760px;
}

.text_overlay {
	visibility: hidden;
    opacity: 0;
    
    color: white;
    position: absolute;
    bottom: 0px;

    width: 330px;
    padding: 10px 20px 10px 20px;

    background-image: url(images/blue_bg.png);

	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;    
	border-bottom-right-radius: 10px;    
       
    text-shadow: 0 1px 0 black;

	-webkit-transition: opacity .15s linear;
	-moz-transition: opacity .15s linear;
	transition: opacity .15s linear;

    behavior: url(PIE.htc);
}

.thumb:hover .text_overlay, .big_thumb:hover .text_overlay {
    visibility: visible;
    display: inline;
    opacity: 1;
    
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
    background-image: url(images/blue_bg.png);
}

.left {float: left;}

.right {float: right;}

.princeton_plainsboro {
    background-image: url(portfolio/princeton-plainsboro/princeton-plainsboro.jpg);
    background-position: 0 -30px;
}

.techfire {
    float: left;
    background-image:url(images/techfire.jpg);
}

.motivo {
    float: right;
    background-image:url(images/motivo.jpg);
}

.reip {
    float: left;
    background-image:url(images/reip.jpg);
}

.shoe {
    float: right;
    background-image:url(images/shoe.jpg);
}



/*-----Site Details Pages-----*/

.round {
   	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px; 

    behavior: url(PIE.htc);
}

.shadow {
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);

    behavior: url(PIE.htc);
}

.description {
    text-align: left;
    margin-top: 20px;
    text-shadow: 0 1px 0 rgba(0,0,0,.5);
    font-size: 13px;
}

#subnav_outer {
    width: 100%;
    background-color: #4e728a;
    background-image:url(images/subnav.png);   
}

#subnav {
    width: 800px;
    height: 30px;
    padding: 9px 0 0 0;
    margin: 0 auto 0 auto;
    text-align: center;
    text-shadow: 0 1px 0 rgba(0,0,0,.5);
}



