

#nma_mainwrapper .nma_question{
    border:none;
    margin-bottom: 5px; /* Tveksamt */
    display:flex;
    flex-wrap:wrap;
    /*justify-content: center;*/
    justify-content: space-between;
}
.nma_quizwrapper{
    /*height: calc(var(--vhmax) - 230px);*/
    /*display:flex;
    justify-content:center;
    align-items:center;*/
}
.nma_question_wrapper {
    /*height: calc(var(--vhmax) - 350px);*/
    height: 100%;
}
.nma_mico {
    box-sizing:unset;
}
/* etruckGUIdummy start */
#nma_mainwrapper .ui_col_1,
#nma_mainwrapper .ui_col_2{
    display: inline-block;
    /* background: lime;
    width: calc(100% /2);
    vertical-align: top;*/
}
#nma_mainwrapper .ui_col_1{
    flex-grow:1;
}
#nma_mainwrapper .nma_question{
    border:none;
}

#nma_mainwrapper .ui_quiz_navigation_bottom{
    font-family: 'Roboto Condensed';
    /*font-style: italic;*/
    font-weight: 300;
    font-size: 16px;
    color:#666;
    letter-spacing: 2px;
}

#nma_mainwrapper .nma_template_2 .nma_quizanswers_cmd.nma_mico.nma_quizanswer_selected:before{
    content:'check_box';
    display: inline-block;
}

#nma_mainwrapper  .nma_testred{

}
#nma_mainwrapper  .nma_testblue{

}
#nma_mainwrapper  .nma_question.nma_submitted{

}
#nma_mainwrapper .nma_question{

}
#nma_mainwrapper .nma_progresslink_cmd{

}
#nma_mainwrapper  .nma_progresslink_cmd.nma_submitted{
}

/* UI */
#nma_mainwrapper .ui_main{
    /*background:pink;*/
    width:100%;
    /*max-width:1280px;*/
    margin:auto;
    top:0px;
}
#nma_mainwrapper .ui_quiztype_icon {
    height: 24px;
    width: 24px;
}

#nma_mainwrapper .ui_quiztitle {
    font-size: 24px;
    margin-left: 8px;
    color: white;
    font-family: 'Roboto Condensed';
    /* font-style: italic; */
    font-weight: 400;
}

#nma_mainwrapper .ui_quiz_navigation_top{
    background:transparent;
    height:48px;
    margin-bottom:0px;

}
#nma_mainwrapper .ui_quiz_navigation_counter {
    font-size: 16px;
    line-height: 3;
    margin-left: 24px;
    color: #666666;
    display: inline-block;
    vertical-align: top;
    /*width: 70px;*/
    font-family: 'Roboto Condensed';
    /* font-style: italic; */
    font-weight: 300;
}

#nma_mainwrapper .ui_quiz_navigation_shortcut {
    height: 48px;
    width: 48px;
    background: url(../images/oversiktsknapp.png);
    background-repeat: no-repeat;
    background-size: 48px 48px;
    cursor: pointer;
    right: 0px;
    top: 0px;
    position: absolute;
    /*width: 717px;*/
    background-position: right;
    border-radius:4px;
}
/*#nma_mainwrapper .ui_quiz_navigation_shortcut:hover{
    background: url(../images/oversiktsknapp_inverterad.png);
    background-repeat: no-repeat;
    background-size: 48px 48px;
    background-position: right;
}*/


/*ORIGINAL */
/*#nma_mainwrapper .ui_quizwrapper {
    background: white;
    margin-bottom: 6px;
    padding: 18px;
    height: 306px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left:40px;
}*/

#nma_mainwrapper .ui_quizwrapper {
    background: white;
    height: 306px;
    overflow-y: auto;
    overflow-x: hidden;
    /*padding-left: 24px;
    padding-top: 24px;
    padding-right: 24px;
    padding-bottom: 24px;*/
    padding: 48px;
}
/*TVEKSAM */
/*#nma_mainwrapper .ui_quizwrapper {

    background: white;
    margin-bottom: 6px;
    padding-top: 48px;
    height: 284px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 48px;
    padding-bottom: 10px;
}*/

#nma_mainwrapper .ui_quiz_navigation_bottom{

    height:48px;
}


