
.tbl_index,.tbl_index td,.tblFilterResult,.tblFilterResult td
{
    border: none !important;
}
.tbl_index .right-panel
{
    min-height: 280px;
}
.lblSearch
{
    min-width: 100px;
    margin-bottom: 15px;
    margin-top: 15px;
}
.searchItemRow
{
    margin-bottom: 10px;
}

.spCharCounter
{
    vertical-align: text-top;
    margin-left: 5px;
    font-size: 12px;
}
.ui-autocomplete
{
    line-height: 1.5;
}
.navbar
{
    margin-bottom: 7px;
}
.toolbar
{
    background-color: #f0e8e8;
}
.toolbar .glyphicon {
    font-size: 20px;
}
.toolbar .navbar-btn.btn-sm
{
    margin-bottom: 0;
    margin-top: 0;
}
.left-logo img
{
    width:30px;
}
.loadingImage
{
    width: 20px;
    height: 20px;
}
.li-lang a
{
    font-size: 11px;
    text-align: center;
}
.li-lang img
{
    width: 25px;
}
.ui-widget.ui-widget-content{
    z-index: 10000;
}
.searchResultCount
{
    text-align: right;
    padding-top: 15px;
    font-family: tahoma;
    font-size: 12px;
    font-weight: bold;
}
.ui-autocomplete-loading { background:url('../imgs/loading.gif') no-repeat right center;background-size:20px 20px  }
.li_emptySuggestion
{
    font-size: 10px;
    color: gray;

}
.li_suggestionHeader
{
    font-size: 11.5px;
    background-color: #f0eded;
    padding-bottom: 4px;
    text-align: center;
    font-weight: bold;
}
#versionModal
{
    font-family: tahoma;text-align: right;direction: rtl
}
#versionModal li
{
    line-height: 2;
}

/** from main and head **/
		
  
  
    .lock {
            padding-left: 2px;
            color: green;
            font-size: 1.5em!important;
        }

   /* main.php */
        .product_body
        {
            line-height: 1.5;
            margin-bottom: 20px;
            padding-top: 10px;
            padding-bottom: 10px;
            border-radius: 5px;
        }
        .product_body:hover
        {
            background-color: #f2f2f2;
            cursor: pointer;
        }
        .product-img
        {
            border: 5px solid white;
            box-shadow: 1px 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
            width: 100px;
            height: 100px;
            margin-bottom: 10px;
        }
        .a_product
        {
            text-decoration: none !important
        }
        .card-base > .card-icon {
            text-align: center;
            position: relative;
        }

        .imagecard {
            z-index: 2;
            display: block;
            positioN: relative;
            width: 88px;
            height: 88px;
            border-radius: 50%;
            border: 5px solid white;
            box-shadow: 1px 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
            margin: 0 auto;
            color: white;
        }
        .card-base > .card-icon > .card-data {
            min-height: 250px !important;
            margin-top: -24px;
            background: ghostwhite;
            border: 1px solid #e0e0e0;
            padding: 15px 0 10px 0;
            box-shadow: 1px 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
            min-height: 215px;
        }
        #widgetCardIcon {
            background: #bb7824 !important;
            font-size: 28px;
            line-height: 78px;
        }
        #messageModal ul {
            display: inline-block;
        }

        #messageModal li
        {
            display: inline-list-item;
        }

  
  
  		/* view_vehicle.php */
  		tr.line{
  			border-top:1px solid black; 
  			border-bottom:1px solid black;
			}
		td.line{
  			border-right:1px solid black;
			}
  		 
    


 /**** end ******/
.navbar-nav {
    margin: 7.5px 0px!important;
	
}

.nav>li {
    
    display: inline-block!important; 
}
@media screen and (max-width: 479px) {



    .input-group-addon {
        min-width: 110px;
    }
    .frm_search
    {
        margin-bottom: 10px;
    }
    .nav > li
    {
        display: inline-block;
    }
    .navbar-header
    {
        
    }
    .navbar-nav
    {
        display: inline-block;
    }
    .navbar-right
    {
        
    }
}


/* =========================================================
   VIN RESULT - Bootstrap 3 responsive layout
   ========================================================= */

.vin-search-box {
    background-color: #B8B8B8;
    margin: 15px 0 15px 0;
    padding: 10px;
}

