html, body {
    height: 100%;
    overflow: hidden;
}


body {
    background: #fff url(../../Images/common/pageBkg.png);
}


/* ==================== CONTENT WRAPPER ==================== */

#contentWrapper {
    height: 100%;
    margin: auto;
    overflow: hidden;
}

/* ==================== HEADER ==================== */

header {
    background: transparent url(../../Images/common/headerBkg.png) repeat-x;
    height: 61px;
    margin-bottom: 10px;
}

    header h1 {
        background: transparent url(../../Images/common/netinsight_logo_155x42px.png) no-repeat;
        float: left;
        height: 41px;
        margin: 9px;
        width: 155px;
    }


    header div#headerResource {
        clear: none;
        float: right;
        height: 20px;
        margin: 3px 1.5em 4px 0;
    }

    header .viewSelector {
        border: 1px solid #abadb3;
        height: 19px;
        line-height: 19px;
        padding: 0 0.6em;
        background-color: #e3e3e3;
        display: inline-block;
        border-radius: 3px;
        cursor: pointer;
        font-size: 95%;
        margin-right: 3px;
    }

        header .viewSelector .icon-user {
            margin-right: 5px;
            font-size: 120%;
            vertical-align: middle;
        }

        header .viewSelector .icon-caret-down {
            margin-left: 5px;
            font-size: 120%;
            vertical-align: middle;
        }

    header .views {
        min-width: 180px;
        position: absolute;
        background-color: #f7f7f7;
        display: none;
        z-index: 1002;
        right: 61px;
        border: 2px solid #abadb3;
        border-bottom-right-radius: 5px;
        border-bottom-left-radius: 5px;
        padding: 10px;
    }

        header .views button {
            width: 100%;
            margin-bottom: 5px;
        }

    header .views-list {
        max-width: 300px;
        margin: 0 0 10px;
        font-size: 120%;
        overflow: auto;
    }

    header .k-widget.k-listview.views-list {
        border: 1px solid #abadb3;
    }

    header .views-list li {
        white-space: nowrap;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        overflow: hidden;
        padding: 4px;
    }

    header .privateview {
        font-weight: bold;
    }

    header .views label.checkStyle {
        font-weight: normal;
        font-size: 120%;
        margin-bottom: 10px;
    }

        header .views label.checkStyle:after {
            float: left;
            font-size: 120%;
            margin: 0 5px 5px 0;
        }

    header .views hr {
        border: 1px inset;
        height: 0;
        width: 80%;
    }

.editWebView label {
    display: inline-block;
    width: 100px;
}

.editWebView div {
    margin: 10px;
}

.editWebView .radioStyle {
    padding-left: 0;
}



#logoutLink {
    vertical-align: text-top;
}

/* ==================== PRIMARY NAVIGATION ==================== */
nav {
    float: left;
    margin-top: 30px;
    position: absolute;
    margin-left: 175px;
    margin-right: 245px;
}

    nav ul:first-child {
        margin: 0;
        position: relative;
    }

    nav ul li {
        border-right: 1px solid #adadad;
        -webkit-box-shadow: 1px 0 0 0 #fff;
        box-shadow: 1px 0 0 0 #fff;
        display: inline-block;
        margin-right: 7px;
    }

        nav ul li a {
            min-width: 50px;
        }

        nav ul li ul {
            display: none;
            position: absolute;
            top: 17px;
            z-index: 10005;
            left: 90px;
            border: 1px solid #adadad;
            background-color: #fff;
            width: 300px;
            height: 50px;
        }

        nav ul li:hover ul {
            display: block;
        }

        nav ul li ul li {
            border: 0;
            margin: 0;
            -webkit-box-shadow: none;
            box-shadow: none;
            width: 100%;
        }


        nav ul li a.topLevel {
            color: #51595e;
            display: block;
            font-size: 120%;
            height: 31px;
            margin-right: 7px;
            text-transform: uppercase;
            margin-bottom: -2px;
            outline: none;
            text-align: center;
        }

        nav ul li a:hover {
            color: #51595E;
        }

        nav ul li a.topLevel.selected {
            background: transparent url(../../Images/common/navSelected.png) no-repeat center bottom;
            color: #51595E;
            font-weight: bold;
        }

        nav ul li a:visited {
            color: #51595e;
        }

        nav ul li ul li a {
            width: 294px;
            font-size: 120%;
            padding: 3px;
            float: left;
            color: #51595E;
            text-transform: uppercase;
            white-space: nowrap;
            overflow: hidden;
            -ms-text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            text-overflow: ellipsis;
        }

