*{
	margin:0;
	padding:0;
}

body{
	background-color:#234;
}

#main_container{
	max-width:1022px;
	height:auto;
	margin-right:auto;
	margin-left:auto;
	margin-top:20px;
	margin-bottom:20px;
	overflow:hidden;
	background-color:#456;
}

#dub{
	max-width:1062px;
	height:auto;
	margin-right:auto;
	margin-left:auto;
	margin-top:0;
	margin-bottom:20px;
	overflow:hidden;
	background-color:#456;
}

#main_containerb{
	max-width:1022px;
	height:auto;
	margin-right:auto;
	margin-left:auto;
	margin-top:0;
	margin-bottom:20px;
	overflow:hidden;
	background-color:#fbfbfb;
}


/* ----------------- TYPOGRAPHY ----------------- */

h1{
	font-family:arial, sans serif;
	font-size: 18px;
	line-height: 22px;
	color: #ececec;
	padding-top: 2px;
}

h2{	
	font-family:arial, sans serif;
	font-size: 34px;
	line-height: 33px;
	color: #456;
	font-weight: normal;
}

h3{
	font-family:arial, sans serif;
	font-size: 16px;
	line-height: 22px;
	color: #ececec;
	padding-top: 2px;
}

h4{
	padding-top:0;
	font-family:arial, sans serif;
	font-size: 17px;		
	color: #456;
	font-weight: normal;
}

h5{
	font-family: verdana, sans serif;
	font-size: 15px;
	line-height: 22px;
	margin-bottom: 3px;
	font-weight: normal;

}
p{
	font-family: verdana, sans serif;
	font-size: 15px;
	line-height: 22px;
	margin-bottom: 13px;
}

a {
	text-decoration:none;
	color:#228fce;
	font-family: verdana, sans serif;	
}

.measure{
/* background-color:#FFEE99; */
}




/*--- project page ---*/

/*--- nav bar ---*/
#head{
	width:100%;
	height:44px;
	background-color:#456;
}

ul {
list-style-type: none;
}

li {
    float: left;
	width: 33%;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding-top: 10px;
    text-decoration: none;
}




#rest{
	width:100%;
}

#text1 {
	width:950px;
	height:auto;
	float:left;
	padding-top:20px;
	margin-right:10px;
	margin-left:36px;
}

#hello {
	width:450px;
	padding-top:20px;
	margin-right:2%;
	margin-left:5%;
	float:left;
}

/*--- photo on top right of project page ---*/
#pic1 {
	width:420px;
	height:auto;
	float:left;
	margin-top:27px;
	margin-left:30px;
	padding-bottom:15px;
	background-repeat:no-repeat;
    background-position:center; 
}

#pic1.yo{
	background-repeat:no-repeat;
    background-position:center;
    background-size: 100%;
	padding-top:0px;
	padding-bottom:20px;
}

/*--- images on project pages ---*/
#picb {
	width:950px;
	height:auto;
	float:left;
	margin-top:20px;
	padding-left:36px;
	padding-right:36px;
}

#pic5wide {
	width:19%;
	height:auto;
	float:left;
	margin-top:20px;
	margin-left:0;
	margin-right:1%;
}

#pic4wide {
	width:24%;
	height:auto;
	float:left;
	margin-top:20px;
	margin-left:0;
	margin-right:1%;
}

#pic4space {
	width:19%;
	height:auto;
	float:left;
	margin-top:20px;
	margin-left:3%;
	margin-right:3%;
}

#pic3wide {
	width:32%;
	height:auto;
	float:left;
	margin-top:20px;
	margin-left:0;
	margin-right:1%;
}

#pic2wide {
	width:48%;
	height:auto;
	float:left;
	margin-top:20px;
	margin-left:1%;
	margin-right:1%;
}

#pic2mob {
	width:48%;
	height:auto;
	float:left;
	margin-top:20px;
	margin-left:1%;
	margin-right:1%;
}

#pic728 {
	width:76%;
	height:auto;
	float:left;
	margin-top:30px;
	margin-left:12%;
	margin-right:12%;
	
}




/*--- Home page layout ---*/
#d1{
	width:334px;
	height:248px;
	background-image:url('imgs/logo-link_1.png');
	background-repeat:no-repeat;
    background-position:center; 
	float:left;
}

/*
#d1:hover {
	background-image: url('imgs/link-aboutmehover.jpg');
}
*/
		
#d2{
	width:668px;
	height:248px;
	background-image: url('imgs/viz-link.jpg');
    background-repeat: no-repeat;
    background-size: cover;
	float:left;
	margin-left:20px;
}

#d3{
	width:501px;
	height:248px;
	background-image: url('imgs/sono-link.jpg');
    background-repeat: no-repeat;
    background-size: cover;
	background-color: #567;
	float:left;
	margin-top:20px;
}

#d4{
	width:501px;
	height:248px;
	background-image: url('imgs/evp-link.jpg');
    background-size: cover;
	background-color: #567;
	float:left;
	margin-left:20px;
	margin-top:20px;
}

#d5{
	width:668px;
	height:248px;
	background-image: url('imgs/vinyl-link.jpg');
    background-size: cover;	
    float:left;
	margin-top:20px;
}

