/* reset */ 
body  {
   	margin: 0;
   	padding: 0;
   	background-color: #FFFFFF;
   	font-family: normal 100% 'PT Sans', serif;
	}
	
*::selection {
	background: #FF9C9F;
	}
	
*::-moz-selection {
	background: #FF9C9F;
	}

img {
  	max-width: 100%;
	}

/* structure */ 
#container {
    width: 51%;
    background-color: #FFFFFF;
    margin: 0 auto 0 auto;
   	padding: 0;
	}
	
#topbar {  
    background: #C12B3D;
    height: 7px; 
    width: 100%; 
    margin: 0 0 1.5046728971963% 0;  /* 30px / 856px */ 
	}
	
#header {
	width: 100%; 
	text-align: center;
	margin: .2682242990654% 0 .223364485981% 0; /* 10px / 856px */ /* 15px / 856px */
	}

#projects {
    width: 100%;
    margin: 0 0 .523364485981% 0; /* 10px / 856px */ /* 15px / 856px */
	}

ul#web-projects {
	width: 100%;
	padding: 0;
	margin: 0;
	}

#web-projects li {
	list-style-type: none;
	font-family: "Gentium Book Plus", serif;
	font-size: 18px;
	padding: .5% 0 2.3364485981308% 0; /* 20px / 856px */
	}

#about {
    width: 100%;
    margin: .5682242990654% 0 0 0; /* 10px / 856px */ /* 15px / 856px */
	padding: 0 0 2.336449% 0;
	}

#contact {
	width: 60%;
    margin: .5682242990654% 0 0 0; /* 10px / 856px */ /* 15px / 856px */
	display: inline;
	padding: 0 0 3.7523364485981% 0;
	}

#profiles {
	margin: -7.0093457943925% 0 1.7523364485981% 71.8457943925234%; - 
	width: 26%;
	background: #FFFFFF;
	list-style-type: none;
	display: block;
	}
 
ul#profiles-list li {
	width: 49%;
	background-color: #FFFFFF;
	margin: 0;
	padding: 0 0 10px 0;
	text-align: left;
	list-style-type: none;
	}

/* css sprites - profiles */ 
#profiles-list li a {
	background-image: url('http://mjohnso.com/images/sm-icons.gif');
	background-repeat: no-repeat;
	padding: 0 0 0 30px;
	display: block;
	text-decoration: none;
	}

#profiles-list li a.flickr {
	background-position: 0 0px;
	}
	
#profiles-list li a.twitter {
	background-position: 0 -28px;
	}
	
#profiles-list li a.pinboard {
	background-position: 0 -59px;
	}
	
 
#footer {
	width: 100%;
    background-color: #CCCCCC;
    margin: 0 0 .8177570093458% 0; /* 7px / 856px */
    height: 30px;
    position: relative;
	padding: 1% 0 0 0;
	}
	
/* style */ 
.divider {  
    border-top: #CCC 1px solid;
    height: 3px; 
    width: 100%; 
    margin: .045794392523% 0 1.5794392523% 0; /* 8px / 856px */
	}
	

img {
  display: block;
  margin: 0 auto 10px auto;
}


/* headings */ 	
h1 {
  font-size: 46px;
  font-family: "Gentium Book Plus", serif;
  width: 70%;
  margin: .6em auto;
  text-align: center;
  font-weight:400;
  color: #000;
  font-style: italic;
}

h2 {
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  width: 70%;
  margin: .7em auto;
  overflow: hidden;
  text-align: center;
  color: #000;
  font-weight: bold;
}

h2:before, h2:after {
  content: "";
  display: inline-block;
  width: 50%;
  margin: 0 .5em 0 -55%;
  vertical-align: middle;
  border-bottom: 1px solid;
}
h2:after {
  margin: 0 -55% 0 .5em;
}
span {
  display: inline-block;
  vertical-align: middle;
}

h3 {
  font-size: 20px;
  font-family: "Open Sans", sans-serif;
  text-transform: bold;
  padding: 5px 0 0 0;
  margin: 0;
  text-transform: uppercase;
  }


/* paragraphs */ 	 
p {
	font-family: PT sans, sans-serif;
	font-size: 1em; /* 16px / 16px */
	display: inline;
	line-height: 1.523333em;
	letter-spacing: 0;
	color: #00000;
	padding: 1% 0 2.4018691588785% 0; /* 12px / 856px */
	}

