.spec-table .spec-table-inner {
    position: relative;
    margin-bottom: 19px;
}

.spec-table .spec-table-inner .table {
    margin-bottom: 0;
}

.spec-table .spec-table-inner .table-responsive {
    margin-bottom: 9.5px;
}

.spec-table .spec-table-inner .table-responsive .table-bordered tbody th {
    min-width: 55px;
}

@media screen and (min-width: 768px) {
    .spec-table .spec-table-inner ul {
        margin-left: 50px;
        margin-right: 50px;
    }

    .spec-table .spec-table-inner .table-responsive .table-bordered tbody th {
        min-width: 80px;
    }
}

.spec-table .spectable-filter-remove-wrapper {
    margin-top: -8px;
    margin-right: -8px;
    margin-bottom: 10px;
}

.spec-table .spectable-filter-remove {
    padding: 2px 5px;
    background: grey;
    cursor: pointer;
}

.spec-table .spectable-filter-remove:hover {
    background-color: #404042;
}

.spec-table .spectable-filter-remove .fa {
    color: #fff;
}

.spec-table .spectable-stickyheader-top-left-cell {
    z-index: 104;
    border-style: solid;
    border-color: #ddd;
    border-width: 1px;
}

.spec-table .spectable-stickyheader-top-left-cell.inactive {
    z-index: -100;
    visibility: hidden;
}

.spec-table .spectable-stickyheader-container {
    z-index: 103;
}

.spec-table .spectable-stickyheader-container.inactive {
    z-index: -100;
    visibility: hidden;
}

.spec-table .spectable-fixedcol-element {
    position: absolute;
    padding: 8px;
    color: #333;
    font-weight: 700;
    background-color: #f5f5f5;
}

.spec-table .spectable-fixedcol-top-left-cell {
    z-index: 101;
    border-style: solid;
    border-color: #ddd;
    border-width: 1px;
}

.spec-table .spectable-fixedcol-1st-layer {
    z-index: 102;
    border-style: solid;
    border-color: #ddd;
    border-width: 1px;
}

.spec-table .spectable-fixedcol-2nd-layer,
.spec-table .spectable-fixedcol-3rd-layer-without-2nd {
    z-index: 101;
    border-style: solid;
    border-color: #ddd;
    border-width: 0 1px 1px;
}

.spec-table .spectable-fixedcol-3rd-layer {
    z-index: 100;
    border-style: solid;
    border-color: #ddd;
    border-width: 0 1px 1px 0;
}

.spec-table #spectable-navigation a {
    position: absolute;
    z-index: 105;
    color: #fff;
    font-size: 18px;
    width: 40px;
    background: rgba(64, 64, 66, 0.8);
}

.spec-table #spectable-navigation a:hover {
    background-color: #404042;
}

@media screen and (max-width: 767px) {
    .spec-table .spectable-filter-reset,
    .spec-table .table {
        font-size: 11px;
    }

    .spec-table .table-responsive > .table > tbody > tr > td,
    .spec-table .table-responsive > .table > tbody > tr > th,
    .spec-table .table-responsive > .table > tfoot > tr > td,
    .spec-table .table-responsive > .table > tfoot > tr > th,
    .spec-table .table-responsive > .table > thead > tr > td,
    .spec-table .table-responsive > .table > thead > tr > th {
        white-space: normal;
    }
}

.modal-spec-table .modal-spec-table-inner {
    position: relative;
    margin-bottom: 20px;
}

.modal-spec-table .modal-spec-table-inner .table {
    margin-bottom: 0;
}

.modal-spec-table .modal-spec-table-inner .table-responsive {
    margin-bottom: 10px;
}

.modal-spec-table .modal-spec-table-inner .table-responsive thead th {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
}

.modal-spec-table
    .modal-spec-table-inner
    .table-responsive
    thead
    th:first-child {
    width: auto;
    min-width: auto;
    max-width: auto;
}

