html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

body {
    overflow-y: visible;
}

input:disabled {
    cursor: auto!important;
}

* {
    font-family: sans-serif;
    text-decoration: none;
}

@media screen and (max-width: 750px) {
    #Content {
        display: block !important;
    }

    #DataCompilation {
        margin-left: 20px!important;
        overflow-y: scroll;
        max-height: 250px;
    }

    #Questions {
        display: block !important;
    }

    #Questions #Right {
        margin-left: auto;
    }
}

#Welcome > h1, #Certification > h1, #Error > h1 {
    color:#00294D;
    text-align: center;
    margin: 0;
    font-size: 50px;
}

#Welcome > footer, #Certification > footer, #Error > footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 35px);
    position: fixed;
    bottom: 10px;
    color: grey;
}

#Welcome form input {
    margin: 5px;
}

#Welcome a, #Welcome p, #Certification a, #Certification p, #Error a, #Error p {
    color: #00294d;
}

#Welcome > p {
    width: 500px;
    text-align: justify;
}

#Welcome, #Error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

input[type=submit], input[type=button], .ButtonStyle {
    border: none;
    background-color: #00294d;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

input:disabled {
    opacity: 0.7;
}

#Certification {
    text-align: center;
}

#Certification > embed {
    filter: drop-shadow(0px 0px 3px #000a);
}

#Certification > footer {
    padding-left: 15px;
}

#Certification > p {
    width: 680px;
    margin: 0 auto;
    text-align: center;
}

#Certification > h1 {
    padding: 20px;
}

#Progression {
    position: fixed;
    top: 0;
    left: 0;
    width: 20%;
    height: 6px;
    background-color: #00294d;
    z-index: 1;
    border-right: 5000px solid white;
    filter: drop-shadow(0px 0px 4px rgba(0,0,0,0.5));
    transition-duration: 1s;
}

#Questions #Left {
    width: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

#Questions #Left > label {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
}

#Questions #Left > label:has(input[type=checkbox]) {
    align-items: center;
    flex-direction: row;
}

#Questions #Left > label > input[type=checkbox] {
    margin: 0 10px;
    width: 20px;
    height: 20px;
}

#Questions #Left > label > input, #Questions #Left > input, #Questions #Left > label > select {
    padding: 9px;
    margin-top: 15px;
    max-width: 400px;
    border: 1px solid grey;
    outline: none;
    padding-left: 36px;
}

#Questions #Left > label > select {
    max-width: 450px;
}

#Questions #Right i {
    margin-top: 20px;
}

#Questions #Right {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 20px;
    justify-content: flex-end;
}

#Questions #Right img {
    width: 100px;
}

#Questions {
    height: 100%;
    display: flex;
}

#Content {
    display: flex;
}

#time {
    text-align: right;
}

#Context {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    opacity: 1;
    transition-duration: 0.5s;
}

#Actions, #DataCompilation {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

#Actions > img {
    max-width: 100%;
}

#DataCompilation {
    border: 5px solid #00294d;
    margin: 20px 15px;
    border-radius: 15px;
    margin-left: auto;
    height: max-content;
}

#DataCompilation:empty {
    opacity: 0!important;
}

.Loading {
    opacity: 0!important;
}

.clickable-area {
    position: absolute;
    margin: 30px 0 0 30px;
}

#DataCompilation > h1 {
    margin-top: 0px;
    font-size: 40px;
}

#DataCompilation > p {
    text-align: justify;
    line-height: 1.4;
    font-size: 20px;
    max-width: 600px;
    margin: 0;
}

.button_padding {
    margin: 5px;
}

.button_minor {
    background-color: #001629!important;
    font-size: 14px!important;
    padding: 8px 12px!important;
}

.action_buttons {
    display: flex;
}

.action_buttons > a {
    margin-right: 15px;
}

.action_popup {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000000d1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: 0.3s;
    opacity: 0;
    transform: translateY(-100%);
}

.action_popup:target {
    opacity: 1!important;
    transform: translateY(0%)!important;
}

.action_popup > .close_button {
    color: white!important;
    font-weight: bold;
    position: fixed;
    top: 15px;
    right: 15px;
}

.action_popup > form {
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 5px;
}

.action_popup > form > label {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: space-between;
    color: #00294d;
}

.action_popup form label:first-child {
    margin-top: 9px!important;
}

.action_popup form label:last-child {
    margin-bottom: 9px!important;
}

.action_popup label > input {
    margin: 6px 0!important;
    padding: 9px;
    border: none;
    border-bottom: 3px solid #00294d;
    outline: none;
    width: calc(100% - 160px);
    filter: drop-shadow(0px 0px 3px #00000022);
    border-radius: 4px;
}

.action_popup h2:first-child {
    margin: 0;
    color: #00294d;
}

.popup {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000000d1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: 0.3s;
    opacity: 0;
}

.half_white_screen {
    background-color: white;
    width: 50%;
    padding: 30px;
    border-radius: 10px;
}

.half_white_screen_image {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-height: 90%;
}

.close {
    position: fixed;
    top: 20px;
    right: 15px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

#Content input {
    margin-bottom: 5px;
}

#DataCompilation > span {
    margin-bottom: 16px;
}

#DataCompilation > span:last-child {
    margin-bottom: 0px!important;
}

#DataCompilation > span > p {
    font-weight: bold;
    margin-top: 0;
}

.VALID, .INVALID, #Left input:not(:disabled) {
    background-repeat: no-repeat;
    background-position: center right;
    
    background-position-x: 5px;
}

.VALID {
    background-image: url(./../images/valid.svg);
}

.INVALID {
    background-image: url(./../images/invalid.svg)!important;
}

#Left .VALID:not(:disabled) {
    background-image: url(./../images/correct.svg)!important;
}

.message {
    top: 0;
    position: fixed;
    z-index: 12;
    padding: 6px 6px 6px 16px;
    margin: 24px 18px;
    border: 1px solid;
    transition-duration: 1s;
    opacity: 1;
    display: flex;
    align-items: center;
    border-radius: 5px;
    border-left: 6px solid;
    font-size: 20px;
    filter: drop-shadow(0px 0px 6px #00000070);
}

.message > img {
    margin-left: 10px;
    cursor: pointer;
}

.message.info {
    background-color: #eeffef;
    color: #4CAF50;
}

.message.warn {
    background-color: #fffeee;
    color: orange;
}

.message.error {
    background-color: #ffeeee;
    color: red;
}

#Actions > div > img, .clickable-area {
    cursor: pointer;
}


#Actions > div > img {
    margin: 15px;
}

code {
    font-family: 'Courier New', monospace;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 5px;
    display: block;
    margin: 10px 0;
    white-space: pre-wrap;
}

.output.info {
    background-color: #e2ffe2;
    border-left: 4px solid #4CAF50;
    color: #004b00!important;
}

.output.error {
    background-color: #ffe2e2;
    border-left: 4px solid #af4c4c;
    color: #4b0000!important;
}

.output {
    padding: 12px;
    border-radius: 5px;
}

#Error > p {
    width: 500px;
    text-align: center;
}