* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
}

html {
  height: 100%;
}

a {
  text-decoration: none;
  color: #0067FF;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  font-family: Lato, sans-serif;
  font-size: 16px;
  color: #000;
  background: #fff;
}

hr {
  clear: left;
  width: 100%;
}

p {
  line-height: 1.3em;
  margin: 1em 0;
}

h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
}

.context-grammar-topics h1, .context-grammar-book h1 {
  margin-bottom: 0;
}

.context-grammar-book main ul {
  overflow: hidden;
  list-style: none;
}

.context-grammar-book main ul li {
  position: relative;
  padding-left: 8px;
}

.context-grammar-book main ul li:before {
  content: " ";
  position: absolute;
  display: block;
  top: 10px;
  left: 0;
  width: 3px;
  height: 3px;
  background: #000;
  border-radius: 100%;
}

img.align-left {
  margin-right: 40px;
}

.context-grammar-book img.align-left {
  margin-top: -48px;
  box-shadow: 6px 6px 14px rgba(0, 0, 0, 0.5);
}

.region-content {
  position: relative;
}

.context-grammar-book .block-page-title-block {
  display: block;
  margin-left: 377px;
  margin-top: 66px;
}

.description {
  clear: both;
}

.context-node-add ul.admin-list {
  width: auto;
  min-width: 300px;
  float: left;
  margin-top: 14px;
}

.context-node-add ul.admin-list li {
  padding-left: 8px;
}

.context-node-add ul.admin-list li:hover {
  background: #ffc;
}

.context-node-add ul.admin-list a {
  background: none;
  padding: 8px 8px 8px 0;
  overflow: hidden;
  font-size: 22px;
  color: #000;
}

.context-node-add ul.admin-list li a:hover .label, .context-node-add ul.admin-list li a:focus .label, .context-node-add ul.admin-list li a:active .label {
  text-decoration: none;
}

.context-node-add ul.admin-list a:before {
  content: " ";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: -8px;
  margin-right: 10px;
  border-left: 5px solid #9D9E9F;
  border-top: 5px solid #9D9E9F;
  -webkit-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
            transform: rotate(135deg);
}

.context-node-add ul.admin-list a .description {
  font-size: 16px;
  margin-left: 20px;
}

#wrapper {
  position: relative;
  display: table;
  width: 100%;
  min-width: 1030px;
  max-width: 1063px;
  height: 100%;
  margin: 0 auto;
  padding: 0 10px;
  overflow: hidden;
}

#header {
  position: fixed;
  width: 100%;
  min-width: 1030px;
  max-width: 1063px;
  display: table-row;
  float: left;
  z-index: 200;
  width: 100%;
  padding: 0 10px;
  margin-left: -10px;
  background: #fff;
}

#advanced-search a:not(:first-child) {
  margin-left: 10px;
}

#center-head {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-node-type-example #center-head, .page-node-type-demonstrative #center-head, .page-node-type-infix #center-head, .page-node-type-noun-ending #center-head, .page-node-type-personal-pronoun #center-head, .page-node-type-placelocation #center-head, .page-node-type-root #center-head, .page-node-type-verb-ending #center-head {
  padding-bottom: 17px;
  border-bottom: 1px solid #690e12;
}

.path-frontpage #center-head {
  padding-bottom: 17px;
}

.inuit-logo {
  position: relative;
  float: left;
  width: 150px;
}

.inuit-logo img {
  width: 100%;
  display: block;
}

.inuit-logo-caption, .page-node-type-grammar p.inuit-logo-caption {
  position: relative;
  float: left;
  clear: none;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  margin: 20px;
}

.pirurvik-logo {
  display: inline-block;
  margin: 10px 40px;
  padding-left: 60px;
  border-left: 1px solid #000;
}

#site-title {
  position: relative;
  clear: both;
  width: 100%;
  height: 125px;
  display: table;
  border-bottom: 1px solid #8b141a;
  padding: 56px 0 11px 0;
}

.header-title {
  font-size: 42px;
  font-weight: bold;
  color: #8b141a;
  margin: 0;
  display: table-cell;
  vertical-align: bottom;
}

@media screen and (min-width: 1060px) {

  .header-title {
    font-size: 43px;
  }
  
}

@media screen and (min-width: 1080px) {

  .header-title {
    font-size: 44px;
  }
  
}

.header-title:first-child {
  width: 18%;
  border-right: 1px solid #9D9E9F;
}

.header-title:last-child {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 1px;
  color: #9D9E9F;
  padding-bottom: 9px;
  text-align: left;
  padding-left: 24px;
}

#main-nav {
  width: auto;
  margin-right: 436px;
  display: inline-block;
}

#main-nav > div {
  position: relative;
  width: 100%;
  margin: 9px auto;
}

