/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
Created on : Aug 7, 2017, 7:16:25 PM
Author     : Andrew K
*/

.alert{
    font-size: 14px;
}

.bg-transparent{
    background-color: transparent !important;
}

.has-sub>a>span{
    font-weight: bold;
    text-transform: uppercase;
    font-size: 11px;
}

.single-menu>a>span{
    font-weight: bold;
    text-transform: uppercase;
    font-size: 11px;
}

.close{
    font-size: 20px;
    line-height: 0.7;
}

.user-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.user-box{
    min-width: 242px;
    max-width: 242px;
    flex: 1 0 20%;
    margin: 5px;
    display: inline-block;
    padding: 20px;
    box-shadow: 0px 0px 1px 0px #cccccc;
    transition: all 0.4s cubic-bezier(0.37, 0.35, 0, 0.97);
    cursor: pointer;
}

.user-box:hover{
    background: #f7f7f7;
    box-shadow: 5px 5px 11px 0px #cccccc;
    // transform: rotate(30deg) translateY(110px) translateX(-158px);
}

.user-box.selected{
    width: 50%;
    height: 50%;
    transform: scale(1.1);
    transform-origin: center;
    z-index: 99;
    transition: all 0.4s cubic-bezier(0.37, 0.35, 0, 0.97);
    background: #f7f7f7;
    box-shadow: 5px 5px 11px 0px #cccccc;
}

.user-box.selected .user-box-design{
    transform: rotate(30deg) translateY(110px) translateX(-158px);
}

.user-box-extra{
    display: none;
}

.user-box.selected .user-box-extra{
    display: block;
}

.close-box{
    display: none;
}

.user-box.selected .close-box{
    display: block;
    color: white;
    padding: 20px;
    right: 0;
    top: 0;
    position: absolute;
    z-index: 99;
}

.user-box:hover .user-box-design{
    transform: rotate(30deg) translateY(110px) translateX(-158px);
    transition: all 0.4s cubic-bezier(0.37, 0.35, 0, 0.97);
}

.user-box-design{
    right: -260px;
    top: -40px;
    width: 140px;
    height: 160px;
    position: absolute;
    background: #333333;
    box-shadow: 0px 3px 10px 2px #cccccc;
    transition: all 0.4s cubic-bezier(0.37, 0.35, 0, 0.97)
}

.user-search{
    padding: 2px;
    display: flex;
    flex-flow: row wrap;
}

.user-search>input{
    padding-left: 46px;
    margin-right: 10px;
    flex: 1;
}

.user-search>span{
    right: auto;
}

.user-search>a{
    line-height: 30px;
}

.table-permission{

}

.table-permission th, .table-permission td{
    text-align: center;
    white-space: nowrap;
}

.table-permission th:first-child{
    width: 200px;
}

.table-permission th:not(:first-child){
    width: 100px;
}

.table-permission th:last-child{
    width: auto;
}

.price-inline{
    display: flex;
}

.price-inline>input{
    flex-grow: 1;
}

.price-inline>input:not(:last-child){
    margin-right: 10px;
}

.price-inline>span{
    flex-grow: 1;
    width: auto !important;
}

.price-inline>span:not(:last-child){
    margin-right: 10px;
}

.select2-selection{
    height: 46px;
}

.select2-selection__rendered{
    line-height: 46px !important;
}

.select2-selection__arrow{
    height: 46px !important;
}

