/**
 * 2018 liewebs - Prestashop module developers and website designers.
 *
 * NOTICE OF LICENSE
 *  @author liewebs <info@liewebs.com>
 *  @copyright 2018 www.liewebs.com - liewebs
 *  @license see file: LICENSE.txt
 *  @version 1.1.9
 * 	@module Combinations Table Pro
 */

/* Blockcart-modal */

#blockcart-modal.modal {
    z-index: 99999999;
}


/* MODAL */
.modal-title.modal_ctp {
	margin-bottom: 10px;	
}
h5.modal_ctp {
	color: #fff; 	
}

/* Container */
div.container-modal_ctp {
	width: 100%;
	position: relative;
	display: grid;
}

div.container-table_ctp {
    width: auto;
    display: block;
}

/* TABLE */
#combination-table {
    display: inline-block;
   	border: 1px solid #333375;
	border-radius: 5px 5px 5px 5px;
    margin-bottom: 10px;
   
}
#combination_table_pro {
    display: inline-grid;
    margin-bottom: 10px;
    border-radius: 5px;
}
table.table_ctp {
	border-collapse: collapse;
	display: block;
    position: relative;
}
.table_ctp.title {
    padding: 2px;
    background: #000;
    color: #fff;
    text-align: center;
    border-radius: 5px 5px 0px 0px;
}
th.table_ctp_header {
	text-align: center;
}
table.table_ctp > thead > tr > th {
	font-weight: bold;
	vertical-align: middle;
}
.table_ctp_body tbody {
	
}
.table_ctp tbody {
	position: relative;
	display: contents;
}
.table_ctp thead, .table_ctp tbody, .table_ctp tr, .table_ctp td, .table_ctp_body tr, .table_ctp_body td, .table_ctp_header th {
  text-align: center;
  white-space: normal;
  word-break: normal;
}

.panel-body.table_ctp {
	border-top: 1px solid #428bca;
	border-right: 1px solid #428bca;
	border-left: 1px solid #428bca;
}
.table_ctp_body.old-price {
    color: #fff;
    text-decoration: line-through;
    background: #f85757;
    padding: 4px;
    border-radius: 15px;
    margin-top: 2px;
    position: relative;
    display: inline-block;
}
.ctp_condition {
	background: #08b3d8;
	padding: 5px;
	border-radius: 4px;
	color: #fff;
	font-weight: bold;
}
.ctp_no_combination {
	margin: 0 auto;
	position: relative;
	top: 7px;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	color: #e35d5d;	
}
.ctp_onStock {
    background: #48c549;
    font-weight: bold;
    padding: 5px;
    border-radius: 14px;
    color: #fff;
}
.ctp_outOfStock {
    background: #f92c2c;
    font-weight: bold;
    padding: 5px;
    border-radius: 14px;
    color: #fff;
}
/* Shopping cart */
.table_ctp_quantity_input {
    min-width: 200px;
}
.table_ctp_quantity_input_buttons, .table_ctp.cart_quantity_input, .table_ctp.ajax_block_product {
    float: left;
    width: auto;
}
.table_ctp_quantity_input_buttons, .table_ctp.cart_quantity_input, .table_ctp.ajax_block_product {
    top: 10px;
    position: relative;
}
.ctp_shopping_cart {
    border: 1px solid #989898;
    width: 45px;
    height: 45px;
    border-radius: 30px;
    padding: 6px 6px;
    bottom: 10px;
    position: relative;
    left: 15px;
}
.ctp_shopping_cart:hover {
	background: #b6b6b6;
}
.ctp_shopping_cart .material-icons {
    font-size: 34px;
}
.minimal_quantity_reduc {
	font-weight: bold;
	font-style: italic;
	color: #f85757;
}
.table_ctp_discount_wt, .table_ctp_discount {
    color: #fff;
    background: #f85757;
    padding: 2px;
    border-radius: 15px;
}
.ctp_minimum_qty_order {
	font-size: 11px;
	color: #ff1515;
	font-style: italic;
}
.th-name {
    padding: 13px;
}
.table_ctp.quantity_wanted {
    border-radius: 10px;
    text-align: center;
    margin-right: 5px;
    float: left;
    top: 10px;
    position: relative;
}

/* Fancybox */
.fancybox-opened {
    z-index: 99999 !important;
}
.fancybox-overlay {
	z-index: 99998 !important;
}


/* Buttons*/
.button.filter {
	border-radius: 20px;
	background: #000;
	border: #000;
}
.btn.modal_ctp {
    border-radius: 5px;
    padding: 0px 9px;
    width: fit-content;
    margin: 0 auto;
}

/* Dialog */
.ui-dialog-titlebar-close {
    visibility: hidden;
}

/* Boostrap Table */

table.table_ctp {
  border-collapse: collapse;
}

.table.table_ctp {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
}

.table.table_ctp th,
.table.table_ctp td {
  padding: 0.75rem;
  vertical-align: middle;
}

.table.table_ctp tbody + tbody {
  border-top: 2px solid #dee2e6;
}

.table-sm th,
.table-sm td {
  padding: 0.3rem;
}

.table-bordered {
  border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #dee2e6;
}

