#pi2-sweets { margin-left: -9999px; display: inline; height: 1px; padding: 0; border: 0; }

#pi2-timeout {
    position: fixed;
    left: 0;
    top:70px;
    width: 100%;
    padding: 0.1rem 0;
    color: #ccc;
    background-color: #666;
    font-size: 95%;
    transition: top 0.3s ease;
    z-index: 9;
    @media screen and (min-width:770px) {
        top: 90px;
        padding: 0.3rem 0;
    }
    @media screen and (min-width:992px) {
        top: 100px;
    }
}

#pi2-timeout .frame-container-default {
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    text-align: right;
}

#pi2-timeout.navbar-transition {
    top:70px;
    padding: 0.1rem 0;
}

ul.typo3-messages { padding-left: 0; }
ul.typo3-messages li { list-style:none; }
h4.alert-title { font-family: unset; font-size: large; }
.tx-tool-pi2 h2:first-child {
    background-color: silver;
    color: white;
    font-size: 1em;
    margin-top: 0.3em;
    padding: 0.25em;
}
.tx-tool-pi2 .mc { width: 300px; }
.tx-tool-pi2 div.toolbox {}
.tx-tool-pi2 #btn_copyTn1 {
    position: absolute;
    margin-top: -48px;
    margin-left: 240px;
}

