/* ------------------------------------------------------------
  =Colors
  - Happy Green - #7d9f26
  - Medium Green - #74851c
  - Dark Green - #51600b
  - Dark Blue - #042f5e
  - Tan - #f0ede2

CSS classes to modify when changing themes color

.main_navigation ul li -- right border on main navigation
#header #nav ul li -- right border on main navigation
#header #nav ul li:hover -- main nav hover color
#header #nav ul ul -- drop down nav color
#header #nav ul ul li a:hover -- drop down nav hover color

Images locations
/images/widget_background.png
/images/layout/content/content-top-tile.png
/images/layout/header/logo.png
/images/layout/header/header_watermark.png
------------------------------------------------------------ */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video
{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
html
{
    font: 12px Arial, Helvetica, sans-serif;height:100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
{
    display: block;
}
ol, ul { list-style: none; }

/* =Initial Page Structure
------------------------------------------------------------ */
body
{
    position: relative;
    margin: 0;
    line-height: 1.6;
    display:flex;
    height:100%;
}

#header
{
    position: relative;
    background: #888;
    z-index: 2;
}
#header .wrapper
{
    /*width: 956px;*/
    /*background:url(../images/layout/header/header_watermark.png) bottom no-repeat;*/ /*170px*/
    height: 80px;
}
#header > div.wrapper.autoclear
{
    margin-right: 25px;
    margin-left: 25px;
    width:auto;   
}
.sub #header
{
    position: relative;
}
#content
{
    position: relative;
    background: #888 url(../images/layout/content/content-top-tile.gif) repeat-x left top;
    z-index: 0;
}
.sub #content
{
    position: relative;
    display: flex;
}

/* =Basic Element Styles
------------------------------------------------------------ */

h1, h2, h3, h4, h5, h6
{
    font-weight: normal;
    font-family: georgia, serif;
}
h1
{
    font-size: 22px;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 10px;
}
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
h5
{
    font-family: arial, helvetica, sans-serif;
    font-size: 14px;
    line-height: 24px;
    padding: 6px 0px;
    font-weight: bold;
    color: #043366;
}
h6
{
    font-size: 12px;
    font-weight: bold;
}

.spacer { padding-top: 15px; }

input, textarea, select
{
    font-family: "Helvetica Neue" , Arial, Helvetica, sans-serif;
    line-height: normal; /* Used to normalize the height between labels and inputs in Firefox */
    font-size: 12px;
    color: #222;
}
input.inactive
{
    color: #a9a9a9;
}
img, a img
{
    border: 0;
    vertical-align: middle;
}
a
{
    color: #3a73ab;
    text-decoration: none;
}
a:visited
{
    color: #29547D;
}
a:hover
{
    color: #29547D;
    text-decoration: underline;
}

/* =Main Menu Navigation 
------------------------------------------------------------ */
#nav
{
    /*height: 43px;*/
    width: 100%;
    /*display: none;*/
}
.main_navigation
{
    /*width: 975px;*/
    /*height: 52px;*/
    /*position: absolute;*/
    top: 110px; 
    z-index: 1;
    text-align: center;
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 1px;
}
.main_navigation ul
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #ffffff;
    margin: auto;
    width: auto;
}
.main_navigation ul li
{
    border-right: 1px solid #f0ede2;
    float: left;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    /*height: 24px;*/
}
.main_navigation ul li a
{
    text-decoration: none;
    color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    padding: 11px 40px 11px 40px;
}
.main_navigation ul li a:hover {color: #fbaf36;}
#mainNavUl
{
}

#nav ul li.Dashboard div.icon_image  
{
    background: url(../images/icons/primary-nav-sprites.png) no-repeat 5px 9px;
    width: 160px;
    text-align: right;
}
#nav ul li.Trades div.icon_image  
{
    background: url(../images/icons/primary-nav-sprites.png) no-repeat -325px 8px;
    width: 150px;
    text-align: right;
}
#nav ul li.Liftings div.icon_image 
{ 
    background: url(../images/icons/primary-nav-sprites.png) no-repeat -490px 5px;
    width: 170px;
    text-align: right;
}
#nav ul li.Invoices div.icon_image  
{
    background: url(../images/icons/primary-nav-sprites.png) no-repeat -665px 9px;
    width: 150px;
    text-align: right;
}
#nav ul li.Prices div.icon_image  
{
    background: url(../images/icons/primary-nav-sprites.png) no-repeat -155px 11px;
    width: 140px;
    text-align: right;
}
/*#nav ul li.NGLToolkit div.icon_image  
{
    background: url(../images/icons/primary-nav-sprites.png) no-repeat -680px 01px;
    width: 150px;
    text-align: right;
}*/

/* =Utilities
------------------------------------------------------------ */
.clear { clear: both; }

.autoclear:after
{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.autoclear { display: inline-block; }
.autoclear { display: block; }

/* =Impersonation
------------------------------------------------------------ */
#impersonation-wrapper .k-autocomplete
{
    width: 200px;   
}
/* =Content
------------------------------------------------------------ */

#content .full-wrapper
{
    /*margin-top: -10px;*/
    /*background: url(../images/assets/site-bg2.jpeg) no-repeat 50% 120px;*/
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}
#content .outer-wrapper
{
    background: url(../images/layout/footer/footer-tile-smaller.png) repeat-x -50% bottom;
    margin-top: 10px;
    flex: 1 1 auto;
    display: flex;
}
#content .wrapper
{
    min-height: 100%;
    padding-bottom: 10px;
    display: flex;
    flex: 1 1 auto;
}

.narrowwrapper
{
    width: 253px !important;
    position: static; /* padding-left:25px;*/
}

/* Start - Menu Navigation Page */

.menuNavigationButton
{
    clear: both;
    float: right;
    margin: auto 0;
    padding-top: 20px;
    width: 173px;
}

/* End - Menu Navigation Page */

.dashboardTable .modulebgblue .modulebody input, .dashboardTable .modulebgblue .modulebody
{
    display: none;
}
.dashboardTable, .modulebgblue, .modulebody
{
    float: left;
    clear: both;
}

/* Change Password table */
#changePassword
{
}
#changePassword td
{
    padding: 8px;
    margin-top: 10px;
}

/* Product/Location configuration screen */
#ProductLocationConfigurationTable td .input
{
    vertical-align: top;
}
#ProductLocationConfigurationTable td .value
{
    vertical-align: bottom;
}
#ProductLocationConfigurationTable td
{
    width: 200px;
    padding: 0px 5px;
    margin-top: 10px;
    color: #555;
}

/* User Info screen */
#UserInfoTable
{
    width: 660px;
}
#UserInfoTable td
{
    padding: 5px;
    margin-top: 10px;
    color: #555;
    white-space: nowrap;
}
#UserInfoTable td.input
{
    width: 150px;
}
#UserInfoTable td .value
{
}


/* =Menu Styles 
----------------------------------- */
/*#content #nav
{
    height: 48px;   
}*/
#content #nav ul li
{
    position: relative;
    float: left;
    position: relative;
    border-right: 1px solid #f0ede2;
    list-style-type: none;
    z-index: 50;
}
#content #nav ul li:hover
{
    cursor: pointer;
    background-color: lightgrey;
}
#content #nav ul li a
{
    display: block;
    text-decoration: none;
}

#content #nav ul li.selectedItem{background-color: darkgrey;}

#content #nav ul li a:hover { color:White; }
#content #nav ul ul
{
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 100;
    /*width: 145px;*/
    background: #042f5e;
    border: 1px solid #183657;
    text-align: left;
    border-top: 0;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
#content #nav ul li.last ul
{
    right: 0;
    left: auto;
}
#content #nav ul li:hover ul
{
    display: block;
}
#content #nav ul ul li
{
    border-right: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}
#content #nav ul ul li a
{
    background: transparent;
    padding: 10px 17px;
    font-size: 12px;
    line-height: 1;
}
#content #nav ul ul li a:hover
{
    background: #3399ff;
    color:White;
}

/* Menu Styles - End */

/*Kendo selected styles (Theme specific)*/
.k-grid .k-state-selected
{
    background: #004985;
    background-image: none,linear-gradient(to bottom,#004985 0,#002240 100%);
    color: White;
}
.k-grid-content tr:not(.k-detail-row):hover
{
    background-position:0 -624px ! important;
    background-color:#c9c9c9 ! important;
    cursor:default;
}
.k-grid tr:not(.k-detail-row).k-state-selected:hover
{
    background-position:0 -624px ! important;
    background-color:#4D80AA ! important;
    background-image: none,linear-gradient(to bottom,#4D80AA 0,#334E66 100%);
    cursor:default;
}
/*End Kendo selected styles (Theme specific)*/
#footer .outer-wraper {
    float:left;
}