body,
div,
ul,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  box-sizing: border-box;
  display: block;
}

.clear-fix {
  overflow: auto;
}

h1 {
  font-size: 40px;
  color: white;
  line-height: 48px;
  display: inline;
}

h2 {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 29px;
  color: #AA7552;
}

h4 {
  font-weight: bold;
  font-size: 14px;
  line-height: 17px;
}

h3,
h4,
h5 {
  padding:10px 5%;
}

p {
  font-size: 14px;
  color: #333;
  line-height: 21px;
}

a {
  color: #1199c3;
  text-decoration: none;
  display: inline-block;
  margin: 0 auto;
}

a:hover {
  color: #CE80A4;
}

ul {
  list-style-type: none;
}

span {
  padding: 5px;
}

.flex-box {
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 0;
}

.center-content {
  padding: 2.5% 5%;
}

/*Image and Icon classes*/

.biopic {
  float: left;
  padding: 5px 10px 10px 10px;
  width: 175px;
  margin-right: 20px;
}

.icon {
  width: 100%;
  height: 100%;
  margin-top: 15%;
}

.work-icon {
    height: 100%;
    text-align: center;
}

.work-icon:hover {
  cursor: pointer;
  background-color: #CBCBCB;
}

.icon-right {
    height: 61px;
    float: left;
    padding: 10px 10px 10px 18px;
}

.icon-left {
    height: 40px;
    float: left;
    padding: 0 10px 0 0;
}

.icon-center {
    height: 40px;
}

/* Classes to change Text or Background Color*/

.center-text {
  text-align: center;
}

.brown {
  background-color: #AA7552;
}

.brown-text {
  color: #AA7552;
  font-weight: bold;
  text-transform: uppercase;
}

.black-text {
  color: black;
}

.white-text {
  color: #fff;
}

.white-text-no-padding {
  color: #fff;
  padding: 0;
}

.white-title {
  color: #fff;
  font-size: 18px;
  padding: 8px 5px;
}

.title {
  font-size: 18px;
  color: #2BBDC1;
  padding: 15px 0 5px 0;
}

.black-title {
  font-size: 18px;
  color: black;
  padding: 5px 0 5px 0;
}

.subtitle {
  font-style: italic;
  font-size: 16px;
  margin-top: 5px;
  margin-bottom: 5px;
  display: block;
}
.green-text {
  color: #419928;
  font-weight: bold;
}

.green{
  background-color: #419928;
}

.red-text {
  color: #CE80A4;
  font-weight: bold;
}
.red {
  background-color: #CE80A4;
}

.blue-text {
  color: #2BBDC1;
  font-weight: bold;
}

.blue {
  background-color: #2BBDC1;
}

.gray {
  background-color: #f3f3f3;
  padding-bottom: 10px;
  clear:both;
}

.dark-gray {
  background-color: #2E3C3D;
}

/*-Layout Sections-*/

#main {
  padding: 2.5% 5%;
}

/*----Header Section-*/

#header {
  width: 100%;
  order:0;
  background-color: #2E3C3D;
  margin-bottom: 10px;
}

#role {
  padding-left: 20px;
}

#topContacts {
  margin-bottom: 20px;
}

.phone,
.email,
.github,
.location {
  padding: 5px;
  margin: 0;
  display: inline-block;
  color: white;
}

.welcome-message {
  font-size: 18px;
  color: white;
  line-height: 28px;
  margin-bottom: 30px;
}

/*----Content Section */

#content {
  width: 45%;
  order: 1;
  margin-right: 5%;
  margin-bottom: 30px;
}

/*--------Skills Section */

#skillSection {
  margin-bottom: 30px;
}

#skillHeader {
  width: 100%;
  display: inline-block;
}

#skills-h2 {
  padding-top: 20px;
  padding-bottom: 15px;

}

#skillList {
  width:100%;
  display: flex;
  -webkit-column-count: 2;
  -webkit-column-gap: 5px;
  -moz-column-count: 2;
  -moz-column-gap: 5px;
  column-count: 2;
  column-gap: 5px;
}

#skills li{
  line-height: 28px;
  color: white;
  padding-left: 10px;
}

.brown-star {
  color: #AA7552;
  padding: 0;
}

.white-dot {
  color: white;
  padding: 0;
}

/*--------Projects Section */

.project-entry {
  width: 100%;
}

#projects {
  width: 100%;
  order: 2;
  margin-bottom: 40px;
  padding-bottom: 0;}

.projectHeader {
  width: 100%;
  order:-1;
  vertical-align: middle;
}

#projects-h2 {
  width: 50%;
  padding: 2.5% 5%;
  background-color: #f3f3f3;
  order:0;
}

#project-brown {
  width: 50%;
  background-color: #AA7552;
  order: 0;
  visibility: hidden;
}

.project-info {
  width: 100%;
  padding: 2.5% 5%;
  order: 0;
}

.project-border {
  width: 100%;
  background-color: #AA7552;
  padding: 10% 10% 6% 10%;
}

.project-link-container {
  position: relative;
  height: 100%;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;

}

.project-link-container:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.25);
}

