/* Font definitions
 *****************************************/
li, td > a {
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
}

h1, .prefLabel, .prefLabelLang, .notation {
  font-family: 'Fira Sans', sans-serif;
  font-size: 27px;
  font-weight: 400;
}

.prefLabel, .prefLabelLang, .notation {
  font-weight: 500;
}

.prefLabelLang {
  color: #474b4f;
}

#service-name {
  font-size: 27px;
  font-weight: bold;
}

h2 {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
}

.navigation-font {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
}

.multiselect span, .multiselect a, .dropdown-toggle, #search-all-button, .qtip-skosmos * {
  font-family: 'Fira Sans', sans-serif;
}

.topbar a.navigation-font, .topbar span {
  color: #394554;
}

p {
  color: #474b4f;
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
}

.bread-crumb {
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
}

.versal {
  color: #474b4f;
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.versal-bold {
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  font-weight: bold;
}

a, a.versal, .jstree-node > .jstree-anchor {
  color: #00748f;
}

.loading-spinner {
  margin: 10px 0 0 15px;
}

.concept-spinner {
  background:url("../pics/alt.gif") no-repeat transparent;
  background-position: center 130px;
  height: 100px;
  padding-top: 180px;
  text-align: center;
  width: 150px;
}

.replaced {
  font-style: italic;
}

a:link,a:visited,a:active,a:hover,a:focus {
  /* Improves link handling by removing focus borders. Sorry keyboard users! */
  border: 0;
  outline: none;
  text-decoration: none !important;
}

a:hover {
  text-decoration: underline;
  /* All text links have underlining when hovered. */
}

#service-logo {
  max-width: 450px;
}

/* basics
 ***************************/

html,body {
  background-color: #d5dbde;
  margin: 0;
  min-height: 100%;
  min-width: 100%;
  padding: 0;
}

ul {
  list-style: none;
}

@media print { /* Quick style sheet for printing. */
  body * {
    visibility: hidden;
  }

  /* Everything under the print class elements will be printed. */
  .print,.print * {
    visibility: visible;
  }

  /* Position elements at the beginning of the page. */
  .print {
    position: absolute;
    left: 0;
    top: 0;
  }
}

.main-container {
  position: relative;
  width: 95%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.spinner {
  background:url("../pics/spinner.gif") no-repeat transparent;
  display:inline-block;
  height: 25px;
  margin-left: 5px;
  vertical-align: middle;
  width: 25px;
}

/* topbar styles
 ***************************/

.topbar {
  height: 50px;
  margin-bottom: 20px;
}

.topbar-white {
  background-color: #ffffff;
}

#service-name {
  left: 30px;
  line-height: 50px;
  margin: 0;
  position: absolute;
}

.topbar-white > #language, .topbar-white > #navigation {
  background: #ffffff;
}

#language {
  float: right;
  height: 50px;
  line-height: 70px;
  padding-left: 0;
  padding-right: 2%;
  text-align: right;
  width: auto;
}

#language > .dropdown-menu {
  z-index: 9002;
  position: fixed;
  padding-right: 2%;
  border-radius: 0;
  margin-top: 0;
  padding: 0;
  top: 45px;
  right: 2%;
}

#language > .dropdown-menu > li, #language > .dropdown-menu > li > a {
  margin: 0;
}

#language > .dropdown-toggle {
  background: none;
  border: none;
  border-radius: 0;
  color: #394554;
  margin-top: -3px;
  padding: 0;
}

#language > .dropdown-toggle:hover, #language > .dropdown-toggle:focus, #language > .dropdown-toggle:active, #language > .dropdown-toggle:visited {
  background: none;
}

#navigation {
  float: right;
  height: 50px;
  line-height: 70px;
  max-width: 530px;
  min-width: 0;
  overflow: hidden;
  padding-right: 25px;
  width: auto;
}

#navigation *, #language * {
  margin: auto 4px;
}

#language-en {
  margin-right: 0;
}

#navigation .link-bg {
  height: 60px;
  float: left;
}

#navi4 {
  cursor: default;
}

#navi4 > span {
  border-bottom: 2px dotted #cfcfcf;
}

/* headerbar stuff
 *************************/

#lang-dropdown-toggle .caret, .multiselect span > .caret {
  border-top-color: #ffffff;
}

.navbar-form .dropdown-menu {
  border-radius: 0;
  margin-top: 0;
  padding: 0;
  top: 40px;
  max-height: 290px;
  overflow-y: auto;
}

.header-float > .navbar-form {
  box-shadow: none;
}

ul.dropdown-menu > li:last-child > input {
  display: none;
}

.multiselect-container {
  border-radius: 0;
}

.header-float .multiselect > .caret {
  position: absolute;
  right: 5px;
  top: 18px;
}

.header-float > .btn-group > button {
  overflow: hidden;
  width: 175px;
}

.header-float > .btn-group > .multiselect-container {
  width: 175px;
}

.multiselect > span {
  position: absolute;
  right: 20px;
  top: 10px;
}

