html {
    height:100%;
    width:100%;
    margin: 0em;
    padding: 0em;
}
body {
    height: 100%;
    width: 100%;
    margin: 0em;
    padding: 0em;
    background-color: whitesmoke;
    font-family: Calibri, Arial;
}

.root {
    width: 100%;
    height: 100%;
    margin: 0em;
    padding: 0em;
    display: grid;
    grid-template-rows: auto 6.6em;
}

.main {
    margin-bottom: 1em;
}

a, a:visited, a:hover, a:active {
    color: inherit;
    text-decoration: none;
}
a, a:hover {
    text-decoration: underline;
}


input, select {
    padding: 0.4em;
}

    input[type=submit] {
        background-color: #04AA6D;
        border: #04AA6D 0.4em solid;
        color: white;
        cursor: pointer;
        border-radius: 0.8em;
    }

    /* Chrome, Safari, Edge, Opera */
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    /* Firefox */
    input[type=number] {
        -moz-appearance: textfield;
    }

.arrow {
    font-size: 4em;
    color: mediumblue;
}

.wrappanel {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.thumbnail {
    margin: 1em;
    width: 14em;
    background-color: orange;
    border: #006699 1px solid;
    border-radius: 0.5em;
}

.title {
    height: 1.5em;
    background-color: whitesmoke;
    border-bottom: #006699 1px solid;
    padding: 0.2em;
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
}

    .title img {
        height: 100%;
    }

    .title font {
        color: #2d55a6;
        font-family: Lato, Arial;
        font-size: 0.8em;
        margin-top: -0.1em;
        vertical-align: super;
    }

    .title a {
        text-decoration: none;
    }

.error {
    color: crimson;
    background-color: lavenderblush;
    padding: 0.7em;
}

#cpsImg {
    background-color: mediumblue;
    border: mediumblue 0.2em solid;
    border-radius: 0.8em;
    height: 80%;
}

.formLabel {
    display: inline-block;
    width: 100%;
    text-align: left;
    margin-left: 1em;
}

.thumbnail_content {
    padding: 0em;
    padding-top: 1em;
    padding-bottom: 1em;
}

    .thumbnail_content input {
        margin-bottom: 1em;
    }

        .thumbnail_content input[type=submit] {
            width: auto;
            margin-top: 1em;
            margin-bottom: 0em;
            align-self: center;
        }

.header {
    margin-bottom: 2.5em;
    padding: 1em;
}

.header h1 {
    margin-top: 0em;
}

.footer {
    background-color: gray;
    color: white;
    line-height: 1.5em;
    margin: 0em;
    padding: 0em;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
    gap: 0em;
}

.footer div {
    padding: 1em;
    text-align: center;
    background-color: gray;
}


/* ---------------------------------------------------- */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    height: 2.2em;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 2.2em;
    -webkit-transition: .4s;
    transition: .4s;
    width: 3.9em;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 1.7em;
        width: 1.7em;
        left: 0.25em;
        bottom: 0.25em;
        border-radius: 50%;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #04AA6D;
}

input:focus + .slider {
    box-shadow: 0 0 1px #04AA6D;
}

input:checked + .slider:before {
    -webkit-transform: translateX(1.7em);
    -ms-transform: translateX(1.7em);
    transform: translateX(1.7em);
}

label + .swithLabel, .swithLabelDisabled {
    display: inline-block;
    margin-left: 3.8em;
    vertical-align: bottom;
    margin-bottom: 0.5em;
}

label + .swithLabelDisabled {
    color: gray;
}

/* ---------------------------------------------------- */

.text {
    max-width: 50.5em;
    border: 1px solid black;
    background-color: white;
    padding: 1em;
    text-align: left;
}

.grid {
    border: #006699 1px solid;
    border-collapse: collapse;
    margin-top: 1em;
    background-color: white;
}
.grid th,td {
    border: #006699 1px dotted;
    padding: 0.2em;
    white-space: nowrap;
}
.grid th {
    border-bottom: #006699 1px solid;
    background-color: whitesmoke;
}
.grid td {
    background-color: white;
}
.grid div {
    border: none;
    padding: 0em;
    margin: 0em;
}
.tdData {
    text-align: right;
}
.tdLink {
    text-align: center;
}
.linkImg {
    padding-top: 0.2em;
    content: url("/link.svg");
}

@media screen and (max-width: 32em) {
    .grid {
        width: 100%
    }
    .grid tr {
        display: block;
    }
    .grid td {
        border: none;
    }
    .grid td:first-child {
        border-top: #006699 1px dotted;
    }
    .tdData {
        display: block;
    }
    .tdLink {
        padding-right: 5em;
    }
    .grid thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .grid td::before {
        content: attr(data-label);
        float: left;
    }
    .linkImg {
        padding-top: 0.1em;
        padding-left: 0.5em;
    }
}