/*QUIZEN*/
#nma_mainwrapper .nma_question_title,
#nma_mainwrapper .nma_question_text,
#nma_mainwrapper .nma_answer_text{
    /* ROBOTO font-family: 'helveticaneue_light'; */
    /*color:#666666;*/
    /*font-size:18px;*/
    /*font-size: 14px;*/
    border-bottom:0;
}


#nma_mainwrapper img.nma_question_image{
    max-width: 100%;
    height:auto;
    max-height: 300px;
    border-radius: 4px;
}


.ui_question_image_smallscreen{
    display:none;

}
.ui_question_image_bigscreen{
    /* max-width: 50%;
     float:right;*/
}

/*#nma_mainwrapper .nma_popbox .nma_quiz_text {
    max-width: 700px;
    margin: auto;
    min-height: 350px;

}*/
#nma_mainwrapper .nma_popbox .nma_quiz_text {
    max-width: 800px;
    margin: auto;
    min-height: 350px;
}

#nma_innerqprapper{
    border-radius: 8px;
    margin:0px;
    background:white;
    padding-bottom: 10px;
}
.nma_fadeoutbox {
    margin-bottom: 0px;
}
#nma_mainwrapper .nma_prev_cmd, 
#nma_mainwrapper .nma_finishquiz_cmd, 
#nma_mainwrapper .nma_next_cmd, 
#nma_mainwrapper .nma_questionsubmit_cmd, 
#nma_mainwrapper .nma_prev_cmd, 
#nma_mainwrapper .nma_finishquiz_cmd {
    background: transparent;
}

#nma_mainwrapper .nma_next_cmd:before,
#nma_mainwrapper .nma_prev_cmd:before {
    content:'' !important;
}
#nma_mainwrapper .ui_quiz_navigation_bottom {
    display: flex;
    padding: 8px;
    top: -10px;
    justify-content: space-between;
    width: fit-content;
    margin: auto;
    gap: 10px;
}
#nma_mainwrapper .nma_next_cmd,
#nma_mainwrapper .nma_prev_cmd {
    background: var(--eThemeBg);
    height: 48px;
    width: 48px;
    border-radius: 50%;
    border-left: 0;
    border-right: 0;
    opacity:0.2;

}


#nma_mainwrapper .nma_next_cmd.nma_enabled,
#nma_mainwrapper .nma_prev_cmd.nma_enabled {
    background: var(--eThemeBg);
    height: 48px;
    width: 48px;
    border-radius: 50%;
    border-left: 0;
    border-right: 0;
    opacity:1;
    /* border: 2px; */
}

#nma_mainwrapper .nma_next_cmd:hover, #nma_mainwrapper .nma_next_cmd.nma_enabled:hover,
#nma_mainwrapper .nma_prev_cmd:hover, #nma_mainwrapper .nma_prev_cmd.nma_enabled:hover {
    opacity:0.5;
    background: var(--eThemeBg);
}


#nma_mainwrapper .ui_quiz_navigation_bottom img,
#nma_mainwrapper .ui_quiz_navigation_bottom img {
    width: 100%;
}





#nma_mainwrapper .nma_finishquiz_cmd,
#nma_mainwrapper .nma_questionsubmit_cmd  {
    cursor: default;
    border-radius: 24px;
    border: solid 2px var(--eThemeBg);
    padding: 14px 28px 14px 28px;
    /*font-family: Roboto;*/
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    color: var(--eThemeBg);
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    text-transform:uppercase;
    line-height: inherit;
    opacity: 0.5;
}
#nma_mainwrapper .nma_question_text {
    font-weight: bold;
}
#nma_mainwrapper .nma_finishquiz_cmd.nma_enabled, 
#nma_mainwrapper .nma_questionsubmit_cmd.nma_enabled {
    color: white;
    background: var(--eThemeBg);
    opacity: 1;
}

#nma_mainwrapper .nma_buttonwrapper > div.nma_surveylink_cmd {
    flex-basis: 100%;
}

