﻿img {
    max-width: 100%;
}


header {
    flex: 0, 1;
    width:100%;
}

.content-wrapper {
    flex: 1, 1;
    display:block;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}




/* SASRC title */
span.header {
    font-size: 3em;
    position: absolute;
    top: 30px;
    margin-left: 30px;
    font-variant: small-caps;
    font-family: Calibri;
    color: #0879c9;     /* Walmart blue */
}


footer p {
    flex: 0 1;
    color: #e9ee9c; /*  */
}

/*----------------------------------------------------------*/
/* Navigation Menu Links */
/*----------------------------------------------------------*/

@media (max-width: 1090px) {
    ul.nav-menu {
        display:none;
    }
}

ul.nav-menu {
    width: auto;
    text-align: right;
    margin: 11px;
    padding: 0;
/*
    font-size: 1.5em;
    font-weight: 600;
    display: inline-block;
    margin: 0px 0px 0px;
    padding: 10px 60px 0px 0px;
    top: 0px;
    text-align: center;
    vertical-align: top;
    */
}

    ul.nav-menu li {
        /*float: right;*/
        width: auto;
        text-align: right;
        margin: 11px;
        padding: 0;
        display: inline;
        list-style: none;
        vertical-align: middle;
    }

        ul.nav-menu li a {
            font-family: 'Lato', sans-serif;
            font-size: 14px;
            font-weight: bold;
            color: black; /* #F8F3D8;*/
            text-decoration: none;
            margin: 0 4px 0 8px;
        }

.li-btn {
    padding-left: 20px !important;
}

/***********************************************/
/* Tool Page CSS */
/***********************************************/

.init-hidden {
    display:none;
}

#ul-notes {
    margin-top: 24px;
    list-style: disc;
}
#ul-notes li {
    margin-bottom: 8px;
}

ul#user-options {
    margin-top:32px;
    list-style:none;
}

ul#user-options li {
    margin-bottom: 8px;
}

ul#user-options label {
    width:225px;
    font-size:1.2em;
}

ul#user-options select, #div-rpt-detailed select {
    height:28px;
    border-radius:8px;
}

input[type="button"], button {
    font-size: 1.0em;
    border-radius: 5px;
}

ul.rtext li {
    margin-top: 10px;
}

ul.subtext li {
    margin-top: 2px;
    margin-bottom: 2px;
}

li.bold {
    font-weight: bold;
}

li.not-bold {
    font-weight: normal !important;
}

/* Buttons */
.btn-score-key {
    height: 36px;
    float:right;
    margin: 20px 12px 20px 0px;
}

button.tall {
    height:36px;
}

#btn-dl-wsap {
    margin-bottom:30px;
    height:32px;
}

.dlg-sckey .modal-dialog {
    width:900px;
}

#sel-std {
    margin-bottom:24px;
}

/* Highchart - column chart */
#cht-col, #cht-bar, #cht-cstack {
    width: 100%;
    height: 100%;
}

#cht-col2 {
    width: 100%;
    height: 75%;
}

#cht-col, #cht-col2, #cht-cstack {
    margin-top:20px;
}

/* Headers */
h3#std-title {
    margin-bottom: 24px;
}

/*--------------------------------------------------*/
/*  Standard Report */
/*--------------------------------------------------*/
#div-rpt-header h4, h4.rpt-header {
    font-weight:bold;
    margin-top: 24px;
}

p.hformat {
    font-weight:bold;
    font-size:18px;
    margin-top: 24px;
    margin-bottom: 10px;
}

    p.hformat span {
        /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
        font-family: 'Roboto', Helvetica, Arial, sans-serif;
        font-size: 14px;
        font-weight: normal;
    }

div.crit-lists {
    margin-top:0px;
}

div.crit-lists h5 {
    font-size: 1.3em;
    text-decoration:underline;
}

div.crit-lists p {
    margin-bottom: 2px;
}

.ccat1 {
    color:#5fb446;  /* market green */
}
.ccat2 {
    color: #ffc220; /* spark yellow */
}
.ccat3 {
    color: #0071ce; /* Walmart blue */
}

.ccat4 {
    color: #7030a0; /* Purple-ish */
}

.verif {
    color: #9e9e9e;     /* med. gray */
}

.black {
    color:black;
}

button.btn-details {
    margin-top:0px;
    width:215px;
}

#img-guidance {
    border: 1px solid black;
}

#img-guidance:hover {
    cursor: pointer;
}


#rpt-midpane {
    border-left: 1px solid lightgrey;
}

/*
#rpt-leftpane {
    border-right: 1px solid lightgrey;
}
*/

