/* default styles for extension "tx_cssstyledcontent" */
/* Headers */
.csc-header-alignment-center { text-align: center; }
.csc-header-alignment-right { text-align: right; }
.csc-header-alignment-left { text-align: left; }

div.csc-textpic-responsive, div.csc-textpic-responsive * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;  }

/* Clear floats after csc-textpic and after csc-textpic-imagerow */
div.csc-textpic, div.csc-textpic div.csc-textpic-imagerow, ul.csc-uploads li { overflow: hidden; }

/* Set padding for tables */
div.csc-textpic .csc-textpic-imagewrap table { border-collapse: collapse; border-spacing: 0; }
div.csc-textpic .csc-textpic-imagewrap table tr td { padding: 0; vertical-align: top; }

/* Settings for figure and figcaption (HTML5) */
div.csc-textpic .csc-textpic-imagewrap figure, div.csc-textpic figure.csc-textpic-imagewrap { margin: 0; display: table; }

/* Captions */
figcaption.csc-textpic-caption { display: table-caption; }
.csc-textpic-caption { text-align: left; caption-side: bottom; }
div.csc-textpic-caption-c .csc-textpic-caption, .csc-textpic-imagewrap .csc-textpic-caption-c { text-align: center; }
div.csc-textpic-caption-r .csc-textpic-caption, .csc-textpic-imagewrap .csc-textpic-caption-r { text-align: right; }
div.csc-textpic-caption-l .csc-textpic-caption, .csc-textpic-imagewrap .csc-textpic-caption-l { text-align: left; }

/* Float the columns */
div.csc-textpic div.csc-textpic-imagecolumn { float: left; }

/* Border just around the image */
div.csc-textpic-border div.csc-textpic-imagewrap img {
    border: 2px solid #000000;
    padding: 0px 0px;
}

div.csc-textpic .csc-textpic-imagewrap img { border: none; display: block; }

/* Space below each image (also in-between rows) */
div.csc-textpic .csc-textpic-imagewrap .csc-textpic-image { margin-bottom: 10px; }
div.csc-textpic .csc-textpic-imagewrap .csc-textpic-imagerow-last .csc-textpic-image { margin-bottom: 0; }

/* colSpace around image columns, except for last column */
div.csc-textpic-imagecolumn, td.csc-textpic-imagecolumn .csc-textpic-image { margin-right: 10px; }
div.csc-textpic-imagecolumn.csc-textpic-lastcol, td.csc-textpic-imagecolumn.csc-textpic-lastcol .csc-textpic-image { margin-right: 0; }

/* Add margin from image-block to text (in case of "Text & Images") */
div.csc-textpic-intext-left .csc-textpic-imagewrap,
div.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap {
    margin-right: 10px;
}
div.csc-textpic-intext-right .csc-textpic-imagewrap,
div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
    margin-left: 10px;
}

/* Positioning of images: */

/* Center (above or below) */
div.csc-textpic-center .csc-textpic-imagewrap, div.csc-textpic-center figure.csc-textpic-imagewrap { overflow: hidden; }
div.csc-textpic-center .csc-textpic-center-outer { position: relative; float: right; right: 50%; }
div.csc-textpic-center .csc-textpic-center-inner { position: relative; float: right; right: -50%; }

/* Right (above or below) */
div.csc-textpic-right .csc-textpic-imagewrap { float: right; }
div.csc-textpic-right div.csc-textpic-text { clear: right; }

/* Left (above or below) */
div.csc-textpic-left .csc-textpic-imagewrap { float: left; }
div.csc-textpic-left div.csc-textpic-text { clear: left; }

/* Left (in text) */
div.csc-textpic-intext-left .csc-textpic-imagewrap { float: left; }

/* Right (in text) */
div.csc-textpic-intext-right .csc-textpic-imagewrap { float: right; }

/* Right (in text, no wrap around) */
div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap { float: right; }

/* Left (in text, no wrap around) */
div.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap { float: left; }

div.csc-textpic div.csc-textpic-imagerow-last, div.csc-textpic div.csc-textpic-imagerow-none div.csc-textpic-last { margin-bottom: 0; }

/* Browser fixes: */
/* Fix for unordered and ordered list with image "In text, left" */
.csc-textpic-intext-left ol, .csc-textpic-intext-left ul { padding-left: 40px; overflow: auto; }

