﻿/*Validation*/
.input-validation-error
{
  border: 1px solid #f00;
}
.input-validation-valid
{
  /* Optional: you can set whatever style you want */
}
.field-validation-error {
  color: #f00;
  font-size: 13px;
}
.field-validation-valid
{
  display: none;
}

.validation-summary-valid
{
  display: none;
}

.validation-summary-errors
{
  background-color: #F2DEDE;
  color: #B94A48;
  border: 1px solid #EED3D7;
  border-radius: 4px 4px 4px 4px;
  margin-bottom: 20px;
  padding: 8px 35px 8px 14px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.field-validation-error i {
  vertical-align: middle;
}

.control-group.error > label, .control-group.error .help-block, .control-group.error .help-inline
{
  color: #B94A48;
}

/* Corr JTable */

.jTableNoBorder div.jtable-main-container > table.jtable {
    border-left: 1px solid #454545;
    border-top: 1px solid #454545;
    border-bottom: 1px solid #454545;
    border-right: 1px solid #dddddd;
}

.jTableNoBorder div.jtable-main-container > div.jtable-title 
{
  border-right: 1px solid #dddddd;
}
  
.jTableNoBorder div.jtable-main-container > table.jtable > thead 
{
  border-right: 1px solid #dddddd;
}

div.jtable-main-container > div.jtable-bottom-panel span.jtable-page-info
{
  padding: 8px;
}

div.jtable-main-container > table.jtable > thead th.jtable-column-header div.jtable-column-header-container {
    height : auto !important;
    min-height: 24px;
    margin-left: 4px;
}

.jtable.sorttable tbody > tr{
  cursor: move;
}

/* Jtable two column form css */

.jtable-form-two-column {
  display: block;
  /*width: 450px;*/
  -moz-column-gap:40px;
  -webkit-column-gap:40px;
  column-gap:40px;
  -moz-column-count:2;
  -webkit-column-count:2;
  column-count:2;
  /*min-width : 500px;*/
}

.jtable-form-two-column .jtable-input-field-container {
    /*margin-bottom: 5px;
    display: block;*/
  display: table;
    float: none;
}


.jtableformcol1
 {
 float:left;
 padding: 5px 10px 5px 5px;
 width: 45%;
 }
 .jtableformcol2
 {
 float:right;
 padding: 5px 5px 5px 10px;
 width: 45%;
 }

.twoColumnForm form.jtable-dialog-form div.jtable-input-field-container
{
  float: left; width: 375px;
}

.twoColumnForm.ui-dialog .ui-dialog-content 
{
  max-width: 800px;
  }
  
  .custom_horizontal_form_field .jtable-input-field-container{
  width: 400px !important;
 }
 .custom_horizontal_form_field .jtable-input-field-container .jtable-input-label{
   width : 150px !important;
   float: left !important;
 }

/* Jtable title color salemen dashboard */

#QuotejTableContainer div.jtable-main-container > div.jtable-title {
    background-color: #500080;
}

#WOjTableContainer div.jtable-main-container > div.jtable-title {
    background-color: #008000;
}

#DTjTableContainer div.jtable-main-container > div.jtable-title {
    background-color: #eec000;
}

#InvoicejTableContainer div.jtable-main-container > div.jtable-title {
    background-color: #a00000;
}

/*JTable Child Table color*/

/* Second level*/

.jtable-child-table-container .jtable-title
 {
   background-color:#880000  !important;
 }
 
 .jtable-child-table-container .jtable-main-container
 {
   border: 2px solid #880000  !important;
 }
 
 .jtable-child-table-container .jtable-bottom-panel
 {
   border: 2px solid #880000  !important;
 }
 
  .jtable-child-table-container .jtable-bottom-panel .jtable-left-area
 {
   background-color:#880000  !important;
 }
 
 .jTableNoBorder .jtable-child-table-container div.jtable-main-container > div.jtable-title 
{
  border-right: 0px solid #880000;
}
  
.jTableNoBorder .jtable-child-table-container div.jtable-main-container > table.jtable > thead 
{
  border-right: 1px solid #454545;
}
 
 /* Third level*/

 .jtable-child-table-container .jtable-child-table-container .jtable-title
 {
   background-color:#CC3300  !important;
 }
 
 .jtable-child-table-container .jtable-child-table-container .jtable-main-container
 {
   border: 2px solid #CC3300  !important;
 }
 
 .jtable-child-table-container .jtable-child-table-container .jtable-bottom-panel
 {
   border: 2px solid #CC3300  !important;
 }
 
 .jtable-child-table-container .jtable-child-table-container .jtable-bottom-panel .jtable-left-area
 {
   background-color:#CC3300  !important;
 }

 .jTableNoBorder .jtable-child-table-container .jtable-child-table-container div.jtable-main-container > div.jtable-title 
{
  border-right: 0px solid #CC3300;
}
  
