﻿html, body {
    height: 100%;
}

body {
    padding-top: 80px;
    /*padding-bottom: 20px;*/
    /*overflow-y: hidden;*/
    background: #EEF3FA;
}

input[type=text]::-ms-clear {
    display: none;
}

@media(min-width: 768px) {
    .container-home {
        max-width: 800px;
    }
}

.marginTop0 {
    margin-top: 0px;
}
.marginTop10 {
    margin-top: 10px !important;
}
.marginTop25 {
    margin-top: 25px;
}
.marginTop50 {
    margin-top: 50px;
}
.margin0 {
    margin: 0!important;
}
.padding0 {
    padding: 0;
}
.paddingTop10 {
    padding-top: 10px;
}
.paddingLeft10 {
    padding-left: 10px;
}
.paddingBot15 {
    padding-bottom: 15px;
}
.marginBot15 {
    margin-bottom:15px;
}
.marginRight15 {
    margin-right:15px;
}
.marginRight5 {
    margin-right:5px;
}

/*.main {
    overflow-y: auto;
}*/

/* Login - UI */
.login-content {
    max-width: 500px;
    margin: -50px auto 30px;
    background: #fff;
    border-radius: 30px;
    padding: 30px 50px;
}

.checkbox input[type="checkbox"] {
    margin-left: 0;
    margin-top: 3px;
}

/* 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;
}*/

/* style for creditForm*/
form .cardnumber {
    background-image: url(/Content/Images/cardsImage.png),url(/Content/Images/cardsImage.png);
    background-position: 2px -121px,272px -61px;
    background-size: 120px 450px,120px 450px;
    background-repeat: no-repeat;
    padding-left: 54px;

}
form .cardnumber.visa {
    background-position: 2px -163px,272px -61px;
}
form .cardnumber.valid.visa {
    background-position: 2px -163px,272px -87px;
}
form .cardnumber.visa_electron {
    background-position: 2px -205px,272px -61px;
}
form .cardnumber.valid.visa_electron {
    background-position: 2px -205px,272px -87px;
}
form .cardnumber.mastercard {
    background-position: 2px -247px,272px -61px;
}
form .cardnumber.valid.mastercard {
    background-position: 2px -247px,272px -87px;
}
form .cardnumber.maestro {
    background-position: 2px -289px,272px -87px;
}
form .cardnumber.valid.maestro {
    background-position: 2px -289px,272px -87px;
}
form .cardnumber.discover {
    background-position: 2px -331px,272px -61px;
}
form .cardnumber.valid.discover {
    background-position: 2px -331px,272px -87px;
}
form .cardnumber.amex {
    background-position: 2px -373px,272px -61px;
}
form .cardnumber.valid.amex {
    background-position: 2px -373px,272px -87px;
}

.card-eye{
    position: absolute;
    right: 0px;
    top: 8px;
    /*color: red;*/
    z-index: 2;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error, textarea.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;
}

.photo {
    width: 100px;
}

div.k-window-content {
    padding: 15px 15px 50px !important;
}

#inputSearchCustomer {
    width: 100%;
    max-width: none;
}

#HomeGrid .form-group {
    margin-bottom: 0;
}

.help-block{
    margin-bottom: 0px;
}

