﻿/* BEGIN Operation menu styling */
.btnEllipsis {
    background-image: url(../../Images/forms/highlight.png);
    background-position: 0 center;
    background-color: #a7a7a7;
    border: 1px solid #8d8d8d;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, .25);
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, .25);
    color: #000;
    padding-bottom: 7px;
    line-height: 13px;
}

.txEllipsis {
    font-size: medium;
    font-weight: bolder;
    line-height: 13px;
}

#operations-menu .btnEllipsis,
.operations-menu .btnEllipsis {
    margin-left: 0;
}

#operations-menu.k-widget.k-menu-horizontal > .k-item,
.operations-menu.k-widget.k-menu-horizontal > .k-item {
    border-right: none;
}

#operations-menu, .operations-menu {
    position: absolute;
    z-index: 999;
    background: none;
    border: 0;
    outline: 0;
}

    #operations-menu.k-menu > .k-item > .k-link,
    .operations-menu.k-menu > .k-item > .k-link {
        padding: 0;
    }

    #operations-menu.k-menu .k-i-arrow-s,
    .operations-menu.k-menu .k-i-arrow-s {
        display: none;
    }

    #operations-menu.v-menu-align-right .k-animation-container,
    .operations-menu.v-menu-align-right .k-animation-container {
        left: auto !important;
        right: 5px;
    }

    #operations-menu h2,
    .operations-menu h2 {
        font-size: 1.2em;
    }

    #operations-menu .k-first,
    .operations-menu .k-first {
        border-bottom: 1px solid #ccc !important;
    }

/* END Operation menu styling */

#newWorkOrderRWInfoblocks .infoblock > div {
    float: left;
    display: inline-block;
    padding: 10px 10px 5px 10px;
    margin: 0;
    width: 30%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


.webtemplate-tab.infoblock > div iframe {
    width: 100%;
    height: 100%;
}

#newWorkOrderRWInfoblocks {
    overflow: auto;
}

.webtemplate-tab.infoblock > div.flex-container {
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    height: auto;
}

