/* Autocomplete */
.autocomplete {
  position: relative;
  display: inline-block;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-radius: 5px;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}
.autocomplete-items div:first-child {
    border-radius: 5px 5px 0 0;
}
.autocomplete-items div:last-child {
    border-radius: 0 0 5px 5px;
}

.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

.autocomplete-active {
  background-color: var(--color-primary) !important; 
  color: #ffffff; 
}
/* Autocomplete end */
.tablesorter thead th {
    display: inline-flex;
    height: 35px;
    flex-direction: row;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: nowrap;
}

.list-style-none li {
    transition: all 0.2s ease-in-out;
}

table.tablesorter {
    text-align: center !important;
    border: none;
}

.table-bordered>tbody>tr>td:first-child {
    border-left: 1px solid #eee;
}
.table-bordered>thead>tr>td,.table-bordered>thead>tr>th {
    border-bottom-width: 2px;
    text-align: center;
    vertical-align: middle;
    border-color: #686868;
}
.tablesorter thead th:last-child {
    border-color: #fff !important;
}

.table-bordered>tbody>tr>td {
    border-left-width: 0;
    border-bottom-width: 0;
    color: #585858;
    min-width: 20px;
    border-color: #eee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #fff
}

.active-shape>label>a>span>img {
    border: 2px solid var(--color-primary) !important
}

.active-shape>label>a>.text_shape {
    color: var(--color-primary) !important;
    font-weight: 600 !important
}

.active-shape img {
    border: 1px solid var(--color-primary) !important;
    box-shadow: 0 0 0px 1px var(--color-primary);
}

.active-shape {
    color: var(--color-primary) !important;
    font-weight: 600 !important
}

.active-label {
    background-color: var(--color-primary) !important;
    color: #fff !important;
    font-weight: 600
}
.active-model {
    border: 1px solid var(--color-primary) !important;
    box-shadow: 0 0 0px 2px var(--color-primary);
    color: var(--color-primary) !important;
    font-weight: 600
}

.active-label>label>p {
    color: #fff !important;
    font-weight: 600
}

table.dataTable thead th, table.dataTable thead td {
    padding: 8px 7px 8px 8px !important;
    border-bottom: 1px solid #111
}

.table>tbody>tr>td,.table>tbody>tr>th {
    padding: 6px 1px !important;
}

.memo_M,.memo_M1 {
    background-color: #FFF308 !important
}

.memo_A2,.memo_M2 {
    background-color: #FBF9DF !important
}

.memo_A.true,.memo_A1.true {
    background-color: #73c2fb !important
}

.memo_A3 {
    background-color: #ace372 !important
}

.hide {
    display: none
}

.w_check {
    width: 2%
}

.w_stock {
    width: 5%;
}
.w_lot {
    width: 6%;
}
.w_section {
    width: 7%;
}
.w_reference {
    width: 11%;
}
.w_qty {
    width: 5%;
}
.w_watch_size {
    width: 5%;
}
.w_size_code {
    width: 5%;
}
.w_movement_cal {
    width: 6%;
}
.w_metal {
    width: 12%;
}
.w_hand_type {
    width: 7%;
}
.w_dial_mm {
    width: 5%;
}
.w_amount {
    width: 7%;
}
.w_comments {
    width: 20%;
}
.w_details {
    width: 7%;
}

.w_lab {
    width: 3%;
    /* display: inline-block !important; */
}

.w_img {
    width: 8.5%;
}

.table-condensed td,.table-condensed th {
    padding: 0px !important
}

.table-thead.fixed {
    position: sticky;
    top: 120px;
    z-index: 1;
}

.tablesorter,.tablesorter thead,.tablesorter tbody {
    display: flex;
    flex-direction: column;
}

.tablesorter tr {
    display: flex;
    flex-direction: row;
}

.tablesorter thead tr {
    align-items: center
}

@media (min-width: 768px) and (max-width: 1180px) {
    .custom-container-90 {
        width:100% !important
    }

    .table-thead.fixed {
        width: 100%
    }
}

@media (min-width: 1180px) and (max-width: 1439px) {
    .custom-container-list {
        width:100% !important
    }

    .table-thead.fixed {
        width: 100%
    }
}

@media (min-width: 1440px) and (max-width:1800px) {
    .custom-container-list {
        width:100% !important
    }

    .table-thead.fixed {
        width: 100%
    }
}

@media (min-width: 1799px) and (max-width:2000px) {
    .custom-container-list {
        width:1800px !important
    }

    .table-thead.fixed {
        width: 100%
    }
}

@media (min-width: 2000px) and (max-width:4560px) {
    .custom-container-list {
        width:1890px !important
    }

    .table-thead.fixed {
        width: 100%
    }
}

ul.carat-list.list-style-none li {
    float: left;
    border: 0 !important
}

.slider-range-carat {
    width: 50%;
    float: left;
    margin: 0px 25px 0px 15px
}

ul.carat-list.list-style-none li {
    border: 0 !important
}

ul.carat-list.list-style-none li input {
    width: 80px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    text-align: center;
    font-weight: bold
}

.shapes-container ul.list-style-none li {
    border: thin solid #ccc;
    border-radius: 4px;
}

.active-shape {
    border: 1px solid var(--color-primary)
}

