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

/* Style sheet for Monday Musicians sheet pages */

/***********************************************************************/
 
@import "main_css.php";

#sheet_page_page {
   position: absolute;
   top: 0;
   left: 0;
   box-sizing: border-box;
   width: 100%;
   height: 100%;
   display: grid;
   grid-template:
       "navigation sheet_box" auto
       "details sheet_box" 1fr
       "footer sheet_box" auto
       / 20rem 1fr;
   background-color: var(--surround-bg-color);
}

#sheet_page_navigation, #sheet_page_footer {
    color: var(--surround-fg-color);
    font-family: var(--surround-font-family);
}

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

.navbutton_logo_box {
    box-sizing: border-box;
    widht: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    padding: 0.1rem;
    margin: auto;
    background: var(--surround-bg-color);;
}

.navbutton_logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#sheet_page_navigation navlink:link, #sheet_page_navigation navlink:visited {
    text-decoration: none;
}

#sheet_page_footer .navbutton {
    border: none;
}

#sheet_page_footer navlink:link, #sheet_page_footer navlink:visited {
    text-decoration: none;
}

#details {
    grid-area: details;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--bg-color);
    overflow-y: auto;
}

#links_box {
    display: grid;
    grid-template:
	"prev_link prev_arrow next_arrow next_link" auto
	/ 1fr auto auto 1fr;
    column-gap: 0.5rem;
}

#links_box a {
    color: var(--surround-fg-color);
}

#details_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    font-size: larger;
}
 
#details_header div {
    text-align: center;
}

#version_form {
    text-align: center;
}

#version_box {
    display: inline-grid;
    grid-auto-columns: 1fr;
    gap: 0.5rem;
}

.version_item {
    grid-row: 1;
}

label {
    display: inline-flex;
    align-items: center;
    gap: 0.2em;
}

input[type=radio] {
    width: 1em;
    height: 1em;
    accent-color: var(--surround-fg-color);
}

#details ol, #details ul {
    margin: 0;
    padding: 0 1rem;
}

.tune:not(:first-child) {
    margin-top: 1rem;
}
    
.tune_info_list {
    list-style-type: none;
}

.tune_info {
    font-style: italic;
}


.dates_box {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#sheet_page_footer {
    grid-area: footer;
    margin: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

#sheet_box {
    grid-area: sheet_box;
    background: #C0C0C0;
    text-align: center;
}

.sheet_object {
    display: block;
    width: 100%;
    height: 100%;
}

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

/* End */

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