.entry-content>.wpadpcbu-pcbuilder {
  background: #f1f3f5;
  max-width: 100%;
  padding-top: 0;
  width: 100%;
}

.entry-content>.wpadpcbu-pcbuilder a {
  outline: none;
  text-decoration: none;
}

.wpadpcbu-row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.wpadpcbu-half {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.wpadpcbu-align-center {
  align-items: center;
  display: flex;
}

.wpadpcbu-justify-end {
  display: flex;
  justify-content: flex-end;
}

.pc-builder-button {
  align-items: center;
  background: #fff;
  border: 1px solid #000;
  color: #000;
  display: inline-block;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  padding: 5px 15px;
  text-decoration: none !important;
}

td.component-product-action .pc-builder-button {
  column-gap: 5px;
  flex-direction: row;
}

.wpadpcbu-hide {
  display: none !important;
}

.wpadpcbu-breadcrumb {
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px;
  padding: 10px 0;
}

.wpadpcbu-component-search .container,
.wpadpcbu-pcbuilder div>.container {
  padding-left: 0;
  padding-right: 0;
}

.wpadpcbu-nav {
  list-style: none;
  margin: 0;
}

.wpadpcbu-nav li {
  float: left;
  margin: 0 5px 0 0;
}

.wpadpcbu-nav li+li:before {
  color: #000;
  content: "\f345";
  font: normal normal normal 14px/1 dashicons;
  font-size: 13px;
  padding: 0 6px;
}

.wpadpcbu-nav li a {
  color: #000;
}

.wpadpcbu-actions {
  margin-bottom: 20px;
}

.wpadpcbu-actions .right-button {
  column-gap: 10px;
  display: flex;
}

.wpadpcbu-show-component {
  display: none;
}

.top-total-amount {
  align-items: center;
  border: 1px solid #000;
  border-radius: 7px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
  color: #111;
  display: flex;
  justify-content: center;
  min-width: 120px;
  padding: 5px;
  text-align: center;
}

.component-name-warp span {
  display: block;
}

.component-name-warp span.required-span {
  background: #000;
  color: #fff;
  font-size: 8px;
  max-width: 50px;
  padding: 2px 5px;
  text-align: center;
}

span.required-span.missing {
  background: red;
}

.wpadpcbu-breadcrumb .page-heading {
  color: #000;
  margin: 0;
}

.wpadpcbu-component-table .table td,
.wpadpcbu-component-table .table th {
  border: none;
  padding: 0.75rem;
  vertical-align: middle;
}

.wpadpcbu-component-table thead th:first-child {
  width: 27%;
}

.wpadpcbu-component-table thead th:nth-child(2) {
  width: 35%;
}

.wpadpcbu-component-table thead th:nth-child(4) {
  text-align: center;
}

tr.fixed-height {
  height: 50px;
}

tr.total-amount {
  background-color: #000;
  color: #fff;
}

tr.total-amount,
tr.total-amount td {
  border: none !important;
}

th.component-name .component-name-div {
  align-items: center;
  column-gap: 15px;
  display: flex;
}

th.component-name img {
  height: 50px;
  width: 50px;
}

.has-component th.component-name img {
  height: 75px;
  width: 75px;
}

.wpadpcbu-component-table table.table-striped {
  border: none;
}

.wpadpcbu-component-table table thead tr {
  background: #000;
  color: #fff;
  height: 50px;
}

td.component-product-action .component-actions {
  column-gap: 5px;
  display: flex;
  justify-content: center;
}

.wpadpcbu-component-search {
  margin: 25px 0;
}

.pb-choose-product .button-link {
  margin-bottom: 5px;
}

.wpadpcbu-top-bar {
  align-items: center;
  border: 1px solid #ddd;
  column-gap: 30px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 10px 5px;
}

.wpadpcbu-top-bar .left-search {
  column-gap: 10px;
  display: flex;
}

.left-search .back-button-icon {
  border: 1px solid #ddd;
  cursor: pointer;
  padding: 6px 15px;
}

.back-button-icon a,
.back-button-icon a:hover {
  color: #000;
}

.left-search .input-group-search {
  width: 100%;
}

.input-group-search input#input-search {
  background: none;
  border: 1px solid #ddd;
  border-radius: 0;
  box-shadow: none;
  color: #000;
  width: 100%;
}

.right-shortby label {
  display: inline-block;
  margin-bottom: 0;
  width: 100%;
}

.right-shortby label span {
  float: left;
  line-height: 35px;
  margin-right: 10px;
}

