﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* styles for validation helpers */
.field-validation-error {
    color: red;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.add-one-btn, .remove-one-btn {
    float:left;
}

.pagination.add-one-btn {
    margin:20px 0 0 0;
}

.pagination.remove-one-btn { margin:-7px 0; }

#stock-used {
    vertical-align:middle;
}
    #stock-used h3 {
        margin-left:10px;
    }


.text-left {
    text-align:left !important;
}

.col-vertical-align-centre {
    display:inline-block;
    vertical-align:middle;
    float:none;
}

#lightbox-holder, #review-form-holder, #reset-password-form-holder {
    position:fixed;
    left:0; 
    top:0;
    z-index:5;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.8);
    display:none;
}

#lightbox {
    position:relative;
    width:100%;
    height:100%;
}

#lightbox img {
    position:absolute;
    margin:auto;
    top:0; 
    bottom:0;
    left:0;
    right:0;
    max-width:100%;
    max-height:100%;
}

#review-form, #reset-password-form {
    width:25%;
    position:relative;
    margin:auto;
    top:25%;
    background-color:white;
}


.barcode-found { color:green; }
.barcode-not-found { color:red; }


.error-container { color: white; background-color: red; }
.error-container a, .success-container a { color: white; float:right; margin-right:10px; }


/* override for chosen fields */
#ProductId_chosen { width: 35% !important; }


#response {text-align:center; color:white; }
#response.success {background-color:green; }
#response.error {background-color:red; }

.align-right { float:right; }
.text-right { text-align:right; }


.bulk-update { max-width:140px !important; }

#ui-datepicker-div {
    background-color: rgba(255, 255, 255, 0.90);
    min-width: 175px;
    display:none;
}

div.ui-datepicker-header {
    text-align: center;
    font-weight: bold;
}

a.ui-datepicker-prev {
    margin-right: 10px;
}

a.ui-datepicker-next {
    margin-left: 10px;
}

table.ui-datepicker-calendar {
    width: 100%;
}


.float-right {
    float:right;
}
.float-left {
    float:left;
}
.assets-dropdown{
    width: 250px;
}
.assettypes-dropdown{
    width: 300px;
}

.product-search-result.selected {
    background-color:grey;
}

.product-search-result:hover {
    background-color:black;
    color:white;
}

tr.data-row, tr.data-row td {
    border-bottom:none !important;
}

tr.error-row, tr.error-row td {
    color:red;
    border:none !important;
}

.bulk-update.amount {
    width:75px!important;
}

.custom-error {
    color:red;
    display:none;
}

input[readonly] {
    background-color:lightgray;
}

.quantity-row {
    display:none;
}

#stock-transfer-submit, #confirm-locations {
    position:relative;
    top:26px;
}