.active-label {
    background-color: var(--color-primary)
}

.border-fullpage {
    border: 1px solid #ccc;
    border-radius: 4px;
}

section .shapes {
    margin-top: 5px;
    margin-bottom: 10px;
}

.list-style-none li {
    list-style: none;
    display: inline-block;
    position: relative
}

ul#diamond-shapes li a span {
    color: #666;
    font-size: 13px;
    margin: 0;
    display: block;
    font-weight: 400;
    text-transform: uppercase
}

ul#diamond-shapes label {
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 1px
}

ul#diamond-shapes li img {
    display: block;
    height: 70px;
    border: 1px solid #b8b8b8;
    border-radius: 6px;
    cursor: pointer;
    width: auto;
    padding: 3px;
    transition: all 0.2s ease-in-out;
    margin: 0 auto;
}

div.model_row {
    position: relative;
}
div.model_row:hover :is(#scroll-left-btn,#scroll-right-btn) {
    opacity: 1;
}
div.model_div {
    width: 100%;
    overflow: auto;
/*    scrollbar-width: thin;*/
}
ul#model-list {
    display: flex;
    gap: 10px;
    padding: 10px 5px;
}

ul#model-list li {
    text-align: center;
    border: 1px solid #ddd;
}

ul#model-list li img {
    display: block;
    height: auto;
    /* border: 1px solid #b8b8b8; */
    border-radius: 6px;
    cursor: pointer;
    width: 167px;
    padding: 3px;
    transition: all 0.2s ease-in-out;
}

ol,ul {
    margin-bottom: 0px !important
}

.shapes input[type="checkbox"], .toggle-section input[type="checkbox"] {
    display: block;
    height: 100%;
    top: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 2;
    margin: auto;
    cursor: pointer;
}

.border-top {
    border-top: 1px solid #d7d7d7
}

.section-title {
    /* float: left; */
    color: #000000;
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    line-height: 25px;
    padding-bottom: 3px;
}

ul#diamond-shapes li a {
    text-decoration: none
}

ul.pointer-list li {
    width: auto;
    border: thin solid #ccc;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    border-radius: 3px;
    cursor: pointer;
    padding: 4px 15px;
    margin: 1px
}

ul.pointer-list li p {
    color: #000;
    font-size: 14px;
    margin: 0px;
    font-weight: 400
}

.pointer-list input[type=checkbox] {
    opacity: 0;
    cursor: pointer;
    width: 100%;
    position: absolute;
    margin-top: 0;
    top: 0px;
    left: 0
}

.section-title {
    width: 85px;
    text-align: left;
}

.shapes-container h3.pointer-title {
    margin-right: 0px !important;
}

.shapes-container {
    padding: 4px
}

h3.section-title.color-group-title,h3.section-title.make-group-title {
    width: 105px;
}

ul.pointer-list {
    margin-left: 85px;
}

ul.color-group-list p , ul.make-group-list.list-style-none p {
    margin: 0px;
    font-size: 13px
}

ul.color-group-list li , ul.make-group-list li {
    margin-right: 4px;
}

.border-box {
    color: #000;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 15px;
    margin: 5px 2px;
    font-weight: 400
}

.border-box-1 {
    padding: 4px 25px
}

h3.section-title.stock-group-title {
    width: 87px !important
}

.bgm-checkbox-check .small-box-bgm {
    position: relative;
    border-radius: .15em;
    width: 1em;
    height: 1em;
    float: left;
    background-color: #fff;
    font-size: 20px
}

table.tablesorter .small-box-bgm {
    position: relative;
    border: 1px solid #a9a9a9;
    border-radius: .15em;
    width: 15px;
    height: 15px;
    float: left;
    background-color: #fff;
    font-size: 20px;
    margin-top: 3px
}

.bgm-checkbox-check input[type="checkbox"]+.small-box-bgm>.bgm-diamond {
    transform: scale(2) rotateZ(-10deg);
    opacity: 0;
    transition: all .3s ease-in
}

.bgm-checkbox-check input[type="checkbox"]:checked+.small-box-bgm>.bgm-diamond {
    transform: scale(1) rotateZ(0deg);
    opacity: 1
}

.bgm-checkbox-check .small-box-bgm .bgm-diamond {
    position: absolute;
    font-size: .8em;
    line-height: 0;
    top: 51%;
    left: 0
}

table.tablesorter .small-box-bgm .bgm-diamond {
    position: absolute;
    font-size: 10px;
    line-height: 0;
    top: 49%;
    left: 1px;
    padding: 0px
}

.stocksearch {
    width: 100% !important;
    border-radius: 4px;
    border: 0;
    padding: 5px
}

.stocksearch-text {
    width: 40%
}

li.stocksearch-text label {
    width: 100%;
    display: block
}

h3.section-title.bgm-group-title {
    width: 70px
}

li.bgm-checkbox {
    height: 22px;
    margin: 4px 0px
}

li.bgm-checkbox-check {
    width: 20px;
    height: 20px;
}

.toggle-title {
    font-size: 13px;
    font-weight: bold;
    float: left;
    width: 100px;
    line-height: 24px
}

.toggle-title-key {
    font-weight: bold;
    float: left;
    padding-right: 17px;
    font-size: 18px
}

