﻿html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background-image: url(/images/background.jpg);
    background-position: left top;
    background-repeat: no-repeat;
    background-color: #006699;
}

#container {
    min-height: 100%;
    position: relative;
}

#body {
    padding-top: 10px;
    padding-bottom: 55px;
    min-width: 545px;
}

#header {
    min-width: 545px;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 35px;
    background-color: #5A6571;
    border-top: solid 1px #999999;
    font-size: 0.75em;
}

.cent-panel {
    margin-bottom: 25px;
}

.cent-panel-minwidth {
    min-width: 1050px;
}

.cent-panel-maxwidth {
    max-width: 1350px;
}

.cent-navbar-nav li {
    margin: 5px;
}

.dt-banner {
    color: white;
    background-color: #CC0000;
    font-size: 11px;
    font-weight: bold;
    font-family: Tahoma, arial, verdana;
    line-height: 20px;
    padding-left: .25rem;
}

.login-or {
    position: relative;
    color: #aaa;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.span-or {
    display: block;
    position: absolute;
    left: 50%;
    top: -2px;
    margin-left: -25px;
    background-color: #fff;
    width: 50px;
    text-align: center;
}

.hr-or {
    height: 1px;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.padding10 {
    padding: 10px;
}

/* App specific */

/* ServiceLine and workgroups matrix */

.csm-ddmatrix {
    margin-left: 4px;
}

.csm-ddareafiltermatrix {
    background-color: #FBD96E;
    margin: 15px 8px 0px 8px;
    padding: 5px;
}

table.csm-tblmatrix {
    font-family: verdana,helvetica,arial,sans-serif;
    font-size: 11px;
    margin: 0px 10px 0px 10px;
    table-layout: fixed;
}

table.csm-tblmatrix td {
    padding: 2px 2px 2px 2px;
    border: 1px solid #999999;
    width: 50px;
    text-align: center;
    white-space: nowrap;
}

table.csm-tblmatrix td.csm-tasktype, table.csm-tblmatrix th.csm-tasktype {
    text-align: left;
    white-space: nowrap;
}

.csm-noborder {
    border: 0px;
}

/* timesheet */

.csm-ts-button-margin {
    margin-left: 1px;
    margin-right: 1px;
}

.csm-ts-cell {
    padding-left: 6px;
    padding-top: 6px;
}

.csm-ts-time {
    width: 55px;
    text-align: center;
    font-size: 0.875rem;
}

.csm-ts-cat {
    padding-top: 0px;
    padding-left: 6px;
    font-style: italic;
    font-size: small;
}

.csm-ts-totalday {
    width: 62px;
    color: #FFFFFF;
    font-size: 1.1rem;
}

.csm-ts-totalday0 {
    background-color: #FF6633;
}

.csm-ts-totalday1 {
    background-color: #FFCC33;
}

.csm-ts-totalday2 {
    background-color: #66CC33;
}

.csm-ts-totalday3 {
    background-color: #50B8FF;
}

a.csm-ts-duration {
    color: #FFFFFF;
    border: none;
}

td.csm-ts-duration {
    width: 62px;
    vertical-align: middle;
    text-align: center;
    font-size: 0.75rem;
    border-bottom: 1px solid #FFFFFF;
    border-top: 1px solid #FFFFFF;
    background-color: #999999;
    color: #FFFFFF;
}

.csm-ts-duration-min {
    font-size: 1.1rem;
}

td.csm-ts-ooo {
    color: #999999;
    background-color: #FFFFFF;
}

td.csm-ts-duration .csm-ts-ooo {
    color: #999999;
    background-color: #FFFFFF;
    vertical-align: middle;
    text-align: center;
    font-size: 1.1rem;
    border-bottom: 1px solid #FFFFFF;
    border-top: 1px solid #FFFFFF;
}

.csm-ts-description {
    width: 100%;
}

.csm-ts-date, .csm-ts-date-another {
    font-size: 0.875rem;
    color: #FFFFFF;
    text-decoration: none;
    vertical-align: middle;
    border-bottom: 1px solid #FFFFFF;
    border-left: 1px solid #FFFFFF;
}

.csm-ts-date {
    background-color: #17a2b8;
}

.csm-ts-date-another {
    background-color: #CCCCCC;
}

a.csm-ts-callproj-link {
    color: #000000;
}

.csm-ts-alert {
    background-color: Orange;
    color: #000000;
}

td.csm-ts-ustart, .csm-ts-ustart {
    color: #AAAAAA;
}

/*td.csm-ts-udone, .csm-ts-udone {
    color: green;
}*/

td.csm-ts-uerror, .csm-ts-uerror {
    color: brown;
}

.csm-ts-showhide {
    font-family: Verdana, Tahoma, Arial;
    font-size: 12px;
    background-color: #CCCCCC;
    color: #FFFFFF;
    text-decoration: none;
    vertical-align: middle;
}


table.csm-ts-bar {
    width: 100%;
    border: 1px solid #FFFFFF;
    font-family: Arial, Tahoma;
    font-size: 8px;
    height: 10px;
    background-color: #CCCCCC;
}

table.csm-tsval {
    width: 100%;
    margin-top: 10px;
}

table.csm-tsval-legend {
    margin: 10px;
    border: 1px solid #CCCCCC;
}

.csm-tsval-legend, .TimesheetExportsResults {
    font-size: 0.9rem;
    color: #666666;
}

.csm-tsval-dayheader, .csm-tsval-dayheader-we {
    font-size: 0.9rem;
    color: #666666;
    text-align: center;
    width: 40px;
}

.csm-tsval-dayheader-we {
    background-color: #CCCCCC;
    color: #FFFFFF;
}

.csm-tsval-user {
    font-size: 0.9rem;
    color: #666666;
    width: 200px;
    height: 25px;
    border-top: solid 1px #CCCCCC;
}

.csm-tsval-cell, .csm-tsval-cell-we {
    text-align: center;
    border-top: solid 1px #CCCCCC;
}

.csm-tsval-cell-we {
    background-color: #CCCCCC;
    color: #FFFFFF;
    width: 40px;
    text-align: center;
}

.csm-tsval-sum-table {
    margin-top:15px;
}

.csm-tsval-sum {
    background-color: #CCCCCC;
    font-size: 0.8rem;
    padding-top: 10px;
}


/* volumes in timesheet */

table.csm-ts-vol {
    font-family: verdana,helvetica,arial,sans-serif;
    font-size: 9px;
    margin-top: 10px;
    /*padding: 5px 0px 0px 0px;*/
    /*width: 100%;*/
}

table.csm-ts-vol th {
    font-weight: bold;
    color: #FFFFFF;
    background-color: #999999;
    padding: 3px 5px 3px 5px;
}

table.csm-ts-vol td {
    padding: 1px 5px 1px 5px;
}

table.csm-ts-exports {
    font-family: verdana,helvetica,arial,sans-serif;
    font-size: 10px;
    padding: 5px 0px 0px 0px;
}

table.csm-ts-exports th {
    font-size: 12px;
    font-weight: bold;
    padding: 3px 5px 3px 5px;
    text-align: left;
}

table.csm-ts-exports td {
    padding: 1px 5px 1px 5px;
}

table.csm-pl-overview {
    font-family: verdana,helvetica,arial,sans-serif;
    font-size: 10px;
    padding: 5px 0px 0px 0px;
}

table.csm-pl-overview th {
    font-size: 12px;
    font-weight: bold;
    padding: 3px 5px 3px 5px;
    text-align: left;
}

table.csm-pl-overview td {
    padding: 1px 5px 1px 5px;
}


table.csm-plan-wg {
    font-family: "Calibri", Verdana, Arial, Sans-Serif;
    font-size: 12px;
    padding: 10px;
}

table.csm-plan-wg td.csm-plan-wg-title {
    font-size: 13px;
    font-weight: bold;
    width: 40%;
    padding-top: 15px;
    padding-left: 15px;
    padding-bottom: 15px;
    border-left: 1px solid #EEEEEE;
}

table.csm-plan-wg td.csm-plan-wg-person {
    vertical-align: top;
    height: 40px;
    border-top: 1px solid #000000;
    padding-top: 5px;
    font-weight: bold;
}

table.csm-plan-wg td.csm-plan-wg-planning {
    vertical-align: top;
    border-top: 1px solid #000000;
    border-left: 1px solid #EEEEEE;
    padding: 5px 5px 5px 5px;
}

table.csm-plan-wg td.csm-plan-wg-ts {
    vertical-align: top;
    border-top: 1px solid #000000;
    border-left: 1px solid #EEEEEE;
    padding: 5px 5px 5px 5px;
}

.csm-plan-wg-entry, .csm-plan-wg-lastentry {
    padding: 1px 1px 1px 4px;
}

.csm-plan-wg-time {
    font-weight: bold;
}

.csm-plan-ds-name {
    width: 60px;
    border: 1px solid #1587BD;
    border-radius: 3px;
    background-color: #FF9326;
    color: #000000;
    margin-bottom: 3px;
    padding: 2px;
    font-weight: bold;
    text-align: center;
}

.csm-plan-ds-entry {
    border: 1px solid #1587bd;
    border-radius: 3px;
    background-color: #9fc6e7;
    color: #000000;
    margin-bottom: 3px;
    padding: 2px;
    text-align: center;
}

a.csm-plan-ds-link {
    text-decoration: none;
}

.csm-plan-ds-time {
    font-weight: bold;
}

.csm-plan-ds-title {
    padding-left: 2px;
}


table.csm-plan-absences {
    /*font-family: verdana,helvetica,arial,sans-serif;
    font-size: 11px;*/
    padding: 5px 5px 5px 5px;
    table-layout: fixed;
}

table.csm-plan-absences td {
    padding: 2px 2px 2px 2px;
    border: 1px solid #666666;
    text-align: center;
    white-space: nowrap;
}

table.csm-plan-absences td.csm-plan-abs {
    text-align: left;
    white-space: nowrap;
}

table.csm-plan-absences th.csm-plan-abs {
    text-align: center;
    white-space: nowrap;
    width: 50px;
}

table.csm-hist-results {
    display: flex;
    width: 80%;
    margin-bottom: 10px;
    border-radius: 0.25rem;
    border: 1px solid rgba(0, 0, 0, 0.125);
    font-size: 0.75rem;
}

table.csm-hist-results td {
    padding: 10px;
}

table.iconsarea {
    background-color: #FFFFFF;
    border-bottom: solid 5px #FFFFFF;
    border-top: solid 5px #FFFFFF;
    width: 50px;
}

div.iconcell {
    text-align: center;
    border: solid 2px #FFFFFF;
}

div.iconcellselected {
    text-align: center;
    border-right: solid 3px #FF7D00;
    border-left: solid 3px #FF7D00;
    border-top: solid 2px #FFFFFF;
    border-bottom: solid 2px #FFFFFF;
}

/* the following classes are applied with the resolution lower than 575px */
.userarea {
    left: 0px;
    right: 0px;
    min-width: 300px;
}

#navbarSupportedContent {
    border: 1px solid #999999;
}

/* user menu aligned to right when screen have more than 575px */
@media only screen and (min-width: 575px) {
    .userarea {
        left: auto;
    }

    #navbarSupportedContent {
        border: 0px;
    }
}
