/* Intranet foodmenu */
.custom-post-list-container .custom-post-list-navigation {
  margin-bottom: 1.125rem; }
  .custom-post-list-container .custom-post-list-navigation .letters {
    align-items: flex-start;
    /* add this line to align items to the left */
    flex-wrap: wrap;
    /* allow items to wrap on smaller screens */
    display: none; }
    @media (min-width: 768px) {
      .custom-post-list-container .custom-post-list-navigation .letters {
        display: flex; } }
    @media (min-width: 992px) {
      .custom-post-list-container .custom-post-list-navigation .letters {
        justify-content: space-between; } }
    .custom-post-list-container .custom-post-list-navigation .letters .item {
      border: 1px solid #000;
      border-radius: 5px;
      margin: 5px;
      text-align: center;
      flex-grow: 1;
      max-width: calc(100% / 26 - 10px);
      /* to make sure each item fits in one line */
      min-width: 30px; }
      .custom-post-list-container .custom-post-list-navigation .letters .item.all {
        max-width: unset;
        min-width: unset; }
        @media (max-width: 768px) {
          .custom-post-list-container .custom-post-list-navigation .letters .item.all {
            width: 100%; } }
      .custom-post-list-container .custom-post-list-navigation .letters .item a {
        padding: auto 10px;
        border-radius: 3px;
        display: block; }
        .custom-post-list-container .custom-post-list-navigation .letters .item a:hover {
          background: #EEE; }
      .custom-post-list-container .custom-post-list-navigation .letters .item.item-empty {
        opacity: 0.3; }
      .custom-post-list-container .custom-post-list-navigation .letters .item.item-current {
        background: var(--primary_color);
        border-color: var(--primary_color); }
        .custom-post-list-container .custom-post-list-navigation .letters .item.item-current,
        .custom-post-list-container .custom-post-list-navigation .letters .item.item-current a {
          color: #FFF; }
          .custom-post-list-container .custom-post-list-navigation .letters .item.item-current:hover,
          .custom-post-list-container .custom-post-list-navigation .letters .item.item-current a:hover {
            background: var(--primary_color); }
  .custom-post-list-container .custom-post-list-navigation .select {
    display: block; }
    @media (min-width: 768px) {
      .custom-post-list-container .custom-post-list-navigation .select {
        display: none; } }
    .custom-post-list-container .custom-post-list-navigation .select select {
      width: 100%;
      height: 40px; }

.custom-post-list-container .custom-post-list-search form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.5rem; }
  .custom-post-list-container .custom-post-list-search form .search-field {
    flex: 1;
    margin-right: 0.75rem;
    align-self: stretch;
    /* Stretch to full height */ }
  .custom-post-list-container .custom-post-list-search form .search-submit {
    flex: 0 0 auto;
    align-self: stretch;
    /* Stretch to full height */
    border: 0;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    background: var(--primary_color);
    color: #FFF; }

.custom-post-list-container .custom-post-list-info {
  margin-bottom: 1.5rem;
  float: left;
  width: 100%;
  line-height: 1; }
  .custom-post-list-container .custom-post-list-info .phrase {
    float: left; }
  .custom-post-list-container .custom-post-list-info .showall {
    padding-left: 1.5rem;
    margin-left: 1.5rem;
    border-left: 1px solid #000;
    float: left; }

.custom-post-list-container .custom-post-list-table {
  width: 100%; }
  @media screen and (max-width: 576px) {
    .custom-post-list-container .custom-post-list-table {
      border: 0; }
      .custom-post-list-container .custom-post-list-table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px; }
      .custom-post-list-container .custom-post-list-table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: 1.25em; }
        .custom-post-list-container .custom-post-list-table tr td {
          border-bottom: 1px solid #ddd;
          display: block;
          font-size: .8em;
          text-align: right;
          width: 100% !important;
          padding: 7.5px; }
          .custom-post-list-container .custom-post-list-table tr td::before {
            content: attr(data-label);
            float: left;
            font-weight: bold;
            text-transform: uppercase; }
        .custom-post-list-container .custom-post-list-table tr td:last-child {
          border-bottom: 0; } }
  .custom-post-list-container .custom-post-list-table th,
  .custom-post-list-container .custom-post-list-table td {
    padding: 13px 10px;
    text-align: left; }
  .custom-post-list-container .custom-post-list-table [data-href] {
    cursor: pointer; }
  .custom-post-list-container .custom-post-list-table .letter {
    border-bottom: 1px solid #000; }
  .custom-post-list-container .custom-post-list-table .header {
    background: #EEE; }
  .custom-post-list-container .custom-post-list-table .first-letter {
    font-size: 2em;
    font-weight: 700;
    line-height: 1;
    padding-top: 0.75rem; }
  .custom-post-list-container .custom-post-list-table .item {
    line-height: 1.2;
    border-bottom: 1px solid #eee; }
    .custom-post-list-container .custom-post-list-table .item .thumbnail {
      width: 10%; }
      .custom-post-list-container .custom-post-list-table .item .thumbnail img {
        width: 75px; }
    .custom-post-list-container .custom-post-list-table .item .shipname {
      width: 30%;
      font-weight: 700; }
    .custom-post-list-container .custom-post-list-table .item .yearofconstruction {
      width: 10%; }
    .custom-post-list-container .custom-post-list-table .item .shiptype {
      width: 25%; }
    .custom-post-list-container .custom-post-list-table .item .homeport {
      width: 25%; }
    .custom-post-list-container .custom-post-list-table .item .website a {
      text-decoration: underline; }

.custom-post-list-container .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em; }
  .custom-post-list-container .pagination .page-numbers {
    padding: 10px;
    margin: 5px; }

.custom-post-list-container .no-posts {
  text-align: center;
  margin: 1.5rem 0; }

.custom-post-single .custom-post-single-back {
  margin-top: -40px;
  padding-bottom: 10px;
  display: block; }

.custom-post-single .custom-post-single-columns {
  display: flex;
  flex-wrap: wrap; }
  .custom-post-single .custom-post-single-columns .custom-post-single-column1,
  .custom-post-single .custom-post-single-columns .custom-post-single-column2 {
    flex: 1;
    margin-right: 1.5rem; }
  .custom-post-single .custom-post-single-columns .custom-post-single-column2 {
    margin-right: 0; }
  @media (max-width: 768px) {
    .custom-post-single .custom-post-single-columns {
      display: block; }
      .custom-post-single .custom-post-single-columns .custom-post-single-column1 {
        margin-right: 0; }
      .custom-post-single .custom-post-single-columns .custom-post-single-column2 {
        margin-left: 0; } }
  .custom-post-single .custom-post-single-columns h2.custom-post-single-title {
    display: block;
    width: 100%;
    text-transform: uppercase; }
  .custom-post-single .custom-post-single-columns .custom-post-single-image {
    margin-bottom: 1.5rem; }
    @media (min-width: 768px) {
      .custom-post-single .custom-post-single-columns .custom-post-single-image {
        padding-right: 1.5rem; } }
    .custom-post-single .custom-post-single-columns .custom-post-single-image img {
      width: 100%; }
  .custom-post-single .custom-post-single-columns .custom-post-single-field {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    /* Stretch flex items to full height of container */
    margin-bottom: 0.65em;
    padding-bottom: 0.65em;
    border-bottom: 1px solid #CCC;
    line-height: 1.5; }
    .custom-post-single .custom-post-single-columns .custom-post-single-field a {
      text-decoration: underline; }
  .custom-post-single .custom-post-single-columns .custom-post-single-label {
    display: block;
    flex: 0 0 180px;
    /* Set a fixed width for the label */
    font-weight: bold; }
    .custom-post-single .custom-post-single-columns .custom-post-single-label.type-heading {
      padding-top: 1.5rem;
      font-size: 1.3em;
      display: block;
      flex: unset;
      max-width: unset;
      width: 100%; }
    @media (max-width: 768px) {
      .custom-post-single .custom-post-single-columns .custom-post-single-label {
        flex: 0 0 40%;
        /* Set a fixed width for the label */
        max-width: 40%;
        word-wrap: break-word;
        hyphens: auto; } }
  .custom-post-single .custom-post-single-columns .custom-post-single-value {
    display: block;
    flex: 0 0 60%;
    /* Set a fixed width for the value */
    max-width: 60%;
    word-wrap: break-word;
    hyphens: auto; }

.custom-post-list-container.vessel .custom-post-list-table .item .thumbnail {
  width: 10%; }
  .custom-post-list-container.vessel .custom-post-list-table .item .thumbnail img {
    width: 75px; }

.custom-post-list-container.vessel .custom-post-list-table .item .shipname {
  width: 30%;
  font-weight: 700; }

.custom-post-list-container.vessel .custom-post-list-table .item .yearofconstruction {
  width: 10%; }

.custom-post-list-container.vessel .custom-post-list-table .item .shiptype {
  width: 25%; }

.custom-post-list-container.vessel .custom-post-list-table .item .homeport {
  width: 25%; }

.custom-post-list-container.harbour .custom-post-list-table .item td {
  vertical-align: top; }

.custom-post-list-container.harbour .custom-post-list-table .item .harbourname {
  width: 30%;
  font-weight: 700; }

.custom-post-list-container.harbour .custom-post-list-table .item .website {
  width: 20%; }

.custom-post-list-container.harbour .custom-post-list-table .item .worthknowing {
  width: 50%; }
