/*--HOVEDCSS--*/

/*-- Fjerne labels --*/
.sb_mod_acf_table_item_label {
	display: none;
}

/*-- Lage fine knapper i skjema --*/

button.sertifikat-knapp {
    width: 200px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    background: #e62222;
}

button.sertifikat-knapp.endre {
	top: 200px;
    position: fixed;
    left: 40px;
	background: #224be6;
}
button.sertifikat-knapp.endre:hover {
    background: #4c4cfd;
}

button.sertifikat-knapp.endre .icon {
    border-left: 1px solid #1b26c4;
}

button.sertifikat-knapp.avbryt {
	top: 200px;
    position: fixed;
    right: 40px;
	background: red;
}
button.sertifikat-knapp.avbryt:hover {
    background: #ff3636;
}

button.sertifikat-knapp.avbryt .icon {
    border-left: 1px solid #c41b1b;
}

button.sertifikat-knapp,
button.sertifikat-knapp span {
    transition: 200ms;
}

button.sertifikat-knapp .knapp-tekst {
    transform: translateX(35px);
    color: white;
    font-weight: bold;
}

button.sertifikat-knapp .icon {
    position: absolute;
    transform: translateX(160px);
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

button.sertifikat-knapp svg {
    width: 15px;
    fill: #eee;
}

button.sertifikat-knapp:hover .knapp-tekst {
    color: transparent;
}

button.sertifikat-knapp:hover .icon {
    width: 190px;
    border-left: none;
    transform: translateX(0);
}

button.sertifikat-knapp:focus {
    outline: none;
}

button.sertifikat-knapp:active .icon svg {
    transform: scale(0.8);
}

/*-- Fikse meny-beskrivelse --*/
span.menu-item-description {
    display: block;
    color: #999999;
    font-weight: 400;
    font-size: x-small;
}
#top-menu li {
    vertical-align: top;
}