/*--------------------------------------------------*/
/*  Scorecard Table */
/*--------------------------------------------------*/
table.scorecard {
    width: 100%;
}

#tbl-c_overall, #tbl-v_overall {
    width: 70%;
}

#tbl-v_overall {
    margin-bottom: 40px;
}

table.scorecard tbody td, thead th {
    border: 1px solid #a59f9f;
    overflow:hidden;
    padding: 5px;
}

table.scorecard thead th {
    font-weight: bold;
    color: white;
    background-color: #0879c9;  /* Walmart blue */
    text-align: center;
}

table.scorecard tr.wprinc td {
    font-weight: bold;
    background-color: lightgray;
}

tbody tr.ov_score {
    font-weight: bold;
    background-color: lightgray;
}

td.center {
    text-align: center;
}

td.offset {
    padding-left: 20px;
}

/*--------------------------------------------------*/
/*  Expandable List for Principles (jsTree plugin) */
/*--------------------------------------------------*/
#SP-tree-container {
    margin-top: 40px;
    margin-left: 40px;
    overflow: hidden;
}

#SP-tree a {
    white-space: normal !important;
    height: auto;
    padding: 1px 2px;
    /*margin-left: 16px;*/
}

.div-cat-tree {
    margin-top:12px;
}

.jstree-anchor {
    /*enable wrapping*/
    white-space: normal !important;
    /*ensure lower nodes move down*/
    height: auto !important;
    /*offset icon width*/
    padding-right: 24px;
}

#div-level-defs ul li {
    margin-top:8px;
}

@media (min-width: 400px) {
    .div-cat-tree {
        width: 225px;
    }

    #sel-wcrit {
        max-width: 325px;
    }
}

@media (min-width: 768px) {
    .div-cat-tree {
        width: 365px;
    }
    #sel-wcrit {
        max-width: 700px;
    }
}

@media (min-width: 992px) {
    .div-cat-tree {
        width: 470px;
    }
    #sel-wcrit {
        max-width: 900px;
    }
}

@media (min-width: 1200px) {
    .div-cat-tree {
        width: 580px;
    }
    #sel-wcrit {
        max-width: 1100px;
    }
}

span.level {
    font-weight:normal;
    color: red;
}

/*--------------------------------------------------*/
/*  Commodity Type Tiles */
/*--------------------------------------------------*/
#div-cmdtype div {
    display:inline-block;
}

#div-cmdtype label {
    margin-left: 8px !important;
    font-weight: bold !important;
    font-size: 1.0em !important;
    width: 100px !important;
    text-align: center !important;
}

.tile-cmdtype {
    border: 2px solid #d3d3d3;
    border-radius: 8px;
    margin-left: 8px;
    padding-left: 3px;
}

    .tile-cmdtype:hover {
        background-color: whitesmoke;
        border-color: #de1c24; /* rollback red */
        cursor: pointer;
    }

/*--------------------------------------------------*/
/*  Bootstrap Dialog - custom CSS */
/*--------------------------------------------------*/
.modal-header {
    background-color: #0879c9 !important;
}

/*--------------------------------------------------*/
/*  "Standards" Page */
/*--------------------------------------------------*/
.list-standards {
    font-size:1.4em;
}
.list-standards li {
    margin-top: 12px;
}

    .list-standards li a {
        color: #0071ce
    }

.btn-stdgraph {
    margin: 16px 16px 16px 4px;
}

/*--------------------------------------------------*/
/*  Resource Page */
/*--------------------------------------------------*/
div#rsrc-wrapper {
    margin-top:32px;
}

a.rsrc-toggle {
    display: inline-block;
    color:black;
    width: 24px;
    height: 22px;
    font-size: 1.0em;
    font-weight: bold;
    border: 1px dotted darkgray;
    vertical-align: central;
    text-align: center;
    margin-bottom: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-left: 0px;
    padding: 0;
}

label.rsrc-std {
    height:16px;
    font-weight:bold;
    font-size:1.3em;
}

div.rsrc-content {
    padding-left:12px;
    font-size:1.1em;
}

div.rsrc-container {
    margin-top: 16px;
}

div.rsrc-container li {
    margin-top: 4px;
    margin-bottom:4px;
}

span.field {
    text-decoration:underline;
    font-weight:600;
}

div.resource select {
    margin-bottom: 16px !important;
}

div.resource {
    margin-top:32px !important;
}

#div-rpt-guidance {
    border: none;
    /*border: 1px solid black;*/
    border-radius: 4px;
}

    #div-rpt-detailed h4 {
        font-weight: bold;
        margin-top: 32px;
    }