﻿/* Set padding to keep content from hitting the edges */
body {
    overflow: hidden;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-adjust {
    position: relative;
    margin: 0px;
    background-image: url('../Images/Data-Signs-Background-1920x1080.jpg');
    background-position-y: -20px;
    border-color: white;
}

/* 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: 300px;*/
}

.shopping-cart-image {
    float: right;
    height: 35px;
    margin-right: 25px;
}

.header-img {
    content: url("/Images/CompanyLogo.png");
}
    .header-img:after {
        content: url('/Images/CompanyLogo.png');
    }

#header-sub-img {
    cursor: pointer;
    margin-left: 16%;
    margin-top: 7px;
    background-image: url("/Images/after-sales-large.png");
    background-repeat: no-repeat;
    display: inline-block;
    width: 246px;
    height: 86px;
}

.header-text {
    float: right;
    color: white;
    font-size: 50px;
    margin-top: 10px;
}

.button-text {
    display: unset;
}

.ds-progress-bar {
    content: url("/Images/progress_line.gif");
}
    .ds-progress-bar:after {        /*shiv for firefox*/
        content: url("/Images/progress_line.gif");
    }

.parts-list-body {
    height: 75vh;
    overflow: auto;
}

footer{
    background-color: #222;
    color: white;
    height: 40px;
    padding-top: 10px;
}

footer > p { 
    margin-right: auto;
    margin-left: auto;
}

.part-price {
    font-size: 20px;
    font-weight: bolder;
}
.part-price::before {
    content: "";
}

.cart-add {
    font-size: 25px !important;
    cursor: pointer !important;
}

.number-format {
    width: 60px;
    display: inline;
}

.item-count {
    background-color: orange;
    padding: 3px 10px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    position: relative;
    float: right;
    top: -6px;
    left: 44px;
}

.action-button {
    float: right;
    font-weight: bold;
}

.shoppingcart-table {
    width: 100%;
}

.shoppingcart-table > tbody {
    max-height: 240px;
    min-height: 120px;
    overflow: auto;
    display: block;
    width: 100%;
}

.shoppingcart-table > tbody > tr {
    display: table;
    width: 100%;
    /*margin-bottom: 15px;*/
}

.shoppingcart-table > tfoot {
    display: table;
    width: 100%;
    background-color: midnightblue;
    color: whitesmoke;
}

.contact-panel {
    margin-top: 10px;
    width: 100%;
}

.contact-panel > span {
    background-color: gainsboro;
}

.contact-field {
    
}

.contact-srno {
    width: 25px;
    height: 30px;
    display: inline-block;
    padding: 0px 5px;
}

.contact-VIN-dd {
    width: 120px;
    height: 30px;
    display: inline-block;
    padding: 0px 3px;
}

.contact-request {
    height: 200px !important; 
}

.contact-upload {
    margin-top: 20px;
}

.brief-note {
    background-color: gainsboro;
    display: inline-block;
    padding: 10px;
    border: 2px solid grey;
    border-radius: 5px;
    margin-top: 15px;
    text-align: left;
    font-size: 14px;
}

.success-message {
    background-color: orange;
    color: white;
    width: 150px;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    display: block;
    float: right;
}

.error-message {
    background-color: red;
    color: white;
    padding: 10px;
    width: 180px;
    text-align:center;
    border-radius: 5px;
    display: block;
    float: right;
}

a {
    color: white;
    text-decoration: underline;
}

.image-panel {
    background-color: white;
    height: 160px;
    vertical-align: bottom;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
}

.image-panel > img {
    max-width: 100%;
    max-height: 160px;
    cursor: pointer;
}

#imgZoom {
    z-index: 999;
    position: relative;
}

.more-info {
    opacity: 1 !important;
    background-color: rgba(0, 0, 0, 0.7);
}

.more-info .modal-dialog {
    top: 25vh;
}

.more-info .modal-dialog .modal-content .modal-header {
    display: block !important;
}

.nostock {
    position: absolute;
    z-index: 999;
    width: 120px;
    left: -40px;
}

.nostock_popup {
    position: absolute;
    z-index: 999;
    top: 0px;
    left: 0px;
    width: 120px;
}

.nostock_cart {
    position: relative;
    z-index: 999;
    width: 100px;
    top: -50px;
}

.backorder {
    height: 50px;
    float: right;
    margin-right: 10px;
    display: none;
}

.item-code {
    cursor: pointer;
}

.item-title {
    cursor: pointer;
}

.item-panel {
    text-align:center;
    border-bottom: 1px solid silver;
    padding: 10px 0px;
    height: 300px;
}

.price-add-to-cart {
    z-index: 999;
    position: relative;
    background-color: white;
}

.code-title {
    height: 50px;
}

.loading-panel {
    border: 1px solid gainsboro;
    padding: 5px;
    border-radius: 5px;
    color: darkorange;
    font-weight: normal;
}