.vin-result-title {
    margin: 3px 0 15px 0;
}

.vin-result {
    margin-bottom: 20px;
}

.vin-result .panel {
    margin-bottom: 20px;
}

.vin-result .panel-heading {
    font-weight: bold;
}

.section-title {
    margin-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #999;
}

.sub-section-title {
    margin-top: 15px;
    margin-bottom: 8px;
}

@media (max-width: 767px) {

    .vin-search-box {
        margin-left: -15px;
        margin-right: -15px;
    }

    .vin-result .panel-body {
        padding: 10px;
    }

    .vin-result .panel-body {
        word-break: break-word;
    }

}

/*

* Responsive layout for view_veh_major.php
* Bootstrap 3
  */

/* =========================================
GENERAL
========================================= */

.view-veh-major {
width: 100%;
}

.view-veh-major .major-content {
margin-left: -15px;
margin-right: -15px;
}

/* =========================================
HORIZONTAL SCROLL
========================================= */

.view-veh-major .horizontal-scroll {
width: 100%;
overflow-x: auto;
overflow-y: hidden;


-webkit-overflow-scrolling: touch;

/*
 * scrollbar در دسکتاپ قابل مشاهده است
 * و در موبایل نیز امکان swipe وجود دارد
 */


}

.view-veh-major .horizontal-scroll-content {


/*
 * جلوگیری از شکستن آیتم‌ها به خط بعد
 */
display: inline-flex;

flex-wrap: nowrap;

/*
 * باعث می‌شود محتوا حداقل عرض لازم
 * برای نمایش تمام آیتم‌ها را داشته باشد
 */
min-width: max-content;

/*
 * فاصله بین آیتم‌ها
 */
align-items: flex-start;


}

/* =========================================
MAJOR SECTION
========================================= */

.view-veh-major .major-section-column {
padding-bottom: 20px;
border-bottom: 1px dashed #999;
}

.view-veh-major .major-section-scroll {
padding-bottom: 10px;
}

/*

* خروجی major_section_button ممکن است
* خودش inline/block باشد.
*
* این قانون اجازه نمی‌دهد آیتم‌ها
* در عرض افقی فشرده یا شکسته شوند.
  */

.view-veh-major .major-section-scroll .horizontal-scroll-content > * {
flex: 0 0 auto;
}

/* =========================================
MINOR SECTION
========================================= */

.view-veh-major .minor-section-column {
padding-bottom: 20px;
border-bottom: 1px dashed #999;
}

.view-veh-major .minor-section-scroll {
padding-bottom: 10px;
}

/*

* خروجی minor_section_button
  */

.view-veh-major .minor-section-scroll .horizontal-scroll-content > * {
flex: 0 0 auto;
}

/*

* چون کد اصلی برای هر minor یک <br/>
* تولید می‌کند، br نباید layout افقی را
* خراب کند.
  */

.view-veh-major .minor-section-scroll br {
display: none;
}

/* =========================================
GRAPHIC INDEX
========================================= */

.view-veh-major .graphic-index-column {
padding-bottom: 20px;
}

.view-veh-major .graphic-index-image {
max-width: 100%;
height: auto;
}

/* =========================================
HEADINGS
========================================= */

.view-veh-major h3.group {
margin-top: 10px;
margin-bottom: 15px;
}

/* =========================================
RESPONSIVE
========================================= */

@media (min-width: 992px) {


/*
 * جداکننده بین بخش‌ها دیگر عمودی نیست،
 * چون Major و Minor تمام عرض را می‌گیرند.
 */

.view-veh-major .major-section-column,
.view-veh-major .minor-section-column {
    border-right: none;
}


}

@media (max-width: 991px) {


.view-veh-major .major-section-column,
.view-veh-major .minor-section-column {
    border-right: none;
}


}

/* =========================================
IMAGES
========================================= */

.view-veh-major img {
max-width: 100%;
height: auto;
}

/* =========================================================
Microcat - View Vehicle Parts
Bootstrap 3 responsive adjustments
========================================================= */

/* =========================================================
PAGE
========================================================= */

.view-veh-parts-page {
padding-top: 10px;
padding-bottom: 90px;
}

/* =========================================================
MINOR SECTIONS
FIXED AT BOTTOM
========================================================= */

.minor-sections-panel {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 1030;


width: 100%;
margin-bottom: 0;

background-color: #fff;
border-top: 1px solid #ddd;

box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.08);


}

