.flexQuiz {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    grid-gap: 20px;
    align-items: center;
    justify-content: center;
}
#close {
    display: inline-block;
    margin: 15px 0 3px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid var(--silv);
    padding: 7px 10px;
    background: var(--bg-yel);
    color: var(--red);
    font-weight: 700;
    cursor: pointer;
}
#rank {
    display: none;
    position: absolute;
    z-index: 99;
    margin: 0;
    padding: 5px;
    background: var(--lig);
    color: black;
    border-radius: 5px;
    border: 1px solid var(--silv);
    overflow: auto;
    height: 500px;
}
#rank > a {
    display: block;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    background: var(--bg-yel);
}
.img-h1 {
    width: 35px;
    position: absolute;
    top: 1px;
    left: -1px;
    background: transparent;
    border-radius: 5px;
}
.img-h1:hover {
    background: var(--yel);
}
.quiz-content {
    position: relative;
    padding: 20px;
}
.box-sh-quiz {
    display: inline-block;
    width: 380px;
    height: 128px;
    position: relative;
    border: 1px solid var(--silv);
    border-radius: 5px;
    padding: 5px;
    margin-left: 5px;
    background: var(--bg-yel);
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: var(--shadow);
}
.box-sh-quiz span {
    position: absolute;
    top: 2px;
    padding: 2px;
    border-radius: 2px;
    font-size: .8em;
    color: black;
    background: var(--lig);
}
.quiz-box {
    width: calc(100% - 50px);
    margin: 0px auto;
    padding-bottom: 20px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid var(--silv);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .2);
}
.h-con {
    /*background: var(--bg-yel);*/
    border-bottom: 1px solid var(--silv);
    border-radius: 5px;
    padding: 10px 0;
    margin-bottom: 10px;
}
.answer-box {
  padding: 15px 25px;
}
.preQuest {
    display: inline-block;
    margin: 0;
    font-family: Arial,Helvetica,sans-serif;
    font-weight: 500;
    padding: 5px;
    white-space: pre-wrap;
    word-break: break-word;
    background: var(--bg-yel);
    border-radius: 3px;
    border: 1px solid var(--silv);
}
.labels {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background: var(--bg-yel);
    margin: 10px auto;
}

.answer-box:nth-child(even) {
    /*background-color: var(--bg-yel);*/
    
}
.answer-box:nth-child(even) {
    border-style: solid;
    border-width: 1px;
    border-color: var(--silv) transparent;
}
h3.question {
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: 400;
}
.fix {
    display: inline-block;
    position: fixed !important;
    top: 5px;
    left: 3px;
    z-index: 99;
}
.answer {
  cursor: pointer;
}
label {
    display: inline-block;
    font-size: 1.1em;
    cursor: pointer;
    padding: 10px 0;
    background: var(--bg-yel);
    min-width: 50%;
}
label:last-child {
  
}
.but-corr {
    display: block;
    margin: 30px auto 0;
    opacity: .65;
}

.but-corr:hover {
  color: var(--red);
  opacity: 1;
}
.but-but {
    position: relative;
    padding: 10px 20px;
    text-transform: uppercase;
    background-color: var(--yel);
    border: 1px solid var(--silv);
    border-radius: 5px;
    transition: background-color .3s;
    cursor: pointer;
}
.editQuiz {
    position: absolute;
    /*bottom: 22px;*/
    right: 0px;
    width: 40px;
    height: 40px;
    background: url(/Profiles/avatars_i/edit.png) 7px no-repeat;
    opacity: .5
}
.deletQuiz {
    position: absolute;
    /*top: 48px;
    right: 10px;*/
    width: 30px;
    height: 30px;
    background: url(/Profiles/avatars_i/delet-icon2.png) 7px no-repeat;
    opacity: .5;
}
.editQuiz:hover, .deletQuiz:hover {
    opacity: 1;
}
.modal {
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;    
    top: calc(50% - 150px);
    left: calc(50% - 300px);
    padding: 20px;
    width: 600px;
    height: 150px;
    font-size: 24px;
    background-color: var(--yel);
    border-radius: 5px;
    border: 2px solid var(--silv);
    z-index: 99;
}

.modal-active {
  display: flex;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
}
.wip {
    /*display: inline-block;*/
    display: none;
    position: absolute;
    top: 2px;
    border: 1px solid var(--silv);
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.wip-active {
    background: var(--red);
    color: var(--lig);
}
.correct {
  color: var(--blu);
}

.incorrect {
  color: var(--red);
}
.pole-form {
    padding: 11px;
    width: 83%;
    border: none;
    margin: 10px;
    background: var(--yel);
}
#addElm {
    text-decoration: underline;
    cursor: pointer;
    width: calc(100% - 40px);
    font-size: 1.2em;
    font-weight: 700;
    border: 1px solid var(--red);
}
#readKom {
    margin-top: 0;
}
.podiumCon {
    display: inline-block;
    background: var(--bg-yel);
    padding: 5px 20px;
    border-radius: 10px;
    border: 1px solid var(--silv);
    box-shadow: var(--shadow);
}
.podiumCon > h3 {
     background: var(--bg-yel);
}
@media screen and (max-width: 1070px) {
.quiz-content {
    padding: 0px;
}
.box-sh-quiz {
    width: calc(100% - 20px);
    margin-bottom: 15px;
}
.quiz-box {
    width: 100%;
}
.answer-box {
    width: calc(100% - 24px);
    padding: 5px 10px;
}
h3.question {
    /*font-size: 20px; */
}
.labels {
    width: 100%;
}

.modal {
    width: calc(100% - 45px);
    /*font-size: 20px;*/
    left: 0;
}
#readKom {
    margin-top: 20px;
}
}