body {
  font-family: Montserrat, sans-serif;
  color: #232323;
}

p {
  font-size: 16px;
  line-height: 20px;
  margin: 14px 0;
}

p.extra-margin {
  margin: 30px 0;
}

a {
  color: #4D9CC9;
  text-decoration: none;
  font-weight: bold;
}

a.button {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  padding: 5px 14px;
  background: #096d9e;
  transition: background 0.5s;
}

a.button:hover {
  background: #4E9CCA;
}

button {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  padding: 5px 8px;
  margin: 10px 0;
  background: #651056;
  border: none;
}

span.highlight {
  font-weight: 700;
}

.page-node-type-lesson span.highlight,
.page-node-type-grammar span.highlight,
.blue-highlights span.highlight {
  color: #4D9CC9;
}

span.translation {
  font-style: italic;
}

hr {
  border: none;
  border-bottom: 1px solid #c9c9c9;
  margin: 30px 0;
}

h1.page-title, #block-inuitlanguagemap h2, h2.lesson-header, h2.lesson-header a {
  color: #922349;
  font-weight: normal;
  font-size: 30px;
}

.page-node-type-grammar h1.page-title {
  padding-bottom: 40px;
  border-bottom: 1px solid #c9c9c9;
}

.page-node-type-lesson h1.page-title {
  font-weight: 700;
}

.about-page h2, .path-grammar h2 {
  width: 100vw;
  font-size: 22px;
  line-height: 22px;
  font-weight: 600;
  color: #fff;
  padding: 12px 30px;
  margin: 30px 0 20px -30px;
  background: #4E9CCA;
}

.path-grammar h2 {
  margin-bottom: 2px;
  margin-top: 3px;
}

#block-inuitlanguagemap h2 {
  position: absolute;
  top: 50px;
  left: 30px;
  padding-left: 0;
  line-height: 38px;
  width: 180px;
  margin-left: auto;
  background: none;
  z-index: 10;
}

h3 {
  font-size: 28px;
  font-weight: bold;
}

.about-page h3 {
  margin-bottom: 0;
}

.about-page h3 + p {
  margin-top: 0;
}

.path-dialogues ol {
  margin-top: 0;
  margin-bottom: 50px;
  padding-top: 18px;
  padding-left: 0;
  list-style: none;
  width: 100vw;
  margin-left: -30px;
}

.path-dialogues ol li {
  position: relative;
  color: #4D9CC9;
  font-weight: bold;
  font-size: 18px;
  counter-increment: custom;
  border-top: 1px solid #c9c9c9;
  padding: 9px 20px 9px 16%;
  margin: 0;
  text-indent: -34px;
}

.path-dialogues ol li:last-child {
  border-bottom: 1px solid #c9c9c9;
}

.path-dialogues ol li:before {
  content: counter(custom);
  text-align: right;
  padding-right: 10px;
  display: inline-block;
  width: 24px;
}

.path-dialogues ol li:first-child {
  counter-reset: custom;
}

.path-dialogues ol li div {
  display: inline;
}

.path-dialogues ol a {
  position: relative;
  color: #646464;
  display: inline;
}

.path-grammar .item-list ul {
  list-style: none;
  width: 100vw;
  margin-left: -30px;
}

.path-grammar .item-list ul li {
  margin: 2px 0;
  padding: 8px 10px 8px 30px;
}

.path-grammar .item-list ul li:nth-child(odd) {
  background: #E7F4FC;
}

.path-grammar .item-list ul li:nth-child(even) {
  background: #F3F8FC;
}

.path-grammar .item-list ul a {
  color: #077488;
  font-weight: 600;
}

.path-lessons .views-col ul {
  list-style: none;
  margin: 6px 2px 4px 6px;
  padding-left: 0;
}

.path-lessons .views-col li {
  padding-left: 4px;
  text-indent: -8px;
  font-size: 13.5px;
  line-height: 18px;
}

.path-lessons .views-col li:before {
  position: relative;
  content: " ";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background: #232323;
  top: -3px;
  margin-right: 4px;
}

@media screen and (min-width: 480px) {

  .path-lessons .views-col ul {
    margin: 14px 20px 4px 16px;
  }
  
  .path-lessons .views-col li {
    font-size: 15px;
    line-height: 20px;
  }

}

@media screen and (min-width: 680px) {

  a.button {
    font-size: 14px;
    padding: 7px 24px;
  }

  hr {
    margin: 20px 0;
  }

  h1.page-title, #block-inuitlanguagemap h2, h2.lesson-header, h2.lesson-header a {
    font-size: 38px;
  }
  
  h1.page-title {
    margin-top: 80px;
  }
  
  .path-dialogues h1.page-title {
    margin-bottom: 6px;
  }
  
  .about-page h1.page-title {
    margin-top: 16px;
  }
  
  .path-grammar h1.page-title {
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid #c9c9c9;
  }
  
  .page-node-type-grammar h1 {
    color: #4D9CC9;
  }
  
  .page-node-type-grammar h1.page-title:before {
    display: inline;
    margin-right: 10px;
  }
  
  .page-node-type-grammar h1.page-title {
    padding-bottom: 10px;
  }
  
  .path-lessons h1.page-title {
    margin-bottom: 12px;
  }

  .about-page h2, .path-grammar h2 {
    width: 100%;
    font-size: 28px;
    line-height: 28px;
    padding: 8px 10px;
    margin-left: 0;
  }
  
  .path-grammar h2 {
    font-size: 19px;
    line-height: 32px;
    padding-left: 30px;
    margin-bottom: 6px;
  }

  #block-inuitlanguagemap h2 {
    top: 0;
  }
  
  .path-dialogues ol {
    margin: 0 0 0 20px;
    padding: 40px 10px 80px 0;
    width: auto;
    float: left;
  }
  
  .path-dialogues ol li, .path-dialogues ol li:last-child {
    border: none;
    padding: 2px 0 2px 34px;
    width: auto;
  }
  
  .path-grammar .item-list ul {
    width: 100%;
    margin-left: 0;
  }


}

@media screen and (min-width: 900px) {

  #block-inuitlanguagemap h2 {
    top: 86px;
    width: auto;
  } 
  
  .path-dialogues ol {
    border-right: 1px solid #c9c9c9;
  }

}
