﻿/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #ff0000;
}

.validation-summary-errors {
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid {
    display: none;
}

/*custom styles*/
/*html {
    max-width: calc(100vw - 12px);
}*/

@media only screen and (max-device-width: 1024px) {
    html {
        max-width: 100%;
    }
}

body {
    padding-right: 0 !important;
}


*::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

*::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

*::-webkit-scrollbar-thumb {
    background-color: #6693bc;
    /*background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(.5, rgba(255, 255, 255, .2)), color-stop(.5, transparent), to(transparent));*/
}

.scriptMessage, .scriptMessageEvaluated {
    display: none;
}

.form-signin,
.form-forgot-password {
    max-width: 730px;
    padding: 15px;
    margin: 0 auto;
}

.navbar-brand img {
    width: 100px;
    border: 5px solid white;
    margin-top: -4px;
    border-radius: 3px;
}

.modal-backdrop {
    z-index: auto;
}

.modal-header {
    background-color: #6693bc;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

    .modal-header > h4,
    .close,
    .close:hover,
    .close:focus {
        color: #fff;
    }

.close {
    opacity: 0.6;
}

    .close:hover,
    .close:focus {
        color: #fff;
        opacity: 1;
    }

.ui-autocomplete {
    z-index: 1051 !important;
    max-height: 400px;
    overflow-y: scroll;
}

.table-striped.custome-striped > tbody > tr:nth-of-type(2),
.table-striped.custome-striped > tbody > tr:nth-of-type(6) .table-striped.custome-striped > tbody > tr:nth-of-type(10),
.table-striped.custome-striped > tbody > tr:nth-of-type(14),
.table-striped.custome-striped > tbody > tr:nth-of-type(18),
.table-striped.custome-striped > tbody > tr:nth-of-type(22),
.table-striped.custome-striped > tbody > tr:nth-of-type(26),
.table-striped.custome-striped > tbody > tr:nth-of-type(30),
.table-striped.custome-striped > tbody > tr:nth-of-type(34),
.table-striped.custome-striped > tbody > tr:nth-of-type(38),
.table-striped.custome-striped > tbody > tr:nth-of-type(42),
.table-striped.custome-striped > tbody > tr:nth-of-type(46) {
    background-color: white;
}

.table-striped.custome-striped > tbody > tr:nth-of-type(3),
.table-striped.custome-striped > tbody > tr:nth-of-type(7),
.table-striped.custome-striped > tbody > tr:nth-of-type(11),
.table-striped.custome-striped > tbody > tr:nth-of-type(15),
.table-striped.custome-striped > tbody > tr:nth-of-type(19),
.table-striped.custome-striped > tbody > tr:nth-of-type(23),
.table-striped.custome-striped > tbody > tr:nth-of-type(27),
.table-striped.custome-striped > tbody > tr:nth-of-type(31),
.table-striped.custome-striped > tbody > tr:nth-of-type(35),
.table-striped.custome-striped > tbody > tr:nth-of-type(39),
.table-striped.custome-striped > tbody > tr:nth-of-type(43),
.table-striped.custome-striped > tbody > tr:nth-of-type(47) {
    background-color: #eeeeee;
}

.table > tbody > tr.parentTr + tr > td, .table > tbody > tr.unitButtonsRow > td {
    border-top: none;
    padding-top: 0;
    padding-bottom: 8px;
}

.table > tbody > tr.parentTr > td {
    padding-top: 8px;
    border-top: 1px solid #ddd;
}

.mobileUnitButtonsRow > td {
    padding: 4px 3px 0;
}

td.dayCell input:read-only {
    text-align: right;
}

.dayCell {
    padding: 0 3px 4px;
}

    .dayCell:first-child,
    input + .dayCell,
    .mobileUnitButtonsRow > td:first-child {
        padding-left: 0;
    }

    .dayCell:last-child,
    .mobileUnitButtonsRow > td:last-child {
        padding-right: 0;
    }

.totalCell {
    padding: 2px 0 2px 5px;
}

.verticalDaysInput {
    background-color: #f6f6f6 !important;
}

    .verticalDaysInput input {
        background-color: #f6f6f6 !important;
    }

.teamMemberActionsContainer h3 {
    border-bottom: 1px dotted #ddd;
}

    .teamMemberActionsContainer h3 span {
        display: block;
        clear: both;
        height: 5px;
    }

.teamMemberActionsContainer .btn {
    margin-right: 5px;
}

#teamsTablist.nav-tabs > li > a {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.col-xs-12.teamMemberControl {
    padding-right: 80px;
}

.teamMemberControl .btn {
    position: absolute;
    top: 0;
    right: 15px;
}

.list-group.teamMemberContainer, .list-group.teamManagerContainer {
    margin-top: 15px;
    margin-bottom: 0;
}

strong#projectDetailsName {
    display: block;
    font-size: 18px;
}

