html {
  height: 100%;
  background: #e3e3e3;
}

body {
  height: 100%;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  align-items: center;
  -webkit-align-items: center;
  margin: 0;
}

.wrapper{
  -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  max-width: 960px;
  width: 90%;
}

header {
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  -webkit-flex-direction: row;
  justify-content: flex-end;
  -webkit-justify-content: flex-end;
  align-items: center;
  -webkit-align-items: center;
  background: #535353;
  width: 100%;
  color: white;
}

.name-container {
  flex: 1 1 auto;
  -webkit-flex:  1 1 auto;
  text-align: center;
}

.name-container h1 {
  font-weight: 100;
  letter-spacing: 1px;
  font-size: 40px;
}

.name-container h4 {
  font-weight: 500;
}

.profile-container {
  flex: 0 0 auto;
  -webkit-flex:  0 0 auto;
  background: rgba(0,0,0,0.2);
  display: flex;
  display: -webkit-flex;
  padding: 10px;
}

.social-container {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: center;
  font-size: 16px;
  margin-top: 10px;
}

.social-container a {
  color: white;
  text-decoration: none;
}

.social-container a:hover {
  text-decoration: underline;
}

.contact-list {
  list-style-type: none;
}

.contact-list .fa {
  margin-right: 12px;
  font-size: 18px;
  vertical-align: middle;
}

.contact-list li {
  margin-bottom: 5px;
  margin-right: 12px;
}

.portrait-pic {
  border-radius: 50%;
  height: 200px;
  width: 200px;
}

main {
  background: white;
  flex: 1 0 auto;
  -webkit-flex:  1 0 auto;
  width: 100%;
  color: black;
}

section {
  padding-left: 20px;
  padding-right: 20px
}

.summ-box {
  padding: 20px;
  text-align: left;
}

.experience-box {
  margin: 20px auto;
  text-align: left;
}

.section-title {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 2;
  color: #254688;
  margin-top: 20px;
  margin-bottom: 20px;
}

.item {
  margin-bottom: 30px;
}

.upper-row {
  position: relative;
  overflow: hidden;
  margin-bottom: 2px;
}

.job-title {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: bold;
}

.time {
    position: absolute;
    right: 0;
    top: 0;
    color: #000;
}

.company {
  margin-bottom: 10px;
  color: #7a8aa0;
}

.education-box {
  margin: 20px auto;
  text-align: left;
}

.portfolio-container{
  display:flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;

}

.portfolio-title {
  text-transform: uppercase;
   font-size: 20px;
    font-weight: 2;
    color: #2d7788;
    margin-top: 20px;
    margin-bottom: 20px;
  margin-left: 38px;
}

#menu-picker {
  display: flex;
  display: -webkit-flex;
  text-align: center;
}

.menu-text {
  -webkit-flex: 1 0 auto;
  flex: 1 0 auto;
  font-size: 22px;
    font-weight: bold;
    color: #2d7788;
    margin-top: 20px;
    margin-bottom: 20px;
  text-decoration: none;
}

a:hover.menu-text {
  color: #1a454f;
}

p.reference {
padding-left: 2em;
text-indent: -2em;
}

.skills-container {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  font-size: 20px;
  margin-top: 10px;
}

#pages .skills {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
}

#pages .skill {
  flex-grow: 1;
  width: 50%;
}

.skills .fa {
  margin-right: 7.5px;
  margin-left: 7.5px;
  font-size: 20px;
  vertical-align: middle;
}

.skills li {
  margin-bottom: 5px;
}

.line-break{
  width: 80%;
  border-top: 1px solid black;
  margin: 0 auto;
}

.misc-container {
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
}

.misc-container .skills{
  list-style-type: none;
}

.skills-wrapper {
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  -webkit-flex-direction: row;
}

p {
  font-weight: 200;
  letter-spacing: 1px;
}



.experience-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: flex-start;
  }
  
  .job-details {
    flex: 0 0 80%;
    padding-right: 4px;
    align-self: flex-start;
  }
  
  .job-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
  }
  
  .job-company {
    font-style: bold;
    margin-bottom: 10px;
  }

  .job-position {
    font-style: italic;
  }
  
  .job-meta {
    flex: 0 0 20%;
    text-align: right;
  }
  
  .job-date {
    margin-bottom: 5px;
    font-size: 14px;
  }

  .job-location {
    margin-bottom: 5px;
    font-size: 14px;
  }