.main-wrapper {
    background-color: #f5f5f5;
}
.bordered {
    border: 2px solid red;
}

.viewer-outer {
    overflow-clip-margin: content-box;
    overflow: clip;
    position: absolute;
    top: 700px;
}

.z-index-low {
    z-index: -10;
}

.z-index-medium {
    z-index: 0;
}
.z-index-high {
    z-index: 10;
}

@media screen and (min-width: 768px) {
    .viewer-outer {
        left: 150px;
    }
}

@media screen and (min-width: 992px) {
    .viewer-outer {
        left: 300px;
    }
}

@media screen and (max-width: 768px) {
    .bg-opaque {
        background: rgb(255,255,255,0.5);
    }
    .slider-div {
        background: rgb(255,255,255,0.5);
    }
}

body.scrolled-past-600 .viewer-outer {
    position: fixed;
    top: 80px;
}
.viewer {
    margin-left: 0px;
}

.instrument {
    width: 150px;
    height: 150px;
    background-color: white;
    padding: 10px;
    margin-bottom: 15px;
    border: 5px solid #f5f5f5;
}

@media screen and (max-width: 768px) {
    .instrument {
        width: 50px;
        height: 60px;
        padding: 0px;
    }
    .instrument img {
        width: 50px;
    }
}
@media screen and (max-width: 992px) {
    .instrument {
        width: 100px;
        height: 100px;
        padding: 0px;
    }
    .instrument img {
        width: 75px;
    }
}
.instrument button {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.instrument button {
    padding: 0px;
    background: none;
    border: none;
}

.instrument.active button {
    padding: 0px;
    background: none;
    border: none;
}

.instrument.active {
    background-color: #DDD;
}

.product-header {
    border-bottom: 2px solid #777;
    padding: 0px;
    margin-bottom: 20px;
}

.product-header h3 {
    margin: 0px;
}

#product-selector {
    border: none;
    padding: 4px;
    background-color: white;
    min-width: 200px;
    margin-bottom: 20px;
}

.product-detail {
    margin-bottom: 20px;
}

.slider-name {
    margin-top: 5px;
    border-bottom: 1px solid #DDD;
    font-size: 90%;
    cursor: default;
    text-transform: uppercase;
}

.slider-name:before {
    content: '\025C2';
    font-size: 15px;
    color: #777;
    float: right;
    margin-left: 5px;
    width: auto;
}

.slider-name.active:before {
    content: '\025BE';
}

div.single-slider.disabled {
    opacity: .5;
    pointer-events: none;
}

.slider-toggle {
    transition: all 1s;
}

.slider-description,
.slider-description .desc {
    margin-bottom: 20px;
}

.single-slider {
    margin: 5px;
    min-width: 294px;
    box-sizing: border-box;
}

.single-slider-left {
    float: left;
    width: 92px;
    margin: 4px;
    font-size: 80%;
    text-transform: lowercase;
    text-align: right;
}

.single-slider-right {
    float: left;
    width: 184px;
    margin: 4px;
}

.single-slider-bottom {
    margin-top: 8px;
}

.single-slider-bottom-left {
    float: left;
    display: none;
    font-size: 85%;
}

.single-slider-bottom-right,
.single-slider-undo {
    float: right;
    color: #f0f0f0;
    cursor: hand !important;
    text-align: right;
}

.single-slider-bottom-right {
    width: 56px;
}

.single-slider-undo {
    width: 15px;
    position: relative;
    top: 3px;
}

.single-slider a {
    color: #f0f0f0;
    font-size: 80%;
}

.single-slider .single-slider-right .single-slider-bottom-right a {
    position: relative;
    top: -15px;
}

.single-slider .single-slider-right .single-slider-bottom-right a:hover>i,
.single-slider .single-slider-right .single-slider-undo a:hover>i {
    color: black !important;
}

.single-slider:hover>.single-slider-right .single-slider-bottom .single-slider-value {
    display: block !important;
}

input.single-slider-value {
    width: 40px !important;
    height: 20px !important;
    border: 0px !important;
    background-color: white !important;
    padding: 2px !important;
    margin: 0px !important;
    margin-right: 5px !important;
    display: none !important;
    font-weight: normal;
    font-size: 90%;
    float: left;
}

.single-slider:hover>.single-slider-right .single-slider-bottom .single-slider-bottom-left,
.single-slider:hover>.single-slider-right .single-slider-bottom-right,
.single-slider:hover>.single-slider-right .single-slider-bottom-right a i,
.single-slider:hover>.single-slider-right .single-slider-undo,
.single-slider:hover>.single-slider-right .single-slider-undo a i {
    color: #666;
    display: block;
}

.single-slider-description {
    width: 184px;
    float: right;
    margin-bottom: 30px;
    font-size: 90%;
    padding: 10px;
    display: none;
    border: 1px solid #DDD;
}

.single-slider-name-i:hover>.single-slider-description {
    display: block !important;
}

.single-slider .single-slider-right .single-slider-dropdown {
    float: left;
    width: 100%;
}

.single-slider .single-slider-right .single-slider-dropdown select {
    border: 0px;
    width: 90%;
    font-size: 90%;
}

.slider-revert {
    float: right;
    width: 20px;
}


/*************** RANGE SLIDER **************/


/** BASE **/

input[type=range] {
    -webkit-appearance: none;
    /* Hides the slider so that custom slider can be made */
    width: 100%;
    /* Specific width is required for Firefox. */
    background: transparent;
    /* Otherwise white in Chrome */
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none;
    /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range]::-ms-track {
    width: 100%;
    cursor: pointer;
    background: transparent;
    /* Otherwise white in Chrome */
}

input[type=range]::-webkit-slider-thumb {
    /* Hides the slider so custom styles can be added */
    background: transparent;
    border-color: transparent;
    color: transparent;
}


/** THUMB **/


/* Special styling for WebKit/Blink */

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 2px solid #666;
    border-radius: 10px !important;
    height: 20px;
    width: 20px;
    border-radius: 3px;
    background: #f0f0f0;
    cursor: pointer;
    margin-top: -7px;
    /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
}


/* All the same stuff for Firefox */

input[type=range]::-moz-range-thumb {
    border: 2px solid #666;
    border-radius: 10px;
    height: 20px;
    width: 20px;
    background: #f0f0f0;
    cursor: pointer;
}


/* All the same stuff for IE */

input[type=range]::-ms-thumb {
    border: 2px solid #666;
    border-radius: 10px;
    height: 20px;
    width: 20px;
    background: #f0f0f0;
    cursor: pointer;
}


/** TRACK **/

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #FFF;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #fff;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #FFF;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: white;
}

input[type=range]:focus::-ms-fill-lower {
    background: white;
}

input[type=range]::-ms-fill-upper {
    background: white;
}

input[type=range]:focus::-ms-fill-upper {
    background: white;
}


/********* END OF RANGE SLIDER ************/

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.segment {
    margin: 10px;
    width: 54px;
}

.controls-segments,
.controls-colours,
.controls-decorations {
    margin-top: 3px;
    margin-bottom: 7px;
}

.control {
    width: 30px;
    height: 30px;
    padding: 3px;
    border: 3px solid #f5f5f5;
    margin-top: 3px;
    float: left;
    cursor: pointer;
}

.control:hover {
    border: 3px solid #AAA;
}

.control img {
    height: 21px;
}

.controls-left {
    float: left;
    width: 92px;
    text-align: right;
    padding-top: 7px;
    font-size: 80%;
    margin-right: 10px;
}

.controls-right {
    float: left;
}

.page-footer {
    clear: both;
}