/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * 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;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * 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 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * 1. Remove the bottom border in Chrome 57- and 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;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * 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
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 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 and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 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 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * 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;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}


















/* -------------------------------- 

Primary style

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

html {
  font-size: 75%;
}

body {
  font-size: 1.3rem;
  font-family: "Open Sans", sans-serif;
  color: #3e454c;
  background-color: #ffffff;
}
body::after {
  clear: both;
  content: "";
  display: table;
}

a {
  color: #1784c7;
  text-decoration: none;
  outline: none;
}

input {
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;
}

footer {
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: right;
  margin-top: 50px;
  padding-top: 0.5rem;
  margin-left: 10%;
  padding-left: 3%;
  border-top: 1px dashed #ddd;
  color: #777;
}

footer a{
  color: #6188ae;
}

@media only screen and (min-width: 768px) {
  footer {
    font-size: 1rem;
    margin-left: 16%;
    padding-left: 6%;
    margin-right: -2%;
  }
}

#top-header h1{
  display: none;
}
#top-header h2{
  font-weight: 300;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.35;
  color: #999;
  margin-top: 2rem;
}
.item-title{
  font-weight: 600;
}
.item-title::after{
  content: '\a';
  white-space: pre;
}

.item-title .octicon{
  margin-left: 0.5rem;
}

.item-org, .item-proj-type{
  color: #e68b03;
}

.item-org-aux{
  color: #757575;
}

.item-misc{
   color: #666;
}

.item-dates{
  color: #888;
}

.item-misc + .item-dates, .item-org + .item-dates, .item-proj-type + .item-dates{
  margin-left: 0.5rem;
}

.item-misc-item + .item-dates{
  margin-left: 0.5rem;
}

.item-misc::after, .item-org::after, .item-proj-type::after{
  content: '|';
  color: #a8a8a8;
  margin-left: 0.8rem;
  position: relative;
  top: -1px;
}

.item-specialties{
  color: #8899aa;
  line-height: 1.3;
  display: block;
  margin: 0.4rem 0;
  font-size: 95%;
}

.item-specialties span, .item-edu-misc-item{
  white-space: nowrap;
}

.item-specialties span:not(:last-of-type)::after{
  content: '/';
  color: #d0d0d0;
  margin: auto 0.4rem;
  position: relative;
  top: -1px;
}

.item-details{
  font-size: 95%;
  color: #555;
}

.item-details li > ul{
  font-size: 95%;
}

.item-details li > ul > li{
  list-style-type: '\203a';
  margin-left: -0.8rem;
  padding-left: 0.4rem;
}


p.item-details{
  margin-top: 0; 
}

p.item-details:not(:first-of-type){
  margin-top: -0.6rem; 
}

.item-degree-name, .item-coursera{
  font-weight: 600;
}

.item-degree-name::after{
  content: '|';
  color: #a8a8a8;
  margin: auto 0.2rem auto 0.5rem;
  position: relative;
  top: -1px;
}

.item-degree-dept + .item-dates::before{
  content: '\a';
  white-space: pre;
}

.item-degree-inst::before{
  content: '|';
  color: #a8a8a8;
  margin: auto 0.4rem auto 0.1rem;
  position: relative;
  top: -1px;
}

.item-degree-inst{
  color: #e68b03;
}

:not(.edu-alt-format) .item-degree-inst::after{
  content: '\a';
  white-space: pre;
}

.item-edu-misc-container{
  font-size: 95%;
  display: inline-block;
}

.item-edu-misc-item{
  color: #8899aa;
}

.item-edu-misc-item:not(:last-of-type)::after{
  content: '|';
  color: #ccc;
  margin: auto 0.4rem;
  position: relative;
  top: -1px;
}

.item-edu-misc-item-title {
  color: #44607b;
}

.item-edu-masters-container{
  color: #666;
}

.item-edu-masters-container > span{
  display: block;
  margin-top: 1rem;
}

.item-edu-masters-container header{
  font-weight: 600;
  color: #444;
}

.item-edu-masters-container a, .item-details a:not(.plain){
  font-size: 90%;
  color: #3581A7;
  margin-left: 0.4rem;
  position: relative;
  top: -1px;
}

.item-edu-masters-container ul{
  line-height: 1.35;
}

.item-edu-masters-container li:not(:first-child){
  margin-top: 0.6rem;
}

.item-edu-masters-secondary{
  color: #aaa;
  font-size: 90%;
  position: relative;
  top: -1px;
  margin-left: 1px;
}

.item-edu-masters-secondary > code{
  font-family: 'Source Code Pro';
}

.edu-alt-format .item-degree-name::after{
  display: none;
}

.edu-alt-format .item-degree-inst::before{
  content: '\a';
  white-space: pre;
  margin: auto auto;
  position: static;
}

.coursera-list > li{
  list-style-type: none;
}

.coursera-legends{
  margin-left: 0.2rem;
  margin-top: 0.8rem !important;
  margin-bottom: 0;
  font-size: 80%;
  color: #484848;
  line-height: 1.55;
  display: block;
  padding-left: 1.1rem;
  position: relative;
}

.coursera-legends > div{
  position: absolute;
  left: -0.1rem;
  top: 0.3rem;
  height: calc(100% - 0.4rem);
  border-left: 1px solid #777;
}

.coursera-legend{
  display: block;
}

.coursera-legend > span:first-child{
  margin-right: 0.25rem;
}

.coursera-sa{
  color: #a0a0a0;
}

.coursera-sa-d{
  color: #7acaef;
}

.coursera-vc{
  color: #1784C7;
}

.coursera-sep{
  margin: 0.4rem auto -0.7rem !important;
}

.coursera-sep::after{
  content: ' \b7    \b7    \b7';
  white-space: pre;
  color: #ccc;
}

.coursera-stmt::before, .coursera-legend > span:first-child::before, .item-coursera-name a::before{
  font: normal normal normal 100% octicons;
  display: inline-block;
  text-decoration: none;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.item-coursera-name a::before{
  content: '\f07f';
}

.item-coursera-name a{
  color: #3581A7;
  font-size: 80%;
  vertical-align: middle;
  position: relative;
  top: -0.2rem;
  left: 0.3rem;
}

.item-coursera-name::after{
  content: '\a';
  white-space: pre;
}

.item-coursera-inst{
  color: #666;
  font-size: 90%;
}

.coursera-list .item-dates{
  font-size: 90%;
  line-height: 1;
  display: inline-block;
}

.item-coursera-inst::after{
  content: '\a';
  white-space: pre;
}

ul.coursera-list > li:not(.coursera-legends){
  position: relative; /* for placement of bookmarks */
}