.jTableNoBorder .jtable-child-table-container .jtable-child-table-container div.jtable-main-container > table.jtable > thead 
{
  border-right: 1px solid #454545;
}

/* fourth level*/

 .jtable-child-table-container .jtable-child-table-container .jtable-child-table-container .jtable-title
 {
   background-color:#CC9900  !important;
 }
 
 .jtable-child-table-container .jtable-child-table-container .jtable-child-table-container .jtable-main-container
 {
   border: 2px solid #CC9900  !important;
 }
 
 .jtable-child-table-container .jtable-child-table-container .jtable-child-table-container .jtable-bottom-panel
 {
   border: 2px solid #CC9900  !important;
 }
 
 .jtable-child-table-container .jtable-child-table-container .jtable-child-table-container .jtable-bottom-panel .jtable-left-area
 {
   background-color:#CC9900  !important;
 }

.jTableNoBorder .jtable-child-table-container .jtable-child-table-container .jtable-child-table-container div.jtable-main-container > div.jtable-title 
{
  border-right: 0px solid #CC9900;
}
  
.jTableNoBorder .jtable-child-table-container .jtable-child-table-container .jtable-child-table-container div.jtable-main-container > table.jtable > thead 
{
  border-right: 1px solid #454545;
}

.jtable-child-table-container div.jtable-main-container > div.jtable-title .jtable-close-button {
    background: url("../Scripts/jtable/themes/metro/close_dark.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}

.jtable_sd_refresh
{
  color: #999ba2;
  font-size:1.2em;
  display: inline-block;
  height: 16px;
  margin: 2px;
  padding-bottom: 2px;
  vertical-align: middle;
  width: 20px;
  text-align : center;
}
.jtable_sd_refresh:hover
{
 color : #fff;
}

/*Profitability*/
.profitability
{
  /*background:#FF0000;*/
}

.profitability hr
{
  margin: 0;
}

.profitability .row-fluid [class*="span"]
{
  min-height: 0;
}

  .profitability .well {
    padding: 5px;
    margin-bottom: 3px;
    background-color: #F5F5F5;
  }

.profCarousel .well {
  margin-left: 3px;
  margin-right: 3px;
}

.profitability h3 > a
{
  color: #555555;
  display: inline-block; /*font-size: 14px;*/
  margin-right: 5px;
  text-decoration: none;
}

.profitability h3
{
  margin: 2px 0;
  float: left;
}

.profitability .container-fluid
{
  padding-left: 0px;
  padding-right: 0px;
}

.w80per
{
  width: 80%;
}

.w20per
{
  width: 20%;
}

/*Color*/

.progress-orange .bar, .progress .bar-orange {
    background-color: #EF9A1B;
    background-image: linear-gradient(to bottom, #FDA92C, #DB8402);
    background-repeat: repeat-x;
}

.progress-yellow .bar, .progress .bar-yellow {
    background-color: #FAE62B;
    background-image: linear-gradient(to bottom, #FDEB46, #F5DD02);
    background-repeat: repeat-x;
}


/*Color */
.cRed
{
  color: #FF0000;
}

.cBlue
{
  color: #0000FF;
}

.cDarkBlue
{
  color: #0000A0;
}

.cGreen
{
  color: #008000;
}

.cOrange
{
  color: #FFA500;
}

.cSilver
{
  color: #C0C0C0;
}

.cGray
{
  color: #808080;
}

.cBlack
{
  color: #000000;
}

.cWhite
{
  color: #FFFFFF;
}

/*Utils*/
.center
{
  text-align: center;
}

.hNoMarging
{
  margin: 0;
}

.tooltip
{
  text-shadow: none !important;
}

/*MonthPicker Patch*/
.hide-calendar .ui-datepicker-calendar {
  display: none;
}

/*Correction*/

/*BreadCrumb*/
.dashboard-report-range-container {
    margin-right: -20px;
}

.pdbbreadcrumb > li
{
  display:inline-block;
}

.dashboardyardstorecontainer
{
  /*cursor: pointer;
  margin-right: -10px;
  padding: 8px;
  */
  margin-top: -8px;
  text-shadow: none !important;
}

a.chartLegendLink {
 color : #545454;
}

  a.chartLegendLink:hover {
    text-decoration: none;
    color: #005580;
  }

 a.chartLegendLink:visited {
    text-decoration: none;
  }

.play_icon a i {
  text-decoration: none;
  color: #006400 !important;
  line-height: initial;
}

  .play_icon a i:focus {
    text-decoration: none;
    color: #228b22 !important;
  }

  .play_icon a i:active {
    text-decoration: none;
    color: #228b22 !important;
  }

  .play_icon a i:hover {
    text-decoration: none;
    color: #228b22 !important;
  }

.ui-multiselect.sdChartMultiSelectLong {
  /*background:#00FF00;*/
  width: 220px !important;
  min-height: auto;
  margin-bottom: 0px;
}

.ui-multiselect.sdChartMultiSelect {
  /*background:#00FF00;*/
  width: 110px !important;
  min-height: auto;
  margin-bottom: 0px;
}

.ui-multiselect-menu.sdChartMultiSelect, .ui-multiselect-menu.sdMultiSelect
{
   /*background:#FF0000;*/
   width:auto !important;
  }
  
    
  .ui-multiselect-menu button, 
  .ui-multiselect-menu input, 
  .ui-multiselect-menu select, 
  .ui-multiselect-menu textarea {
    vertical-align: baseline;
    margin-right: 5px;
}

.ui-multiselect-header ul li {
    float: left;
    padding: 0 10px 0 0;
    line-height: normal;
}

/*.ui-multiselect {
  min-height: 30px;
  margin-bottom: 10px;
}*/

.ui-multiselect-checkboxes label .checker {
  
  text-indent: 0px;
}

/*.ui-multiselect-checkboxes label {

background-color:#f00;

}*/

.chartholder {
  /* position :relative;
 height:100%;*/
}

.chartholder .label 
{
 padding : 1px 4px !important;
}

.labelcontener
{
  width: 100%;
  position: relative;
  margin: 0 auto; 
  /*line-height : 1.4em;
  background-color:#0000FF;*/
}
/*
.labelcontener:after
    {
        content: '';
        clear: both;
        display: block;
    }

.circle-stat .details:before
    {
        content: '';
        height: 100%;
        float: left;
    }
*/
.labelcontener > span
{
  margin-top: 2px;
}

.labelcontener .label > [class^="iconf-"], 
.labelcontener .label > [class*=" iconf-"] 
{
  height: 12px;
  width: 12px;
  background-size : contain;  
}

.mpchartinfoicon
{
  position: absolute;
  top: 2px;
  right: 2px;
  cursor: default;
}

.tooltip-inner {
    /*white-space:pre;
    max-width: none;*/
    display:block;
     text-align:left 
}

.widget-title .tools .tooltip-inner {
    white-space:pre;
    max-width: none;
    text-align:left 
}

.mpchartinfoicon > i {
  font-size: 20px;
  color: #555555;
  margin: 1px 2px 0px 0px;
}

.mpchartinfoicon > i:hover
{
  color: #006DCC; 

}

.widget-title > .tools > i {
    color: #555555;
    display: inline-block;
    font-size: 18px;
    margin-right: 5px;
    text-decoration: none;
    cursor: default;
}

.widget-title > .tools > i:hover {
 color: #006DCC;
}

.mpWidget {
    margin-left: 0 !important;
}

.circle-stat {
    padding-right: 3px;
    position :relative;
}

.circle-stat .details
{
  float: none !important;
  margin-left: 5px;
  padding-top: 0px;
  /*background-color:#FF0000*/
}
/*
.circle-stat .details .title 
{
  background-color: #00FF00;
}

.circle-stat .details .title {
    color: #777777;
    font-size: 15px;
    margin: 4px 0 5px !important;
    padding: 0 !important;
    text-shadow: 0 1px rgba(232, 232, 232, 0.75);
}
*/

.circle-stat .details .title{
  text-decoration: none;
}

.circle-stat .details .number
{
  color: #999999;
  font-size: 20px;
  font-weight: bold;
  margin: 4px 0 7px !important;
  padding: 0;
  text-shadow: 0 1px rgba(244, 244, 244, 0.85);
}


.circle-stat
{
  min-height: 30px;
}

.jtable-input select,
.jtable-input textarea,
.jtable-input input[type="text"],
.jtable-input input[type="password"],
.jtable-input input[type="datetime"],
.jtable-input input[type="datetime-local"],
.jtable-input input[type="date"],
.jtable-input input[type="month"],
.jtable-input input[type="time"],
.jtable-input input[type="week"],
.jtable-input input[type="number"],
.jtable-input input[type="email"],
.jtable-input input[type="url"],
.jtable-input input[type="search"],
.jtable-input input[type="tel"],
.jtable-input input[type="color"],
.jtable-input .uneditable-input {
  margin-bottom: 0px;
}

.ui-multiselect {
  height: 30px;
}

.jtable-input select,
.jtable-input .ui-multiselect {
  height: 27px;
}
  /*#jTableContainer select
{
  width: auto;
  margin-bottom: 0px;
}

.jTableContainer select
{
  width: auto;
  margin-bottom: 0px;
}*/

.jtable-bottom-panel select {
  width: auto;
  margin-bottom: 0px;
  height: 22px;
  padding: 0px 0px 0px 6px;
}

/* DIV Form/jTable */
#jTableFormContainer {
  /*width: 95%;   padding: 20px;*/
}

.jtable-command-column .ui-button {
padding:0;

}

div.jtable-main-container > table.jtable > tbody > tr.jtable-data-row > td  a i {
  color: #999999;
}

div.jtable-main-container > table.jtable > tbody > tr.jtable-data-row > td a i:hover {
  color: #444444;
}

div.jtable-main-container > table.jtable > tbody > tr.SmartPartAssistMatch {
  background-color: #ffaf69;
  transition: background-color 1s linear;
}

div.jtable-main-container > table.jtable > tbody > tr {
  transition: background-color 1s linear;
}

#SDFormContainer {
  /*width: 95%;   padding: 20px;*/
}

.jtable-toolbar-item-text a
{
 color : #fff;
 text-decoration:none;
}

.jtable-toolbar-item-text a:hover
{
 color : #fff;
 text-decoration:none;
}

#jTableContainer
{
}

#filtering
{
  width: 95%;
  padding-bottom: 5px;
}

.jtablecenter
{
  text-align: center;
}

.jtableLeftBorder {
  border-left-width: 3px !important;
}

/* tooltips flot chart */
/* for Pie Chart */
.flotTip
{
  padding: 3px 5px;
  background-color: #000;
  z-index: 100;
  color: #fff;
  box-shadow: 0 0 10px #555;
  opacity: .7;
  filter: alpha(opacity=70);
  border: 2px solid #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

/* for other char */
#flotTooltip
{
  font-size: 12px;
  font-family: Verdana, Arial, sans-serif;
  position: absolute;
  display: none;
  border: 2px solid;
  padding: 2px;
  background-color: #FFF;
  opacity: 0.8;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
}

.legendLayer .background {
  fill: rgba(255, 255, 255, 0.85);
  /*stroke: rgba(0, 0, 0, 0.85);*/
  stroke-width: 2;
}

/*tspan:has(+ .chartLegendLink):hover {
  text-decoration: none;
  color: #005580;
}*/

.widget-chart {
  padding: 15px 6px 15px 0px;
}
/* Default cursot Knob */
input[readonly].knobify {
  cursor: default;
}

/*Align button to left*/
.form-horizontal .form-actions
{
  padding-left: 20px;
}

.widget-body.form .form-actions
{
  padding-left: 20px;
}

/*LOGO AJUSTEMENT*/
.navbar .brand
{
  padding: 2px 5px;
}

#header .brand
{
  width: 400px;
  margin-top: 7px !important;
}

/*GRITTER MESSAGE BUBLE COLOR*/

.gritter-red .gritter-item, .gritter-red .gritter-bottom, .gritter-red .gritter-top, .gritter-red .gritter-close
{
  background-image: url(../assets/plugins/gritter/images/gritter-red.png);
  color: #222;
}
.gritter-red .gritter-title
{
  text-shadow: none;
}

.gritter-green .gritter-item, .gritter-green .gritter-bottom, .gritter-green .gritter-top, .gritter-green .gritter-close
{
  background-image: url(../assets/plugins/gritter/images/gritter-green.png);
  color: #222;
}
.gritter-green .gritter-title
{
  text-shadow: none;
}

.gritter-orange .gritter-item, .gritter-orange .gritter-bottom, .gritter-orange .gritter-top, .gritter-orange .gritter-close
{
  background-image: url(../assets/plugins/gritter/images/gritter-orange.png);
  color: #222;
}
.gritter-orange .gritter-title {
  text-shadow: none;
}

.gritter-yellow .gritter-item, .gritter-yellow .gritter-bottom, .gritter-yellow .gritter-top, .gritter-yellow .gritter-close {
  background-image: url(../assets/plugins/gritter/images/gritter-yellow.png);
  color: #222;
}

.gritter-yellow .gritter-title {
  text-shadow: none;
}

.gritter-gray .gritter-item, .gritter-gray .gritter-bottom, .gritter-gray .gritter-top, .gritter-gray .gritter-close {
  background-image: url(../assets/plugins/gritter/images/gritter-gray.png);
  color: #222;
}

.gritter-gray .gritter-title {
  text-shadow: none;
}

.gritter-blue .gritter-item, .gritter-blue .gritter-bottom, .gritter-blue .gritter-top, .gritter-blue .gritter-close {
  background-image: url(../assets/plugins/gritter/images/gritter-blue.png);
  color: #222;
}

.gritter-blue .gritter-title {
  text-shadow: none;
}

/*Bootstrap for for array*/
.form-sd-array .control-group
{
  margin-bottom: 0px;
}

.form-sd-array .controls
{
  margin-left: 0px;
}

#errorbox
{
  background-image: url("../assets/img/body-bg.png");
  border-radius: 4px 4px 4px 4px;
  margin: 0 auto;
  padding: 20px;
  width: 300px;
}

.panel-form-actions
{
  background-color: #F5F5F5;
  border-top: 1px solid #E5E5E5;
  border-bottom: 1px solid #e0dede;
  border-left: 1px solid #e0dede;
  border-right: 1px solid #e0dede;
  -webkit-border-radius: 0px 0px 3px 3px;
  -moz-border-radius: 0px 0px 3px 3px;
  border-radius: 0px 0px 3px 3px;
  padding: 19px 20px 20px;
}

.panel-widget .row-fluid:last-child .tabbable-custom
{
  margin-bottom: 0px;
}

.panel-widget
{
  background: none repeat scroll 0 0 #F9F9F9;
  border-top: 1px solid #e0dede;
  border-left: 1px solid #e0dede;
  border-right: 1px solid #e0dede;
  margin-top: 0px;
  margin-bottom: 0px;
  -webkit-border-radius: 3px 3px 0px 0px;
  -moz-border-radius: 3px 3px 0px 0px;
  border-radius: 3px 3px 0px 0px;
}

.panel-widget-body
{
  display: block;
  padding: 15px 15px;
  -webkit-border-radius: 3px 3px 0px 0px;
  -moz-border-radius: 3px 3px 0px 0px;
  border-radius: 3px 3px 0px 0px;
}

.control-group.sdcheckboxright
{
margin-top:21px  
}

/* Remove margin-bottom */

.sdshowform .control-group
{
  margin-bottom: 0px;
}

.sdshowform select, 
.sdshowform textarea, 
.sdshowform input[type="text"], 
.sdshowform input[type="password"], 
.sdshowform input[type="datetime"], 
.sdshowform input[type="datetime-local"], 
.sdshowform input[type="date"], 
.sdshowform input[type="month"], 
.sdshowform input[type="time"], 
.sdshowform input[type="week"], 
.sdshowform input[type="number"], 
.sdshowform input[type="email"], 
.sdshowform input[type="url"], 
.sdshowform input[type="search"], 
.sdshowform input[type="tel"], 
.sdshowform input[type="color"], 
.sdshowform .uneditable-input 
{
  margin-bottom: 2px;
}

.sdshowform label {
 margin-bottom : 2px;
}

.ddColumnMapping {
  padding: 0px 0px 0px 0px;
  height: 25px;
  line-height: 25px;
  width: auto;
}

.jtable-column-header-text-column-mapping
{
  padding-bottom: 2px;
}

tr.jtable-column-header-line-column-mapping > th
{
  border: 1px solid #999;
}

.reduced_height .span4
{
  min-height : 22px;
}

/*fine-uploader patch (fine uploader)*/
.qq-uploader
{
  min-height : 0px !important;
  border: none !important;
  padding: 0px !important;
}



/*Add Bootstrap Panel*/

.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-body {
  padding: 15px;
}

.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

  .panel-heading > .dropdown .dropdown-toggle {
    color: inherit;
  }

.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit;
}

  .panel-title > a,
  .panel-title > small,
  .panel-title > .small,
  .panel-title > small > a,
  .panel-title > .small > a {
    color: inherit;
  }

.panel-footer {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.panel > .list-group,
.panel > .panel-collapse > .list-group {
  margin-bottom: 0;
}

  .panel > .list-group .list-group-item,
  .panel > .panel-collapse > .list-group .list-group-item {
    border-width: 1px 0;
    border-radius: 0;
  }

  .panel > .list-group:first-child .list-group-item:first-child,
  .panel > .panel-collapse > .list-group:first-child .list-group-item:first-child {
    border-top: 0;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
  }

  .panel > .list-group:last-child .list-group-item:last-child,
  .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child {
    border-bottom: 0;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
  }

.panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.panel-heading + .list-group .list-group-item:first-child {
  border-top-width: 0;
}

.list-group + .panel-footer {
  border-top-width: 0;
}

.panel > .table,
.panel > .table-responsive > .table,
.panel > .panel-collapse > .table {
  margin-bottom: 0;
}

  .panel > .table caption,
  .panel > .table-responsive > .table caption,
  .panel > .panel-collapse > .table caption {
    padding-right: 15px;
    padding-left: 15px;
  }

  .panel > .table:first-child,
  .panel > .table-responsive:first-child > .table:first-child {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
  }

    .panel > .table:first-child > thead:first-child > tr:first-child,
    .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child,
    .panel > .table:first-child > tbody:first-child > tr:first-child,
    .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child {
      border-top-left-radius: 3px;
      border-top-right-radius: 3px;
    }

      .panel > .table:first-child > thead:first-child > tr:first-child td:first-child,
      .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child,
      .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child,
      .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child,
      .panel > .table:first-child > thead:first-child > tr:first-child th:first-child,
      .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child,
      .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child,
      .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child {
        border-top-left-radius: 3px;
      }

      .panel > .table:first-child > thead:first-child > tr:first-child td:last-child,
      .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child,
      .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child,
      .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child,
      .panel > .table:first-child > thead:first-child > tr:first-child th:last-child,
      .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child,
      .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child,
      .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child {
        border-top-right-radius: 3px;
      }

  .panel > .table:last-child,
  .panel > .table-responsive:last-child > .table:last-child {
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
  }

    .panel > .table:last-child > tbody:last-child > tr:last-child,
    .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child,
    .panel > .table:last-child > tfoot:last-child > tr:last-child,
    .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child {
      border-bottom-right-radius: 3px;
      border-bottom-left-radius: 3px;
    }

      .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child,
      .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child,
      .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
      .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child,
      .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child,
      .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child,
      .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child,
      .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child {
        border-bottom-left-radius: 3px;
      }

      .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child,
      .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child,
      .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
      .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child,
      .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child,
      .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child,
      .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child,
      .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child {
        border-bottom-right-radius: 3px;
      }

  .panel > .panel-body + .table,
  .panel > .panel-body + .table-responsive,
  .panel > .table + .panel-body,
  .panel > .table-responsive + .panel-body {
    border-top: 1px solid #ddd;
  }

  .panel > .table > tbody:first-child > tr:first-child th,
  .panel > .table > tbody:first-child > tr:first-child td {
    border-top: 0;
  }

.panel > .table-bordered,
.panel > .table-responsive > .table-bordered {
  border: 0;
}

  .panel > .table-bordered > thead > tr > th:first-child,
  .panel > .table-responsive > .table-bordered > thead > tr > th:first-child,
  .panel > .table-bordered > tbody > tr > th:first-child,
  .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child,
  .panel > .table-bordered > tfoot > tr > th:first-child,
  .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  .panel > .table-bordered > thead > tr > td:first-child,
  .panel > .table-responsive > .table-bordered > thead > tr > td:first-child,
  .panel > .table-bordered > tbody > tr > td:first-child,
  .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .panel > .table-bordered > tfoot > tr > td:first-child,
  .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
  }

  .panel > .table-bordered > thead > tr > th:last-child,
  .panel > .table-responsive > .table-bordered > thead > tr > th:last-child,
  .panel > .table-bordered > tbody > tr > th:last-child,
  .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child,
  .panel > .table-bordered > tfoot > tr > th:last-child,
  .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  .panel > .table-bordered > thead > tr > td:last-child,
  .panel > .table-responsive > .table-bordered > thead > tr > td:last-child,
  .panel > .table-bordered > tbody > tr > td:last-child,
  .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child,
  .panel > .table-bordered > tfoot > tr > td:last-child,
  .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
  }

  .panel > .table-bordered > thead > tr:first-child > td,
  .panel > .table-responsive > .table-bordered > thead > tr:first-child > td,
  .panel > .table-bordered > tbody > tr:first-child > td,
  .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td,
  .panel > .table-bordered > thead > tr:first-child > th,
  .panel > .table-responsive > .table-bordered > thead > tr:first-child > th,
  .panel > .table-bordered > tbody > tr:first-child > th,
  .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th {
    border-bottom: 0;
  }

  .panel > .table-bordered > tbody > tr:last-child > td,
  .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .panel > .table-bordered > tfoot > tr:last-child > td,
  .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td,
  .panel > .table-bordered > tbody > tr:last-child > th,
  .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .panel > .table-bordered > tfoot > tr:last-child > th,
  .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th {
    border-bottom: 0;
  }

.panel > .table-responsive {
  margin-bottom: 0;
  border: 0;
}

.panel-group {
  margin-bottom: 20px;
}

  .panel-group .panel {
    margin-bottom: 0;
    border-radius: 4px;
  }

    .panel-group .panel + .panel {
      margin-top: 5px;
    }

  .panel-group .panel-heading {
    border-bottom: 0;
  }

    .panel-group .panel-heading + .panel-collapse > .panel-body,
    .panel-group .panel-heading + .panel-collapse > .list-group {
      border-top: 1px solid #ddd;
    }

  .panel-group .panel-footer {
    border-top: 0;
  }

    .panel-group .panel-footer + .panel-collapse .panel-body {
      border-bottom: 1px solid #ddd;
    }

.panel-default {
  border-color: #ddd;
}

  .panel-default > .panel-heading {
    color: #333333;
    background-color: #f5f5f5;
    border-color: #ddd;
  }

    .panel-default > .panel-heading + .panel-collapse > .panel-body {
      border-top-color: #ddd;
    }

    .panel-default > .panel-heading .badge {
      color: #f5f5f5;
      background-color: #333333;
    }

  .panel-default > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #ddd;
  }