@media only screen and (device-width: 768px) {
    nav ul li ul li a {
        width: 100px;
        font-size: 80%;
        padding: 3px;
        float: left;
        color: #51595E;
        text-transform: uppercase;
        white-space: nowrap;
        overflow: hidden;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
    }
}

nav ul li ul li a:hover {
    background-color: #ececec;
}



/* ==================== FORMS ==================== */
input[type=checkbox] {
    display: none;
}

input[type="radio"] {
    display: none;
}

label.radioStyle {
    cursor: pointer;
    padding-left: 22px;
    vertical-align: middle;
}


input[type="radio"]:checked + label.radioStyle:before {
    content: "\e003";
    color: #0a9e67;
}

.radioStyle:before {
    content: "\e002";
    font-size: 130%;
    color: #9f9f9f;
    vertical-align: top;
    padding-right: 5px;
    line-height: 16px;
}

label.checkStyle {
    cursor: pointer;
}

    label.checkStyle:before {
        content: "\e001";
        font-size: 130%;
        color: #9f9f9f;
        vertical-align: middle;
    }

.checkStyle:hover {
}

input[type="checkbox"]:checked + label.checkStyle:before {
    content: "\e000";
    color: #0a9e67;
    vertical-align: middle;
}

.rscHeader label.checkStyle:before,
.v-workorderresources-command-header label.checkStyle:before {
    color: #000;
    padding-right: 10px;
    vertical-align: middle;
}

.rscHeader input[type="checkbox"]:checked + label.checkStyle:before,
.v-workorderresources-command-header input[type="checkbox"]:checked + label.checkStyle:before {
    color: #fff;
    vertical-align: middle;
}

/* ==================== KendoUI Overrides ==================== */
.k-icon {
    opacity: 1;
}

.k-column-menu input[type="checkbox"] {
    display: initial;
}

.k-dropdown {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 100%;
    opacity: 1;
}

    .k-dropdown .k-select span.k-icon.k-i-arrow-s {
        opacity: 1;
    }

.k-dropdown-wrap {
    opacity: 1;
}

.k-i-arrow-n, .k-i-arrow-s, .k-i-arrow-w, .k-i-arrow-e, .k-i-seek-w, .k-i-seek-e {
    opacity: 1;
}

.k-widget {
    opacity: 1;
}

/* show a pointer when mousing over the dropdown selectoins. */
.k-popup .k-item {
    cursor: pointer;
    opacity: 1;
}

.k-loading-mask {
    z-index: 10010;
}

.k-dirty {
    display: none;
}

.k-primary {
    color: #515967;
    border-color: #dbdbde;
    background-image: url('textures/highlight.png');
    background-image: none,-webkit-linear-gradient(top,rgba(255,255,255,.45) 0,rgba(255,255,255,0) 100%);
    background-image: none,-moz-linear-gradient(top,rgba(255,255,255,.45) 0,rgba(255,255,255,0) 100%);
    background-image: none,-o-linear-gradient(top,rgba(255,255,255,.45) 0,rgba(255,255,255,0) 100%);
    background-image: none,linear-gradient(to bottom,rgba(255,255,255,.45) 0,rgba(255,255,255,0) 100%);
    background-position: 50% 50%;
    background-color: #f3f3f4;
    -webkit-box-shadow: none;
    box-shadow: none;
}

    .k-primary:hover {
        color: #263248;
        border-color: #b6bdca;
        background-image: none,-webkit-linear-gradient(top,rgba(255,255,255,.3) 0,rgba(255,255,255,0) 100%);
        background-image: none,-moz-linear-gradient(top,rgba(255,255,255,.3) 0,rgba(255,255,255,0) 100%);
        background-image: none,-o-linear-gradient(top,rgba(255,255,255,.3) 0,rgba(255,255,255,0) 100%);
        background-image: none,linear-gradient(to bottom,rgba(255,255,255,.3) 0,rgba(255,255,255,0) 100%);
        background-color: #b6bdca;
    }

    .k-primary:active {
        color: #fff;
        border-color: #1984c8;
        background-color: #1984c8;
    }

    .k-primary.k-state-disabled, .k-state-disabled .k-primary, .k-primary.k-state-disabled:hover, .k-state-disabled .k-primary:hover, .k-primary.k-state-disabled:hover, .k-state-disabled .k-primary:active, .k-primary.k-state-disabled:active {
        color: #b3bac7;
        border-color: #dbdbde;
        background-image: none,-webkit-linear-gradient(top,rgba(255,255,255,.45) 0,rgba(255,255,255,0) 100%);
        background-image: none,-moz-linear-gradient(top,rgba(255,255,255,.45) 0,rgba(255,255,255,0) 100%);
        background-image: none,-o-linear-gradient(top,rgba(255,255,255,.45) 0,rgba(255,255,255,0) 100%);
        background-image: none,linear-gradient(to bottom,rgba(255,255,255,.45) 0,rgba(255,255,255,0) 100%);
        background-color: #f3f3f4;
    }

