/************************************************************
 * Formatierungen für Backend-Layout                        *
 * Version v2 (Basis-Schrift 12px)                          *
 ************************************************************/

/************************************************************
 * Neue Klassen oder ID-Referenzen müssen am Ende dieses    *
 * Files unterhalb "Projektspezifische Ergänzungen"         *
 * hinzugefügt werden.                                      *
 ************************************************************/


/* basic styles */

#head-content {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background-color: #ffffff;
}

    #head-content #tab-content {
        position: absolute;
        background-image: url(../../pics/head_bluegradient.png);
        background-repeat: repeat-y;
        background-position: -100px 0;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 0;
        z-index: 10;
    }

#main-content-wrapper {
    position: absolute;
    top: 70px;
    bottom: 25px;
    left: 220px;
    right: 0;
    overflow: auto;
    z-index: 1;
}

#main-content {
    padding: 15px 0 40px 20px;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 25px;
    background-color: #eeeeee;
    border-top: 1px solid #aaaaaa;
    margin: 0 auto;
    z-index: 2;
}

/* sidebar navi */

#nav-content {
    position: fixed;
    width: 219px;
    top: 68px;
    bottom: 26px;
    overflow: auto;
    z-index: 2;
}

.nav-item {
    padding: 3px 10px 3px 10px;
    border-bottom: 1px dotted #aaaaaa;
    vertical-align: middle;
}

a.nav-item {
    text-decoration: none;
    display: block;
}

    a.nav-item:hover {
        background-color: #ffffff;
        text-decoration: none;
    }

.nav-item-selected {
    background-color: #ffffff;
}



/* Print */
@media print {
    #head-content {
        display: none;
    }

    #nav-content {
        display: none;
    }

    #main-content-wrapper {
        position: static;
    }

    #main-content {
        padding: 0;
    }

    #footer {
        display: none;
    }
}

/* Smart Phones */
@media only screen and (max-device-width: 480px) {
    #head-content {
        position: static;
    }

    #nav-content {
        position: static;
    }

    #main-content-wrapper {
        position: static;
    }

    #footer {
        position: static;
    }
}



body {
    background-color: #ffffff;
    color: #000000;
    font-family: arial, helvetica, sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
    line-height: 1.4em;
}

td {
    vertical-align: top;
}

ol, ul {
    list-style-type: square;
    margin: 0 0 1em 0;
    padding-left: 1.5em;
}

ol {
    list-style-type: decimal;
    margin: 0 0 1em 0;
    padding-left: 1.5em;
}


/* backgrounds */

.main-background-splitted {
    background-image: url(../../pics/cms_background_splitted.png);
    background-repeat: repeat-y;
    background-position: 750px 0; /* 20 + CmsFormWidth + CmsDistanceWidth */
}

.main-background-fullsize {
    background-image: url(../../pics/cms_background_fullsize.png);
    background-repeat: repeat-y;
    background-position: 930px 0; /* 20 + CmsFormWidth + CmsDistanceWidth + CmsActionWidth + 10 */
}

.main-background {
    background-color: #ffffff;
}

.system-background {
    background-color: #eeeeee;
}

.stabilo {
    background-color: #ffff33;
}

.grid {
    background-image: url(../../pics/grid_background.png);
}



/* general links */

a, a:active {
    color: #dd0000;
    text-decoration: none;
}

    a:hover {
        color: #cc0000;
        text-decoration: underline;
    }

.clicked {
    text-decoration: underline;
    font-weight: bold;
}

.cmsicon {
    border: 0;
    margin-right: 3px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
}



/* top navi */

.tab {
    padding: 4px 10px 3px 10px;
    float: left;
    border-right: 1px solid #eeeeee;
}

a.tab {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    display: block;
}

    a.tab:hover {
        background-color: #aaaaaa;
        color: #ffffff;
    }

.tab-selected {
    background-color: #aaaaaa !important;
    color: #ffffff;
}





/* inside-page tab navi */
.page-tab {
    background-color: #aaaaaa;
    color: #ffffff;
    font-weight: bold;
    padding: 2px 4px 1px 6px !important;
    border: solid 1px #aaaaaa;
}

    .page-tab:hover {
        background-color: #ffffff;
        color: #dd0000;
    }