.panel-primary {
  border-color: #337ab7;
}

  .panel-primary > .panel-heading {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
  }

    .panel-primary > .panel-heading + .panel-collapse > .panel-body {
      border-top-color: #337ab7;
    }

    .panel-primary > .panel-heading .badge {
      color: #337ab7;
      background-color: #fff;
    }

  .panel-primary > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #337ab7;
  }

.panel-success {
  border-color: #d6e9c6;
}

  .panel-success > .panel-heading {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
  }

    .panel-success > .panel-heading + .panel-collapse > .panel-body {
      border-top-color: #d6e9c6;
    }

    .panel-success > .panel-heading .badge {
      color: #dff0d8;
      background-color: #3c763d;
    }

  .panel-success > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #d6e9c6;
  }

.panel-info {
  border-color: #bce8f1;
}

  .panel-info > .panel-heading {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
  }

    .panel-info > .panel-heading + .panel-collapse > .panel-body {
      border-top-color: #bce8f1;
    }

    .panel-info > .panel-heading .badge {
      color: #d9edf7;
      background-color: #31708f;
    }

  .panel-info > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #bce8f1;
  }

.panel-warning {
  border-color: #faebcc;
}

  .panel-warning > .panel-heading {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
  }

    .panel-warning > .panel-heading + .panel-collapse > .panel-body {
      border-top-color: #faebcc;
    }

    .panel-warning > .panel-heading .badge {
      color: #fcf8e3;
      background-color: #8a6d3b;
    }

  .panel-warning > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #faebcc;
  }

