/**********************************************************************/

/* Style sheet for TB pages */ 

/**********************************************************************/

:root {
    --fg-color: #000000;
    --bg-color: #ffffcc;
    --disabled-color: gray;
    
    --surround-fg-color: #404040;
    --surround-bg-color: #ffffcc;
    
    --body-margin: 1rem;
}

html, body, div, span {
    margin: 0;
    padding: 0;
    border: 0;
}

breadcrumb-title {
    display: none;
}

BODY {
    font-family: Times New Roman, serif;
    margin: var(--body-margin);
}

H1, H2, H3 { 
    text-align: center;
}

#page {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: grid;
    grid:
	"breadcrumbs content" 3rem
	". content" 1fr
	"navigation content" auto
	". content" 1fr
	"footer content" auto
	/ 8rem 1fr;
    background-color: var(--surround-bg-color);
}

#breadcrumbs {
    grid-area: breadcrumbs;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    font-size: x-small;
    > span {
	text-align: center;
    }
}

#navigation {
    grid-area: navigation;
    box-sizing: border-box;
    width: 100%;
    padding: 0 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.navbutton {
    box-sizing: border-box;
    width: 100%;
    height: 3rem;
    border: 2px solid;
    border-radius: 5px;
    border-color: var(--surround-fg-color);
}

.navlink {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--surround-fg-color);
    text-align: center;
    border-radius: 3px;
    &:link, &:visited {
	text-decoration: none;
    }
    &:hover {
	color: var(--surround-bg-color);
	background-color: var(--surround-fg-color);
    }
}

#footer {
    grid-area: footer;
    box-sizing: border-box;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

#copyright {
    display: inline-block;
}

.mastheadlink, #navbutton, #copyright {
    color: var(--surround-fg-color);
    background-color: var(--surround-bg-color);
}    

#content {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    grid-area: content;
    overflow-y: auto;
    padding: 0.5rem;
    color: var(--fg-color);
    background-color: var(--bg-color);
    border-left: 2px solid var(--surround-fg-color);
}

#homepage_content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#homepage_grid {
    width: fit-content;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 0.5rem 1rem;
}

.gigslink {
    width: 100%;
    height: 100%;
    &:link, &:visited {
	text-decoration: none;
    }
}

/**********************************************************************/

/* End */

/**********************************************************************/
