﻿html {
    height: 100%;
    margin: 0;
    overflow: hidden;
    overflow-x: auto;
}

body {
    font-size: 75%;
    font-family: Verdana, Tahoma, Arial, "Helvetica Neue", Helvetica, Sans-Serif;
    color: #232323;
    margin: 0;
    padding: 0;
    min-width: 1000px;
    background-image: url('images//menu/menu-bg.png');
    background-repeat: no-repeat;
    background-color: #d1e0d3;
    height: 100%;
}


/*
 #dde4d9 - olive
 #bacfe1 - blue      
*/

/* main layout
----------------------------------------------------------*/
.content-wrapper {
    margin: 0 auto;
}

#body {
    min-width: 1000px;
    position: absolute;
    top: 150px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    clear: both;
    padding: 0;
}

    #body h2 {
        color: #6b6b6b;
        display: block;
        border-bottom: 0 solid #6b6b6b;
        font-size: 3em;
        margin: 0 0 20px 0;
    }

        #body h2:first-of-type {
            display: none;
        }


    #body .tab-holder {
        margin: 0;
        height: 29px;
        border-bottom: 1px solid #c0c0c0;
    }

.main-content {
    overflow: auto;
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(232, 239, 233);
    border: 1px solid #c0c0c0;
    border-top: none;
    padding: 20px;
    margin: 0;
}

header {
    min-width: 1060px;
    border-top: 0 solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
}

    header .content-wrapper {
        padding-top: 0;
        margin: 0 8px 0 8px;
    }

header, footer, hgroup, nav, section {
    display: block;
}

p a, .actions a, nav, .page-title, h2, input[type="submit"], input[type="button"], button, #tabs {
    font-family: "Segoe UI Light", Verdana, Tahoma, Arial, "Helvetica Neue", Helvetica, Sans-Serif;
}

#body a {
    font-size: 1em;
    color: #0848fb;
    outline: none;
    text-decoration: none;
}

    #body a:hover {
        color: #93aef7;
        text-decoration: none;
    }

#body p a, #body .actions a {
    display: inline-block;
    padding: 4px 8px 4px 8px;
    background-color: rgba(0, 0, 0, 0.60);
    font-size: 1.2em;
    color: #fff;
    outline: none;
    text-decoration: none;
}

    #body p a:hover, #body .actions a:hover {
        color: #fff;
        opacity: 0.7;
    }

table {
    opacity: 0.7;
    width: 100%;
    border: 0 solid #dbdbdb;
    border-collapse: collapse;
}

    table input.check-box, table input.check-box:not(:checked) ~ img {
        display: none;
    }

th, td {
    padding: 3px;
}

tr.inactive {
    color: #6b6b6b;
}

tr:nth-child(even) {
    background: #f8f8f8;
}

tr:nth-child(odd):not(:first-child) {
    background: #fff;
}

th {
    text-align: left;
    border-bottom: 2px solid #000;
    background-color: transparent;
    cursor: pointer;
}

.nosortable th {
    cursor: default;
}

tr:hover:not(:first-child) {
    background-color: #e6f5e1;
}

td {
    border-bottom: 1px solid #dbdbdb;
    margin: 0;
    cursor: pointer;
    max-width: 100px;
}

table:not(.budget) td:first-child, table:not(.budget) td:last-child {
    width: 28px;
}

td:first-child img, td:last-child img {
    border: none;
    padding: 2px 0 0 6px;
    opacity: 0.7;
}

table.budget.report {
    width: 100%;
}

    table.budget.report td:first-child {
        text-align: left;
        width: 50%;
    }

    table.budget.report tr td {
        width: 25%;
    }