.panel-danger {
  border-color: #ebccd1;
}

  .panel-danger > .panel-heading {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
  }

    .panel-danger > .panel-heading + .panel-collapse > .panel-body {
      border-top-color: #ebccd1;
    }

    .panel-danger > .panel-heading .badge {
      color: #f2dede;
      background-color: #a94442;
    }

  .panel-danger > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color: #ebccd1;
  }

/*End bootstrap panel*/

.panel-groupbox {
  background-color: #CACACA;
  margin-bottom: 3px;
}

.panel-groupbox > div.panel-body {
  padding: 3px 3px 3px 5px;
  display:grid;
}

#EditContainerSmartWS label {
  margin-bottom: 2px;
}

#EditContainerSmartWS h5 {
  margin: 0px;
  margin-bottom: -1px;
  font-weight: bold;
  font-size: 14.5px;
}

#pnInfoSmartWS .row {
  margin-left: 0px;
}

#pnInfoSmartWS .span6 {
  min-height: 28px;
}

#pnInfoSmartWS {
  width: 33%;
  position: fixed;
  top: 52px;
  opacity: 0;
  visibility: hidden;
  margin-left: -20px;
  margin-bottom: 0px;
  pointer-events: none;
  cursor: default;
}

#pnInfoSmartWS.visible {
  cursor: move;
  width: 33%;
  position: fixed;
  opacity: 1;
  visibility: visible;
  pointer-events:all;
}

