:root {
    --maincolor: #2D4452;
    --maincolor2: #1D3442;
    --maininvcolor: #ffffff;
    --lightcolor: #3F5364;
    --lightcolor2: #CAD6E0;
    --lightsinvcolor: #2D4452;
    --backgroundinvcolor: #2D4452;
    --backgroundcolor: #ffffff;
    --backgroundcolor2: #1D3442;
    --backgroundcolor3: #F1F4F5;
    --backgroundcolor4: #FFFFFF;
    --backgroundcolor5: #F1F4F5;
    --backgroundcolor6: #CAD6E0;
    --questionbackground: #E8EEF6;
    --lighttextcolor: #3F5364;
    --lighttextcolor2: #3F5364;
    --lightbuttoncolor: #3F5364;
    --cgreen: #00CE00;
    --cred: #CC0000;
    --corange: #FF8800;
    --cblue: #2ED3FD;
    --dblue: #005c9f;
    --dmagenta: #e6007d;
    --dyellow: #dabb00;
    --dgreen: #65b32e;
    --dorange: #e56e02;
    --buttontextcolor: #fff;
}

* {
    font-family: 'Roboto';
    box-sizing: border-box;
    accent-color: #1a2f3b;
}

p {
    font-size: 16px;
    font-weight: 300;
    line-height: 19px;
    letter-spacing: 0em;
}

body {
    padding: 0;
    padding-top: 40px;
    margin: 0;
    background: var(--backgroundcolor);
    color: var(--maincolor);
    font-size: 14pt;
    overscroll-behavior: contain;
    font-weight: 100;
}

#blanker {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.75);
    display: none;
}

.pcmf_popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 50vw;
    min-height: 20vh;
    background: var(--backgroundcolor4);
    color: var(--lightcolor);
    padding: 15px 15px 45px 15px;
    display: none;
    /*     box-shadow: 1px 1px 3px rgba(100, 100, 100, 0.4); */
    z-index: 150;
    border-radius: 5px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.10);
}

.pcmf_popupb {
    min-height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
}

.pcmf_popupb h1 {
    font-size: 24pt;
    font: 500px;
}

.w100 {
    width: 100%;
}

input:focus {
    outline: none;
}

.btn:visited,
.btn:active,
.btn:hover,
.btn {
    background-color: var(--backgroundinvcolor);
    color: var(--buttontextcolor);
    display: flex;
    border-radius: 3px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: auto;
    padding: 0 20px;
    width: fit-content;
    font-size: 15pt;
    cursor: pointer;
    border: none;
    font-weight: 500;
}

.ibtn:visited,
.ibtn:active,
.ibtn:hover,
.ibtn {
    background: #2D4452;
    color: #fff;
    display: flex;
    border-radius: 3px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 5px 20px;
    width: fit-content;
    font-size: 15pt;
    cursor: pointer;
    border: none;
    font-weight: 500;
    /* outline: auto; */
}

.pcmf_task_back:hover,
.pcmf_task_back:active,
.pcmf_task_back:visited,
.pcmf_task_back {
    background: #FF8800;
}

.pcmf_task_skip:hover,
.pcmf_task_skip:active,
.pcmf_task_skip:visited,
.pcmf_task_skip {
    background-color: var(--dyellow);
    color: var(--buttontextcolor);
}


.pcmf_task_next:hover,
.pcmf_task_next:active,
.pcmf_task_next:visited,
.pcmf_task_next {
    background-color: var(--dgreen);
    color: var(--buttontextcolor);
}


.txt {
    border: 0;
    margin: 5px;
    font-size: 1.2em;
    padding: 13px;
    color: var(--maincolor);
    /*  background: var(--backgroundcolor); */
    border-radius: 5px;
}

.itxt {
    border: 0;
    margin: 5px;
    font-size: 1.1em;
    padding: 5px;
    color: #2D4452;
    background: #fff;
    border: 1px solid #888;
}

