/* Inline <style> blocks unique to the live diamond-search page.
   These carry the Natural/Lab pill switch and related filter styling —
   none of it lives in searchfilter/css/all.css. */

* {
    box-sizing: border-box;
}
:root {
    --switches-bg-color: goldenrod;
    --switches-label-color: white ;
    --switch-bg-color: white;
    --switch-text-color: goldenrod ;
}



/* a container - decorative, not required */

/* p - decorative, not required */
p {
  margin-top:2rem;
  font-size:0.75rem;
  text-align:center;
}

/* container for all of the switch elements 
    - adjust "width" to fit the content accordingly 
*/
.switches-container {
    width: 38rem;
    position: relative;
    display: flex;
    padding: 0;
    position: relative;
    background: #8fb2b4;
    line-height: 4rem;
    border-radius: 3rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

input[type="radio"]:checked+label:before {
    content: '\f192';
    font-family: 'FontAwesome';
    font-size: 16px;
    padding: 7px 0 16 57px;
    line-height: 10px;
    color: #8fb2b4;
    border: none;
}

input[type="radio"]:not(:checked)+label:hover:before, input[type="radio"]:checked+label:hover:before {
    border: none!important;
    color: #8fb2b4;
}

/* input (radio) for toggling. hidden - use labels for clicking on */
.switches-container input {
    visibility: hidden;
    position: absolute;
    top: 0;
}

/* labels for the input (radio) boxes - something to click on */
.switches-container label {
    width: 42%;
    padding: 0;
    margin: 0;
    text-align: center;
    cursor: pointer;
    color: var(--switches-label-color);
}

/* switch highlighters wrapper (sliding left / right) 
    - need wrapper to enable the even margins around the highlight box
*/
.switch-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    padding: 0.15rem;
    z-index: 3;
    transition: transform .5s cubic-bezier(.77, 0, .175, 1);
    /* transition: transform 1s; */
}

/* switch box highlighter */
.switch {
    border-radius: 3rem;
    background: var(--switch-bg-color);
    height: 100%;
}

/* switch box labels
    - default setup
    - toggle afterwards based on radio:checked status 
*/
.switch div {
    width: 100%;
    text-align: center;
    opacity: 0;
    display: block;
    color: #000 ;
    transition: opacity .2s cubic-bezier(.77, 0, .175, 1) .125s;
    will-change: opacity;
    position: absolute;
    top: 0;
    left: 0;
}

/* slide the switch box from right to left */
.switches-container input:nth-of-type(1):checked~.switch-wrapper {
    transform: translateX(0%);
}

/* slide the switch box from left to right */
.switches-container input:nth-of-type(2):checked~.switch-wrapper {
    transform: translateX(100%);
}

/* toggle the switch box labels - first checkbox:checked - show first switch div */
.switches-container input:nth-of-type(1):checked~.switch-wrapper .switch div:nth-of-type(1) {
    opacity: 1;
}

/* toggle the switch box labels - second checkbox:checked - show second switch div */
.switches-container input:nth-of-type(2):checked~.switch-wrapper .switch div:nth-of-type(2) {
    opacity: 1;
}

.my_button {
        background: #8fb2b4;
        color: white;
        padding: 6px 13px;
        font-size: 16px;
        font-weight: 100;
        width: 30%;
        border-radius: 0px;
        margin:12px;
    }

.akashNew{
	display: inherit !important;
    text-align: center !important;
    text-decoration: none !important;
}
.vid-btn {
    font-size: 16px;
    left: 34px;
    position: absolute;
    bottom: 125px;
    color: #fff;
}
.vid-btn:after {
    color: #fff;
    content: "360º";
    font-size: 12px;
    font-weight: bold;
    left: 52%;
    position: absolute;
    top: -15px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.reset-btn-mobile{
    padding-left: 25px;
    color: #8fb2b4;
    font-weight: bolder;
    }
    
    .reset-btn-mobile-list{
    padding-left: 25px;
    color: #8fb2b4;
    font-weight: bolder;
    }

/* ---------------------------------------------------------------------------
   Mobile corrections.

   The Natural/Lab pill switch is authored at a fixed width in the legacy
   stylesheet and overflows a 375px viewport by ~20px, which drags the whole
   page into horizontal scroll. Constrain it and let the inner track scale.
   The results table is unaffected — it already scrolls inside
   .table-responsive.
--------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .switches-container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .switches-container,
  .switches-container .switch-wrapper,
  .switches-container .switch {
    box-sizing: border-box;
  }
  /* The two labels sit side by side; at narrow widths they need to share the
     available space rather than keep their desktop padding. */
  .switches-container label {
    margin-left: 0 !important;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 13px;
  }
}