/* BEGIN: Fix Kendo confic with Bootstrap */
/*.form-group *,*/ .popup-container * {
    -moz-box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

.form-group .k-dropdown .k-input{
    height: auto!important;
}
/* END: Fix Kendo confic with Bootstrap */

.k-input {
    max-width: none;
}

/* Fix grid with auto fill*/
.k-grid > .k-grid-header > div > table, .k-grid > .k-grid-content > table, .k-grid > .k-grid-content > table .k-detail-row .k-grid table {
    width: 100%!important;
}

.k-grid-header th.k-with-icon .k-link {
    display: inline !important;
    margin-right: 0px !important;
    padding-right: 1px !important;
}
.k-grid-header th.k-with-icon .k-header-column-menu {
    padding-left: 0px!important;
    margin-right: -14px !important;
}
.k-grid-header th.k-header {
    white-space: pre-wrap !important;
    vertical-align: text-top;
    padding-left: 5px;
}

/*.k-grid-toolbar {
    padding: 0px;
    padding-right: 14px;
}*/

/* CSS for Combobox Customer */
.dropdown-header {
    font-size: 1.1em;
    padding: 0;
}

.k-draghandle.k-state-selected:hover, .k-ghost-splitbar-horizontal, .k-ghost-splitbar-vertical, .k-list > .k-state-highlight, .k-list > .k-state-selected, .k-marquee-color, .k-panel > .k-state-selected, .k-scheduler .k-scheduler-toolbar .k-state-selected, .k-scheduler .k-today.k-state-selected, .k-state-selected, .k-state-selected:link, .k-state-selected:visited {
    background-color: #f35800;
}
.k-grid td.k-state-selected:hover, .k-grid tr.k-state-selected:hover td{
    background-color: #f35800;
}
.k-pager-wrap .estimated {
    color: #f35800;
    font-weight: bold;
    margin-left: 75px;
}
.k-state-selected a{
    color: #fff;
}

.k-state-selected .dropdown-menu a {
    color: #333 !important;
}

.k-grid-content .grid-menu {
    word-wrap: break-word;
}

.k-grid-content .btn-group {
    position: absolute;
}

.k-grid-content .grid-menu .btn-group a.menu {
    padding: 0 10px;
    cursor: pointer;
}

.dropdown-header > span {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: left;
    display: inline-block;
    border-style: solid;
    border-width: 0 0 1px 1px;
    padding: .3em .6em;
    width: 244px;
}

    .dropdown-header > span:first-child {
        width: 150px;
        border-left-width: 0;
    }

.k-item .cbb-template {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    width: 60%;
    padding-left: 10px;
}

    .k-item .cbb-template:first-child {
        width: 146px;
        padding-left: 4px;
    }

/* END */

.popup-button {
    background-color: #f3f3f3;
    border-top: 1px solid #c5c5c5;
    bottom: 0;
    left: 0;
    padding: 7px 15px;
    position: absolute;
    right: 0;
    text-align: right;
}

.popup-container {
    padding: 15px 15px 0;
    margin: -15px -15px 0;
    overflow: auto;
    height: 100%;
    max-height: 500px;
}

.popup-image {
    max-width: 400px;
}

#Details input {
    max-width: none;
}

.forgotPwd {
    display: inline-block;
    margin-top: 15px;
    color: #92CC00;
    font-weight: bold;
}

.panel-heading {
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: #5cb85c !important;
}

.panel-title {
    font-size: 30px;
    color: #fff;
}

.panel-body {
    padding-top: 0;
    padding-bottom: 0;
}

.customer-item {
    border-top: solid 1px #ddd;
    padding-top: 20px;
    padding-bottom: 20px;
}

.thumbnail {
    border: none;
    margin-bottom: 0;
}

.inner-addon {
    position: relative;
}

    .inner-addon .k-icon {
        left: 8px;
        top: 12px;
        font-size: 24px;
        pointer-events: none;
        position: absolute;
    }

.center-block {
    max-width: 500px;
}

#txtSearch {
    height: 46px;
    font-size: 18px;
    line-height: 1.33333;
    max-width: 100%;
    padding-left: 35px;
}

#listCustomers p, #lastItems p, #allItems p, #customerItems p, #invMasterItems p{
    padding: 15px;
    margin-bottom: 0;
}

div[id^='tabModules-'] {
    min-height: 300px;
    padding: 0 !important;
}

div[id='tabModules-1'] * {
    box-sizing: border-box;
}

div[id^='tabModules-'] .thumbnail {
    margin-bottom: 15px;
}

#updateContact {
    margin-bottom: 10px;
    margin-right: 30px;
    background-color: #016699;
}

