/* Copyright (C) Solar MD (Pty) ltd - All Rights Reserved

 Unauthorized copying of this file, via any medium is strictly prohibited
 Proprietary and confidential
 
 Written by brais, 2020
 
 For more information http://www.solarmd.co.za/ 
 email: info@solarmd.co.za
 7 Alternator Ave, Montague Gardens, Cape Town, 7441 South Africa
 Phone: 021 555 2181
 
*/ 
/* 
    Created on : Jun 5, 2020, 2:04:53 PM
    Author     : brais
*/
body {
    position: relative;
    /*box-sizing: border-box;*/
    margin: 0;
    height: 100vh;
}

.assembly-div {
    /*height: 385px;*/
}
.wrapper{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    height: calc(96vh - 79px - 75px);
}
.ass-div{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;

}

.select-asm-div{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

#product-image{
    display: flex;
    justify-content: center;
    align-items: center;
    /*width: 30vw;*/
    /*height: 30vw;*/
    width: 30vw;
    height: 30vw;
    /*border: 1px solid #ccc*/
}

.product-img{
    max-height: 200px;
    max-height: 200px;
}
.product-image{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}
#qtyInput{
    border: none;
    border-bottom: 2px solid #ccc ;
    font-size: 28px;
    max-width: 180px;
    text-align: center;
    margin-bottom: 2rem;
}

button {
    /*border-color: darkgray;*/
    border: 2px solid darkgray;
    border-radius: 5px;
    background-color: rgb(240, 240, 240);
    height: fit-content;
    width: fit-content;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    /*min-width: 120px;*/
    margin: 5px;
    font-size: 1rem;
}

button:disabled {
    border-color: lightgray;
    /*border-radius: 5px;*/
    background-color: rgba(254, 254, 254, 0.5);
    cursor: not-allowed;
}

.hidden{
    display: none;
}

.visible{
    display: block;
}

.history-div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    width: 100%;
    border: 1px solid grey;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 5px;
}

.list-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.list-item{
    border-bottom: 1px solid #ccc;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    font-size: 24px;
}

.nav-bar {
    position: sticky;
    top: 0;
    width: 100%;
}

.search-span{
    display: flex;
    height: 30px;
    justify-content: center;
    align-items: center;
}

.search-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 40px;
    min-width: 30px;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 0;
    background: #ababab;
    margin-right: 10px;
}

.search-btn:active {
    transform: translateY(2px) scale(0.9);
    box-shadow: 2px 2px 12px 2px #757575
}

.search-input{
    width: 60%;
    min-width: 50px;
    height: 28px;
    padding: 0;
    margin-left: 10px;
}

.backdrop-active{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 100;
}

.backdrop-inactive{
    display:none;
    z-index: -1;
    background: rgba(0,0,0,0.0);

}

/*.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 40%;
    border-radius: 5px;
}*/


.history-headings-div{
    border-bottom: 5px solid #ccc;
    font-weight: bold;
    font-variant: petite-caps;
}

.history-code-heading{
    width: 80%;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-height: 57px;
    border-right: 1px solid #ccc;
}

.history-desc-heading{
    width: 80%;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-height: 57px;
    /*border-right: 1px solid #ccc;*/
}

