.ringspiration-configurator {
    min-height: 100vh;
}
.rangeslider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}
/* (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.rangeslider::-webkit-slider-runnable-track {
    width: 100%;
    height: 2px;
    background: var(--pn-darkgrey);
    border: none;
    position: relative;
}
.rangeslider:focus::-webkit-slider-runnable-track {
    background: var(--pn-darkgrey);
}
.rangeslider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    background: var(--pn-brown);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid var(--pn-darkgrey);
    position: relative;
    top: -14px;
}
.rangeslider::-moz-range-track {
    width: 100%;
    height: 2px;
    background: var(--pn-darkgrey);
    border: none;
}
.rangeslider::-moz-range-thumb {
    width: 30px;
    height: 30px;
    background: var(--pn-brown);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid var(--pn-darkgrey);
}
.rangeslider:focus {
    outline: none;
}
.rangeslider:-moz-focusring{
    outline: 1px solid white;
    outline-offset: -1px;
}
#texturescale {
    -webkit-transform: translateY(-6px);
    -moz-transform: none;
}

.shapediver-viewer-wrapper {
    position: fixed;
    z-index: 5;
    top: 70px;
    transition: all 0.4s ease-in-out;
    width: 100%;
}
/*body.scroll-down .shapediver-viewer-wrapper {
    top: 0;
}*/
.shapediver-viewer-3d {
    position: relative;
    z-index: 7;
    height: 70vw;
    background-color: var(--pn-shapediver-background);
    width: 100%;
}
.shapediver-viewer.shapediver-viewer-3d > div:nth-child(2) img {
    max-height: 100%;
}
.shapediver-loader {
    position: absolute;
    z-index: 6;
    right: calc(50% - 60px);
    top: calc(50% - 60px);
    width: 120px;
    height: 120px;
    background-image: url("../Images/logo-only-r.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    animation: pulseLogo 1.5s linear infinite;
}
.fullscreen-button {
    left: 11px;
    width: 30px;
    height: 23px;
    background: url("../Images/fullscreen.svg") no-repeat center;
}
.image-select-button {
    right: 11px;
    width: 35px;
    height: 26px;
    background: url("../Images/icon-your-picture.svg") center no-repeat;
}
.image-select-button.pulse {
    background: url("../Images/icon-your-picture-white.svg") center no-repeat;
    animation: pulse 1.5s linear infinite;
    bottom: 9px;
}
.fullscreen-button,
.image-select-button {
    position: absolute;
    z-index: 8;
    bottom: 5px;
    background-size: contain;
    cursor: pointer;
}
.fullscreen .image-select-button {
    display: none;
}
.upload-or-select {
    display: none;
    position: fixed;
    width: 100%;
    left: 0;
    top: 70px;
    height: 70vw;
    z-index: 2;
}
.upload-or-select .container {
    height: 100%;
}
.upload-or-select-inner {
    display: flex;
    background-color: rgba(0, 0, 0, 0.6);
    height: 100%;
    align-items: center;
    justify-content: center;
    color: white;
}
.upload-or-select .close-overlay::before,
.upload-or-select .close-overlay::after {
    top: 29px;
    transform: rotate(45deg);
}
.upload-or-select  .close-overlay::after {
    transform: rotate(-45deg);
}
.upload-or-select label,
.upload-or-select input,
.gallery-select {
    width: 50%;
    height: 58px;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.upload-or-select label,
.upload-or-select input {
    background: url("../Images/camera-icon.svg") center top no-repeat;
    background-size: auto 30px;
}
.upload-or-select input {
    position: absolute;
    left: 50%;
    font-size: 0;
    opacity: 0;
}
.gallery-select {
    background: url("../Images/gallery-icon.svg") center top no-repeat;
    background-size: auto 30px;
}
.shapediver-viewer-2d {
    transition: all 0.4s ease-in-out;
    background-color: white;
    padding-top: 70vw;
    scroll-margin-top: 70vw;
}
.texture-toggler {
    position: absolute;
    z-index: 8;
    bottom: 0;
    right: 0;
    display: inline-block;
    width: 40px;
    height: 32px;
    background-color: #ebebeb;
    cursor: pointer;
    display: none;
}
.texture-toggler::before {
    content: "";
    position: absolute;
    z-index: 8;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../Images/arrow-up-icon.svg") left top no-repeat;
    background-size: 100%;
    transform: rotate(180deg);
    transition: all 0.4s ease;
}
.texture-toggler.toggled::before {
    transform: rotate(0deg);
}
#shapediver-2d {
    width: 100%;
    height: 17vw !important;
    background: url("../Images/texture.svg") center no-repeat;
    background-size: cover;
}
#measurement-image-field {
    background-color: var(--pn-brown);
    color: white;
    position: absolute;
    z-index: 4;
    top: calc(100% + 1px);
    right: 0;
    font-size: 14px;
    padding: 3px;
    user-select: none;
}
.texture-actions {
    padding-top: 0.5rem;
    padding-bottom: calc(0.5rem + 5px);
    background-color: white;
    border-bottom: 2px solid var(--pn-brown);
    border-top: 2px solid var(--pn-brown);
}
.texture-size {
    color: var(--pn-brown);
}
.texture-actions .col-1 {
    min-width: 35px;
    padding-left: 7px;
    padding-right: 7px;
}
.image-actions {
    font-size: 12px;
}
.center-image-icon,
.rotate-image-icon,
.rotate-image-icon-mirrored,
.adapt-imageborder-icon {
    cursor: pointer;
}
.image-actions img {
    width: 25px;
}
.rotate-image-icon-mirrored img {
    transform: scaleX(-1);
}
.property-row {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--pn-brown);
}
.property-row.property-total {
    border-bottom: 0;
}
.box-col {
    width: 22.222%;
    padding-right: 5px;
}
.result-col {
    width: 33.3333%;
    text-align: center;
}
.box-width {
    width: 60px;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}
