﻿body {
    max-width: 400px;
    margin: auto;
    margin-left: auto !important;
}
.lightslistitem {
    display: grid;
    grid-template-columns: 1fr 3rem;
    border: solid 1px #CCC;
    margin: 2px 0;
    border-radius: 3px;
    margin-bottom: 2px;
    padding: 8px;
    text-decoration: none;
}
.floatitem {
    display: grid;
    grid-template-columns: 3rem 1fr 3rem;
    border: solid 1px #CCC;
    margin: 2px 0;
    border-radius: 3px;
    margin-bottom: 2px;
    padding: 8px;
    text-decoration: none;
}
.floatitem > span:nth-child(3){
    text-align: center;
    font-weight: bold;
    color: black;
}
    .floatitem.good {
        background-color: limegreen;
        color: white;
    }
        .floatitem:hover {
        text-decoration: none;
    }

.heading {
    font-weight: bold;
    text-align: center;
    padding: 8px;
    background-color: orangered;
    color: greenyellow;
    margin: 6px 0;
    border-radius: 3px;
}

input[type=range] {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
}
input[type=submit] {
    padding: 6px 18px;
}
.scoreblock {
    border: solid 1px #CCC;
    margin-bottom: 0.5rem;
    padding: 6px;
    border-radius: 6px;
}
.scoreline {
    display: grid;
    grid-template-columns: 1fr 3rem;
    align-items: center;
    justify-items: center;
    font-size: large;
    font-weight: bold;
}
.placegroup {
    border: solid 1px #ccc;
    padding: 9px;
    margin-bottom: 0.5rem;
}
.placenumber {
    display: inline-block;
    background-color: red;
    color: white;
    font-weight: bold;
    transform: rotate(-10deg) translate(-5px, -7px);
    box-shadow: 3px -1px 6px rgba(0,0,0,0.5);
    padding: 6px;
}
.floatandscore {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    font-weight: bold;
}
    .floatandscore > span:first-child {
        border-bottom: dotted 1px #CCC;
    }
    .score {
    background-color: red;
    transform: rotate(5deg);
    padding: 0px 6px;
    box-shadow: 3px -1px 6px rgba(0,0,0,0.5);
    margin-bottom: 6px;
}
    .score > span {
        background-color: transparent;
        display: inline-block;
        color: white;
        font-weight: bold;
        font-size: 20px;
    }
    .judgeline {
        display:grid;
        grid-template-columns: 1fr auto;
    }

.detailsform {
    display: grid;
    grid-template-columns: auto;
    margin-top: 3rem;
}
.detailsform > input {
    margin-bottom: 0.5rem;
    padding: 6px;
}