﻿/*Reset/Normalize*/
/*! normalize.css v2.1.1 | MIT License | git.io/normalize */

/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined in IE 8/9.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * Correct `inline-block` display not defined in IE 8/9.
 */

audio,
canvas,
video {
    display: inline-block;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address styling not present in IE 8/9.
 */

[hidden] {
    display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */

/**
 * 1. Prevent system color scheme's background color being used in Firefox, IE,
 *    and Opera.
 * 2. Prevent system color scheme's text color being used in Firefox, IE, and
 *    Opera.
 * 3. Set default font family to sans-serif.
 * 4. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    background: #fff; /* 1 */
    color: #424254; /* 2 */
    font-family: sans-serif; /* 3 */
    -ms-text-size-adjust: 100%; /* 4 */
    -webkit-text-size-adjust: 100%; /* 4 */
}


/* ==========================================================================
   Links
   ========================================================================== */

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */

b,
strong {
    font-weight: bold;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */

dfn {
    font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
    background: #ff0;
    color: #000;
}

/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */

pre {
    white-space: pre-wrap;
}

/**
 * Set consistent quote types.
 */

q {
    quotes: "\201C" "\201D" "\2018" "\2019";
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9.
 */

img {
    border: 0;
}

/**
 * Correct overflow displayed oddly in IE 9.
 */

svg:not(:root) {
    overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari 5.
 */

figure {
    margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 0 solid;
    margin: 0;
    padding: 0;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */

button,
input,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 2 */
    margin: 0; /* 3 */
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*Layout*/

body {
    margin: 0 auto;
    font-family: 'Open Sans', sans-serif;
    background: #333;
    padding: 0;
    min-width: 95%;
    min-height: 900px;
}

/* Icon Font*/
@font-face {
	font-family: 'iconic';
	src:url('fonts/iconic.eot');
	src:url('fonts/iconic.eot?#iefix') format('embedded-opentype'),
		url('fonts/iconic.woff') format('woff'),
		url('fonts/iconic.ttf') format('truetype'),
		url('fonts/iconic.svg#iconic') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Clearfix*/

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}


/* Header*/

header {
    display: block;
    padding-top: 1%;
}
    header h1 { 
        margin: 0 auto; 
        width: 95%;
    }
header h1 a {
    text-indent: -9999px;
    background: transparent url(images/nepris-white-small.png) no-repeat;
    height: 52px;
    width: 356px;
    margin: 0 0.5em .5em;
    display: block;
}

.sub-heading {
    width: 95%;
    margin: 0 auto;
    background: #424254;
    display: block;
}
    .sub-heading h2 { 
        margin: 0;
        display: inline-block;
        padding: 1%;
    }
        .sub-heading h2 a {
            text-decoration: none;
            color: #fff;
        }
    .sub-heading .k-widget { margin: 1%; }

header .title-search {
    padding: 10px;
    display: block;
    top: 0;
    right: 0;
    left: 0;
}

header .k-autocomplete {
    float: right;
}

header .sub-heading .page-title {
    font-weight: 700;
    display: inline;
}

/* Two-Column Layout */

.left-column {
    float: left;
    width: 15%;
    padding: 1%;
}

.right-column {
    float: right;
    width: 83%;
}

/* Content */

.content {
    width: 95%;
    margin: 0 auto;
    background: #fff;
    display: block;
    padding-top: 20px;
    padding-bottom: 50px;
    min-height: 720px;
}

.k-state-selected, .k-state-selected.k-state-focused {
    background: none no-repeat scroll 0 0 #CC2A41;
    border-color:#CC2A41;
}

.field-validation-error, .validation-summary-errors, .k-edit-form-container ul.errors, .success {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    background: #CC2A41;
    color: #fff;
}

.validation-summary-errors ul, .k-edit-form-container ul.errors, .k-edit-form-container ul.errors ul, .success {
    list-style: none;
    margin: 0;
    padding: 0;
}
    .validation-summary-errors ul li, .k-edit-form-container ul.errors li, .k-edit-form-container ul.errors ul li, .success {
        padding: 1%;
    }

.success {
    background: #64908A;
}

.search-icon {
    background: #fff url('../images/search.png') no-repeat 100% 0;
    opacity: 0.6;
}

.title-search .k-autocomplete .k-input {
    text-indent: 32px;
}

.title-search .k-autocomplete {
    background-image: none;
}

.k-autocomplete.k-header {
    background-color: #fff;
}

/* Tree View */

.k-treeview span.k-in {
    cursor: pointer;
}

.k-treeview .k-in.k-state-hover {
    background-color: #eee;
    border-color: #eee;
}

/* Detail Grid*/

.session-grid .k-selectable a { color: #CC2A41; }
.session-grid .k-selectable .k-state-selected a { color: #fff; }

.k-pager-wrap, .k-grid-header {
    background-image: none;
    background-image: none;
}

.k-dropdown-wrap {
    background-image: none;
}

.k-button:active {
    color: #fff;
    background-color: #CC2A41;
    border-color: #CC2A41;
}


/* Edit Order*/
.editorder div {
    margin-bottom: 2em;
}

.editorder div > label {
    display: block;
}
    .editorder div > label:first-child { font-weight: bold; }

.editbuttons {
    text-align: center;
    padding: 15px 0;
    clear: both;
}

input[type="submit"], input[type="button"] {
    border: none;
    padding: 8px 36px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    cursor: pointer;
    margin: 10px;
}

input[type="submit"]:hover, input[type="button"]:hover {
    background-color: #CC2A41;
    color: #fff;   
}

.units-aggregate {
    text-align: center;
    padding-bottom: 15px;
}

    .units-aggregate span {
        font-weight: bold;
        padding-right: 15px;
    }

.k-link.k-state-selected {
    background-color: #64908A;
    border-color: #64908A;
}

#suggestedValuesGrid td {
    cursor: pointer;
}

/* Panelbar */

.k-panelbar label {
    display: block;
    font-weight: bold;
    margin: .5em 0;
}

.k-panelbar .k-content { padding: 1%; }

.k-panelbar .k-textbox { 
    width: 100%;
    max-width: 100%;
}

/* Tabstrip */

.k-tabstrip {
    border: 0;
    padding: 0;
    background: none;
    margin: 1% 0;
}

    .k-tabstrip .k-tabstrip-items { padding: 0; }
    .k-tabstrip .k-content, .k-panelbar .k-tabstrip .k-content {
        margin: 0;
        padding: 0;
    }
    .k-tabstrip .k-grid { border-width: 0; }

.k-tabstrip .k-state-active {
    border-color: #CC2A41;
}

.maintenance {
    padding: 1%;
}

/* Footer */

footer {
    background: #333;
    padding: 5% 0 1%;
}
footer ul {
    margin: 0 auto;
    width: 95%;
    list-style-type: none;
    padding: 0;
}
    footer ul li {
        padding: 0;
        text-align: center;
        color: #eeeeee;
    }
footer h1 {
    display: inline-block;
    font-weight: normal;
    margin: 0 0.3em 0 0;
    position: relative;
    top: -0.95em;
    color: #000;
}
footer p { 
    color: #8F8F8F;
    margin-bottom: .5em;
}
footer .k-button {
    background: #424254;
    border-width: 0;
    color: #fff;
    padding: .5em 2em;
    font-weight: bold;
}
    footer .k-button:hover {
        background: #CC2A41;
        color: #fff;
    }


@media (max-width: 1130px) {
    body>header>h1,
    body>header>.sub-heading,
    #body {
        width: 100%;
    }
    .left-column.editorder, .right-column:not(.session-grid) {
        float: none;
        clear: both;
        width: 100%;
    }
    .left-column.editorder > div {
        display: block;
        float: left;
        width: 15em;
        height: 3.0em;
    }
    .left-column.editorder > div > label[for*=_UnitOfWeight_] {
        display: block;
        position: absolute;
        padding-left: 1em;
    }
    .left-column.editorder > div > input[type=radio] {
        margin-top: 0.2em;
        display: block;
    }
    #orderDetailsGrid .k-grid-edit .command,
    #orderDetailsGrid .k-grid-delete .command {
        display: none;
    }
}

h1 a{
    font-size: 2em;
    color: #cc2a41;
}

#sidebar {
  background-color: #2C2C2C;
  margin-left: 0px;
  position: absolute;
  top: 140px;
  left: 48px;
  bottom: 0px;
    min-height: 720px;
}
 
#sidebar > .nav > .nav-menu > a {
  border: 0px;
  border-radius: 0px;
  padding: 20px;
}

.validationMessage {
	background: url('images/invalid.png') no-repeat center left;
	display: inline-block;
	padding-left:20px;
	font-size: 80%;
	color: #B94A48;
}


/**** KENDO UI FIX ******/
.k-ff {
    overflow: inherit !important;
}


/**** MULTI-LEVEL DROPDOWN ******/
.dropdown-submenu{
    position:relative;
}

.dropdown-submenu > .dropdown-menu
{
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu{
    display:block;
}

.dropdown-submenu > a:after{
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#cccccc;
    margin-top:5px;
    margin-right:-10px;
}

.dropdown-submenu:hover > a:after{
    border-left-color:#ffffff;
}

.dropdown-submenu .pull-left{
    float:none;
}

.dropdown-submenu.pull-left > .dropdown-menu{
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}