body {
    overflow: hidden;
}


img#drift {
    display: block;
}


#wrapper {
    margin: 0 auto;
    max-width: 1200px;
}

.container {
    position: relative;
}

img {
    width: 100%;
    /*height: 100%;*/
    margin-top: 0;
    margin-left: 0;
}

#image-reel {
    display: none;
    width: 100% !important;
    /*height: 100%;*/
}

#mask {
    cursor: zoom-in;
    cursor: -moz-zoom-in;
}

.button {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

#button-touch {
    width: 60px;
    height: 60px;
    top: 12%;
    left: 85%;
    visibility: hidden;
    z-index: 10;
    position: absolute;
    visibility: hidden;
}

#button-container {
    top: 70%;
    left: 85%;
    position: absolute;
    display: none;
}

#button-in {
    position: absolute;
    top: 0px;
    right: 0;
}

#button-out {
    position: absolute;
    top: 50px;
    right: 0;
}

.range {
    width: 50%;
    left: 25%;
    bottom: 8%;
    position: absolute;
    cursor: pointer;
    display: none;
}

input[type=range] {
    -webkit-appearance: none;
    background: transparent;
}

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

input[type=range]:focus {
    outline: none;
}


/*chrome*/
input[type=range]::-webkit-slider-thumb
{
    -webkit-appearance: none;
    height: 6px;
    background: #B4B4B4;
    width: 60px;
    border-radius: 2px;
    border: hidden;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #DCDCDC;
    border-radius: 10px;
}

/*firefox*/
input[type=range]::-moz-focus-outer {
    border: 0;
}

input[type=range]::-moz-range-thumb
{
    -webkit-appearance: none;
    height: 6px;
    background: #B4B4B4;
    width: 60px;
    border-radius: 2px;
    border: hidden;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #DCDCDC;
    border-radius: 10px;
}

/*IE*/
input[type=range]::-ms-tooltip {
    display: none;
}

input[type=range]::-ms-track {
    cursor: pointer;
    height: 6px;
    background: #DCDCDC;
    border-color: transparent;
    color: #DCDCDC;
}

@media (max-width: 420px) {
    #button-container {
        top: 40% !important;
    }

    #button-touch {
        left: 77%;
    }
}

@media (max-width: 550px) {
    #button-container {
        left: 95%;
        top: 60%;
    }

    .range {
        left: 15%;
        bottom: 3%;
    }
 }

/**** DRIFT ****/

body {
    margin: 0;
    font-family: Helvetica Neue, Arial, sans;
}

.drift-demo-trigger {
    width: 40%;
    float: left;
}

.detail {
    position: relative;
    width: 55%;
    margin-left: 5%;
    float: left;
}

.ix-link {
    display: block;
    margin-bottom: 3em;
}

@media (max-width: 900px) {

    .detail, .drift-demo-trigger {
        float: none;
    }

    .drift-demo-trigger {
        max-width: 100%;
        width: auto;
        margin: 0 auto;
    }

    .detail {
        margin: 0;
        width: auto;
    }

    .responsive-hint {
        display: none;
    }

    .drift-bounding-box {
        display: none;
    }
}
