body {
    font: 14pt sans-serif;
    background-color: black;
}

.slotmachine {
    box-sizing: border-box;
    margin: 10px auto;
    width: 750px;
}

.top {
    height: 150px;
    background-image: url('top.png');
}

.wheels {
    position: relative;
    /*margin-left: 150px;*/
    /*padding: 0 150px;*/
    overflow: hidden;
    width: 750px;
    height: 308px;
}

.bottom {
    height: 150px;
    padding-right: 0;
    background-image: url('bottom.png');
}

.wheels-overlay {
    position: absolute;
    top: 0;
    left: 0px;
    width: 750px;
    height: 308px;
    background-image: url('wheels.png');
}

.spacer,.col {
    width: 150px;
    float: left;
}

.col {
    background-color: floralwhite;
}

.icon {
    width: 80px;
    height: 100px;
    padding: 0 35px;
}

.switch {
    box-sizing: border-box;
    width: 100px;
    height: 100px;
    margin: 6px 25px;
    font: bold 18pt sans-serif;
    color: white;
    border: 3px solid black;
    outline: 3px solid #eeeeee;
    border-radius: 10px;
    box-shadow: 6px 6px 2px rgba(0,0,0,0.5);
}

.switch.config {
    background: radial-gradient(darkblue 50%,black 175%);
}

.switch.hold {
    background: radial-gradient(darkred 50%,black 175%);
}

.switch.hold.active {
    background:  radial-gradient(red 50%,black 250%) !important;
}

.switch.spin {
    background: radial-gradient(darkgreen 50%,black 175%);
}

.switch.spin.active {
    background:  radial-gradient(limegreen 50%,black 250%) !important;
}

.col.spinning {
    animation: scroll 3s cubic-bezier(.5, 0, .5, 1) 1, blur 3s cubic-bezier(.5, 0, .5, 1) 1;
}

@keyframes scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    90% {
        transform: translate3d(0, calc(-100% + 304px), 0);
    }
    100% {
        transform: translate3d(0, calc(-100% + 312px), 0);
    }
}

@keyframes blur {
    0% {
        filter: blur(0);
    }
    10% {
        filter: blur(0);
    }
    30% {
        filter: blur(3px);
    }
    60% {
        filter: blur(3px);
    }
    80% {
        filter: blur(0);
    }
}

.back {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 608px;
    padding-top: 15px;
    padding-left: 80px;
    background-image: url('back.png');
}

.back-save {
    position: absolute;
    bottom: 430px;
    right: 60px;
}

.back-pre1 {
    position: absolute;
    bottom: 310px;
    right: 60px;
}

.back-pre2 {
    position: absolute;
    bottom: 190px;
    right: 60px;
}

.back-submit {
    position: absolute;
    bottom: 70px;
    right: 60px;
}

td {
    vertical-align: center;
    width: 120px;
}

img.config {
    margin-left: 10px;
    height: 40px;
    /*outline: 1px solid red;*/
}

.led {
    float: left;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    margin-top: 8px;
    color: white;
    border: 2px solid #eeeeee;
    border-radius: 12px;
    box-shadow: 2px 2px 1px rgba(0,0,0,0.6);
    background: radial-gradient(darkgreen 30%,black 60%);
}

.led.active {
    background: radial-gradient(limegreen 30%,darkgreen 60%) !important;
}
