﻿body {
}

.qofFormBody {
    border: 0 none none;
    width: 650px;
    margin-left: 25px;
}

.qofTable {
    border: 0.01em solid lightgrey;
    display: table;
    width: 650px;
}

.qofTableRow {
    border: 0.01em solid lightgrey;
    display: table-row; 
}

.qofTableRowNoBorder {
    border: 0 none none;
    display: table-row; 
}

.qofTableCell {
    border: 0.01em solid lightgrey;
    display: table-cell; 
    vertical-align: top;
    text-align: left;
}

.qofTableCellNoBorder {
    border: 0 none none;
    display: table-cell; 
}

.qofTableCellCentered {
    border: 0.01em solid lightgrey;
    display: table-cell; 
    vertical-align: top;
    text-align: center;
}

.qofTableCellRight {
    border: 0.01em solid lightgrey;
    display: table-cell; 
    vertical-align: top;
    text-align: right;
}

.qofTableCellRightNoBorder {
    border: 0 none none;
    display: table-cell; 
    vertical-align: top;
    text-align: right;
}

.qofDefaultButton {
    background-color: #ff9933; 
    color: #ffffff; 
    height: 32px; 
    border-style: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    box-shadow: 2px 2px 2px #888888;
}

.qofDeleteButton {
    background-color: #ff0000; 
    color: #ffffff; 
    height: 32px; 
    border-style: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    box-shadow: 2px 2px 2px #888888;
}

#qofCustomerAddressContainer {
    margin: 0;
    width: 100%;
	color: #888;
    height: 450px;
}

#qofCustomerAddressContainer input {
	height: 2.5em;
	visibility: hidden;
}

#qofCustomerAddressContainer label {
	background: #f9f9f9;
	border-radius: .25em .25em 0 0;
	color: #888;
	cursor: pointer;
	display: block;
	float: left;
	font-size: 1em;
	height: 2.5em;
	line-height: 2.5em;
	margin-right: .25em;
	padding: 0 1.5em;
	text-align: center;
}

#qofCustomerAddressContainer input:hover + label {
	background: #ddd;
	color: #666;
}

#qofCustomerAddressContainer input:checked + label {
	background: #f1f1f1;
	color: #444;
	position: relative;
	z-index: 6;
}

#qofCustomerAddressContent {
	background: #ffffff;
	border-radius: 0 .25em .25em .25em;
    border-width: thin;
    border-style: solid;
    border-color: #f1f1f1;
	min-height: 20em;
    height: 100%;
	position: relative;
	width: 100%;
	z-index: 5;
}

#qofCustomerAddressContent div {
	opacity: 0;
	padding: 1.5em;
	position: absolute;
	z-index: -100;
}

#qofCustomerAddressContainer input#qofCustomerAddressTab-1:checked ~ #qofCustomerAddressContent #qofCustomerAddressContent-1,
#qofCustomerAddressContainer input#qofCustomerAddressTab-2:checked ~ #qofCustomerAddressContent #qofCustomerAddressContent-2 {
    opacity: 1;
    z-index: 100;
}

.qofCustomerAddressTable {
    border: 1 none lightgrey;
    width: 500px; 
    height: 250px;
}

.qofCustomerAddressTableRow {
    border: 0 none lightgrey;
}

.qofCustomerAddressTableCell {
    width: 20%; 
    height: 30px;
}

input#CustomerFirstName.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerLastName.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerCompany.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerAddress.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerAddress2.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerCity.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerZip.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerPhone.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#emailaddress.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerBillingFirstName.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerBillingLastName.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerBillingAddress.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerBillingCity.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerBillingZip.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#CustomerBillingPhone.CustomerAddressInput {
    visibility: visible;
    height: 25px;
}

input#SearchByValue.CustomerAddressInput {
    visibility: visible;
    height: 25px;
    width: 300px;
}

.qofCustomerSearchResultsTable {
    border: 1 none lightgrey;
    width: 600px; 
    height: 250px;
}

.qofCustomerSearchResultsFooter {
    text-align: right;
}

.qofGridViewPager td
{
    background-color: #CCC;
    font-size: 18px;
    padding-left: 4px;
    padding-right: 4px;
}

.shippingModalBackground
{
    background-color: Black;
    filter: alpha(opacity=90);
    opacity: 0.8;
}

.shippingModalPopup
{
    background-color: #FFFFFF;
    border-width: 3px;
    border-style: solid;
    border-color: black;
    padding-top: 10px;
    padding-left: 10px;
    width: 300px;
    height: 140px;
}

.qofTotalsTable {
    border-left: none;
    border-right: none;
    border-top: 0.01em solid lightgrey;
    border-bottom: 0.01em solid lightgrey;
    display: table;
    width: 100%;
}

.qofTotalsTableRow {
    border-left: none;
    border-right: none;
    border-top: 0.01em solid lightgrey;
    border-bottom: 0.01em solid lightgrey;
    display: table-row; 
    width: 100%;
}

.qofTotalsTableCell {
    border-left: none;
    border-right: none;
    border-top: 0.05em solid lightgrey;
    border-bottom: 0.01em solid lightgrey;
    display: table-cell; 
    vertical-align: top;
    width: 100%;
    text-align: right;
}

.qofTotalsTableAmountCell {
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 0.05em solid lightgrey;
    display: table-cell; 
    vertical-align: bottom;
    width: 100%;
    text-align: right;
}

#assetPhotos {
    display: inline-flex;
}

.AssetPhoto {
    max-width: 200px;
    max-height: 200px;
    border: solid 1px #EEE;
}

.img-wrapper {
    padding: 5px;
}

#imgViewer::-webkit-scrollbar {
    -webkit-appearance: none;
    height: 10px;
}

#imgViewer::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgba(0,0,0,.5);
    box-shadow: 0 0 1px rgba(255,255,255,.5);
}

audio {
    padding: 5px;
    width: 100%;
}

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 1200px;
    }
}
