body, html, div {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif, Verdana, Arial;
    font-size: inherit;
}

.center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

body {
    overflow: hidden;
}

.poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.view {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
}

.view-form {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.view-form-fullscreen {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}

.form {
    background: none;
    color: white;
    max-width: 25em;
    margin: 0 auto;
    padding-bottom: 1em;
}

.cancelbtn {
    position: absolute;
    top: 1em;
    right: 1em;
}

.form-header {
    padding: 0.4em;
}

.form-body {
    padding: 0.4em;
}

.form-group {
    margin-bottom: 0.3em;
    margin-top: 1em;
}

.expandedform .form-group {
    margin-top: 1em;
    margin-bottom: 1em;
}

    .expandedform .form-group .form-group {
        margin-top: 0.3em;
        margin-bottom: 0.3em;
    }

.form-footer {
    padding: 0.4em;
}

    .form-footer button {
        width: 100%;
    }

.form-control {
    width: 100%;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255,255,255,0);
    background-color: rgba(255,255,255,.2);
    color: white;
    height: 2.5em;
    padding: 0.2em .4em;
    margin-top: 0.2em;
    margin-bottom: 0.2em;
}

textarea.form-control {
    height: auto;
}

.form-container {
    position: absolute;
    top: 50%;
    width: 100%;
    padding: 0.2em;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    height: auto;
    max-height: 100%;
    overflow-y: auto;
}

.expandedform .form {
    max-width: 40em;
}

.expandedform .form-footer .btn {
    max-width: 10em;
}

.expandedform .form-group {
    margin-top: 1em;
    margin-bottom: 1em;
    position: relative;
}

    .expandedform .form-group .form-group {
        margin-top: 0.3em;
        margin-bottom: 0.3em;
        font-size: .8em;
    }

.expandedform .question {
    background: rgba(0,0,0,0.5);
    padding: 2em;
    position: relative;
}

    .expandedform .question > label {
        margin-bottom: 1em;
        display: inline-block;
    }

    .expandedform .question .answer {
        margin-left: 5em;
    }


.expandedform .answer:before {
    content: '\f00e';
    position: absolute;
    left: 1em;
    font-family: 'Icons';
}


.expandedform .answer.mine:before {
    content: '\f00f';
    position: absolute;
    left: 1em;
    font-family: 'Icons';
}

.expandedform .answer.correct {
    color: green;
}

    .expandedform .answer.correct:before {
        content: '\f028';
        color: green;
        position: absolute;
        left: 1em;
        font-family: 'Icons';
    }

.expandedform .answer.incorrect {
    color: red;
}

    .expandedform .answer.incorrect:before {
        content: '\f029';
        color: red;
        position: absolute;
        left: 1em;
        font-family: 'Icons';
    }

*::-webkit-input-placeholder {
    color: rgba(255,255,255,0.8);
}

*:-moz-placeholder {
    /* FF 4-18 */
    color: rgba(255,255,255,0.8);
}

*::-moz-placeholder {
    /* FF 19+ */
    color: rgba(255,255,255,0.8);
}

*:-ms-input-placeholder {
    /* IE 10+ */
    color: rgba(255,255,255,0.8);
}