.multiselect-container > li.active > a, .multiselect-container > li > a:focus, .dropdown-menu > li:hover > a, .dropdown-menu > .active:focus > a, .dropdown-menu > .active:hover > a  {
  background-color: #00748F;
  color: #ffffff;
}

.multiselect-container > li > a > label {
   padding: 3px 20px 3px 25px;
   word-wrap: break-word;
   white-space: pre-line;
}

.headerbar {
  margin: 0 auto;
  position: relative;
  width: 95%;
  min-height: 65px;
}

.headerbar-coloured {
  position: absolute;
  background-color: #00748F;
  width: 100%;
  margin: 0 0 0 15px;
  height: 50px;
}

.header-left {
  float: left;
  margin: 0 0 0 15px;
}

.header-left > h1 {
  background-color: #00748F;
  line-height: 50px;
  margin: 0 0 0 15px;
  opacity: 0.99;
  overflow: hidden;
}

.header-left > h1 > a {
  color: #ffffff;
  display: block;
  height: 50px;
}

.header-float {
  float: right;
  margin: 5px 15px 19px 5px;
}
  
.frontpage-spacing > .header-float {
  margin: 0;
}

.headerbar-coloured > .header-float > p {
  color: #ffffff;
}

.topbar a.navigation-font:hover {
  text-decoration: underline;
}

.navbar-form {
  border: 0;
  display: block;
  float: right;
  margin: 0;
  padding: 0;
}

.search-result-listing {
  background-color: #ffffff;
}

.search-result-listing > p:last-of-type {
  margin-left: 15px;
}

.search-result-listing > .search-result:last-of-type {
  margin-bottom: 10px;
}

#search-from-all-vocabularies-radio-buttons {
  display: none;
}

#search-all-button {
  background-color: #394554;
  border-radius: 0;
  border: medium none;
  height: 40px;
  margin-left: 0;
  width: 68px;
}

#search-all-button.disabled, #search-all-button[disabled], fieldset[disabled] #search-all-button, #search-all-button.disabled:hover, #search-all-button[disabled]:hover, fieldset[disabled] #search-all-button:hover, #search-all-button.disabled:focus, #search-all-button[disabled]:focus, fieldset[disabled] #search-all-button:focus, #search-all-button.disabled:active, #search-all-button[disabled]:active, fieldset[disabled] #search-all-button:active, #search-all-button.disabled.active, #search-all-button.active[disabled], fieldset[disabled] #search-all-button.active {
  background-color: #3c535b;
  opacity: 0.99;
  color: #afafaf;
}

.search-vocab-text {
  background-color: #3c535b;
  opacity: 0.95;
  height: 40px;
  float: left;
  text-align: right;
  line-height: 40px;
}

.search-vocab-text > p {
  color: #fff;
  margin: 0 5px;
  font-size: 14px !important;
}

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

.search-result-listing .no-results {
  margin: 15px;
}

.search-result-listing .search-count {
  text-align: left;
  margin-left: 15px;
}

.search-limited {
  padding-right: 140px;
}

#remove-limits {
  border-radius: 0;
}

#remove-limits:hover {
  background-color: #FFFFFF;
}

.search-result-listing .prefLabel {
  font-weight: bold;
}

.notation {
  margin-right: 12px;
}

.search-result > .notation {
  margin-right: 6px;
}

.search-result-listing .search-result {
  margin: 20px 15px ;
}

.search-result-listing {
  padding: 5px 0;
}

.search-result > div > span.uri-input-box {
  font-size: 12px;
  color: #006621;
}

.search-result {
  border: 1px solid transparent;
}

#lang-dropdown-toggle, .multiselect {
  background-color: #394554;
  border: medium none;
  border-radius: 0;
  box-shadow: none;
  color: #FFFFFF;
  height: 40px;
  padding-left: 10px;
  padding-right: 6px;
}

.multiselect .dropdown-toggle, .dropdown-toggle:hover, .btn.dropdown-toggle:focus, .open > .dropdown-toggle.btn-default {
  color: #fff;
  background-color: #394554;
  box-shadow: none;
}

.multiselect {
  border: 0;
}

#selected-vocabs {
  display: none;
}

.navbar-left > .btn-group {
  float: left;
}

#search-field {
  background-color: #FFFFFF;
  border: medium none;
  border-radius: 0;
  display: block;
  font-family: Tahoma,Geneva,sans-serif;
  font-size: 14px;
  font-weight: bold;
  height: 40px;
  padding-left: 8px;
  padding-right: 22px;
  box-shadow: none;
}

#search-field:focus {
  box-shadow: none;
}

.input-group {
  display: table;
}

.form-control {
  display: table-cell;
}

.input-group-btn {
  width: 50px;
}

.qtip-skosmos {
  background-color: #1E1E1E;
  border-radius: 0;
  border: 3px solid #75889F;
  margin-top: 12px;
  margin-left: 9px;
  min-width: 400px;
}

