﻿#resmenu {
  font-size: .65em;
  font-weight: bold;
}

#resmenu a {
  width: 13ch;
  color: #5050a0;
  padding: .25em 1em .25em 1em;
  text-align:center;
  text-decoration: none;
  border-radius: .5em;
  border-bottom: .25em solid transparent;
  transition-timing-function: ease-out;
  transition: border-bottom-color .5s;
}

#resmenu a:hover {
  border-bottom-color: #5050a0;
}

#resmenu a:visited {
  color: #5050a0;
}

/******************************************************************************/

div.resitem {
    cursor:default;
    display: grid;
    margin:0px;
}
 
div.resitem span {
    white-space:nowrap;
    overflow-x: hidden;
    text-overflow:ellipsis;
    padding: .25em .5em .25em .25em;
}
 
div.resitem:nth-child(odd) {
    background-color:#fbfbf5;
}
 
div.resitem:first-child {
    background-color:#c8c8e1;
    font-weight: bold;
}
 
div.resitem:not(:first-child):hover {
    background-color:#eaeaf3;
}
 
div.resitem span:not(:first-child) {
    text-align:right;
}

/******************************************************************************/

div.resitem1
{
    grid-template-areas: 'd d d d . . . . . r r';
    grid-template-columns: repeat(5, 1fr) 1.5fr 1fr 1fr .75fr 1fr 1fr;
}

div.resitem1 span:nth-child(1) { grid-area: d; }
div.resitem1 span:nth-child(4) { grid-area: r; }

/******************************************************************************/

div.resitem2
{
    grid-template-areas: 'd d d d . . r r .';
    grid-template-columns: repeat(5, 1fr) 1.5fr repeat(3, 1fr);
}

div.resitem2 span:nth-child(1) { grid-area: d; }
div.resitem2 span:nth-child(4) { grid-area: r; }

/******************************************************************************/

div.getpresetouter
{
    text-align:center;
}

div.getpreset
{
    display: inline-block;
    border: 2px solid gray;
    border-radius: 8px;
}

div.getpreset span
{
    display: none;
    margin:0px;
    padding:10px;
    background-color:#c8c8e1;
    border-bottom: 1px solid gray;
    border-radius: 6px 6px 0px 0px;
    font-weight: bold;
}

div.getpreset #copyok
{
    color:green;
}

div.getpreset #copyerr
{
    color:red;
}

div.getpreset a
{
    display:block;
    margin:0px;
    padding:10px;
    background-color:#c8c8e1;
    border-bottom: 1px solid gray;
    border-radius: 6px 6px 0px 0px;
    font-weight: bold;
    text-decoration: none;
}

div.getpreset pre
{
    background-color:#eeeeee;
    margin:0px;
    padding:5px;
    border-radius: 0px 0px 6px 6px;
}
/******************************************************************************/

 
@media screen and (max-width:900px) {
    div.resitem {
        grid-template-areas: 'd d d . .'  'r r . . .';
        grid-template-columns: repeat(5, 1fr);
    }
}
 