input[type=radio],
input[type=checkbox] {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

    input[type=radio] ~ .icon,
    input[type=checkbox] ~ .icon {
        margin-right: .5em;
        margin-bottom: -0.2em;
        width: 1em;
        height: 1em;
        background-position: center;
        background-size: contain;
        font-size: 1.2em;
    }

        input[type=radio] ~ .icon:before {
            content: '\f00e';
        }

    input[type=radio]:checked ~ .icon:before {
        content: '\f00f';
    }

    input[type=checkbox] ~ .icon:before {
        content: '\f002';
    }

    input[type=checkbox]:checked ~ .icon:before {
        content: '\f001';
    }

    input[type=radio].focus-keyboard ~ label,
    input[type=checkbox].focus-keyboard ~ label {
        color: rgb(55,140,197);
    }

.has-error input[type=radio] ~ .icon {
    color: rgb(255,0,0);
}

.form .has-error input,
.form .has-error select {
    border-color: rgb(255,0,0);
}

.form input:focus,
.form select:focus {
    outline: none;
}

.form input.focus-keyboard,
.form select.focus-keyboard {
    border-color: rgba(255,255,255, 0.2);
}

.form .has-error input.focus-keyboard,
.form .has-error select.focus-keyboard {
    border-color: rgb(255,100,100);
}

.form a,
.form a:hover {
    color: #378DC5;
}

    .form a:visited {
        color: #1678B8;
    }

.checkbox.bordered {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 1em;
    margin-bottom: .2em;
    margin-top: .2em;
}

    .checkbox.bordered.checked {
        border: 1px solid rgba(255,255,255,0.6);
        background-color: rgba(255,255,255,0.3);
    }

    .checkbox.bordered input[type=checkbox] ~ label:before {
        color: white;
    }

    .checkbox.bordered .icon {
        vertical-align: middle;
        display: inline-block;
        width: 1em;
        height: 100%;
    }

    .checkbox.bordered label {
        vertical-align: middle;
        display: inline-block;
        width: calc(100% - 3em);
    }

select option {
    background-color: white;
    color: black;
}

.show-xs {
    display: none;
}

.btn.show-xs .label {
    display: block;
}

@media (max-width: 320px) {
    .show-xs {
        display: block;
    }


    .hide-xs {
        display: none;
    }
}



.btn {
    cursor: pointer;
    text-decoration: none !important;
    border: 1px solid rgba(0,0,0,0);
}

    .btn:disabled {
        cursor: default;
    }

    .btn:focus {
        outline: none;
    }

    .btn.focus-keyboard {
        border: 1px solid white;
    }


.btn-preview {
    width: 100%;
}

.btn-icon {
    background: none;
    color: inherit;
    padding: 0.6em 0.8em;
    margin: .2em .2em;
}

    .btn-icon:disabled {
        color: gray;
    }

        .btn-icon:disabled:active {
            color: gray;
        }

    .btn-icon:active {
        color: rgb(55,140,197);
    }

    .btn-icon.focus-keyboard {
        border: 1px solid rgb(55,140,197);
    }


    .btn-icon.checked {
        color: rgb(55,140,197);
    }

.btn-home {
    vertical-align: top;
    padding: 0;
    margin: 0;
}

.btn-cast {
    width: 1em;
    height: 1em;
}

.btn-close {
    position: relative;
    float: right;
    background: none;
    color: white;
    padding: 0.6em 0.8em;
    margin: .2em .2em;
}

.btn-share {
    padding: 0;
    margin: 0;
    margin-right: 1em;
    display: inline-block;
}

    .btn-share .icon {
        margin: 0;
    }

.btn-default {
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 0.6em 0.8em;
    margin: .2em .2em;
}

    .btn-default:active {
        background-color: #075A90;
    }

    .btn-default:disabled {
        background-color: #075A90;
        color: darkgray;
    }


    .btn-default.checked {
        background-color: #075A90;
    }

.btn-comment {
    background-color: rgb(55,140,197);
    padding: 0.6em 0.8em;
    color: white;
    margin: .2em .2em;
}

    .btn-comment:active {
        background-color: #075A90;
    }

    .btn-comment:disabled {
        background-color: #075A90;
        color: darkgray;
    }

.btn-footer {
    background-color: rgb(55,140,197);
    padding: 0.6em 0.8em;
    color: white;
    margin: .2em .2em;
}

    .btn-footer:active {
        background-color: #075A90;
    }

    .btn-footer:disabled {
        background-color: #075A90;
        color: darkgray;
    }

.btn-bright {
    background-color: rgb(241,129,0);
    padding: 0.6em 0.8em;
    color: white;
}

    .btn-bright:disabled {
        background-color: rgb(174, 93, 0);
        color: darkgray;
    }


.poster .btn-bright:disabled {
    background: none;
    color: white;
}

.btn-cancel {
    position: absolute;
    right: 1em;
    top: 1em;
}

.btn .label {
    padding: 0 .3em;
    letter-spacing: 0.2em;
}

.btn.btn-footer .label {
    letter-spacing: normal;
}

.btn .live.icon {
    color: red;
}

.gdpr .icon {
    display: none;
}
