body {}

label.btn {
    padding: 18px 60px;
    white-space: normal;
    -webkit-transform: scale(1.0);
    -moz-transform: scale(1.0);
    -o-transform: scale(1.0);
    -webkit-transition-duration: .3s;
    -moz-transition-duration: .3s;
    -o-transition-duration: .3s
}

label.btn:hover {
    text-shadow: 0 3px 2px rgba(0, 0, 0, 0.4);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05)
}

label.btn-block {
    text-align: left;
    position: relative
}

label .btn-label {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    padding: 0 10px;
    background: #000000;
    height: 100%
}

label .glyphicon {
    top: 34%
}

.element-animation1 {
    animation: animationFrames ease .8s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    -webkit-animation: animationFrames ease .8s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -ms-animation: animationFrames ease .8s;
    -ms-animation-iteration-count: 1;
    -ms-transform-origin: 50% 50%
}

.element-animation2 {
    animation: animationFrames ease 1s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    -webkit-animation: animationFrames ease 1s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -ms-animation: animationFrames ease 1s;
    -ms-animation-iteration-count: 1;
    -ms-transform-origin: 50% 50%
}

.element-animation3 {
    animation: animationFrames ease 1.2s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    -webkit-animation: animationFrames ease 1.2s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -ms-animation: animationFrames ease 1.2s;
    -ms-animation-iteration-count: 1;
    -ms-transform-origin: 50% 50%
}

.element-animation4 {
    animation: animationFrames ease 1.4s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    -webkit-animation: animationFrames ease 1.4s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -ms-animation: animationFrames ease 1.4s;
    -ms-animation-iteration-count: 1;
    -ms-transform-origin: 50% 50%
}

@keyframes animationFrames {
    0% {
        opacity: 0;
        transform: translate(-1500px, 0px)
    }

    60% {
        opacity: 1;
        transform: translate(30px, 0px)
    }

    80% {
        transform: translate(-10px, 0px)
    }

    100% {
        opacity: 1;
        transform: translate(0px, 0px)
    }
}

@-webkit-keyframes animationFrames {
    0% {
        opacity: 0;
        -webkit-transform: translate(-1500px, 0px)
    }

    60% {
        opacity: 1;
        -webkit-transform: translate(30px, 0px)
    }

    80% {
        -webkit-transform: translate(-10px, 0px)
    }

    100% {
        opacity: 1;
        -webkit-transform: translate(0px, 0px)
    }
}

.modal-header {
    background-color: #b30000;
    color: #fff;
}

.modal-body {
    min-height: 300px
}


#quiz ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#quiz li {
    margin: 0;
    padding: 0;
}

#quiz label,
#resultList label {
    display: block;
    background-color: #ad0011;
    color: #fff;
    border: unset;
    border-radius: 0.2em;
    margin: 0.3em 0;
    padding: 1em 1em;
    text-align: start;
}

#resultList .answer {
    display: block;
    background-color: #ad0011;
    color: #fff;
    border: unset;
    border-radius: 0.2em;
    margin: 0.3em 0;
    padding: 1em 1em;
    text-align: start;
}

#quiz label:hover {
    background-color: #85020f;
}

#quiz input:checked~label,
#quiz input:focus~label {
    background-color: #bd0011;
    border-color: #78030d;
}

#quiz input {
    left: -9999px;
    position: absolute;
}
#quiz button {
    cursor: pointer;
}

#quiz label {
    cursor: pointer;
    width: 100%;
}

/* listing with solutions */

.question {
    font-weight: bold;
}

.correct {
    color: #0c0;
}

.wrong {
    color: #c00;
}

.correct:before {
    content: '✓';
    color: #0d0;
}

.wrong:before {
    content: '✗';
    color: #f00;
}

.correct:before,
.wrong:before {
    font: 1.5em bold;
    padding: 0 0.2em;
}

.startBtn, .catStart, .examStart {
    background-color: #bf0303;
    color: #fff;
    width: 100%;
}


#scores,
#scores td,
#scores th {
    /*border: 1px solid black;*/
    border-collapse: collapse;
    text-align: center;
}

/* Navbar Styles */
.navbar {
    border-radius: 0;
}

.navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.navbar-toggler:hover {
    background: rgb(240, 240, 240)
}

.navbar-toggler:focus {
    outline: 0;
}

.dropdown-toggle {
    cursor: pointer;
}

/* Navbar Collapse Styles To Stack Items At Mobile Widths*/
@media(max-width:47.9em) {
    .navbar .collapse {
        max-height: 250px;
        width: 100%;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .navbar .navbar-brand {
        float: none;
        display: inline-block;
    }

    .navbar .navbar-nav>.nav-item {
        float: none;
        margin-left: .1rem;
    }

    .navbar .navbar-nav {
        float: none !important;
    }

    .nav-item {
        width: 100%;
        text-align: left;
    }

    .navbar .collapse .dropdown-menu {
        position: relative;
        float: none;
        background: none;
        border: none;
    }
}