.qtip-skosmos *, .reified-tooltip > p > span {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.qtip-skosmos a {
  color: #00ACD3 !important;
  width: 100%;
}

.reified-tooltip {
  display: none;
  margin-top: 5px;
  width: 100%;

}

.reified-property-value {
  float: left;
}

.reified-property-value > img {
  width: 18px;
}

span.xl-label > img {
  margin: -2px 2px 0 0;
}

span.xl-pref-label > img {
  margin: 10px 2px;
}

/* front page stuff
 ***************************/
.welcome-box, .right-box, #vocabulary-list {
  vertical-align: top;
}
  
.welcome-box {
  background-color: #ffffff;
  display: inline-block;
  padding: 15px;
  min-height: 370px;
}

.welcome-box > h1, .right-box > h1 {
  margin-top: 0;
}

.right-box {
  background-color: #ffffff;
  width: 240px;
  padding: 15px;
  position: absolute;
  right: 0;
  top: 0;
}

.right-box {
  display: none;
}

.vocabulary-separator {
  border-bottom: 2px solid #666;
  margin-bottom: 10px;
  margin-left: 28%;
  width: 125px;
}

#maincontent {
  display: inline;
}

#vocabulary-list, #vocabulary-list-wide, #vocabulary-list-left, #vocabulary-list-right {
  background-color: #fff;
  display: inline-block;
}

.voclist-wide #vocabulary-list {
  width: 100% !important;
}

#vocabulary-list > div > h2, #vocabulary-list-wide > div > h2 {
  margin-bottom: 0;
  margin-top: 0;
  padding: 15px 0 15px 10px;
}

.vocab-category {
  display: inline-block;
  padding-left: 0;
  width: 100%;
}

.vocab-category > ul > li, .vocab-category > h2 {
  display: inline-block;
}

.vocab-category > h2 {
  margin: 0 0 5px 0;
}

.vocab-category > ul > li {
  display: block;
}

.vocab-category > ul {
  display: inline-block;
  width: 72%;
  float: right;
  padding-left: 0;
}

.vocab-category > li > h2 {
  margin-bottom: 5px;
  margin-top: 0;
}

.vocab-category > li {
  display: inline-block;
  float: left;
  padding: 0;
  width: 25%;
}

.vocabularies {
  padding: 0 10px;
}

/* feedback page
 ***************************/
#feedback-fields > .missing-value {
  border: 1px solid red;
}

#message {
  height: 150px;
}

#feedback-fields > .dropdown {
  margin-bottom: 10px;
}

#feedback-fields > .open > .dropdown-menu {
  border-radius: 0;
  height: auto;
  margin-top: 0;
  max-height: 450px;
  overflow-x: hidden;
  padding: 0;
  width: 100%;
}

#feedback-fields > .open > .dropdown-menu > li:hover > a {
  color: #fff !important;
}

#feedback-vocid {
  background-color: #F6F7F8;
  border: 0;
  color: #00748f;
  height: 34px;
  text-align: left;
  width: 100%;
}

#feedback-vocid > .caret {
  position: absolute;
  right: 10px;
  top: 14px;
}

#feedback-vocid:hover, #feedback-vocid:focus, #feedback-vocid:active {
  color: #00748f;
}

.feedback-logo {
  border-bottom: 2px solid #394554;
  display: block;
  left: 200px;
  min-width: 84px;
  position: absolute;
}

.feedback-box {
  float: left;
  border-top: 2px solid #394554;
  min-height: 140px;
}

.feedback-box textarea, .feedback-box input, .feedback-box select, .feedback-box button, .feedback-box textarea:focus, .feedback-box input:focus, .feedback-box select:focus, .feedback-box button:focus {
  border-radius: 0;
  box-shadow: none;
}

.feedback-box > p {
  line-height: 50px;
}

.feedback-box > div > span {
  display: block;
  margin: 15px 0;
}

.feedback-box input, .feedback-box select, .feedback-box textarea {
  background-color: #f6f7f8;
  border: none;
  color: #00748f;
  margin-bottom: 10px;
  resize: none;
}

.feedback-thanks {
  margin-top: 15px;
}

::-webkit-input-placeholder { /* WebKit browsers */
  color: #00748f !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #00748f !important;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #00748f !important;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
  color: #00748f !important;
}

#send-feedback {
  background-color: #394554;
  border: none;
  float:right;
  margin: 5px 0 15px 0;
}

/* about page
 ***************************/
#about {
  background-color: #ffffff;
  border-top: 2px solid #394554;
  margin-bottom: 15px;
  padding-bottom: 15px;
  width: 500px;
}

.about-content {
  margin: 0 15px;
}

.about-content > p > a {
  margin: 0 5px;
}

.special-container {
  left: 0;
  margin-left: 200px;
  position: absolute;
}

.credits {
  border-top: 2px solid #394554;
  width: 500px;
}

/* sidebar styles
 ***************************/

#sidebar {
  height: 100%;
  position: absolute;
  width: 320px;
}

.sidebar-grey {
  background-color: #f6f7f8;
  height: 100%;
  height: calc(100% - 42px);
  overflow-y: auto;
}

.sidebar-grey ul, .sidebar-grey p {
  padding-left: 0;
}

