/* Table of Contents
––––––––––––––––––––––––––––––––––––––––––––––
- General Content
- Typography
- Header & Navigation
- Images & Media
- Footer
- Media Queries
–––––––––––––––––––––––––––––––––––––––––––––– */


/* General Content
–––––––––––––––––––––––––––––––––––––––––––––– */
.main{padding-top:3%;}
.row{padding: 2% 0;}
.top{padding-top: 4%}
.bottom{padding-bottom: 4%}
.bio{background-color: whitesmoke}

header{background-color: #242544;}
main{background-color: whitesmoke;}

nav{background-color: dimgrey;}
footer{background-color: #242544;}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––– */
body {
  font: 100% "Roboto Slab", serif;
  background-color: #242544;
}
a {
  text-decoration: underline;
  color: black;
}
a:hover {    
/*  font-weight: bold;*/
  color: #057cc4;
}
h2 {
  font-size: 1.5em;
  font-weight: lighter;
  margin-left: 0;
  margin-bottom: 0px;
}
.ajax-text-and-image h2 {
  font-size: 2em;
  color: #666;
  font-weight:normal;
  margin-bottom: 0px;
  padding-top: 0em;
}
.small h2 {
  font-size: 1.5em;
}
h3 {
  font-size: 1.5em;
  margin-top: 0px;
  padding-top: 1em;
  margin-bottom: 0px;
}
.ajax-text-and-image h3 {
  font-family: "Muli", sans-serif;  
  font-weight: 500;
  font-size: 1.5em;
  margin-top: 0.25em;
  padding-top: 0em;
  margin-bottom: 0px;
  font-style: italic;
  color: #a5a5a5;
}
.bio h3 {
  font-size: 2em;
  margin-top: em;
  padding-top: 1em;
  margin-bottom: 0px;
  color: black;
}
h4 {
  font-size: 1.5em;
  font-weight: 100;
  text-align: center;
  clear: both;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
p {
  font-size: 1.5em;
  font-family: "Muli", sans-serif;
  padding-top: 1em;
  clear: both;
}
.about p {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 1.5%;
  margin-bottom: 1.5%;
}
.bio p {
  color: black;
  display: block;
  vertical-align: middle;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 1.5%;
  margin-bottom: 1.5%;
}
.ajax-text-and-image p {
  margin-top: 0;
  margin-bottom: 0;
  clear: both;
}
ul{
  display:block;
}
li{
  margin-bottom: 0;
}
.paragraph {
  font-size: 1.5em;
  font-family: "Muli", sans-serif;
  list-style-type: disc;
  list-style-position:outside;
  margin: 1% 0% 1% 5%;
}

/* Header & Navigation
–––––––––––––––––––––––––––––––––––––––––––––– */
/* Header */
h1 {
  font-size: 5em;
  color: whitesmoke;
}
h1 a {
  font-size: 1.5em;
  color: whitesmoke;
  text-decoration: none;
}
h1 a:hover{
  color: lightgrey;
  text-decoration: none;
}
.ajax-text-and-image h1 {
  font-size: 3em;
  font-weight: bold;
/*  color: white;*/
  color: black;
  margin-bottom: 0;
}
.small h1 {
  font-size: 2em;
}

/* Navigation Bar */
.menu {
    padding-right: 1em;
    padding-left: 1em;
    border-right: solid 2px whitesmoke;
    float: left;
}
.menuStart {
    padding-right: 1em;
    border-right: solid 2px whitesmoke;
    float: left;
}
.menuEnd {
    padding-right: 1em;
    padding-left: 1em;
    float: left;
}
nav a {
  color: black;
  text-decoration: none;
}
nav a:hover {
  color: #a3a3a3;
}
h2.selected a{
  color: whitesmoke;
}

/* Images & Media
–––––––––––––––––––––––––––––––––––––––––––––– */
img{max-width: 100%;}
img.avatar{
	border-radius: 400px;
}
img:hover{opacity:0.8;}
img.avatar:hover{opacity: 1.0;}
img.banner:hover{opacity: 1.0;}
img.nohover:hover{opacity: 1.0}

/* Ajax
–––––––––––––––––––––––––––––––––––––––––––––– */
.ajax-text-and-image {
  max-width:800px; margin: 20px auto; background: #FFF; padding: 0; line-height: 0;
}
.ajax-text-and-image img:hover {
  opacity: 1;
}
.ajcol {
  width: 50%; float:left;
}
.ajfill {
  max-width: 600px; width: 100%; float:left;
}
.ajcol img {
  width: 100%; height: auto; margin-bottom: 1em;
}
.ajthin img {
  max-width: 200px; width: 100%; float: left; height: auto; margin-bottom: 1em;
}
.ajwide img {
   max-width: 800px; width: 100%; float: left; height: auto;
  }
@media all and (max-width:30em) {
  .ajcol { 
      width: 100%;
      float:none;
    }
}

/* Footer
–––––––––––––––––––––––––––––––––––––––––––––– */
/* footer {
  margin-top: 3em;
  padding: 0;
}
*/
.mainfoot {
  margin-top: 0;
}

ul.social{
    /*display:block; */
    margin: 1% 0 0;
    list-style-type: none;
    text-align: center;
}
ul.social li{
    font-size: 3em;
    display: inline;
    padding: 0 1%;
}
ul.social li a{
    color: whitesmoke;
}
ul.social li.facebook a:hover{color: rgb(59,89,152);}
ul.social li.twitter a:hover{color: rgb(0,172,237);}
ul.social li.instagram a:hover{color: rgb(81,127,237);}
ul.social li.youtube a:hover{color: rgb(187,0,0);}
ul.social li.flickr a:hover{color: rgb(255,0,132);}
ul.social li.linkedin a:hover{color: rgb(0,123,182);}

footer h4 {
  text-align: center;
  color: whitesmoke;
}

footer p {
  color: whitesmoke;
  text-align: center;
  font-size: 1.25em;
}

/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––– */
/* Larger than mobile */
@media (max-width: 479px) {
    .logo a{font-size: 1.5em;}
    .main{padding-top: 15%;}
    .portfolio img{margin-bottom: 10%;}
    img.avatar{margin-top: 10%;}
    .bio h2 {font-size: 2.5em;}
    .bio p {font-size: 1.75em;}
}