.tx-tool-pi2 fieldset {
    border-radius: 10px;
    border: 1px solid #888;
    box-shadow: 2px 2px 4px #AAA;
    margin: 10px 0;
    padding: 15px;
    box-sizing: border-box;
}
.tx-tool-pi2 fieldset.tn1.parent,
.tx-tool-pi2 fieldset.tn2.parent{
    border: 1px solid red;
    display: none;
}
.tx-tool-pi2 legend {
    margin-bottom: 0px;
    padding: 0 10px;
    border: 0px;
    width: auto;
    font-weight: bold;
    color: #666666;
}
.tx-tool-pi2 legend.e_title {
    padding: 0;
}
.tx-tool-pi2 dl { }
.tx-tool-pi2 dt { }
.tx-tool-pi2 dt label,
.tx-tool-pi2 dt.label {
    clear: both;
    margin-right: 10px;
}
.tx-tool-pi2 dd { margin: 0 0 10px 0; }
.tx-tool-pi2 label { color: #666666; font-weight: bold; }
.tx-tool-pi2 label.selectable:hover { cursor: pointer; }
.tx-tool-pi2 span.ampel {
    width: 0.75em;
    height: 0.75em;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}
.tx-tool-pi2 span.ampel-green {
    background-color: #00ff00;
}
.tx-tool-pi2 span.ampel-yellow {
    background-color: #ffff00;
}
.tx-tool-pi2 span.ampel-red {
    background-color: #ff0000;
}
.tx-tool-pi2 div.col.ampel {
    width: auto!important;
}

/* Input Button mit Schatten*/
.tx-tool-pi2 input {
    padding: 10px;
    font-weight: 600;
    box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
    -moz-box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.3);
}
.tx-tool-pi2 input:focus {
    outline: 0;
    border: 1px solid #5b032a;
    -webkit-box-shadow: 0 0 6px 4px rgba(245,134,183, 0.20);
    -moz-box-shadow: 0 0 6px 4px rgba(245,134,183, 0.20);
    box-shadow: 0 0 6px 4px rgba(245,134,183, 0.20);
}
.tx-tool-pi2 input.short { width: 120px; }
.tx-tool-pi2 input.wide { width: 95%; }
.tx-tool-pi2 input:disabled { border: 0px; color: #333333;}
.tx-tool-pi2 textarea:disabled { border: 0px; color: #333333; height: auto!important; }
.tx-tool-pi2 #tn1 input:disabled, .tx-tool-pi2 #tn2 input:disabled { float: right; width: auto!important; }
.tx-tool-pi2 textarea#bemerkung { width: 95%; height: 6em; font-family: inherit; font-size: inherit; }
.tx-tool-pi2 #kursVertrag dt, .tx-tool-pi2 #kursVertrag dd { display: inline; }
/* .tx-tool-pi2 #kursVertrag dt { display: left; } */
/* .tx-tool-pi2 dt, .tx-tool-pi2 dd { float: left; } */
.tx-tool-pi2 #kursVertrag dd { float: right; }
.tx-tool-pi2 #kursVertrag dd.steuerbefreit { float: left; }
.tx-tool-pi2 .err { color: red; }
.tx-tool-pi2 .hint { display: block; color: blue; }
.tx-tool-pi2 .ok { color: green; }
.tx-tool-pi2 div.formButtons { height: 20px; }
.tx-tool-pi2 div.submitButtons { float: right; }
.tx-tool-pi2 div.backButtons { float: left; }
.tx-tool-pi2 dt.woher { float: none; }
.tx-tool-pi2 div.partnerAnmelden { text-align: right; }
.tx-tool-pi2 dt.partnerAnmelden { width: 320px; }
.tx-tool-pi2 dt.partnerAnmelden div { display: flex; }
.tx-tool-pi2 dt.partnerAnmelden div input { margin-right: 0.8em; }
.tx-tool-pi2 div.err { text-align: right; color: red; }
.tx-tool-pi2 div.noerr { text-align: right; color: green; }
.tx-tool-pi2 hr { clear: both; border: 0 none; display: block; margin: 0; }

/* Abstand Zahlungsweisen */
.tx-tool-pi2 .kursZahlungsweise div {
    padding: 5px 0;
}
.tx-tool-pi2 #kursZahlungsweise p { margin: 0px }
.tx-tool-pi2 dd.indent {
    clear: both;
    margin-left: 1em;
}
/* Formatierung H2*/
.tx-tool-pi2 h2 {
    width: 100%;
    float: left;
    line-height: 140%;
    font-weight: 600;
    background: #666;
}
.tx-tool-pi2 h2:first-child {
    padding: 0.6em;
}
.tx-tool-pi2 h2:hover {
    background: DarkRed;
}
.tx-tool-pi2 h2.active {
    cursor: pointer;
    background-color: #666666;
    border-radius: 0.25em;
}
.tx-tool-pi2 h2.passive {
    background-color: silver;
    border-radius: 0.25em;
}
.tx-tool-pi2 h2.clickme::after {
    content: "\f111";
    font: normal normal normal 14px/1 FontAwesome;
    font-size: x-large;
    float: right;
    z-index: 1;
    -webkit-animation: blinker 1.5s infinite;
    -moz-animation: blinker 1.5s infinite;
    -o-animation: blinker 1.5s infinite;
    animation: blinker 1.5s cubic-bezier(.5, 0, 1, 1) infinite alternate;
}
@keyframes blinker {
    from { opacity: 1; }
    to { opacity: .25; }
}
.tx-tool-pi2 #rabatthinweis { font-size: .86em; margin-top: 1em; }
.tx-tool-pi2 #noscript { font-size: 1em; margin: 1em; color: red; }
.tx-tool-pi2 #btnClose { display: none; }
@media screen and (min-width: 375px) and (max-width: 1023px) {
    .tx-tool-pi2 dd { float: none; }
    .tx-tool-pi2 .mc { width: 100%; }
}
@media screen and (min-width: 750px) {
    .tx-tool-pi2 dd { float: none; }
    .tx-tool-pi2 .mc { width: 600px; }
}

.tx-tool-pi2 dt.parent {
    padding-left: 11px;
    padding-top: 10px;
}
.tx-tool-pi2 dt.parent.e_geburtsdatum,
.tx-tool-pi2 dt.parent.pe_geburtsdatum {
    padding-top: 20px;
}
.tx-tool-pi2 dd.parent {
    margin-bottom: 0;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    width: 99%;
    width: calc(99% + 4px);
    box-sizing: border-box;
}
.tx-tool-pi2 dd.parent-first {
    padding-top: 10px;
}
.tx-tool-pi2 dd.parent-last {
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.tx-tool-pi2 input.parent {
    width: 100%;
    box-sizing: border-box;
}

/* Zusammenfassung: Hintergrundfarbe Input Felder */
.tx-tool-pi2 #zusammenfassung input {
    background: #e2e2e2;
}

/* Override position of course-has-started popover */
.tx-tool-pi2 #course-has-started-popover-container .popover {
    left: 0 !important;
}

.tx-tool-pi2 .vertrag-infotext-button {
    cursor: pointer;
    margin-left: 12px;
}
.tx-tool-pi2 .vertrag-infotext-button svg {
    margin-bottom: -0.5em;
    height: 2em;
}
.tx-tool-pi2 .vertrag-infotext {
    border: 1px solid #333333;
    border-radius: 0.5em;
    padding: 3px !important;
    margin-top: 3px;
    display: none;
}
.tx-tool-pi2 .copyButton {
    border-radius: 5px;
    border-color: #c2c0be;
    color: #c02727;
    width: 100%;
}
