html {
    font-family: "Liberation Sans", Verdana, Tahoma, Arial, Helvetica, Geneva, sans-serif;
    height: 100%;
    background: linear-gradient(to bottom, LightPink, rgba(0,0,0,0) 80px, rgba(0,0,0,0)) no-repeat;
}

summary {
    cursor: pointer;
}

.jswarning {
    font-weight: bold;
    color: red;
    animation: fadein 2s; /* this prevents the warning from flashing out in modern browsers */
}

@keyframes fadein {
    from { height: 0px;  opacity: 0; }
    25%  { height: 0px;  opacity: 0; }
    to   { height: auto; opacity: 1; }
}

.form-line:first-of-type:last-of-type .remove-line-button {
    display: none;
}

input[type="number"] {
    width: 80px;
}

[name="fileName"] {
    width: 80px;
}
[name="typeName"] {
    width: 60px;
}
[name="reaction"] {
    width: 250px;
}

.form-line label {
    position: relative;
}

.form-line:nth-child(odd) {
    background-color: rgba(1,1,1,.03);
}

.argInput {
    display: inline-block;
    vertical-align: middle;
    grid-template-columns: 45px 150px;
}

.validationTooltip {
    position: absolute;
    top: 20px;
    left: 0px;
    font-size: 13px;
    hyphens: auto;
    background: rgba(0,0,0,.8);
    color: white;
    padding: 4px;
    border-radius: 5px;
    z-index: 10;
    visibility: hidden;
    opacity: 0;
    transition: 0s visibility 1s, .3s opacity ease-in 0s, .5s top 0s;
}

input:invalid ~ .validationTooltip {
    visibility: visible;
    opacity: 1;
    top: 30px;
    transition: 0s visibility 0s, .3s opacity ease-out 0s, .5s top ease-out 0s;
}

input ~ .validationTooltip::before {
    /* css triangle trick */
    width: 0; 
    height: 0; 
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(0,0,0,.8);
    position: absolute;
    content: "";
    top: -8px;
    left: 50px;
}

#plotContainer {
    width:100%;
    height:70%;
}

body {
    padding-bottom: 25px;
}

footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    display: flex;
    width: 100%;
    padding: 10px 0px 5px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0) 10%, rgba(0,0,0,.3));
    font-size: 12px;
}

footer > * {
    margin: auto;
}