/* Navigation */
.navbar-inverse {
    background-color: #006699;
    border-color: #A5A7AA;
}

.navbar-fixed-top {
    border-bottom-width: 2px;
}

.navbar-inverse .navbar-nav > li > a, .navbar-inverse .navbar-brand {
    color: #fff;
}

    .navbar-inverse .navbar-nav > .active > a,
    .navbar-inverse .navbar-nav > .active > a:focus,
    .navbar-inverse .navbar-nav > .active > a:hover,
    .navbar-inverse .navbar-nav > li > a:focus,
    .navbar-inverse .navbar-nav > li > a:hover {
        background-color: #48C1C4;
    }

.navbar-brand.logo {
    padding: 5px;
    height: 65px;
}

img.logo {
    width: 144px;
}

@media (min-width: 768px) {
    .navbar-nav > li > a, .navbar-brand {
        padding-top: 23px;
        padding-bottom: 23px;
    }

    .profile {
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .navbar-brand.logo-text {
        display: none;
    }
}

.navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
    margin-left: 5px;
}

.navbar-right {
    margin-right: 0;
}

.avatar-user {
    margin-right: 15px;
}

#logoutForm a {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-nav > li > .dropdown-menu {
    margin-top: 12px;
}

#logoutForm a,
#logoutForm a:focus,
#logoutForm a:hover,
a.profile:hover {
    background-color: transparent !important;
}

.profile {
    color: #97C93C !important;
}

.nav > li > a.log-off {
    color: #9d9d9d !important;
    margin-left: 70px;
    padding-left: 0;
}
/* End Navigation */
.inner-block {
    padding: 15px 20px;
}

@media (min-width: 768px) {
    .invoice-detail .inner-block {
        height: 301px;
    }

    .inner-block {
        height: 500px;
        /*height: 301px;*/
    }

        .inner-block.first {
            padding: 30px 0 0 0;
        }

        .inner-block.paddingRight0 {
            padding-right: 0;
        }

        .inner-block.center {
            border-left: 1px solid green;
            padding-right: 0;
        }

        .inner-block.last {
            border-left: 1px solid green;
            /*padding-right: 0;*/
        }
}

/*.inner-block.last .invoice-header {
    height: 448px;
}*/

.inner-block h3 {
    margin-top: 0;
}

h3 {
    color: green;
}

.name-bmw {
    font-weight: bold;
    color: #016698;
}

.invoice-header {
    height: 390px;
    overflow: auto;
    padding-top: 5px;
    padding-left: 0;
}

/*.row div {
    color: #666;
}*/

h2 {
    margin-top: 0;
}

.invoice-detail {
    border: 1px solid #ccc;
    margin: 0;
    margin-bottom: 15px;
    background-color: #fff;
}

    .invoice-detail .invoice-header {
        /*height: 448px;*/
        height: 250px;
    }
    .invoice-detail .inner-block {
        padding-right: 0;
    }
    .invoice-detail .inner-block.first {
        padding-top: 15px;
        padding-left: 15px;
    }
    
.k-tabstrip-items .k-item {
    background-color: #006699 !important;
    border-radius: 0 !important;
    border-width: 0 !important;
    border-right: 1px solid #428bca !important;
    margin-right: 0 !important;
}

.k-tabstrip-items .k-state-default .k-link {
    color: #fff !important;
    border-radius: 0 !important;
    padding: 10px 20px;
}

.k-tabstrip-items .k-item.k-state-active {
    background-color: #E6E6E6 !important;
}

.k-tabstrip-items .k-state-active .k-link {
    color: #333 !important;
}

.k-tabstrip .k-tabstrip-items {
    margin-bottom: 1px;
}

.divider-contact {
    border-bottom: 1px dashed #cccccc;
    margin: 0;
}

/* CSS for order step */
.breadcrumb > li + li::before {
    content: none;
}