.search-input {
    border: 1px solid #d9d9d9;
    padding: 5px;
    color: #000;
    margin-right: 8px;
    width: 100%;
    border-radius: 4px
}

ul.key-list.list-style-none .border-box {
    margin-bottom: 3px
}

h3.toggle-title-key.cut-title {
    line-height: 24px
}

ul.key-list.list-style-none {
    margin-top: 5px
}

ul.ratio-list.list-style-none li , ul.gridle-list.list-style-none li , ul.star-list.list-style-none li , ul.lowe-half-list.list-style-none li {
    width: 36%
}

.checkbox-inline input[type="checkbox"] {
    display: block;
    height: 75%;
    left: 35px;
    margin: 0 auto !important;
    opacity: 1;
    position: absolute !important;
    right: 0;
    width: 100%;
    z-index: 999;
    top: 3px
}

.toogle-heading {
    font-size: 16px;
    color: #055d8e;
    font-weight: bold;
    line-height: 28px;
    margin: 0px;
}

.search-reset-button {
    float: right
}

.search-reset-button li {
    border: 0 !important
}

marquee span {
    color: rgb(230,34,17)
}

.button-list {
    padding: 10px 0px 5px 2px;
}

i.fa.fa-diamond.diamond-2 {
    margin-left: -10px;
    color: #000;
    font-size: 12px
}

ul.list-style-none.button-list button , ul.list-style-none.button-list li a {
    padding: 3px 9px !important;
    font-size: 13px;
    margin-bottom: 5px;
    margin-right: 5px;
    line-height: 21px
}

.search-reset-button p {
    margin: 0
}

ul.carat-list.list-style-none i {
    font-size: 30px;
    margin-left: 5px;
    color: #666
}

#carat-modal .modal-body table input[type="checkbox"] {
    opacity: 1;
    position: inherit !important;
    width: auto
}

#carat-modal .modal-body table thead tr th {
    background-color: rgb(248, 248, 248)
}

.carat-list .modal-dialog {
    width: 255px !important
}

#carat-modal .modal-body table {
    margin-bottom: 0px
}

#carat-modal .modal-body table {
    display: block;
    overflow-y: auto;
    height: 300px;
    border: 1px solid #444;
    background-color: #fff
}

#carat-modal .modal-body {
    background-color: #eee
}

#carat-modal .modal-body table td , #carat-modal .modal-body table th {
    padding: 5px
}

#carat-modal .modal-input {
    font-weight: bold;
    text-align: center;
    width: 79px
}

#carat-modal .modal-body table input[type=checkbox] {
    margin: 6px auto !important;
    height: auto;
    width: 28px;
    padding: 11px
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 0px !important;
    font-weight: 300 !important
}

#add_data label {
    position: relative
}

/*.main-nav .navbar-nav li.active a:after {
    opacity: 1
}

.main-nav nav li a:after {
    position: absolute;
    bottom: 0;
    content: '';
    left: 50%;
    display: block;
    height: 4px;
    width: 4px;
    opacity: 0;
    margin: 0px 0 -2px -2px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute
}

.main-nav .navbar-nav li a:after {
    background-color: var(--color-primary)
}*/

h4.modal-title {
    font-size: 16px;
    font-weight: 600
}

.modal-footer button.btn.btn-toggle-red {
    font-size: 13px
}

.modal-footer .btn+.btn {
    margin-bottom: 0;
    margin-left: 0px !important
}

ul#diamond-shapes li {
    border: none;
    margin-left: 17px;
    margin-right: 17px;
}

.p-bg-color {
    background-color: #555;
    color: #fff;
    padding: 4px 14px;
    border-radius: 7%;
}

ul.key-list.list-style-none li {
    margin: 2px 0px
}

.toggle-section li input {
    border: 0 !important
}

.irs {
    margin-top: -17px
}

.lightPro th {
    background-color: #595959;
    min-width: 90px;
    border: 1px solid #b8b8b8;
    font: 11pt Cambria;
    color: white;
    font-weight: bold;
    text-align: left;
    vertical-align: middle;
    margin: 1px 1px 1px 1px;
    padding: 1px 1px 1px 1px;
    height: 0px
}

.tab .tab-heading {
    background-color: #595959;
    min-width: 90px;
    border-top: 1px solid #b8b8b8;
    font: 11pt Cambria;
    color: white;
    font-weight: bold;
    text-align: left;
    vertical-align: middle;
    margin: 1px 1px 1px 1px;
    padding: 1px 1px 1px 1px;
    height: 0px
}

.tab .tab-desc {
    background-color: #d9d9d9;
    font-weight: bold;
    border-bottom: 1px solid #b8b8b8;
    font: bold 10pt Cambria;
    color: #000;
    vertical-align: middle;
    padding: 2px;
    font-weight: bold;
    text-align: left;
    white-space: nowrap
}

.grey-bg {
    background-color: #d9d9d9
}

.main-tab,.tab {
    border: 1px solid #b8b8b8
}

.tab-img {
    width: 270px;
    height: 235px;
    text-align: center;
    border: 1px solid #C9CACF
}

.lightPro td {
    background-color: #d9d9d9;
    font-weight: bold;
    border: 1px solid #b8b8b8;
    font: bold 10pt Cambria;
    color: #000;
    vertical-align: top;
    padding: 2px;
    font-weight: bold;
    text-align: left;
    white-space: nowrap
}