table.budget {
    width: 740px;
    line-height: 1.5em;
}

    table.budget td {
        text-align: right;
    }

        table.budget td:first-child {
            text-align: left;
        }

    table.budget tr.parent td:first-child {
        font-weight: bold;
        padding-left: 10px;
        font-style: italic;
    }

    table.budget tr.parent td:nth-child(2) {
        font-weight: bold;
        font-style: italic;
    }

    table.budget tr.budgettotal td {
        border-bottom: 1px solid #c0c0c0;
    }

        table.budget tr.budgettotal td:first-child {
            padding-left: 10px;
        }

    table.budget tr.child td:first-child {
        padding-left: 20px;
        font-style: italic;
    }

    table.budget tr.child td {
        font-style: italic;
    }


    table.budget th {
        text-align: right;
    }

        table.budget th:hover {
            cursor: default;
        }

table tr.totalrow {
    font-weight: bold;
    border-top: 2px solid #000;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/* menu */
nav {
    font-size: 1em;
    width: 100%;
    height: 100px;
    background: #fff;
    border-top: 0 solid #fff;
    border-bottom: 1px solid #c0c0c0;
    opacity: 0.5;
}

    nav a {
        font-size: 1em;
        text-decoration: none;
        color: #000;
    }

        nav a:link, nav a:visited,
        nav a:active, nav a:hover {
            color: #000;
        }

    nav .module {
        float: left;
        margin: 0 0 0 0;
        border-right: 1px solid #c0c0c0;
        border-left: 0 solid #f2f2f2;
        padding: 0 4px 0 4px;
    }


        nav .module .module-title {
            font-size: 1.4em;
            line-height: 24px;
            display: block;
            text-align: center;
            color: #000;
        }

        nav .module .tile {
            text-align: center;
            display: block;
            float: left;
            min-width: 50px;
            min-height: 50px;
            margin: 4px;
            padding: 0 2px 0 2px;
        }

            nav .module .tile img {
                border: none;
                min-height: 48px;
            }

            nav .module .tile .action {
            }

        nav .module .group {
            float: left;
            text-align: left;
            padding-top: 5px;
        }

            nav .module .group a {
                float: left;
                clear: both;
                line-height: 22px;
                background: url('images/menu/actions/gear.png') no-repeat 0 4px;
                padding-left: 16px;
            }

        nav .module.logout {
            border-right: none;
            float: right;
            height: 99px;
            padding-right: 15px;
            padding-left: 15px;
        }

            nav .module.logout .group {
                float: right;
                /*font-weight: 500;*/
            }

                nav .module.logout .group a {
                    background: url('images/menu/actions/logout.png') no-repeat 0 4px;
                    padding-left: 20px;
                }

/* toolbar */
#toolbar {
    height: 38px;
    line-height: 35px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #efeeee;
    background-color: rgba(240, 240, 240, 0.50);
    color: rgba(0, 0, 0, 0.90);
    padding-left: 10px;
    padding-right: 10px;
}

    #toolbar .page-title {
        font-size: 2em;
        text-transform: capitalize;
    }

        #toolbar .page-title a {
            color: rgba(0, 0, 0, 0.50);
            text-decoration: none;
            float: left;
            max-width: 500px;
            margin-right: 10px;
            padding-right: 10px;
            border-right: 1px solid #c0c0c0;
        }

            #toolbar .page-title a:hover {
                color: #000;
            }

            #toolbar .page-title a:last-child {
                border-right: 0;
            }

    #toolbar #search-box span {
        font-size: 1.1em;
        padding-right: 4px;
    }

/* filters */

.action-spacer {
    height: 40px;
}

.page-actions {
    position: relative;
    height: 50px;
}

    .page-actions .actions {
        float: left;
    }

    .page-actions .filter {
        float: right;
    }

        .page-actions .filter span {
            display: inline-block;
        }

        .page-actions .filter select {
            width: 170px;
            margin-left: 4px;
        }

        .page-actions .filter select, .page-actions .filter input {
            line-height: 18px;
        }

