@font-face {
    font-family: 'cinema';
    src: url('cinema.woff') format('woff');
}

* {
    font-family: "cinema";
}

@media print {
    body * {
        visibility: hidden;
        overflow: visible;
        height: auto;
        position: static;    }

    div[name="output"] * {
        visibility: visible;
    }

    div[name="output"] {
        display: block;
        position: relative;
        left: 0;
        top: 0;
        overflow: visible;
    }

    div[name="output"] div.h3 {
        font-size: bold;
        font-size: 22px;
        color: rgb(50,50,50);
        padding-bottom: 20px;
    }
    
    div[name="output"] div.p {
        font-size: 16px;
        padding-bottom: 20px;
    }
    
    div[name="output"] div.h4 {
        font-size: 10px;
        text-align: right;
        padding-bottom: 20px;
        color: rgb(20,20,20);
    }

}

body {
    background: rgb(10, 11, 12);
    color: #ccc;
}

.range-div {
    position: relative;
}

.range {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: linear-gradient(to left, 
    rgba(20, 40, 60, 1) 0%,
    rgba(20, 40, 60, 0.875) 12.5%,
    rgb(55, 55, 55) 12.5%,
    rgb(55, 55, 55) 12.7%,
    rgba(20, 40, 60, 0.873) 12.7%,
    rgba(20, 40, 60, 0.75) 25%,
    rgb(55, 55, 55) 25%,
    rgb(55, 55, 55) 25.2%,
    rgba(20, 40, 60, 0.75) 25.2%,
    rgba(20, 40, 60, 0.625) 37.5%,
    rgb(55, 55, 55) 37.5%,
    rgb(55, 55, 55) 37.7%,
    rgba(20, 40, 60, 0.625) 37.7%,
    rgba(20, 40, 60, 0.5) 50%,
    rgb(55, 55, 55) 50%,
    rgb(55, 55, 55) 50.2%,
    rgba(20, 40, 60, 0.5) 50.2%,
    rgba(20, 40, 60, 0.375) 62.5%,
    rgb(55, 55, 55) 62.5%,
    rgb(55, 55, 55) 62.7%,
    rgba(20, 40, 60, 0.375) 62.7%,
    rgba(20, 40, 60, 0.25) 75%,
    rgb(55, 55, 55) 75%,
    rgb(55, 55, 55) 75.2%,
    rgba(20, 40, 60, 0.25) 75.2%,
    rgba(20, 40, 60, 0.125) 87.5%,
    rgb(55, 55, 55) 87.5%,
    rgb(55, 55, 55) 87.7%,
    rgba(20, 40, 60, 0.125) 87.7%,
    rgba(20, 40, 60, 0) 100%);
    width: 100%;
    height: 60px;
    outline: none;
    border-radius: 5px;  
}


.range::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 60px;
    width: 180px;
    background: rgba( 60, 70, 80, 0.7 );
    border-radius: 5px;
    cursor: grab;
}

.range-thumb {
    position: absolute;
    left: 0px;
    top: 0;
    width: 180px;
    height: 60px;
    text-align: center;
    color: #fff;
    line-height: 60px;
    font-size: 32px;
    pointer-events: none;
}

.range-thumb::before {
    content: attr(data-val) " ";
}

div[name="question"] {
    font-size: 25px;
    min-height: 240px; 
    line-height: 1.5;
    padding-bottom: 20px; 
    color: rgb(46,128,160);
    text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.3);
}


button {
    width: 120px;
    height: 60px;
    text-align: center;
    color: #fff;
    font-size: 22px;
    background: rgba( 60, 70, 80, 0.7 );
    border: 0;
    border-radius: 5px;
    cursor: pointer; 
}

button[name="show_output"], button[name="export"] {
    width: 180px;
}

.buttontable {
    width: 100%;
    text-align: center;
}

div[name="output"] {
    display: none;
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    bottom: 85px;

    overflow-y: scroll;
    padding: 12px;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 0;
    background-color: rgba(10, 11, 12, 0.9);
    border-radius: 5px 5px 0 0;
}


div[name="back"] {
    display: none;
    position: absolute;
    left: 25px;
    right: 25px;
    bottom: 25px;
    height: 60px;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 0;
    background-color: rgba(10, 11, 12, 0.8);
    border-radius: 0 0 5px 5px;
}


div[name="output"] div.h3 {
    font-size: bold;
    font-size: 22px;
    color: rgb(160,46,128);
    padding-bottom: 20px;
    text-shadow: 0px 0px 4px rgba(255, 255, 255, 0.3);
}

div[name="output"] div.p {
    font-size: 16px;
    padding-bottom: 20px;
}

div[name="output"] div.h4 {
    font-size: 10px;
    text-align: right;
    padding-bottom: 20px;
    color: rgb(160,160,160);
}


a:link {
    color: rgb(160,128,46);
}

a:visited {
    color: rgb(160,128,46);
}

