
/* there is nothing in the header, since the two bits below float */
/* use the fixing the float mech to make the header expand to the size of the two floats, usign overflow:auto*/

header {
    padding: 0px;
    margin: 0px;
    background-color: rgb(40,40,40);
    overflow: auto;
}

/* title */
header h1:first-of-type
{
    float: left;
    width: 70%;
    text-align: left;
    line-height: 1;
    margin: 10px;
    font-size: 20pt;
    font-style: italic;
    font-weight: normal;
}

/* fullscreenbutton and logo */
header h1:last-of-type {
    float: right;
    margin: 2px;
}

/* fullscreen button */
header h1 input {
    background-color: #ff9c08;
    margin: 0px 10px;
    border: 1px solid black;
    border-radius: 8px;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

/* ************************************************** Set up Nav styling */
nav {
    padding: 0px;
    margin: 0px;
    background-color: rgb(40,40,40);
}

nav ul
{
    /* div needs to be inline so it flows */
    display:inline;
    margin: 0px 0px 0px 0px;
    padding: 0px;
    list-style-type: none;
    overflow: hidden;
    width: 72em;
}

nav ul li
{
    display:inline-block;       /* block so we don't constrain height.  float:left also works */
    background-color: #ff9c08;
    margin: 0px 0px 0px 0px;
    border-top: 1px solid black;
    border-right: 1px solid rgb(0,0,0);
    border-top-right-radius: 8px;
    border-left: 1px solid black;
    border-top-left-radius: 8px;
}

/* this style gets assigned to the highlighted tab classList and overrides the background-color.  Hover still works though #ffac28; */

.tabhighlighted {
    background-color: #ffe028;
}

/* gets added as you hover */

nav ul li:hover {
    background-color: #ffbc48;
}

/* positioning of first tab */
nav ul li:first-child {
    margin: 0px 0px 0px 4px;
}

/* styling of each tab setting height */
nav * a {
    padding: 0.5em;
    line-height: 2em;
    text-decoration: none;
    color: black;
}

/* this class is assigned to the div holding both the menu button AND the menu */

nav .menubutton {
    /* div needs to be inline so it flows against the ul's */
    display: inline;
    /* force it right a bit*/
    margin-left: 10px;
    /* allow children to position against it */
    position: relative;
}

nav .menubutton img {
    vertical-align: middle;
}

nav .menubutton img:hover {
    background-color: #ffe028;
}

/* styling of the nav menu */
.navmenu {
    display: none;
    position: absolute;
    top: 24px;      /* relative positioning from nav div */
    left: 0px;
    background-color: darkorange;
    color: black;
    z-index: 1;
}

/* styling of each menu line */
.navmenu div {
    display: inline-block;
    margin: 3px 10px 3px 0px;       /* this seems to work for hover */
    width: 100%; /* makes it take up the whole width of div, important for hover */
    white-space: nowrap; /* stop CSS trying to minize width, make it print it all on one line, so autowidth */
}

.navmenu div:hover {
    background-color: #ffe028;
}

/* ********************************************************** Footer formatting */

footer {
    padding: 0px;
    margin: 5px 0px 0px 0px;
    background-color: rgb(40,40,40);
}

footer button {
    margin: 4px 20px 4px 4px;
    border: 1px solid black;
    border-radius: 8px;
    background-color: #ff9c08;
}

/* Chrome only scrollbar fix */

::-webkit-scrollbar {
    width: auto;
}

::-webkit-scrollbar-track {
    background: rgb(40,40,40);
}

::-webkit-scrollbar-thumb {
    background: darkorange;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(255,160,0);
}

