/*
 * Legacy-Regeln für Inhalte, die aus dem früheren ZMS-System
 * übernommen wurden.
 *
 * Das allgemeine Theme-Layout befindet sich in /style.css.
 */

/* ==============================================================
   Alte Farbhilfsklassen
============================================================== */

.neutralColorTrans {
    background-color: transparent;
}

.neutralColorStrong {
    background-color: #292929;
}

.neutralColorMedium {
    background-color: #999;
}

.neutralColorLight {
    background-color: #ccc;
}

.neutralColorWhite {
    background-color: #fff;
}

.primColorStrong,
.primColorMedium {
    background-color: #00318d;
}

.primColorLight {
    background-color: #4865aa;
}

.teaserColor {
    background-color: orange;
}

.dots {
    border-bottom: 1px dotted #00318d;
}

/* ==============================================================
   Alte Datei- und Linkelemente
============================================================== */

div.ZMSFile,
div.ZMSLinkElement {
    clear: both;
    background-color: #fff;
}

div.ZMSFile.none,
div.ZMSLinkElement.none {
    border: 2px dashed #eee;
    background-color: transparent;
}

div.ZMSFile.floatleft,
div.ZMSLinkElement.floatleft {
    float: left;
    width: 50%;
}

div.ZMSFile.floatright,
div.ZMSLinkElement.floatright {
    float: right;
    width: 50%;
}

div.ZMSFile div.title,
div.ZMSLinkElement div.title {
    font-size: 14px;
}

div.ZMSFile div.title img {
    float: left;
    margin: 3px 7px 20px 0;
}

div.ZMSFile div.title a:link,
div.ZMSFile div.title a:visited,
div.ZMSLinkElement div.title a:link,
div.ZMSLinkElement div.title a:visited {
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

div.ZMSFile div.text,
div.ZMSLinkElement div.text,
div.ZMSFile div.description,
div.ZMSLinkElement div.description {
    margin-left: 24px;
    font-size: 14px;
}

div.ZMSLinkContainer {
    background-color: #eee;
}

/* ==============================================================
   Alte Grafikelemente
============================================================== */

div.ZMSGraphic {
    margin: 4px;
    background-color: transparent;
}

.zmi div.ZMSGraphic {
    margin: 0;
}

div.ZMSGraphic.left {
    text-align: left;
}

div.ZMSGraphic.right {
    text-align: right;
}

div.ZMSGraphic.center {
    text-align: center;
}

div.ZMSGraphic.floatleft {
    float: left;
    margin-right: 10px;
}

div.ZMSGraphic.floatright {
    float: right;
    margin-left: 10px;
}

div.ZMSGraphic.center div.graphic {
    margin: 0 auto;
    text-align: center;
}

div.ZMSGraphic div.text {
    padding: 4px;
}

div.ZMSGraphic.right div.graphic {
    width: 100% !important;
}

div.ZMSGraphic.right div.graphic img {
    display: inline !important;
}

div.graphic.alignleft {
    float: left;
    text-align: right;
}

div.graphic.alignright {
    float: right;
    text-align: right;
}

.ZMSGraphic p.caption {
    color: #555;
    font-size: 11px;
    line-height: 1.3;
}

/* ==============================================================
   Fancybox
============================================================== */

a.fancybox img {
    padding: 0 0 21px;
}

/*
 * Diese Grafik muss unter assets/images/zoom.gif vorhanden sein.
 * Falls sie nicht benötigt wird, kann die background-Regel entfallen.
 */
a.fancybox img {
    background-color: transparent;
    background-image: url("../images/zoom.gif");
    background-position: right bottom;
    background-repeat: no-repeat;
}

/* ==============================================================
   Alte Zoom- und Download-Symbole
============================================================== */

a.zoom img.zoom,
a.superzoom img.superzoom,
a.download img.download {
    width: 26px;
    height: 21px;
    margin: 0;
    padding: 0;
    background-position: top right;
    background-repeat: no-repeat;
}

a.zoom img.zoom {
    background-image: url("../images/zoom.gif");
}

a.download img.download {
    background-image: url("../images/download.gif");
}

a.superzoom img.superzoom {
    background-image: url("../images/superzoom.gif");
}

/* ==============================================================
   Alte Suche
============================================================== */

.smSearchForm,
#btnSearch {
    background-color: #f2f2f2;
}

input.form-control.search {
    height: 39px;
}

i.icon-search {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    background-image: url("../images/search-button.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    line-height: 24px;
    vertical-align: text-top;
}

.smSearchForm input.searchInput {
    width: 160px;
    height: 40px;
    border: 0;
    background-color: transparent;
}

.searchHeader {
    padding: 10px;
    font-size: 100%;
}

.searchResult span.title a,
.searchResult span.title i {
    color: #00318d;
    font-size: 14px;
}

.searchResult span.linkpath a {
    color: #00318d;
}

/* ==============================================================
   Titelbild
============================================================== */

#titleimage {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
    padding-bottom: 24px;
    border-bottom: 1px dotted #00318d;
}

/* ==============================================================
   Teaser
============================================================== */

#teaser {
    width: 200px !important;
}

#teaser .ZMSTeaserElement div.graphic {
    background-color: #fff;
    text-align: center;
}

#teaser .ZMSTeaserElement .title {
    padding: 2px 5px;
    font-size: 12px;
}

#teaser .ZMSTeaserElement .text {
    padding: 2px 6px;
    font-size: 11px;
}

/* ==============================================================
   Alte Btile-Elemente
============================================================== */

.btileRow {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dotted #00318d;
}

.btileImg {
    width: 100%;
    margin-bottom: 5px;
}

/* ==============================================================
   Bildercontainer
============================================================== */

div.images {
    margin-bottom: 1em;
}

p ~ div.images {
    margin-top: 1.5em;
}

/* ==============================================================
   Responsive Legacy-Inhalte
============================================================== */

@media (max-width: 767px) {
    div.ZMSFile.floatleft,
    div.ZMSFile.floatright,
    div.ZMSLinkElement.floatleft,
    div.ZMSLinkElement.floatright {
        float: none;
        width: 100%;
    }

    #teaser {
        width: 100% !important;
    }
}