#sidebar .multiselect > span, #sidebar .multiselect > span > b.caret {
  border-top-color: #474b4f;
  color: #474b4f;
}

.search-options > .input-group > .btn-group {
  display: block;
}

.search-options > .input-group > .btn-group > .multiselect {
  background-color: #fff;
  border: 1px solid #ccc;
  overflow-y: hidden;
}

.search-options > .input-group > .btn-group > .multiselect-container {
  top: 44px;
}

.search-options > .input-group > .btn-group > .multiselect-container > li:first-of-type > * {
  height: 26px;
}

.multiselect-container li {
  min-height: 26px;
}

.multiselect-container li > a > label.checkbox {
  height: 100%;
  margin: 0;
  padding: 3px 5px 3px 25px;
}

.multiselect-container li > a > label.checkbox > input {
  margin-top: 2px;
  padding: 0;
}

.search-options .multiselect > span {
  float: left;
  overflow: hidden;
  text-align: left;
  width: 252px;
}

.search-options .multiselect > .caret {
  color: #474b4f;
  float: right;
  position: absolute;
  right: 5px;
  top: 16px;
}

.fixed {
  height: 95%;
  height: calc(100% - 2px) !important;
  position: fixed !important;
  top: 2px;
}

.search-options > .btn-default:hover {
  border: 1px solid #ccc;
}

.btn-active, .btn:active, .btn-default:active {
  -webkit-box-shadow: none !important;
     -moz-box-shadow: none !important;
       -o-box-shadow: none !important;
          box-shadow: none !important;
}

.concept-main > .row > .property-label-pref {
  float: unset;
  display: table-cell;
  vertical-align: middle;
}

.concept-main > .row > .property-label-pref + div {
  display: table-cell;
  vertical-align: middle;
}

.preflabel-spacer {
  background: url('../pics/stripe.png') repeat-x 50% center;
  height: 18px;
}

#vocab-info hr {
  background: url('../pics/stripe.png') !important;
  border: 1px solid transparent !important;
  margin-bottom: 15px !important;
  margin-top: 5px !important;
}

div#sidebar-grey > div > div > form.search-options {
  margin-right: 0;
}

.search-options {
  padding-left: 15px;
}

.search-options > .input-group * {
  border-radius: 0;
}

.search-options > .btn-default {
  border-radius: 0;
}

.search-result-listing .btn-default {
  position: absolute;
  right: 10px;
  top: 10px;
}

.search-options .mCSB_container > li > a > .radio {
  margin: 0;
  padding-left: 25px;
}

.search-options .mCSB_container > li > a > label {
  font-weight: 400;
}

form.search-options > .input-group > .form-control {
  width: 280px;
}

form.search-options div.input-group:first-child {
  padding-top: 5px;
}

form.search-options div.input-group {
  padding-bottom: 15px;
}

div.input-group > .input-group-addon {
  min-width: 65px;
}

.alphabetical-search-results li, .group-container > p, .group-container > ul {
  font-size: 14px;
  line-height: 15px;
  list-style-type: none;
}

#alphabetical-menu {
  margin: 15px 0 0 15px;
}

.activated-concept, .jstree-node > .jstree-clicked {
  background-color: transparent;
  border: 0;
  color: #474b4f;
  font-weight: 600;
}

.group-container {
  margin: 15px 0 5px 15px;
}

li.sub-group {
  margin-left: 25px;
}

/* scrollbars
 ****************************/
.mCSB_container {
  margin-right: 15px !important;
}

.mCSB_scrollTools {
  opacity: 1 !important;
  width: 14px !important;
}

.mCSB_draggerRail {
  background-color: #b9c1c6 !important;
  border-radius: 0 !important;
  width: 14px !important;
}

.mCSB_dragger {
  background-color: #474b4f !important;
  border-radius: 0 !important;
  width: 14px !important;
}

.mCSB_dragger_bar {
  display: none;
}

.sidebar-grey-alpha .mCSB_dragger {
  height: 50px !important;
}

/* tables
 ****************************/

#vocab-info th, #vocab-info td {
  border-top: none !important;
}

#vocab-info tr {
  border-image: url('../pics/stripe.png') 20 20 repeat;
}

/* vocabulary
 ****************************/
.container {
  background-color: #ffffff;
  width: auto;
}

.download-links {
  margin-bottom: 15px;
}

.count-type {
  padding-right: 20px;
}

/* alerts
 ****************************/
.alert {
  background-color: #ed0d6c;
  border-radius: 0;
  border: none;
  color: white;
}

.alert-lang {
  background-color: #D4EDEB;
  color: #474b4f;
}

.frontpage-alert {
  display: inline-block;
}

.page-alert {
  display: inline-block;
  position: absolute;
  right: 0;
}

.alert h2 {
  margin: 5px 0 5px 0;
}

.alert-replaced a {
  color: #fff;
  display: inline-block;
  margin-left: 5px;
  text-decoration: underline;
}

#lang-info * {
  color: #ffffff;
}

#lang-info > h1 {
  float: left;
  font-size: 48px;
  margin: -5px 15px 0 0;
}