.clickable{
    -webkit-user-select: none; /* Chrome/Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
    color: #007aff;
}

.remove-clickable{
    -webkit-user-select: none; /* Chrome/Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
    color: #db1717;
}

.clickable:hover,.remove-clickable:hover{
    cursor: pointer;
    opacity: .7;
}

.text-header-center>thead>tr>th{
    text-align: center;
}

.file-input-preview{
    position: absolute;
    left: -99999px;
}

.owl-stage-outer{
    border: 2px dashed #cccccc;
}

.unit-details{
    display: table;
    height: 166px;
    width: 100%;
}

.unit-box{
    display: table-cell;
    vertical-align: middle;
    width: 50%;
    text-align: center;
}

.unit-box:first-child{
    border-right: 1px solid #eeeeee;
}

.unit-label{
    font-size: 30px;
    opacity: .7;
}

.component{
    margin-bottom: 15px;
    padding: 0;
    box-shadow: 1px 1px 3px 0.5px #cccccc;
}

.component img{
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.component-qty{
    font-size: 30px; 
    line-height: 90px;
}

.component-delete{
    position: absolute;
    top: 0;
    right: 0;
    padding: 2px 6px 3px 6px;
    background: #ff3b30;
    cursor: pointer;
    color: white;
}

.flat-table .flat-table-header th{
    // padding: 20px 30px;
    font-size: 12px;
    font-weight: bold;
    background-color: rgb(0, 122, 255);
    color: white;
    border-bottom: none !important;
    // box-shadow: 0px 4px 4px 0 #cccccc;
}

.flat-table .flat-table-content{
    min-height: 500px;
}

.flat-table tr:hover td{
    background-color: #f5f5f5;
    cursor: pointer;
    // height: 80px;
    // padding: 30px;
    // border-bottom: 1px solid #cccccc;
}

.input-search{
    position: relative;
}

.input-search>i{
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px;
    font-size: 15px;
    color: #007aff;
    cursor: pointer;
}

.table-row-middle>tbody>tr>td{
    vertical-align: middle;
    padding-left: 9px;
    padding-right: 9px;
}

.f-s-30{
    font-size: 30px !important;
}

.btn-action{
    transition: none;
    padding: 11px 17px;
}

.minimize{
    cursor: pointer;
}

.anim{
    max-height: 500px;
    overflow: hidden;
    transition: .5s all cubic-bezier(0.4, 0.0, 0.2, 1);
}

.anim-0{
    max-height: 0;
    overflow: hidden;
    transition: .5s all cubic-bezier(0.0, 0.0, 0.2, 1);
}

.flat-table tr{
    // height: 85px;
}

.flat-table td{
    vertical-align: middle !important;
}

.flat-table td:first-child{
    padding-left: 30px;
}

.flat-table td:last-child{
    width: 15%;
}

.selectable{
    cursor: pointer;
    opacity: .7;
}

.badge{
    padding: 3px 6px !important;
}

.isActive{
    opacity: 1;
}

.validate-cart{
    height: 463px;
    width: 100%;
    position: absolute;
    background: white;
    z-index: 999;
    display: none;
}

.cart-item{
    font-family: 'Roboto';
    height: 88px;
    display: table;
    width: 100%;
    position: relative;
}

.view-details:hover{
    cursor: pointer;
}

.send-to-cart{
    font-size: 16px;
    color: #007aff;
    cursor: pointer;
}

.cart-item-extra{
    background: #343434;
    position: absolute;
    padding: 10px;
    box-shadow: 0px 0px 5px 0px #cccccc;
    display: none;
    z-index: 80;
    left: 10px;
    border-radius: 2px;
}

.cart-item-extra span{
    // display: block;
    color: #fff;
}

.cart-item-trash>i{
    color: #bd0e0e;
    font-size: 15px;
}

.cart-item-details{
    margin: 0px 30px;
    border-bottom: 1px solid #cccccc;
}

.cart-item-div{
    display: table-cell;
    width: 100%;
    vertical-align: middle;
}

.cart-item-div>.item-name{
    font-weight: bold;
    font-size: 16px;
    display: block;
}

.cart-item-div>.item-qty{
    font-size: 12px;
}

.cart-item-type{
    line-height: 88px;
    vertical-align: middle;
    display: table-cell;
}

.stockin{
    color: #00b900;
}

.stockout{
    color: #bd0e0e;
}

.cart-item-trash{
    position: absolute;
    top: 40%;
    left: -15px;
}

.cart-item:hover .cart-item-trash{
    transition: all .3s cubic-bezier(0, 1.21, 1, 1);
    left: 10px;
    color: #bd0e0e;
    cursor: pointer;
}

.cart-process{
    width: 100%;
    background: rgb(128, 128, 128);
    opacity: .5;
    height: 100%;
    position: absolute;
    z-index: 99;
}

.cart-process>.spin{
    position: absolute;
    top: 40%;
    text-align: center;
    color: white;
    left: 33%;
}

.cart-process>.spin>span{
    color: white;
    font-size: 15px;
    font-weight: bold;
    display: block;
    font-family: "Roboto";
    padding: 10px;
}

.panel-bar{
    box-shadow:0 2px 5px 0px #cccccc;
    display: flex;
    padding: 10px;
}

.btn-panel-bar{
    padding: 15px 20px;
    text-align: left;
    transition: none;
}

.role-card{
    padding: 20px 32px;
    width: 100%;
    box-shadow: 0px 0px 1px 0px #cccccc;
    cursor: pointer;
    margin-bottom: 5px;
}

.role-card:hover{
    background: #f7f7f7;
}

.role-card.selected{
    background: #f7f7f7;
}

.role-card i{
    line-height: 18px;
    color: #00b900;
}

.form-group{
    position: relative;
}

.validate-pass{
    position: absolute;
    top: 41%;
    font-size: 15px;
    padding: 10px;
    background: transparent;
    right: 2px;
    color: #00b900;
}

.validate-fail{
    position: absolute;
    font-size: 15px;
    background: transparent;
    color: #bd0e0e;
    top: 0;
    right: 2px;
    margin-top: 37px;
    margin-right: 10px;
}

.validate-msg{
    list-style-type: none;
    color: #bd0e0e;
    margin-top: 5px;
}

.assembleproject-details{
    flex: 1;
    padding: 15px;
    font-size: 16px;
}

.assembleproject-details>p{
    margin: 0;
}

.assembleproject-date{
    font-size: 14px;
}

.project-list{
    font-size: 15px;
}

.component-item{
    padding: 20px; 
    border-bottom: 1px solid #cccccc;
}

.component-item-stack-item{
    margin-bottom: 10px;
}

.component-item-title{
    display: flex;
    font-size: 16px;
    margin-bottom: 10px;
}

.component-item-title>div>span{
    display: block;
}

.add-to-cart{
    margin-left: auto;
}

.component-item-detail{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.component-item-detail>span{
    padding-right: 10px;
}

.component-item-totalqty{
    font-size: 15px;
    font-weight: 600;
}

.component-item-stack-done{
    display: none;
}

.component-item-input{
    display: flex;
    align-items: center;
}

.component-item-input>span{
    padding-right: 10px;
    max-width: 67px;
    min-width: 67px;
}

.component-item-stack{
    font-size: 1.4rem;
}

@media (max-width: 425px) {
    .user-search>input{
        margin-right: 0;
    }

    .user-search>a{
        flex-basis: 100%;
        margin-top: 10px;
        height: 46px;
    }
}

.tile-image{
    display: inline-flex;
    width: 176px;
    height: 176px;
    flex-direction: column;
    justify-content: center;
    border: 2px dashed #ccc;
    margin: 6.4px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.tile-image-span{
    text-align: center;
    opacity: .5;
    font-size: 12px;
    position: absolute;
    width: 175px;
}

.image-cancel{
    position: absolute;
    top: -2px;
    right: -2px;
    padding: 1px;
    background: #ff3b30;
    color: white;
    opacity: 0;
    cursor: pointer;
}

.tile-image:hover .image-cancel{
    opacity: 1;
}

.tile-image input{
    opacity: 0;
    position: absolute;
    left: -999999px;
}

.project-details p{
    font-size: 15px;
}

.project-item{
    box-shadow: 0px 2px 5px 0px #cccccc;
    padding: 10px;
    background: #fff;
    border-radius: 2px;
}

.cart-buttons{
    display: flex;
}

.cart-buttons button{
    flex: 1;
}

.cart-buttons button:first-child{
    margin-right: 10px;
}

.project_img{
    width: 176px; 
    height: 176px;
    object-fit: cover; 
    padding: 10px;
}

.project-actions{
    font-size: 15px;
    padding: 15px;
}

.project-actions p:last-child{
    margin: 0;
}

.rawpart-details>tbody>tr>td:nth-child(2n+1){
    background-color: #f2f2f2;
    font-weight: bold;
}

.upload-img p{
    text-align: center;
    margin: 16px 0;
    font-size: 14px;
}

.upload-img>div{
    display: flex;
}

.upload-img>div>button{
    flex: 1;
}

.remove-times{
    margin-left: 10px;
    line-height: 44px;
    font-size: 14px;
    color: #db1717;
}

.remove-times:hover{
    opacity: .7;
    cursor: pointer;
}

.p-last-margin-0>p:last-child{
    margin-bottom: 0;
}

.badge-stockin{
    background: #27ae60;
    font-size: 11px;
    width: 100%;
    border-radius: 4px;
}

.badge-stockout{
    background: #ae2727;
    font-size: 11px;
    width: 100%;
    border-radius: 4px;
}

.part-thumbnail{
    width: 70px; 
    height: 70px; 
    object-fit: cover;
}

.table{
    font-size: 13px;
}

.table-greybody>thead>tr>th{
    background-color: whitesmoke !important;
}



.table-grey th{
    background-color: whitesmoke !important
}

.shown > .more-details{
    /*background-color: #007aff !important;*/
    /*color: white;*/
}