.k-autocomplete {
    padding: 1px;
    opacity: 1;
}

    .k-autocomplete .k-input {
        -webkit-box-shadow: inset 0 0 1px 1px #8691a4;
        box-shadow: inset 0 0 1px 1px #8691a4;
    }

td.k-state-focused.k-state-selected {
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* =============== Primary Button =============== */
button, button.k-button {
    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;
}

    button:disabled, button.k-button:disabled {
        background-image: url(../../Images/forms/highlight.png);
        background-position: 0 center;
        background-color: Gray;
        border: 1px solid Gray;
        -webkit-box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, .25);
        box-shadow: 0 0 1px 1px rgba(0, 0, 0, .25);
        cursor: default;
        color: White;
        float: right;
        margin-left: 5px;
        padding: 4px 10px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
    }


    button.icon {
        font-size: 125%;
    }

    button:hover, button.k-button:hover {
        background-image: url(../../Images/forms/highlight.png);
        border: 1px solid #b35e5e;
        -webkit-box-shadow: 0px 0px 1 1px rgba(0, 0, 0, .4);
        box-shadow: 0 0 1px 1px rgba(0, 0, 0, .4);
    }

    /* =============== Secondary Button =============== */

    button.secondary, button.secondary.k-button {
        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;
        float: right;
        margin-left: 5px;
        padding: 2px 5px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        font-size: 95%;
    }

        button.secondary:hover, button.secondary.k-button:hover {
            background-image: url(../../Images/forms/highlight.png);
            border: 1px solid #868686;
            -webkit-box-shadow: 0px 0px 1 1px rgba(0, 0, 0, .4);
            box-shadow: 0 0 1px 1px rgba(0, 0, 0, .4);
        }

    button.aux {
        background-color: #fff;
        border: 1px solid #ee2e24;
        color: #ee2e24;
    }

span.k-widget.k-dropdown.k-header {
    cursor: pointer;
}

.k-input {
    padding: 0.4em;
}

.k-dropdown-wrap, input[type="password"], input[type="text"] {
    border: 1px solid #abadb3;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    vertical-align: middle;
}

#datepickerStart {
    border: none;
}

/* background and border color for the select boxes */
.k-state-selected.k-state-focused, .k-state-selected.k-state-highlight {
    background-color: #bbbbbb;
    border-color: #000;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.k-state-active, .k-state-active:hover, .k-active-filter {
    border-color: #a7a7a7;
}

.k-window {
    z-index: 30000;
}

.k-window-titlebar {
    font-weight: bold;
    font-size: 125%;
    background-color: #e8e8e8;
}

.k-window-content.k-content {
    outline: none;
}

#noResultWindow {
    display: none;
}

    #noResultWindow div {
        float: left;
        font-size: 120%;
        vertical-align: middle;
        line-height: 26px;
    }

    #noResultWindow button {
        vertical-align: middle;
    }

.ico {
    display: inline-block;
    height: 10px;
    width: 10px;
}