.project-image {
  box-shadow: 0 4px 8px 0 rgba(100, 100, 100, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  width: 100%;
  height: auto;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
}

.github-link {
  color: white;
  background-color: rgba(0,0,0,0.5);
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2% 2% 2% 15%;
  width: 100%;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 0 0 25px 25px;
}

.breaker {
  width: 100%;
  height: 10px;
}

.breakerOne {
  width: 100%;
  height: 10px;
  display: block;
}

/*--------Education Section */

#education {
  background-color: #2E3C3D;
  margin-bottom: 30px;
  padding-left: 5%;
  padding-right: 5%;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.limitLinkLength {
  display: inline-block;
}

.ed_icon {
  padding-left: 0;
  float:left;
}

#ed-h2 {
  padding-top: 10px;
  padding-bottom: 5px;
}

#onlineHeader {
  color: #AA7552;
  padding: 30px 0 0 0;
  width: 100%;
}

/*----Content2 Section*/

#content2 {
  width: 50%;
  order: 2;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

/*--------Work Section */

#workExperience {
  margin-bottom: 30px;
  padding: 2.5%;
}
.expHeader {
  padding: 10px 0 0 20px;
}

#experience-h2 {
  display: inline-block;
  padding-top: 6px;
}

.date-text {
  font-style: italic;
  font-size: 14px;
  color: #999;
  line-height: 16px;
  width: 100%;
}

.location-text {
  font-style: italic;
  font-size: 14px;
  color: #999;
  line-height: 16px;
  }


#work0,#work1,#work2 {
  width:100%;
  height: 100%;
  margin-top: 20px;
  z-index: 999;
}

.work-entry {
  text-align: center;
}

.description:hover {
  cursor: pointer;
}

/* --Tooltip-- */
  .icon + .tooltip > .tooltip-inner {
      background-color: #2E3C3D;
      color: #FFFFFF;
      padding: 5px;
      font-size: 12px;
  }

  .icon + .tooltip.bottom > .tooltip-arrow {
      border-bottom: 5px solid #2E3C3D;
 }

#leftCol {
  width: calc(50% - 7.5px);
}

.separator {
  display: flex;
  width: 15px;
}

#rightCol {
    width: calc(50% - 7.5px);
}

.round {
  border: 5px solid #f3f3f3;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  padding: 8px 8px 8px 8px;
}

/*--------Teaching Subjects Section */

#teaching {
  width: 50%;
  display: none;
  margin-bottom: 30px;
  text-align: right;
  padding-right: 5%;
}

#teach-h2 {
  line-height: 26px;
  padding: 15px 0 0 10px;

}

#subjectsHead {
    width: 100%;
    display: inline-flex;
    justify-content: center;
}

/*-------------for the d3 Bar Graph */

.bar {
  display: inline-block;
  width: 20px;
  height: 25px;
  margin-right: 0.5%;
  color: white;
  writing-mode: tb-rl;
  padding-top: 10px;
  padding-right: 3px;
 }

#chart {
  max-height: 300px;
  padding-bottom: 3%;
  margin-bottom: 30px;
}

.chartBox {
  padding: 5% 5% 0 5%;
}


/*----------Map Section */

#mapDiv {
  background-color: #AA7552;
  min-height: 250px;
}

#map-H2 {
  width: 100%;
  padding: 2.5% 5%;
  background-color: #f3f3f3;
  order: 0;
}

#map {
  width: 100%;
  height: 100%;
  min-height: 250px;
  margin: 5%;
}

/*----Lets Connect Footer Section */

.connect {
   color: #2E3C3D;
}

#lets-connect {
  text-align: center;
}

#lets-connect {
  width: 100%;
  order: 3;
 }

/* Order of sections in content and content 2 before media queries */

#skillSection {
  width: 100%;
  order: 1;
}

#projects {
  width: 100%;
  order: 2;
}

#education {
  width: 100%;
  order: 3;
}

#workExperience {
  width: 100%;
  order: 1;
}

#chart {
  width: 100%;
  order: 2;
}

#mapDiv {
  order: 3;
  width: 100%;
}

/* Media queries to handle various device widths */

@media screen and (min-width: 1024px) {

  #main {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media only screen and (max-width: 900px) {
  .biopic {
    width: 150px;
  }
  .welcome-message {
    font-size: 16px;
  }
}

@media only screen and (max-width: 769px) {
  #content, #content2 {
    width: 100%
  }

  #content {
    margin-right: 0;
    margin-bottom: 0;
  }

  #skillSection {
    display: flex;
    flex-wrap: wrap;
    padding-left: 5%;
  }

  #skillHeader {
    width: 15%;
  }

  #skillList {
    width: 75%;
    padding-left: 2.5%;
  }

  .project-info,
  .project-border {
    width: 50%
  }

  .project-border {
    padding: 5%;
  }

  #project-brown {
    visibility: visible;
  }

  #education {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  #educationHeader {
    width: 100%;
  }

  .education-entry {
    width: 50%;
  }

  .online-education-entry {
    width: 100%;
  }

  #content {
    width: 100%
  }

  #content2 {
    width: 100%
  }

  #chart {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  #mapDiv {
    display:none;
  }

  #profile,
  .biopic  {
    display: none;
  }
}

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

   #skillHeader,
   #skillList {
    width: 100%;
  }
  .project-info,
  .project-border {
    width: 100%
  }

  .project-border {
    padding: 10%;
  }

  #project-brown {
    visibility: hidden;
  }
  .education-entry {
    width: 100%;
  }

  #chart {
    width: 100%;
  }

}