@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700");
@import url("https://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css");

a {
text-decoration: none;
}

a:link {
color: DodgerBlue;
}

/* visited link */
a:visited {
color: DodgerBlue ;
}

/* mouse over link */
a:hover {
color: red;
}




#navigation ul {
list-style: none;
margin: 0;
padding: 0;
}

#navigation li {
background: #ccc;
border-left: 1px solid #999;
float: left;
margin: 0;
padding: 0;
}

#navigation a {
color: #666;
font-weight: bold;
padding: 5px 10px;
text-decoration: none;
}

#navigation a:hover {
color: #333;
}

#navigation #currentpage a {
background: #fff;
color: #333;
}










*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
overflow-y: overlay;
}

body {
  font: 14px/1 'Open Sans', sans-serif;
  color: #555;
  background: #eee;
}

h1 {
  padding: 50px 0;
  font-weight: 400;
  text-align: center;
}

p {
  margin: 0 0 20px;
  line-height: 1.5;
}

main {
  min-width: 320px;
  max-width: 800px;
  padding: 50px;
  margin: 0 auto;
  background: #fff;
}

section {
  display: block;
  padding: 20px 20px 0;
  max-width: 700px;
  border-top: 1px solid #ddd;
}

input {
  display: none;
}

label {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  color: #bbb;
  border: 1px solid transparent;
}

label:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}

label[for*='1']:before {
  content: '\f015';
}

label[for*='2']:before {
  content: '\f02d';
}

label[for*='3']:before {
  content: '\f110';
}

label[for*='4']:before {
  content: '\f19c';
}

label[for*='5']:before {
  content: '\f19d';
}

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

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

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5, {
  display: block;
}

@media screen and (max-width: 650px) {
  label {
    font-size: 0;
  }

  label:before {
    margin: 0;
    font-size: 18px;
  }
}
@media screen and (max-width: 400px) {
  label {
    padding: 15px;
  }
}












#navbar #currentpage {
  color: #555;
  border: 1px solid #ddd;
  border-top: 2px solid orange;
  border-bottom: 1px solid #fff;
}

#navbar #currentpage + div {
display:block;
}


#navbar a {
  display: inline-block;
  margin: 0 0 -1px;
  padding: 15px 25px;
  font-weight: 600;
  text-align: center;
  color: #bbb;
  border: 1px solid transparent;
  text-decoration: none;
}

#navbar a:before {
  font-family: fontawesome;
  font-weight: normal;
  margin-right: 10px;
}

#navbar a[for*='1']:before {
  content: '\f015';
}

#navbar a[for*='2']:before {
  content: '\f02d';
}

#navbar a[for*='3']:before {
  content: '\f110';
}

#navbar a[for*='4']:before {
  content: '\f19c';
}

#navbar a[for*='5']:before {
  content: '\f19d';
}

#navbar a:hover {
  color: #888;
  cursor: pointer;
}

#subnavbar {
display:none;
border-top: 1px solid #ddd;
}

li {
   margin:0 0 6px 0;   
}