/* tabs */
#tabs {
    height: 29px;
    line-height: 26px;
}

    #tabs .tab {
        margin: 3px 0 0 3px;
        float: left;
        height: 25px;
        padding: 0 16px 0 16px;
        background-color: #f2f2f2;
        border: 1px solid #c0c0c0;
        border-bottom: 0 solid #000;
        font-size: 1.3em;
        opacity: 0.7;
    }

        #tabs .tab.active, #tabs .tab:hover {
            opacity: 1;
            border-color: #c0c0c0;
            background-color: rgb(232, 239, 233);
            height: 29px;
            margin-top: 0;
        }

            #tabs .tab.active:hover {
                background-color: rgb(232, 239, 233);
                cursor: default;
            }

        #tabs .tab:hover {
            background-color: #f2f2f2;
            cursor: pointer;
            opacity: 1;
        }

        #tabs .tab:first-child {
            margin-left: 10px;
        }

/* forms */
fieldset {
    padding: 0;
    margin: 0 0 20px 0;
    border: none;
}

    fieldset legend {
        display: none;
    }

    fieldset ol {
        padding: 0;
        list-style: none;
    }

        fieldset ol li {
            padding-bottom: 5px;
        }

    fieldset p {
        clear: both;
        padding-top: 12px;
    }

.editor-label {
    float: left;
    width: 160px;
    line-height: 28px;
    padding: 6px 0 6px 0;
}

.editor-field {
    padding: 6px 6px 6px 0;
}

    .editor-field .total {
        line-height: 28px;
        width: 312px;
        display: block;
    }

@media all and (min-width: 1200px) {
    fieldset div:nth-of-type(4n+1) {
        clear: left;
    }

    textarea#Description, textarea#Remark {
        margin: 0;
        /*height: 300px;*/
        width: 852px;
    }

    .editor-field {
        float: left;
        padding: 6px 80px 6px 0;
    }

    fieldset h4 {
        clear: both;
    }
}

label {
    display: block;
    font-size: 1em;
}

    label.checkbox {
        display: inline;
    }

input, textarea, select {
    border: 1px solid rgb(185, 185, 185);
    background: #fff;
    color: #333;
    font-size: 1.2em;
    padding: 5px;
    width: 300px;
}

    select[disabled='disabled'], input[disabled='disabled'], textarea[disabled='disabled'], input[readonly='readonly'], textarea[readonly='readonly'] {
        background-color: rgb(235, 235, 228);
        width: 300px;
    }

    select[disabled='disabled'] {
        width: 312px;
    }

select {
    width: 312px;
}

textarea {
    font-family: inherit;
    /*width: 500px;*/
    height: 200px;
}

    input:focus, textarea:focus {
        border: 1px solid #7ac0da;
    }

input[type="checkbox"] {
    background: transparent;
    border: inherit;
    width: auto;
}

input[type="submit"],
input[type="button"],
button {
    opacity: 0.6;
    padding: 4px 8px 6px 8px;
    background-color: #000;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    margin-right: 8px;
    width: auto;
    color: #fff;
}

td input[type="submit"],
td input[type="button"],
td button {
    font-size: 1em;
    margin-right: 4px;
}

/* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error {
    color: #e80c4d;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}


input.input-validation-error, select.input-validation-error, textarea.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

/* footer
    ----------------------------------------------------------*/
footer .float-left,
footer .float-right {
    float: none;
}

footer {
    display: none;
    text-align: center;
    height: auto;
    padding: 10px 0;
}

    footer p {
        margin: 0;
    }


/* flags
    ----------------------------------------------------------*/
.flag:hover {
    opacity: 1;
}

.flag-options {
    display: none;
    position: absolute;
    border: 1px solid #c0c0c0;
    background: rgba(235, 235, 235, 0.80);
    z-index: 2;
    padding: 8px;
    cursor: default;
}

    .flag-options img {
        margin: 2px;
        opacity: 0.5;
    }

        .flag-options img:hover {
            opacity: 1;
            cursor: pointer;
        }

.clear {
    clear: both;
}