#addProjectManagerDiv {
    padding-top: 4px;
}

#newProjectManagerFullName {
    width: 284px;
}

#ProjectManagersItems .btn, #showHideManagerButton {
    margin-bottom: 4px;
}

.row.report-header {
    border-bottom: 1px solid #ddd;
    padding: 5px;
}

.time-tracker-report.container {
    margin-top: 10px;
    margin-bottom: 20px;
}

.time-tracker-report .row.sub-header {
    background-color: #eaeaea;
    padding: 8px 5px 8px 5px;
    border: 1px solid #ddd;
    border-style: solid none solid none;
}

.time-tracker-report .row .employeeFullName {
    padding-left: 25px;
}

.time-tracker-report .row.teamMember {
    padding: 8px 5px 8px 5px;
    text-align: left;
}

    .time-tracker-report .row.teamMember:nth-child(even) {
        background-color: #f0f0f0;
    }

    .time-tracker-report .row.teamMember:nth-child(odd) {
        background-color: #f8f8f8;
    }

.time-tracker-report .row.value-row {
    padding: 8px 5px 8px 5px;
    text-align: left;
    background-color: #f6f6f6;
    border-top: 1px solid #ddd;
}

.time-tracker-report .row.total-footer {
    background-color: #e0e0e0;
    padding: 8px 5px 8px 5px;
    border-top: 1px solid #ddd;
}

.report-sub-header {
    background-color: #eaeaea;
    padding: 8px 5px 8px 5px;
    border: 1px solid #ddd;
    border-style: solid none solid none;
}

.fillMealLink {
    text-decoration: underline;
    cursor: pointer;
    color: #2fa4e7;
}

#fillMealWeek {
    cursor: pointer;
    color: #2fa4e7;
}

.modal-action-buttons {
    padding: 20px 20px 0px 20px;
    text-align: right;
}

    .modal-action-buttons input[type=button]:first-child {
        margin-right: 10px;
    }

.tracker-data-tr {
    border: none;
    background-color: white !important;
}

.tracker-data-tr-small {
    border: none;
    background-color: white !important;
    text-align: right;
}

.tracker-data-tr td {
    padding: 5px 15px !important;
    text-align: right;
}

.colored-round {
    display: inline-block;
    border-radius: 50%;
    height: 10px;
    width: 10px;
    margin-top: 9px;
}

#teamTravelDate {
    position: relative;
    height: 80px;
}

@media screen and (max-width: 800px) {
    #travelDate {
        height: 80px;
    }
    #previousDay {
        margin-top: 33px;
    }
    #nextDay {
        margin-top: 10px;
    }
}

@media screen and (max-width: 500px) {
    #nextDay {
        margin-top: 33px;
    }
}

.totalHeader {
    position: absolute;
    line-height: 14px;
    top: 7px;
    left: 45px;
    right: 45px;
}

    .totalHeader table {
        margin: 0 auto;
    }

    .totalHeader td:last-child {
        width: 27px;
    }

    .totalHeader td > span {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

#intervalPlayer {
    padding-top: 10px;
}

    #intervalPlayer > * {
        vertical-align: middle;
    }

    #intervalPlayer > span {
        display: inline-block;
        width: 105px;
        padding-top: 1px;
    }

    #intervalPlayer > .btn {
        margin-top: 1px;
    }

    #intervalPlayer > span > label {
        margin-bottom: 0;
    }

    #intervalPlayer > .progress {
        height: 24px;
        width: calc(98% - 157px);
    }

.navbar-nav .dropdown-menu > .active > a {
    background: none;
    color: #333;
    font-weight: bold;
}

    .navbar-nav .dropdown-menu > .active > a:hover,
    .navbar-nav .dropdown-menu > .active > a:focus {
        background-color: #2fa4e7;
        color: white;
    }


.userItem {
    padding-top: 6px;
    padding-bottom: 13px;
}

.date-time {
    color: #BFBBBB;
    position: absolute;
    left: 40px;
    top: 26px;
    font-size: 9px;
}