td.page-tab a, a:hover, a.visited, a.active {
    color: #ffffff;
    text-decoration: none;
}

.page-tab:hover a {
    color: #dd0000;
}

.page-tab-selected {
    background-color: #ffffff;
    color: #dd0000;
    font-weight: bold;
    padding: 2px 4px 1px 6px !important;
    border: solid 1px #aaaaaa;
    border-bottom: solid 1px #fff;
}

td.page-tab-selected a, a:hover, a.visited, a.active {
    color: #dd0000;
    text-decoration: none;
}

.page-tab-space {
    border-bottom: solid 1px #aaaaaa;
}

.page-tab-winglets {
    border-left: solid 1px #aaaaaa;
    border-right: solid 1px #aaaaaa;
    padding: 0;
    line-height: 1px;
}


/* sortable */
.sortable-handle {
    cursor: n-resize;
    background-image: url(../../pics/handle_background.png);
    background-color: #dddddd;
    border-bottom: solid 1px #aaaaaa;
    vertical-align: middle;
    text-align: center;
}

.sortable-placeholder {
    height: 50px; /* (wird ggf. durch JS ersetzt) */
    background-color: #eeeeee;
}

.sortable-while-sorting > table {
    border: dotted 2px #aaaaaa;
    background-color: #ffffff;
}

ul.sortable-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.ajax-report {
    display: none;
}


/* forms */

form {
    margin: 0;
}

select, input, textarea {
    font-family: arial, helvetica, sans-serif;
    font-size: 12px;
    background-color: #f3f3f3;
}

    select, input[type=text], input[type=password], input[type=number], input[type=email], textarea {
        border: 1px solid #cccccc;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        -khtml-border-radius: 2px;
        -ms-border-radius: 2px;
        border-radius: 2px;
        -webkit-box-shadow: inset 0 0 2px #dddddd;
        -moz-box-shadow: inset 0 0 2px #dddddd;
        box-shadow: inset 0 0 2px #dddddd;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 3px 5px 3px 5px;
        line-height: 1.4em;
    }

        select:hover, input[type=text]:hover, input[type=password]:hover, input[type=number]:hover, input[type=email]:hover, textarea:hover {
            -webkit-box-shadow: inset 0 0 3px #aaaaaa;
            -moz-box-shadow: inset 0 0 3px #aaaaaa;
            box-shadow: inset 0 0 3px #aaaaaa;
        }

    input[type=radio], input[type=checkbox] {
        background-color: transparent;
    }

    input[type=file] {
        font-family: arial, helvetica, sans-serif;
        background-color: transparent;
        font-size: 12px;
        color: #666666;
    }

.must {
    background-color: #ffffff;
}

.button {
    background-color: #dd0000 !important;
    border: 1px solid #dd0000 !important;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 5px 3px 5px !important;
    text-decoration: none;
    vertical-align: middle;
    text-align: center;
    width: auto;
    overflow: visible;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 3px #dddddd;
    -moz-box-shadow: inset 0 0 3px #dddddd;
    box-shadow: inset 0 0 3px #dddddd;
}

    .button:hover {
        -webkit-box-shadow: inset 0 0 5px #999999;
        -moz-box-shadow: inset 0 0 5px #999999;
        box-shadow: inset 0 0 5px #999999;
    }

    .button:disabled, .button:disabled:hover {
        border-color: #aaaaaa !important;
        background-color: #cccccc !important;
        box-shadow: none;
        cursor: not-allowed;
    }

.lightbutton {
    border: 1px solid #aaaaaa !important;
    background-color: #eeeeee !important;
    color: #666666;
}

.label {
    font-weight: bold;
    padding-top: 5px !important;
}

.sublabel {
    padding-left: 12px !important;
}

.label-shift {
    padding-top: 5px !important;
}


/* fonts */

.title {
    color: #666666;
    font-size: 14px;
    font-weight: bold;
}

.subtitle {
    color: #666666;
    font-weight: normal;
}