.padding-border {
    padding: 0;
    border: 0
}

.fa-plus-circle {
    font-size: 17px;
    margin-top: 2px;
    cursor: pointer;
    color: #02a602
}

.fa-minus-circle {
    font-size: 17px;
    margin-top: 2px;
    cursor: pointer;
    color: var(--color-primary);
    /* height:23px; */
    /* width:23px; */
}

i.fa.fa-sort,i.fa.fa-sort-asc,i.fa.fa-sort-desc {
    color: #d9d9d9;
    font-size: 12px
}

.tooltip {
    font-size: 10px;
    font-weight: bold
}

td>a,td>a:focus,td>a:hover {
    color: var(--color-primary);
    text-decoration: none
}

.button-list ul.dropdown-menu li {
    display: block
}

ul.dropdown-menu {
    background-color: transparent !important;
    min-width: 80px;
    padding: 0px;
    border: 0px;
    box-shadow: none;
    margin-top: 0px
}

.button-list ul.dropdown-menu li a {
    background-color: var(--color-primary);
    width: 100%;
    margin: 2px 0px;
    font-size: 11px;
    border-radius: 3px;
    color: #fff;
    font-weight: 600;
    padding: 9px 5px;
    text-transform: uppercase
}

.modal-100 .modal-dialog {
    width: max-content !important;
    display: block;
    margin-top: 30px !important;
    padding: 0 15px;
    width: 100% !important;
}

#showcalc span.blink_me.color-blue {
    font-weight: 900;
    font-size: 14px
}

#showcalc .col-md-2 input[type="text"] {
    width: 60px
}

#showcalc .modal-header h5 {
    font-size: 14px;
    line-height: 20px;
    color: #444;
    font-weight: 700;
    margin: 0px
}

#showcalc .modal-body {
    position: relative;
    padding: 10px
}

#showcalc table#finalcaltbl h5 {
    margin: 0px;
    text-align: center
}

#showcalc table#finalcaltbl thead tr {
    background-color: #444
}

#showcalc table#finalcaltbl thead tr th {
    background-color: var(--color-primary);
    color: #fff;
    font-size: 12px;
    font-weight: bold
}

#showcalc .modal-header {
    border-bottom: 0px
}

#showcalc tbody tr td {
    text-align: center;
    font-weight: 900
}

.back-to-top:hover i {
    background-color: var(--color-primary)
}

.back-to-top i {
    margin-right: 5px;
    font-size: 18px;
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #fff;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -o-border-radius: 15px;
    text-align: center;
    background-color: #666;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
}

.back-to-top {
    position: fixed;
    bottom: 60px;
    right: 10px;
    z-index: 20;
}

tbody tr td a.ThumbnailImg img {
    width: 227px
}

.fancybox-close {
    cursor: pointer;
    height: 36px;
    position: absolute;
    right: -18px;
    top: -18px;
    width: 36px;
    z-index: 8040;
    background-image: url(../../images/fancybox_sprite.png)
}

ul.button-list li img.whatsapp-icon {
    width: 16px
}

@media (max-width: 1823px) {
    ul.ratio-list.list-style-none li, ul.gridle-list.list-style-none li, ul.star-list.list-style-none li, ul.lowe-half-list.list-style-none li {
        width:27%
    }
}

@media (max-width: 1620px) {
    ul.ratio-list.list-style-none li, ul.gridle-list.list-style-none li, ul.star-list.list-style-none li, ul.lowe-half-list.list-style-none li {
        width:31%
    }

    ul.table-list li label, ul.depth-list label, ul.width-list label, ul.length-list label, ul.depth-1-list label, ul.cr-angle-list label, ul.cr-height-list label, ul.pav-angle-list label, ul.pav-height-list label {
        width: 100px
    }

    ul.table-list li, ul.depth-list li, ul.width-list li, ul.length-list li, ul.depth-1-list li, ul.cr-angle-list li, ul.cr-height-list li, ul.pav-angle-list li, ul.pav-height-list li {
        width: 100px;
        display: inline-block;
        max-width: 100%;
        margin-bottom: 0px !important;
        font-weight: 300 !important
    }

    .toggle-title {
        width: 78px
    }

    .border-box-1 {
        padding: 4px 21px
    }

    ul.pointer-list li {
        padding: 4px 12px
    }

    .border-box {
        padding: 4px 12px
    }
}

@media (min-width: 1100px) and (max-width:1272px) {
    ul#diamond-shapes label {
        margin-left:12px !important;
        margin-right: 12px !important
    }

    ul.pointer-list li {
        padding: 4px 6px
    }

    .border-box {
        padding: 4px 8px
    }

    .border-box {
        font-size: 12px
    }

    ul.table-list label {
        width: 150px
    }

    .search-input {
        width: 100%
    }

    .toggle-title {
        width: 75px
    }

    ul.table-list li label , ul.depth-list label , ul.width-list label , ul.length-list label , ul.depth-1-list label , ul.cr-angle-list label , ul.cr-height-list label , ul.pav-angle-list label , ul.pav-height-list label {
        width: 100px
    }

    ul.ratio-list.list-style-none li, ul.gridle-list.list-style-none li, ul.star-list.list-style-none li, ul.lowe-half-list.list-style-none li {
        width: 31%
    }

    ul.carat-list.list-style-none li input {
        width: 50px;
        font-size: 12px;
        font-weight: 700
    }
}

