

.featured_works h1 {
  padding: 50px 0;
  font-weight: 400;
  text-align: center;
}

.featured_works p {
  margin: 0 0 20px;
  line-height: 1.5;
}

.featured_works main {
  width:100%;
  padding: 50px;
  margin: 0 auto;
  background: #fff;
}

.featured_works section {
  display: none;
  padding: 20px 0 0;
  border-top: 1px solid #ddd;
}

.featured_works input {
  display: none;
}

.featured_works label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  color: #bbb;
  border: 1px solid transparent;
}

.featured_works label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}


.featured_works label:hover {
  color: #888;
  cursor: pointer;
}

.featured_works input:checked + label {
  color: #555;
  border: 1px solid #ddd;
  border-top: 2px solid orange;
  border-bottom: 1px solid #fff;
}

.featured_works #tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5,
#tab6:checked ~ #content6,
#tab7:checked ~ #content7,
#tab8:checked ~ #content8,
#tab9:checked ~ #content9{
  display: block;
}

@media screen and (max-width: 650px) {
  .featured_works label {
    font-size: 10px;
  }

  .featured_works label:before {
    margin: 0;
    font-size: 18px;
  }
}
@media screen and (max-width: 400px) {
  .featured_works label {
    padding: 15px;
  }
}
