header {
  background-image: url(../img/bg-pattern.gif);
  background-repeat: repeat;
  padding: 60px 0 20px;
  margin-bottom: 10px;
}

header h1 {
  float: left;
}

header h1, header h2 {
  padding: 0px;
  margin: 0px;
}





header .social {
  float: right;
  padding-top: 5px;  

}

.label {
  padding: 6px;
  width: 40px;
  text-align: center;
}

.hero .label {
  width: auto;
  margin-right: 10px;
  margin-bottom: 10px;
}



.label-success {
  display: none;
}

.hero {
  margin-top: 20px;
}

.yesno {
  width: 26px;
  background-repeat: no-repeat;
  background-position: 8px 7px;
}

form {
  padding: 0 40px;
}

.aboutme .media-object {
}

.aboutme {
  margin-bottom: 20px;
}

.aboutme ul {
  list-style-type: none;
  float: left;
  margin: 0px;
}

.aboutme li {
  float: left;
  text-align: center;
  width: 39px;
}

.aboutme li:nth-child(1) {
  text-align: left;
}
.aboutme li:nth-child(3) {
  text-align: right;
}

.hero table tr {
  background-color: white;
}


@media screen and (max-width: 420px)
{
  .yesno {
      background-position: 0px 7px;
      width: 30px;
  }
}

@media (min-width: 768px) and (max-width: 979px) { 
  .aboutme li {
    width: 32px;
    padding: 0px;
  }

  .aboutme .media-object {
    width: 80px;
  }

  .aboutme .hide-small {
    display: none;
  }
}

@media  (max-width: 979px) { 
  .navbar-fixed-top {
    margin-bottom: 0px !important;
    background-color: green;
  }

  header {
    padding: 20px 0;
  }

  header .social {
      margin-right: 5px;
  }

  .hero {
    margin-top: 30px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-unit {
    padding: 10px;
  }
}


@media  (max-width: 768px) { 
    .media a {
      float: inherit;
    }
  }
}