.tbl-child{
    background-color: whitesmoke !important;
}

.tbl-child div.col-md-2{
    max-height: 400px;
    overflow-y: auto;
}

.filter-box{
    height: 46px;
    display: flex;
    align-items: center;
}

.filter-div{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.filter-div div:not(:last-child){
    flex: 1; 
    margin-right: 20px;
    margin-bottom: 10px;
}

@media (max-width: 425px) {
    .filter-div{
        flex-direction: column;
    }

    .filter-div div{
        margin-right: 0px !important;
    }
}

@media (max-width: 1184px) {
    .filter-div div:last-child{
        flex-basis: auto !important;
    }
}

.pr-title{
    font-weight: 600;
}

.pr-ul{
    list-style: none;
    padding: 0;
}

.pr-ul li{
    padding-bottom: 10px;
}

.pr-ul li input{
    margin-right: 5px;
}

.pr-ul-horizontal{
    display: inline-block;
    margin: 0;
    padding-left: 5px;
}

.pr-ul-horizontal li{
    display: inline-block;
    padding-bottom: 0;
    padding-right: 10px;
}

.d-flex{
    display: flex;
}

.pr-footer th{
    background-color: #e4e7e8 !important;
    -webkit-print-color-adjust: exact;
}

.table.border-black{
    border-color: #000 !important;
}

.table-prform>tbody>tr>td{
    border-color: #000 !important;
}

.table-prform>thead>tr>th{
    border-color: #000 !important;
    border-bottom: 1px solid #000 !important;
}

.no-wrap{
    white-space: nowrap;
}

.d-block{
    display: block;
}

.po-title{
    border-bottom: 1px solid #000;
    margin-bottom: 10px;
    margin-top: 40px;
    padding-bottom: 10px;
    font-weight: 600;
}

.po-address{
    margin-bottom: 10px;
}

.po-detail{
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    /*padding: 10px 0;*/
    margin: 0;
}

.po-detail strong{
    font-size: 15px;
}

.po-number-word{
    padding: 10px 0;
    text-transform: uppercase;
}

.po-total-amount{
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 10px 0;
    margin: 0;
}

.po-payment{
    padding: 10px 0;
    margin: 0;
    border-bottom: 1px solid #000;
}

.po-payment strong{
    font-size: 15px;
}

.po-footer{
    border-bottom: 1px solid #000;
    padding: 10px 0;
    margin: 0;
}

.po-detail .table-detail td:last-child{
    border: 2px solid #000;
    border-left: none;
    padding: 10px;
}

.po-detail .table-detail td:nth-last-child(2){
    border: 2px solid #000;
    border-right: none;
    padding: 10px;
}

[contenteditable=true]:empty:before {
  content: attr(placeholder);
  display: inline-block; /* For Firefox */
  opacity: .5;
}

.more-details:hover{
    cursor: pointer;
}

.table-rawpart td:nth-child(5), .table-rawpart td:nth-child(6), .table-rawpart td:nth-child(7){
    white-space: unset;
}

.table-compact td, .table-compact th{
    padding: 10px
}

/*Printing PR form*/
@media print {
    body {
        transform: scale(1.0);
        margin: -10px;
    }
    .btn-scroll-to-top {
        display: none!important;
    }
    .page-header {
        display: none!important
    }
    .p-20 {
        padding: 0!important
    }
    .btn-hidden {
        display: none
    }
    .content,
    .page-header-fixed,
    body {
        padding: 0!important;
        margin: 0!important
    }
    .header,
    .hidden-print,
    .sidebar,
    .sidebar-bg,
    .theme-panel {
        display: none!important
    }
    .invoice-company {
        border-bottom: 1px solid #e2e7eb!important;
        margin-bottom: 20px!important
    }
    .invoice .invoice-from,
    .invoice .invoice-to {
        float: left!important;
        display: inline!important;
        width: 25%!important;
        margin: 0!important
    }
    .invoice .invoice-date {
        float: right!important;
        margin: 0!important;
        width: 25%!important;
        display: inline!important;
        text-align: right!important
    }
    .invoice-price,
    .invoice-price .invoice-price-left .sub-price,
    .table-responsive {
        display: block!important;
        float: left!important
    }
    .invoice-header {
        margin: 0!important;
        padding: 0!important
    }
    .table-responsive {
        border: none!important;
        width: 100%!important;
        margin-top: 10px!important
    }
    .invoice-price {
        margin-top: 20px!important;
        border: 1px solid #e2e7eb!important;
        width: 100%!important
    }
    .invoice .invoice-price .invoice-price-left,
    .invoice .invoice-price .invoice-price-right {
        display: block!important;
        float: left!important;
        width: 75%!important
    }
    .invoice .invoice-price .invoice-price-right {
        width: 25%!important
    }
    .invoice-price .invoice-price-right {
        text-align: right!important;
        color: #2d353c!important
    }
    .invoice-price .invoice-price-left .sub-price {
        margin-top: 5px
    }
    .invoice-footer,
    .invoice-note {
        float: left!important;
        width: 100%!important
    }
    .container,
    body {
        min-width: inherit!important
    }
    .breadcrumb{
        display: none!important
    }
}