#pnInfoSmartWS .panel-heading {
  padding: 4px 0px;
  padding-left: 10px;
  padding-right: 5px;
  background-color: #fff0a4;
}

.sdFlexMiddle {
display: flex !important;
align-items: center;
}
#PartCount {
  vertical-align: middle;
}

.bugDraggableSM {
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -ms-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

.bugDraggableSM.visible {
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

#pnInfoSmartWS .go-to {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  /*  margin-top: -3px;*/
  margin-right: 0px;
  margin-bottom: 0px;
  font-size: 16px;
  background-color: #111;
  opacity: 0.8;
  padding: 4px 6px 4px 6px;
  vertical-align: middle;
}

#pnInfoSmartWS #iconSaveUniqueElem {
  display: inline-block;
  text-decoration: none;
  /*  margin-top: -3px;*/
  margin-right: 0px;
  margin-bottom: 0px;
  font-size: 23px;
  color: #111;
  vertical-align: middle;
}

.SPASpinner {
  text-decoration: none;
  /*  margin-top: -3px;*/
  margin-right: 0px;
  margin-bottom: 0px;
  font-size: 23px;
  color: #111;
  vertical-align: middle;
}

input[type='radio'].red {
  accent-color: #f00;
}

input[type='checkbox'].red {
  accent-color: #f00;
}