#main-nav ul, #second-nav ul {
  list-style: none;
}

#main-nav .menu {
  position: relative;
  width: calc(100% + 6px);
  display: table;
  table-layout: fixed;
  margin-left: -6px;
  z-index: 1;
}

#main-nav .menu li {
  position: relative;
  display: table-cell;
  padding: 0 6px;
  width: 100%;
  background: #F0CB12;
  font-size: 16px;
  font-weight: bold;
  line-height: 44px;
  width: 100%;
  text-align: center;
  border-left: 6px solid #fff;
}

.context-grammar-book #main-nav .menu li:after, .context-grammar-book #header-search:before, .context-grammar-topics #main-nav .menu li:after, .context-grammar-topics #header-search:before, .context-wordlist #main-nav .menu li:after, .context-wordlist #header-search:before, .path-morpheme-list #main-nav .menu li:after, .path-morpheme-list #header-search:before, .page-node-type-grammar #main-nav .menu li:after, .page-node-type-grammar #header-search:before, .path-search #main-nav .menu li:after, .path-search #header-search:before {
  content: " ";
  position: absolute;
  display: block;
  left: 0;
  width: calc(100% + 6px);
}

#main-nav .menu li:after, #header-search:before {
  height: 37px;
  margin-left: -3px;
  bottom: -37px;
  background-image: url(../images/nav-border-arrow.png);
  background-size: 300% 37px;
  background-position: left bottom;
  background-repeat: no-repeat;
}

#main-nav .menu li:first-child:after {
  margin-left: 0;
}

#header-search:before {
  height: 36px;
  margin-left: -6px;
  bottom: -36px;
}

#main-nav .menu li.menu-item--active-trail:after, .page-node-type-grammar #main-nav li:nth-child(3):after, .path-morpheme-list #main-nav li:nth-child(2):after {
  background-image: url(../images/nav-border-arrow.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: auto;
}

#main-nav .menu li.menu-item--active-trail, .page-node-type-example #main-nav .menu li:first-child, .page-node-type-demonstrative #main-nav .menu li:nth-child(2), .page-node-type-infix  #main-nav .menu li:nth-child(2), .page-node-type-noun-ending  #main-nav .menu li:nth-child(2), .page-node-type-personal-pronoun  #main-nav .menu li:nth-child(2), .page-node-type-placelocation  #main-nav .menu li:nth-child(2), .page-node-type-root  #main-nav .menu li:nth-child(2), .page-node-type-verb-ending  #main-nav .menu li:nth-child(2), .page-node-type-grammar #main-nav li:nth-child(3), .path-morpheme-list #main-nav li:nth-child(2)  {
  background: #6b1014;
}

#main-nav .menu li:hover {
  background: #8F4F52;
}

#main-nav .menu li a {
  color: #000;
}

#main-nav .menu li:hover a, #main-nav .menu li.menu-item--active-trail a, .page-node-type-example #main-nav .menu li:first-child a, .page-node-type-demonstrative #main-nav .menu li:nth-child(2) a, .page-node-type-infix  #main-nav .menu li:nth-child(2) a, .page-node-type-noun-ending  #main-nav .menu li:nth-child(2) a, .page-node-type-personal-pronoun  #main-nav .menu li:nth-child(2) a, .page-node-type-placelocation  #main-nav .menu li:nth-child(2) a, .page-node-type-root  #main-nav .menu li:nth-child(2) a, .page-node-type-verb-ending  #main-nav .menu li:nth-child(2) a, .page-node-type-grammar #main-nav li:nth-child(3) a, .path-morpheme-list #main-nav li:nth-child(2) a {
  color: #fff;
}

#header-search {
  position: absolute;
  right: 0;
  top: 0;
  width: 430px;
  margin-top: 134px;
}

#search-block-form {
  width: 100%;
  height: 45px;
}

#main-wrapper {
  position: relative;
  display: block;
  z-index: 100;
  clear: both;
  width: 100%;
  height: 100%;
  margin-top: 208px;
}

.front-page #main-wrapper {
  overflow: hidden;
}

#main {
  position: relative;
  clear: both;
  float: left;
  width: 100%;
  min-height: calc(100% - 60px);
  margin: 0 auto;
  margin-bottom: 60px;
  padding-top: 4px;
}

main:after {
  clear: both;
  content: " ";
  display: table;
}

.front-page #main {
  padding-top: 10px;
  padding-bottom: 0;
  border: none;
  margin-bottom: 0;
}

.block-page-title-block {
  margin-top: 18px;
}

.front-page #content {
  padding: 14px 18px;
  background: #F0CB12;
}

.front-page #content p {
  font-size: 16px;
  font-weight: 400;
}