.coursera-stmt-container{
  display: block;
  position: absolute;
  left: -1.4rem;
}

.coursera-stmt::before, .coursera-legend > span:first-child::before{
  content: '\f07b';
}

span.fine-print{
  font-size: 1rem;
  display: inline-block;
}

@media only screen and (min-width: 768px) {
  #top-header{
    position: relative;
    top: -2.4rem;
  }
  #top-header h1{
    text-transform: uppercase;
    font-weight: 300;
    font-size: 2.8rem;
    display: block;
    position: relative;
    left: -1.5px; /* alignment with "P" below */
    color: #555;
    margin: 0;
  }
  #top-header .eng-name{
    font-weight: 600;
    margin: auto 0.4rem;
  }
  #top-header h2{
    height: 3.3rem;
    margin: 0;
  }

  .edu-alt-format .item-degree-name::after{
    display: none;
  }

  .edu-alt-format .item-degree-inst::before{
    display: inline;
    content: '|';
    color: #a8a8a8;
    margin: auto 0.4rem auto 0.1rem;
    position: relative;
    top: -1px;
  }
  .item-coursera-inst::after{
    content: '|';
    color: #ccc;
    margin: auto 0.2rem auto 0.5rem;
    white-space: normal;
  }
}

@media only screen and (min-width: 1170px) {
  #top-header{
    top: -1.8rem;
  }
  #top-header h2{
    margin-top: 0.2rem;
  }  
  .item-dates-joinable::after{
    content: '|';
    color: #a8a8a8;
    margin: auto 0.7rem auto 0.8rem;
    position: relative;
    top: -1px;
  }
  .item-specialties-joinable{
    display: inline-block;
  }
}

