﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* 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;
}

.multi-line { height:10em; width:100%; }

/* customizations */
table.date 
{
    border: 0;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
}
table.date tr td
{
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}
table.date td.separator
{
    padding-left: 2px !important;
    padding-right: 2px !important;
}
table.date td input[type=text].date-day, 
table.date td input[type=text].date-month
{
    width: 4ch;
    padding: 0;
    margin: 0;
}
table.date td input[type=text].date-year
{
    width: 6ch;
    padding: 0;
    margin: 0;
}
table.date td input[type=text]
{
    width: 4ch;
    padding: 0;
    margin: 0;
}

/* ORDER */
.order-edit-pending {
    background-color: #FFE0E0;
}

.order-edited {
    background-color: #E0FFE0;
}

/* DIV Tables */


.rTable {
    display: block;
    width: 100%;
}

.rTableHeading, .rTableBody, .rTableFoot, .rTableRow {
    clear: both;
}

.rTableHead, .rTableFoot {
    background-color: #DDD;
    font-weight: bold;
}

.rTableCell, .rTableHead {
    border: 1px solid #999999;
    float: left;
    overflow: hidden;
    padding: 3px 1.8%;
    width: 40%;
}

.rTable:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}


/* DIV */

div.cart-container {
    display: grid;
    grid-template-columns: 400px repeat(1, minmax(300px, 1fr));
    /*
    grid-template-rows: 50px 50px;
    */
}

div.cart-image {
    padding: 10px;
    text-align: left;
    /* background-color: yellow; */
}

div.cart-detail {
    padding: 10px;
    text-align: left;
    border-bottom: solid;
    border-bottom-color: lightgray;
    /* background-color: lightgreen; */
}

div.cart-summary {
    padding: 10px;
    text-align: left;
    background-color: #F0F0F0;
}

div.demo-container {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 200px;
    max-width: 900px;
}

div.demo-cell1 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: lightyellow;
}

div.demo-cell2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: lightblue;
}

div.demo-cell3 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: lightgrey;
}

div.demo-cell4 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: lightpink;
}

div.demo-cell5 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: lavender;
}

div.demo-cell6 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: tan;
}

/* delete - support delete via anchor link in inline form, and confirm delete link*/
.delete-inline {
    display: inline;
}

.delete-link {
}

.delete-confirm {
}


/* make disabled checked checkbox not grayed out */
input[type=checkbox][disabled][checked] {
    /*  outline: 1px solid red; */
    outline: 1px solid blue;
}


@media print {
    a[href]:after {
        content: none !important;
    }
}