.table-bordered thead th,
.table-bordered thead td {
  border-bottom-width: 2px;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-primary,
.table-primary > th,
.table-primary > td {
  background-color: #b8daff;
}

.table-hover .table-primary:hover {
  background-color: #9fcdff;
}

.table-hover .table-primary:hover > td,
.table-hover .table-primary:hover > th {
  background-color: #9fcdff;
}

.table-secondary,
.table-secondary > th,
.table-secondary > td {
  background-color: #d6d8db;
}

.table-hover .table-secondary:hover {
  background-color: #c8cbcf;
}

.table-hover .table-secondary:hover > td,
.table-hover .table-secondary:hover > th {
  background-color: #c8cbcf;
}

.table-success,
.table-success > th,
.table-success > td {
  background-color: #c3e6cb;
}

.table-hover .table-success:hover {
  background-color: #b1dfbb;
}

.table-hover .table-success:hover > td,
.table-hover .table-success:hover > th {
  background-color: #b1dfbb;
}

.table-info,
.table-info > th,
.table-info > td {
  background-color: #bee5eb;
}

.table-hover .table-info:hover {
  background-color: #abdde5;
}

.table-hover .table-info:hover > td,
.table-hover .table-info:hover > th {
  background-color: #abdde5;
}

.table-warning,
.table-warning > th,
.table-warning > td {
  background-color: #ffeeba;
}

.table-hover .table-warning:hover {
  background-color: #ffe8a1;
}

.table-hover .table-warning:hover > td,
.table-hover .table-warning:hover > th {
  background-color: #ffe8a1;
}

.table-danger,
.table-danger > th,
.table-danger > td {
  background-color: #f5c6cb;
}

.table-hover .table-danger:hover {
  background-color: #f1b0b7;
}

.table-hover .table-danger:hover > td,
.table-hover .table-danger:hover > th {
  background-color: #f1b0b7;
}

.table-light,
.table-light > th,
.table-light > td {
  background-color: #fdfdfe;
}

.table-hover .table-light:hover {
  background-color: #ececf6;
}

.table-hover .table-light:hover > td,
.table-hover .table-light:hover > th {
  background-color: #ececf6;
}

.table-dark,
.table-dark > th,
.table-dark > td {
  background-color: #c6c8ca;
}

.table-hover .table-dark:hover {
  background-color: #b9bbbe;
}

.table-hover .table-dark:hover > td,
.table-hover .table-dark:hover > th {
  background-color: #b9bbbe;
}

.table-active,
.table-active > th,
.table-active > td {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-hover .table-active:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

.table-hover .table-active:hover > td,
.table-hover .table-active:hover > th {
  background-color: rgba(0, 0, 0, 0.075);
}

.table.table_ctp .thead-dark th {
  color: #fff;
  background-color: #212529;
  border-color: #32383e;
}

.table.table_ctp .thead-light th {
  color: #495057;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.table-dark {
  color: #fff;
  background-color: #212529;
}

.table-dark th,
.table-dark td,
.table-dark thead th {
  border-color: #32383e;
}

.table-dark.table-bordered {
  border: 0;
}

.table-dark.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.05);
}

.table-dark.table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.075);
}

@media (max-width: 575.98px) {
  .table-responsive-sm {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }
  .table-responsive-sm > .table-bordered {
    border: 0;
  }
}

@media (max-width: 767.98px) {
  .table-responsive-md {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }
  .table-responsive-md > .table-bordered {
    border: 0;
  }
}

@media (max-width: 991.98px) {
  .table-responsive-lg {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }
  .table-responsive-lg > .table-bordered {
    border: 0;
  }
}

@media (max-width: 1199.98px) {
  .table-responsive-xl {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }
  .table-responsive-xl > .table-bordered {
    border: 0;
  }
}

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.table-responsive > .table-bordered {
  border: 0;
}

/* SCROLL */
.scrollable {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.scrollable .scrollbar,
.scrollable .scrollbar .handle-container,
.scrollable .scrollbar .handle-container .handle {
    position: absolute;
    display: block;
}

.scrollable .scrollable-container .scrollable-area {
    position: relative;
    padding: 0;
    margin: 0;
    width: auto;
    height: auto;
}

.scrollable .scrollbar {
    background-color: rgba(0,0,0,0.2);
    z-index: 5;
}

.scrollable .scrollbar .handle {
    background-color: #333;
    border-radius: 5px;
    cursor: default;
    z-index: 6;
}

.scrollable .scrollbar .handle-container {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.scrollable .scrollbar.scrollbar-x {
    bottom: 0;
    left: 0;
    right: 0;
    height: 14px;
}

.scrollable .scrollbar.scrollbar-y {
    top: 0;
    bottom: 0;
    right: 0;
    width: 14px;
}

.scrollable .scrollbar.scrollbar-x .handle-container {
    left: 2px;
    right: 2px;
}

.scrollable .scrollbar.scrollbar-y .handle-container {
    top: 2px;
    bottom: 2px;
}

.scrollable .scrollbar.scrollbar-x .handle-container .handle {
    height: 10px;
    margin: 2px 0;
}

.scrollable .scrollbar.scrollbar-y .handle-container .handle {
    width: 10px;
    margin: 0 2px;
}

.scrollable .scrollbar.scrollbar-x.corner .handle-container {
    right: 16px;
}

.scrollable .scrollbar.scrollbar-y.corner .handle-container {
    bottom: 16px;
}

.scrollable.autohide > .scrollbar {
    filter : alpha(opacity=0);
    opacity : 0;
}

.scrollable.scrolling.autohide > .scrollbar,
.scrollable.autohide.hover > .scrollbar {
    filter : alpha(opacity=100);
    opacity : 1;
}