
body {
    /* border-top: 1px solid #17a; */

    line-height: 1.75;
    line-height: 1.5;


    font-family: 'Lato', sans-serif;

    /* font-family: 'Open Sans', sans-serif; */

    /* font-family: 'Roboto', sans-serif; */


}
/* background-color: #0069d9;
border-color: #0062cc; */

.container {
    /* color: #333a40; */
}

.challenge,
#exams,
.result {
    /* position: absolute; */
    /* top: 0; */
    /* bottom: 3rem; */
    /* height: calc(100% - 3rem); */
    /* background: #fff; */
    /* overflow: scroll; */
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 3rem;
    
    overflow-y: scroll;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#splash,
._result {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* bottom: 3rem; */
    height: calc(100% - 3rem);
    /* background: #fff; */
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 3rem;
}
#exams {
    background-size: 50%;
}
#splash {
    display: flex;
    justify-content: center;
    align-items: center;
}

#splash img {
    width: 50%;
    animation: blurFadeInOut 3s ease-in;
    opacity: 0;
}
.challenge-header {
    display: flex;
    /* align-items: baseline; */
    align-items: center;
    height: 2rem;
    margin: .5rem 0;
}

.question-header {
    height: 2rem;
}
.question-number {
    height: 2rem;
    line-height: 2;
    /* padding: .375rem 0 .125rem; */
    padding-top: .125rem;
}

.question {
    /* font-weight: bold; */
    /* margin-bottom: 1rem; */
    margin-top: 2rem;
}
.question p {
    margin-bottom: .5rem;
    line-height: 1.5;
}


.question-image {
    width: 100%;
    max-width: 100%;
    height: auto;
}
.answers {
    
}
.question-errors {
    margin-bottom: 2rem;
}


.tag {
    height: 2rem;
    background-color: #eee;
    border-radius: .25rem;
    margin-left: .5rem;
    padding: .375rem .5rem .125rem;
}


@keyframes blurFadeInOut{
	0%{
		opacity: 0;
		transform: scale(1);
	}
    10% {
        transform: scale(1.1);
        opacity: 1;
    }
	100%{
        opacity: 0;
	}
}

.opts-header {
    margin: 1rem 0 0;
    font-weight: bold;
}

#timer {
    position: absolute;
    /* width: 100%; */
    top: 1.5rem;
    right: 1rem;
    /* text-align: center; */
    z-index: 1;
}
.timer-content {
    display: inline-block;
    /* background: #eee;
    color: #a48b66; */
    /* font-size: 1rem; */
    padding: .25rem .5rem .125rem;
    border-radius: .25rem;
}
.almost-ended {
    color: var(--red);
    animation: runningOut 0.6s cubic-bezier(1, 0, 0, 1) infinite alternate;  
}
@keyframes runningOut { to { opacity: 0; } }

#loader {
    position: absolute;
    bottom: 0%;
    width: 100%;
    height: 8%;
    text-align: center;
}



.matching-control {
    display: flex;
    /* background-color: #fafafa; */
    padding: .5rem;
    margin-bottom: .5rem;
    align-items: center;
}
.matching-control-label p {
    margin: 0 .5rem;
}
.matching-control-label {
    display: flex;
    width: 50%;
    margin: 0;
}
.custom-select {
    display: flex;
    width: 50%;
}
.custom-control-label {
    /* margin: 0; */
}
.app-settings-control-choice {
    min-width: 20%;
}
.app-settings-control-choice + label {
    margin-left: .5rem;
}

.custom-control-label.marked-correct {
    opacity: 1;
    animation: marked-correct .5s linear;
}
.custom-control-label.marked-wrong {
    opacity: .2;
    animation: marked-wrong .5s linear;
}
@keyframes marked-correct {
    100% { opacity: 1 }
}
@keyframes marked-wrong {
    100% { opacity: .2 }
}


div.visible {
    display: block;
}
#splash.hidden,
div.hidden {
    display: none;
}

.btn.visible {
    opacity: 1;
    transition: all 1s ease-out;
}
.btn.hidden {
    opacity: 0;
}
.button,
.button.enabled {
    opacity: 1;
}
.button.disabled {
    opacity: .1;
}
/*
.progresso {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}
.progresso > span {
    display: inline-block;
    height: 16px;
    background-size: 35px 20px, 100% 100%, 100% 100%;
    animation: animate-stripes 5s linear infinite;
}
 
@keyframes animate-stripes {
    100% { background-position: 0px 0px; }
}*/

