#loader, #error {
    overflow-y: auto;
    height: calc(100% - 30px);
    margin: 0;
    z-index: 999;
}

.diamond-head-text {
    font-family: 'Muli', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: black;
}

.table-wrapper {
    max-height: 500px;
    overflow: auto;
    display: inline-block;
    height: 500px;
}


table thead tr th {
    cursor: pointer;
    background: #ECECEC;
}

th, td a {
    font-size: 16px;
    font-weight: 200;
    color: black;
    font-family: 'Muli', sans-serif;
}

td a:hover {
    color: #000;
    font-weight: 300;
}
table tr{
    cursor: pointer;
}

tr:nth-child(even) th[scope=row] {
    background-color: #bfbfbf;
}

tr:nth-child(odd) th[scope=row] {
    background-color: #fff;
}

table tr:hover{
    background-color: rgba(115, 194, 251, 0.5);
}
.table-striped tbody tr:nth-of-type(odd):hover{
    background-color: rgba(115, 194, 251, 0.51);
}

th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
}

th[scope=row] {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 1;
}

th[scope=row] {
    vertical-align: top;
    color: inherit;
    background-color: inherit;
    background: linear-gradient(90deg, transparent 0%, transparent calc(100% - .05em), #d6d6d6 calc(100% - .05em), #d6d6d6 100%);
}

table:nth-of-type(2) th:not([scope=row]):first-child {
    left: 0;
    z-index: 3;
    background: linear-gradient(90deg, #666 0%, #666 calc(100% - .05em), #ccc calc(100% - .05em), #ccc 100%);
}


.diamond-p {
    font-family: 'Muli', sans-serif;
    font-size: 16px;
    font-weight: 200;
    color: #6c6c6c;
}

.filter-btn {
    border-radius: 5px;
    border: solid 1px #4c4c4c;
    background-color: #f8f8f8;
    margin-left: -50px;
    margin-right: -50px;
    position: relative;
    left: 50%;
}

.filter-btn a {
    font-family: 'Muli', sans-serif;
    font-size: 14px;
    color: black;
}

.diamond-shape-title {
    font-family: 'Muli', sans-serif;
    color: black;
    font-size: 14px;
}

.card-header {
    background: #f7f7f7;
    border: none;
    padding: 0;
    cursor: pointer;
}

#diamond-search ul {
    list-style-type: none;
    padding: 0;
    overflow: hidden;
}

#diamond-search ul li {
    float: left;
}

.tooltip-inner {
    background: white;
    font-family: 'Muli', sans-serif;
    font-size: 8px;
    font-weight: 500;
    color: #888888;
    border-radius: 10px;
    border: 1px solid #888888;
    padding-top: 0;
    padding-bottom: 0;
}

.carat-value {
    width: 20%;
    margin-top: 11px;
    font-family: 'Muli', sans-serif;
    font-size: 11px;
    font-weight: 300;
    text-align: center;
    color: #6c6c6c;
}

.card-header h6 {
    font-family: 'Muli', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.diamond-tags li {
    background: black;
    color: white;
    font-family: 'Muli', sans-serif;
    font-size: 11px;
    font-weight: 300;
    border-radius: 3px;
}

.btn-natural {
    cursor: pointer;
    border: black 1px solid;
    border-radius: 8px;
}

.btn-natural h6 {
    font-family: 'Muli', sans-serif;
    font-size: 14px;
    font-weight: 200;
    color: #2a2a2a;
}

.btn-natural .v-line {
    border-left: black solid 2px;
}

.btn-natural svg {
    width: 30px;
    height: 30px;
}

.btn-natural:hover {
    border: #73c2fb 1px solid;
    border-radius: 8px;
}

.btn-natural:hover > div.row .v-line {
    border-left: #73c2fb solid 2px;
}

.btn-natural:hover > div.row div svg path {
    fill: #73c2fb;
}

.btn-natural:hover > div.row div h6 {
    color: #73c2fb;
}

.btn-natural:hover > .v-line {
    border-left: #73c2fb solid 2px;
}


.view-style-btn {
    background: #4c4c4c;
    border: none;
    border-radius: 10px;

}

.img-shape-table {
    width: 30px;
    margin-left: 10px;
}

.view-style-btn a {
    color: white;
    margin-left: 3px;
}

.card-header[aria-expanded=true] .fa-plus {
    display: none;
}

.card-header[aria-expanded=false] .fa-minus {
    display: none;
}

#diamond-search .diamond-shape .img-shape {
    display: block;
    cursor: pointer;
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom: 10px;
    height: 35px;
    width: 35px;
    position: relative;
    background-size: 100% 100%;
}

#diamond-search .diamond-shape li svg.img-shape {
    fill: rgba(0, 0, 0, .5);
}

/*#diamond-search .diamond-shape li:hover > svg.img-shape {*/
/*    fill: #20c6b6 !important;*/
/*}*/

#diamond-search .diamond-shape li .img-shape.active {
    fill: #73c2fb !important;
}

