/* css/thorsten.less */

@docwidth: 1400px;
@contentwidth: 1000px;

@cLightBlue: #DFE9F0;
@cBlue: #26828C;
@cOrange: #F39325;
@cTextColor: #3C4F64;
@cDarkBlue: #00385C;

@defaultGap: 18px;
@borderRadiusSmall: 3px;
@fontWeightLight: 100;

.editor-styles-wrapper {

  // news
  .ariva-news,
  .news-archive {
    .date {
      font-weight: bold;

    }

    .item.featured {
      h3 {
        overflow: hidden;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        min-height: 2.2em;
      }
    }

    .item.short {
      margin-bottom: 60px;

      h3 {
        margin-bottom: 20px;
      }

      &:last-child {
        margin-bottom: 120px;
      }

    }
  }

  //news-teaser




  .stickynav {
    z-index: 100;
    position: fixed;
    top: 50%;
    right: -10px;
    background-color: #26828C;
    border-radius: @borderRadiusSmall;
    padding: 0.5em;
    border-right: 10px solid #26828C;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;

    ul {
      margin: 0px;
      padding: 0px;
      list-style: none;

      li {
        margin: 0px;
        padding: 0px;
        height: 35px;

        a {
          display: block;
          margin: 0.4em 0.3em;
          width: 35px;
          height: 35px;
          overflow: hidden;
          float: right;
          transition: width 0.25s, height 0.25s, transform;

          &:hover {
            width: 40px;
            height: 40px;

          }

        }

        img {
          width: 100%;
          height: 100%;

        }

      }

      &.wpm-language-switcher {

        li {
          display: none !important;

          &.active {
            display: none;
          }

          a {

            span {
              display: none;
            }

            &:last-child {
              margin-bottom: 0;
            }


          }

          &.wpm-item-language-en,
          &.wpm-item-language-de {
            a {
              background-repeat: no-repeat;
              background-position: top right;
              margin-bottom: 0.4em !important;
            }
          }

          &.wpm-item-language-en {
            a {
              background-image: url(@themeurl + "/css/img/flagEN.svg");
            }
          }

          &.wpm-item-language-de {
            a {
              background-image: url(@themeurl + "/css/img/flagDE.svg");

            }
          }
        }

      }

    }
  }


  .annotation {
    //display: none;
    background-color: #c62fc6;
    color: white;

    &.box {
      padding: 1rem;
      //position: absolute;
    }
  }

  p {
    orphans: 2;
    widows: 2;
  }
  footer {

    clear: both;
    padding-top: 4rem;
    padding-bottom: 3rem;
    background-color: @cLightBlue;
    width: 100%;
    max-width: 100%;
    color: @cTextColor;

    .footerData {
      max-width: @contentwidth;
      margin-left: auto;
      margin-right: auto;

      div {
        border: 0 none;
        width: 33%;
        display: inline-block;
        min-height: 100px;
        vertical-align: top;
        margin-top: 1rem;
        &.logo {
          img {
            max-width: 40%;
            margin-bottom: 0.5em;
          }
        }

        &.links {
          text-align: right;
        }

        a {
          color: @cBlue;
        }
      }

      span.bez {
        color: rgba(105, 110, 117, 0.95);

      }
    }


    #address {
      font-size: 100%;

      th {
        border: 0 none;
        text-align: left;

        img {
          max-width: 10%;
        }
      }

      td {
        vertical-align: top;
      }

    }

    a {
      text-decoration: none;
      color: @cTextColor;

      &:hover {
        text-decoration: underline;
        font-weight: bold;
      }
    }

    p {
      max-width: @contentwidth;
      margin-left: auto;
      margin-right: auto;
      font-size: 90%;
      padding: 8px;

    }
  }
}