.image-panel-shoppingcart {
    background-color: white;
    height: 80px;
    width: 80px;
    vertical-align: bottom;
    display: none;
    margin-bottom: 10px;
}

.image-panel-shoppingcart > img {
        max-height: 80px;
        max-width: 80px;
        cursor: pointer;
}

.item-desc {
    width: 100%;
    height: 165px;
    background-color: white;
    float: right;
}

@keyframes blinker {
    50% {
        opacity: 0.4;
    }
}

.searchbox{

}

.catg-sort {
    width: 25%;
}

.catg {
    display: inline;
    width: 60%;
}

.sortby {
    display: inline;
    width: 37%;
}

.refresh-load {
    width: 31%;
}

.footer-msg {
    float: right;
}

.ds-footer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

.contact-details {
    font-size: 20px;
    font-weight: bolder;
}

.gst-extra {
    font-size: small;
    margin-right: 10px;
}

.gst-td {
    width: 40%;
    text-align: right;
    padding-right: 20px;
}

.payment-note-big {
    display: inline;
}

.payment-note-small {
    display: none;
}

.divPaymentNotes {
    text-align: center;
}

.infoTag {
    color: blue;
    font-size: 18px;
    cursor: pointer;
}

.imgLocation {
    position: absolute;
    z-index: 9999;
    width: 800px;
    background-color: red;
    border: 3px solid red;
    text-align: center;
    border-radius: 5px;
}

.imgLocation > span {
    color: white;
    padding: 10px;
    font-size: 16px;
    text-align: center;
}

.imgLocation > span > i {
    float: right;
    margin-right: 10px;
    margin-top: 3px;
}

.imgLocation > img {
    width: 100%;
}

.smallprint {
    font-weight: normal;
    font-size: 12px;
}

#lblShipping {
    font-weight: bold;
    margin-top: 10px;
}

.banner {
    opacity: 1 !important;
    background-color: rgba(0, 0, 0, 0.7);
}

.banner .modal-dialog {
    top: 25vh;
}

.banner .modal-dialog .modal-content {
    width: 1150px;
    left: -325px;
    border: 1px solid red;
}

.banner .modal-dialog .modal-content .modal-header {
    display: block !important;
}

.banner .modal-dialog .modal-content .modal-header button {
    float: right;
    vertical-align: top;
}

.banner .modal-dialog .modal-content .modal-body img {
    width: 100%;
}



@media (max-width: 1050px) {
    #header-sub-img {
        margin-left: 3%;
        background-image: url("/Images/after-sales-small.png");
        width: 105px;
        height: 58px;
    }

    .banner .modal-dialog .modal-content {
        width: unset;
        left: unset;
    }

    .banner .modal-dialog .modal-content .modal-header button {
        width: 7%;
        padding: 0px;
        margin: 0px;
    }
}

@media (max-width: 610px) {
    .header-img {
        content: url("/Images/favicon.png");
    }

    .header-text {
        font-size: 25px;
    }

    .button-text {
        display: none;
    }

    .ds-progress-bar {
        display: none;
    }

    .form-control {
        padding: 2px 3px;
    }

    .searchbox {
        width: 90px;
    }

    .catg-sort {
        width: 23%;
    }

    .catg {
        display: none !important;
    }

    .sortby {
        display: inline;
        width: 100%;
        padding: 2px;
    }

    .refresh-load {
        width: 20%;
    }

    .parts-list-body {
        height: 76vh;
    }

    .footer-msg {
        display: none;
    }

    .item-desc {
        width: 45%;
    }

    .popup-header {
        font-size: 15px;
    }

    .item-code {
        font-size: 10px;
        cursor: pointer;
    }

    .item-title {
        font-size: 15px;
        cursor: pointer;
    }

    .part-price {
        font-size: 15px;
        font-weight: bold;
    }

    .item-in-sc {
        font-size: 10px;
    }

    .number-format {
        width: 25px;
        display: inline;
        font-size: 10px;
        margin-left: 5px;
    }

    .contact-details {
        font-size: 10px;
        font-weight: bold;
    }

    .gst-extra {
        font-size: 8px;
        margin-right: 10px;
    }

    .gst-td {
        width: 55%;
    }

    .payment-note-big {
        display: none;
    }

    .payment-note-small {
        display: inline;
    }

    .success-message {
        background-color: orange;
        color: white;
        width: 100%;
        padding: 10px;
        text-align: center;
        border-radius: 5px;
        display: block;
    }

    .error-message {
        background-color: red;
        color: white;
        padding: 10px;
        width: 100%;
        text-align: center;
        border-radius: 5px;
        display: block;
    }

    .brief-note {
        font-size: 12px;
    }

    .divPaymentNotes {
        margin-top: 30px;
    }

    .shoppingcart-table > tbody {
        max-height: none;
    }

    .item-count {
    }

    .imgLocation {
        width: 350px;
    }

    .action-button {
        font-size: 11px;
    }
}