@media (min-width: 1000px) and (max-width:1099px) {
    ul#diamond-shapes label {
        margin-left:8px;
        margin-right: 8px
    }

    ul.pointer-list li p {
        font-size: 12px
    }

    ul.pointer-list li {
        padding: 4px 6px
    }

    ul.carat-list.list-style-none i {
        font-size: 24px
    }

    ul.carat-list.list-style-none li input {
        width: 41px;
        font-size: 10px
    }

    .border-box {
        font-size: 12px;
        padding: 4px 7px
    }

    .p-bg-color {
        padding: 6px 10px
    }

    ul.table-list li label , ul.depth-list label , ul.width-list label , ul.length-list label , ul.depth-1-list label , ul.cr-angle-list label , ul.cr-height-list label , ul.pav-angle-list label , ul.pav-height-list label {
        width: 84px
    }

    ul.ratio-list.list-style-none li, ul.gridle-list.list-style-none li, ul.star-list.list-style-none li, ul.lowe-half-list.list-style-none li {
        width: 27%
    }

    ul.carat-list.list-style-none li input {
        width: 50px;
        font-size: 12px;
        font-weight: 700
    }

    .toggle-title {
        width: 80px
    }

    .slider-range-carat {
        margin: 0px 10px 0px 10px
    }
}

@media (min-width: 992px) and (max-width:999px) {
    ul#diamond-shapes label {
        margin-left:9px;
        margin-right: 8px
    }

    ul.pointer-list li p {
        font-size: 12px
    }

    ul.table-list li label , ul.depth-list label , ul.width-list label , ul.length-list label , ul.depth-1-list label , ul.cr-angle-list label , ul.cr-height-list label , ul.pav-angle-list label , ul.pav-height-list label {
        width: 82px
    }

    ul.ratio-list.list-style-none li, ul.gridle-list.list-style-none li, ul.star-list.list-style-none li, ul.lowe-half-list.list-style-none li {
        width: 27%
    }

    ul.carat-list.list-style-none li input {
        width: 50px;
        font-size: 12px;
        font-weight: 700
    }

    .toggle-title {
        width: 80px
    }

    ul.pointer-list li {
        padding: 4px 5px
    }

    .slider-range-carat {
        margin: 0px 10px 0px 10px
    }

    ul.carat-list.list-style-none i {
        font-size: 25px
    }

    .p-bg-color {
        padding: 6px 10px
    }

    .border-box {
        font-size: 12px;
        padding: 4px 7px
    }
}

@media (min-width: 992px) and (max-width:1528px) {
}

h4.modal-title {
    font-weight: 700
}

#compare-stock #CompareStone>tbody>tr>td {
    border: 1px solid #bbb9b9 !important;
    text-align: center;
    padding: 2px 1px 1px 5px;
    font-weight: bold
}

#compare-stock #CompareStone>tbody>tr>td {
    border: 1px solid #bbb9b9 !important;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
    padding: 4px 1px 4px 5px
}

div#showcalc {
    padding: 0px 15px
}

#compare-stock .clsimages img {
    cursor: default;
    width: 100px
}

.btn-toggle-grey:hover,.btn-toggle-red:hover {
    color: #fff !important;
    opacity: .8
}

.btn-toggle-red {
    background-color: var(--color-primary);
    color: #fff;
    padding: 5px 15px !important;
    /* text-transform: uppercase; */
}

#compare-stock .modal-body table {
    width: 100%
}

#compare-stock .modal-body table thead tr {
    background-color: rgb(235, 237, 239);
    left: 0px;
    position: relative
}

#compare-stock tr td.heads {
    color: white;
    background-color: var(--color-primary)
}

#compare-stock .modal-body button {
    margin: 15px auto 0px !important;
    display: block
}

.sticky-header {
    position: fixed;
    top: 110px;
    z-index: 1;
    width: 100%;
    display: none
}

.sticky-header>.custom-container-90 {
}

section.sticky-button marquee {
    display: none
}

.sticky-button {
    position: sticky;
    top: 62px;
    z-index: 2;
    width: 100%;
}

#sticky-button {
    background-color: #fff
}

.table-thead {
    background-color: #555;
    color: #fff;
    font-size: 12px;
    font-weight: bold
}

.tablesorter>thead {
    background-color: #555;
    color: #fff;
    font-size: 12px;
    font-weight: bold
}

#add_data tr {
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}
#add_data tr:last-child {
    border-bottom: 1px solid #eee;
}

div#no_list_section {
    background-color: #eee;
    margin-top: 15px
}

tr.tr_selected,tr.tr_selected.even,tr.tr_selected.odd {
    background-color: #f5f5f5 !important;
    box-shadow: inset 4px 0px 0px 0px var(--color-primary);
}

.border-none {
    border: none !important
}

span.cam, i.cam {
    background: url("../../images/camera.png");
    display: block;
    /* width: auto; */
    height: 20px;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    cursor: pointer;
    background-position: center;
}

span.cert, i.cert {
    cursor: pointer;
    color: var(--color-primary);
}