#d6{
	width:334px;
	height:248px;
	background-image: url('imgs/trials-link.jpg');
    background-size: cover;	
	background-color: #567;	
	float:left;
	margin-top:20px;
	margin-left:20px;
}

#d7{
	width:501px;
	height:248px;
	background-image: url('imgs/more-link.jpg');
    background-size: cover;		
	float:left;
	margin-top:20px;
}

#d8{
	width:501px;
	height:248px;
	background-image: url('imgs/photography-link.jpg');
    background-size: cover;
	background-color: #567;	
	float:left;
	margin-top:20px;
	margin-left:20px;
}

#d9{
	width:334px;
	height:248px;
	background-image: url('imgs/fishy-link.jpg');
    background-size: cover;	
	float:left;
	margin-top:20px;
	margin-right:20px;
}

#d10{
	width:334px;
	height:248px;
	background-image: url('imgs/ouro-link.jpg');
    background-size: cover;	
	float:left;
	margin-top:20px;
	margin-right:20px;
}

#d11{
	width:314px;
	height:248px;
	background-image: url('imgs/vandal-link.jpg');
    background-size: cover;	
	float:left;
	margin-top:20px;
}


/* --------    tablet    ------- */

@media (max-width: 1038px)  {

#text1 {
	width:90%;
	padding-top:20px;
	margin-right:10px;
	margin-left:30px;
}

#hello {
	width:90%;
	padding-top:20px;
	margin-right:5%;
	margin-left:5%;
}

#pic1 {
	width:70%;
	margin-top:0;
	margin-left:15%;
	margin-right:0;
	padding-bottom:10px;
}

#pic1.yo{
	margin-left:30px;
	padding-top:10px;
	padding-bottom:20px;
}

#picb {
	width:100%;
	height:auto;
	margin-top:20px;
	padding-left:0;
	padding-right:0;
}

#pic728 {
	width:80%;
	height:auto;
	float:left;
	margin-top:30px;
	margin-left:10%;
	margin-right:10%;
}

#d1{
	width:33%;
	height:248px;
	float:left;
}	
	
#d2{
	width:65%;
	height:248px;
	float:left;
	margin-left:2%;
}

#d3{
	width:49%;
	height:248px;
	float:left;
}

#d4{
	width:49%;
	height:248px;
	float:left;
	margin-left:2%;
}

#d5{
	width:65%;
	height:248px;
	float:left;
}

#d6{
	width:33%;
	height:248px;
	float:left;
	margin-left:2%;
}

#d7{
	width:49%;
	height:248px;
	float:left;
}

#d8{
	width:49%;
	height:248px;
	float:left;
	margin-left:2%;
}

#d9{
	width:32%;
	height:248px;
	float:left;
	margin-right:0;
}

#d10{
	width:32%;
	height:248px;
	float:left;
	margin-left:2%;
	margin-right:2%;
}

#d11{
	width:32%;
	height:248px;
	float:left;
}





/* ----------------- Mobile ----------------- */

@media (max-width: 700px)  {

#main_container{
	margin-top:0;
}

/* -- project page -- */

#text1 {
	width:90%;
	padding-top:20px;
	margin-right:5%;
	margin-left:5%;
}

#hello {
	width:90%;
	padding-top:20px;
	margin-right:5%;
	margin-left:5%;
}


#picb {
	width:100%;
	height:auto;
	float:left;
	margin-top:20px;
	padding-left:0;
	padding-right:0;
}

#pic1 {
	width:100%;
	margin-top:0;
	margin-left:0;
	margin-right:0;
	padding-bottom:10px;
}
#pic1.yo {
	width:100%;
	margin-top:10px;
	margin-left:0;
	margin-right:0;
	padding-bottom:10px;
}

#pic4space {
	width:36%;
	height:auto;
	float:left;
	margin-top:40px;
	margin-left:7%;
	margin-right:7%;
}

#pic2mob {
	width:100%;
	height:auto;
	float:left;
	margin-top:20px;
	margin-left:0;
	margin-right:0;
}

#pic728 {
	width:90%;
	height:auto;
	float:left;
	margin-top:30px;
	margin-left:5%;
	margin-right:5%;
}

/* ------- main page ------- */

#d1{
	width:100%;
	height:100px;
	background-image: url('imgs/logo-link_3.png');
    background-size: 90%;
    background-position: center; 
	background-repeat: no-repeat;
}	

/*
#d1:hover {
	background-image: url('imgs/logo-link_3.png');
}
*/
	
#d2{
	width:100%;
	height:220px;
	margin-top:20px;
	margin-left:0px;
}

#d3{
	width:100%;
	height:220px;
}

#d4{
	width:100%;
	height:220px;
	margin-left:0px;
}

#d5{
	width:100%;
	height:220px;
}

#d6{
	width:100%;
	height:220px;
	margin-left:0px;
}

#d7{
	width:100%;
	height:220px;
	margin-left:0px;
}

#d8{
	width:100%;
	height:220px;
	margin-left:0px;
}

#d9{
	width:100%;
	height:220px;
	margin-left:0px;
}

#d10{
	width:100%;
	height:220px;
	margin-left:0px;
}

#d11{
	width:100%;
	height:220px;
	margin-left:0px;
}

} 