.ui-page-theme-a {
    color: #000 !important;
    background: #fff !important;
}

.ui-loader h1 {
    color: #fff !important;
}

.ui-loader {
    background: #000 !important;
}

.ui-body-d .ui-link {
    color: #cc3333 !important;
}

h1.ui-title {
    color: #fff;
}

#homebutton {
    z-index: 100;
}

#plenum.ui-icon-custom:after {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("icons/icons/190-bank.png");
    background-origin: padding-box;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    background-size: 24px 22px;
}

#mdbb.ui-icon-custom:after {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("icons/icons/112-group.png");
    background-origin: padding-box;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    background-size: 24px 22px;
}

#Ausschuss.ui-icon-custom:after {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("icons/icons/33-cabinet.png");
    background-origin: padding-box;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    background-size: 24px 22px;
}

#deputation.ui-icon-custom:after {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: transparent;
    background-image: url("icons/icons/33-cabinet.png");
    background-origin: padding-box;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    background-size: 24px 22px;
}

.ui-navbar .ui-btn.ui-icon-custom:after {
    box-shadow: none !important;
    height: 30px !important;
    margin-left: -15px !important;
    width: 30px !important;
}

hr {
    border-top: 1px solid #cc3333;
    border-bottom: 0px;
    border-right: 0px;
    border-left: 0px;
    padding: 10px;
}

h4.ui-title {
    color: #fff !important;
    font-size: 11px !important;
}

h1, h2, h3, h4 {
    color: #333366;
}

#wappen {
    text-align: center;
}

.ui-btn-active {
    background: #cc3333 !important;
    background-image: -moz-linear-gradient(top, #cc3333, #c55353) !important;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #cc3333), color-stop(1, #c55353)) !important;
}

#abge_bild {
    background: #FFF;
    width: 100px;
    border: 1px solid #cccccc;
    padding: 5px;
    margin-bottom: 5px;
    margin-left: 10px;
    margin-top: 10px;
}

#stamm_abg {
    -webkit-border-radius-topright: 10px;
    -moz-border-radius-topright: 10px;
    background: #f6f6f6;
    border-bottom: 1px solid #cccccc;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

#text_abg {
    padding: 10px;
    font-size: 14px;
    clear: left;
}

#text_abg h3 {
    margin-top: 10px;
    font-size: 18px;
}

#text_npa {
    font-size: 14px;
}

#text_sgremien {
    font-size: 14px;
}

#abg_sgremien li {
    background: url("button_rot.jpg") no-repeat scroll 0 7px transparent;
    list-style: none outside none;
    margin-left: 0;
    padding-bottom: 0;
    padding-left: 15px;
    font-size: 14px !important;
}

#abg_npa {
    font-size: 14px;
}

#abg_npa li {
    background: url("button_rot.jpg") no-repeat scroll 0 7px transparent;
    list-style: none outside none;
    margin-left: 0;
    padding-bottom: 0;
    padding-left: 15px;
}

.title {
    border-bottom: 1px solid #cc3333;
    margin-bottom: 10px;
}

.termin-datei {
    border-bottom: 2px solid #888888;
    border-top: 1px dotted #cccccc;
    margin-top: 10px;
    padding-top: 10px;
}

#calendar-event label {
    float: left;
    width: 120px;
}

label.error {
    color: #cc3333;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
    margin-top: 0.5em;
    width: 100%;
    float: none;
}

@media screen and (orientation: portrait) {
    label.error {
        margin-left: 0;
        display: block;
    }
}

@media screen and (orientation: landscape) {
    label.error {
        display: inline-block;
        margin-left: 22%;
    }
}

em {
    color: red;
    font-weight: bold;
    padding-right: .25em;
}

.ui-btn-text {
    white-space: normal;
}

.ui-listview>li #p2 p {
    font-size: 1em;
    text-overflow: unset;
    overflow: unset;
    white-space: normal;
}