/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/css.css to edit this template
*/
/* 
    Created on : Jun 16, 2022, 11:39:49 AM
    Author     : lucia
*/



.quiz_slide {
	max-width: 80%;
	color: #FDDEDC;
	height: 100%;
	margin: 0 auto;
}

.quiz_slide_wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 7vh 1vw;
    border-radius: 18px;
    /* opacity: 0.5; */
    background: rgba(101,94,135,0.79);
    box-shadow: rgb(57 73 76 / 35%) 0 1px 6px 0;
    min-height: 22vw;
}

.quiz_title {
    text-align: center;
    font-size: 37px;
    color: #FDDEDC;
}

.quiz_body {
    background: azure;
    padding: 3.5vw;
    margin: 0;
    margin: 0;
    color: #000;
    font-family: -apple-system,BlinkMacSystemFont,segoe ui,Roboto,Oxygen-Sans,Ubuntu,Cantarell,helvetica neue,sans-serif;
    font-weight: 400;
    background-color: #e2e5ec;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    width: 100%;
    font-weight: 400;
    height: 100%;
    background-size: cover;
    background-position: center;
    overflow: auto;
    overflow: auto;
	font-family: "Roboto Condensed",sans-serif;
	min-height: 13vw;
}

.quiz_slide_content {
    margin: 15px 0;
    min-height: 20vh;
}

.error_class .input_check {
    border: red !important;
    background-color: #ff00002b;
    color: #ffffffde;
}

.error_class .control-label {
    /*color: red;*/
}

.error_class_shake {
	animation: shake .5s ease-in-out;
}

.bounce {
  animation: bounce2 0.5s ease;
}
@keyframes bounce2 {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-10px);}
	60% {transform: translateY(-10px);}
}

@keyframes shake {
	0% {
		transform: translateX(0);
	}

	20% {
		transform: translateX(-10px);
	}

	40% {
		transform: translateX(10px);
	}

	60% {
		transform: translateX(-10px);
	}

	80% {
		transform: translateX(10px);
	}

	100% {
		transform: translateX(0);
	}
}

.prev-question .bi.bi-arrow-left-short, .next-question .bi.bi-arrow-right-short {
	position: relative;
	top: 2px;
}

.quiz_slide_content strong {
    font-weight: bold;
}

.input_check {
	font-size: 17px;
	font-weight: bold;
	background-color: #ffffffa6 !important;
}

.quiz_bar, .quiz_bar_end, .quiz_bar_last_buttons {
    width: 80%;
    margin: 0 auto;
}

.answered_class .input_check {
    background: #1ebc1ebd !important;
    border-color: #0b5a0b !important;
}

.title_question {
    font-size: 2rem;
}

#startQuiz {
    min-width: 8vw !important;
    display: flex;
    justify-content: center;
    align-items: center;
    outline:none;
}

.move-buttons {
    background: #0056ff52;
    outline: none !important;
    transition: transform 0.2s ease-out;
}

.move-buttons:focus, .move-buttons:hover{
    outline: none;
    border: none;
    transform: scale(1.08);
}

.label_input {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    min-height: 56px;
    background: #3b599652;
    border: 1px solid #ffffffb3;
    flex-direction: row;
    align-content: center;
    margin: 8px 4px;
    border-radius: 7px;
    padding: 2px;
    cursor: pointer;
    z-index: 1;
}

.label_input .form-check-input {
    margin: 0 9px !important;
}

.error_class .form-group.row.class_helper {
    color: red;
}

.label_input .label_span {
    cursor: pointer;
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
    margin-top: 5px;
}

.label_input.correct_class {
    background: #0080006b;
}

.label_input.wrong_class {
    background: red;
}

div#quiz_progress {
    width: 80%;
    height: 10px;
    background: white;
    margin-top: 31px;
    margin: 2em auto 1em auto;
    position: relative;
    border-radius: 21px;
}

.quiz_bar_progress {
    position: absolute;
    background: #726791;
    height: 100%;
    transition: width 150ms linear;
    border-radius: 21px;
}

.quiz_slide_content.answered_class .label_input, .quiz_slide_content.answered_class .label_input .label_span {
    cursor: not-allowed !important;
}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #2c2c6c; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin: 0 auto;
}

.iframe-pdf{
    max-width: 100% !important;
}

#button_reload, #download_pdf{
    display: flex;
    justify-content: center;
    align-items: center;
}


#pdf_link{
    color: #ffff;
    text-decoration: none;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width:767px){
    .next-question, .validate-form, #download_pdf{
        margin-top: 10px;
    }

    #startQuiz{
        width: 60%;
    }
}

@media (max-width:767px) and (min-width:426px){
    .move-buttons, .quiz_bar_last_buttons{
        width: 80%;
    } 
}

@media (max-width:425px){
    .move-buttons, .quiz_bar_last_buttons{
        width: 100%;
        font-size:16px !important;
    }    
    .quiz_slide_wrapper{
        margin-top: 20px;
    }

    .quiz_title{
        font-size: 30px;
    }

    .label_input{
        padding: 2px 5px;
    }
}

@media (max-width:375px){
    .quiz_title{
        font-size: 25px;
    }

    .title_question{
        font-size: 18px;
    }
}



@media (max-width:575px){
    .width_form{
        width: 100%;
    }
}