.minor-sections-title {
cursor: pointer;


padding: 8px 10px;

border: 0;
border-bottom: 1px solid #ddd;

background-color: #f5f5f5;


}

.minor-sections-title h3.group {
margin-top: 0;
margin-bottom: 0;
line-height: 1.4;
}

.minor-sections-toggle-icon {
margin-left: 10px;
}

.minor-sections-scroll {
width: 100%;


overflow-x: auto;
overflow-y: hidden;

-webkit-overflow-scrolling: touch;

padding-top: 10px;
padding-bottom: 8px;


}

.minor-sections-track {
display: flex;
flex-wrap: nowrap;
align-items: flex-start;


width: max-content;
min-width: 100%;

gap: 10px;


}

.minor-section-item {
flex: 0 0 auto;


width: 130px;

text-align: center;


}

.minor-section-item img {
max-width: 100%;
height: auto;
}

.minor-section-item a,
.minor-section-item button {
max-width: 100%;
}

/* =========================================================
SECTION HEADER
TOP OF PAGE
========================================================= */

.section-header {
margin-bottom: 15px;
}

.section-header h3.group {
margin-top: 0;
margin-bottom: 10px;
line-height: 1.4;
}

/* =========================================================
PNC + IMAGE
DESKTOP
========================================================= */

.pnc-image-row {
display: flex;
align-items: flex-start;


width: 100%;
margin-bottom: 20px;


}

/* PNC = 35% */

.pnc-column {
flex: 0 0 35%;
max-width: 35%;


padding-right: 10px;


}

/* IMAGE = 65% */

.image-column {
flex: 1 1 65%;
min-width: 0;


padding-left: 10px;


}

/* =========================================================
IMAGE
NATURAL SIZE + HORIZONTAL SCROLL
========================================================= */

.parts-diagram-wrapper {
width: 100%;
max-width: 100%;


overflow-x: auto;
overflow-y: hidden;

-webkit-overflow-scrolling: touch;


}

.parts-diagram-image-wrapper {
width: max-content;
min-width: 100%;
}

.parts-diagram-image {
display: block;


width: auto;
max-width: none;
height: auto;

border: 1px solid #000;


}

/* =========================================================
GENERIC COLLAPSE
========================================================= */

.collapse-panel {
width: 100%;
}

.collapse-panel-title {
cursor: pointer;


padding: 8px 10px;

border: 1px solid #ddd;

background-color: #f5f5f5;

min-height: 36px;
line-height: 20px;


}

.collapse-toggle-icon {
margin-left: 10px;
}

/* =========================================================
PNC LIST
DESKTOP
NO HEIGHT LIMIT
========================================================= */

.pnc-list-wrapper {
width: 100%;
max-width: 100%;


overflow-x: auto;
overflow-y: visible;

border: 1px solid #ddd;

padding: 5px;


}

.pnc-list-wrapper table {
width: 100%;
max-width: 100%;


margin-bottom: 0;


}

.pnc-list-wrapper img {
max-width: 100%;
height: auto;
}

/* =========================================================
PNC IMAGE LIST
========================================================= */

table.pnc_image_list {
width: 100%;
max-width: 100%;
}

table.pnc_image_list td {
border-bottom: 1px solid #E1E1E1;
}

table.pnc_image_list td.pnc_name {
min-width: 200px;
max-width: 250px;
}

table.pnc_image_list tr.sector {
background-color: #F0F0F0;
}

/* =========================================================
VIN DATE WARNING
========================================================= */

.vin-date-warning {
margin-top: 15px;
margin-bottom: 15px;
}

/* =========================================================
PARTS LIST
DESKTOP
APPROX. 5 ROWS
========================================================= */

.parts-list-panel {
width: 100%;
margin-bottom: 25px;
}

.parts-list-section {
width: 100%;
max-width: 100%;


height: 230px;
max-height: 230px;

overflow-y: auto;
overflow-x: auto;

border: 1px solid #ddd;
padding: 5px;


}

.parts-list-section .table-responsive {
border: 0;
margin-bottom: 0;


overflow-x: auto;


}

table.parts_list {
width: 100%;
min-width: 850px;


margin-bottom: 0;


}

table.parts_list > thead > tr > th {
vertical-align: middle;
white-space: nowrap;
}

