
/* - content.unitracc.css - */
@media all {
/* content.unitracc.css: Styling des User Contributed Content */

/* ---------------------------------------- [ Content layouts ... [ */

p.preserve-whitespace, .preserve-whitespace {
    white-space: pre-line;
}

p.preserve-linebreaks, .preserve-linebreaks {
    white-space: pre-line;
}

.field h2 {
    font-size: 14px;
    line-height: 20px;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
}

/* Linke Abstände */
.layout-column {
    margin-left: 2%;    /* rel. zur Breite des Containers */
    float: left;
    min-height: 1em;
}

/*
 * Der MSIE 6 ist der einzige noch relevante Browser, der :first-child
 * nicht unterstützt; für ihn einfach den Abstand zwischen den Spalten
 * verringern:
 */

* html .layout-column {
    margin-left: 1.5%;
}
.layout-column:first-child,
.layout-column.first {
    margin-left: 0;
}

/* obere Abstände */
.layout-row {
    margin-top: 1em;
    float: none;
}

.layout-row p:first-child,
.layout-row p.first,
.layout-row:first-child,
.layout-row.first {
    margin-top: none;
    padding-top: none;
}

/* Marginalie: Lings die "Randnotiz", rechts der Text */
.layout-row.marginalia .layout-column.side-note,
.layout-column.side-note {
    width: 24%;
}

.layout-row.marginalia .layout-column.text,
.layout-column.text {
    width: 73%;
}

/* Die "side note" ist normaler-, aber nicht notwendigerweise
 * die linke/erste Spalte (:first-child):
 */
.layout-row.marginalia.box .layout-column.side-note {
    text-align: center;
}

.layout-row.columns-1 > .layout-column,
.layout-row.columns-1 .layout-column {
    width: 99%;
}

/* bei prozentualen Angaben für Position und Padding ist es wichtig,
 * daß die Graphiken für alle Box-Typen gleich breit sind und aussehen,
 * damit die Choose konsistent aussieht
 */

.layout-row p:first-child,
.layout-row p:first-child *:first-child,
.layout-row :first-child,
.layout-column p:first-child,
.layout-column p:first-child *:first-child,
.layout-column .layout-row:first-child,
.layout-column .layout-row.box:first-child,
.layout-row.box p:first-child,
.layout-row.box p:first-child *:first-child,
.layout-row.box *:first-child,
.layout-column.box p:first-child,
.layout-column.box p:first-child *:first-child,
.layout-column.box *:first-child {
    padding-top: none;
    margin-top: none;
}

.layout-column div:first-child .layout-row.box:first-child,
.layout-column .layout-row.box:first-child {
    margin-top: none;
}

/* nochmal eine kleine Korrektur für MSIE 6-: */
* html .layout-row.columns-1 .layout-column {
    width: 98%;
}
.layout-row.columns-2 > .layout-column,
.layout-row.columns-2 .layout-column {
    width: 48%;
}

.layout-row.columns-3 > .layout-column,
.layout-row.columns-3 .layout-column {
    width: 31.5%;
}

.layout-row.columns-4 > .layout-column,
.layout-row.columns-4 .layout-column {
    width: 23.2%;
}

.layout-row.alternate,
.layout-column.alternate {
    background-color: #dedede;
    color: black;
}

.layout-row.alternate.important.box,
.layout-column .alternate.important.box {
    background-color: #ffffce;
    color: black;
}

/* ----------------------------- [ Fehlerbehandlung ... [ */
.error.error-access,
.error.error-render {
    font-size: smaller;
    border: 1px dashed red;
    padding: 0.3em;
    border-radius: 0.3em;
}
/* ----------------------------- ] ... Fehlerbehandlung ] */

/* ---------------------------------------- ] ... Content layouts ] */

/* --------------------------------------------- [ Textkästen ... [ */

.box,
.course-page-notes {
    padding: 10px 15px 10px 15px;
    margin: 15px 0 15px 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
    background-color: #F5F5F5;
    border: 1px solid #E3E3E3;
    border-radius: 0;
}

.box-success,
.box-positive,
.box.aspect-benefit {
    background-color: #DFF0D8;
    border: 1px solid #D6E9C6;
    background-image: none;
}

.box-error,
.box-negative,
.box.aspect-drawback {
    background-color: #F2DEDE;
    border: 1px solid #EED3D7;
    background-image: none;
}

.box-warning,
.box-important,
.box.important {
    background-color: #FCF8E3;
    border: 1px solid #FBEED5;
    background-image: none;
}

.box-info,
.box.info {
    background-color: #D7EAFA;
    border: 1px solid #BCE8F1;
    background-image: none;
}

/* Bearbeitungshilfen */
.cke_show_borders .layout-row {
        padding: -1px;
        border: 1px dashed blue;
}
.cke_show_borders .layout-column {
        padding: -1px;
        border: 1px dotted red;
}

.cke_source {
        white-space: pre-line !important;
}
/* --------------------------------------------- ] ... Textkästen ] */

/* -------------------------------------- [ Bilder und Medien ... [ */
.media {
    border: 1px solid #DDDDDD;
    padding: 2px 4px 2px 2px;
    border-radius: 0 0 0 0;
    transition: all 0.2s ease-in-out 0s;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.media img {
    margin-bottom: 0px;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out 0s;
}

.media img:hover {
    border: 1px solid #2161a0;
    box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

.media .caption,
.media .caption p,
.media .legend,
.media .legend p {
    font-size: 12px;
    line-height: 18px;
    margin-top: 0px;
    margin-bottom: 5px;
}


.media .legend :last-child {
    margin-bottom: 0;
}

.media .caption .caption-title {
    color: #999999;
    float: left;
    margin-bottom: 0;
    /*
    display: block;
    */
}

.media.media-left {
    float: left;
    margin: 5px 20px 10px 0;
}

.media.media-right {
    float: right;
    margin: 5px 0 10px 20px;
}

.media.media-inline {
    margin: 7px 10px 7px 0;
}
/* -------------------------------------- ] ... Bilder und Medien ] */

/* ----------------------------------------------- [ Tabellen ... [ */

.area-table table {
  max-width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
  /*width: 100%;*/
  margin-bottom: 20px;
  border: 1px solid #dddddd;
}

.area-table th,
.area-table td {
  padding: 4px 5px;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
  /*border-top: 1px solid #dddddd;*/
  border: 1px solid #dddddd;
}

.area-table th {
  font-weight: bold;
}

.area-table thead th {
  vertical-align: bottom;
}

.area-table caption + thead tr:first-child th,
.area-table caption + thead tr:first-child td,
.area-table colgroup + thead tr:first-child th,
.area-table colgroup + thead tr:first-child td,
.area-table thead:first-child tr:first-child th,
.area-table thead:first-child tr:first-child td {
  border-top: 0;
}

.area-table .caption,
.area-table .caption p {
    font-size: 12px;
    line-height: 18px;
    margin-top: 0px;
    margin-bottom: 5px;
}

.area-table .caption .caption-title {
    color: #999999;
    float: left;
    margin-bottom: 0;
}
/*
.table-striped tbody > tr:nth-child(odd) > td,
.table-striped tbody > tr:nth-child(odd) > th {
  background-color: #f9f9f9;
}
*/

/*
 * Korrektur von Unitracc-1.0-Bildgruppen
 */
table.picturegroup td,
table.picturegroup th {
    vertical-align: top;
}

/* ----------------------------------------------- ] ... Tabellen ] */

/* ---------------- [ Korrekturen fuer bestimmte Inhaltstypen ... [ */
.template-base_view.portaltype-unitraccliterature .well {
    display: none;
}
/* ---------------- ] ... Korrekturen fuer bestimmte Inhaltstypen ] */


}

