html {
    background: url(../images/bg.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

[data-tooltip]:not(a):not(button):not(input) {
    border-bottom: none;
}

@media only screen and (max-width: 700px) {
    .instr {
      display: none;
    }
    td, th {
        font-size: 0.8em;
    }
  }

@media only screen and (prefers-color-scheme: dark) {
    tr.search_result:hover {
    background-color: #eeffff!important;
    }

    :where(fieldset[disabled]) :is(input:not([type=submit]):not([type=button]):not([type=reset]),select,textarea), input:not([type=submit]):not([type=button]):not([type=reset])[disabled], select[disabled], textarea[disabled] {
        --background-color: #f6f6f6;
        --border-color: var(--form-element-disabled-border-color);
        color: rgb(28, 2, 2);
        opacity: 1;
        pointer-events: none;
    }

/*
    tr.search_result:hover {
    background-color: #110000!important;
    }

    :where(fieldset[disabled]) :is(input:not([type=submit]):not([type=button]):not([type=reset]),select,textarea), input:not([type=submit]):not([type=button]):not([type=reset])[disabled], select[disabled], textarea[disabled] {
        --background-color: #111111;
        --border-color: var(--form-element-disabled-border-color);
        color: rgb(254, 249, 249);
        opacity: 1;
        pointer-events: none;
    }
*/
}

@media only screen and (prefers-color-scheme: light) {
    tr.search_result:hover {
    background-color: #eeffff!important;
    }

    :where(fieldset[disabled]) :is(input:not([type=submit]):not([type=button]):not([type=reset]),select,textarea), input:not([type=submit]):not([type=button]):not([type=reset])[disabled], select[disabled], textarea[disabled] {
        --background-color: #f6f6f6;
        --border-color: var(--form-element-disabled-border-color);
        color: rgb(28, 2, 2);
        opacity: 1;
        pointer-events: none;
    }

}
        
h1, h2, h3, h4, h5, h6 {
    font-family: "Merriweather", serif!important;
    font-weight: 500;
    --typography-spacing-vertical: 1.6rem;
}

@media (min-width: 992px) {
    body>footer, body>header, body>main, section {
        --block-spacing-vertical: calc(var(--spacing) * 1.5);
    }
    .comp {
        white-space: nowrap;
    }
}

@media (min-width: 768px) {
body>footer, body>header, body>main, section {
    --block-spacing-vertical: calc(var(--spacing) * 2);
    }
}

nav.container {
    padding-top: 25px;
}

.grecaptcha-badge { visibility: hidden; }
.g-recaptcha {
    display: none;
}

details[role=list] summary+ul, li[role=list]>ul {
    left: -60px;
    background-color: #ffffcc;
}

::placeholder { 
    color: #dedede!important;
    opacity: 1; /* Firefox */
  }
  
:-ms-input-placeholder { 
    color: #dedede!important;
  }
  
::-ms-input-placeholder { 
    color: #dedede!important;
  }

input[type=checkbox][role=switch]:checked:disabled {
    background-color: var(--switch-checked-background-color)!important;
}

/* Placeholderin piilotus, kun aletaan kirjoittaa. */ 
input:focus::-webkit-input-placeholder{
    color: transparent!important;
}
input:focus::-moz-placeholder{
    color: transparent!important;
}
input:focus:-moz-placeholder{
    color: transparent!important;
}