table.parts_list > tbody > tr > td {
vertical-align: top;
}

/* PNC */

table.parts_list td:first-child {
white-space: nowrap;
}

/* Quantity */

table.parts_list th:nth-child(3),
table.parts_list td:nth-child(3) {
text-align: center;
white-space: nowrap;
}

/* Dates */

table.parts_list th:nth-child(6),
table.parts_list th:nth-child(7),
table.parts_list td:nth-child(6),
table.parts_list td:nth-child(7) {
white-space: nowrap;
}

/* =========================================================
PART INFORMATION
========================================================= */

.part_replaced {
color: #7A2121;
}

.part_type {
color: #535353;
font-weight: bold;
}

.local {
color: #535353;
}

.country_iso_codes {
color: #535353;
}

/* =========================================================
COMPATIBILITY
========================================================= */

.ucc_type {
color: #535353;
font-weight: bold;
}

.options,
.options_minus,
.options_colors {
font-weight: bold;
text-decoration: underline;
}

.options {
color: #535353;
}

.options_minus {
color: #7A2121;
}

.options_colors {
color: #004A93;
}

/* =========================================================
LEGACY DEBUG
========================================================= */

.legacy-debug-area {
display: none;
}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 991px) {


.view-veh-parts-page {
    padding-left: 10px;
    padding-right: 10px;

    padding-bottom: 90px;
}

.pnc-column {
    flex-basis: 35%;
    max-width: 35%;
}

.image-column {
    flex-basis: 65%;
}

.parts-list-section {
    height: 210px;
    max-height: 210px;
}


}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 767px) {


.view-veh-parts-page {
    padding-left: 5px;
    padding-right: 5px;

    padding-bottom: 80px;
}


/* Minor Sections */

.minor-sections-scroll {
    overflow-x: auto;
    overflow-y: hidden;
}

.minor-sections-track {
    gap: 8px;
}

.minor-section-item {
    width: 120px;
}


/* Section Header */

.section-header h3.group {
    font-size: 18px;
}


/* PNC ABOVE IMAGE */

.pnc-image-row {
    display: block;
}

.pnc-column,
.image-column {
    width: 100%;
    max-width: 100%;

    padding-left: 0;
    padding-right: 0;
}

.image-column {
    margin-top: 15px;
}


/* PNC */

.pnc-list-wrapper {
    max-height: 150px;

    overflow-y: auto;
    overflow-x: hidden;
}


/* =====================================================
   PARTS LIST
   VERTICAL + HORIZONTAL SCROLL
   ===================================================== */

.parts-list-section {
    width: 100%;

    height: 150px;
    max-height: 150px;

    overflow-y: auto;
    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}

.parts-list-section .table-responsive {
    width: 100%;

    overflow-x: auto;
    overflow-y: visible;

    -webkit-overflow-scrolling: touch;
}


/* Parts Table */

table.parts_list {
    min-width: 850px;
}

table.parts_list > thead > tr > th,
table.parts_list > tbody > tr > td {
    font-size: 12px;
}


/* PNC Table */

table.pnc_image_list td.pnc_name {
    min-width: 150px;
    max-width: 200px;
}


/* Image */

.parts-diagram-wrapper {
    width: 100%;
    max-width: 100%;

    overflow-x: auto;
    overflow-y: hidden;
}

.parts-diagram-image-wrapper {
    width: max-content;
    min-width: 0;
}

.parts-diagram-image {
    width: auto;
    max-width: none;
    height: auto;
}


}

/* =========================================================
VERY SMALL MOBILE
========================================================= */

@media (max-width: 480px) {


.view-veh-parts-page {
    padding-left: 2px;
    padding-right: 2px;

    padding-bottom: 75px;
}

.minor-section-item {
    width: 110px;
}

.section-header h3.group {
    font-size: 16px;
}

.pnc-list-wrapper {
    max-height: 140px;
}

.parts-list-section {
    height: 140px;
    max-height: 140px;
}


}



/* =========================================
   VIEW VEHICLE
   ========================================= */


/* =========================================
   GENERAL TABLE
   ========================================= */

tr.line{
  border-top:1px solid black;
  border-bottom:1px solid black;
}

td.line{
  border-right:1px solid black;
}


/* =========================================
   VEHICLE DETAILS
   ========================================= */