#diamond-search ul.text-box li span {
    display: block;
    cursor: pointer;
    text-align: center;
    position: relative;
    background-size: 100% 100%;
    border-radius: 3px;
    border: solid 1px #cccccc;
    background-color: #ffffff;
    font-family: 'Muli', sans-serif;
    font-size: 11px;
    padding: 0;
    font-weight: 300;
    color: #6c6c6c;
}

ul.diamond-color li span {
    margin-right: 2px;
    margin-left: 2px;
    width: 40px;
}

ul.diamond-cut li span {
    margin-right: 10px;
    padding: 3px 13px;
}

ul.diamond-clarity li span {
    margin-right: 7px;
    padding: 0px 11px;
}

#diamond-search ul li span.last {
    margin-right: 0px !important;;
}

#diamond-search ul li span.active {
    border-color: #73c2fb;
    background-color: #73c2fb;
    font-size: 11px;
    font-weight: 700;
    color: black
}


.ui-slider .ui-slider-range {
    background: #73c2fb !important;
    border: 3px solid #73c2fb;
    top: -2px;
}

.ui-widget.ui-widget-content {
    background: #cccccc !important;
    border: 1px solid #cccccc !important;
    height: 5px;
}

#slider .ui-slider-handle {
    background: url('../../../assets/img/new/diamond.webp') no-repeat;
    border: none;
    width: 24px !important;
    height: 24px !important;
    outline: 0 !important;
    top: -8px !important;
}

#slider .ui-slider-line {
    display: none;
}

#slider.ui-slider .ui-slider-pip .ui-slider-label {
    /*width: 100px;*/
    /*margin-left: 0px;*/
    text-align: center;
    white-space: nowrap;
    opacity: 1;
    color: black !important;
    font-weight: 600;
}

/*.diamond-clarity #slider.ui-slider .ui-slider-pip .ui-slider-label {*/
/*    margin-left: -6px;*/
/*}*/
/*.diamond-cut #slider.ui-slider .ui-slider-pip .ui-slider-label {*/
/*    margin-left: -6px;*/
/*    white-space: nowrap;*/
/*}*/

#slider.ui-slider .ui-slider-pip:hover .ui-slider-label,
#slider.ui-slider .ui-slider-pip:focus .ui-slider-label,
#slider.ui-slider .ui-slider-pip.ui-slider-pip-selected .ui-slider-label,
#slider.ui-slider-pips [class*=ui-slider-pip-selected],
#slider.ui-slider-pips [class*=ui-slider-pip-initial] {
    opacity: 1;
    color: black !important;
    font-weight: 600;
}

/*tooltip*/
.tooltip .tooltip-inner {
    background-color: white;
    color: #494b4b;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 13px;
}

.bs-tooltip-top .arrow::before {
    border-top-color: white !important;
}

.bs-tooltip-bottom .arrow::before {
    border-bottom-color: white !important;
}

.bs-tooltip-left .arrow::before {
    border-left-color: white !important;
}

.bs-tooltip-right .arrow::before {
    border-right-color: white !important;
}

.tooltip.show {
    opacity: 100%;
}

.reset-filter-btn {
    border-radius: 5px;
    border: solid 1px #4c4c4c;
    background-color: white;
}

.reset-filter-btn a {
    font-family: 'Muli', sans-serif;
    font-size: 14px;
    font-weight: 200;
    color: #b51a1a;
}


/**
 * Icon
 */

.loader-shine {
    position: relative;
    overflow: hidden;
    padding: 20px 80px;
    display: inline-block;
    background-repeat: no-repeat;
    border-radius: 10px;
    text-align: center;
    background-color: #eaeaea;
    -webkit-box-shadow: 0px 2px 9px 0 rgba(54, 54, 54, 0.14);
    box-shadow: 0px 2px 9px 0 rgba(54, 54, 54, 0.14);
}

/**
 * The "shine" element
 */

.loader-shine:after {
    animation: shine 4s ease-in-out infinite;
    animation-fill-mode: forwards;
    content: "";
    position: absolute;
    top: -300%;
    left: -300%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);

    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.13) 0%,
        rgba(255, 255, 255, 0.13) 77%,
        rgba(255, 255, 255, 1) 92%,
        rgba(255, 255, 255, 0.0) 100%
    );
}

/* Hover state - trigger effect */


/* Active state */

.loader-shine:active:after {
    opacity: 0;
}

@keyframes shine {
    10% {
        opacity: 1;
        top: -30%;
        left: -30%;
        transition-property: left, top, opacity;
        transition-duration: 0.7s, 0.7s, 0.15s;
        transition-timing-function: ease;
    }
    100% {
        opacity: 0;
        top: -30%;
        left: -30%;
        transition-property: left, top, opacity;
    }
}

/*Huge thanks to @tobiasahlin at http://tobiasahlin.com/spinkit/ */
.spinner {
    margin: 20px auto 0;
    width: 100%;
}

.spinner > div {
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.64s;
    animation-delay: -0.64s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.48s;
    animation-delay: -0.48s;
}

.spinner .bounce3 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce4 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

.filter-btn[aria-expanded=false] .fa-chevron-up {
    display: none;
}

.filter-btn[aria-expanded=true] .fa-chevron-down {
    display: none;
}