.nextbtn:visited,
.nextbtn:hover,
.nextbtn:active,
.nextbtn {}

.btn_no:active,
.btn_no:visited,
.btn_no:hover,
.btn_no {
    margin: 10px 0;
    min-width: 120px;
    border-radius: 5px;
    border: 1px solid #3F5364;
    color: #3F5364;
    background-color: #FFF;
    font-size: 15pt;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 15px 45px;
}

.btn_yes:active,
.btn_yes:hover,
.btn_yes:visited,
.btn_yes {
    background-color: var(--lightcolor);
    margin: 10px 0;
    min-width: 120px;
    border-radius: 5px;
    color: #FFF;
    font-size: 15pt;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 15px 45px;
}

.modalyesno {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.modalyesno p {
    width: 80%;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.modalyesno h2 {
    width: 80%;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

h2 {
    width: 80%;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.modalbtns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /*  width: 40%; */
    margin-top: 20px;
}

.modalbtns button:visited,
.modalbtns button:active,
.modalbtns button:hover,
.modalbtns button {
    margin: 0 20px;
}

#mc_finish {
    min-width: 80vh;
    text-align: center;
}

#mc_finish .btn {
    background-color: var(--dgreen);
    color: var(--buttontextcolor);
}

.inumber::-webkit-outer-spin-button,
.inumber::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.inumber {
    -moz-appearance: textfield;
}

.pcmf_answers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: var(--backgroundcolor4);
    flex-direction: column;
}

fieldset {
    border: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: var(--backgroundcolor4);
    flex-direction: row;
    width: 100%;
}

.pcmf_task_solution_inputs h3 {
    text-align: left;
    align-self: flex-start;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

h3 {
    text-align: left;
    align-self: flex-start;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.pcmf_answer {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.pcmf_ans {
    /* display: none; */
    opacity: 0;
    width: 0;
}



.pcmf_ans+label {
    padding: 5px 20px;
    margin: 10px;
    max-width: 100%;
    color: var(--lighttextcolor);
    cursor: pointer;
    width: 100%;
    border-radius: 3px;
    text-align: left;
    position: relative;
}

.pcmf_ans+label::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    border: 1px solid var(--lighttextcolor);
    width: 15px;
    height: 15px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
}

.pcmf_ans+label::before {
    content: '';
    display: block;
    float: left;
    width: 5px;
    height: 100%;
}

.pcmf_ans[type=radio]+label::after {
    border-radius: 900px;
}

.pcmf_ans+label img {
    margin: 10px;
    vertical-align: middle;
}


.pcmf_ans+label:hover {
    /*  border: 2px solid #6D8492; */
}

.pcmf_answers .pcmf_ans:checked+label:hover,
.pcmf_answers .pcmf_ans:checked+label {}

.pcmf_answers .pcmf_ans:checked+label::after {
    background-color: var(--lighttextcolor);
}

/* HEAD */
#pcmf_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background-color: var(--backgroundcolor);
    z-index: 35;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10);
}


#leftlogo {
    background: transparent url('../img/logo.png') center center no-repeat;
    background-size: contain;
    height: 20px;
    width: 69px;
    margin-left: 10px;
}

#pcmf_menubtn {
    width: fit-content;
    color: #ffa42d;
    cursor: pointer;
    padding: 3px 10px;
    border-radius: 3px;
    animation-name: pulse;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
    animation-delay: 1s;
}

#pcmf_menubtn.preopen {
    /* display: none; */
}

#pcmf_logout {
    width: 45px;
    height: 100%;
    min-height: 40px;
    max-height: 40px;
    background: var(--backgroundcolor) url('../img/logout.png') center center no-repeat;
    display: block;
    margin-left: 24px;
}


#pcmf_menucnt {
    /* position: fixed; */
    left: 0;
    right: 0;
    top: 40px;
    width: 100%;
    background: var(--backgroundcolor);
    color: var(--mainvcolor);
    overflow: hidden;
    z-index: 20;
}