#home-links {
  width: calc(100% + 18px);
  padding: 16px 0 26px 0;
  display: table;
  table-layout: fixed;
  margin: 0 -9px;
}

#home-links > div {
  position: relative;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding-top: 30%;
  background-size: 100.2%;
  border-left: 9px solid #fff;
  border-right: 9px solid #fff;
}

#home-links .morpheme-link {
  background-image: url(../images/morpheme-list-back.jpg);
}

#home-links .wordlist-link {
  background-image: url(../images/wordlist-back.jpg);
}

#home-links .grammar-link {
  background-image: url(../images/grammar-topics-back.jpg);
}

#home-links > div > a {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  transition: .5s;
}

#home-links > div > a:hover {
  background: rgba(0, 0, 0, 0.4);
  transition: .5s;
}

#home-links p {
  position: relative;
  display: block;
  top: 50%;
  margin-top: -35px;
  left: 50%;
  margin-left: -35%;
  width: 70%;
  height: 58px;
  font-size: 22px;
  line-height: 58px;
  font-weight: bold;
  color: #000;
  background: rgba(255, 255, 255, 0.9);
}

.tabs {
  margin-top: 10px;
}

#block-iudict-content {
  clear: both;
  float: left;
  width: 100%;
}

label, .field-multiple-table th h4, fieldset legend span {
  clear: both;
  float: left;
  color: #690E12;
  font-weight: bold;
  font-size: 20px;
}

.layout-region > div, input, select, table, details {
  clear: left;
  float: left;
  width: 100%;
}

.layout-region.layout-region-node-footer input {
  clear: none;
  margin: 0;
}

.layout-region-node-footer .form-actions {
  margin: 0;
}

.layout-region-node-secondary > div {
  margin-bottom: 0;
}

input, .nice-select {
  border: 1px solid #9D9E9F;
  height: 32px;
}

input {
  padding-left: 4px;
}

.js input.form-autocomplete {
  background-position: 99% center;
}

input[type=number] {
  position: relative;
  background: none;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

.stepper {
  z-index: 0;
}

.form-item .clearfix .input-wrap {
  background: none;
  margin-bottom: 10px;
}

.filter-wrapper.form-wrapper {
  overflow: visible;
}

#user-login-form {
  width: 48%;
}

.field-multiple-table {
  background: #F0F0F0;
  margin-top: 30px;
  border: none;
}

.form-item .tabledrag-toggle-weight-wrapper, .form-item .tabledrag-toggle-weight-wrapper ~ div {
  margin: 0 0 2px 0;
}

.field-multiple-table + div {
  background: #F0F0F0;
  padding: 0 0 10px 10px;
}

.tabledrag-toggle-weight {
  color: #006CFF;
}

form .field-multiple-table .field-multiple-drag {
  width: auto !important;
  min-width: 10px;
  position: relative;
}

tr.odd .form-item, tr.even .form-item {
  height: 32px;
}

form .field-multiple-table .field-multiple-drag .tabledrag-handle {
  width: 36px;
  height: 30px;
  padding-right: 6px !important;
}

form .field-multiple-table .nice-select {
  width: 60px;
  min-width: 60px;
  padding-right: 0;
  height: 32px;
}

.field-multiple-table .current {
  padding-left: 4px;
}

.draggable a.tabledrag-handle {
  margin-left: 6px;
}

a.tabledrag-handle .handle {
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
}

form .field-multiple-table .field-multiple-drag abbr.tabledrag-changed {
  position: absolute;
  top: 10px;
  right: 4px;
}

#search-box {
  position: relative;
  float: left;
  width: 100%;
  background: #0A5387;
  padding: 10px 0;
}

#search-box .center {
  width: 300px;
}

.front-page #home-box {
  height: 394px;
  width: 100%;
  background: url(../images/home-search-back.jpg) center top;
  padding: 0;
}

.front-page #home-box h1 {
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  font-weight: 900;
}

.front-page #home-box p {
  color: #fff;
}

.front-page #home-box .region-content {
  width: 216px;
  float: right;
  margin: 34px;
}

.search-block-form h2 {
  display: none;
}

#search-block-form .form-item, #search-block-form .form-actions {
  margin: 0;
  float: none;
}

#search-block-form .input-wrap {
  float: none;
}

#search-block-form input[type="search"] {
  clear: none;
  float: left;
  background: #fff;
  box-sizing: border-box;
  border: none;
}

#header-search #search-block-form input[type="search"] {
  border: 1px solid #9D9E9F;
  height: 45px;
  width: 375px;
}

#header-search #search-block-form .form-actions {
  position: relative;
  clear: none;
  float: left;
  width: 55px;
  height: 45px;
  background-color: #8b1319;
  background-image: url(../images/search-icon.png);
  background-size: 26px;
  background-repeat: no-repeat;
  background-position: center center;
}