.errors {
  color: red;
}

/* concept
 ****************************/
.concept-info {
  background-color: #fff;
  margin-bottom: 20px;
}

.deprecated-concept * {
  color: #888;
}

.concept-info li, .concept-info ul {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.row > .property-label {
  float: left;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  width: 225px;
}

.row > .property-value-column {
  display: inline-block;
  width: calc(100% - 225px);
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
}

.property-value-column > .row > .col-xs-5 > .versal {
  word-wrap: break-word;
}

.concept-info p {
  margin: 0;
}

.concept-appendix {
  background-color: #edf0f2;
  padding: 15px;
}

.concept-main {
  margin: 0 15px;
  padding: 15px 0;
}

.appendix-vocab-label {
  font-family: 'Fira Sans', sans-serif;
  font-size: 12px;
  line-height: 21px;
}

.hidden-breadcrumb, .hidden-path, .hidden-propval {
  display: none;
}

.expand-propvals .hidden-propval {
  display: list-item;
}

.restore-breadcrumbs {
  background-color: #fff;
  float: right;
}

.crumb-path {
  float:left;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.foundby {
  margin-left: 225px;
}

.preflabel-desc > span {
  position: relative;
  top: 11px;
}

.concept-main > .row, .concept-appendix > .row {
  padding-top: 5px;
}

.concept-main > .row > .property-value-column > .property-value-wrapper {
  border-bottom: 2px solid #d4edeb;
}

.concept-main > .row:last-child > .property-value-column {
  border-bottom: 0;
}

.other-languages > .col-xs-6.versal.replaced {
  padding-right: 0;
}

.other-languages.first-of-language > .col-xs-6.versal-pref {
  padding-right: 0;
}

.other-languages > td:last-of-type {
  vertical-align: top;
}

#vocab-info table > tbody > tr.other-languages > td {
  padding-top: 0;
}

.other-languages > td:last-of-type > * {
  padding-left: 15px;
}

.concept-main .versal-pref {
  font-weight: 500;
}

.property {
  display: block;
  width: 100%;
}

.property-values {
  display: inline-block;
  width: 95%;
  width: calc(100% - 24px);
}

.shortened-property {
  display: inline-block;
  height: 18px;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  width: 95%;
  width: calc(100% - 24px);
}

.property-click {
  display: inline-block;
  vertical-align: top;
}

.property-click > img {
  vertical-align: top;
  margin-top: 3px;
}

.help-box.property-click > img {
  vertical-align: middle;
}

.shortened-symbol {
  background-color: #ffffff;
  display: inline-block;
  height: 20px;
  padding: 0 0 0 2px;
  position: absolute;
  right: 10px;
}

.property-label > .property-click {
  border-bottom: 2px dotted #CFCFCF;
}

.concept-appendix .property-click {
  border-bottom: 2px dotted #C9C7C7;
}

tr .property-hover {
  margin-bottom: 2px;
  margin-left: 5px;
}

tr.replaced-by > td > span {
  color: #474b4f;
  font-weight: bold;
}

tr.replaced-by > td > ul > li > a {
  color: #00748f;
  font-weight: bold;
}

.subvalue {
  margin-left: 15px;
}

.property-divider {
  border-bottom: 2px solid #666666;
  margin: -20px 0 0 0;
  position: absolute;
  width: 14%;
}

#vocab-info .table > tbody > tr > th {
  padding-left: 0;
}

#counts { max-width: 300px; }

#statistics { max-width: 450px; }

#statistics .property-divider, #counts .property-divider {
  margin: 0;
}

#statistics td, #statistics th, #counts td, #counts th {
  padding: 0;
}

.pagination > li > a, .pagination > li > a:hover, #sidebar > .pagination > .active > a, .pagination > li > span {
  background-color: transparent;
  color: #00748f;
  border: 0;
  padding: 4px 8px;
}

.pagination > li:last-child > a, .pagination > li:last-child > span, .pagination > li:first-child > a {
  border-radius: 0;
}

.pagination > li > a {
  width: 25px;
}

.pagination > li:last-child > a {
  width: auto;
}

.pagination {
  background-color: #F6F7F8;
  border-bottom: 1px solid #999999;
  border-radius: 0;
  margin: 0 0 -5px 0;
  padding: 0 0 0 10px;
  width: 310px;
}

.nav-tabs, #groups > a {
  background-color: #e0e4e7;
  border-bottom: none;
}

ul.nav-tabs > li {
  margin-bottom: 0;
  outline: none;
}

.nav-tabs > li > a, .nav-tabs > li > p, .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover {
  background-color: #e6e9eb;
  border-radius: 0;
  border: 0;
  margin: 0;
  outline: none;
  padding: 10px;
  text-align: center;
}

#limit {
  margin-top: -1px;
  width: 33%;
}

.nav-tabs > li {
  width: 33%;
}

.nav-tabs > li:first-of-type {
  width: 34%;
}

#alpha > a {
}

.nav-four-wide > li {
  width: 28%;
}

.nav-four-wide > #alpha {
  width: 16%;
}

