/**
 * code-club.css
 *
 * Code Club Style Guide - A collection of UI components for styling Code Club websites
 * @version v1.0.61
 * @link https://styleguide.codeclubworld.org/
 */
/*
  These styles try to follow the ITCSS philosophy for organising styles, by csswizrdry.com
  http://www.creativebloq.com/web-design/manage-large-scale-web-projects-new-css-architecture-itcss-41514731?page=1
*/
/*! normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/**
 * Remove the margin in all browsers (opinionated).
 */
body {
  margin: 0; }

/* HTML5 display definitions
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 * 2. Add the correct display in IE.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  /* 1 */
  display: block; }

/**
 * Add the correct display in IE 9-.
 */
audio,
canvas,
progress,
video {
  display: inline-block; }

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0; }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline; }

/**
 * Add the correct display in IE 10-.
 * 1. Add the correct display in IE.
 */
template,
[hidden] {
  display: none; }

/* Links
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent; }

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */
a:active,
a:hover {
  outline-width: 0; }

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */ }

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
  font-weight: inherit; }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
  font-style: italic; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/**
 * Add the correct background and color in IE 9-.
 */
mark {
  background-color: #ff0;
  color: #000; }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10-.
 */
img {
  border-style: none; }

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden; }

/* Grouping content
   ========================================================================== */
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * Add the correct margin in IE 8.
 */
figure {
  margin: 1em 40px; }

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */ }

/* Forms
   ========================================================================== */
/**
 * Change font properties to `inherit` in all browsers (opinionated).
 */
button,
input,
select,
textarea {
  font: inherit; }

/**
 * Restore the font weight unset by the previous rule.
 */
optgroup {
  font-weight: bold; }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 * 2. Show the overflow in Edge, Firefox, and IE.
 */
button,
input,
select {
  /* 2 */
  overflow: visible; }

/**
 * Remove the margin in Safari.
 * 1. Remove the margin in Firefox and Safari.
 */
button,
input,
select,
textarea {
  /* 1 */
  margin: 0; }

/**
 * Remove the inheritence of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritence of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none; }

/**
 * Change the cursor in all browsers (opinionated).
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer; }

/**
 * Restore the default cursor to disabled elements unset by the previous rule.
 */
[disabled] {
  cursor: default; }

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */ }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
input:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * Correct the odd appearance of search inputs in Chrome and Safari.
 */
[type="search"] {
  -webkit-appearance: textfield; }

/**
 * Remove the inner padding and cancel buttons in Chrome on OS X and
 * Safari on OS X.
 */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

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


html {
  background: #fff;
  font-size: 14px;
  height: 100%;
  width: 100%; }

body {
  color: #000;
  font-family: Roboto, Verdana, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.375;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
          text-size-adjust: 100%;
  width: 100%; }

h2 {
  font-size:24px;
  line-height:30px;
}
h4 {
  font-size:1.15em;
  margin-bottom:0.8em;
}

ul {
  list-style: square;
  padding-left:1.2em;
}

dt {
  font-weight: bold;
}

.right-align {
  text-align: right;
}

.o-nav {
  border-bottom:1px solid #ccc;
}
.o-nav__container {
  margin: 0 auto;
  max-width: 87rem;
  position:relative;
  padding:30px 15px;
}

.u-clearfix:after {
  content: "";
  display: table;
  clear: both; }

.c-logo__image {
  width:35px;
  float:left;
}
.c-logo__appendix {
  float:left;
  text-indent:10px;
  font-size:1.28em;
  line-height:45px;
  font-weight:600;
  color:#000;
}

.o-nav {
  width:100%;
  position:fixed;
  top:0;
  left:0;
  background:#fff;
  background:rgba(255,255,255,0.95);
  z-index:10;
}