.webtemplate-tab.infoblock > div.flex-container-browser {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.webtemplate-tab.infoblock > div.flex-item {
    -ms-flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    height: auto;
}

div[data-infoblock] h2 {
    background-color: #C6C7C7;
    border: 1px solid #bbb;
    padding: 5px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1.05em;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin: 0 -2px 7px -2px;
}

div[data-infoblock] h3 {
    color: #706c9d;
    padding: 5px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1.3em;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin: 10px -2px;
}

div[data-infoblock] .k-autocomplete {
    min-height: 12px;
}

div[data-infoblock] span.k-combobox {
    min-height: 12px;
}

div[data-infoblock] input[type="text"] {
    min-height: 12px;
}

div[data-infoblock] input[type="url"] {
    min-height: 12px;
}

div[data-infoblock] input[type="number"] {
    min-height: 12px;
}

div[data-infoblock] input[type="email"] {
    min-height: 12px;
}

div[data-infoblock] textarea {
    min-height: 12px;
}

    div[data-infoblock] textarea.fullwidth {
        width: 95%;
    }

div[data-infoblock] .k-input {
    border-bottom: 1px solid #C6C7C7;
}

    div[data-infoblock] .k-input div[data-infoblock] input[readonly] {
        background-color: #f7f7f7;
        min-height: 12px;
        color: #666;
    }

div[data-infoblock] a {
    border: 1px solid #C6C7C7;
    margin-bottom: 10px;
    min-height: 12px;
}

div[data-infoblock] .ibmailto {
    border: 1px solid #C6C7C7;
    background-color: #f7f7f7;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin-top: -3px;
    border-radius: 5px;
    padding: 4px;
    display: block;
}

div[data-infoblock] .ibvalue {
    margin: 5px 5px 5px 10px;
    display: block;
    font-weight: normal;
}

div[data-infoblock] .ibreadonly {
    background-color: #f7f7f7;
    color: #666;
}

.v-picklist-clear-button {
    position: absolute;
    right: -20px;
    top: 3px;
    border: 1px solid #c7c7c7;
}

.v-open {
    position: relative;
    border: 1px solid #c7c7c7;
    font-weight: bold;
    float: right;
    top: -20px;
    right: 7px;
    padding: 4px;
}

/* begin popup picklist inside browser */
td.k-edit-cell > span.v-picklist-popup-editor {
    width: 100%;
}

    /*text input*/
    td.k-edit-cell > span.v-picklist-popup-editor > input {
        width: -moz-calc(100% - 22px);
        width: -webkit-calc(100% - 22px);
        width: -o-calc(100% - 22px);
        width: calc(100% - 22px);
    }

    /*popup button*/
    td.k-edit-cell > span.v-picklist-popup-editor span.v-picklist-popup > input.v-picklist-popup-button.v-open {
        top: auto;
        right: auto;
        position: static;
        float: none;
        margin-left: 2px;
    }
/* end popup picklist inside browser */

.v-picklist-popup-buttons-span > input {
    background-image: url(../../Images/forms/highlight.png);
    background-position: 0 center;
    background-color: #ee2e24;
    border: 1px solid #b35e5e;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, .25);
    box-shadow: 0 0 1px 1px rgba(0, 0, 0, .25);
    color: #fff;
    float: right;
    margin-left: 5px;
    padding: 4px 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.v-select {
    border: 1px solid #c7c7c7;
    font-weight: bold;
    padding: 4px;
}

.v-cancel {
    border: 1px solid #c7c7c7;
    font-weight: bold;
    padding: 4px;
}

.v-picklist-popup-window {
    min-width: 200px;
}

.v-picklist-popup-listview {
    border: 1px solid #c7c7c7;
    padding: 2px 5px;
    margin-bottom: 10px;
}

.v-picklist-popup-listview-item {
    padding: 3px;
    font-weight: 200;
}

    .v-picklist-popup-listview-item:nth-child(even) {
        background-color: #f7f7f7;
    }


    .v-picklist-popup-listview-item:last-child {
        border-bottom: none;
    }

    .v-picklist-popup-listview-item:hover {
        background-color: #e8e8e8;
        font-weight: bolder;
    }

.v-picklist-popup-buttons-span {
    float: right;
    margin-bottom: 5px;
}

.v-picklist-popup-listview-item.k-state-selected {
    background-color: #caf1ca;
    font-weight: bolder;
    color: #515967;
}

.ibgrid {
    min-width: 500px;
}

div[data-infoblock] .k-header {
    font-weight: bold;
}

.v-picklist-popup-maint-buttons .v-picklist-popup-buttons-span {
    float: none;
    display: inline;
}

    .v-picklist-popup-maint-buttons .v-picklist-popup-buttons-span.v-selcont {
        text-align: right;
    }

.v-picklist-popup-maint-buttons > .v-picklist-popup-buttons-span > input {
    float: none;
}

.v-picklist-popup-maint-buttons {
    display: block;
    display: flex;
    justify-content: space-between;
    white-space: nowrap;
}

    .v-picklist-popup-maint-buttons .v-picklist-popup-buttons-span.v-maint {
        padding-right: 10px;
    }

button.secondary.v-workordertimes {
    margin-left: 0;
}

.v-command-work-order-ledger-table {
    /*border: 1px solid #eee;*/
    width: 800px;
}

    .v-command-work-order-ledger-table td {
        /*border: 1px solid #eee;*/
        padding: 10px 5px;
    }

    .v-command-work-order-ledger-table span {
        display: block;
        font-weight: bold;
    }

.v-command-work-order-ledger-mid-text {
    min-width: 250px;
}

.v-command-work-order-ledger-long-text {
    min-width: 600px;
}

#v-command-work-order-ledger_internalOrder {
    float: right;
    clear: right;
    margin-right: 35px;
}

.v-work-order-command-label-right {
    position: relative;
    float: right;
    right: 220px;
}

.v-work-order-ledger-command-buttons {
    position: absolute;
    right: 75px;
    bottom: 70px;
}

.v-command-work-order-ledger-table input[type="text"]:disabled {
    background: #eee;
}

.projectCwtWindow .webtemplate-tab {
    overflow-y: auto;
}

.web-template-project-phases {
    -ms-flex-direction: column !important;
    -webkit-flex-direction: column !important;
    flex-direction: column !important;
}

.web-template-phase-main-top {
    -ms-flex-direction: column !important;
    -webkit-flex-direction: column !important;
    flex-direction: column !important;
    height: 280px;
}


    .web-template-phase-main-top .topSection > div:nth-child(1) {
        width: 20%;
    }

    .web-template-phase-main-top .topSection > div:nth-child(2) {
        width: 20%;
        margin: 0 15%;
    }

    .web-template-phase-main-top .topSection > div:nth-child(3) {
        width: 30%;
    }

#cwtdialog-phase-main .webtemplate-tab {
    -ms-flex-direction: column !important;
    -webkit-flex-direction: column !important;
    flex-direction: column !important;
}

