﻿/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 51px;
}


.page-title-in-header {
    font-size: .6em;
    padding-left: 40px;
    font-style: italic;
}


/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/* These CSS rules are set on navbar-right since it currently holds the high level area navs and is listed last.
 *
 */
@media (max-width: 768px){
    .navbar-left, .navbar-right, .account-options {
       border-top: 2px solid #009ACD;
    }
}

@media (min-width: 768px){
    .account-options {
       border-bottom: 2px solid #009ACD;
    }
}


/*
 * Banner
 *  -Logo + Area readout
 */
.banner {
    margin:0px !important;
    background-color:white;
    height:87px;
}

.corporate-visual-assets {
    display: inline-block;
}

.logo {
    //width:120px;
    //height:82px;
}

.company-name {
    font-weight:bold;
    font-size:26px;
    padding-left:24px;
    vertical-align:bottom;
    white-space:nowrap;
}

.area-title {
    top: 30px;
    font-size:3em;
    font-weight:bold;
    text-align: right;
    vertical-align:bottom;
    padding-right: 3%;
}

.hrUnderLine {
    background-color:#333; 
    border:none;
    box-shadow: 4px 4px 4px #888888;
    color:#333;
    height:4px;    
    margin: 0px 10px 0px 0px; 
}

.main-content {
    margin-top: 10px;
}


/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-top: 30px; /* Johnm */
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}

/* This is used to ensure the height of the collapsed navbar 
    accounts for the height of the Account Settings dropdown 
    which is configured to automatically expand on mobile (see .dropdown-menu below) */
.navbar-collapse {
    max-height: none !important;
}

/*
    These rules ensure that the dropdown Account Settings expands
    on mobile viewpoints. See the associated rule for .navbar-collapse above.
*/
@media (max-width: 768px) {
    .dropdown-menu{
        display: block;
        position: static;
        background-color:transparent;
        border:0 none;
        box-shadow:none;
        margin-top:0;
        position:static;
        width:100%;
        height: 100%;

    }
    .dropdown-menu>li>a{
        color: #777 !important;
    }
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

.purchase-order-table {
    border: 2px solid black;
    background-color: #EEEEEE;
}

.row-buffer {
    margin-top: 20px;
}