.vehicle-details-table{
  margin-bottom:10px;
}

.vehicle-details-table > tbody > tr > td{
  padding:4px 6px;
  vertical-align:middle;
}

/* رنگ متفاوت سطرها */

.vehicle-details-table > tbody > tr:nth-child(odd){
  background-color:#f5f5f5;
}

.vehicle-details-table > tbody > tr:nth-child(even){
  background-color:#ffffff;
}


/* =========================================
   VEHICLE LABEL
   ========================================= */

.vehicle-label{
  width:275px;
  text-align:right;
  white-space:nowrap;
}


/* =========================================
   VEHICLE OPTIONS
   ========================================= */

.vehicle-option{
  padding:4px 6px !important;
}

.divlink{
  display:inline-block;
  margin-right:12px;
  margin-bottom:3px;
}


/* =========================================
   CATALOG IMAGE
   ========================================= */

.catalog-image{
  max-width:100%;
  height:auto;
}


/* =========================================
   FIXED LOAD BUTTON
   ========================================= */

.load-button-wrapper{
  position:fixed;
  left:0;
  right:0;
  bottom:0;

  z-index:1000;

  padding:10px 15px;

  background:rgba(255,255,255,0.95);

  border-top:1px solid #ccc;

  text-align:center;

  box-shadow:0 -2px 6px rgba(0,0,0,0.15);
}

.vehicle-submit{
  height:50px;
  width:200px;
}


/*
 * فضای اضافه پایین صفحه
 * تا محتوای آخر زیر دکمه fixed قرار نگیرد.
 */

body{
  padding-bottom:80px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width:767px){

  .vehicle-label{
    width:auto;
    text-align:left;
    white-space:normal;
  }

  .vehicle-options-table > tbody > tr > td{
    display:block;
    width:100% !important;
  }

  .vehicle-options-table > tbody > tr > td.line{
    border-right:none;
  }

  .vehicle-submit{
    width:100%;
  }

  .load-button-wrapper{
    padding:8px 10px;
  }

}


/* =========================================================
 * VIEW PART VEHICLES
 * Responsive styles
 * Bootstrap 3.3.7 compatible
 * ========================================================= */


/* =========================================================
 * SEARCH
 * ========================================================= */

.part-search-box
{
    background-color: #B8B8B8;
    margin: 0px 0 0px 0;
    padding: 10px;
}


/* =========================================================
 * TABLE
 * ========================================================= */

.parts-table
{
    width: 100%;
    margin-bottom: 20px;
}

.parts-table th,
.parts-table td
{
    vertical-align: middle !important;
}

.parts-table th
{
    white-space: nowrap;
}


/* =========================================================
 * PART NUMBER
 * ========================================================= */

.parts-table .part-number
{
    white-space: nowrap;
}

.part_replaced
{
    white-space: normal;
}


/* =========================================================
 * CATALOG
 * ========================================================= */

.parts-table .catalog-cell
{
    min-width: 80px;
    text-align: center;
}

.catalog-image-wrapper
{
    border: 1px solid black;
    display: inline-block;
    max-width: 100%;
}

.catalog-image-wrapper img
{
    max-width: 100%;
    height: auto;
}


/* =========================================================
 * VEHICLE
 * ========================================================= */

.parts-table .vehicle-cell
{
    min-width: 180px;
}


/* =========================================================
 * MAJOR / MINOR SECTION
 * ========================================================= */

.parts-table .section-cell
{
    min-width: 250px;
}

.part-section-link
{
    display: block;
    width: 100%;
    padding: 0;
    text-align: left;
    white-space: normal;
}

.part-section-link img
{
    float: left;
    height: 80px;
    max-width: 100%;
    margin-right: 8px;
    border: 1px solid black;
}


/* =========================================================
 * MOBILE
 * Bootstrap 3: xs
 * ========================================================= */

@media (max-width: 767px)
{
    .part-search-box
    {
        margin: 0px 0 0px 0;
        padding: 10px 5px;
    }

    .parts-table
    {
        font-size: 13px;
    }

    .parts-table th,
    .parts-table td
    {
        padding: 6px !important;
    }

    .parts-table th
    {
        white-space: normal;
    }

    .parts-table .section-cell
    {
        min-width: 220px;
    }

    .part-section-link img
    {
        height: 60px;
    }
}