#cwtdialog-phase-main label {
    margin: 7px 3px 3px 0;
}

#cwtdialog-phase-main .cwt-section-buttons {
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
}

#cwtdialog-phase-main .checkbox-wrap {
    margin-top: 7px;
    align-items: center;
}

    #cwtdialog-phase-main .checkbox-wrap input {
        margin: 0;
    }

    #cwtdialog-phase-main .checkbox-wrap label {
        margin: 0 5px 0 0;
    }

#cwtdialog-project-info label {
    margin: 7px 0 3px 0;
}

#cwtdialog-project-info .ibreadonly {
    margin: 2px 0;
}

#cwtdialog-project-main .phase-main-buttons {
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
}

#cwtdialog-project-main .cwt-form .k-numerictextbox .k-numeric-wrap::before {
    display: none !important;
}

#cwtdialog-project-main .cwt-label {
    margin: 7px 0 3px 0;
}

#cwtdialog-project-main .iblabel {
    margin: 7px 0 3px 0;
}

#cwtdialog-project-main .snookums {
    margin: 7px 0 3px 0;
}

.webtemplate-tab.infoblock > div.fullwidth-section {
    width: 100%;
    padding: 5px 0px;
    margin: 0px;
}

.webtemplate-tab .ibfullheight {
    height: 100%;
}

.webtemplate-tab .phaseGrid {
    height: 320px;
}

.webtemplate-tab.infoblock > div.ib100height {
    height: 100%;
}

.webtemplate-tab.infoblock > div.ib60height {
    height: 60%;
}