.right-shortby label.control-label {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.right-shortby label select {
  border: 1px solid #ddd !important;
  box-shadow: none !important;
  padding: 10px 5px;
  width: calc(100% - 70px);
}

.component-product {
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  margin-bottom: 10px;
  padding: 10px;
  position: relative;
}

.component-product .product-img {
  flex-basis: 140px;
  min-width: 140px;
  text-align: left;
}

.product-img img.wp-post-image {
  margin-bottom: 0;
}

.component-product .product-info {
  padding-left: 30px;
  width: 100%;
}

.product-info-top {
  border-bottom: 1px solid #ddd;
  display: inline-block;
  font-size: 20px;
  padding: 0 0 5px;
  width: 100%;
}

.product-info-top .price {
  float: left;
  font-weight: 700;
}

.product-info-top .wpadpcbu-actions {
  float: right;
  margin-bottom: 0;
}

.wpadpcbu-actions a.choose {
  position: relative;
}

.product-info-top .wpadpcbu-actions a.choose i {
  margin-top: 8px;
}

.product-content-blcok {
  margin-top: 5px;
}

.product-info .product-name {
  margin: 0;
}

.product-info .product-name a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  margin: 0;
  padding-bottom: 12px;
  padding-top: 5px;
}

.product-features ul {
  float: left;
  margin-bottom: 0;
  margin-left: 20px;
  width: calc(50% - 20px);
}

.wpadpcbu-pagination {
  border: 1px solid #ddd;
  padding: 5px 10px;
}

.wpadpcbu-pagination .page-info {
  color: #000;
}

.page-info p {
  font-size: 0.95em;
  font-weight: 500;
  margin-bottom: 0;
}

.page-info p span {
  display: inline-block;
  padding-right: 10px;
}

.filter-show-hide button {
  display: none;
  margin-bottom: 5px;
  width: 100%;
}

.wpadpcbu-filter-panel .filter-panel {
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  row-gap: 13px;
}

.filter-panel .filter-group {
  border: 1px solid #ddd;
  border-radius: 5px;
  clear: both;
  position: relative;
  user-select: none;
}

.filter-group div {
  padding: 0 15px;
}

.filter-group .label {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  padding: 10px 15px;
}

.filter-group.show .label {
  border-bottom: 1px solid #ddd;
}

.filter-group .toggler:before {
  content: "\f067";
}

.filter-group.show .toggler:before {
  content: "\f068";
}

.filter-group .items {
  display: none;
}

.filter-group.show .items {
  display: block;
  max-height: 300px;
  overflow: scroll;
}

.filter-group .items label.filter {
  display: block;
  padding: 5px 5px 5px 10px;
}

#filter-data {
  outline: none;
}

.price-filter {
  border: 1px solid #ddd;
  padding: 10px 15px;
}

.extra-controls {
  display: block;
  min-height: 35px;
  width: 100%;
}

.extra-controls input {
  background-color: transparent;
  border: 1px solid #ddd;
  box-shadow: none;
  float: left;
  font-weight: 500;
  outline: 0;
  padding: 3px 3px 3px 10px;
  width: 43%;
}

.extra-controls input:last-child {
  float: right;
}

.range-slider {
  display: block;
  margin-bottom: 10px;
}

span.irs-from,
span.irs-max,
span.irs-min,
span.irs-to {
  display: none;
}

.price-filter .label {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 15px;
  width: 100%;
}

span.irs-single {
  display: none !important;
}

.woocommerce-saved-configurations-table__header-savepc-actions {
  text-align: center;
}

td#wpadpcbu-savepc-actions {
  column-gap: 5px;
  display: flex;
  justify-content: center;
}

.component-item-row:nth-child(2n) {
  background: #e8e8e8;
}

.theme-storefront .entry-content .wpadpcbu-pcbuilder.alignwide {
  background: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

@media screen and (min-width: 813px) {
  div#wpadpcbu-search-filter {
    display: block !important;
  }

  .filter-show-hide button {
    display: none !important;
  }
}