/* Textmedia */
.csc-textmedia,
.csc-textmedia-gallery { overflow: hidden; }
.csc-textmedia-gallery-column { float: left; }
.csc-textmedia-gallery-column { margin-right: 10px; }
.csc-textmedia-gallery-column:last-child { margin-right: 0; }
.csc-textmedia-gallery-row { overflow: hidden; margin-bottom: 10px; }
.csc-textmedia-gallery-row:last-child { margin-bottom: 0; }
.csc-textmedia-above .csc-textmedia-gallery { margin-bottom: 10px; }
.csc-textmedia-above-right .csc-textmedia-gallery { float: right; }
.csc-textmedia-above-left .csc-textmedia-gallery { float: left; }
.csc-textmedia-above .csc-textmedia-text { clear: both; }
.csc-textmedia-above-center .csc-textmedia-gallery-outer,
.csc-textmedia-below-center .csc-textmedia-gallery-outer { position: relative; float: right; right: 50%; }
.csc-textmedia-above-center .csc-textmedia-gallery-inner,
.csc-textmedia-below-center .csc-textmedia-gallery-inner { position: relative; float: right; right: -50%; }
.csc-textmedia-below .csc-textmedia-gallery { margin-top: 10px; }
.csc-textmedia-below-right .csc-textmedia-gallery { float: right; }
.csc-textmedia-below-left .csc-textmedia-gallery { float: left; }
.csc-textmedia-inside-right .csc-textmedia-gallery { float: right; margin-left: 10px; }
.csc-textmedia-inside-left .csc-textmedia-gallery { float: left; margin-right: 10px; }
.csc-textmedia-beside-right .csc-textmedia-gallery { float: right; margin-left: 10px; }
.csc-textmedia-beside-right .csc-textmedia-text { overflow: hidden; }
.csc-textmedia-beside-left .csc-textmedia-gallery { float: left; margin-right: 10px; }
.csc-textmedia-beside-left .csc-textmedia-text { overflow: hidden; }

/* Uploads */
.ce-uploads { margin: 0; padding: 0; }
.ce-uploads li { list-style: none outside none; margin: 1em 0; }
.ce-uploads img { float: left; margin-right: 1em; vertical-align: top; }
.ce-uploads span { display: block; }

