﻿body {

    padding-bottom: 20px;

}
.extracharge th {
    background: darkgrey;
    color: white;
    padding-left: 3px;
}
.extracharge td {
    padding-left:3px;
    padding-right: 10px;
    border: 1px solid grey;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
.container {
    width: 100%;
    max-width: unset;
}
button.glueme {
    left: -4px;
    background: transparent;
    border: none;
    position: absolute;
    top: 10px;
}
.expired {
    background: blue;
    color: white;
}
.totals {
    background-color: black;
    color: white;
    font-size: 18px;
}
.done-phase-1 {
    background: darkred;
    color: white;
}
    .done-phase-1 a, .expired a{
        color: white;
    }
    .done-phase-2 {
        background: yellow;
        color:black;
    }
.done-phase-2 a{
    color:black;
}
.done-phase-3, .done-phase-3 a{
    background-color: fuchsia;
    color: white;
}
form {
    position: relative;
}
ul#orders-legend {
    position: absolute;
    right: 20px;
    bottom: 10px;
}
ul#orders-legend li{
    float:left;
    list-style:none;
    padding:8px;
    margin-bottom:5px;
}
#orders-list-table
{
    /*font-size: 15px;*/
}
.sender-name {
    white-space: normal;
}
.form-horizontal .control-label{
    white-space:nowrap;
}
.navbar-nav{
    font-size:14px;
    color:#9d9d9d;
    z-index:200;
}
    .navbar-nav .glyphicon.glyphicon-inbox {
        font-size: 1rem;
        color: #9d9d9d;
    }
.navbar-nav > li ul {
    display: none;
    position: absolute;
    list-style: none;
    background: black;
    width: 200px;
    padding: 0;
}

.navbar-nav > li:hover ul {
    display: block;
}

.navbar-nav > li ul li a {
    color: #9d9d9d !important;
    text-decoration: none;
    padding: 1rem 2rem;
    text-align: left;
    width: 100%;
    display: block;
    cursor: pointer;
}

    .navbar-nav > li ul li a:hover {
        color: white;
    }

.navbar-nav > li ul li {
    width: 100%;
    text-align: left;
}
a.btn-img {
    padding: 0;
    width: 32px;
}

    a.btn-img img {
        max-width: 100%;
    }
.glyphicon-pencil{
    margin-right:1rem;
}
.glyphicon {
    color:black;
    font-size:1rem;
    margin-right:1.8rem;
}
.form-check {
    float: left;
    margin-right: 1rem;
}
.clear-float{
    clear:both;
}
.with-alert {
    position: relative;
}
    .with-alert:after {
        content: "!";
        position: absolute;
        color: red;
        top: -14px;
        right: -15px;
        display: block;
        background: white;
        width: 20px;
        text-align: center;
        border-radius: 20px;
        height: 20px;
        border: 1px solid red;
    }
ul.nav.navbar-nav .glyphicon {
    color: #9d9d9d;
}
#endofdayRemaining
{
    background: black;
    color: white;
    padding: 1rem;
    display: table;
    float: right;
    font-size: 25px;
}
.action-label{
    font-size:20px;
    background: darkred;
    color:white;
    text-transform:uppercase;
    text-align:center;
    margin-right:10px;
    clear:both;
    margin-bottom:15px;
}
.transfer-form .form-check-label{
    font-size:18px;
}
table#orders-list-table TH {
    font-size: 12px !important;
    padding: 2px;
}
table#orders-list-table TH, table#orders-list-table Td {
  border-left:1px solid;
  border-color:lightgray;
}
.hide-for-large {
    display: none;
}


@media only screen and (max-width: 600px) {
    ul#orders-legend {
        position: relative;
        display: table;
        width: 100vw;
        font-size: 6px;
        right: 0;
        left: 0;
        margin: 0;
        padding:0;
    }


    .hide-for-large {
        display: block;
    }



    .pagination > li > a, .pagination > li > span {
        position: relative;
        padding: 1px 9px !important;
        margin-left: -1px;
        font-size: 10px;
    }

        /* Force table to not be like tables anymore */
        #orders-list-table, #orders-list-table thead, #orders-list-table tbody, #orders-list-table th, #orders-list-table td, #orders-list-table tr {
            display: block;
        }

            /* Hide table headers (but not display: none;, for accessibility) */
            #orders-list-table thead tr {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }

            #orders-list-table tr {
                border: 9px solid #ccc;
            }

            #orders-list-table td {
                /* Behave  like a "row" */
                border: none;
                border-bottom: 1px solid #eee;
                position: relative;
                padding-left: 28%;
                height: 30px;
                font-size:12px;
            }

                #orders-list-table td:before {
                    /* Now like a table header */
                    position: absolute;
                    /* Top/left values mimic padding */
                    top: 6px;
                    left: 6px;
                    width: 28%;
                    padding-right: 10px;
                    white-space: nowrap;
                    content: attr(data-title);
                    font-size: 11px;
                }

        .container.body-content{
          
            box-sizing:border-box;
        }
    #orders-list-table thead tr:first-child {
        display: none;
    }
    
}
.delay-due, .delay-due a {
    background: black;
    color: white;
}

.delay-due-1 a {
    color: white;
}




.card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
}

    /* On mouse-over, add a deeper shadow */
    .card:hover {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    }

/* Add some padding inside the card container */
    .card .card-text {
        padding: 16px 16px;
    }
.card-order .dl-horizontal dd {
    margin-bottom: 10px;
}
.btn.glyphicon {
    font-size: 1.5rem;
}

button.btn.glyphicon {
    padding: 0;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2e6da4;
    background: none;
}
    button.btn.glyphicon:focus, .button.btn.glyphicon:active:focus {
        outline: none;
        outline-offset: unset;
    }
a.glyphicon {
    font-size: 1.5rem;
}
.container.body-content {
    margin-top: 3em;
}