/*https://hslpicker.com*/
/*CSS tricks - https://www.youtube.com/watch?v=qm0IfG1GyZU&t=536s*/
/*https://www.colorschemer.com/color-names/
https://open-props.style/
*/
/*
:root {
    !*--menu_bg :*!
    --base: 230;
    --green: hsla(210, 100%, 25%, 1);
    --red: hsla(0, 100%, 50%, 1);
    --blue: hsla(240, 100%, 50%, 1);
    --navy: hsla(240, 100%, 25%, 1);
    --crimson: hsla(348, 83%, 47%, 1);
    --yellow: hsla(60, 100%, 50%, 1);

    --ukraine_bg: linear-gradient(to bottom, blue, yellow);

    --menu_bg: var(--blue-9);

    !*--menu_bg:blue;*!
    --workarea_bg: hsl(var(--base), 40%, 76%);
    --dialog_bg: hsl(var(--base), 60%, 60%);
    --div1_bg: var(--workarea_bg);
    --div2_bg: #d4e2d8;
    --error_bg: crimson;
    --footer_bg: var(--header_bg);

    --note_bg: hsl(var(--base), 26%, 86%);

    --odd: hsl(var(--base), 50%, 80%);
    --even: hsl(var(--base), 50%, 74%);

    --btn_bg: hsl(var(--base), 70%, 65%);

    --body_bg: hsl(var(--base), 50%, 36%);

    --header_bg: var(--indigo-7);

    --div_border: hsl(var(--base), 50%, 40%);
}
*/




.btn {
    cursor: pointer;
    place-items: center;
    padding: .5em 1em .5em 1em;
    border-radius:.4rem;

}


.btn-menu {
    margin-block: .7em;
    height: 70%;
    display: grid;
    background:var(--btn_bg);
    color: var(--orange-2);

}

.btn-menu:hover {
    background-color: var(--navy);

}

.btn-menu.profile,
.btn-menu.members{
    background-color:var(--indigo-7);
}


html,
body {
    height: 100%;
    width: 100%;
    max-width: 1920px;
    max-height: 1080px;
    padding: 0;
    margin: 0;
    background: var(--ukraine_bg);
}

div.workarea {
    height: 100%;
    width: 100%;
    overflow: hidden;
    min-width: 1024px;
    min-height: 800px;
    background: var(--workarea_bg);
    background-image: linear-gradient(to bottom, blue, yellow);
    background-image: var(--ukraine_bg), var(--noise-5);
    display: grid;
    grid-template-rows: 6% 90% 2%;
    grid-template-columns: 100%;
    grid-row-gap: 1vh;
    grid-template-areas:
            "M"
            "C"
            "F";
}

div.error {
    grid-area: C;
    /*margin-left:9%;*/
    margin-top: 10%;
    width: 40%;
    /*width:60%;*/
    /*height:40%;*/
    height: 40%;
    background: var(--error_bg);

    z-index: 100;
    display: none;
}

div.header {
    background: var(--header_bg);
    color: whitesmoke;
    min-height: 4vh;
    max-height: 6vh;
    margin: 0;
    width: 100%;
    font-size: 1.5vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}


div.errorcontent {
    height: 86%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    /*background: #0000FF;*/
    background: transparent;
}


p {
    margin: 0;
}

p.header {
    color: crimson;
    margin-left: 2vw;
}

p.close {
    color: crimson;
    font-size: 2vw;
    margin-right: .5vw;
    cursor: pointer;

}

p.reminder {
    color: crimson;
    background: whitesmoke;
    padding: .5vh;
}

div.main_menu {
    grid-area: M;
    width: 100%;
    min-height: 30px;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap:1.5rem;
    align-items: center;
    background: var(--menu_bg);


/ / background: transparent;

    padding-left: 1vw;

    border-bottom: 1px solid whitesmoke;


    /*border-radius: 1vh 1vh 0 0;*/
    /*background:var(--div2_bg);*/
}

div.sub {
    border: 1px solid green;
    background: var(--menu_bg);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

div.content {
    grid-area: C;
    padding: .4em;
    border: .1vh dotted gray;
    overflow: auto;
    background-color: blue;
    width: 100%;

}

/*div.footer {
    grid-area: F;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    background: var(--footer_bg);
    !*background: #0000FF;*!
}*/


input[type='text'],
input[type='date'] {

    background: #ccc;
    padding: .25vh;
    font-size: 2.5em;
    border: 1px solid navy;
}


td {
    padding-left: 1vw;
}


tr:nth-child(odd) {
    background-color: var(--odd);

}

tr:nth-child(even) {
    background-color: var(--even);
    border-bottom: 1px solid silver;
}


p.selection {
    /*margin-left:.5%;
    width:99%;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;;
    color: whitesmoke;
    padding: .35vh;
    /*margin: 0 0 1vh;*/

}

p.selection:hover {
    background: cadetblue;
    color: whitesmoke;

}

p.main {
    margin: 0;
    background: transparent;
}

p.main:hover {
    margin: 0;
    background: blue;
}


div.main_menu p.main, p.protected {
    display: inline;
    margin-right: .8vw;
    padding: .6vh;
    width: auto;
    color: whitesmoke;
    cursor: pointer;
    border: .1vh solid transparent;
    pointer-events: auto;
    font-size: 1vw;
}


p.protected {
    color: gray;

}

p.locale {
    font-size: 1vw;
    background: cadetblue;
    padding: .2em;
    border: 2px solid navy;
}

/*div.gamemenu, div.membersmenu, div.ttimesmenu, div.coursemenu, div.hybridmenu{*/
div.ttimesmenu, div.hybridmenu, div.prevmenu {
    position: absolute;

    height: auto;
    display: none;
    flex-direction: column;
    padding: .3vh;
    z-index: 20;
}

table.post {
    line-height: 2.8;
}

table.post input.score {
    width: 2vw;
}

div.row {

    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;

}

div.column {
    height: 4vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

tr.collect {
    background: #eac5ea
}

p.na {
    color: crimson;
    font-size: 2vw;
    width: 100%;
    text-align: center;
}

td.collect {
    color: white;
}

div.dialog {
    display: flex;
    flex-direction: column;
    margin-top: 5%;
    margin-left: 5%;
    height: 40vh;
    width: 40vw;
    background: var(--dialog_bg);
}

div.dialogheader {
    background: var(--header_bg);
    width: 100%;
    height: 10%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: whitesmoke;
    font-size: 1.6vh
}

div.dialogcontent {
    background: transparent;
    width: 100%;
    height: 95%;
    padding: 1vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.dialogrow {
    margin-top: 1vh;
    display: flex;
    flex-direction: row;
    width: 100%;
}

p.dialogdivide {
    border-bottom: 1px solid navy;
    margin-left: 1%;
    width: 99%;
}

div.times {
    margin-left: 16vw;
    margin-top: 12vh;
    height: 36vh;
    width: 36vw;
    z-index: 10;
    padding: 1.5vh;
    background: wheat;
    border: 1px solid navy;
    display: none;

}

img.ukraine {
    margin-top: 1vh;
    margin-left: 80%;
}

button.profile{
    display:none;
}

button.members{
    display:none;
}





