.test-form img.test-empty {
    width: 15px;
    margin-left: 8px;
    margin-right: 8px;
    margin-top: -4px;
}
.test-form img.test-empty + input {
    display: none;
}
.test-form fieldset label {
    border-radius: 3px;
    padding: 3px 5px;
    line-height: 1.9em;
    padding-left: 30px;
}
.test-form fieldset > div:not(.sortable-answers):not(.sortable-questions) {
    background-color: #F8F8F8;
    color: black;
    margin-top: 2px;
    margin-bottom: 2px;
    border-radius: 5px;
}
.test-body fieldset label { 
    overflow: hidden; 
}

.test-form legend {
    color: inherit;
    font-size: inherit;
    padding-bottom: 4px;
    padding-bottom: 5px;
    padding-top: 10px;
    border-bottom: none;
    overflow: hidden;
}
/* pretoze editor vygeneruje text do <p> a bez tohto to hodi na novy riadok
 teda pod cislovanie, ale lepsie to vypada vedla cislovania */
.test-body legend>*:first-child
{ 
    display: inline-block; 
}
.blue-text{
    color: #337AB7 !important;
}
.test-form fieldset > div.blue-text {
    color: #337AB7;
}
.test-form fieldset img.test-empty {
    margin-left: -23px;
    float: left;
    margin-top: 8px;
}
.test-form .btn-check,
.test-form .btn-reset {
    margin-top: 1.6em;
}
.test-form .btn-check, .test-form .btn-reset{
    margin-bottom: 1.6em;
}
.test-form .plain-text{
    border-radius: 5px;
    background-color: cornsilk;
    color: black;
    padding: 15px;
    margin-top: 10px;
}

.test-form label{
    display: block;
}
.test-body label>*:last-child { 
    margin-bottom: 0;
}

.test-form .btn-reset{
    /* margin-left: 10px; */
}

.test-form .btn-default {
    color: #337AB7;
    border: #337AB7 1px solid;
}
.test-form .btn-default:hover {
    background-color: #337AB7;
    color: white;
    border: #337AB7 1px solid;
}

.duration-index {
    /* background-color: pink; */
    position: fixed;
    top: 60px;
    right: 0;
    padding: 10px;
    border-radius: 5px;
    margin-right: 15px;
    z-index: 999;
    margin-top: 10px;
    /* marigin-right: 10px; */

    background-color: #FCEEEF;
    padding: 11px 18px 11px 50px;
    color: #8A343A;
    background-image: url(../images/icon-timer-red.png);
    background-size: 20px 24px;
    background-position: 16px 10px;
    background-repeat: no-repeat;
}

.duration-index span {
    font-weight: bold;
}

/*.test-form .duration{*/
    /*text-align: right;*/
    /*position: fixed;*/
    /*-webkit-backface-visibility: hidden;*/
    /*display: block;*/
    /*background-color: rgba(214, 242, 255, 0.9);*/
    /*padding: 10px;*/
    /*border-radius: 5px;*/
    /*z-index: 999;*/
    /*white-space: nowrap;*/
    /*!*width: min-content;*!*/
    /*display: block;*/
/*}*/

.test-form .test-alert-info {
    background-color: #EFF5F9;
    border-left: solid 4px #337AB7;
    border-radius: 4px;
    padding: 11px 10px 11px 50px;
    color: #337AB7;
    background-image: url(../images/alert-info.svg);
    background-size: 24px 24px;
    background-position: 16px 10px;
    background-repeat: no-repeat;
    margin-bottom: 10px;
}
.test-form .test-alert-info span {
    font-weight: bold;
}
.test-form .test-alert-warning {
    background-color: #FCEEEF;
    border-left: solid 4px #8A343A;
    border-radius: 4px;
    padding: 11px 10px 11px 50px;
    color: #8A343A;
    background-image: url(../images/alert-warning.svg);
    background-size: 24px 24px;
    background-position: 16px 10px;
    background-repeat: no-repeat;
    margin-bottom: 10px;
}
.test-form .test-alert-warning span {
    font-weight: bold;
}

.test-form legend > audio {
    margin-top: 5px;
}

.test-placeholder .final-score {
    margin-top: 0.8em;
    font-size: 200%;
    margin-bottom: 20px;
}
.test-placeholder .final-score span {
    font-weight: bold;
}

