.select-css {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    padding: 0 10px 0 5px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #aaa;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    border-radius: 5px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url('../img/down-arrow.png'),
    linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
    background-repeat: no-repeat, repeat;
    background-position: right 2px top 50%, 0 0;
    background-size: 15px auto, 100%;
    transition-duration: 0.4s;
}
.select-css::-ms-expand {
    display: none;
}
.select-css:hover {
    border-color: #888888;
    color: #0b7dda;
}
.select-css:focus {
    border-color: #aaa;
    box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
    color: #222;
    outline: none;
}
.select-css option {
    font-weight:normal;
}


textarea {
    resize: vertical;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
    font-family: 'Roboto',sans-serif;
    font-size: 16px;
}

select {
    border: 1px solid #000;
}

input {
    border: 1px solid #aaaaaa;
    border-radius: 5px;
    font-family: 'Roboto',sans-serif;
    font-size: 16px;
}

input[type=text] {
    width: 100%;
}

input[type=text].kontrollskjema {
    height: 32px;
}

input.search {
    font-size: 20px;
}

input:focus {
    background-color: yellow;
}

input:hover {
    border: 1px solid #000000;
}

input.login {
    font-size: 2em;
    border: 1px solid #000;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 12px 20px;
}

input.icon {
    width: 100%;
    padding: 12px 40px;
    /*margin: 8px 0;*/
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

i.input {
    position: absolute;
    left: 10px;
    top: 30px;
    color: gray;
}

select:required, textarea:required, input:required {
    background-color: #DDFFDD;
    border: 1px solid #000;
}

button {
    font-size: 17px;
    padding: 10px 14px;
    border:none;
    text-align: center;
    border-radius: 3px;
    /*background: DodgerBlue;*/
    background: #337ab7;
    color:white;
    cursor: pointer;
    transition-duration: 0.4s;
    box-shadow: 0 1px 0 1px rgba(0,0,0,.04);
    white-space: nowrap;
}

button.tiny {
    padding: 1px 6px;
    border-radius: 2px;
    color: black;
    background: none;
    box-shadow: none;
}

button.tiny:hover {
    background: none;
}

button:hover {
    background: RoyalBlue; /* Green */
    color: white;
    filter: drop-shadow(2px 4px 6px black);
}

button:after {
    content: "";
    background: #f1f1f1;
    display: block;
    opacity: 0;
    transition: all 0.8s
}

button:active:after {
    padding: 0;
    margin: 0;
    opacity: 1;
    transition: 0s
}

button.tablinks {
    background-color: inherit;
    float: left;
    border: none;
    border-radius: 0;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    white-space: nowrap;
    color: #000;
    box-shadow: none;
}

button.tablinks:hover {
    background-color: #2196f1;
    color: whitesmoke;
    filter: none;
}

button.active {
    background-color: #2196F3;
    color: whitesmoke;
}

button.dark {
    background: whitesmoke;
    color: #0a0a0a;
    border: 1px solid #999999;
}

.pulse {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: pulse 0.5s infinite;
    transform: scale(1);
}

@keyframes pulse {
    0% { transform: scale(0.98); }
    50% { transform: scale(1.02); }
    100% { transform: scale(0.98); }
}

.required {
    background: pink;
}

.requiredMsg {
    color:red;
    font-size:20px;
    font-weight: bold;
}

select.required {
    background-image: url('../img/down-arrow.png'),
    linear-gradient(to bottom, #ffffff 0%,pink 100%);
    background-repeat: no-repeat, repeat;
    background-position: right 2px top 50%, 0 0;
    background-size: 15px auto, 100%;
}

/* The container */
.input-container {
    display: block;
    position: relative;
    float: left;
 /*   padding-left: 35px;*/
    margin-bottom: 20px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.input-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #e5e5e5;
    /*background-image: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);*/
    border: 1px solid #aaa;
    border-radius:25%;
}

/* On mouse-over, add a grey background color */
.input-container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.input-container input:checked ~ .checkmark-feil {
    background-color: #a00;
}

/* When the checkbox is checked, add a blue background */
.input-container input:checked ~ .checkmark-ok {
    background-color: #090;
}

/* When the checkbox is checked, add a blue background */
.input-container input:checked ~ .checkmark-ikkeaktuell {
    background-color: #c8c800;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.input-container input:checked ~ .checkmark-feil:after {
    display: block;
}

.input-container input:checked ~ .checkmark-ok:after {
    display: block;
}

.input-container input:checked ~ .checkmark-ikkeaktuell:after {
    display: block;
}


/* Style the checkmark/indicator
.input-container .checkmark-feil:after {
    /*text-shadow: 2px 2px 3px #555555;
    content: "\00d7";
    font-size: 30px;
    color:#fff;
    left: 1px;
    top: -10px;
    width: 5px;
    height: 10px;
}
*/

.input-container .checkmark-ok:after, .checkmark-feil:after, .checkmark-ikkeaktuell:after {
    left: 5px;
    top: -1px;
    width: 5px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Bekreft */

section {
    width:450px;
    margin:25px auto;
    border:1px solid rgba(0,0,0,0.3);
    padding:15px 0 0;
    box-shadow:0 1px 10px rgba(0,0,0,0.2);
    background:#fff;
    animation:slidedown 3s ease;
}

@keyframes slidedown {
    0%{ transform:translateY(10px); opacity:0; }
    65%,100%{ transform:translateY(0); opacity:1; }
}

.confirmation-slider {
    padding:10px;
    margin-top:20px;
    border-top:1px solid rgba(0,0,0,0.1);
    background:#ebebeb;
    text-align:center;
}

#status {
    background:#fff;
    border:1px solid #ccc;
    border-radius:26px;
    height:52px;
}

@keyframes fadein {
    from{ opacity:0; }
    to{ opacity:1; }
}

.delete-notice {
    display:none;
    user-select:none;
    font-size:20px;
    line-height:50px;
    color:#ED4545;
    animation:fadein 4s ease;
}

#confirm {
    appearance:none!important;
    background:transparent;
    height:45px;
    padding:0 5px;
    width:100%;
    border: none;
    content: "> > >";
}

#confirm::-webkit-slider-thumb {
    appearance:none!important;
    height:40px;
    width:160px;
    border:1px solid #3079ED;
    border-radius:20px;
    cursor:e-resize;
    background:no-repeat center center;
    background-image:url(data:image/gif;base64,R0lGODlhIAAXAJEDAD1740KC7Ttx0////yH5BAEAAAMALAAAAAAgABcAAAJInI9poO0/hAiwOjmtPliwbXUeWIkSRTam9CHrC7NJTK9oVOfYp/ejDwzWAkKaofhqIU2tFG7lnDGj0k6T+pRgFbstd+SdXR0FADs=), linear-gradient(top,#4D90FE,#4787ED);
}

#confirm:hover::-webkit-slider-thumb {
    border-color:#2f5bb7;

}

.checkboxDarkmode {
    opacity: 0;
    position: absolute;
}

.checkbox-label {
    background-color: #111;
    width: 50px;
    height: 25px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fa-moon {color: #e5bb37;}

.fa-sun {color: #f8aa51;}

.checkbox-label .ball {
    background-color: #fff;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
}

.checkboxDarkmode:checked + .checkbox-label .ball {
    transform: translateX(24px);
}







