/*
 * Copyright 2021 FIZ Karlsruhe - Leibniz-Institut fuer Informationsinfrastruktur GmbH
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.view-articles-categorys .right-text {
  position: relative;
  height: auto;
  margin-left: 245px;
}

.view-archiv .right-text {
  position: relative;
  height: auto;
  margin-left: 155px;
}

.view-articles-categorys .img-responsive {
  margin: 0;
  padding: 0;
}

.view-articles-categorys .field--name-node-post-date {
  font-size: 0.875em;
}

.view-articles-categorys .title,
.view-exhibitions-list .title,
.view-virtual-exhibitions .title {
  margin: 5px 0;
  font-size: 1.375em;
  line-height: 1.2em;
}

.view-articles-categorys .field--type-text-with-summary,
.view-exhibitions-list .field--type-text-with-summary,
.view-virtual-exhibitions .field--type-text-with-summary {
  max-height: 130px;
  overflow: hidden;
  font-size: 1em;
  line-height: 1.4em;
}

.view-articles-categorys .field--type-text-with-summary p,
.view-exhibitions-list .field--type-text-with-summary p,
.view-virtual-exhibitions .field--type-text-with-summary p {
  margin: 0;
}

.view-articles-categorys .field--name-node-link {
  font-size: 1em;
}

.view-articles-categorys .field--name-node-link a {
  position: unset;
  bottom: unset;
}

.view-articles-categorys .title a,
.view-exhibitions-list .title a,
.view-virtual-exhibitions .title a {
  text-decoration: none !important;
}

.static-content h2.title a {
  text-decoration: none !important;
  font-weight: normal;
}

.static-content h2.title a:hover {
  text-decoration: underline !important;
}

.view-articles-categorys .page-nav .extra-controls > div,
.view-exhibitions-list .page-nav .extra-controls > div {
  margin-left: -35px;
}

.view-articles-categorys .page-nav .extra-controls .arrow-container,
.view-exhibitions-list .page-nav .extra-controls .arrow-container {
  left: 23px;
}

.view-articles-categorys .page-info-nav ul,
.view-exhibitions-list .page-info-nav ul {
  padding-left: 0;
}

.view-articles-categorys .page-info-nav .list-inline,
.view-exhibitions-list .page-info-nav .list-inline {
  padding-left: 0;
  width: 550px;
}

.view-articles-categorys .page-info-nav .list-inline {
  margin-left: 230px;
}

.view-archiv .page-info-nav .list-inline {
  margin-left: 140px;
}

.view-archiv-archive .field--name-node-title h2 {
  margin-bottom: 0;
  line-height: 1.2em;
}

.view-archiv-archive .page-nav .extra-controls>div {
  margin-left: -12px;
}

.view-archiv-archive .page-nav .extra-controls .arrow-container {
  left: 0;
}

.view-archiv-archive .field--type-text-with-summary,
.view-archiv-archive .field--type-text-with-summary p {
  margin-top: 0;
}

/* XS Medium Devices
 */
@media (max-width: 767px) {
  .view-articles-categorys .right-text {
    position: relative;
    margin-left: 205px;
    margin-right: 15px;
  }

  .view-archiv .right-text {
    margin-left: 5px;
    padding-right: 15px;
    float: left;
    max-width: calc(75% - 40px);
  }

  .view-archiv .pull-left {
    max-width: 25%;
  }

  .view-articles-categorys .title,
  .view-exhibitions-list .title,
  .view-virtual-exhibitions .title {
    font-size: 20px;
  }

  .view-articles-categorys .field--name-node-link a {
    position: unset;
    bottom: unset;
    visibility: hidden;
  }

  .view-articles-categorys .page-info-nav .list-inline{
    margin-left: 190px;
  }

  .view-articles-categorys .field--type-text-with-summary,
  .view-exhibitions-list .field--type-text-with-summary,
  .view-virtual-exhibitions .field--type-text-with-summary {
    font-size: 1em;
    line-height: 1.4em;
  }
}

/* SM Medium Devices
 */
@media (min-width: 768px) and (max-width: 991px) {
  .view-articles-categorys .right-text {
    position: relative;
    margin-left: 165px;
  }

  .view-articles-categorys .title,
  .view-exhibitions-list .title,
  .view-virtual-exhibitions .title {
    font-size: 20px;
  }

  .view-articles-categorys .field--name-node-link a {
    position: unset;
    bottom: unset;
  }
  .view-articles-categorys .page-info-nav .list-inline {
    margin-left: 150px;
  }

  .view-articles-categorys .field--type-text-with-summary,
  .view-exhibitions-list .field--type-text-with-summary,
  .view-virtual-exhibitions .field--type-text-with-summary {
    font-size: 1em;
    line-height: 1.4em;
  }

  h3 {
    line-height: 1.2em;
  }
}

/* MD Medium Devices
 */
@media (min-width: 992px) and (max-width: 1199px) {

  .view-articles-categorys .right-text {
    position: relative;
    margin-left: 205px;
  }

  .view-articles-categorys .field--name-node-link a {
    position: unset;
    bottom: unset;
  }

  .view-articles-categorys .page-info-nav .list-inline {
    margin-left: 190px;
  }

  h3 {
    line-height: 1.2em;
  }
}

.view-articles-categorys .field--type-text-with-summary,
.view-exhibitions-list .field--type-text-with-summary,
.view-virtual-exhibitions .field--type-text-with-summary {
  max-height: inherit;
  overflow: hidden;
}