table i {
    font-style: unset;
}

[data-tip] {
    position: relative;
    display: inline-block;
    width: 100%
}

[data-tip]:after {
    content: attr(data-tip);
    position: absolute;
    opacity: 0;
    background: #222;
    color: #fffefe;
    padding: 2px 5px;
    width: max-content;
    min-width: 70px;
    max-width: 170px;
    font-weight: 500;
    font-size: 12px;
    border-radius: 5px;
    box-shadow: 0 0 4px 0px #7e7e7e;
    white-space: break-spaces;
    pointer-events: none;
    z-index: 10;
    transition: all .1s ease-in-out;
}

[data-tip]:before {
    margin-left: 0;
    content: "";
    border-width: 5px;
    border-style: solid;
    position: absolute;
    opacity: 0;
    transition: all .1s ease-in-out
}

[data-tip][data-tip-pos=left]:after {
    bottom: 50%;
    left: 0;
    transform: translate(-100%,50%)
}

[data-tip][data-tip-pos=left]:before {
    bottom: 50%;
    left: 0;
    transform: translate(0,50%);
    border-color: transparent transparent transparent #222
}

[data-tip][data-tip-pos=right]:after {
    bottom: 50%;
    right: 0;
    transform: translate(100%,50%)
}

[data-tip][data-tip-pos=right]:before {
    bottom: 50%;
    right: 0;
    transform: translate(0,50%);
    border-color: transparent #222 transparent transparent
}

[data-tip][data-tip-show="1"]:hover:after,[data-tip][data-tip-show="1"]:hover:before {
    opacity: 1
}

.tr-detail {
    background: #f6f6f6 !important;
}

.t-li:first-child {
    border-top: 1px solid #a7a7a7;
}

.t-li {
    border-bottom: 1px solid #a7a7a7;
    border-right: 1px solid #a7a7a7;
    display: flex;
    width: 100%;
}

.t-row {
    width: 20%;
    float: left;
    background: #f6f6f6;
    padding: 10px 5px;
}

.t-row.comment {
    width: 60%;
    padding-top: 0;
    margin-left: 20%;
}

.t-row img {
    border: 1px solid #555;
    border-radius: 5px;
}

.t-row span.head {
    background: #555;
    color: #fff;
    min-height: 100%;
    align-items: center;
}

.t-row span {
    background: #f6f6f6;
    word-break: break-word;
    display: flex;
    max-width: 100%;
    min-width: 120px;
    color: #505050;
    padding: 2px 0px 2px 5px;
    text-align: left;
    vertical-align: middle;
    border-left: 1px solid #a7a7a7;
}

@media (min-width: 1800px) {
    .custom-container-filter {
        width: 1500px !important;
    }
}