#pcmf_menu {
    width: 100%;
    /* height: 0; */
    overflow: auto;
    padding-top: 40px;
}

#pcmf_menu_inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    min-height: 100%;
    max-width: 960px;
    margin: auto;
}


/*
TASK Instructions
*/

.bord {
    border: 1px solid #fff !important;
}

.pcmf_task {}

.pcmf_task_question {
    font-size: 18pt;
    text-align: center;
    border-radius: 0 0 3px 3px;
    margin: 0 0 40px 0;
    /* background-color: #0D2432; */
    /* color: #fff; */
    max-width: 960px;
    width: 100%;
    margin: 20px auto;
    /*  z-index: 30;
    position: fixed;
    top: 40px;
    left: 50%; */
    /* transform: translate(-50%, 0); */
    border-radius: 22px;
    background: var(--questionbackground);
    padding-bottom: 10px;
}

.pcmf_task_questionb {
    /* height: 0; */
    overflow: hidden;
}

.pcmf_task_questionb>span {
    display: block;
    overflow: hidden;
    width: 100%;
    height: fit-content;
}

.pcmf_task_questionb>span>h1 {
    margin: 0;
    padding: 20px;
    /* font-size: 16pt; */
    color: var(--lightcolor);
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    width: 100%;
}

.pcmf_task_questionb>span>h1::before {
    content: '?';
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    margin: auto;
    margin-bottom: 15px;
    border-radius: 90px;
}

.pcmf_task_questionb_I>span>h1::before {
    background-color: #005c9f;
}

.pcmf_task_questionb_T>span>h1::before {
    background-color: #dabb00;
}

.pcmf_task_questionb_K>span>h1::before {
    background-color: #e6007d;
}

.pcmf_task_questionb_B>span>h1::before {
    background-color: #65b32e;
}

.pcmf_task_questionb_P>span>h1::before {
    background-color: #e56e02;
}

.pcmf_task_close {
    background-color: #FFA42D;
    color: #fff;
    font-size: 12pt;
    position: relative;
    border-radius: 0 0 3px 3px;
    padding: 5px 20px;
    cursor: pointer;
}

.pcmf_task_question.preopen .pcmf_task_close {
    display: none;
}

.pcmf_task_close span {
    display: block;
    background-color: #FFA42D;
    position: relative;
    z-index: 15;
    padding: 5px 0;
}

.pcmf_task_close::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: calc(50% - 25px);
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 0;
    cursor: pointer;
    background: #FFA42D;
}

.pcmf_task_close::before {
    width: 30px;
    height: 18px;
    background: transparent url('../img/arrow_l.png') center center no-repeat;
    content: '';
    position: absolute;
    bottom: -15px;
    left: calc(50% - 15px);
    display: block;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
    transition: all 500ms ease-in-out;
    transform: rotate(0deg);
}

.pcmf_task_close.open::before {
    transform: rotate(180deg);
    background-position: center center;
}

.pcmf_task_questiondetails {
    line-height: 1.5em;
    /* margin-bottom: 20px; */
    /* padding-bottom: 10px; */
    padding: 10px 20px;
    color: var(--lightcolor);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
}

.pcmf_task_questiondetails dl {
    padding-left: 20px;
}

.pcmf_initialimage {
    display: flex;
    align-items: stretch;
}

.pcmf_initialimage div:first-child {
    min-width: 150px;
}

.pcmf_initialimage div:first-child img {
    vertical-align: middle;
}

.pcmf_task_helper {
    width: 100%;
    max-width: 960px;
    margin: auto;
    font-size: 0.9em;
    margin: 0 auto 40px auto;
    border-radius: 3px;
    /* background-color: #BFEABF; */
    line-height: 1.5em;
}

.pcmf_task_helper_head_icon {
    background: transparent url("../img/bullet_info.png") no-repeat center;
    background-size: cover;
    min-width: 30px;
    min-height: 30px;
}