.ui-autocomplete {
    overflow-x: hidden;
}

tr.licenceExpiration {
    color: red;
}

.paging-sorting-filter {
    margin-bottom: 15px;
}

    .paging-sorting-filter * {
        vertical-align: middle;
    }

.color-red {
    color: red;
}

.relative {
    position: relative;
}

.tooltip-validator-left > span, .tooltip-validator-bottom > span {
    position: absolute;
    display: block;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 12px;
    line-height: normal;
    min-width: 62px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    background-color: #ff0000;
    border-radius: 4px;
    z-index: 1;
}

.tooltip-validator-left > span {
    top: 50%;
    margin-top: -10px;
    left: -67px;
}

.tooltip-validator-bottom > span {
    bottom: -25px;
    left: 50%;
    margin-left: -33px;
}

    .tooltip-validator-left > span:before, .tooltip-validator-bottom > span:before {
        position: absolute;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        content: "";
    }

.tooltip-validator-left > span:before {
    top: 50%;
    right: -5px;
    margin-top: -5px;
    border-width: 5px 0 5px 5px;
    border-left-color: #ff0000;
}

.tooltip-validator-bottom > span:before {
    top: 0;
    left: 50%;
    margin-left: -5px;
    margin-top: -5px;
    border-width: 0 5px 5px;
    border-bottom-color: #ff0000;
}

.text-danger {
    color: #ff0000;
}

.has-error .form-control {
    border-color: #ff0000;
}

.bold {
    font-weight: bold;
}

#timesheetManageContainer .table {
    margin-bottom: 0;
}

#timesheetManageContainer blockquote {
    margin: 0 0 0 10%;
    font-size: 14px;
    padding-right: 0;
    border-left-width: 1px;
}

#timesheetManageContainer .table > tbody > tr > td[colspan="12"] {
    padding: 0;
}

.total-row > td {
    border-top: none !important;
}

#timesheetsContainer .form-group {
    margin-bottom: 15px;
}

.lastRow-collapse tbody > tr:last-child > td {
    border-top-width: 2px;
}

.total-row {
    border-top: 2px solid #ddd;
}

.lastRow-collapse .total-row {
    border-top: none;
}

.container .inheritLabels .control-label {
    line-height: inherit;
}

.unitReport hr {
    border-top-width: 2px;
}

.unitReport > blockquote {
    padding-bottom: 0;
    padding-top: 0;
    margin-left: 12px;
    font-size: inherit;
}

.visit-column {
    width: 85px;
}

.table > thead > tr > th.efficiency-column {
    border-bottom-color: white;
    width: 90px;
}

.table > tbody > tr > td.efficiency-column {
    background-color: white;
    text-align: center;
    vertical-align: middle;
    border-top-color: white;
}

.lbl-in-dd {
    position: relative;
}

    .lbl-in-dd > .control-label {
        position: absolute;
        left: 13px;
        /*color: black;*/
        font-weight: normal;
    }

.dd-group > .form-control {
    padding-left: 55px;
}

.dd-employee > .form-control {
    padding-left: 78px;
}

.dd-from > .form-control {
    padding-left: 53px;
}

.dd-to > .form-control {
    padding-left: 35px;
}

.dd-template > .form-control {
    padding-left: 73px;
}


.dd-date > .form-control {
    width: 140px;
}

@media (min-width: 992px) {

    .dd-width-preset-group-and-employee {
        width: calc((100% - 535px) / 2);
    }

        .dd-width-preset-group-and-employee > .form-control {
            width: 100%;
        }
}

@media (min-width: 761px) {

    .dd-width-preset-group, .dd-width-preset-template {
        width: calc(100% - 535px);
    }

        .dd-width-preset-group > .form-control, .dd-width-preset-template > .form-control {
            width: 100%;
        }
}


.filter {
    margin-top: 8px;
}

.amount {
    min-width: 150px;
}

.js-unit-efficiency {
    color: #959595;
    margin-top: 1px;
}

.gap-popup-header {
    margin-top: 35px;
}

    .gap-popup-header:first-child {
        margin-top: 5px;
    }

.gap-error {
    color: red;
}

.vertical-middle td {
    vertical-align: middle !important;
}

#mileage-gap-modal .table, #mileage-expenses-modal .table {
    font-size: 79.5%;
}

#timesheetManageContainer p {
    margin: 0;
}

p.no-expenses-found {
    padding: 15px 0;
    font-size: 115%;
}