.progress {
    background-color: transparent;
    border-radius: 0;
}

.result {
    padding-top: 1rem;
}
.result img {
    padding: 1rem;
}

.result-image {
    height: 256px;
    width: 50%;
    margin: 0 auto;
    background-size: 72% auto;
    background-position: center;
    background-repeat: no-repeat;
}
.passed {
    background-image: url(../img/passed-transparent.png);
}
.failed {
    background-image: url(../img/failed-transparent.png);
}
.epic-fail {
    background-image: url(../img/epic-fail-transparent.png);
}
.advice {
    text-align: center;
    font-size: 125%;

}


/* menu options */
.menu-options {
    /* background: url(../img/trianglify.png) 50% 50% no-repeat; */
    /* text-align: center; */
    position: absolute;
    /* top: 0; */
    /* bottom: 0; */
    width: 100%;
    height: calc(100% - 48px);
    overflow: overlay;
    transform: translateY(-100%);
    transition: .5s ease-in transform;
    z-index: 10;
    padding-top: 15px;
    padding-bottom: 15px;
    /* margin-bottom: 3rem; */
    overflow: scroll;
}
.options {
    padding: 1rem;
}
.options .form-row {
    margin-bottom: 2rem;
}
.options p {
    margin-bottom: 0;
    text-shadow: 0 1px 0 #fff;
}
#options-tgr {
    display: none;
}
#options-tgr:checked + .menu-options {
    transform: translateY(0);
}

#retrieve-code {
    width: 40%;
}

.answer-letter {
    position: relative;
    left: -1.75rem;
}


.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 3rem;
    /* background: url(../img/trianglify.png) 50% 50% no-repeat; */
    border-top: #222;
    position: fixed;
    bottom: 0;
    /* width: 100%; */
    padding: 0 .25rem;
    z-index: 100;
}


.main-nav.hidden {
    display: none;
}
.main-nav .button {
    display: flex;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: .25rem;
    margin: 0;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-radius: .25rem;
}
.nav-main .button:hover {
    background-color: #c6383a;
}
.main-nav span {
    display: none;
}

.main-nav .menu {
    background-image: url('../img/IcoMoon-Free-master/SVG/190-menu.svg');
}
.main-nav .prev {
    background-image: url('../img/IcoMoon-Free-master/SVG/321-arrow-left2.svg');
}
.main-nav .next {
    background-image: url('../img/IcoMoon-Free-master/SVG/317-arrow-right2.svg');
}
.main-nav .start {
    background-image: url('../img/IcoMoon-Free-master/SVG/285-play3.svg');
}
.main-nav .stop {
    background-image: url('../img/IcoMoon-Free-master/SVG/287-stop2.svg');
}
.main-nav .print {
    background-image: url('../img/IcoMoon-Free-master/SVG/085-printer.svg');
}
.main-nav .answers {
    background-image: url('../img/IcoMoon-Free-master/SVG/066-lifebuoy.svg');
}

.feedback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: #000; */
    display: flex;
    justify-content: center;
    z-index: 1;
    /* display: flex; */

}
.feedback-icon {
    margin-top: 1.45rem;
    width: 4rem;
    height: 4rem;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 50%;
    border-radius: .25rem;
}
.feedback.good .feedback-icon {
    
    /* display: none; */
    /* width: 100%; */
    /* height: 100%; */
    background-color: var(--green);
    background-image: url('../img/IcoMoon-Free-master/SVG/224-happy.svg');
    /* background-size: 50%; */
}
.feedback.bad .feedback-icon {
    /* display: none; */
    /* width: 100%;
    height: 100%; */
    background-color: var(--red);
    background-image: url('../img/IcoMoon-Free-master/SVG/230-sad.svg');
    /* background-size: 50%; */
}