.pcmf_task_helper_head_arrow {
    background: transparent url("../img/arrow.png") no-repeat center;
    background-size: cover;
    min-width: 10px;
    min-height: 10px;
    transform: rotate(180deg);
}

.pcmf_task_helper_head {
    padding: 10px 15px;
    /* background-color: rgba(0, 0, 0, 0.2); */
    display: flex;
    flex-direction: row;
    max-width: 960px;
    align-items: center;
    justify-content: space-between;
}

.pcmf_task_helper_head h4 {
    flex-grow: 1;
    padding: 0 10px;
    color: var(--lightcolor);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.pcmf_task_helper_body {
    padding: 5px 10px;
}

.pcmf_task_helper_body ul {
    padding-left: 20px;
    list-style-type: none;
}

.pcmf_task_helper_body li {
    margin-bottom: 10px;
}

.pcmf_task_helper_body li img {
    vertical-align: middle;
    margin-right: 5px;
}

button.pcmf_task_start:visited,
button.pcmf_task_start:active,
button.pcmf_task_start:hover,
button.pcmf_task_start {
    margin: 20px auto 20px auto;
    background-color: var(--dgreen);
    color: var(--buttontextcolor);
    border-radius: 5px;
    text-align: center;
    font-size: 15pt;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.pcmf_task_solution {
    display: none;
    margin: auto;
    max-width: 960px;
    padding: 0 0 20px 0;
    text-align: center;


}

.pcmf_task_solution_inputs {
    padding: 10px 20px;
    background-color: #0d2432;
    color: var(--lighttextcolor);
    margin-bottom: 30px;
    border-radius: 5px;
    background: var(--backgroundcolor4);
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.10);
}

.pcmf_task_solution_inputs input[type=text],
.pcmf_task_solution_inputs input[type=number] {
    margin-left: 15px;
}

.pcmf_task_solution_inputs_1n,
.pcmf_task_solution_inputs_nm {
    color: #0d2432;
    background: var(--backgroundcolor4);
}

.pcmf_task_solution .txt {
    /* margin-bottom: 20px; */
}

.pcmf_task_btns {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.pcmf_task_btns button {
    min-width: 20%;
    margin: 10px 0;
}

.task_container {
    display: none;
    max-width: 960px;
    width: 100%;
    height: 90vh;
    margin: auto;
    border: 1px solid #CAD6E0;
    background: var(--backgroundcolor4);
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.10);
    margin-bottom: 50px;
    overflow: auto;
}

/* PAGES */
/* LOGIN ERRORS */
#pcmf_logindeflect {
    max-width: 900px;
    margin: auto;
    padding: 10vh 30px 0 30px;
}

.centerimage img,
.centerimage {
    display: block;
    margin: auto;
}

.center {
    text-align: center;
}

.vcenter {
    display: flex;
    align-items: center;
}

.cc {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcmf_helpbubble {
    position: fixed;
    top: 95px;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: #1D3442;
    color: #fff;
    padding: 20px 20px;
    border-radius: 3px;
    z-index: 120;
    max-width: 250px;
    width: 100%;
}

.pcmf_helpbubble div {
    text-align: center;
    line-height: 1.4em;
}

.pcmf_helpbubble_arrow {
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    position: absolute;
    top: -16px;
    left: calc(50% - 16px);
    z-index: 10;
    background: transparent url('../img/up-arrow.png') center center no-repeat;
}


#pcmf_helpbubble_close:active,
#pcmf_helpbubble_close:hover,
#pcmf_helpbubble_close:visited,
#pcmf_helpbubble_close {
    margin-top: 20px;
    background-color: #00CE00;
    color: #fff;
    cursor: pointer;
}

