/* met font */
@font-face{font-family:'SimplonBP-Regular';src:url(../font/SimplonNorm-Regular-WebS.woff) 
  format("woff"),url(../font/Simplon_BP_Regular_1.ttf) format("truetype")}
  * {
    font-family:'SimplonBP-Regular';
  }
  /* css needed for top menu */
  .navbar {
    display: block;
    width: 100%;
    height: 3.1rem;
    background: #fff;
    z-index: 99; }
  .navbar > .container {
    width: 100%; }
  .navbar-link {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 35px;
    text-decoration: none;
    line-height: 3.5rem;
    color: #222; }
  .navbar-link.active {
    padding:6px;
    border-radius: 4px;
    border-top: 2px solid #8BD2E0;
    border-left: 2px solid #8BD2E0;
    border-right: 2px solid #8BD2E0;
    border-bottom: 4px solid white;
  }
  /*Hides the menu Icon which will show when the nav needs to be responsive*/
  .navbar .icon{
    display: none;
  }

/*Set your custom screen width here replacing 700*/
@media (max-width: 700px){
  /*Ignores the first link (which is Home) in the div and       applies 'display = none' to everything else.   Basically hiding everything but Home*/
    .navbar a:not(:first-child){
      display: none;
    }
  /*Brings the menu icon into view and floats it to the right*/
    .navbar a.icon{
      display: block; 
      float: right;
      text-decoration: none;
    }
  /*The navBar class will be changed to 'navBar responsive' using JS. This chunk of CSS makes the menu icon stay where it is by making the position absolute within it's parent 'right top corner'. Without this, the icon will get kicked around when the items are collapsed and expanded*/
    .navbar.responsive {
      position: relative;
    }
    .navbar.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
    }
  /*Removes the originally set float and brings them to view*/
    .navbar.responsive a {
      float: none;
      display: block;
      text-align: left;
      background: #fff;
    }
  }
  
  /* line for below menu */
  .spacer-line {
    display: block;
    width: 100%;
    background: #fff;
    z-index: 99;
    border-top: 2px solid #8BD2E0; }
  /* css needed for sub menu */
  .subbar {
    display: block;
    width: 100%;
    height: 3.0rem;
    background: #fff;
    z-index: 99; }
  .subbar a {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .2rem;
    color: #0090a8;
    margin-right: 35px;
    line-height: 3.0rem;
    text-decoration: none;
  }
  .subbar-link {
    font-weight: 500; 
  }
  .subbar-link.active {
    color: #015b69;
    font-weight: bold;
  }
  .sub-menu a:hover {
    color: #8BD2E0;
  }
  /* other small changes */
  table {
    table-layout: fixed;
    width: 100%;
  }
  td {
    word-wrap: break-word;
  }
  /* zig zag line in met colours */ 
  .zig-zag {
    border: none;
    width: 100%;
    margin: auto;
    margin-top: 2%;
    margin-bottom: 2%;
    height: 10px;
    background: linear-gradient(135deg, white 25%, transparent 25%) -5px 0,
    linear-gradient(225deg, white 25%, transparent 25%) -5px 0,
    linear-gradient(315deg, white 25%, transparent 25%),
    linear-gradient(45deg, white 25%, transparent 25%);
    background-size: 10px 10px;
    background-color: #dbf4fa;
  }
  /*
  @font-face {
    font-family: 'alaskannightsregular';
    src: url('../fonts/alaskannights-webfont.woff2') format('woff2'),
         url('../fonts/alaskannights-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }*/

#code-examples {
  margin: 30px auto;
  position:relative;
}

input[type=radio] {
  display: none;
}

.content {
  height: 300px;
  background-color: #eee;
  display: block;
  z-index: 1;
  opacity: 0;
}

.tab {
  display:inline-block;
}

.tab label {
  background: #eee;
  color: gray;
  padding: 10px 10px 4px 10px;
  border: 1px solid #ccc;
  border-bottom: none;
  margin-left: -1px;
  position: relative;
  left: 1px;
  cursor:pointer;
}

.tab [type=radio] {
  display: none;
}

.content {
  position: absolute;
  top: 34px;
  left: 0;
  background: white;
  right: 0;
  bottom: 0;
  padding: 20px;
  border: 1px solid #ccc;
  transition: opacity 1s;
}

[type=radio]:checked ~ label {
  background-color: white;
  color:  black;
  z-index: 20;
}

[type=radio]:checked ~ .content {
  z-index: 12;
  opacity: 1.0;
  transition: opacity 1s;
}