.system {
    color: #666666;
}

.content {
    color: #000000;
}

.mailfont {
    font-size: 13px;
    font-family: "new courier", "times new roman", serif;
}

.todo {
    color: #666666;
    border-left: 7px solid orange;
    background-color: lightblue;
    padding: 0 8px 0 4px;
}



/* areas */

.search-area {
    border: 1px dotted #aaaaaa;
    padding: 2px;
}

.message-area {
    color: #666666;
    background-color: #ffff33;
    padding: 2px;
    border: 1px dotted #aaaaaa;
    margin-top: 5px;
    margin-bottom: 10px;
}

.action-area {
    border-bottom: 1px dotted #aaaaaa;
    vertical-align: bottom;
}

.inactive-area {
    background-color: #eeeeee;
    color: #666666;
}



/* borders, lines */

/* solid single lines */
.solid-box {
    border: 1px solid #aaaaaa;
}

.solid-top {
    border-top: 1px solid #aaaaaa;
}

.solid-right {
    border-right: 1px solid #aaaaaa;
}

.solid-bottom {
    border-bottom: 1px solid #aaaaaa;
}

.solid-left {
    border-left: 1px solid #aaaaaa;
}

/* dotted single lines */
.dotted-box {
    border: 1px dotted #aaaaaa;
}

.dotted-top {
    border-top: 1px dotted #aaaaaa;
}

.dotted-right {
    border-right: 1px dotted #aaaaaa;
}

.dotted-bottom {
    border-bottom: 1px dotted #aaaaaa;
}

.dotted-left {
    border-left: 1px dotted #aaaaaa;
}

/* solid double lines */
.double-box {
    border: 2px solid #aaaaaa;
}

.double-top {
    border-top: 2px solid #aaaaaa;
}

.double-right {
    border-right: 2px solid #aaaaaa;
}

.double-bottom {
    border-bottom: 2px solid #aaaaaa;
}

.double-left {
    border-left: 2px solid #aaaaaa;
}



/* message layers */

.status-message {
    background-color: #eeeeee;
    border-top: 1px solid #aaaaaa;
    border-right: 1px solid #aaaaaa;
    color: #666666;
    padding-bottom: 17px;
    position: fixed;
    left: 220px;
    bottom: 26px;
    width: 700px; /* CmsTotalWidth + 20 */
    z-index: 99;
    display: none;
}

.help-message {
    background-color: #ffffff;
    border: 1px solid #aaaaaa;
    padding-bottom: 17px;
    color: #666666;
    position: fixed;
    left: 660px; /* CmsFormWidth - 100 + 40 */
    top: 72px;
    width: 260px; /* CmsActionWidth + 100 */
    display: none;
    z-index: 98;
}

.help-button {
    background-color: #ffffff;
    border: 1px dotted #aaaaaa;
    padding: 1px 10px 1px 10px;
    position: fixed;
    left: 860px; /* CmsFormWidth + 40 + CmsActionWidth - 60 */
    top: 72px;
    width: 40px;
    text-align: right;
    z-index: 97;
}


/***********************************************************
 * Projektspezifische Ergänzungen                          *
 ***********************************************************/

/* Zweispaltiges "FormWidth"-Layout mit Padding 
-----------------------------------------------------------*/

/* Zeile in Formularbreite mit Padding */
.w500p2 {
    width: 496px; /* CmsFormWidth - 4 */
    padding: 2px;
}

/* Zeile in Formularbreite ohne Padding (zur Umhüllung von floatenden "Tabellenzellen") */
.w500p0 {
    width: 500px; /* CmsFormWidth */
}

/* Kopfbereich mit Titel, Zurück-Button und Messages */
/* ReSharper disable once DeclarationIsEmpty */
#main-content-titlebar {
}

/* Boxen ähnlich zu Formularelementen erscheinen lassen */
.button-shape {
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 2px #dddddd;
    -moz-box-shadow: inset 0 0 2px #dddddd;
    box-shadow: inset 0 0 2px #dddddd;
}

    .button-shape:hover {
        -webkit-box-shadow: inset 0 0 5px #999999;
        -moz-box-shadow: inset 0 0 5px #999999;
        box-shadow: inset 0 0 5px #999999;
        border-color: #000000;
    }