@media (prefers-color-scheme: dark) {
    :root {
        --maincolor: #fff;
        --maincolor2: #1D3442;
        --maininvcolor: #fff;
        --lightcolor: #ffffff;
        --lightcolor2: #1E1E1E;
        --lightsinvcolor: #2D4452;
        --backgroundinvcolor: #fff;
        --backgroundcolor: #2E2E2E;
        --backgroundcolor2: #1D3442;
        --backgroundcolor3: #3D5462;
        --backgroundcolor4: #1E1E1E;
        --backgroundcolor5: #121212;
        --backgroundcolor6: #1E1E1E;
        --questionbackground: #1E1E1E;
        --lighttextcolor: #FFF;
        --lighttextcolor2: #FFF;
        --lightbuttoncolor: #CAD6E0;
        --buttontextcolor: #2e2e2e;
    }

    #leftlogo {
        background-image: url("../img/logo_inv.png");
    }

    #pcmf_logout {
        background-image: url("../img/logout_inv.png");
    }


    /*     .ibtn:visited,
    .ibtn:active,
    .ibtn:hover,
    .ibtn {
        color: #0d2432;
    } */

    .pcmf_task_close span,
    .pcmf_task_close {
        color: #0d2432;
    }


    .pcmf_task_close::before {
        background-image: url('../img/arrow.png');
    }

    /* .pcmf_task_helper {
        background-color: rgba(106, 156, 106, .45);
    } */

    .pcmf_task_solution_inputs {
        color: #fff;
    }

    .pcmf_task_solution_inputs .pcmf_answers label {
        /* background-color: #0d2432; */
        /*  color: #fff; */
    }

    .task_container {
        border-color: transparent;
        box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.10);
    }

    .btn_no:active,
    .btn_no:visited,
    .btn_no:hover,
    .btn_no {
        background-color: var(--dyellow);
        color: var(--buttontextcolor);
    }

    .btn_yes:active,
    .btn_yes:hover,
    .btn_yes:visited,
    .btn_yes {
        background-color: var(--dgreen);
        color: var(--buttontextcolor);
    }

    .pcmf_task_helper_head_arrow {
        background-image: url('../img/arrow_l.png');
    }
}



@media screen and (max-width: 960px) {
    .pcmf_task_question {
        left: 0;
        right: 0;
        transform: none;
    }

    .pcmf_task_questiondetails {
        padding: 0 20px;

    }

    .pcmf_task_helper {
        margin: 0 10px 40px 10px;
    }

    .pcmf_task_solution,
    .task_container,
    .pcmf_task_helper,
    #pcmf_menu_inner,
    .pcmf_task_helper_head,
    .pcmf_task_question {
        max-width: 100vw;
        width: 100vw;
        margin: 0;
    }

    .pcmf_task_solution {
        margin-top: 20px;
    }

    div.pcmf_task_start:visited,
    div.pcmf_task_start:active,
    div.pcmf_task_start:hover,
    div.pcmf_task_start {
        margin: 20px 10px 20px auto
    }

    .pcmf_task_btns {
        padding: 0 10px;
    }
}

@media screen and (max-width: 800px) {
    body {
        font-size: 13pt;
    }

    .pcmf_task_btns {
        align-items: center;
        justify-content: center;
    }

    #nxtbtn,
    .pcmf_task_btns .ibtn {
        width: calc(100% - 20px);
        margin: 10px;
    }

    .modalbtns {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {

    .txt {
        font-size: 16px;
    }

    body {
        font-size: 12pt;
    }

    #pcmf_menubtn {
        font-size: .9em;
    }

    .pcmf_task_btns {
        margin-top: 0;
    }

    .pcmf_popup {
        min-width: 98vw;
    }

    .btn:visited,
    .btn:active,
    .btn:hover,
    .btn {
        min-height: 36px;
        padding: 15px 45px;
        font-size: 14pt;
    }

    .pcmf_task_questionb>span>h1 {
        font-size: 18px;
    }
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }

    5% {
        transform: scale(1.05);
    }

    10% {
        transform: scale(1);
    }

    90% {
        transform: scale(1);
    }

    95% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}