@media screen and (max-width: 812px) {
  .filter-show-hide #filter-hide {
    display: inline-block;
  }

  .wpadpcbu-content-div,
  .wpadpcbu-filter-div {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .wpadpcbu-component-search {
    flex-direction: column;
    align-items: center;
  }

  .wpadpcbu-filter-div {
    order: 2;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin: 10px 0;
  }

  .wpadpcbu-content-div {
    order: 1;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin: 10px 0;
  }

  .wpadpcbu-top-bar {
    flex-direction: column;
    align-items: center;
  }

  .col-half {
    width: 100% !important;
    display: block;
  }

  .page-info p {
    font-size: 0.75em;
  }

  .wpadpcbu-pcbuilder div>.container {
    max-width: 100%;
  }

  .component-product .product-info {
    padding-left: 15px;
  }

  .product-info .product-name a {
    font-size: 0.85rem;
  }

  .product-features ul {
    font-size: 0.72rem;
  }

  .wpadpcbu-filter-panel {
    margin-bottom: 10px;
    margin-top: 5px;
  }

  .wpadpcbu-top-bar .left-search {
    margin-bottom: 10px;
  }

  .right-shortby label span {
    display: none;
  }

  .right-shortby label select {
    width: 100%;
  }

  .wpadpcbu-component-table thead tr th:first-child {
    width: 30%;
  }

  th.component-name img {
    height: 30px;
    margin-right: 10px;
    width: 30px;
  }

  td.component-product-action a {
    margin-bottom: 5px;
  }

  td.component-product-action a:last-child {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 640px) {
  .wpadpcbu-half.wpadpcbu-mobile-full {
    width: 100%;
    max-width: 100%;
    font-size: larger;
  }

  .pc-builder-button {
    font-size: 13px !important;
    padding: 3px 10px !important;
  }

  .wpadpcbu-nav {
    display: table;
    margin: 0 auto;
  }

  .wpadpcbu-breadcrumb .page-heading {
    text-align: center;
  }

  .top-total-amount {
    float: unset;
    margin: 10px auto auto;
    max-width: 200px;
  }

  .wpadpcbu-component-table table tbody {
    display: block;
    width: 100%;
  }

  .right-button {
    text-align: center;
  }

  .wpadpcbu-component-table table thead {
    display: none;
  }

  tr.fixed-height {
    display: inline-table;
    width: 100%;
  }

  tr.fixed-height .pc-builder-button {
    float: right;
  }

  .component-item-row.has-component {
    display: block;
    max-width: 100%;
    min-height: 225px;
    position: relative;
  }

  .component-item-row.has-component th.component-name {
    display: inline-block;
    width: 100%;
  }

  .component-name-warp {
    align-items: center;
    align-self: auto;
    display: inline-flex;
  }

  tr.fixed-height td.component-product-name,
  tr.fixed-height td.component-product-price {
    padding: 0;
  }

  .component-name-warp span {
    font-size: 15px;
  }

  .component-name-warp span.required-span {
    margin-left: 3px;
    padding: 2px;
  }

  th.component-name img {
    height: 25px;
    margin-right: 5px;
    width: 25px;
  }

  .component-item-row.has-component td.component-product-image {
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }

  .component-item-row.has-component .component-product-image img {
    margin-left: auto;
    margin-right: auto;
    max-height: 80px;
    max-width: 80px;
  }

  .component-item-row.has-component td.component-product-action {
    display: block;
    padding-top: 0;
    text-align: center;
    width: 100%;
  }

  td.component-product-action a {
    margin-bottom: 0;
  }

  .component-item-row.has-component th.component-name {
    min-width: 200px;
  }

  .component-item-row.has-component td.component-product-name {
    display: block;
    font-weight: 600;
    text-align: center;
    width: 100%;
  }

  .component-item-row.has-component td.component-product-price {
    position: absolute;
    right: 0;
    top: 0;
  }

  tr.total-amount {
    display: flex;
    width: 100%;
  }

  tr.total-amount td {
    float: left;
    width: 50%;
  }
}

@media screen and (max-width: 441px) {
  tr.fixed-height {
    display: inline-table;
    width: 100%;
  }

  .component-name-warp span {
    font-size: 12px;
  }

  .component-product {
    display: inline-block;
    width: 100%;
  }

  .component-product .product-info {
    display: inline-block;
    margin-bottom: 10px;
    margin-top: 10px;
    padding-left: 0;
  }

  .wpadpcbu-pagination {
    min-height: 70px;
  }

  .wpadpcbu-pagination.no-pagination {
    min-height: 32px;
  }

  .wpadpcbu-pagination .page-info {
    position: absolute;
    width: 100%;
  }

  .wpadpcbu-pagination .col-sm-2 {
    display: inline-table;
    margin-top: 8%;
    position: absolute;
  }

  .wpadpcbu-pagination .col-sm-2.text-right {
    right: 10px;
  }
}

@media screen and (max-width: 375px) {

  .wpadpcbu-breadcrumb .page-heading,
  .wpadpcbu-pcbuilder .wpadpcbu-nav a {
    font-size: 0.9rem;
  }

  .page-info p span:last-child {
    padding-right: 20px;
  }

  .product-features ul {
    width: 100%;
  }

  .page-info p {
    font-size: 0.6rem;
  }

  .wpadpcbu-pagination .col-sm-2 {
    display: inline-table;
    margin-top: 10%;
    position: absolute;
  }
}

@media screen and (max-width: 320px) {
  a.pagination-button {
    font-size: 0.9rem;
  }
}