/* MVC Validierung
-----------------------------------------------------------*/

.field-validation-error {
    color: #666666;
    background-color: #ffff33;
    padding: 2px;
    border: 1px dotted #aaaaaa;
    display: inline-block;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    background-color: #ffffdd;
}

.validation-summary-errors {
    color: #666666;
    background-color: #ffff33;
    padding: 2px;
    border: 1px dotted #aaaaaa;
    margin-bottom: 10px;
}

    .validation-summary-errors > ul {
        margin: 0;
    }

.validation-summary-valid {
    display: none;
}


/* plugin appearance 
-----------------------------------------------------------*/

.ui-widget {
    font-family: inherit !important;
}

/* Tooltip */
div.ui-tooltip {
    font-family: inherit;
    color: inherit;
    font-size: 1em;
    max-width: 400px;
}

/* Datepicker */
.ui-datepicker select {
    font-family: inherit !important;
}

.ui-datepicker {
    font-family: inherit !important;
}

.ui-datepicker-trigger {
    margin-left: 2px;
}

input.date-pick {
    width: 80px;
}


/* Chosen */
.chosen-container {
    font-family: inherit;
    font-size: 12px;
}

/* Fancybox: Schriftart der Legende */
.fancybox-title {
    font-family: inherit;
    font-size: inherit;
    text-align: center;
}

/* Fancybox: Hintergrundfarbe der Box */
.fancybox-skin {
    background-color: #ffffff;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -khtml-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
}



/* placeholder 
-----------------------------------------------------------*/
::-webkit-input-placeholder { /* WebKit browsers */
    color: #999999;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #999999;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #999999;
}

:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #999999;
}

/* Misc.
-----------------------------------------------------------*/
.ajax-loader {
    display: none;
    background-image: url('../../pics/ajax-loader.gif');
    background-repeat: no-repeat;
    height: 16px;
    width: 16px;
}

/* Beiblätter Rechnung
-----------------------------------------------------------*/
table.invoice-table th {
    border-top: 2px solid #666666;
    border-bottom: 2px solid #666666;
}

tr.line-item-title > td {
    font-weight: bold;
    border-bottom: 1px solid #666666;
    padding-top: 20px !important;
}

tr.line-item-total > td {
    border-top: 1px solid #666666;
    border-bottom: 1px solid #666666;
}

tr.line-item-total-vat > td {
    border-top: 1px solid #666666;
}

tr.invoice-total > td {
    border-top: 1px solid #666666;
    border-bottom: 1px solid #666666;
}

tr.billing-rate-total > td {
    font-weight: bold;
    border-bottom: 1px solid #666666;
}

.noborder {
    border: none !important;
}

.position-key {
    font-weight: normal;
    font-size: 0.8em;
    padding-left: 10px !important;
}

table.vat-table th {
    text-align: right;
    font-weight: normal;
    font-style: italic;
}

table.vat-table td {
    text-align: right;
}

/* Mitarbeiter Ferien- und Zeitabrechnung
-----------------------------------------------------------*/
table.calc-table {
    border-collapse: collapse;
}

    table.calc-table > tbody > tr > td {
        padding: 6px 2px 4px 2px;
    }

tr.left-line-1, td.left-line-1 {
    border-left: solid 1px #000000;
}

tr.right-line-1, td.right-line-1 {
    border-right: solid 1px #000000;
}

tr.bottom-line-1 td, td.bottom-line-1 {
    border-bottom: solid 1px #000000;
}

tr.top-line-1 td, td.top-line-1 {
    border-top: solid 1px #000000;
}

tr.left-line-2, td.left-line-2 {
    border-left: dotted 1px #000000;
}

tr.right-line-2, td.right-line-2 {
    border-right: dotted 1px #000000;
}

tr.bottom-line-2 td, td.bottom-line-2 {
    border-bottom: dotted 1px #000000;
}

tr.top-line-2 td, td.top-line-2 {
    border-top: dotted 1px #000000;
}
