

.maincontainer-inventory{
    /* background-color: lightblue; */
    position: relative;
    min-width: calc(100% - 5px);
    max-width: calc(100% - 5px);
    min-height: calc(100% - 40px);
    max-height: calc(100% - 40px);
    margin: 2.5px;
    display:flex;
    flex-direction: row;
    overflow: hidden;
}
.maincontainer-inventory > .header{
    /* background-color: lightblue; */
    position: relative;
    min-width: 100%;
    max-width: 100%;
    min-height: 40px;
    max-height: auto;
    height: auto;
    align-self: flex-start;
    margin-bottom: 2.5px;
    border-radius: 10px 0px 10px 0px;
    display: flex;
    flex-direction: row;
}
.header > .search-con{
    position: relative;
    width: auto;
    height: auto;
    z-index: 1;
    display: flex;
    flex-direction: row;
    margin-right: 15px;
}
    .header > .search-con > #inventory-search{
        position: relative;
        width: auto;
        height: auto;
        margin: 5px;
        padding: 5px 10px 2.5px 10px;
        font-size: 1.3em;
        border-radius: 10px;
        border: none;
        outline: none;
        cursor:text;
    }
    .header > .search-con > #inventory-searchicon{
        position: relative;
        min-width: 40px;
        max-width: 40px;
        height: auto;
        margin: 5px;
        color: white;
        font-size: 1.7em;
        cursor: pointer;
    }
.header > .inventory-widgets{
    /* background-color: wheat; */
    position: relative;
    width: 100%;
    height: auto;
    /* margin-left: 220px; */
    border-radius: 10px;
    z-index: 1;
    display: flex;
    flex-direction: row;
    overflow: none;
}
.inventory-widgets > .widget{
    position: relative;
    min-width: 125px;
    width: auto;
    height: 25px;
    max-height: 25px;
    margin: 5px;
    margin-left: 8px;
    padding: 4px 15px 2px 15px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0px 0px 5px 0px rgb(182, 212, 194);
    cursor: pointer;
    transition: transform 0.15s ease;
}
    .inventory-widgets > .widget:hover{
        transform: scale(1.1);
    }
.inventory-widgets > .widget > span{
    position: relative;
    font-size: 1.2em;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}
.inventory-widgets > .widget > span > i{
    position: relative;
    font-size: 1em;
    left: -4px;
    top: 1px;
    margin: 0.5px;
    cursor: pointer;
    color: whitesmoke;
}
.inventory-widgets > .widget > span > i:hover{
    transform: none;
}
.inventory-widgets > .widget > label{
    font-size: 1.3em;
    overflow-y: hidden;
    overflow-x: hidden;
    cursor: pointer;
}
.inventory-widgets > .widget > label > i{
    position: relative;
    font-size: 1.1em;
    left: -4px;
    top: 1px;
    margin: 0.5px;
    cursor: pointer;
    color: whitesmoke;
}
.inventory-widgets > .widget > label > i:hover{
    transform: none;
}