.o-nav__list-container {
  position:absolute;
  right:5px;
  top:30px;
}
.o-nav__list {
  margin:0;
  list-style:none;
}
.o-nav__item.menu a {
  background:url(/archive/20170609073031oe_/https://www.raspberrypi.org/curriculum/assets/images/menu.svg) no-repeat center center;
  background-size:20px 15px;
  text-indent:-9999em;
  display:block;
  width:45px;
  height:45px;
  /*border:1px solid #c7053d;*/
}

.block {
  list-style:none;
  border-top:1px solid #ccc
}
.block a {
  display:block;
  padding:1em;
  text-decoration:none;
}
.block h4 {
  margin-top:0;
}
.block a p {
  color:#000;
  margin:0;
}
.block a:hover,
.block a:focus {
  background:#eee;
}
.block li {
  border-bottom:1px solid #ccc
}

a {
  cursor:pointer;
  color:#c7053d;
}
a:hover,a:focus {
  color:black;
}

.feature {
  color:#fff;
  background-repeat:no-repeat;
  background-position:0 center;
  background-size:45px 45px;
  padding:12px 0 12px 45px;
  font-weight:400;
  margin:0;
}
.feature.programming {
  background-color:#9a6faa;
  background-image:url(/archive/20170609073031oe_/https://www.raspberrypi.org/curriculum/assets/images/icon-programming.svg);
}
.feature.physical-computing {
  background-color:#15bcac;
  background-image:url(/archive/20170609073031oe_/https://www.raspberrypi.org/curriculum/assets/images/icon-physicalcomputing.svg);
}
.feature.design {
  background-color:#ffbd5c;
  background-image:url(/archive/20170609073031oe_/https://www.raspberrypi.org/curriculum/assets/images/icon-design.svg);
}
.feature.manufacture {
  background-color:#f27b5c;
  background-image:url(/archive/20170609073031oe_/https://www.raspberrypi.org/curriculum/assets/images/icon-manufacture.svg);
}
.feature.community-and-sharing {
  background-color:#51a4dc;
  background-image:url(/archive/20170609073031oe_/https://www.raspberrypi.org/curriculum/assets/images/icon-community.svg);
}

.content-image {
  width: 100%;
}

.nav-grid {
  list-style:none;
  padding:0;
  margin:0;
}
.nav-grid li {
  border-top:1px solid #ccc;
  margin:0;
}
.nav-grid li:first-child {
  border:0;
}
.nav-grid a {
  display:block;
  color:#000;
  text-decoration: none;
  padding:15px 35px 15px 90px;
  background:#fff url(/archive/20170609073031oe_/https://www.raspberrypi.org/curriculum/assets/images/arrow-right-grey.svg) no-repeat right center;
  background-size:25px 16px;
}
.nav-grid a:hover,
.nav-grid a:focus,
.nav-grid a:active {
  background-color:#eee;
  color:#000;
}
.nav-grid h5 {
  font-size:1em;
  float:left;
  margin:0 0 0 -80px;
  width:80px;
}
.nav-grid p {
  margin:0;
}

.o-main {
  margin-top:106px;
}
.o-main.content {
  padding:15px;
}

.o-main.programming .icon {
  background-image:url(/archive/20170609073031oe_/https://www.raspberrypi.org/curriculum/assets/images/icon-programming.svg);
  background-color:#9a6faa;
}
.o-main.programming .message {
  background-color:#ebe3ef;
}
.o-main.physical-computing .icon {
  background-image:url(/archive/20170609073031oe_/https://www.raspberrypi.org/curriculum/assets/images/icon-physicalcomputing.svg);
  background-color:#15bcac;
}
.o-main.physical-computing .message {
  background-color:#d3f2ee;
}
.o-main.design .icon {
  background-image:url(/archive/20170609073031oe_/https://www.raspberrypi.org/curriculum/assets/images/icon-design.svg);
  background-color:#ffbd5c;
}
.o-main.design .message {
  background-color:#fff2e0;
}
.o-main.manufacture .icon {
  background-image:url(/archive/20170609073031oe_/https://www.raspberrypi.org/curriculum/assets/images/icon-manufacture.svg);
  background-color:#f27b5c;
}
.o-main.manufacture .message {
  background-color:#fce4de;
}
.o-main.community-and-sharing .icon {
  background-image:url(/archive/20170609073031oe_/https://www.raspberrypi.org/curriculum/assets/images/icon-community.svg);
  background-color:#51a4dc;
}
.o-main.community-and-sharing .message {
  background-color:#ddedf8;
}

.icon {
  display:inline-block;
  width:30px;
  height:30px;
  border-radius:15px;
  background-repeat:no-repeat;
  background-position: center center;
  background-size:100% 100%;
  margin-bottom:-6px;
  margin-right:5px;
}
.message {
  padding:1px 0.6em;
  font-size:1.15em;
}

.nav-menu {
  border:1px solid #ccc;
  border-right:0;
  display:flex;
  flex-wrap: wrap;
  align-items: justify;
  list-style:none;
  padding:0;
  margin-bottom:2em;
}
.nav-menu li {
  flex-grow:1;
}
.nav-menu li a {
  display:block;
  text-decoration:none;
  text-align: center;
  padding:1em 0;
  border-right:1px solid #ccc;
  color:#000;
}
.nav-menu li a:hover,
.nav-menu li a:focus,
.nav-menu li a:active {
  background:#eee;
}
.nav-menu li.current-page {
  font-weight:500;
}

.o-footer {
  background:#333;
  color:#ccc;
  padding:30px 15px;
}
.o-footer a {
  color:#ccc;
  margin-right:.5em;
}
.o-footer a:hover,
.o-footer a:focus {
  color:#fff;

}
.c-def-list {
  margin-bottom: 16px;
  list-style:none; }

.c-def-list li {
  border-top:1px solid #ccc;
  overflow:hidden;
  padding:0.5em 0 0.5em 6em;
}

.c-def-list__term {
  font-weight:500;
  float: left;
  margin-left:-6em;
  width: 6em; }

.c-grid, .c-image-list-item {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: row wrap;
      flex-flow: row wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 0 auto;
  max-width: 88.5rem;
  padding: 0 5%;
  padding:0; }

.c-grid--h-start {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start; }

.c-grid--h-center, .c-image-list-item {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

.c-grid--h-end {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end; }

.c-grid--h-between {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between; }

.c-grid--h-around {
  -ms-flex-pack: distribute;
      justify-content: space-around; }

.c-grid--v-top {
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start; }

.c-grid--v-center, .c-image-list-item {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; }

.c-grid--v-bottom {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end; }

.c-grid--v-stretch {
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch; }

.c-grid--v-baseline {
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline; }

.c-col, .c-image-list--image-area,
.c-image-list--text-area {
  -webkit-box-flex: 1;
      -ms-flex: 1 0 100%;
          flex: 1 0 100%;

  max-width: 100%; }

.c-col--top {
  -ms-flex-item-align: start;
      align-self: flex-start; }

.c-col--center {
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center; }

.c-col--bottom {
  -ms-flex-item-align: end;
      align-self: flex-end; }

.c-col--stretch {
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch; }

.c-col--baseline {
  -ms-flex-item-align: baseline;
      align-self: baseline; }

@media only screen and (min-width: 37.5rem) {
  .c-col, .c-image-list--image-area,
  .c-image-list--text-area {
    -webkit-box-flex: 0;
        -ms-flex-positive: 0;
            flex-grow: 0;
    -ms-flex-negative: 1;
        flex-shrink: 1;
    margin: 2vw 2%; }
  .c-col--1 {
    -ms-flex-preferred-size: 21%;
        flex-basis: 21%;
    max-width: 21%; }
  .c-col--2, .c-image-list--image-area {
    -ms-flex-preferred-size: 29%;
        flex-basis: 29%;
    max-width: 29%; }
  .c-col--3,
  .c-col--4 {
    -ms-flex-preferred-size: 46%;
        flex-basis: 46%;
    max-width: 46%; }
  .c-col--5,

  .c-image-list--text-area,
  .c-col--7,
  .c-col--8,
  .c-col--9,
  .c-col--10,
  .c-col--11,
  .c-col--12 {
    -ms-flex-preferred-size: 96%;
        flex-basis: 96%;
    max-width: 96%; }

  .c-col--6, .c-image-list--text-area {
    -ms-flex-preferred-size: 48%;
        flex-basis: 48%;
    max-width: 48%; }

  .c-col--fifth {
    -ms-flex-preferred-size: 96%;
        flex-basis: 96%;
    max-width: 96%;
  }

   body {
    font-size:16px;
  }

  .c-logo__appendix {
    font-size: 18px;
  }

  .nav-grid a {
    padding-left:110px;
  }
  .nav-grid h5 {
    width:;
    margin-left:-100px;
  }

  .o-main,.o-main.content {
    padding:2em 0;
  }
  .content h2 {
    margin:0.5em 0 0.5em 0;
  }
  .nav-menu {
    margin:0 0 1em 0;;
  }

  .c-def-list li {
    padding:0.8em 0 0.8em 10em; }
  .c-def-list__term {
    margin-left:-10em;
    width: 10em; }


}

@media only screen and (min-width: 54rem) {
  .c-grid, .c-image-list-item {
    padding: 0 5%; }
  .c-col, .c-image-list--image-area,
  .c-image-list--text-area {
    margin: 1vw 0%; }
  .c-col--1 {
    -ms-flex-preferred-size: 6%;
        flex-basis: 6%;
    max-width: 6%; }
  .c-col--2, .c-image-list--image-area {
    -ms-flex-preferred-size: 14.5%;
        flex-basis: 14.5%;
    max-width: 14.5%; }
  .c-col--3 {
    -ms-flex-preferred-size: 23%;
        flex-basis: 23%;
    max-width: 23%; }
  .c-col--4 {
    -ms-flex-preferred-size: 31%;
        flex-basis: 31%;
    max-width: 31%; }
  .c-col--5 {
    -ms-flex-preferred-size: 39.5%;
        flex-basis: 39.5%;
    max-width: 39.5%; }

  .c-col--7 {
    -ms-flex-preferred-size: 56%;
        flex-basis: 56%;
    max-width: 56%; }
  .c-col--8 {
    -ms-flex-preferred-size: 64.5%;
        flex-basis: 64.5%;
    max-width: 64.5%; }
  .c-col--9 {
    -ms-flex-preferred-size: 73%;
        flex-basis: 73%;
    max-width: 73%; }
  .c-col--10 {
    -ms-flex-preferred-size: 81%;
        flex-basis: 81%;
    max-width: 81%; }
  .c-col--11 {
    -ms-flex-preferred-size: 89.5%;
        flex-basis: 89.5%;
    max-width: 89.5%; }
  .c-col--12 {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    max-width: 100%; }

  .o-nav__container {
    padding:30px 5%;
  }

  .o-nav__list-container {
    right:5%;
  }

  ul {
    padding-left:0;
  }

  .content h2 {
    margin:0em 0 0.5em 0;
    font-size:30px;
  }
  .content h2 span {
    width:45px;
    height:45px;
    border-radius:22.5px;
    position:relative;
    top:5px;
  }

  .message {
    padding:1px 1em;
    margin-left:-15px;
    margin-right:-15px;
  }

  .c-def-list li {
    padding:1em 0 1em 12em; }
  .c-def-list__term {
    margin-left:-12em;
    width: 12em; }

}

@media only screen and (min-width: 63rem) {

  .c-col--fifth {
      margin:0;
    -ms-flex-preferred-size: 20%;
        flex-basis: 20%;
    max-width: 20%;
  }

    .nav-grid {
    font-size:14px;
  }

  .feature {
    font-size:14px;
    padding-left:45px;
    border-left:1px solid #fff;
  }
  .nav-grid a {
    background-image:none;
    padding:10px 10px;
    border-left:1px solid #ccc;
    min-height:9em;
  }
  .c-grid .c-col:first-child .nav-grid a {
    border:none;
  }

  .nav-grid h5 {
    font-size:1em;
    float:none;
    margin:0 0 0.5em ;
    width:auto;
  }

}