/*css version 2.0.3RangeSlider */
.irs {
    position: relative;
    display: block;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.irs-line {
    position: relative;
    display: block;
    overflow: hidden;
    outline: none !important
}

.irs-line-left,.irs-line-mid,.irs-line-right {
    position: absolute;
    display: block;
    top: 0
}

.irs-line-left {
    left: 0;
    width: 11%
}

.irs-line-mid {
    left: 9%;
    width: 82%
}

.irs-line-right {
    right: 0;
    width: 11%
}

.irs-bar {
    position: absolute;
    display: block;
    left: 0;
    width: 0
}

.irs-bar-edge {
    position: absolute;
    display: block;
    top: 0;
    left: 0
}

.irs-shadow {
    position: absolute;
    display: none;
    left: 0;
    width: 0
}

.irs-slider {
    position: absolute;
    display: block;
    cursor: default;
    z-index: 1
}

.irs-slider.single {
}

.irs-slider.from {
}

.irs-slider.to {
}

.irs-slider.type_last {
    z-index: 2
}

.irs-min {
    position: absolute;
    display: block;
    left: 0;
    cursor: default
}

.irs-max {
    position: absolute;
    display: block;
    right: 0;
    cursor: default
}

.irs-from,.irs-single,.irs-to {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    cursor: default;
    white-space: nowrap
}

.irs-grid {
    position: absolute;
    display: none;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px
}

.irs-with-grid .irs-grid {
    display: block
}

.irs-grid-pol {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 8px;
    background: #000
}

.irs-grid-pol.small {
    height: 4px
}

.irs-grid-text {
    position: absolute;
    bottom: 0;
    left: 0;
    white-space: nowrap;
    text-align: center;
    font-size: 9px;
    line-height: 9px;
    padding: 0 3px;
    color: #000
}

.irs-disable-mask {
    position: absolute;
    display: block;
    top: 0;
    left: -1%;
    width: 102%;
    height: 100%;
    cursor: default;
    background: rgba(0,0,0,0.0);
    z-index: 2
}

.irs-disabled {
    opacity: 0.4
}

.lt-ie9 .irs-disabled {
    filter: alpha(opacity=40)
}

.irs-hidden-input {
    position: absolute !important;
    display: block !important;
    top: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    z-index: -9999 !important;
    background: none !important;
    border-style: solid !important;
    border-color: transparent !important
}

/*Skin details */

/*Skin details */
span.irs-slider {
    background: #bbb;
    border-radius: 4px;
    cursor: pointer;
}

.irs-bar,.irs-bar-edge,.irs-line-left,.irs-line-mid,.irs-line-right,.irs-slider {
    /* background:url("../../img/sprite-skin-flat.png") repeat-x; */
}

.irs {
    height: 40px
}

.irs-with-grid {
    height: 60px
}

.irs-line {
    height: 5px;
    top: 28px;
    background: white;
    /* border: 1px solid #555; */
    background: #bfbbbb;
    border-radius: 3px;
}

.irs-line-left {
    height: 14px;
    background-position: 0 -30px
}

.irs-line-mid {
    height: 14px;
    background-position: 0 0
}

.irs-line-right {
    height: 14px;
    background-position: 100% -30px
}

.irs-bar {
    height: 5px;
    top: 28px;
    background-position: 0 -60px;
    background: var(--color-primary);
}

.irs-bar-edge {
    top: 25px;
    height: 14px;
    width: 9px;
    background-position: 0 -90px
}

.irs-shadow {
    height: 3px;
    top: 34px;
    background: #000;
    opacity: 0.25
}

.lt-ie9 .irs-shadow {
    filter: alpha(opacity=25)
}

.irs-slider {
    width: 20px;
    height: 20px;
    top: 20px;
    background-position: 0 -120px
}

.irs-slider.state_hover,.irs-slider:hover {
    background-position: 0 -120px
}

.irs-max,.irs-min {
    color: #999;
    font-size: 10px;
    line-height: 1.333;
    text-shadow: none;
    top: 0;
    padding: 1px 3px;
    background: #e1e4e9;
    -moz-border-radius: 4px;
    border-radius: 4px
}

.irs-from,.irs-single,.irs-to {
    color: #fff;
    font-size: 10px;
    line-height: 1.333;
    text-shadow: none;
    padding: 1px 5px;
    background: #008eb4;
    -moz-border-radius: 4px;
    border-radius: 4px
}

.irs-from:after,.irs-single:after,.irs-to:after {
    position: absolute;
    display: block;
    content: "";
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -3px;
    overflow: hidden;
    border: 3px solid transparent;
    border-top-color: #008eb4
}

.irs-grid-pol {
    background: #e1e4e9
}

.irs-grid-text {
    color: #999
}




/*-----------------------*/
body {
    overflow-x: hidden;
}

.table > thead {
    background-color: var(--color-primary);
    background-color: #444444;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}

#list_diamond, #grid_diamond {
    display: none;
}

.grid-list i {
    font-size: 20px;
    background: #fff;
    padding: 7px 7px 4px;
    position: relative;
    border-radius: 4px;
}

.grid-list i.active {
    background: #4b4c4d;
    color: #eee;
}

.grid-list .view_as {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
    cursor: pointer;
    opacity: 0;
    margin: 0;
}

div#grid_diamond {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 5px;
}

div#grid_diamond [data-tip] {
    display: inline;
}

div#grid_diamond i {
    font-style: unset;
}

div#grid_diamond .tr_checkbox {
    width: 17px;
    height: 17px;
    margin: 0 0 0 5px;
    cursor: pointer;
}

.dia_box {
    display: flex;
    width: 19%;
    flex-direction: column;
    margin-bottom: 10px;
    padding: 2px;
    border-radius: 7px;
    transition: all 0.2s ease-in-out;
    border: 1px solid #eee;
    justify-content: space-between;
}

.dia_box:hover {
    box-shadow: 1px 1px 7px 3px #ddd !important;
}

.dia_img {
    min-height: 230px;
    text-align: center;
}

.dia_img > img {
    width: auto;
    height: auto;
    max-height: 230px;
    max-width: 255px;
    border-radius: 5px;
    cursor: pointer;
}

.dia_details {
    padding: 5px;
    border-radius: 4px;
}

.dia_details > span {
    display: inline-block;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    color: #585858;
    /* line-height: 1.2; */
}
.det_flex {
    display: flex;
}
span.det_col {
    width: 50%;
    color: #555;
}

span.value {
    font-weight: 500;
    color: #333;
}

span.m_status {
    width: 25px;
    border: 1px solid #ddd;
    padding: 0 5px;
    border-radius: 4px;
    background: #fff;
    font-weight: 700;
}

span.dia_shape {
    font-weight: 500;
    color: var(--color-primary);
}

span.dia_price {
    letter-spacing: 0.5px;
}

span.dia_price.second {
    font-weight: 500;
    color: var(--color-primary);
}

.dia_btn {
    display: inline-flex;
    justify-content: flex-start;
    height: 25px;
    align-items: center;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
}
.dia_box:hover .dia_btn {
    visibility: visible;
}

.dia_btn > span, .dia_btn > i {
    margin-left: 10px;
    color: limegreen;
    width: 25px !important;
    cursor: pointer;
    text-align: center;
}

.dia_btn .fa {
    font-size: 18px;
}

.modal-header > .close {
    margin-top: -12px;
    font-size: 26px;
    opacity: 0.6;
}

#quick_detail_tbody td {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media only screen and (max-width: 1024px) {
    .dia_box {
        width: 30%;
    }

    .dia_details {
        padding: 2px 5px;
    }

    .dia_details > span {
        font-size: 16px;
    }
}

[data-tip][data-tip-pos=top]:after {
    bottom: 100%;
    left: 50%;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
}