@media screen and (min-width: 768px) {
    .modal-spec-table .modal-spec-table-inner ul,
    .spec-table .table-responsive {
        margin-left: 50px;
        margin-right: 50px;
    }

    .modal-spec-table .modal-spec-table-inner .table-responsive {
        margin-bottom: 10px;
    }

    .modal-spec-table .modal-spec-table-inner .table-responsive thead th {
        width: 200px;
        min-width: 200px;
        max-width: 200px;
    }

    .modal-spec-table
        .modal-spec-table-inner
        .table-responsive
        thead
        th:first-child {
        width: auto;
        min-width: auto;
        max-width: auto;
    }
}

.modal-spec-table .spectable-filter-remove-wrapper {
    margin-top: -8px;
    margin-right: -8px;
    margin-bottom: 10px;
}

.modal-spec-table .spectable-filter-remove {
    padding: 2px 5px;
    background: grey;
    cursor: pointer;
}

.modal-spec-table .spectable-filter-remove:hover {
    background-color: #404042;
}

.modal-spec-table .spectable-filter-remove .fa {
    color: #fff;
}

.modal-spec-table .spectable-stickyheader-top-left-cell {
    z-index: 104;
    border-style: solid;
    border-color: #ddd;
    border-width: 1px;
}

.modal-spec-table .spectable-stickyheader-top-left-cell.inactive {
    z-index: -100;
    visibility: hidden;
}

.modal-spec-table .spectable-stickyheader-container {
    z-index: 103;
}

.modal-spec-table .spectable-stickyheader-container.inactive {
    z-index: -100;
    visibility: hidden;
}

.modal-spec-table .spectable-fixedcol-element {
    position: absolute;
    padding: 8px;
    color: #333;
    font-weight: 700;
    background-color: #f5f5f5;
}

.modal-spec-table .spectable-fixedcol-1st-layer,
.modal-spec-table .spectable-fixedcol-top-left-cell {
    z-index: 102;
    border-style: solid;
    border-color: #ddd;
    border-width: 1px;
}

.modal-spec-table .spectable-fixedcol-2nd-layer,
.modal-spec-table .spectable-fixedcol-3rd-layer-without-2nd {
    z-index: 101;
    border-style: solid;
    border-color: #ddd;
    border-width: 0 1px 1px;
}

.modal-spec-table .spectable-fixedcol-3rd-layer {
    z-index: 100;
    border-style: solid;
    border-color: #ddd;
    border-width: 0 1px 1px 0;
}

.modal-spec-table #spectable-navigation a {
    position: absolute;
    z-index: 105;
    color: #fff;
    font-size: 18px;
    width: 40px;
    background: rgba(64, 64, 66, 0.8);
}

.modal-spec-table #spectable-navigation a:hover {
    background-color: #404042;
}

@media screen and (min-width: 768px) {
    .modal-spec-table .table-responsive {
        margin-left: 50px;
        margin-right: 50px;
    }
}

@media screen and (max-width: 767px) {
    .modal-spec-table .spectable-filter-reset,
    .modal-spec-table .table {
        font-size: 11px;
    }

    .modal-spec-table .table-responsive > .table > tbody > tr > td,
    .modal-spec-table .table-responsive > .table > tbody > tr > th,
    .modal-spec-table .table-responsive > .table > tfoot > tr > td,
    .modal-spec-table .table-responsive > .table > tfoot > tr > th,
    .modal-spec-table .table-responsive > .table > thead > tr > td,
    .modal-spec-table .table-responsive > .table > thead > tr > th {
        white-space: normal;
    }
}

.modal-spec-table .img-display {
    display: block;
    height: auto;
    max-width: 100%;
    margin-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
}

.modal-spec-table .remove-from-comparator {
    padding: 2px 5px;
    background: grey;
    cursor: pointer;
}

.modal-spec-table .remove-from-comparator .fa {
    color: #fff;
}

.modal-spec-table .modal_close_btn {
    font-size: 25px;
    float: none;
    margin: 11px 11px 11px auto;
    display: block;
}

.modal-spec-table td.empty-warn {
    border-color: #f48042;
    background-color: #fcdecf;
}

.modal-spec-table td.empty-warn > div {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #c10101;
    font-weight: 700;
}

.modal-spec-table .modal-dialog {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 100%;
    margin: auto;
    pointer-events: none;
}

.modal-spec-table .modal-dialog .modal-content {
    pointer-events: all;
}