/* BEGIN Custom Web Template Dialog */
.cwtdialog,
.cwtdialog .cwtdialog-content,
.cwtdialog .cwtdialog-upper-panel,
.cwtdialog .cwtdialog-main-panel,
.cwtdialog .cwtdialog-buttons,
.cwtdialog .webtemplate-tab,
.cwtdialog .cwtdialog-upper-panel .webtemplate-tab > div /* the section div */ {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

    .cwtdialog .cwtdialog-upper-panel .webtemplate-tab > div /* the section div */ {
        padding: 2px;
    }

.cwtdialog {
    height: 570px;
    width: 858px;
    /*border: 1px solid red;*/
    position: relative;
    overflow: hidden;
}

    .cwtdialog .cwtdialog-content,
    .cwtdialog .cwtdialog-upper-panel,
    .cwtdialog .cwtdialog-main-panel,
    .cwtdialog .cwtdialog-buttons {
        position: static;
        width: 100%;
    }

    .cwtdialog .cwtdialog-upper-panel,
    .cwtdialog .cwtdialog-main-panel,
    .cwtdialog .cwtdialog-buttons {
        padding: 4px;
    }

    .cwtdialog .cwtdialog-content {
        height: 540px;
    }

    .cwtdialog .cwtdialog-upper-panel {
        height: 114px;
    }

        .cwtdialog .cwtdialog-upper-panel > div {
            height: 100%;
        }

    .cwtdialog .cwtdialog-main-panel {
        height: 415px;
    }

    .cwtdialog .cwtdialog-buttons {
        position: absolute;
        bottom: 0;
        text-align: right;
    }

    .cwtdialog button {
        float: none;
    }

    .cwtdialog .k-tabstrip .k-content,
    .wocwtdialog .k-tabstrip > .k-content {
        height: 370px;
    }

        .cwtdialog .k-tabstrip .k-content > div {
            height: 100%;
        }

    .cwtdialog .webtemplate-tab {
        height: 100%;
    }

    .cwtdialog .cwtdialog-upper-panel .webtemplate-tab {
        text-align: left;
        display: inline-block;
        width: 33%;
        vertical-align: top;
        height: 100%;
        margin: 4px;
        margin: 0 6px 0 0;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        border: 1px solid #dcdcdc;
        background-color: #f2f2f2;
        padding: 2px;
    }

        .cwtdialog .cwtdialog-upper-panel .webtemplate-tab:last-child {
            margin: 0;
        }

        .cwtdialog .cwtdialog-upper-panel .webtemplate-tab.infoblock > div {
            width: 100%;
        }

        .cwtdialog .cwtdialog-upper-panel .webtemplate-tab .cwt-info-header { /*.ptile-header*/
            background-color: #C6C7C7;
            /*text-align: center;*/
            font-weight: bold;
            margin: 2px;
            padding: 5px;
            white-space: nowrap;
            overflow: hidden;
            display: block;
        }

    .cwtdialog .operations-menu {
        top: 121px;
        right: 9px;
    }



/*.operations-menu .k-first {
    border-bottom: 1px solid #ccc !important;
}*/

/* END Custom Web Template Dialog */

.cwt-display-block {
    display: block;
    margin: 2px 4px;
}

.cwtwindow .k-window-title {
    text-align: center;
}

/* factory template will use fullwidth-section instead
.webtemplate-tab.infoblock > div.v-phistory-grid {
    float: left;
    display: inline-block;
    padding: 6px 2px 5px 2px;
    margin: 0;
    width: 98%;
    height: 98%;
}
*/

.webtemplate-tab.infoblock div[data-role="browsergrid"].k-grid.k-widget tr.k-state-selected {
    background-color: #caf1ca;
    color: #515967;
}

/* grid checkbox */
.webtemplate-tab div[data-role="browsergrid"].k-grid.k-widget tr td > input[type='checkbox'] + span:after {
    content: "\e001";
    color: #0a9e67;
    vertical-align: middle;
    font-size: 130%;
    margin-right: 0.5em;
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.webtemplate-tab div[data-role="browsergrid"].k-grid.k-widget tr td > input[type='checkbox']:checked + span:after {
    content: "\e000";
    color: #0a9e67;
    vertical-align: middle;
    font-size: 130%;
}

input[type=checkbox].checkbox-cwt-visible {
    display: inherit;
    margin-top: 10px;
    vertical-align: middle;
}

.cwt-label-left {
    font-weight: bold;
}

.cwt-left-value, .cwt-label-left {
    display: block;
    float: left;
    clear: left;
    width: 40%;
}

.cwt-right-value {
    display: inline-block;
    float: left;
    clear: right;
    width: 40%;
}

.cwt-nowrap {
    display: inline-block;
}

.cwt-text-editor-column td.k-editable-area > iframe {
    width: inherit;
}

.phaseCwtWindow .flex-item .k-grid-content {
    height: 100%;
    max-height: 100%;
}

/** Temporary fix for WO browser on Phase CWT **/
.cwt-phase-wo-browser {
    height: 200px;
}

.webtemplate-tab div[data-role="autocompleteex"] {
    display: inline-block;
}

.webtemplate-tab button.advSearch {
    width: auto;
}

.webtemplate-tab.infoblock > div {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    padding: 0.25em;
    margin: 0.25em;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

div[data-infoblock] {
    display: flex;
    -ms-flex-flow: nowrap;
    -webkit-flex-flow: nowrap;
    flex-flow: nowrap;
}

    div[data-infoblock] .infoblock {
        padding: 0;
        font-family: Arial, Helvetica, sans-serif;
        background: #fff;
        width: 100%;
        height: 100%;
    }

    div[data-infoblock] .rows {
        display: flex;
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
    }

.webtemplate-tab {
    overflow: auto;
    height: 100%;
}

.woMainTab .k-autocomplete {
    width: 100px;
    height: 100%;
}

.webtemplate-width-200 {
    width: 200% !important;
}

.webtemplate-width-160 {
    width: 160% !important;
}

.webtemplate-width-60 {
    width: 60% !important;
}

.webtemplate-width-100 {
    width: 100% !important;
}

.webtemplate-width-70px {
    width: 70px !important;
}

.webtemplate-width-45 {
    width: 45% !important;
}

.webtemplate-width-40 {
    width: 40% !important;
}

.webtemplate-width-10 {
    width: 10% !important;
}

.flexbox-col {
    display: flex;
}

    .flexbox-col.mainTabEditor {
        height: 140px;
        overflow-y: auto;
        overflow-x: hidden;
    }

.webtemplate-autocomplete {
    align-items: center;
    margin: 5px 0;
}

.webtemplate-tab-container > div {
    width: 100%;
    height: 100%;
}

.woPane {
    height: 100%;
    width: 100%;
    clear: both;
    overflow: hidden;
    background-color: #fff;
    position: relative;
}

[data-role="workordertimescommand"] {
    display: flex !important;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 1em;
    padding: 0.75em 0;
}

.flexbox-row {
    display: flex;
    -ms-flex-direction: column !important;
    -webkit-flex-direction: column !important;
    flex-direction: column !important;
    padding-right: 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#wisInfoblocks {
    background-color: #fff;
    height: 110px;
    overflow: auto;
}

.tile {
    margin: 3px 3px 0;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #dcdcdc;
    min-height: 100px;
    background-color: #f2f2f2;
}

.tile-content {
    padding: 3px 7px;
    line-height: 150%;
    overflow: hidden;
}

.tile-header {
    margin: 2px;
    background-color: #C6C7C7;
    padding: 5px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
}

.tile-header-float-none {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 200px;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    vertical-align: top;
}

.tile-header-float-right {
    display: inline-block;
    float: right;
    overflow: hidden;
    white-space: nowrap;
    min-width: 50px;
    max-width: 80px;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    text-align: right;
}

.tile-header-status-block {
    width: 12px;
    height: 12px;
    background-color: #fff;
    margin-right: 30px;
}

tile-content-float-right {
    float: right;
}

.startEstimate {
    font-style: italic;
}

.endTime {
    color: #08c;
    font-weight: bold;
    float: right;
}

.startTime {
    color: #06ba00;
    font-weight: bold;
    float: right;
}

/* BEGIN WorkOrderResourcesEx command */

#woPanes .woPane .v-wor-id-newWorkOrderResources .v-wor-id-rscButtonsAdd {
    margin-top: 15px;
}

    #woPanes .woPane .v-wor-id-newWorkOrderResources .v-wor-id-rscButtonsAdd button {
        float: right;
    }

    #woPanes .woPane .v-wor-id-newWorkOrderResources .v-wor-id-rscButtonsAdd .btnRemoveSelected {
        float: left;
    }

/* END WorkOrderResourcesEx command */