/*PAtch not all divider show in dropdown*/
.dropdown-menu .divider {
  margin: 8px 1px;
}

.modal.sdslimmodal .modal-header {
  padding: 2px 12px;
}

.modal.sdslimmodal .modal-footer {
  padding: 5px 15px 6px;
}

.modal.sdslimmodal .modal-body {
  padding: 7px 15px 5px 15px; 
}

.modal.sdslimmodal .form-horizontal .control-group {
  margin-bottom: 0px;
  margin-top: 3px;
}

.modal.sdslimmodal .form-horizontal .control-label {
  padding-top: 3px;

}
@media (min-width: 767px) {
  .modal.sdslimmodal .form-horizontal .sdshortLabel .controls {
    margin-left: unset;
  }

  .modal.sdslimmodal .form-horizontal .sdshortLabel .control-label {
    padding-top: 3px;
    text-align: left;
    width: unset;
    padding-right: 10px;
  }

  .modal.sdslimmodal .form-horizontal .sdshortLabel .control-group {
    display: flex;
    flex-direction: row;
  }
}

  .modal.sdslimmodal input[type="text"] {
    height: 26px;
    min-height: 20px;
    padding: 0px 3px;
  }

.modal.sdslimmodal select {
  height: 26px;
  min-height: 20px;
  padding: 0px 3px;
  min-width: 35px;
}