.nav-tabs > li.active > a {
  background-color: #f6f7f8;
}

#hierarchy-disabled > *, #hierarchy-disabled > *:hover {
  background-color: #B9C1C6;
  color: #74787A;
  cursor: default;
}

#changes > a {
  background-color: #DEDFE0;
}

.nav-tabs > *:hover {
  background-color: #ffffff;
}


.change-list > span {
  display: inline-block;
  margin-top: 15px;
}

.change-list > span:first-of-type {
  margin: 0;
}

.content {
  margin-left: 350px;
}

.wide-content {
  margin-left: 0;
}

#skiptocontent {
  height: 1px;
  width: 1px;
  position: absolute;
  overflow: hidden;
  top: -10px;
}

span.date-info {
  float: right;
  font-family: 'Fira Sans', sans-serif;
  font-size: 12px;
  margin-top: 4px;
}

.concept-download-links > a {
 margin-right: 1px;
}

.copy-clipboard {
  color: #00748F;
  border-radius: 0;
  vertical-align: unset;
  font-size: 14px;
  border: 0;
}

.copy-clipboard:active, .copy-clipboard:focus, .copy-clipboard:active:focus {
  background-color: #fff;
  color: #00748F;
}

.copy-clipboard:hover {
  background-color: #fff;
  color: #23527c;
}

.property-value-column > .copy-clipboard {
  font-size: 24px;
}

/* typeahead.js
 ***********************************/

.typeahead,
.tt-query,
.tt-hint {
  border-radius: 0;
  border: 2px solid #ccc;
  font-size: 14px;
  line-height: 20px;
  outline: none;
  width: 396px;
}

.typeahead {
  background-color: #fff;
}

.typeahead:focus {
  border: 2px solid #75889F;
}

.tt-hint {
  color: #999
}

.tt-dropdown-menu {
  background-color: #F9F9F9;
  border-radius: 0;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  max-height:302px;
  overflow-y: auto;
  right: 0 !important;
  top: 40px !important;
}

.header-float > .navbar-form > .input-group > .twitter-typeahead > .tt-dropdown-menu {
  width: 100%; /* fallback */
  width: calc(100% + 68px);
  min-width: calc(100% + 68px);
}

.tt-dropdown-menu.mCustomScrollbar {
  border-right: 0;
}

.tt-suggestion p {
  display: inline-block;
  padding-right: 2px;
}

.tt-suggestion p:last-of-type {
  padding-right: 0;
}

.tt-suggestion:last-of-type {
  border-bottom: none;
}

.autocomplete-no-results {
  margin: 0 0 0 6px;
}

.tt-suggestion {
  border-bottom: 1px solid #cccccc;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  padding: 2px 8px;
}

.tt-suggestion:last-of-type {
  border-bottom: none;
}

.tt-suggestion.tt-cursor {
  background-color: #EEEEEE;
}

.twitter-typeahead > .form-control {
  border-radius: 0;
  height: 30px;
}

.navbar-form > .input-group > .input-group-btn {
  vertical-align: top;
}

.tt-suggestion p {
  margin: 0;
}

.twitter-typeahead > .clear-search {
  color: #CCCCCC;
  cursor: pointer;
  font-size: 24px;
  position: absolute;
  right: 8px;
  top: 4px;
  z-index: 9001;
}

.twitter-typeahead > .clear-search-dark {
  color: #555555;
}

.gist {
  font-size: 14px;
}

.search-options > div.input-group > .twitter-typeahead, .search-options > div.input-group > .twitter-typeahead > .tt-dropdown-menu, .search-options > .input-group > .btn-group > * {
  width: 280px;
}

.vocab, .concept-type {
  font-size: 12px;
}

.type {
  float: right;
}

.tt-suggestion > .concept-type {
  float: right;
  height: auto;
}

.tt-suggestion {
  overflow: hidden;
}

p.autocomplete-label {
  color: #00748f;
}

/* jsTree customization
 *****************************************/
.jstree-leaf > .jstree-ocl {
  width: 13px;
}

.jstree-closed > .jstree-ocl {
  width: 24px;
}

#sidebar .jstree-clicked, #sidebar .jstree-hovered {
  background: none;
  box-shadow: none;
}

.jstree-default .jstree-node, .jstree-default .jstree-anchor {
    line-height: 18px;
    min-height: 18px;
}

#sidebar .jstree-default .jstree-icon {
    height: 18px;
    line-height: 18px;
    width: 18px;
}

.jstree-default.jstree-rtl .jstree-node {
    margin-right: 18px;
}

.jstree-default .jstree-wholerow {
    min-height: 18px;
}

.jstree-open > .jstree-anchor, .jstree-closed > .jstree-anchor {
  line-height: 18px;
}

.jstree-anchor {
  padding: 0 18px 0 1px;
}

#sidebar .jstree-node {
  margin-left: 10px;
}

#sidebar .jstree-container-ul > .jstree-node {
  margin-left: 2px;
}