#header-search #search-block-form input[type="submit"] {
  min-width: 55px;
  width: 55px;
  height: 45px;
  opacity: 0;
  padding: 0;
  margin: 0;
}

#advanced-search {
  position: absolute;
  width: auto;
  margin: 4px auto;
  text-align: right;
  color: #ccc;
  font-weight: 400;
  font-size: 13px;
}

#advanced-search a {
  position: relative;
  float: left;
  color: #585858;
  padding-left: 12px;
}

#advanced-search p {
  margin: 0;
}

#advanced-search a:before {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 0;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left: 8px solid #585858;
}

.layout-region-node-main {
  position: relative;
  float: left;
  width: 65.5%;
  padding-right: 0;
}

.layout-region-node-secondary {
  position: relative;
  float: left;
  width: 29%;
  margin-left: 3.5%;
  margin-top: -40px;
  padding: 10px 10px 0 10px;
  background: #6B1014;
}

.page-node-type-example[class*="-edit"] .layout-region-node-secondary, .page-node-type-verb-ending[class*="-edit"] .layout-region-node-secondary, .page-node-type-noun-ending[class*="-edit"] .layout-region-node-secondary, .page-node-type-demonstrative[class*="-edit"] .layout-region-node-secondary, .page-node-type-infix[class*="-edit"] .layout-region-node-secondary, .page-node-type-personal-pronoun[class*="-edit"] .layout-region-node-secondary, .page-node-type-placelocation[class*="-edit"] .layout-region-node-secondary, .page-node-type-root[class*="-edit"] .layout-region-node-secondary {
  margin-top: 120px;
  margin-left: 3%;
}

.layout-region-node-secondary .form-item, .layout-region-secondary .form-actions {
  margin: 4px 0;
}

.layout-region-node-main, .layout-region-node-footer {
  padding-right: 0;
}

.layout-region-node-secondary .form-item > div {
  margin-bottom: 6px;
}

.layout-region-node-secondary, .layout-region-node-secondary label {
  color: #fff;
  font-size: 14px;
  margin-bottom: 4px;
}

.layout-region-node-secondary h3 {
  font-size: 18px;
}

.layout-region-node-secondary h4, .layout-region-node-secondary .form-type-item {
  font-size: 14px;
}

.layout-region-node-secondary input, .layout-region-node-secondary .nice-select, .layout-region-node-secondary textarea {
  color: #000;
}

.layout-region-node-secondary summary {
  clear: both;
  float: left;
  font-size: 17px;
  font-weight: bold;
  padding: 0;
  margin-bottom: 6px;
}

.layout-region-node-secondary span.summary {
  clear: both;
  float: left;
  font-size: 12px;
}

.layout-region-node-secondary a {
  color: #fff;
}

.layout-region-node-secondary .node-form-author {
  width: calc(100% + 20px);
  margin: 0 0 0 -10px;
  background: #f0f0f0;
  padding: 10px;
  color: #000;
}

.layout-region-node-secondary details {
  margin: 4px 0;
}

.layout-region-node-secondary details > .details-wrapper {
  padding: 0;
  clear: both;
}

.layout-region-node-secondary .form-date, .layout-region-node-secondary .form-time {
  clear: none;
  float: left;
  width: auto;
  padding: 0 4px;
  font-size: 13px;
  margin-top: 4px;
  margin-right: 6px;
}

.layout-region-node-secondary .form-item.form-type-date, .layout-region-node-secondary .form-item.form-type-time {
  width: auto;
  clear: none;
}

.layout-region-node-secondary .node-form-author label {
  color: #000;
}

.layout-region-node-secondary .node-form-author summary, .layout-region-node-secondary .node-form-author a  {
  color: #6B1014;
}

.layout-region-node-footer, .layout-region-node-main > div {
  position: relative;
  clear: both;
  float: left;
  width: 100%;
}

.layout-region-node-footer {
  width: 65.5%;
  margin-top: 20px;
  padding: 12px 0;
  background: #6B1014;
}

.layout-region-node-footer a {
  color: #fff;
}

.layout-region-node-footer .dropbutton-wrapper {
  margin: 0 8px;
}

.site-footer {
  position: relative;
  display: table-row;
  bottom: 0;
  clear: both;
}

#logo-spot {
  position: relative;
  float: left;
  width: 100%;
  padding: 10px 0 50px 8px;
}

.site-footer #copyright {
  position: relative;
  float: left;
  width: 100%;
  font-size: 14px;
  padding: 18px 36px 22px 36px;
  color: #fff;
  background: #000;
}

.site-footer #copyright p {
  margin: 0;
}

.site-footer #footer-content {
  padding-bottom: 22px;
}