#pnDamageType label {
  margin-bottom: 0px;
  display: inline-flex;
}

#pnDamageType input[type="radio"] {
  margin: 0px 0px
}

#pnDamageType .span2{
min-height:20px;
}

#pnDamageType.panel {
  padding: 5px 3px 1px 5px;
}

@media (min-width: 767px) {
  .modal.sdslimmodal .form-horizontal #pnEditPartPrice .controls {
    margin-left: 140px;
  }

  .modal.sdslimmodal .form-horizontal #pnEditPartPrice .control-label {
    width: 130px;
  }

  .modal.sdslimmodal .form-horizontal .sdcheckboxmodal .control-label {
    width: unset;
    padding-right: 15px;
  }
}

  .modal.sdslimmodal .form-horizontal .sdcheckboxmodal {
    display: flex;
    justify-content: flex-end;
  }


  .modal.sdslimmodal .form-horizontal #pnEditNotes input[type="checkbox"] {
    margin-bottom: 5px;
  }

  /*.modal.sdslimmodal #pnEditPartPrice input[type="text"] {
  border: 1px solid red;
}
.modal.sdslimmodal .form-horizontal #pnEditPartPrice .control-group {
  border: 1px solid blue;
}*/


  /*.modal.sdslimmodal .form-horizontal #pnEditNotes .controls {
  margin-left: 140px;
}

.modal.sdslimmodal .form-horizontal #pnEditNotes .control-label {
  width: 140px;
}*/

