:root {
    /* --color-red: #d31636; */
    --color-paging-btn-bg: var(--color-gray-4);
    --color-paging-btn-fg: var(--color-white);

    --listing-box-shadow: 0 0 15px 0 rgba(128,128,128, .1);
    --box-box-shadow: 0 0 15px 0 rgba(128,128,128, .1);
}

#invapp {

}

#invapp select.sort {
    margin-bottom: 0;
}

.soaform__unitcard__specs__item {
    margin: 0;
}

.soaform__footer {
    margin-top: 1rem;
}

.soaform__field__cont {
    margin-bottom: 1rem;
}

.soaform__unitcard__thumb {
    width: 200px !important;
    max-height: 180px !important;
    border: 1px var(--color-gray-500) solid;
}

@media screen and (min-width: 64em) {
    .soaform__unitcard__thumb {
        width: 200px !important;
    }

}


/* BEGIN SPECSHEET */


/* BEGIN BOX STYLES */

#specsheet .box {
    margin: 0 0 0 0;
    background-color: #fff;
    box-shadow: var(--box-box-shadow);
}

#specsheet .box .box-body {
    padding: 1rem;
}

#specsheet .box.bordered {
    border: 1px var(--color-gray-2) solid;
}


#specsheet .box-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: .4rem 1rem;
    margin: 0;
    background-color: var(--color-blue-600);

    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

#specsheet .box-header a {
    color: inherit;
}


#specsheet .box-title {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-size: 1.2em;
    font-weight: bold;
}

#specsheet .specsheet__specs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

@media print {
    #specsheet .box {
        box-shadow: none;
        border: 1px var(--color-gray-400) solid;
    }
}

/* END BOX STYLES */


/* END SPECSHEET */


.lg-media-overlap .lg-toolbar {
    background: linear-gradient(180deg, rgba(0, 0, 0, .5), transparent);
}

@media screen and (min-width: 90em) {
    .lg-container:not(.lg-inline) .lg-media-overlap .lg-toolbar {
        background: none;
    }
}

.lg-toolbar .lg-icon {
    color: white;
}

@media print {
    .lg-media-overlap .lg-toolbar {
        display: none;
    }
}

.lg-counter {
    color: white;
}

.lg-content {
    top: 0;
}

.lg-outer .lg-img-wrap, .lg-outer .lg-item {
    /* height: auto; */
    aspect-ratio: 4 / 3;
}

.lg-outer .lg-img-wrap {
    /* aspect-ratio: 4/3; */
    /* height: 100vh; */
}

.lg-inline img.lg-object.lg-image {
    min-width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
}

@media screen and (min-width: 48em) {
    /* .lg-inline img.lg-object.lg-image { */
    /* .lg-outer .lg-img-wrap:before, .lg-outer .lg-item:before { */
    /*     height: calc(100% - 105px); */
    /* } */
}

/* .lg-inline img.lg-object.lg-image { */
/*     min-width: 100%; */
/*     min-height: 100%; */
/*     object-fit: cover; */
/*     object-position: center center; */
/* } */

.lg-outer .lg-thumb-item {
    position: relative;
    border-radius: 3px;
    border-color: #575757;
    border-width: 2px;
    opacity: .8
}

.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
    border-color: #ededed;
    opacity: 1;
}

.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
    border-color: white;
}

.lg-counter {
    pointer-events: none;
}

.lg-container.lg-inline .lg-outer .lg-thumb {
    display: none;
    padding: 6px 0;
}

/* .lg-outer .lg-thumb { */
/*     display: none; */
/*     padding: 6px 0; */
/* } */

.lg-sub-html {
    display: none;
}

@media screen and (min-width: 48em) {

    .lg-container.lg-inline .lg-outer .lg-thumb {
        display: block;
    }

    .lg-outer .lg-thumb {
        display: block;
    }
}

.lg-thumb-item .thumb-index {
    position: absolute;
    display: inline-block;
    padding-left: .25rem;
    padding-right: .25rem;
    top: 2px;
    right: 1px;
    background: rgb(50, 50, 50);
    border: 1px rgb(169, 169, 169) solid;
    color: #fff;
    font-size: .75em;
    pointer-events: none;
    line-height: 1rem;
}

/* .lg-container:not(.lg-inline) img.lg-object.lg-image { */
/* /* .lg-components-open img.lg-object.lg-image { */ */
/*     min-width: 100%; */
/*     /* min-height: 100%; */ */
/*     /* max-height: none; */ */
/*     max-height: 100%; */
/*     top: 0; */
/*     /* height: 100%; */ */
/*     object-fit: contain; */
/*     object-position: center center; */
/* } */