[data-tip][data-tip-pos=top]:before {
    bottom: 25%;
    left: 25%;
    transform: translate(0,-50%);
    border-color: #333 transparent transparent transparent;
}

div.btn_group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.button-list {
    display: inline-flex;
}

.grid-list {
    display: inline-flex;
    width: 10%;
    flex-direction: row;
    justify-content: center;
}

.flex.items-center.justify-center {
    padding-bottom: 10px;
    padding-top: 10px;
    /* border-bottom: 1px solid #ddd; */
    margin-bottom: 10px;
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    flex-wrap: nowrap;
}
.flex-grow {
    flex-grow: 1;
}
.flex-input {
    max-width: 190px;
}
.flex-inline {
    display: inline-flex;
}

.btn-default {
    color: #555;
    background-color: #fff;
    border-color: #888888;
    margin-right: 5px;
    padding: 5px 10px !important;
    width: 100%;
}

.btn {
    margin-right: 5px;
}

.dropdown-menu.multi-level {
    width: 20vw;
    height: max-content;
    max-height: 45vh;
    overflow-x: auto;
    border: 1px solid #ddd;
    box-shadow: 0 4px 16px rgb(0 0 0 / 18%);
}

.dropdown-menu.multi-level {
    padding: 10px 0;
}

.dropdown-menu.multi-level {
    padding-bottom: 0 !important;
}

ul.checkbox li, div.checkbox {
    /* border-bottom: 1px solid #f1f1f1; */
    padding: 0px 10px;
}

label.check-li {
    width: 100%;
}

.checkbox label {
    line-height: 30px;
    font-weight: normal;
    font-size: 16px;
    position: relative;
    padding-left: 30px;
}

.checkbox input[type="checkbox"] {
    /* display: block; */
    left: 7px;
    margin: 0;
    opacity: 1;
    position: absolute;
    top: 7px;
    width: 16px;
    height: 16px;
    z-index: 999;
    cursor: pointer;
}

.filter_search {
    font-size: 14px;
    width: 100%;
    padding: 5px 10px;
    /* margin: 0 5px; */
    border: none;
    border: 1px solid #888;
    border-radius: 5px;
    outline: 0;
}

.dropdown_apply {
    position: sticky;
    bottom: 0;
    background: #fff;
    margin: 0;
    z-index: 999;
    text-align: center;
    border-top: 1px solid #edecec;
}

.dropdown_apply > button {
    border: 1px solid #cacaca;
    background: #ffffff;
    padding: 3px 15px;
    margin: 7px;
    border-radius: 5px;
    box-shadow: -1px 1px 5px 2px #cacaca;
}

span.pic, i.pic {
    background: url(../../images/pic.png);
    display: block;
    width: auto;
    height: 20px;
    background-repeat: no-repeat;
    background-size: 18px 16px;
    cursor: pointer;
    background-position: center;
}

.w_img img {
    height: auto;
    width: auto;
    max-width: 100px;
    border-radius: 4px;
    cursor: pointer;
}

td.w_img {
    min-height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

input.tr_checkbox {
    margin: 0;
    cursor: pointer;
}

#scroll-left-btn {
    left: 0px;
}
#scroll-right-btn {
    right: 0px;
}
#scroll-left-btn, #scroll-right-btn {
    right: 0px;
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 30px;
    height: 35px;
    background: #ddd;
    border: none;
    border-radius: 4px;
    opacity: 0;
}
li.watch_model {
    display: none;
}
.model_container {
    display: none;
}

#image-body img {
    width: 100%;
    height: 100%;
    max-width: fit-content;
    max-height: fit-content;
}
.total_record {
    font-weight: 600;
}
.active-box {
    border: 1px solid var(--color-primary);
}

.disclaimer {
    color: #444;
    font-size: 9px;
    margin: 10px 0 0;
}

/* swiper */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  /* max-height: 55vh; */
  margin: 0 auto;
  border-radius: 5px;
}
.swiper-slide video {
  width: auto;
  height: 100%;
/*  max-height: 55vh;*/
  margin: 0 auto;
  border-radius: 5px;
}

.mySwiperThumb .swiper-slide :is(img, svg) {
    /* max-height: 50px; */
    width: auto;
    height: 100%;
    /* max-width: 50px; */
    color: #666;
    padding: 5px;
}
.mySwiperThumb .swiper-slide  svg {
    height: 30px;
    width: 30px;
}

.swiper {
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
}

.mySwiper2 {
  height: 100%;
  width: 100%;
}

.mySwiperThumb {
  width: 15%;
  position: relative;
}

.mySwiper {
  height: 100%;
  box-sizing: border-box;
  padding: 10px 0;
  
}

.mySwiper .swiper-slide {
    width: 50px;
    height: 50px !important;
    border: 1px solid #eee;
    border-radius: 6px;
    margin: 0 auto;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 1px solid var(--color-primary) !important;
    box-shadow: 0 0 0px 1px var(--color-primary);
}
.swiper-button-next, .swiper-button-prev {
    color: #eeeeee;
}

#image-modal .modal-lg {
  width: 90%;
  max-width: 1100px;
}
#image-modal .modal-body {
  display: flex;
  height: 80vh;
}
/* swiper */