.modal-lg {
  width: 85%;
  left: 7.5%; /* (100%-width)/2 */
  margin: auto;
}

  .modal-lg .modal-body {
    max-height: calc(100% - 120px);
    overflow-y: scroll;
  }

  .modal-lg .modal-dialog,
  .modal-lg .modal-content {
    height: 85%;
  }

.modal-med {
  width: 75%;
  left: 12.5%; /* (100%-width)/2 */
  margin: auto;
}

  .modal-med .modal-body {
    max-height: calc(100% - 120px);
    overflow-y: scroll;
  }

  .modal-med .modal-dialog,
  .modal-med .modal-content {
    height: 70%;
  }

  .modal .panel-heading {
    padding: 5px 15px 5px 10px;
    font-size: 14px;
  }

  .modal .panel-groupbox {
    background-color: #f2f2f2;
    margin-bottom: 3px;
    box-shadow: inset 0 1px 0 #fff;
  }

    .modal .panel-groupbox > div.panel-body {
      padding: 3px 3px 3px 5px;
      display: grid;
    }

  .flex-parent {
    display: flex;
    flex-direction: row;
  }

  .flex-child {
    flex: 1;
  }

#FormSubscriptionContainer {
  width: 375px;
  background-image: url('../assets/img/body-bg.png');
  margin: 0 auto;
  padding: 20px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

  #FormSubscriptionContainer i {
    color: #999;
  }