﻿* {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
    font-family: Trebuchet, Tahoma, Arial, helvetica, sans-serif;
    /*font-weight: normal;*/
    font-style: normal;
    font-size: 100%;
    max-width: 1024px;
}


body {
    color: #336699;
    background-color: #f8f8f8;
    margin: 0px 0px 0px 0px;
    padding: 0px;
    line-height: 1.8;
    height: 100%;
    /*min-width: 480px;*/
    font-size: 14px;
    max-width: 1024px;
}

html {
    height: 100%;
    width: 100%;
    /*    min-width: 1024px;*/
    max-width: 1024px;
    margin: 0px 0px 0px 0px;
    font-size: 14px;
}

h2
{
    font-weight: bold
}

/* Set padding to keep content from hitting the edges */

.body-content
{
    padding-left: 5px;
    padding-right: 5px;
}

h3
{
    font-weight: bold;
}


/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
#frmImageDetails 
{
    display: none;
    background-color: antiquewhite;
}

#imgUploaded
{
    width:100%;
    border: solid 1px black;
}

div.error{
    width: 100%;
    background-color:#ff0000;
    color: #ffffff;
    font-weight:bold;
    padding:5px;    
}

div.image_options_grid {
    width: 100%;
    max-width: 1024px;
    display: grid;
    /*grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(auto-fill, 120px);
    grid-row-gap: .5em;
    grid-column-gap: 1em;*/
    grid-template-columns: 50px auto;
    grid-template-rows: auto;
    grid-template-areas:
        "intro intro"
        "typepicker typepicker"
        "chkPI txtPI"
        "chkShow txtShow"
        "chkDamage txtDamage"
        ". buttons";
}

div.useritemgrid 
{
    width: 100%;
    max-width: 1024px;
    display: grid;
    grid-template-columns: 100px auto;
    grid-template-areas: 
        "userlabel user"
        "itemlabel item";
    background-color: #003d84;
    color: #ffffff;
    margin-bottom: 10px;
    padding:5px;
}

div.imageSaved {
    width: 100%;
    max-width: 1024px;
    display: grid;
    grid-template-columns: 100%;
    grid-template-areas:
        "saveOK"
        "addAnother";
    background-color: #ffffff;
    color: #003d84;
    margin-bottom: 10px;
    padding: 5px;
}

.image_options_grid_single {
    grid-template-columns: auto;
}
.image_options_grid_double {
    grid-template-columns: 20px auto;
}


input,
select,
textarea {
/*    max-width: 280px;
    width: 100%;*/
}

input[type='checkbox'].large {
        -webkit-appearance: none;
        width: 30px;
        height: 30px;
        background: white;
        border-radius: 5px;
        border: 2px solid #555;
    }

#spinner {
    height: 100%;
    width: 100%;
    margin: auto;
    vertical-align: middle;
    align-content: center;
    align-self: center;
    z-index: 99;
    background-color: #000000;
    opacity: 25%;
}

div.label {
    font-size: 18px;
    font-weight: bold;
}

input[type='checkbox'].large:checked {
    background: #003d84;
}

/*select:disabled,
input[type='checkbox']:disabled {
    background: #555;
}*/


select.large,
input[type='button'].large,
input[type='file'].large 
{
    -webkit-appearance: none;
    width: auto;
    min-width: 100px;
    height: 40px;
    background: #003d84;
    color: #ffffff;
    border-radius: 5px;
    border: 2px solid #555;
    padding: 5px;
    font-size: 18px;
    font-weight: bold;
}

select.medium,
input[type='button'].medium,
input[type='file'].medium {
    -webkit-appearance: none;
    width: auto;
    min-width: 100px;
    height: 40px;
    background: #003d84;
    color: #ffffff;
    border-radius: 5px;
    border: 2px solid #555;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
}

input[type='button'].large:disabled{
    background-color: #555
}

.site_container {
    /*height: 100%;*/
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    /*min-width: 800px;*/
    max-width: 1024px;
}
.mas_region_main {
    display: grid;
    width: 100%;
    grid-template-rows: repeat(5, auto);
    grid-template-columns: repeat(1, 1fr);
    /*min-width: 1024px;*/
    /*max-width: 1024px;*/
    background-color: #ffffff;
}

.mas_region_alert {
    background-color: red;
    color: #ffcc00;
    font-weight: bold;
    width: 100%;
    padding: 5px;
    display: none;
    grid-column: span 1;
    grid-row: 1;
}

.mas_region_header {
    grid-column: span 1;
    grid-row: 2;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    background-color: #ffffff;
    padding-top: 5px;
    padding-bottom: 5px;
}

.mas_region_menu {
    grid-column: span 1;
    grid-row: 3;
    height: 30px;
    background-color: #ffcc00;
    background-image: url('../content/images/ui/Blue-Menu.png');
    /*width: 100%;*/
    color: #ffffff;
    -ms-background-repeat: repeat-x;
    background-repeat: repeat-x;
    padding-left: 5px;
    padding-right: 5px;
}

.mas_region_content {
    grid-column: span 1;
    grid-row: 4;
    margin-top: 10px;
    padding: 5px 10px;
}

.mas_region_footer {
    grid-column: span 1;
    grid-row: 5;
    background-color: #dddddd;
    margin-top: 10px;
    border-top: solid 1px #808080;
}


.dl-horizontal dt {
    white-space: normal;
}
.simple_grid {
    display: grid;
}

.grid_header {
    font-weight: bold;
}

.header_logo {
    grid-column: 1;
    grid-row: 1;
    height: 80px;
    padding: 5px;
}

.header_gap {
    grid-column: 2;
    grid-row: 1;
    /*background-color: #00ff00;*/
}

.masthead {
    margin-top: auto;
    margin-bottom: auto;
    vertical-align: middle;
}

.mas_copyright {
    /*grid-column: span 12;*/
    height: 40px;
    text-align: center;
    padding: 5px;
}

