:root {
    --site-background: slategrey;
    --content-background: linear-gradient(lightgrey, white, white, white, lightgrey);
    --content-color: black;
    --block-header-background: #045cb1;
    --block-header-color: white;
    --block-hover-background: #ccffee;
    --block-hover-color: rgb(125, 18, 18);
    --menu-background: var(--block-hover-background);
    --item-hover-background: transparent;
    --item-hover-color: aqua;
    --light-content-background: whitesmoke;
    --light-content-color: black;
}

html { height: 100vh; }
body {
    display: flex;
    flex-direction: column;
    min-width: 400px;
    min-height: 100vh;
    margin: 0;
    padding: 0 10px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 1) 0%, rgba(112, 128, 144, 1) 42%, rgba(169, 179, 188, 1) 89%, rgba(80, 80, 80, 0.68) 100%) !important;
}
.cf:before,
.cf:after
{
    content: " ";
    display: table;
}
.cf:after
{
    clear: both;
}

div.primary--container {
    margin: 0 auto;
}

body > div {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
    box-sizing: border-box;
}


body > div:before,
body > div:after
{
    content: " ";
    display: table;
}
body > div:after
{
    clear: both;
}

main.main-content, div.home-content
{
    padding: 0;
    background: whitesmoke;
    border-radius: 5px;
}
.main-content
{
    padding: 10px !important;
    border-radius: 5px !important;
    background: linear-gradient(135deg, white, lightgrey, lightgrey, white, lightgrey, grey)  !important;
}

div.spacer { margin-top: 10px; }

div.system-block tr:hover, div.site-block tr:hover, div.block tr:hover
{
    background: aqua;
}


div.system-block-header, div.site-block-header, div.block-header,
div.system-block, div.site-block, div.block,
div.block-width, div.double-fill,
div.system-panel-header, div.site-panel-header, div.panel-header,
div.system-panel, div.site-panel, div.panel { width: 100%; }

div.system-block > *, div.site-block > *, div.block > *,
div.system-panel > *, div.site-panel > *, div.panel > *,
.block-title { padding-left: 10px; }

@media screen
    and (max-width: 666px)
{
    div.system-block-wrapper, div.site-block-wrapper, div.block-wrapper,
    div.system-panel-wrapper, div.site-panel-wrapper, div.panel-wrapper,
    div.double-width, div.double-fill, div.double-width { width: 100%; }
}
@media screen
  and (min-width: 667px)
  and (max-width: 999px)
{
    div.system-block-wrapper, div.site-block-wrapper, div.block-wrapper { width: 50%; }
    div.double-wide { width: 50%; }
}
@media screen
  and (min-width: 1000px)
  and (max-width: 1332px)
{
    div.system-block-wrapper, div.site-block-wrapper, div.block-wrapper { width: 33.3%; }
    div.double-wide { width: 33%; }
}
@media screen
  and (min-width: 1333px)
{
    div.system-block-wrapper, div.site-block-wrapper, div.block-wrapper { width: 33.3%; }
    div.double-wide { width: 33%; } /* not going to 4 */
}


img, video, canvas {
  max-width: 100%;
  height: auto;
}

div.system-block,div.site-block,div.block { height: 300px; overflow: auto; }
div.system-block-header, div.site-block-header, div.block-header
{
    padding: 5px 0;
    font-size: 16px;
    font-weight: bold;
}


/*
div.system-block-wrapper, div.site-block-wrapper, div.block-wrapper
{
    background: whitesmoke;
}
div.full-width { background: transparent; }
div.double-wide,
div.system-page, div.site-page, div.page,
div.system-panel, div.site-panel, div.panel
{
    background: var(--content-background);
    color: var(--content-color);
}
 */
div.system-block-header, div.site-block-header, div.block-header
{
    background: var(--block-header-background);
    color: var(--block-header-color);
    border-radius: 5px 5px 0 0;
}
/*
div.system-block-wrapper:not(:first-of-type), div.site-block-wrapper:not(:first-of-type),
div.block-wrapper:not(:first-of-type) { border-right: 1px solid slategrey; }
div.system-block-wrapper:not(:last-of-type), div.site-block-wrapper:not(:last-of-type),
div.block-wrapper:not(:last-of-type) { border-left: 1px solid slategrey; }

div.system-block-header, div.site-block-header, div.block-header,
div.system-block-title, div.site-block-title, div.block-title,
div.system-block, div.site-block, div.block { width: 100%; overflow: auto; }
div.double-wide { width: 66.666%; }
div.full-width { width: 100%; }
*/

div.system-block, div.site-block, div.block
{
    height: 300px;
    overflow: auto;
}
/*div.system-panel, dis.site-panel, div.panel,
div.system-block-wrapper, div.site-block-wrapper, div.block-wrapper
{
    background: whitesmoke;
}

div.system-block-header, div.site-block-header, div.block-header
{
    padding: 5px 10px;
    background: blue;
    color: white;
    font-size: 16px;
    font-weight: bold;
}
*/