.icon {
    display: flex;
    min-width: 2rem;
    height: 2rem;
    padding: 0 .25rem;
    margin: .25rem;
    /* background-color: #a48b66; */
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-radius: .25rem;
    /* background-color: #eee; */
}
.comment-icon,
.image-icon,
.database-icon {
    background-color: #eee;
}
.comment-icon {
    background-image: url('../img/IcoMoon-Free-master/SVG/108-bubble.svg');
}
.image-icon {
    background-image: url('../img/IcoMoon-Free-master/SVG/014-image.svg');
}
.database-icon {
    background-image: url('../img/IcoMoon-Free-master/SVG/101-database.svg');
}
.delete-icon {
    background-image: url('../img/IcoMoon-Free-master/SVG/173-bin.svg');
    opacity: .2;
    width: 1.5rem;
    height: 1.5rem;
    /* float: right; */
    flex-grow: 0;
}
.delete-icon:hover {
    background-image: url('../img/IcoMoon-Free-master/SVG/173-bin-red.svg');
    opacity: 1;
}
.download-icon {
    background-image: url('../img/IcoMoon-Free-master/SVG/195-cloud-download.svg');
    opacity: .2;
    width: 1.5rem;
    height: 1.5rem;
    /* float: right; */
    flex-grow: 0;
}
.download-icon:hover {
    opacity: 1;
}
.sync-icon {
    opacity: .2;
    background-image: url('../img/IcoMoon-Free-master/SVG/303-loop2.svg');
}
.sync-icon:hover {
    opacity: 1;
}
.exam-name {
    align-self: center;
    line-height: 1.62;
}
.additional-navigation {
    /* text-align: center; */
}
.additional-navigation .btn {
    margin: .25rem;
}
#additional-prev {
    /* float: left; */
}
#additional-next {
    /* float: right; */
}

.exam-description {
    flex-grow: 50;

}

.relative {
    position: relative;
}

.exam-compability {
    position: absolute;
    font-size: 1rem;
    bottom: 0;
    /* left: 0%; */
    right: 0;
    width: 50%;
    /* display: block; */
    text-align: right;
    line-height: 1;
    color: #ccc;
    /* background: #eee; */
}
.exam-compability span {
    font-size: .75rem;
    color: #ddd;
}

.exam-timestamp {
    text-align: center;
    color: #ddd;
    position: absolute;
    bottom: -.8rem;
    right: 0;
    font-size: 10px;
}


.alert p:only-child {
    margin: 0;
}

a {
    /* color: #a48b66; */
}

.btn {
    /* padding-left: 2rem;
    padding-right: 2rem; */
}

#default-settings,
#enable-new-features,
#remove-exams,
#load,
#upload {
    margin: .25rem;
}

.btn-primary {
    /* background-color: #a48b66;
    border-color: #a48b66; */
}
.btn-primary,
.btn-primary:hover,
.btn-primary.focus,
.btn-primary:focus {
    /* background-color: #a48b66;
    border-color: #a48b66; */
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    /* background-color: #a48b66;
    border-color: #a48b66; */
}
.btn-secondary {
    /* background-color: #aaa;
    border-color: #aaa; */
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    /* border-color: #c6383a;
    background-color: #c6383a; */
    /* border-color: #a48b66;
    background-color: #a48b66; */
}

a:hover {
    /* color: #a48b66; */
    text-decoration: none;
}

.loading-errors .alert:last-child {
    margin-bottom: .5rem;
}

.mark-for-review {
    margin-top: 2rem;
}

.badge {
    color: #fff;
    /* padding: .3em .5em .2em; */
}
.advanced {
    padding-top: 1rem;
}

.badge {
    padding: .25em .4em .15em;
}
.questions-filtering {
    margin: 1rem;
    width: 100%;
}

.versions-and-tags {
    height: 1rem;
}

.version-pill,
.tag-pill {
    font-size: 75%;
    border-radius: .25rem;
    /* padding: .25rem .25rem .25rem 0; */
    padding: 1px 0;
    display: inline-block;
    max-width: 30vw;
}
.version-pill em,
.tag-pill em {
    /* background: var(--teal); */
    padding: .25rem;
    background-color: #fff;
    /* border-radius: .25rem; */
    /* vertical-align: middle; */
    border-radius: 0 .2rem .2rem 0;
}
.version-pill {
    border: 1px solid var(--teal);
    background-color: var(--teal);
}
.tag-pill {
    border: 1px solid var(--pink);
    background-color: var(--pink);
}

.version-pill::before {
    /* border: 1px solid var(--teal); */
}
.tag-pill::before {
    /* background-color: var(--pink); */
}
.version-pill::before,
.tag-pill::before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin: 0 .25rem;
    vertical-align: middle;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.version-pill::before {
    background-image: url('../img/IcoMoon-Free-master/SVG/047-stack.svg');
}
.tag-pill::before {
    background-image: url('../img/IcoMoon-Free-master/SVG/054-price-tag.svg');
}