#sidebar .jstree-default a { white-space:normal; height: auto; }
#sidebar .jstree-default li > ins { vertical-align:top; }
#sidebar .jstree-default a > .tree-notation { color: #333; }

.sidebar-grey .jstree-closed > .jstree-ocl {
  background-position: -100px -8px;
}

.sidebar-grey .jstree-open > .jstree-ocl {
  background-position: -132px -8px;
}

.jstree-default .jstree-leaf > .jstree-ocl {
  background-position: -68px -8px;
}

.group {
  font-weight: bold;
}

/* Fix for a nasty chromium bug causing the fonts not to render before a redraw.
 * https://code.google.com/p/chromium/issues/detail?id=336476
 ************************************/

body, .versal, h1, h2, p, .versal-bold {
  -webkit-animation-delay: 0.1s;
  -webkit-animation-name: fontfix;
  -webkit-animation-duration: 0.1s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: linear;
}

@-webkit-keyframes fontfix {
  from { opacity: 1; }
  to   { opacity: 1; }
}

/* mediaquery
 ***********************************/
@media (max-width: 800px) {
  .main-container, .headerbar {
    width: 95% !important;
  }

  .content > .feedback-logo, .content > .about-logo {
    left: 10px;
  }

  .content > .feedback-box, .content > #about, .content > .credits, .content > .version {
    margin-left: 120px;
    width: 500px;
  }

  .tt-dropdown {
    max-width: 240px;
  }

  .content {
    margin-left: 300px;
  }

  .property-divider {
    width: 17%;
  }

  h1 {
    font-size: 22px;
  }

  #sidebar {
    display: none;
  }

  .content {
    margin: 0 auto;
  }

  .welcome-box, .right-box {
    float: left;
    width: 200px;
  }

  #vocabulary-list, #vocabulary-list-right {
    float: right;
    margin-left: 15px;
    position: relative;
    width: calc(100% - 220px);
  }

  .vocab-category > ul, .vocab-category > li {
    left: 0;
    width: 100%;
  }

  .vocabulary-separator {
    margin-left: 0;
  }

}

@media (max-width: 340px) {
  #vocab-info .vocab-info-literals > table > tbody > tr > th {
    max-width: 120px;
  }
  #vocab-info .vocab-info-literals > table > tbody > tr > td {
    max-width: 180px;
  }
}

@media (max-width: 400px) {

  #navi3 {
    display: none;
  }
}

@media (max-width: 550px) {

  #navigation {
    left: 3.5%;
  }

  .topbar.frontpage > a {
    display: inline;
  }

  .row > .property-value-column {
    width: 100%;
  }

  .row > .property-value-column, .row > .property-value-column  {
    margin: 5px 0;
  }
  
  .row:nth-of-type(2) > .property-value-column {
    margin: 2px 0 0 0;
    height: 30px;
    line-height: 30px;
  }
  
  .concept-main > .row > .property-label-pref {
      margin-top: 10px;
      height: 20px;
      line-height: 20px;
  }

  .search-vocab-text{
    display: none;
  }

}

@media (max-width: 640px) {

  .header-float {
    margin-left: 15px;
  }

  .welcome-box, .right-box {
    display: none;
  }

  #vocabulary-list, #vocabulary-list-left, #vocabulary-list-right, .twitter-typeahead {
    margin: 0;
    width: 100%;
  }
  
  .headerbar-coloured {
    overflow: hidden;
  }

  .headerbar {
    width: 95%;
  }

  .content {
    overflow: hidden;
  }
  
}

@media (max-width: 800px) {
  
  .twitter-typeahead {
    width: 100%;
  }

  .right-box {
    left: 0;
  }

}

@media (max-width: 700px) {

  .topbar > a {
    display: none;
  }

  .topbar {
    position: relative;
  }

  #navi1, #navi2, #navi3, #navi4 {
    background-image: none;
    padding-left: 0;
  }

  #navigation {
    left: 2.5%;
    width: auto;
  }

  #navigation > a, #language > a, #navi4 > span {
    font-weight: 500;
    margin: 2px;
  }

  .frontpage #language {
    padding-right: 0;
    position: absolute;
    right: 2.5%;
    text-align: left;
  }

  #service-logo {
    height: 200px;
    position: absolute;
    right: 3%;
  }

  .frontpage-spacing .header-float {
    float: left;
    width: 100%;
  }

  .main-container.frontpage {
    overflow: hidden;
    top: 10px;
  }

  #navigation {
    padding-right: 0;
    position: absolute;
  }

  input#search-field {
    max-width: none;
  }

  .btn-group, .input-group, #search-field {
    width: 100%;
  }

  .header-float > .btn-group > .btn {
    width: 100%;
  }

  .frontpage-spacing > .header-float > .navbar-form {
    width: 100%;
  }
  
  .frontpage-spacing > .header-float > .navbar-form > .input-group {
    margin-top: 5px;
  }

}

@media (min-width: 640px) {
  #service-logo {
    display: inline;
  }

  .right-box {
    display: inline;
  }
  
  .voclist-wide > .right-box {
    left: 0;
    top: 425px;
  }

  .crumb-path:first-of-type {
    max-width: calc(100% - 180px);
  }

}