.employees-check {
    margin-left: 10px;
}

    .employees-check > input[type="checkbox"] {
        margin-top: -1px;
        vertical-align: middle;
    }

h2 .employees-check {
    font-size: 14px;
    color: #555;
    font-weight: normal;
    vertical-align: middle;
    margin-top: 2px;
}

#edit-timesheet-customer-modal table th {
    text-align: center;
}

.time-transactions-table > thead > tr > th, .time-transactions-table > tbody > tr > td {
    border: none;
}

.m-b-10 {
    margin-bottom: 10px;
}

.m-b-15 {
    margin-bottom: 15px;
}

.m-t-10 {
    margin-top: 10px;
}

.m-t-15 {
    margin-top: 15px;
}

.modal {
    text-align: center;
    padding: 0 !important;
}

    .modal:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -4px;
    }

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

#timeTabContainer .grid-container {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    float: left;
    width: 12.4%;
}

#timeTabContainer .labels {
    width: 100%;
    padding-bottom: 15px;
}

#time-web .time-label {
    margin-top: 50px;
    height: 30px;
    text-align: left;
    vertical-align: middle;
}

#time-web .progress-label {
    height: 38px;
    margin: 0;
    white-space: nowrap;
    text-align: left;
}

.misc-amount-td {
    min-width: 110px;
}

.overflow {
    margin: 0;
    white-space: normal;
}

#mobile-timesheet  {display: none;}
#desktop-timesheet {display: block;}

.billing{
    display: inline-block;
}

@media screen and (max-width: 800px) {

    .billing{
        display: block;
    }

    .table-media {
        table-layout: fixed;
    }

    .modal:before {
        display: inline;
    }

    .modal-dialog {
        display: inline;
    }

    #timeTabContainer .grid-container {
        width: 100%;
    }

    #time-mobile .time-label {
        display: inline-block;
        width: 101.13px;
        text-align: center;
        margin-right: 11px
    }

    #time-mobile .progress-label {
        display: inline-block;
        position: relative;
        width: 167px;
        white-space: nowrap;
        text-align: center;
        margin-right: 11px;
    }

    #time-mobile .row {
        width: 100%;
        margin: 0;
        overflow-x: scroll;
    }

    #time-mobile .label-row {
        position: relative;
        max-height: 9px;
        left: 70px;
        white-space: nowrap;
    }

    #time-mobile .grid-container {
        display: inline-grid;
        grid-gap: 10px 15px;
        grid-template-columns: 70px 75px 167px 167px 167px 167px 167px 167px 167px 167px 167px 167px 167px 167px 167px 167px 167px 167px 167px 167px 167px 167px;
        grid-template-rows: 40px;
        padding: 10px;
        clear: both;
    }

    #time-mobile .grid-item-date {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: auto;
        padding-top: 10px;
    }

    #time-mobile .grid-item-day {
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: auto;
        padding-top: 10px;
    }

    #time-mobile .grid-item-timebox {
        grid-column-start: 3;
        grid-column-end: 4;
        grid-row-start: 1;
        grid-row-end: auto;
    }

    #time-mobile .grid-item-textbox {
        grid-column-end: auto;
        grid-row-start: 1;
        grid-row-end: auto;
    }

    #autoExpenses-labels {
        display: inline-grid;
        grid-gap: 10px 15px;
        grid-template-columns: 95px;
        grid-template-rows: 40px 40px 40px 40px 40px 40px 40px;
        padding: 10px;
    }

    #autoExpenses-inputs {
        display: inline-grid;
        grid-gap: 10px 15px;
        grid-template-columns: 175px;
        grid-template-rows: 40px 40px 40px 40px 40px 40px 40px;
        padding: 0px 0px 0px 44px;
    }

        #autoExpenses-inputs .col-sm-2, .col-sm-1 {
            min-width: 169px;
        }

    #mobile-timesheet {
        display: block;
    }

    #desktop-timesheet {
        display: none;
    }
}

.notification .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 5px 10px;
    border-radius: 50%;
    background-color: red;
    color: white;
}

.notification .btn {
    position: relative;
    display: inline-block;
    min-width: 44px;
}

@media screen and (max-width: 1025px) {
    /*.dropdown-menu {*/
    /*position: relative;}*/
}

@media print{
    .invoice-footer {
        position: absolute;
        bottom: 0px;
    }

    .table-striped > tbody > tr:nth-of-type(odd) {
        background-color: #eeeeee;
    }
}