.test-form .selected {
    background-color: #d6e4f1 !important
}

.test-form .incorrect,
.dragveta .incorrect {
    background-color: #f2dede !important;
    color: #a94442 !important;

    -webkit-text-fill-color: #a94442; /* to override default browser (safari) style */
}

.test-form .correct,
.dragveta .correct {
    background-color: #dff0d8 !important;
    color: #3c763d !important;

    -webkit-text-fill-color: #3c763d; /* to override default browser (safari) style */
}

.test-form .partialcorrect {
    background-color: #dff0d8 !important;
    color: #ff9a0a !important;
}

.test-form [disabled] {
    cursor: not-allowed;
    
    opacity: 1; /* to override default browser (safari) style */
}

.test-form .smaller-font{
    font-size: 90%;
}

.test-form .start-button{
    display: block;
    margin-top: 1.6em;
    margin-bottom: 1.6em;
}

.test-form .short-answer-input{
    width: 100%;
    border-radius: 5px;
    border: 1px solid #dddddd;
    padding: 5px;
}

.test-form .numeric-answer-input{
    width: 100%;
    border-radius: 5px;
    border: 1px solid #dddddd;
    padding: 5px;
}

.test-form .long-answer-textarea{
    width: 100%;
    resize: none;
    border-radius: 5px;
    border: 1px solid #dddddd;
    padding: 5px;
    min-height: 80px;
    overflow: hidden;
}

.test-form input,
.test-form textarea,
.test-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    color: black;
}

.test-form select {
    padding-right: 23px !important;
    background-image: url(../images/select-arrows.svg);
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.test-form input:focus,
.test-form textarea:focus,
.test-form select:focus {
    outline: none;
    border: 1px solid #337AB7;
    /* margin: 0px; */
    box-shadow: 0 0 3px #81c5ff;
}

.test-form .short-inline,
.test-form .numeric-inline,
.test-form .combo-inline {
    border-radius: 5px;
    border: 1px solid #dddddd;
    padding: 5px;
    margin-bottom: 5px;
}

#test-modal .modal-header, #test-modal .modal-footer{
    border: none;
}

#test-modal .modal-body{
    padding-left: 40px;
}

#test-modal{
    z-index: 999999;
    position: absolute;
}
.test-placeholder .button-wrapper{
    position: relative;
}

#test-modal {
    position: fixed;
    top: 3%;
    right: 3%;
    left: 3%;
    width: auto;
    margin: 0;
}
#test-modal .modal-body {
    height: 60%;
}
#test-modal .modal-body {
    max-height: 350px;
    padding: 15px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.width-dynamic{
    min-width: 20px;
    max-width: 100%;
}


.misto-odpoved{
    background-color: yellow;
    width: 100%;
}
.dragveta{
    background-color: #F8F8F8;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;
    margin: 5px;
    white-space: nowrap;
}

.dragveta:hover{
    cursor: pointer;
}

.dragveta.inline{
    display: inline-block;
}


.sortable-placeholder {
    width: 100%;
    display: inline-block;
    float: right;
    border: solid 2px #F8F8F8;
    border-radius: 5px;
    min-height: 56px;
    padding: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
}


.sortable-answers {
    border: solid 2px #d6e4f1;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 10px;
    margin-top: 20px;
    min-height: 56px;
    /*background-image: url(../images/swiper.gif);*/
    /*background-repeat: no-repeat;*/
    /*background-size: 32px 25px;*/
    /*background-position: center left;*/
    /*padding-left: 35px;*/
}

/*.dragveta.correct{*/
    /*background-color: green;*/
/*}*/

/*.dragveta.incorrect{*/
    /*background-color: red;*/
/*}*/


@media only screen and (max-width: 475px) {
    .test-placeholder .final-score{
        /* display: block;
        padding-top: 0px; */
        /* margin-top: -6em; */
        /* right: auto; */
    }
    .test-placeholder .button-wrapper{
        /* padding-top: 3em; */
    }
}

/* pretoze editor vygeneruje odpoved do <p> a bez tohto to hodi na novy riadok
 teda pod checkbox, ale lepsie to vypada vedla checkboxu */
.test-body label>.test-empty+input+*
{ 
    display: inline-block; 
}
