body{background:#f4f6f9;font-size:12px}
.rfq-card{
  background:#fff;
  border-radius:6px;
  box-shadow:0 0 6px rgba(0,0,0,.1);
  padding:12px;
  margin-bottom:12px;
}
.rfq-card h6{
  font-weight:600;
  color:#003366;
  border-bottom:1px solid #ddd;
  padding-bottom:4px;
  margin-bottom:8px;
}
.table-sm input{font-size:11px}
.addRow{padding:2px 6px}
.ui-autocomplete{
  z-index:9999;
  max-height:200px;
  overflow-y:auto;
  overflow-x:hidden;
}

.ui-autocomplete {
  position: absolute !important;
  z-index: 2147483647 !important;
}
table, td {
  overflow: visible !important;
}



.accordion-item{
    border:0;
    border-radius:7px !important;
    box-shadow:0 0 6px rgba(0,0,0,.10);
    overflow:visible;
}

.accordion-button{
    padding:10px 14px;
    font-size:13px;
    color:#003366;
    background:#fff;
}

.accordion-button:not(.collapsed){
    color:#fff;
    background:#003366;
    box-shadow:none;
}

.accordion-button:focus{
    box-shadow:none;
}

.accordion-body{
    padding:14px;
}

.step-number{
    display:inline-flex;
    width:24px;
    height:24px;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#003366;
    color:#fff;
    margin-right:8px;
}

.accordion-button:not(.collapsed) .step-number{
    background:#fff;
    color:#003366;
}

/* ======================================================
   ITEM DESCRIPTION + ITEM CODE DROPDOWN
====================================================== */

.item-desc-dropdown{
    background:#fff;
    border:1px solid #bfc7d1;
    border-radius:4px;
    box-shadow:0 4px 12px rgba(0,0,0,.18);

    max-height:300px;
    overflow-y:auto;
    overflow-x:hidden;

    padding:0 !important;

    z-index:2147483647 !important;
}


/* ======================================================
   JQUERY UI ITEM RESET
====================================================== */

.item-desc-dropdown .ui-menu-item{
    padding:0 !important;
    margin:0 !important;
}


.item-desc-dropdown .ui-menu-item-wrapper{
    padding:0 !important;
    margin:0 !important;

    border:0 !important;

    background:transparent !important;

    color:inherit !important;
}


/* ======================================================
   RESULT ROW
====================================================== */

.item-desc-result{
    padding:7px 10px;

    border-bottom:1px solid #eee;

    cursor:pointer;

    font-size:12px;
    line-height:18px;

    background:#fff;
}


/* LAST RESULT BORDER REMOVE */

.item-desc-result:last-child{
    border-bottom:0;
}


/* ======================================================
   MOUSE HOVER
====================================================== */

.item-desc-result:hover{
    background:#eef5ff;
}


/* ======================================================
   JQUERY UI ACTIVE / KEYBOARD SELECT
====================================================== */

.item-desc-dropdown
.ui-menu-item-wrapper.ui-state-active{

    padding:0 !important;
    margin:0 !important;

    border:0 !important;

    background:transparent !important;

    color:inherit !important;
}


.item-desc-dropdown
.ui-menu-item-wrapper.ui-state-active
.item-desc-result{

    background:#eef5ff;
}


/* ======================================================
   ITEM CODE
====================================================== */

.desc-code{
    font-weight:600;

    color:#003366;

    font-size:11px;

    margin-bottom:2px;
}


/* ======================================================
   DESCRIPTION
====================================================== */

.desc-text{
    white-space:normal;

    word-break:break-word;
}


/* DESCRIPTION HTML FORMATTING */

.desc-text p{
    margin:0 0 3px 0;
}


.desc-text p:last-child{
    margin-bottom:0;
}


.desc-text ul,
.desc-text ol{
    margin:3px 0;

    padding-left:20px;
}


.desc-text li{
    margin:0;
    padding:0;
}


/* ======================================================
   SCROLLBAR
====================================================== */

.item-desc-dropdown::-webkit-scrollbar{
    width:6px;
}


.item-desc-dropdown::-webkit-scrollbar-thumb{
    background:#aaa;
    border-radius:5px;
}


.item-desc-dropdown::-webkit-scrollbar-track{
    background:#f5f5f5;
}
