
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* QuickGrid styles */
.QuickQrid {
    border-style: solid;
    border-color: #dee2e6;
    border-width: 1px;
    width: 100%;
}

.QuickQrid td {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    padding-left: 7px !important;
    vertical-align: middle;
    max-width: 220px;
    padding: 0px;
    border-bottom: 1px solid #dee2e6;
    border-top: 1px solid #dee2e6;
}

.QuickQrid th {
    border-color: #dee2e6;
    border-right-width: 1px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    padding-left: 7px !important;
    padding: 0px;
    background-color: #C8102E;
    color: white;
}

.col-title-text {
    font-weight: 700;
    padding-right: 5px;
    color: white;
}

.col-title {
    padding: 6px;
    border: none !important;
    background: none;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%
}

.col-title:focus {
    outline: none;
}

.col-title ::before {
    top: 5%;
    content: url("data:image/svg+xml,%3Csvg style='color: white' xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='currentColor' class='bi bi-triangle-fill' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.022 1.566a1.13 1.13 0 0 1 1.96 0l6.857 11.667c.457.778-.092 1.767-.98 1.767H1.144c-.889 0-1.437-.99-.98-1.767L7.022 1.566z' fill='white'%3E%3C/path%3E%3C/svg%3E");
    opacity: .3;
    position: absolute;
    display: block;
    right: 10px;
}

.col-title ::after {
    top: 45%;
    content: url("data:image/svg+xml,%3Csvg style='color: white' xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='currentColor' class='bi bi-triangle-fill' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.022 1.566a1.13 1.13 0 0 1 1.96 0l6.857 11.667c.457.778-.092 1.767-.98 1.767H1.144c-.889 0-1.437-.99-.98-1.767L7.022 1.566z' fill='white'%3E%3C/path%3E%3C/svg%3E");
    opacity: .3;
    position: absolute;
    display: block;
    right: 10px;
    transform: scaleY(-1);
}

.sort-indicator {
    opacity: 0;
}

.col-sort-desc .col-title ::before {
    opacity: 0.8;
}

.col-sort-asc .col-title ::after {
    opacity: 0.8;
}

.large-column {
    width: 600px;
    min-width: 250px;
}

.small-column {
    width: 200px;
    min-width: 200px;
}

.x-small-column {
    width: 175px;
}

.xx-small-column {
    min-width: 130px;
}

/* QuickGrid styles end */

.Parts-ModalQrid td {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.Parts-ModalQrid th {
    border-right-width: 0px;
}

.Parts-ModalQrid .col-title {
    padding-right: 21px;
    padding-left: 0px;
}

.TreeGridRowThumbnail {
    height: 35px;
    width: 35px;
    display: none;
    margin-left: auto;
    margin-right: 35px;
}

.cw-white {
    color: white;
}

.cw-red {
    color: #C8102E;
}

.cw-green {
    color: forestgreen;
}

.cw-yellow {
    color: yellow;
}

.thumbnail-container {
    display: inline-block;
    width: 20px;
    margin-left: 5px;
    margin-right: 15px;
}

@media(max-width: 374px) {
    .thumbnail-container {
        display: none;
    }
}

/* TreeGrid Styles Start */

.treegridview {
    overflow: auto;
    height: 700px;
}

.treegridview table {
    display: table;
}

.treegridview .treegridrow {
    font-family: "Franklin Gothic Book", Arial, "Segoe UI", Helvetica, sans-serif !important;
    font-size: 14px;
}

.treegridview .treegridrow td {
    cursor: pointer;
}

span.indent {
    margin-left: 6px;
}

.treegridview span.icon {
    width: 12px;
    margin-right: 5px;
}

.treegridview tr {
    height: 40px;
}

.treegridview td {
    padding: 0;
    vertical-align: middle;
}

tr.treegridrow {
    --darknessAlphaDecimal: 0.03;
    background-color: rgba(0,0,0,calc(var(--darknessAlphaDecimal) * var(--darknessLevel)));
}

tr.treegridrow-spare-part {
    background-color: white;
    cursor: pointer;
}

.treegridrowtextwhite {
    color: white !important;
}

tr.treegridrow > td {
    border-top-color: #a1a1a1;
}

/* TreeGrid Styles End */

.HiddenButton {
    border: none !important;
    background: none;
    position: relative;
}

.HiddenButton:focus {
    outline: none;
}

.valueBadge {
    font-weight: bold;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: rgb(33, 33, 33);
    border-radius: 1.5rem;
    padding: 1px calc(0.5rem - 1px);
    height: 25px;
    margin-top: 7px;
}

.carousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23C8102E' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e") !important;
    width: 20px !important;
    height: 20px !important;
}

.carousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23C8102E' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e") !important;
    width: 20px !important;
    height: 20px !important;
}

.cw-carousel-indicator {
    background-color: #C8102E !important;
}

.indicatorIcon {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 576px){
    .image-modal {
        max-height: 90vh;
        max-width: 1000px;
    }
}

.FullScreen {
    max-height: 100%;
    max-width: 100%;
    top: -28px;
}


@media(max-width: 374px) {
    .HidableSection {
        display: none;
    }
}

.small-number-slot {
    width: 40px !important;
    padding: 3px !important;
    flex: none !important;
    margin-right: 3px;
    text-align: center;
}

.quantity-button{
    border: 1px solid #c4c4c4;
}

.input-group-btn {
    margin-right: 3px;
}

.overlay-close{
    position: absolute;
    top: 0;
    right: 10px;
    z-index: 20;
}