/**
 * Kjernern i ledelse Skjema
 * @author Jorn
 * @created 2023-02-10 13:09
 */

#kjernen div.content {
    max-width: 800px;

}

#kjernen h3 {
    color: orange;
    text-shadow: 1px 1px 2px black;
}

#kjernen a {
    color: #048;
    text-decoration: underline;
}

#kjernen ul.blocks, ul.questions {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#kjernen ul.blocks > li {
    min-height: 300px;
    margin: 0;
    padding: 0;
}

#kjernen ul.questions > li {
    padding: 8px;
    margin-bottom: 24px;
    border-radius: 8px;
}

#kjernen ul.questions > li:hover {
    background-color: #f0faff;
}

#kjernen ul.questions > li > div.title {
    float: left;
    width: 66%;
    // max-width: 600px;
    //   min-width: 350px;
    margin-top: 16px;
}

#kjernen ul.questions > li > div.scale {
    float: right;
}

#kjernen div.scale table,
#kjernen div.scale td {
    padding: 1px;
    border: none;
}

#kjernen div.scale tr.scale_label td {
    font-size: 12px;
    font-weight: bold;
    color: #048;
}

#kjernen div.scale label {
    display: block;
    margin: 1px;
    width: 32px;
    height: 32px;
    xpadding: 6px 8px 8px 6px;
    border-radius: 16px;
    background-color: #eee;
    cursor: pointer;
    border: solid #ddd 1px;
    // text-align: center;
}

#kjernen div.scale label input {
    margin: 8px 0 0 8px;
}

#kjernen ul.questions > li div.scale td.checked label {
    background-color: #94bee6;
}

#kjernen ul.questions > li[data-val="2"] div.scale td.checked label {
    background-color: #76b1d9;
}

#kjernen ul.questions > li[data-val="3"] div.scale td.checked label {
    background-color: #57a4cb;
}

#kjernen ul.questions > li[data-val="4"] div.scale td.checked label {
    background-color: #3897bd;
}

#kjernen ul.questions > li[data-val="5"] div.scale td.checked label {
    background-color: #1a8ab0;
}


#kjernen div.scale label:hover {
    background-color: #fda;
    border: solid orange 1px;
}

#kjernen ul.blocks li[data-id="90"] input[type="text"] {
    width: 400px;
}

#kjernen ul.blocks > li.stats ul.stats {
    padding-left: 16px;
    list-style-type: none;
}

#kjernen ul.blocks > li.stats ul.stats > li {
    margin-bottom: 32px;
}

#kjernen ul.blocks > li.stats ul.stats > li h5 {
    margin: 0 0 16px 24px;
}



#kjernen ul.blocks > li.share input[type="text"] {
    width: 90%;
}

#kjernen span.nb {
    font-size: 12px;
    color: #048;
}

#kjernen span.nb.red {

    color: #800;
}

#kjernen ul.questions > li:after,
#kjernen div.buttons:after,
#kjernen .clearfix {
    display: block;
    content: '';
    clear: both;
}

#kjernen div.buttons {
    padding: 24px 8px 8px 8px;
}

#kjernen div.buttons > input {
    float: left;
}

#kjernen div.buttons > input[name="kil_bu_next"] {
    float: right;
}

#kjernen[data-block_id="10"] div.buttons > input[name="kil_bu_prev"],
#kjernen[data-block_id="120"] div.buttons > input[name="kil_bu_next"],
#kjernen[data-block_id="130"] div.buttons > input {
    display: none;
}

#kjernen div.unsubscribe div.message {
    margin: 16px;
    padding: 32px;
    background-color: #ffc;
    color: #048;
    font-size: 18px;
    border: solid #048 1px;
}

#kjernen div.unsubscribe div.err {
    color: #800;
    border: solid #800 1px;
}

#kjernen div.unsubscribe input[type="button"] {
    margin: 16px auto;
}

/* Toast */
.simple-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 9999;
  pointer-events: none;
}

.simple-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#kjernen input.input-with-bgicon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path fill='%23000' d='M16 1H4c-1.1 0-2 .9-2 2v12h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center; /* høyrejustert med 10px margin */
  background-size: 20px 20px; /* skaler ikonet */
  padding-right: 38px; /* gi plass til ikonet (background-size + margin) */
  cursor: pointer;
}

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

    #kjernen ul.questions > li > div.title {
	float: left;
	width: auto;
	margin: 0 16px 0 0;
    }

    #kjernen ul.blocks li[data-id="100"] input[type="text"] {
	width: 90%;
    }

}
