/* tabs style */
#header a {
    /*transition: all 0.3s;*/
    font-size: 1em;
    text-decoration: none;
}
#header a:hover {
    color: #0062dd;
}

#header div.dropdown span a {font-size: 0.6em;}

#header  .indextabbed {
    padding-bottom: 16px;
}
#header  .tabbed {
    padding-bottom: 16px;
    border-bottom: 1px solid #ccc;
}

#header  .tabbed [type="radio"] {
    /* hiding the inputs */
    display: none;
}

#header  .tabs {
    display: flex;
    align-items: stretch;
    list-style: none;
    padding: 0;
    border-bottom: 1px solid #ccc;
}
#header  .trail {
    display: flex;
    align-items: stretch;
    list-style: none;
    font-size: 1.2em;
}
#header .trail a {font-family:"Merriweather";}
#header  .tab > label {
    display: block;
    margin-bottom: -1px;
    padding: 2px 10px;
    border: 1px solid #ccc;
    border-radius: 3px 3px 0 0;
    /*background: #fff;*/
    letter-spacing: 1px;
    cursor: pointer;	
    /*transition: all 0.3s;*/
    font-size: 1.1em;
}
#header  .tab:hover label {
    /*
    border-top-color: #333;
    color: #333;
    margin: inherit;
    */
}

#header  .tab-content {
    display: none;
    color: #777;
    padding: 0 12px;
}
#header  .tab-content > div {
    margin-bottom: 10px;
    margin-top: 10px;
}
#header label.btn{
    border: 1px solid #bebebe;
    border-radius: 4px;
    padding: 2px 4px;
    margin-left: 4px;
    box-shadow: 0 1px 5px 0 rgba(0,0,0,0.2), 0 0px 0px 0 rgba(0,0,0,0.19);
}

#header .tab {margin-right:3px;}

/* As we cannot replace the numbers with variables or calls to element properties, the number of this selector parts is our tab count limit */
#header  .tabbed [type="radio"]:nth-of-type(1):checked ~ .tabs .tab:nth-of-type(1) label,
#header  .tabbed [type="radio"]:nth-of-type(2):checked ~ .tabs .tab:nth-of-type(2) label,
#header  .tabbed [type="radio"]:nth-of-type(3):checked ~ .tabs .tab:nth-of-type(3) label,
#header  .tabbed [type="radio"]:nth-of-type(4):checked ~ .tabs .tab:nth-of-type(4) label {
    border-bottom-color: #fff;
    background: #eee;
    color: #222;
}

#header  .tabbed [type="radio"]:nth-of-type(1):checked ~ .tab-content:nth-of-type(1),
#header  .tabbed [type="radio"]:nth-of-type(2):checked ~ .tab-content:nth-of-type(2),
#header  .tabbed [type="radio"]:nth-of-type(3):checked ~ .tab-content:nth-of-type(3),
#header  .tabbed [type="radio"]:nth-of-type(4):checked ~ .tab-content:nth-of-type(4) {
    display: block;
}

/* simple dropdown menu */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  padding: 12px 16px;
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
  z-index: 20000;
  left: -40px;
  width: max-content;
}

/*.tabbed [type="radio"]:checked ~ .tab-content {
    display: block;
}*/
/*  
        [type=radio][name="tab-group-enlarge"][id="tab-80"]:checked ~ label[for="tab-80"] {
          background: white;
        }
        [type=radio][name="tab-group-enlarge"][id="tab-80"]:checked ~ label ~ div img {
          width:80%;
        }
        [type=radio][name="tab-group-enlarge"][id="tab-90"]:checked ~ label[for="tab-90"] {
          background: white;
        }
        [type=radio][name="tab-group-enlarge"][id="tab-90"]:checked ~ label ~ div img {
          width:90%;
        }
        [type=radio][name="tab-group-enlarge"][id="tab-100"]:checked ~ label[for="tab-100"] {
          background: white;
        }
        [type=radio][name="tab-group-enlarge"][id="tab-100"]:checked ~ label ~ div img {
          width:100%;
        }*/