#nma_mainwrapper .nma_progressoverviewwrapper {
    position: absolute;
    width: 100%;
    height: calc(var(--vhmax) - 120px);
    z-index: 2000;
    background-color: black;
    opacity: 1;
    left: 0px;
    top: 0px;
    display: none;
    background: transparent;
}
#nma_mainwrapper .nma_prev_cmd.nma_disabled, #nma_mainwrapper .nma_next_cmd.nma_disabled {
    width: 48px;
}
#nma_mainwrapper .nma_dynpop {  
    z-index: 5;

}
#nma_mainwrapper div.nma_question_sound_cmd {
    position: absolute;
    right: 0px;
    width: 48px;
    height: 48px;
    background-image: url('../images/questions/questions-speaker.svg');
    background-repeat: no-repeat;
    background-size: 48px 48px;
    cursor: pointer;
    z-index: 4;
    opacity: 0.7;
    top: -15px;
}
.nma_topwrapper {
    display: flex;
    align-items: center;
    padding-left: 32px;
    height: 56px;
}

.nma_dynpopheader {
    display:none !important;
}
#nma_quizlockedbox > div div {
    text-align: center;
}
#nma_quizlockedbox .nma_langtext1 {
    font-size:24px;
    font-weight: bold;
}

/*endbox ny design*/
#nma_endbox .nma_quiz_text{
    display:flex;
    align-items: center;
}
#nma_endbox.nma_finalexam .nma_quiz_text{
    flex-direction:column;
}
#nma_endbox .nma_squarebox {
    width: auto;
    text-align: center;
    padding-top: 0;
    padding-left: 1em;
    padding-right: 1em;
    align-self:flex-start;
    width: 100%; /* NYTT 20260107 */
}


#nma_mainwrapper #nma_endbox .nma_rounddot {
    margin: 0;
    /*align-self:flex-end;*/
}

#nma_mainwrapper #nma_endbox .nma_progress_circle {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    width: 240px;
    margin: auto; /* NYTT 20260107 */
}
#nma_mainwrapper #nma_endbox .nma_progress_circle svg {
    width: 100%;
}
#nma_mainwrapper #nma_endbox .circleContentWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
}
#nma_mainwrapper #nma_endbox  .nma_endtextfield{
    margin: auto;
}
#nma_mainwrapper #nma_endbox .nma_rounddot {
    margin-left: auto;
    margin-right: auto;
    /*margin-top: 40px;*/
}

#nma_mainwrapper .ui_quiz_navigation_top {
    padding-left: 24px;
}
.nma_topwrapper {
    padding-left: 48px;
}



@media  (max-width : 900px) {
    #nma_endbox .nma_squarebox {
        align-self:center;
    }
    #nma_innerqprapper{
        margin-left:8px;
        margin-right:8px;
    }
}

@media  (max-width : 576px) {
    #nma_mainwrapper .ui_col_1 {
        order: 1;
        margin:0px;
    }

    .nma_quizwrapper{
        /*height: calc(var(--vhmax) - 230px);*/
        height: calc(var(--vhmax) - 240px);
        /*display:flex;
        justify-content:center;
        align-items:center;*/
    }
    #nma_mainwrapper .nma_popbox .nma_quiz_text {
        /*min-height: calc(var(--vhmax) - 180px);*/
        min-height: calc(var(--vhmax) - 320px);
    }
    #nma_innerqprapper{
        margin-left:8px;
        margin-right:8px;
    }
    #nma_mainwrapper .ui_quiztitle {
        font-size: 20px;

    }
    #nma_mainwrapper .nma_question {
        flex-wrap: nowrap;
        flex-direction: column;
    }
    #nma_mainwrapper .ui_quiz_navigation_top {
        padding-left: 8px;
    }
    .nma_topwrapper {
        padding-left: 40px;
    }

}

@media only screen and (orientation: portrait) and (max-width : 576px) {
    #nma_mainwrapper .ui_quiz_navigation_bottom {
        font-size: 12px;
    }
    .nma_rounddot {
        float: none;
    }
    #nma_mainwrapper .nma_popbox > div,
    #nma_mainwrapper .ui_quizwrapper {
        padding: 32px;
    }
    #nma_mainwrapper   #nma_quizlockedbox.nma_dynpop {
        height: calc(100% - 55px);
    }
}
/* Nytt visa bild i row vid storskärm */
    @media  (min-width : 900px) {
    #nma_mainwrapper .nma_question {
        flex-wrap: nowrap;
    }
}
/* ----------Fransk QD demo special-----------*/