.print-value {
    position: relative;
    color: var(--pn-brown);
    display: inline-block;
}
.property-grnr .print-value {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
#width-value {
    top: -12px;
}
.range-col {
    width: 66.6666%;
}
#grnr {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}
.radio-text.checked {
    color: var(--pn-brown);
}
.label-title {
    cursor: pointer;
}
.label-image {
    margin-top: 6px;
    cursor: pointer;
    display: block;
}
.property-profile .label-image,
.property-border .label-image {
    width: 66px;
}
svg.label-image * {
    fill: var(--pn-lightgrey);
    stroke: var(--pn-darkgrey);
    stroke-width: 1px;
}
svg.label-image.checked * {
    fill: var(--pn-brown);
}
.box-width.checked {
    background-color: var(--pn-brown);
    color: white;
}
.engravingtext {
    margin-top: 1rem;
}
.savering-message {
    display: inline-block;
    margin-top: 10px;
    padding: 6px;
    color: var(--pn-green);
}
.select-gallery {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--pn-brown);
}
.select-gallery .inner-gallery {
    position: relative;
    margin: 70px auto 30px;
    width: 1200px;
    max-width: 90%;
    max-height: calc(90vh - 60px);
    overflow: scroll;
}
.gallery-images {
    display: flex;
    flex-wrap: wrap;
}
.select-gallery img {
    cursor: pointer;
    width: 50%;
}
.share-button {
    background-image: url("../Images/share.svg");
    background-position: 8px center;
    background-repeat: no-repeat;
    background-size: auto 70%;
    padding-left: 53px;
}

@media (orientation: landscape) {
    .shapediver-viewer-3d {
        height: 30vh;
    }
    .upload-or-select {
        height: 30vh;
    }
    #shapediver-2d {
        height: 15vh !important;
    }
    .shapediver-viewer-2d {
        padding-top: 30vh;
        scroll-margin-top: 30vw;
    }
}

@media (min-width: 576px) {
    .select-gallery img {
        width: 25%;
    }
}
@media (min-width: 992px) {
    .select-gallery img {
        width: 20%;
    }
    .shapediver-viewer-wrapper {
        top: 100px;
    }
    .upload-or-select {
        top: 100px;
    }
}
@media (min-width: 1200px) {
    .select-gallery img {
        width: 16.66%;
    }
}

@keyframes pulseLogo {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.3, 1.3);
    }
    100% {
        transform: scale(1, 1);
    }
}
@keyframes pulse {
    0% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.3, 1.3);
    }
    100% {
        transform: scale(1, 1);
    }
}