.btn_JIT {
    background: #fff url(../../Images/icons/btn_JIT.png);
}

.ico1, .ico2 {
    background: #fff url(../../Images/icons/AutoSchedule.png);
}

.ico3 {
    background: #fff url(../../Images/icons/ManualSchedule.png);
}

.ico4 {
    background-color: transparent;
}

#agenda .ico {
    margin-left: 5px;
}

#timeline .ico {
    margin-left: 5px;
    margin-top: 1px;
}

input[type="search"] {
    -webkit-appearance: textfield;
}

    input[type="search"]::-webkit-search-decoration,
    input[type="search"]::-webkit-search-cancel-button {
        -webkit-appearance: none;
    }

/* For mobile */
.clickable {
    cursor: pointer;
}

/* Custom Kendo Editor Timestamp buttons */
.k-editor .k-timestampTop {
    background: 50% 50% no-repeat url('../../images/icons/timestamptop.png');
}

.k-editor .k-timestampBottom {
    background: 50% 50% no-repeat url('../../images/icons/timestampbottom.png');
}

#k-editor-link-target, #k-editor-link-target + label {
    display: none;
}

.blockClass {
    width: 18px;
    height: 18px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    border-radius: 3px;
    text-overflow: ellipsis;
    display: inline-block;
    margin: 1px;
}

.taskClass ul {
    margin: 0;
}

.step-blocks, .asset-blocks {
    display: inline-block;
    vertical-align: middle;
    margin-top: 1px;
    margin-bottom: 1px;
}

.step-blocks-min, .asset-blocks-min {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

.step-header, .asset-header {
    display: inline-block;
    vertical-align: middle;
    text-align: right;
    font-weight: 500;
    clear: left;
    width: 100px;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.step-wrapper, .asset-wrapper {
    display: inline-block;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px #eee;
    margin-right: 2px;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: #eee;
}

.step-no-wrapper {
    display: inline-block;
}

.asset-no-wrapper {
    display: inline-block;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 0 0 0 2px;
    border: solid 1px #eee;
    background: #eee;
    vertical-align: middle;
}

.step-icon, .asset-icon {
    width: 18px;
    height: 18px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
    margin: 1px 1px 1px 2px;
    vertical-align: middle;
    text-align: center;
}

.step-block, .asset-block {
    display: inline-block;
    max-width: 75px;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    vertical-align: middle;
    padding-right: 3px;
    margin-left: 2px;
}

.shrinkwrap {
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.workflowDetails {
    overflow-x: auto;
    overflow-y: hidden;
}

/** Workflow Task State Colors **/
/** 0 = Pending, 1 = Ready, 2 = In Progress, 3 = Complete, 4 = Failed, 5 = Cancelled **/
.task-state-0 {
    background: #9cf;
}

.task-state-1 {
    background: #fc0;
}

.task-state-2 {
    background: #03f;
}

.task-state-3 {
    background: #0a9e67;
}

.task-state-4 {
    background: #ee2e24;
}

.task-state-5 {
    background: #ccc;
}

.milestone-state-ok {
    background: #0a9e67;
}

.milestone-state-pending {
    background: #9cf;
}

.milestone-state-overdue {
    background: #ee2e24;
}

.milestone-state-missed {
    background: #f70;
}

.mediaBlock {
    text-align: left;
}

.asset-no-wrapper .icon-asset-type-0:before,
.asset-wrapper .icon-asset-type-0:before {
    vertical-align: middle;
}

.asset-no-wrapper .icon-asset-type-1:before,
.asset-wrapper .icon-asset-type-1:before {
    vertical-align: middle;
}

.asset-no-wrapper .icon-asset-type-2:before,
.asset-wrapper .icon-asset-type-2:before {
    vertical-align: middle;
}

.asset-no-wrapper .icon-asset-type-3:before,
.asset-wrapper .icon-asset-type-3:before {
    vertical-align: middle;
}

.no-media-selected {
    font-weight: bold;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    margin-left: 112px;
}

.requirementIcon {
    padding: 0 1px;
    background-color: yellow;
    border: 1px solid red;
    color: red;
    font-size: 8px;
    font-weight: bold;
    vertical-align: 2px;
}