/* -------------------------------- 

Main Page Content

-------------------------------- */
.in-page-link-target-offset {
  position: relative;
  top: -55px;
}

.cd-main-content .content-wrapper {
  padding: 45px 4% 20px;
  line-height: 1.45;
}
.cd-main-content .content-wrapper > h1 {
  font-size: 1.8rem;
  font-weight: 400;
  margin: 1.8em 0 0.4em;
}
.cd-main-content .content-wrapper > h1:first-of-type {
  margin-top: 0.8em;
}
.cd-main-content .content-wrapper ul {
  margin: 0 0;
  padding-left: 1.55rem;
}
.cd-main-content .content-wrapper > ul{
  padding-left: 1.65rem;
}
.content-wrapper > ul > li:not(:first-child){
  margin-top: 2rem;
}
.content-wrapper > ul.first-level-alt-list > li:not(:first-child){
  margin-top: 1rem;
}
.content-wrapper > ul > li > ul > li:not(:first-child){
  margin-top: 1rem;
}
.content-wrapper > ul > li > ul.second-level-alt-list > li:not(:first-child){
  margin-top: 0.75rem;
}
.content-wrapper > ul > li > ul > li:first-child{
  margin-top: 0.5rem;
}
.content-wrapper > ul > li > ul > li > ul > li:not(:first-child){
  margin-top: 0.5rem;
}
.content-wrapper > ul > li > ul > li > ul > li:first-child{
  margin-top: 0.25rem;
}
.cd-main-content::before {
  /* never visible - used to check MQ in jQuery */
  display: none;
  content: 'mobile';
}
@media only screen and (min-width: 768px) {
  .in-page-link-target-offset{
    top: -20px;
  }

  .cd-main-content .content-wrapper {
    padding-left: 40px;
    margin-left: 110px;
    line-height: 1.4;
  }
  .cd-main-content .content-wrapper > h1 {
    padding: 0;
    margin-top: 4rem;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
  }
  .cd-main-content .content-wrapper > h1:first-of-type {
    margin-top: -2px;
  }
  .cd-main-content::before {
    content: 'tablet';
  }
}
@media only screen and (min-width: 1170px) {
  .cd-main-content .content-wrapper {
    margin-left: 220px;
  }
  .cd-main-content::before {
    content: 'desktop';
  }
  .cd-main-content .content-wrapper > h1:first-of-type {
    margin-top: 24px;
  }  
}

/* -------------------------------- 

Header

-------------------------------- */
.cd-main-header {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  height: 45px;
  width: 100%;
  background: #3e454c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cd-main-header > section{
  color: white;
  text-transform: uppercase;
  padding: 9px 14px;
  font-size: 1.6rem;
}
.cd-main-header .eng-name{
  margin: auto 0.3rem;
}
.cd-main-header::after {
  clear: both;
  content: "";
  display: table;
}
@media only screen and (min-width: 768px) {
  .cd-main-header {
    position: fixed;
    height: 55px;
  }
}

