@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700");
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
*, *:before, *:after {
  /* margin: 0;
   padding: 0; */
  
}

html, body {

}

body {

}

main {
  /* min-width: 320px; */
  width: 100%;
  min-height: 250px;
}

main #main-content section {
  display: none;
    -webkit-transition: all 5s ease 0s;
    -moz-transition: all 5s ease 0s;
    -o-transition: all 5s ease 0s;
    -ms-transition: all 5s ease 0s;
    transition: all 5s ease 0s;
}

main input {
  display: none;
}

main label {
  
}

.tab-label {
	display: inline-block;
  /* padding: 5px 5px; */
  text-align: center;
  color: #696b7e;
  border: 0.1vw solid #696b7e;
   float: left;
   padding: 0.5% 2%;
   margin: 2.75% 1%;
}
 
main label:before {
  font-family: fontawesome;
  font-weight: normal;
  /* margin-right: 10px; */
}

main label[for*='1']:before {
  /* content: '\f1cb'; */
  /* content: '\00BB'; */
}

main label[for*='2']:before {
  /* content: '\f17d'; */
  /* content: '\00BB'; */
}

main label[for*='3']:before {
  /* content: '\f16b'; */
  /* content: '\00BB'; */
}

main label[for*='4']:before {
  /* content: '\f1a9'; */
  /* content: '\00BB'; */
}

main label:hover {
  color: #888;
  cursor: pointer;
}

main input:checked + label {
  /*
  color: #555;
  border: 1px solid #ddd;
  border-top: 2px solid orange;
  border-bottom: 1px solid #fff;
  */
}

main input:checked + .tab-label {
  color: #fff;
  background: #696b7e;
}

main #tab1:checked ~ #main-content #content1,
main #tab2:checked ~ #main-content #content2,
main #tab3:checked ~ #main-content #content3,
main #tab4:checked ~ #main-content #content4 {
  display: block;
}

@media screen and (max-width: 767px) {
  main label {
    font-size: 2.75vw;
	padding: 0.75% 1.5%;
  }

  main label:before {
    margin: 0;
    font-size: 2.75vw;
  }
  
  .tab-label {
	margin: 2.25% 1%;
  }
}
@media screen and (max-width: 480px) {
  main label {
    font-size: 3vw;
	padding: 0.75% 1.5%;
  }
}