h4 {
    width: 100%;
    padding-bottom: 2px;
    border-bottom: 1px solid #c0c0c0;
}

td, .ellipsis {
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.icon {
    width: 20px;
    height: 20px;
    float: left;
}

.delete {
    background: url('/content/images/delete-16.png') no-repeat 0 0;
}

.pdf-16 {
    background: url('/content/images/documents/pdf-16.png') no-repeat 0 0;
}

.xls-16, .xlsx-16 {
    background: url('/content/images/documents/excel-16.png') no-repeat 0 0;
}

.doc-16, .docx-16 {
    background: url('/content/images/documents/word-16.png') no-repeat 0 0;
}

.ppt-16, .pptx-16 {
    background: url('/content/images/documents/powerpoint-16.png') no-repeat 0 0;
}

.unknown-16 {
    background: url('/content/images/documents/unknownextention-16.png') no-repeat 0 0;
}

.folder-16 {
    background: url('/content/images/documents/folder-16.png') no-repeat 0 0;
}


.hidden {
    display: none;
}

.dpselector {
    border-radius: 0 0 3px 3px;
    position: absolute;
    margin: 0 auto 5px;
    top: 20px;
    right: 20px;
    left: 20px;
    bottom: 15px;
    overflow: hidden;
    padding-bottom: 0;
    border: 2px dashed #c0c0c0;
    background-color: rgb(209, 224, 211);
}

    /*.dpselector.ischild {
        top: 228px;
    }*/

    .dpselector .message {
        position: absolute;
        top: 40%;
        font-size: 11pt;
        text-align: center;
        margin-top: 30px;
        display: block;
        width: 100%;
        padding: 0;
    }

        .dpselector .message i {
            color: #ccc;
            font-size: 10px;
        }


    /*-------------------------
	Image Previews
--------------------------*/


    .dpselector .preview {
        /*width: 400px;*/
        width: 450px;
        /*height: 215px;*/
        height: 56px;
        float: left;
        /*margin: 10px 0 0 60px;*/
        margin: 40px 0 0 10px;
        position: relative;
    }

        .dpselector .preview .inputs {
            float: left;
            height: 56px;
        }

            .dpselector .preview .inputs .txtName {
                float: left;
                margin-top: 0;
            }

            .dpselector .preview .inputs .txtDesc {
                margin-left: 10px;
                height: 56px;
            }

            .dpselector .preview .inputs input[type="button"] {
                right: 10px;
                position: absolute;
                top: 0;
            }

        .dpselector .preview img {
            width: 64px;
            height: 64px;
            float: left;
            display: block;
        }

    .dpselector .imageHolder {
        display: inline-block;
        position: relative;
        float: left;
    }

    .dpselector .uploaded {
        position: absolute;
        top: 125px;
        left: 125px;
        height: 24px;
        width: 24px;
        /*todo: get image*/
        /*background: url('/Content/images/documents/done.png') no-repeat center center;*/
        display: none;
    }

    .dpselector .preview.done .uploaded {
        display: block;
    }

    .dpselector .preview .error {
        display: none;
    }

    .dpselector .preview .errorlayout {
        width: 230px;
    }

        .dpselector .preview .errorlayout span {
            float: left;
        }

    .dpselector .preview .cancelbtn {
        float: left;
        margin-top: 50px;
        width: 100px;
    }

    .dpselector .preview.error span.imageHolder {
        height: 100px;
        width: 100px;
        margin: 50px 0 0 15px;
        /*todo: get image*/
        /*  background: url('/Content/images/documents/warning.png') no-repeat center center;*/
    }

        .dpselector .preview.error span.imageHolder img {
            display: none;
        }

    /*-------------------------
	Progress Bars
--------------------------*/

    .dpselector .progressHolder {
        position: absolute;
        background-color: #252f38;
        height: 12px;
        width: 300px;
        left: 70px;
        bottom: 0;
        -webkit-box-shadow: 0 0 2px #000;
        box-shadow: 0 0 2px #000;
    }

    .dpselector .progress {
        background-color: rgb(232, 239, 233);
        position: absolute;
        height: 100%;
        left: 0;
        width: 0;
        -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.4) inset;
        box-shadow: 0 0 1px rgba(255, 255, 255, 0.4) inset;
        -moz-transition: 0.25s;
        -webkit-transition: 0.25s;
        -o-transition: 0.25s;
        transition: 0.25s;
    }

    .dpselector .preview.done .progress {
        width: 100% !important;
    }


