.row {
  padding-left: 3%;
  padding-right: 3%;
}

/* Begin about me */
.bg-1 {
  /*oldBgCol #3E87D1*/
  background-color: #1d1d1d;
  color: #ffffff;
}

.row-header {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 10%;
  padding-right: 10%;
}

.img-headshot {
  max-width: 100%;
}

.div-headshot {
  padding-top: 20px;
  padding-bottom: 20px;
}

.about-me-text {
  text-align: left;
  text-align: justify;
}

.contact b {
	display:none;
}

.nope {
  display:none;
}
/* End about me */

/* Begin projects */
.bg-2 { 
  background-color: #ffffff;
  color: #555555;
}

h2 {
	font-size: 300%;
}

div.project-container > div:nth-child(odd){
  background-color: #ffffff;
  color: #555555;
}
div.project-container > div:nth-child(even){
  background-color: #607d8b;
  color: #ffffff;
}

.row-project {
	overflow:hidden; /* Slides behind the below project and doesn't overflow the page and mess up scrolling*/
}

.col-image-container {
  padding-top: 1%;
  padding-bottom: 1%;
}
.col-image {
  padding-left: 1%;
  padding-right: 1%;
  padding-top: 1%;
  padding-bottom: 1%;
}

.project-role {
  margin-bottom: 5px;
  font-size: 150%;
}

.project-description {
  margin-bottom: 5px;
  text-align: left;
  margin-left: 20px;
}

.list-project-description {
  text-align: left;
}

.col-image.left {
  float: left;
}

.col-image.right {
  float: right;
}
/* End projects */

/* Begin footer */
.bg-3 { 
  background-color: #1d1d1d;
  color: #ffffff;
  padding-top: 30px;
  padding-bottom: 30px;
}
/* End footer */

/* Begin navbar */
.navbar {
  background-color: #3E87D1;
  border: 0px;
  margin-bottom: 0px;
  font-size: 12px;
  letter-spacing: 5px;
}

.headshot-title {
  background-color: #1D1D1D;
  color: white!important;
  margin-bottom: 0px;
  letter-spacing: 5px;
  font-size: 25px;
  padding-top: 10px;
}

.navbar-item {
  background-color: #3E87D1;
  color: white!important;
  margin-bottom: 0px;
}
.navbar-item:hover {
  /*color: black!important;*/
}

.dropdown-menu {
  background-color: #607d8b!important;
}

.dropdown-item {
  color: white!important;
}

.dropdown-item:hover {
  color: black!important;
  background-color: #607d8b!important;
}

.horizontal-rule-nopad {
  height: 8px;
  border: 0;
  margin: 0;
  box-shadow: inset 0 8px 8px -8px rgba(0, 0, 0, 0.5);
}

.navbar-collapse{
  border-top-width: 0px;
}

.nav.navbar-nav.navbar-right{
  margin-top:0px;
  margin-bottom:0px;
}

/* Small screens and down only */
@media screen and (max-width : 1199px) {
  .navbar.auto-shrink {
    padding:0px;
  }
  
  html,body {
    background-color: #3E87D1;
    padding-top: 0px;
  }
  
  /* Navbar dropshadow */
  .navbar.navbar-default {
    box-shadow: 0 3px 3px 3px rgba(0, 0, 0, 0.5);
  }
  
  .list-project-description {
    display:-moz-inline-stack;
    display:inline-block;
    zoom:1;
    margin-bottom: 25px;
  }

  .project-description {
    text-align: center;
  }
  
  .large-title {
    display:none;
  }
  
  ul {
    columns: 2;
    column-gap: 20px;
  }
}

/* Medium screens and up only */
@media screen and (min-width : 1200px) {
  html,body {
    background-color: #3E87D1;
    padding-top:0px;
  }
  
  .row {
	padding-right:15%;
	padding-left:15%;
  }
  
  .row-image{
	padding-right:3%;
	padding-left:3%;
  }
  
  .affix {
    padding:0px;
    -webkit-transition:padding 0.2s linear;
    -moz-transition:padding 0.2s linear;  
    -o-transition:padding 0.2s linear;         
    transition:padding 0.2s linear;  
  
  }
  
  .affix-top {
    padding-top:15px;
    padding-bottom:15px;
    -webkit-transition:padding 0.2s linear;
    -moz-transition:padding 0.2s linear;  
    -o-transition:padding 0.2s linear;         
    transition:padding 0.2s linear;  
  }
  
  .about-me-text {
    padding-top: 30px;
  }

  .small-title {
    display:none;
  }
  
  .project-description {
    padding-top: 5%;
  }
}

/* Navbar collapse button color */
.navbar-toggle {
  background-color: #dddddd;
}
/* End navbar */

/* Begin element slide animation */
.slideanim {
  visibility:hidden;
}

.slide {
  /* The name of the animation */
  animation-name: slide;
  -webkit-animation-name: slide; 
  /* Make the element visible */
  visibility: visible; 
}
.slide:nth-child(even) {
  /* The duration of the animation */
  animation-duration: 1s; 
  -webkit-animation-duration: 1s;
}
.slide:nth-child(odd) {
  /* The duration of the animation */
  animation-duration: 0.8s; 
  -webkit-animation-duration: 0.8s;
}

/* Go from 0% to 100% opacity (see-through) and specify the percentage from when to slide in the element along the Y-axis */
@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(70%);
  } 
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}
@-webkit-keyframes slide {
  0% {
    opacity: 0;
    -webkit-transform: translateY(70%);
  } 
  100% {
    opacity: 1;
    -webkit-transform: translateY(0%);
  }
}
/* End element slide animation */

/* Dropdown caret direction change */
.caret-up {
  border-top-width: 0;
  border-bottom: 4px solid #fff;
}

/* Project page style */
.image-full-width {
  width:100%;
}

.container-fluid.full-width {
  padding-left: 0px;
  padding-right: 0px;
}

.project-header {
  padding-top: 60px;
  padding-bottom: 150px;
}

.project-summary {
  padding-top: 10px;
  line-height: 150%;
  color: #777;
}

.bg-3-project { 
  background-color: #1d1d1d;
  color: #ffffff;
  padding-top: 50px;
  padding-bottom: 50px;
}

.bg-4 {
  background-color: #607d8b;
  color: #ffffff;
}

.row-feature {
  background-color: #ffffff;
  color: #555555;
  padding-top: 40px;
  padding-bottom: 40px;
}

.gallery {
  padding-top: 40px;
  padding-bottom: 40px;
}

a {
  text-decoration: underline;
}

a:link.link-light, a:visited.link-light {
  color:#FFFFFF;
}

a:hover.link-light, a:active.link-light, a:focus.link-light {
  color:#DFDFDF;
}

a:link.link-dark, a:visited.link-dark {
  color:#555555;
}

a:hover.link-dark, a:active.link-dark, a:focus.link-dark {
  color:#222222;
}