.breadcrumb {
    list-style: none;
    overflow: hidden;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #dddddd;
    padding: 0;
    margin: 25px 0;
    font-size: 17px;
    background: #fafafa; /* Old browsers */
    background: -moz-linear-gradient(top, #fafafa 0%, #eeeeee 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafafa), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fafafa 0%,#eeeeee 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fafafa 0%,#eeeeee 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fafafa 0%,#eeeeee 100%); /* IE10+ */
    background: linear-gradient(to bottom, #fafafa 0%,#eeeeee 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#eeeeee',GradientType=0 ); /* IE6-8 */
}

    .breadcrumb li {
        float: left;
    }

        .breadcrumb li span {
            color: #222;
            text-decoration: none;
            display: block;
            float: left;
            background: url("Images/bg_breadcrumbs.png") right center no-repeat;
            position: relative;
            z-index: 2;
            padding: 5px 20px 5px 10px;
        }

        .breadcrumb li.current span {
            color: #fff;
            background: url("Images/bg_breadcrumbs_current.png") right center no-repeat;
            position: relative;
            z-index: 1;
            margin-left: -15px;
            padding-left: 25px;
        }

        .breadcrumb li.last span {
            background: none;
        }

    .breadcrumb a:link, .breadcrumb a:visited {
        color: #888;
        border: none;
        text-decoration: none;
    }

    .breadcrumb a:hover, .breadcrumb a:active, .breadcrumb a:focus {
        color: #0066ff;
    }

.order-review-info {
    border: 1px solid #ccc;
}

    .order-review-info .inner-block {
        height: auto;
        padding: 15px;
    }

.sku-items {
    border: 1px solid #e3e3e3;
    background-color: #fff;
    margin-bottom: 10px;
}
    .sku-items .nav-tabs > li > a {
        border-radius: 0;
        background-color: #006699;
        outline: none;
        border: none!important;
        font-size: 16px;
        color: #fff;
    }
    .sku-items .nav-tabs > li.active > a {
        background-color: #fff;
        color: #000;
    }

    .sku-item {
        padding: 20px 0;
        border-bottom: 1px solid #e3e3e3;
    }
    .sku-item input {
        width: 60px;
        margin-left: 15px;

    }
    .sku-item a, .add-order {
        margin-top: 15px;
        font-size: 40px;
        color: #5cb85c;
        outline: none;
    }
    .sku-item a:hover, .add-order:hover {
         color: #006699;
    }
    .price-query .sku-item{
        border: 1px solid #e3e3e3;
        background: #fff;
    }

    .add-order {
        margin-top: 0;
        font-size: 30px;

    }
    /*@media(min-width: 768px) {
        .sku-item .thumbnail {
            margin-top: -15px;
        }
    }*/
/* End CSS for order step */

.button-row {
    margin-bottom: 25px;
}

#btnUpdatePrice {
    margin-top: 12px;
}

#updateShip {
    margin-right: 15px;
}

a.load-more {
    font-size: 40px;
    color: #5cb85c;
    outline: none;
    margin-right: 15px;
    text-decoration: none;
}
a.load-more:hover {
    color: #006699;
}

#btnReviewOrder {
    margin: 5px;
    margin-right: 20px;
}

.btd-zindex{
    z-index: 10009!important;
}

textarea {
    max-width: 100%;
    min-width: 100px;
    max-height: 150px;
    min-height: 50px;
}

.quote-line{
    margin-bottom: 10px;
}

.order-custom {
    /*height: 160px;*/
    height: 81px;
    overflow: auto;
    padding-left: 0;
}

.grid-clear-search{
    position: absolute;
    right: 45px;
    top: 8px;
    color: red;
    z-index: 2;
}

.my-cart {
    cursor: pointer;
    color: black;
    margin-right: 30px;
}
.my-cart-purchase {
    margin-right: 0px;
    margin-bottom: -8px;
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #777;
    border-radius: 10px;
}
.badge-notify {
    background: red;
    position: relative;
    top: -20px;
    right: 20px;
}