.cd-nav-trigger {
  /* navigation trigger - visible on mobile devices only */
  float: right;
  position: relative;
  display: block;
  width: 34px;
  height: 44px;
  margin-right: 5%;
  /* hide text */
  overflow: hidden;
  white-space: nowrap;
  color: transparent;
}
.cd-nav-trigger span, .cd-nav-trigger span::before, .cd-nav-trigger span::after {
  /* hamburger icon in CSS */
  position: absolute;
  display: inline-block;
  height: 3px;
  width: 24px;
  background: #ffffff;
}
.cd-nav-trigger span {
  /* line in the center */
  position: absolute;
  top: 50%;
  right: 5px;
  margin-top: -2px;
  -webkit-transition: background 0.2s;
  -moz-transition: background 0.2s;
  transition: background 0.2s;
}
.cd-nav-trigger span::before, .cd-nav-trigger span::after {
  /* other 2 lines */
  content: '';
  right: 0;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-origin: 0% 50%;
  -moz-transform-origin: 0% 50%;
  -ms-transform-origin: 0% 50%;
  -o-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -webkit-transition: -webkit-transform 0.2s;
  -moz-transition: -moz-transform 0.2s;
  transition: transform 0.2s;
}
.cd-nav-trigger span::before {
  /* menu icon top line */
  top: -6px;
}
.cd-nav-trigger span::after {
  /* menu icon bottom line */
  top: 6px;
}
.cd-nav-trigger.nav-is-visible span {
  /* hide line in the center */
  background: rgba(255, 255, 255, 0);
}
.cd-nav-trigger.nav-is-visible span::before, .cd-nav-trigger.nav-is-visible span::after {
  /* keep visible other 2 lines */
  background: white;
}
.cd-nav-trigger.nav-is-visible span::before {
  -webkit-transform: translateX(4px) translateY(-3px) rotate(45deg);
  -moz-transform: translateX(4px) translateY(-3px) rotate(45deg);
  -ms-transform: translateX(4px) translateY(-3px) rotate(45deg);
  -o-transform: translateX(4px) translateY(-3px) rotate(45deg);
  transform: translateX(4px) translateY(-3px) rotate(45deg);
}
.cd-nav-trigger.nav-is-visible span::after {
  -webkit-transform: translateX(4px) translateY(2px) rotate(-45deg);
  -moz-transform: translateX(4px) translateY(2px) rotate(-45deg);
  -ms-transform: translateX(4px) translateY(2px) rotate(-45deg);
  -o-transform: translateX(4px) translateY(2px) rotate(-45deg);
  transform: translateX(4px) translateY(2px) rotate(-45deg);
}
@media only screen and (min-width: 768px) {
  .cd-main-header {
    display: none;
  }
/*
  .cd-nav-trigger {
    display: none;
  }
*/
}

/* -------------------------------- 

Sidebar

-------------------------------- */
.cd-side-nav {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  padding: 0;
  background-color: #2c3136;
  visibility: hidden;
  opacity: 0;
  max-height: 100vh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  -moz-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  transition: opacity 0.2s 0s, visibility 0s 0.2s;
}
.cd-side-nav.nav-is-visible {
  position: fixed;
  opacity: 1;
  visibility: visible;
  overflow: visible;
  -webkit-overflow-scrolling: touch;
  -webkit-transition: opacity 0.2s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.2s 0s, visibility 0s 0s;
  transition: opacity 0.2s 0s, visibility 0s 0s;
  max-height: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.cd-side-nav > section {
  padding: 49px 0 7px;
  text-align: center;
  font-size: 1.2rem;
  background-color: rgba(128,128,128,0.1);
  line-height: 2.2;
}
.cd-side-nav-specgrp{
  white-space: nowrap;
  width: 100%;
  overflow-x: hidden;
}
.cd-side-nav-specgrp > a {
  font-family: 'Source Code Pro';
  font-size: 1.3rem;
  display: inline-block;
  text-decoration: none;
  color: hsl(203, 60%, 55%);
  -webkit-transition: color 0.2s;
  -moz-transition: color 0.2s;
  transition: color 0.2s;
  margin: auto auto;
  text-align: left;
}
.cd-side-nav-specgrp > a:nth-of-type(odd) {
  padding-left: 5%;
  width: 60%;
}
.cd-side-nav-specgrp > a:nth-of-type(even) {
  padding-left: 5%;
  width: 40%;
}
.cd-side-nav-specgrp .mega-octicon{
  display: none;
}
.cd-side-nav-specgrp > a:hover {
  color: hsl(203, 65%, 40%);
}
#cd-side-nav-specgrp-linkedin{
  display: none;  
}
.cd-side-nav > ul {
  padding: 0;
  margin: 0;
}
.cd-side-nav > ul a {
  display: block;
  padding: 0.6em 5%;
  position: relative;
  color: #ffffff;
  font-size: 1.4rem;
}
.cd-side-nav > ul a:hover{
    background-color: #33383e;
}