.maincontainer-inventory > .container{
    /* background-color: lightblue; */
    position: relative;
    min-width: calc(100% - 0px);
    max-width: calc(100% - 0px);
    width: auto;
    min-height: calc(100% - 45px);
    max-height: calc(100% - 45px);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.maincontainer-inventory > .container > .inventory-list-header{
    /* background-color: lightblue; */
    position: relative;
    min-width: 1700px;
    max-width: calc(100% - 0px);
    width: auto;
    min-height: 35px;
    max-height: 35px;
    margin-bottom: 2.5px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    overflow: none;
}
    .inventory-list-header > label{
        text-overflow:ellipsis;
        white-space: nowrap;
        overflow: hidden;
        text-align: left;
    }
    .inventory-list-header > .barcode {
        position: relative;
        width: 100px;
        min-width: 100px;
        height: auto;
        font-size: 1.2em;
        font-weight: bold;
        padding: 0px 10px 0px 10px;
        margin-top: 6px;
        text-decoration: underline;
    }
    .inventory-list-header > .sku {
        position: relative;
        width: 100px;
        min-width: 100px;
        height: auto;
        font-size: 1.2em;
        font-weight: bold;
        padding: 0px 10px 0px 10px;
        margin-top: 6px;
        text-decoration: underline;
    }
    .inventory-list-header > .category {
        position: relative;
        width: 100px;
        min-width: 100px;
        height: auto;
        font-size: 1.2em;
        font-weight: bold;
        padding: 0px 10px 0px 10px;
        margin-top: 6px;
        text-decoration: underline;
    }
    .inventory-list-header > .name{
        position: relative;
        min-width: 200px;
        max-width: 700px;
        width: 100%;
        height: auto;
        font-size: 1.2em;
        font-weight: bold;
        padding: 0px 10px 0px 10px;
        margin-top: 6px;
        text-decoration: underline;
    }
    .inventory-list-header > .description{
        position: relative;
        width: 100%;
        min-width: 150px;
        max-width: 150px;
        height: auto;
        font-size: 1.2em;
        font-weight: bold;
        padding: 0px 10px 0px 10px;
        margin-top: 6px;
        text-decoration: underline;
    }
    .inventory-list-header > .tax{
        position: relative;
        width: 80px;
        min-width: 80px;
        height: auto;
        font-size: 1.2em;
        font-weight: bold;
        padding: 0px 10px 0px 10px;
        margin-top: 6px;
        text-decoration: underline;
        text-align: center;
    }
    .inventory-list-header > .unit-price{
        position: relative;
        width: 80px;
        min-width: 80px;
        height: auto;
        font-size: 1.2em;
        font-weight: bold;
        padding: 0px 10px 0px 10px;
        margin-top: 6px;
        text-decoration: underline;
        text-align: right;
    }
    .inventory-list-header > .cost{
        position: relative;
        width: 80px;
        min-width: 80px;
        height: auto;
        font-size: 1.2em;
        font-weight: bold;
        padding: 0px 10px 0px 10px;
        margin-top: 6px;
        text-decoration: underline;
        text-align: right;
    }
    .inventory-list-header > .margin{
        position: relative;
        width: 80px;
        min-width: 80px;
        height: auto;
        font-size: 1.2em;
        font-weight: bold;
        padding: 0px 10px 0px 10px;
        margin-top: 6px;
        text-decoration: underline;
        text-align: center;
    }
    .inventory-list-header > .qty{
        position: relative;
        width: 80px;
        min-width: 80px;
        height: auto;
        font-size: 1.2em;
        font-weight: bold;
        padding: 0px 10px 0px 10px;
        margin-top: 6px;
        text-decoration: underline;
        text-align: center;
    }
    .inventory-list-header > .button-con-filler{
        position: relative;
        width: 100%;
        min-width: 180px;
        max-width: 100%;
        min-height: 25px;
        max-height: 25px;
        padding-right: 10px;
        display: flex;
        flex-direction: row;
    }
        .inventory-list-header > .button-con-filler > button{
            position: relative;
            min-width: 90px;
            max-width: 90px;
            height: auto;
            margin: auto;
            text-align: center;
        }
.maincontainer-inventory > .container > .inventory-list-container{
    /* background-color: lightcoral; */
    position: relative;
    min-width: calc(100% - 0px);
    max-width: calc(100% - 0px);
    width: auto;
    min-height: calc(100vh - 170px);
    max-height: calc(100vh - 170px);
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: none;
    border-radius: 15px;
}
    .inventory-list-container > .inventory-list-widget{
        /* background-color: lightblue; */
        position: relative;
        min-width: 1700px;
        max-width: calc(100% - 0px);
        min-height: 30px;
        max-height: 30px;
        border-radius: 10px;
        padding-top: 2.5px;
        padding-bottom: 2.5px;
        display: flex;
        flex-direction: row;
        overflow: none;
        border-bottom: 2px solid whitesmoke;
        transition: padding 0.15s ease;
    }
        .inventory-list-container > .inventory-list-widget:hover{
            padding-top: 15px;
            padding-bottom: 15px;
            background-color: var(--ROW_HIGHLIGHT_COLOR);
        }
        .inventory-list-widget > span{
            text-overflow:ellipsis;
            white-space: nowrap;
            overflow: hidden;
            text-align: left;
        }
        .inventory-list-widget > .barcode{
            position: relative;
            width: 100px;
            min-width: 100px;
            height: auto;
            font-size: 1em;
            font-weight: bold;
            padding: 0px 10px 0px 10px;
            margin-top: 6px;
        }
        .inventory-list-widget > .sku{
            position: relative;
            width: 100px;
            min-width: 100px;
            height: auto;
            font-size: 1em;
            font-weight: bold;
            padding: 0px 10px 0px 10px;
            margin-top: 6px;
        }
        .inventory-list-widget > .category{
            position: relative;
            width: 100px;
            min-width: 100px;
            height: auto;
            font-size: 1em;
            font-weight: bold;
            padding: 0px 10px 0px 10px;
            margin-top: 6px;
        }
        .inventory-list-widget > .name{
            position: relative;
            min-width: 200px;
            max-width: 700px;
            width: 100%;
            height: auto;
            font-size: 1em;
            font-weight: bold;
            padding: 0px 10px 0px 10px;
            margin-top: 6px;
        }
        .inventory-list-widget > .description{
            position: relative;
            width: 100%;
            min-width: 150px;
            max-width: 150px;
            height: auto;
            font-size: 1em;
            font-weight: bold;
            padding: 0px 10px 0px 10px;
            margin-top: 6px;
        }
        .inventory-list-widget > .qty{
            position: relative;
            width: 80px;
            min-width: 80px;
            height: auto;
            font-size: 1em;
            font-weight: bold;
            padding: 0px 10px 0px 10px;
            margin-top: 6px;
            text-align: center;
        }
        .inventory-list-widget > .tax{
            position: relative;
            width: 80px;
            min-width: 80px;
            height: auto;
            font-size: 1em;
            font-weight: bold;
            padding: 0px 10px 0px 10px;
            margin-top: 6px;
            text-align: center;
        }
        .inventory-list-widget > .unit-price{
            position: relative;
            width: 80px;
            min-width: 80px;
            height: auto;
            font-size: 1em;
            font-weight: bold;
            padding: 0px 10px 0px 10px;
            margin-top: 6px;
            text-align: right;
        }
        .inventory-list-widget > .cost{
            position: relative;
            width: 80px;
            min-width: 80px;
            height: auto;
            font-size: 1em;
            font-weight: bold;
            padding: 0px 10px 0px 10px;
            margin-top: 6px;
            text-align: right;
        }
        .inventory-list-widget > .margin{
            position: relative;
            width: 80px;
            min-width: 80px;
            height: auto;
            font-size: 1em;
            font-weight: bold;
            padding: 0px 10px 0px 10px;
            margin-top: 6px;
            text-align: center;
        }
        .inventory-list-widget > .button-con{
            position: relative;
            width: 100%;
            min-width: 200px;
            max-width: 100%;
            min-height: 25px;
            max-height: 25px;
            padding-right: 5px;
            display: flex;
            flex-direction: row;
        }
            .inventory-list-widget > .button-con > .btn-edit{
                position: relative;
                width: 100%;
                height: auto;
                background-color: var(--BTN_COLOR);
                outline: none;
                border: none;
                border-radius: 5px;
                margin-right: 2.5px;
                text-align: center;
                padding-top: 2px;
            }
            .inventory-list-widget > .button-con > .btn-remove{
                position: relative;
                width: 100%;
                height: auto;
                background-color: var(--BTN_COLOR);
                outline: none;
                border: none;
                border-radius: 5px;
                margin-left: 2.5px;
                text-align: center;
                padding-top: 2px;
            }


/* Small phones */
@media (max-width: 480px) {

}
@media (max-width: 1050px) {
    .maincontainer-inventory > .header{
        flex-direction: column;
        min-height: auto;
        max-height: auto;
    }
    .header > .search-con{
        width: 100%;
        margin-right: 0px;
    }
        .header > .search-con > #inventory-search{
            width: 100%;
        }
    
    .maincontainer-inventory > .container{
        min-height: calc(100% - 87px);
        max-height: calc(100% - 87px);
    }

    .maincontainer-inventory > .header > .inventory-widgets{
        overflow-x: auto;
        overflow-y: none;
    }
}