@media (min-width: 801px) {

  .content > .feedback-logo, .content > .about-logo {
    left: 10px;
  }

  .frontpage-alert {
    margin-left: 20px;
    width: calc(100% - 375px);
  }

  .page-alert {
    width: calc(100% - 335px);
  }

  .nav > li > a {
    padding: 10px 10px;
  }

  .frontpage-logo .input-group {
    max-width: 450px;
  }

  .tt-dropdown-menu {
    width: 234px;
  }

  #navigation > a {
    margin: auto 10px;
  }

  #service-logo {
    display: inline;
    position: absolute;
  }

  .content > .feedback-box, .content > #about {
    width: 500px;
  }

  .content {
    margin-left: 330px;
  }

  #sidebar {
    width: 310px;
  }

  .property-divider {
    width: 17%;
  }

  .frontpage > .welcome-box, .frontpage > .right-box {
    width: 200px;
  }
    
  .voclist #vocabulary-list {
    margin-left: 20px;
    width: calc(100% - 225px);
  }
  
   .voclist-right #vocabulary-list {
    margin-left: 20px;
    width: auto;
    width: calc(100% - 225px);
  }

  .voclist-left #vocabulary-list{
    margin-left: 0;
    width: auto;
    width: calc(100% - 225px);
  }

  .voclist-left > .right-box {
    top: 0;
    right: 0;
  }

  h1 {
    font-size: 24px;
  }

}

@media (max-width: 1259px) {

  .search-result-listing .prefLabel, .search-result-listing .notation {
    font-size: 14px;
  }

  .voclist > .right-box {
    top: 435px;
    left: 0;
  }

}

@media (min-width: 1260px) {
  .main-container, .headerbar, .topbar {
    width: 1190px;
  }

  #service-name {
    left: 0 !important;
  }

  .frontpage-alert {
    width: calc(100% - 610px);
  }

  .page-alert {
    width: calc(100% - 425px);
  }

  .sidebar-grey-alpha {
    height: calc(100% - 150px) !important;
  }

  .sidebar-grey > .search-options > .input-group > .btn-group > .multiselect {
    width: 370px;
  }

  .sidebar-grey > .search-options > .input-group > .btn-group > .multiselect-container {
    width: 370px;
  }

  .search-options .multiselect > span {
    width: 340px;
  }

  .pagination {
    padding: 6px 10px;
    top: 183px;
    width: 400px;
  }

  .pagination > li > a {
    width: 26px;
  }

  .topbar {
    margin: 0 auto;
    margin-bottom: 20px;
    position: relative;
  }

  #language {
    padding-left: 25px;
    padding-right: 0;
    right: 0;
  }

  #language > .dropdown-menu {
    position: absolute;
    right: 0;
  }

  #navigation {
    padding-right: 0;
    position: relative;
  }

  .frontpage > .welcome-box, .frontpage > .right-box {
    width: 210px;
  }

  .frontpage > .right-box {
    display: inline-block;
    left: auto;
    top: 0;
  }

  .content > .feedback-box, .content > #about, .content > .credits {
    width: 600px;
  }

  .tt-dropdown-menu {
    min-width: 310px;
  }

  .content {
    margin-left: 425px;
  }

  input#search-field {
    width: 260px;
  }

  .voclist #vocabulary-list {
    display: inline-block;
    position: relative;
    width: 720px;
  }

  .voclist-left #vocabulary-list, .voclist-right #vocabulary-list {
    width: 955px !important;
  }

  #sidebar {
    width: 400px;
  }

  h1 {
    font-size: 27px;
  }

  .alphabetical-search-results li, li, .versal, .versal-bold, p, .search-result > .prefLabel, .search-result > .notation, .property-values > .prefLabel, td > a {
    font-size: 16px;
  }

  .search-result > div > span.uri-input-box {
    font-size: 14px;
  }

  .appendix-vocab-label {
    font-size: 14px;
    line-height: 23px;
  }

  span.date-info {
    font-size: 14px;
    margin-top: 0;
  }

  .search-options > div.input-group > .twitter-typeahead, .search-options > div.input-group > .twitter-typeahead > .tt-dropdown-menu {
    min-width: 370px;
  }

  .row > .property-label {
    width: 235px;
  }

  .row > .property-value-column {
    width: calc(100% - 235px);
  }

}

@media (min-width: 1520px) {

  .main-container, .headerbar, .topbar {
    width: 1240px;
  }

  .frontpage-alert {
    width: calc(100% - 530px);
  }

  #vocabulary-list {
    display: inline-block;
    position: relative;
    width: 710px !important;
  }

  .voclist-left #vocabulary-list, .voclist-right #vocabulary-list {
    width: 975px !important;
  }

  .frontpage > .right-box {
    width: 240px;
  }

  .frontpage > .welcome-box {
    margin-left: 0;
    width: 240px;
  }

}

<!--[if IE]>
#vocab-info hr {
  border: 2px dashed #62729f !important;
}
<![endif]-->