#nofiles {
    clear: both;
    margin: 20px 0 20px 0;
    padding: 30px;
    /*position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    top: 70px;*/
    background-color: #c0c0c0;
    color: #000;
    border: 0 dashed #6b6b6b;
}

    #nofiles.ischild {
        /*top: 228px;*/
    }

    #nofiles div {
        font-size: 11pt;
        text-align: center;
        width: 100%;
    }

.simple-upload #nofiles {
    /*top: 520px;*/
}



#tbltimesheet tr {
    line-height: 20px;
}

    #tbltimesheet tr:hover {
        cursor: default !important;
    }

    #tbltimesheet tr.total {
        background-color: rgba(0, 0, 0, 0.1);
    }

#tbltimesheet th {
    width: 80px;
    text-align: center;
    text-transform: capitalize;
}

    #tbltimesheet th:first-child {
        min-width: 600px;
    }

#tbltimesheet td {
    padding: 2px;
    padding-right: 5px;
}

    #tbltimesheet td:not(:first-child) {
        padding-right: 5px;
    }

    #tbltimesheet td.borderbottom {
        border-bottom: 1px solid rgba(109, 114, 109, 0.30);
    }

#tbltimesheet select:first-of-type {
    margin-right: 10px;
}

#tbltimesheet select {
    padding: 1px;
    margin: 0;
    width: 49%;
    float: left;
}

#tbltimesheet input {
    padding: 1px;
    margin: 0;
    min-width: 70px;
    width: 100%;
}

div.timesheettoolbar {
    height: 40px;
    border-bottom: 1px solid #c0c0c0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    line-height: 40px;
}

    div.timesheettoolbar input {
        float: left;
        margin-left: 10px;
        margin-top: 7px;
        margin-right: 0;
    }

div.bookedhours {
    margin-right: 20px;
    float: right;
}

div.contacthours {
    margin-right: 20px;
    float: right;
}

div.timesheettoolbar .remark {
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    max-width: 400px;
}

div.timesheettoolbar img:hover {
    cursor: pointer;
}

div.timesheettoolbar .status {
    float: left;
    margin-left: 10px;
}

    div.timesheettoolbar .status.saved {
        color: #5d605d;
    }

    div.timesheettoolbar .status.sent {
        color: blue;
    }

    div.timesheettoolbar .status.approved {
        color: green;
    }

    div.timesheettoolbar .status.rejected {
        color: red;
    }

div.timesheettoolbar + form {
    margin-top: 20px;
}

#vacation-container {
    float: right;
}

tr.status.sent {
    background-color: rgb(207, 230, 252);
}

tr.status.approved {
    background-color: rgb(211, 255, 206);
}

tr.status.rejected {
    background-color: rgb(255, 156, 156);
}

tr.status.not_created {
    background-color: rgba(235, 235, 235, 0.80);
}

tr.status.saved {
    background-color: rgba(255, 255, 255, 0.80);
}

.statusdisplay {
    text-transform: capitalize;
}

#timesheetstatusflow select {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 7px;
    padding: 3px;
    float: left;
}

#timesheetstatusflow input[type="text"] {
    padding: 4px;
    float: left;
    margin-right: 10px;
    margin-top: 7px;
}

.trproject.invalid-project td:first-child select[id^=p_projects_] {
    border-color: #cc3333;
}
.trproject.invalid-task td:first-child select[id^=ddl_t_tasks_] {
    border-color: #cc3333;
}