/* Table */
.contenttable { width: 100%; max-width: 100%; }
.contenttable th, .contenttable td { padding: 0.5em 0.75em; vertical-align: top; }
.contenttable thead th { font-weight: bold; border-bottom: 2px solid #dadada; }
.contenttable th, .contenttable td { border-top: 1px solid #dadada; }
.contenttable-striped tbody tr:nth-of-type(odd) { background-color: rgba(0,0,0,.05); }
.contenttable-bordered th, .contenttable-bordered td { border: 1px solid #dadada; }

/* Space */
.csc-space-before-extra-small { margin-top: 1em; }
.csc-space-before-small { margin-top: 2em; }
.csc-space-before-medium { margin-top: 3em; }
.csc-space-before-large { margin-top: 4em; }
.csc-space-before-extra-large { margin-top: 5em; }
.csc-space-after-extra-small { margin-bottom: 1em; }
.csc-space-after-small { margin-bottom: 2em; }
.csc-space-after-medium { margin-bottom: 3em; }
.csc-space-after-large { margin-bottom: 4em; }
.csc-space-after-extra-large { margin-bottom: 5em; }

/* Frame */
.csc-frame-ruler-before:before { content: ''; display: block; border-top: 1px solid rgba(0,0,0,0.25); margin-bottom: 2em; }
.csc-frame-ruler-after:after { content: ''; display: block; border-bottom: 1px solid rgba(0,0,0,0.25); margin-top: 2em; }
.csc-frame-indent { margin-left: 15%; margin-right: 15%; }
.csc-frame-indent-left { margin-left: 33%; }
.csc-frame-indent-right { margin-right: 33%; }
/* default styles for extension "tx_form" */
div.csc-mailform ol {
    list-style-type: none;
}

div.csc-mailform ol,
div.csc-mailform ol li {
    margin: 0;
    padding: 0;
}

div.csc-mailform ol li {
    overflow: hidden;
}

div.csc-mailform fieldset {
    margin: 0;
    padding: 0;
    position: relative;
}

div.csc-mailform legend {
    margin-left: 1em;
    color: #000000;
    font-weight: bold;
}

div.csc-mailform fieldset ol {
    padding: 1em 1em 0 1em;
}

div.csc-mailform fieldset li {
    padding: 0.5em;
    margin-bottom: 0.5em;
    list-style: none;
}

div.csc-mailform fieldset.submit {
    border-style: none;
}

/**
 * Normal label
 * Left aligned, in front of input
 */
div.csc-mailform li label {
    float: left;
    width: 13em;
    margin-right: 1em;
    vertical-align: baseline;
}

div.csc-mailform li input + label,
div.csc-mailform li textarea + label,
div.csc-mailform li select + label {
    float: none;
    width: auto;
    margin-right: 0;
    margin-left: 1em;
}

div.csc-mailform li textarea + label {
    vertical-align: top;
}

label em,
legend em {
    display: block;
    color: #060;
    font-size: 85%;
    font-style: normal;
    text-transform: uppercase;
}

legend em {
    position: absolute;
}

label strong,
legend strong {
    display: block;
    color: #C00;
    font-size: 85%;
    font-weight: normal;
    text-transform: uppercase;
}

legend strong {
    position: absolute;
    top: 1.4em;
}

/**
 * Labels alignment right
 */
.labels-alignment-right label,
.labels-alignment-right .fieldset-subgroup legend,
.labels-alignment-right.fieldset-subgroup legend {
    text-align: right;
}

/**
 * Horizontal fieldset
 */
fieldset.fieldset-horizontal {
    border-width: 0;
}

fieldset.fieldset-horizontal ol {
    padding: 0;
}

fieldset.fieldset-horizontal li {
    float: left;
    padding: 0;
    margin-right: 1em;
}

fieldset.fieldset-horizontal.label-below label {
    display: block;
    margin-left: 0;
    margin-top: 0.2em;
    font-size: 90%;
    color: #999999;
    text-align: left;
}

fieldset.fieldset-horizontal label em {
    display: inline;
}

/**
 * Subgroup fieldset
 */
fieldset.fieldset-subgroup {
    margin-bottom: -2em;
    border-style: none;
}

fieldset.fieldset-subgroup legend {
    margin-left: 0;
    padding: 0;
    font-weight: normal;
    width: 13em;
}

fieldset.fieldset-subgroup ol {
    position: relative;
    top: -1.4em;
    margin: 0 0 0 14em;
    padding: 0;
}

fieldset.fieldset-subgroup li {
    padding: 0;
}

fieldset.fieldset-subgroup input + label {
    float: none;
    width: auto;
    display: inline;
    margin: 0 0 0 1em;
}

/**
 * Labels as block
 * Labels displayed above or below the input fields
 */
.labels-block label {
    display: block;
    float: none;
    margin: 0 0 0.5em;
    width: auto;
}

.labels-block input + label,
.labels-block textarea + label {
    margin: 0.5em 0 0;
}

.labels-block fieldset.fieldset-subgroup,
fieldset.labels-block.fieldset-subgroup {
    margin-bottom: 0;
}

.labels-block .fieldset-subgroup legend,
.labels-block.fieldset-subgroup legend {
    width: auto;
}

.labels-block .fieldset-subgroup legend em,
.labels-block.fieldset-subgroup legend em {
    position: relative;
}

.labels-block .fieldset-subgroup legend strong,
.labels-block.fieldset-subgroup legend strong {
    position: relative;
    top: 0;
}

.labels-block .fieldset-subgroup ol,
.labels-block.fieldset-subgroup ol {
    top: 0;
    margin: 0;
    padding: 0.5em 0 0;
}

/**
 * hide hidden elements
 */
.csc-form-element-hidden {
    display: none;
}
/* default styles for extension "tx_stbltaz" */
textarea.f3-form-error {
    background-color:#FF9F9F;
    border: 1px #FF0000 solid;
}

input.f3-form-error {
    background-color:#FF9F9F;
    border: 1px #FF0000 solid;
}

.tx-st-bltaz table {
    border-collapse:separate;
    border-spacing:10px;
}

.tx-st-bltaz table th {
    font-weight:bold;
}

.tx-st-bltaz table td {
    vertical-align:top;
}