p.projects {
	font-family: PT sans, sans-serif;;
	font-size: 2em; /* 16px / 16px */
	line-height: 1.233333em;
	display: inline;
	padding: 0;
	}

p.name {
	font-family: PT sans, sans-serif;;
	font-size: 2.3125em; /* 37px / 16px */
	display: inline;
	color: #BA0054;
	font-style: normal;
	color: #000000;
	font-weight: bold;
	}
	
p.title {
	font-style: italic;
	display: inline;
	margin: 0;
	position: relative;
	}
	
.footer-text {
	font-family: 'PT Sans', sans-serif;
	font-size: 1em; /* 16px / 16px */
	line-height: 1.7em;
	margin: 0;
	text-align: center;
	color: #000000;
	}

/* profile image */ 
img.floatright { 
    float: right;
    width: 26.8691588785047%;
    padding: 1.2728971962617% 0 .3% 3.6728971962617%; /* 40px / 856px */
    overflow: hidden;
	}


/* links */ 
a:link {
	color: #C12B3D;
	text-decoration: none;
	border-bottom: 1px dotted;
		font-weight: bold;
	}      

/* links */ 
.projects a:link {
font-weight: bold;	}      


a:visited {
	color: #C12B3D;
	text-decoration: none;
	font-weight: bold;
	}
	
a:hover {
	color: #21ABA9;
	text-decoration: none;
	border-bottom: 1px dotted;
		font-weight: bold;
	}

a:active {
	color: #C12B3D;
		font-weight: bold;
	}

/* mobile */ 
@media screen and (max-width: 800px) {
#container {
    width: 81%;
    background-color: #FFFFFF;
    margin: 0 auto 0 auto;
	}
		
#topbar {  
    background: #C12B3D;
    height: 8px; 
    width: 100%; 
    margin: 0 0 3.5046728971963% 0;  /* 30px / 856px */   
	}
	
#profiles {
	margin: 0;
	padding: 0;
	background: #FFFFFF;
	list-style-type: none;
	display: block;
	}
	
ul#profiles-list li {
	margin: 0;
	width: 26%;
	background-color: #FFFFFF;
	display: block;
	margin: 0;
	text-align: left;
	list-style-type: none;
	}
 
	}

@media screen and (max-width: 600px) {
#container {
    width: 51%;
    background-color: #FFFFFF;
    margin: 2.336449% auto 0 auto; 
   	padding: 0 0 0 10px;
	}
	
#topbar {  
 	display: none;
	}
    
img.floatright { 
    float: none; 
    margin: 0 auto 0 auto;
	}
	
.divider {  
    border-top: #E2E2E2 2px dashed;
    height: 3px; 
    width: 100%; 
    margin: .045794392523% 0 1.5794392523% 0; /* 8px / 856px */
	}
	
#profiles {
	margin: 0;
	padding: 0;
	background: #FFFFFF;
	list-style-type: none;
	display: block;
	}
	
ul#profiles-list li {
	margin: 0;
	width: 26%;
	background-color: #FFFFFF;
	display: block;
	margin: 0;
	text-align: left;
	list-style-type: none;
	}
 
	}

@media screen and (max-width: 520px) {
#container {
    width: 100%;
    background-color: #FFFFFF;
    margin: 2.336449% auto 0 0; 
   	padding: 0;
	}
	
#topbar {  
	display: none;
	}
    	
p {
	padding: 0 0 1.8691588785047% 0; /* 16px / 856px */	
	}
	

	
	ul#web-projects {
text-align: center;
	}
	}

@media screen and (max-width: 320px) {
#container {
    width: 95%;
    background-color: #FFFFFF;
    margin: 2.336449% auto 0 10px; 
   	padding: 0;
	}
	
#topbar {  
	display: none;
	}
    
#profiles {
	margin: 0;
	padding: 0;
	background: #FFFFFF;
	list-style-type: none;
	display: block;
	}
	
ul#profiles-list li {
	margin: 0; 
	width: 26%;
	background-color: #FFFFFF;
	display: block;
	margin: 0;
	text-align: left;
	list-style-type: none;
	}
		
p {
	padding: 0 0 1.8691588785047% 0; /* 16px / 856px */
	}
	
a:link {
	color: #C12B3D;
	text-decoration: underline;	}      

a:visited {
	color: #C12B3D;
	text-decoration: underline;
	}
	
a:hover {
	color: #21ABA9;
	text-decoration: underline;
	}

a:active {
	color: #C12B3D;
	}
	
	}