.history-date-heading{
    width: 40%;
    min-width: 200px;
    border-left: 1px solid rgb(204, 204, 204);
    border-right: 1px solid rgb(204, 204, 204);
    display: flex;
    height: 100%;
    max-height: 57px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.history-qty-heading{
    width: 150px;
    height: 100%;
    max-height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

.history-actions-heading{
    width: 350px;
    height: 100%;
    max-height: 57px;
    min-width: 150px;
    display: flex;
    justify-content: center;
    border-left: 1px solid rgb(204, 204, 204);
    align-items: center;
}

.history-code{
    width: 80%;
    min-width: 200px;
    display: flex;
    justify-content: center;
}

.history-desc{
    width: 80%;
    min-width: 200px;
    display: flex;
    justify-content: flex-start;
    border-left: 1px solid rgb(204, 204, 204);
}

.history-date{
    border-left: 1px solid rgb(204, 204, 204);
    border-right: 1px solid rgb(204, 204, 204);
    width: 40%;
    min-width: 200px;
    display: flex;
    justify-content: center;
}

.history-qty{
    width: 150px;
    display: flex;
    justify-content: center;
    margin: 10px;
}

.history-actions{
    width: 350px;
    min-width: 150px;
    display: flex;
    justify-content: center;
    border-left: 1px solid rgb(204, 204, 204);
}

.asm-modal-item{
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid rgb(204, 204, 204);
}

.asm-desc-left{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    cursor: pointer;
    background-color: white;
}

.asm-desc-right{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 80px;
    border-left: 1px solid rgb(204, 204, 204);
}

.asm-list-wrapper{
    display: flex;
    flex-direction: column;
    max-height:50vh;
    min-height: 60px;
    overflow-y: auto;
    width: 100%;
}

.soh-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    width: 100%;
    border: 1px solid grey;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 5px;
}

.soh-headings{
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom: 5px solid #ccc;
    font-weight: bold;
    font-variant: petite-caps;
    height: 57px;
}

.soh-heading{
    width: 80%;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 10px;
}

.soh-code-heading{
    border-right: 1px solid #ccc;
}

.soh-desc-heading{
    border-right: 1px solid #ccc;
}

.soh-qty-heading{
    border-right: 1px solid #ccc;
}
.soh-image-heading{
    border-right: 1px solid #ccc;
}

.print-icon{
    color: black;
}
.print-icon:hover{
    cursor: pointer;
}

.soh-actions-heading{
    border-right: 1px solid #ccc;
}

.soh-code{
    width: 80%;
    min-width: 150px;
    display: flex;
    justify-content: center;
    padding: 10px;
}

.soh-desc{
    width: 80%;
    min-width: 150px;
    display: flex;
    justify-content: flex-start;
    border-left: 1px solid rgb(204, 204, 204);
    padding: 10px;
}

.soh-qty{
    width: 80%;
    min-width: 150px;
    display: flex;
    justify-content: center;
    border-left: 1px solid rgb(204, 204, 204);
    padding: 10px;
}

.soh-image{
    width: 80%;
    min-width: 150px;
    display: flex;
    justify-content: center;
    border-left: 1px solid rgb(204, 204, 204);
    padding: 10px;
}
.soh-actions{
    width: 80%;
    min-width: 150px;
    display: flex;
    justify-content: center;
    border-left: 1px solid rgb(204, 204, 204);
    padding: 10px;
}

.list-item.caution{
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba; 
}
.list-item.warning{
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}
.list-item.ok{
    /*    color: #856404;
        background-color: #fff3cd;
        border-color: #ffeeba; */
}

.utils-div{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    width: 100%;
    border: 1px solid grey;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 5px;
}

.utils-headings{
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom: 5px solid #ccc;
    font-weight: bold;
    font-variant: petite-caps;
    height: 57px;
}

.utils-heading{
    width: 80%;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 10px;
}

.utils-code-heading-div{
    border-right: 1px solid #ccc;
}

.utils-actions-heading-div{
    width: 100%;
}

.utils-code{
    width: 80%;
    min-width: 150px;
    display: flex;
    justify-content: center;
}

.utils-actions{
    width: 80%;
    min-width: 150px;
    display: flex;
    justify-content: center;
    border-left: 1px solid rgb(204, 204, 204);
}

.utils-print-icon{

}
/*.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}*/

.select-list-modal{
    font-family: "Lato", sans-serif;
}

.unleashed_btn {
    padding: 0 1em;
    height: 80px;
    outline: none;
    cursor: pointer;
    background: none;
    transition: 0.5s;
    font-size: 24px !important;
    border-radius: 5px;
    font-family: "Lato", sans-serif;
    font-weight: normal !important;
    box-shadow: none !important;
}
.unleashed_btn:hover {
    border: none !important;
    color: white;
    font-size: 28px;
    transform: scale(1.1);
}

/* Buttons */
.purple {
    border: 2px solid #512DA8;
    color: #512DA8;
}
.purple:hover {
    background-color: #512DA8;
    transition: all 0.3s ease-in-out;
}

.blue {
    border: 2px solid #1976D2;
    color: #1976D2;
}
.blue:hover {
    background-color: #1976D2;
    transition: all 0.3s ease-in-out;
}

.orange {
    border: 2px solid #FBC02D;
    color: #FBC02D;
}
.orange:hover {
    background-color: #FBC02D;
    transition: all 0.3s ease-in-out;
}

.brick {
    border: 2px solid #FF5722;
    color: #FF5722;
}
.brick:hover {
    background-color: #FF5722;
    transition: all 0.3s ease-in-out;
}

.green {
    border: 2px solid #8BC34A;
    color: #8BC34A;
}
.green:hover {
    background-color: #8BC34A;
    transition: all 0.3s ease-in-out;
}

.pink {
    border: 2px solid #F48FB1;
    color: #F48FB1;
}
.pink:hover {
    background-color: #F48FB1;
    transition: all 0.3s ease-in-out;
}

.paginator-div{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}