﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.select2-results__option--highlighted {
    color: #fff !important;
    background-color: #1b6ec2 !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 0px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 24px;
    line-height: 23px; /* Vertically center the text there */
}

.fixed_header tbody {
    display: block;
    overflow: auto;
    height: 50vh;
    width: 100%;
}

.fixed_header thead tr {
    display: block;
}

.selected {
    background-color: #acbad4 !important;
}

.inputNotSelected {
    background-color: transparent;
    border: 0;
}

.displayNone {
    display: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

.tallyTable {
    overflow-y: auto;
}

    .tallyTable thead th {
        position: sticky;
        top: 0;
        background-color: lightgrey;
        padding: 4px;
    }

.itemSelectTable {
    overflow-y: auto;
}

    .itemSelectTable thead th {
        position: sticky;
        top: 0;
        background-color: lightgrey;
        padding: 4px;
    }

    .itemSelectTable tbody tr {
        font-size: .9rem;
    }

    .itemSelectTable td {
        padding: 2px;
        cursor: default;
        line-height: 1;
    }


itemSelectTable th {
    width: 15%;
    padding: 2px;
    cursor: default;
    background-color: red;
}


.tableFixHead {
    overflow-y: auto;
    /*overflow-x: scroll;
    min-width: 850px !important;*/
    /*height: 150px !important;*/
    height: calc(100vh - 340px );
    min-height: 350px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    border-collapse: collapse;
    width: 100%;
    /*style =" height:calc(10vh + 10px); overflow:auto;"*/
}

    .tableFixHead thead th {
        position: sticky;
        top: 0;
        background-color: #cfcfcf;
    }

    .tableFixHead th, td {
        padding: 5px 3px;
    }

/* Just common table stuff. Really. */
table {
}



.tableFixHead th {
}

.form-control2 {
    margin-bottom: 0px;
    padding: 2px;
    line-height: 1.2em;
    /*height: calc(1.2em + 0.1rem + 1px);*/
    height: calc(1.4em);
    background-color: transparent;
}

.label2 {
    margin-bottom: 1px;
    padding: 2px;
    line-height: 1;
}

.form-group {
    margin-bottom: 0.3rem;
}

.table-sm td {
    padding: 2px
    /*padding: 0.1rem;*/
}

    .table-sm td input {
        border-width: 0px;
    }

.form-control:disabled, .form-control[readonly] {
    background: #fff;
}

.form-control2:disabled, .form-control[readonly] {
    background-color: transparent;
}

textarea {
    resize: none;
}

.table-striped tbody tr:nth-child(2n+1) {
}

.custom-control.custom-checkbox {
    padding-left: 0;
}

label.custom-control-label {
    position: relative;
    padding-right: 1.5rem;
}

    label.custom-control-label::before, label.custom-control-label::after {
        right: 0;
        left: auto;
    }

.searchBox.form-control:focus {
    outline: 0 !important;
    border-color: initial;
    box-shadow: none;
}

.myCloseButton {
    font-weight: 900 !important;
    line-height: 0.6 !important;
}

.toast {
    left: 50%;
    position: fixed;
    transform: translate(-50%, 0px);
    z-index: 9999;
}

#orderListGrid .ag-cell {
    line-height: 21px !important;
}

.ag-theme-balham .ag-header {
    color: black !important;
}


.ag-row-hover {
    /* putting in !important so it overrides the theme's styling as it hovers the row also */
    background-color: #cacacc !important;
}

.ag-theme-balham .ag-row-selected {
    background-color: #9db3c9 !important;
}

.ag-theme-balham {
    background-color: #d9d9d926 !important;
}

headerNoMargin {
    margin-bottom: 2px;
}

/*.modal-header {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}*/

.trimDesignerModalHeader {
    padding: 6px;
    border-bottom: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.trimDesignerModalContent {
    min-height: 250px;
    width: calc(100vw - 25px);
    background-color: whitesmoke;
    border: solid;
    border-width:2px;
}

.trimDesignerModal {
    max-width: 98vw;
}

.trimDesignerContainer {
    display: flex;
    height: calc(100vh - 151px);
}

.trimDesigner-modal-lg {
    max-width: 98vw;
    align-content: center
}

.trimDesignerTabMenu-NavLink{
    padding:.3rem 1rem;
}


@media only screen and (max-width: 1366px) {
        
    .trimDesignerContainer {
        height: 100%;
    }

    .trimDesignerModal {
        max-width: 100vw;
    }

    .trimDesigner-modal {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: hidden;
    }

    .trimDesigner-modal-dialog {
        position: fixed;
        margin: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        max-width: 100vw
    }

    .trimDesigner-modal-content {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border: 2px solid #3c7dcf;
        border-radius: 0;
        box-shadow: none;
        width: 100%;
    }

    .trimDesigner-modal-header {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 36px;
        padding: 10px;
        background: #6598d9;
        border: 0;
        padding: 0px;
    }

    /*.modal-title {
        font-weight: 300;
        font-size: 2em;
        color: #fff;
        line-height: 30px;
    }*/

    .trimDesigner-modal-body {
        position: absolute;
        top: 36px;
        bottom: 0px;
        width: 100%;
        overflow: auto;
       /* height: 100%;*/
        max-height: calc(100vh - 39px);
        max-height: calc((var(--vh, 1vh) * 100) - 39px );
    }

  /*  .trimDesigner-modal-footer {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 60px;
        padding: 10px;
        background: #f1f3f5;
    }*/
}


.list-group-item.active{
    background-color: #1b6ec2;
}

.closeModalButton{
    margin:0 !important; 
    margin-right:5px !important;
    padding: .5rem !important;
}

.dark-modal-header {
    border: 4px solid var(--dark);
    background-color: var(--dark);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}