.cd-side-nav ul.cd-top-nav > li:last-of-type{
  border-bottom: none;
}
.cd-side-nav > ul > li{
  border-bottom: 1px solid #373d44;
  overflow: hidden;
}



@media only screen and (min-width: 768px) {
  .cd-side-nav {
    position: relative;
    float: left;
    top: auto;
    width: 120px;
    min-height: 100vh;
    /* reset style */
    visibility: visible;
    opacity: 1;
    overflow: visible;
    max-height: none;
  }
  .cd-side-nav > section{
    padding: 13px 0 19px;
  }  
  .cd-side-nav.nav-is-visible {
    position: relative;
    box-shadow: none;
  }
  .cd-side-nav.is-fixed {
    position: fixed;
  }
  .cd-side-nav-specgrp:first-of-type{
    margin-top: 8px;
  }
  .cd-side-nav-specgrp .mega-octicon{
    display: inline;
  }
  .cd-side-nav-specgrp .mega-octicon::before{
    font-size: 80%;
  } 
  .cd-side-nav-specgrp a{
    font-size: 0;
    text-align: center;
  }
  .cd-side-nav-specgrp > a:nth-of-type(odd){
    width: 50%;
    padding-left: 10%;
  }
  .cd-side-nav-specgrp > a:nth-of-type(even){
    width: 50%;
    padding-left: 0;
    padding-right: 15%;
  }
  #cd-side-nav-specgrp-linkedin{
    font-family: 'Source Sans Pro';
    font-size: 2rem;
    display: inline-block;
    line-height: 0;
  }  
  .cd-side-nav > ul {
    /* reset style */
    padding: 0;
  }
  .cd-side-nav > ul a {
    font-size: 1.2rem;
    text-align: center;
  }
  .cd-side-nav > ul li::after {
    position: absolute;
    top: calc(50%);
    right: 0;
    content: ' ';
    display: block;
    width: 0; 
    height: 0; 
    border-top: 0rem solid transparent;
    border-bottom: 0rem solid transparent; 
    border-right: 0rem solid white;
    transition: all 0.2s ease-in-out;
  }
  .cd-side-nav > ul li.current::after {
    top: calc(50% - 0.35rem);
    border-top-width: 0.7rem;
    border-bottom-width: 0.7rem; 
    border-right-width: 0.7rem;
  }
  .cd-side-nav > ul > li{
    position: relative;
    height: 5rem;
  }
  .cd-side-nav > ul > li:hover{
    background-color: #33383e;
    cursor: pointer;
  }
  .cd-side-nav > ul > li > a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);    
  }
}
@media only screen and (min-width: 1170px) {
  .cd-side-nav {
    width: 220px;
  }
  .cd-side-nav > section{
    padding: 18px 0 16px;
    white-space: nowrap
  }
  .cd-side-nav-specgrp{
    width: 50%;
    display: inline-block;
    margin-bottom: 6px;
  }
  .cd-side-nav-specgrp:first-of-type{
    padding-left: 6%;
    padding-right: 2%;
  }
  .cd-side-nav-specgrp:last-of-type{
    padding-left: 1%;
    padding-right: 9%;
  }
  .cd-side-nav-specgrp > a:nth-of-type(odd),
  .cd-side-nav-specgrp > a:nth-of-type(even){
    padding-right: 0;
    padding-left: 0;
  }
  .cd-side-nav > ul {
    padding: 0;
  }
  .cd-side-nav > ul > li > a {
    padding: 1em 1.8em;
    text-align: left;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transform: none;
    font-size: 1.3rem;
  }
  .cd-side-nav > ul a:hover {
    background-color: transparent;
  }
  .cd-side-nav > ul > li{
    position: relative;
    height: 4.5rem;
  }
  .cd-side-nav > ul li.current::after {
    top: calc(50% - 0.4rem);
    border-top-width: 0.8rem;
    border-bottom-width: 0.8rem;
    border-right-width: 0.8rem;
  }
  .cd-side-nav > ul > li:hover{
    background-color: #3a3f45;
    cursor: pointer;
  }
}
