body {
    font-family: "Lucida Sans Unicode", sans-serif;
    font-size: 95%;
    color: #000000;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    background-image: url(../modules/Bam3DCG/asset/images/background1.jpg);
    line-height: unset;
}
.site-title:before, #top-nav:before {
        background-color: transparent;
    }
.site-title, #top-nav {
        background-color: transparent;
}
h2 {
    margin-left: auto;
    margin-right: auto;
    background: #264061;
    font-family: 'Calibri', sans-serif;
    color: white;
    line-height: 38px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 12px;
    height: 38px;
    font-size: 21px;
}
h2:has(> div) {
    font-size: unset;
    height: unset;
    padding: unset;
}
h2 #types {
    height: 38px;
    font-size: 16px;
    padding: 0 12px;
    font-weight: normal;
}
h2 #types a {
    color: white;
}
h2 #title {
    height: 38px;
    font-size: 21px;
    border-top: solid 1px #91acca;
    padding: 0 12px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.block {
    background: rgba(253, 234, 218, 0.6);
}
#advanced-search {
    background: rgba(255, 255, 255, 0.5);
    padding: 16px;
}
a:link {
    color: #000000;
    text-decoration: underline;
}
li {
    font-weight: bold;
    font-size: 90%;
    line-height: 130%;
}
li li {
    font-weight: normal;
    margin-left: 10px;
    font-size: 100%;
}
li {
    list-style-type: none;
}
.show #content dl {
    background: rgba(253, 234, 219, 0.85);
    padding: 16px 16px 16px 0px;
}
#content dl {
    padding: 16px 16px 16px 0px;
}
#content #linked-resources-container {
    background: rgba(253, 234, 219, 0.85);
    padding: 16px;
}
#content .search-filters {
    background: rgba(253, 234, 218, 0.6);
    padding: 8px 16px;
    margin-bottom: 16px;
}
#content .search-filters .filter a {
    display: none;
}
#content .browse-controls {
    background: rgba(253, 234, 218, 0.6);
    padding: 8px 16px;
    align-items: center;
}
#content > .pagination {
    background: rgba(253, 234, 218, 0.6);
    width: 100%;
    padding: 8px 16px;
}
#content .resource-list {
    background: rgba(253, 234, 219, 0.85);
    padding: 16px;
}
#mapArea
{
        padding: 0px;
        margin: 0px;
        height: 100%;
}
footer
{
	font-family:'Calibri', sans-serif;
	font-weight: bold;
	font-size: 12px;
	line-height: 16px;
/*	margin-top: -10px;*/
	float:left;
    padding: 0 60px 30px;
}
div.placeImg img
{
    max-width: 150px;
    max-height: 400px;
    margin: auto;
    display: block;
    padding-top: 8px;
}
dt {
    font-weight: bold;
    margin: 2px 12px 0px 12px;
    line-height: 130%;
    clear: both;
}
dd.value {
    margin: 0px 12px 0px 120px;
    font-size: 90%;
    line-height: 130%;
    clear: both;
}
.value:not(:last-child) {
    margin-bottom: 0px;
}
a:link
{
	color: #000000;
	text-decoration: underline;
}
a:visited
{
	color: #000000;
	text-decoration: underline;
}
a:hover
{
	color: #d00;
/*	font-weight: bold;*/
	text-decoration: underline;
}
a:active
{
	color: #d00;
	text-decoration: underline;
}
img
{
	border: none;
}

#overlay-buttons {
    display: flex;
    margin-top: 8px;
    margin-right: 8px;
}
.gm-style label.ui-button {
    font-size: 13px;
    width: 156px;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #000;
    background: #fff;
    font-weight: bold;
    color: #000;
}
#iv {
     visibility: hidden;
}
.resource.show h3 {
    display: none;
}
input, textarea, button, .button, select {
    font-size: 15px;
    line-height: 20px;
}
nav.pagination
 {
    font-size: 15px;
    line-height: 35px;
}
.pagination form, .pagination .button, .pagination button, .pagination .page-count {
    height: unset;
}
#linked-resources caption {
    line-height: 130%;
}
#linked-resources .resource-name {
    font-size: 90%;
    line-height: 130%;
}
.property .value a {
    display: inline-flex;
    align-items: center;
}
nav.pagination {
    margin-bottom: unset;
}
.sorting button {
    padding: 9.75px;
}
ul.resource-list .resource:first-child {
    padding-top: 4px;
}
ul.resource-list .resource {
    padding-bottom: 4px;
    margin: 8px 0;
 }
.ontology-tree {
    padding-top: 16px;
    padding-bottom: 16px;
    margin-bottom: 0;
}
.block.block-ontologyTreeMenu {
    background: unset;
}
.ui-menu {
    background: tranceparent;
}
.ui-menu .ui-menu-item-wrapper {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 20px;
    color: #d00;
    text-decoration: none;
    line-height: 1.5;
    font-family: 'Calibri', sans-serif;
    font-size: 14px;
    font-weight: normal;
}
.ui-menu .ui-state-active {
    margin: 0;
}
.ui-state-active.ui-menu-item-wrapper {
    background: unset;
    border: unset;
}
.ui-menu .ui-icon {
    background-image: url(../modules/Bam3DCG/asset/images/menuitem_submenuindicator_rouge.png);
    background-position: 4px 5px;
}
.ontology-menu-container .ui-widget-content {
    background: rgba(253, 234, 218, 0.7);

}
li.ui-menu-item:has(> a.ui-state-active) {
    background-color: #b5b4d3;
}
:root {
    --header-height: 130px;
    --footer-height: 120px;
}
html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;   /* 画面全体はスクロールしない */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--footer-height);
    z-index: 1000;
}

#content {
    position: fixed;
    top: var(--header-height);
    bottom: var(--footer-height);
    left: 0;
    right: 0;

    overflow-y: auto;   /* contentだけスクロール */
    height: calc(100vh - var(--header-height) - var(--footer-height) - 20px);
    padding: unset;
    margin: 0 60px;
    max-width: unset;
}
#content .block.block-pageTitle,
#content > h2:first-child {
    position: sticky;
    top: 0;
    z-index: 10;
    margin: 0.83em 0;
}
.site-page-pagination {
    display: none;
}
.blocks:has(.block.block-ontologyTreeMenu) {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blocks-inner:has(#mapArea)
{
    height: 100%;
}
.block-bamMap {
    height: calc(100% - 62px);
}
.blocks:has(#mapArea)
{
    height: calc(100% - 24px);
}
#navigationArea {
    margin-left: auto;
    margin-right: auto;
}
#helpLink {
    display: block;
    background: url(../modules/Bam3DCG/asset/images/help.gif) left top no-repeat;
    width: 34px;
    height: 34px;
    float: left;
}
#mapLink {
    display: block;
    background: url(../modules/Bam3DCG/asset/images/Drawing4-1.jpg) left top no-repeat;
    width: 75px;
    height: 75px;
    float: right;
    margin: 0px 0px 0px 0px;
}
.site-page-bam-map #mapLink {
   background: url(../modules/Bam3DCG/asset/images/Drawing4-2.jpg) left top no-repeat;
}
#mapLink.sugest {
   background: url(../modules/Bam3DCG/asset/images/Drawing4-2.jpg) left top no-repeat;
}
a:hover#mapLink {
    background: url(../modules/Bam3DCG/asset/images/Drawing4-2.jpg) left top no-repeat;
}
#taxonomyLink {
    display: block;
    background: url(../modules/Bam3DCG/asset/images/Drawing5-1.jpg) left top no-repeat;
    width: 75px;
    height: 75px;
    float: right;
    margin: 0px 18px 0px 0px;
}
.site-page-taxonomy #taxonomyLink {
    background: url(../modules/Bam3DCG/asset/images/Drawing5-2.jpg) left top no-repeat;
}
a:hover#taxonomyLink {
    background: url(../modules/Bam3DCG/asset/images/Drawing5-2.jpg) left top no-repeat;
}
#search {
    margin-right: 18px;
    border: 0px;
    background: white;
    height: 26px;
    font-family: 'Calibri', sans-serif;
    font-size: 16px;
    float: left;
        width: unset;
        position: unset;
        margin-top: unset;
        text-align: unset;
        left: unset;
        transform: unset;
    }

#search form {
        display: inline-flex;
        padding: unset;
        border-left: unset;
        border-right: unset;
}

.float-clear {
    clear: both;
}
.copyright {
    font-family: 'Calibri', sans-serif;
    font-weight: bold;
    line-height: 11px;
    width: 600px;
    margin-top: -10px;
    float: left;
}
#ontology-header {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
}
.ontology-header-image {
    cursor: pointer;
}
.jstree-proton {
    background-color: transparent;
    font-family: 'Calibri', sans-serif;
    font-size: 14px;
    color: #d00;
}
.jstree-proton li {
    font-size: 100%;
    font-weight: normal;
}
.jstree-proton .jstree-disabled {
    background: transparent;
    color: #d00;
    cursor: default;
}
.jstree-proton .jstree-disabled.jstree-hover {
    color: #d00;
}
.ui-dialog {
    z-index: 1001;
}
.ui-dialog .ui-widget-header {
    border: none;
    background: unset;
    color: #d00;
    font-weight: bold;
    font-family: 'Calibri', sans-serif;
    font-size: 20px;
}
.ui-dialog .ui-dialog-titlebar {
    padding: 0 15.2px;
}
.ui-dialog .ui-dialog-content {
    padding: 0 15.2px;
}
.ui-dialog.ui-widget-content {
    background: rgba(253, 234, 219, 0.85);
}
#bam-header {
  display: flex;
  justify-content: space-between;
    padding: 38px  60px 0px;
}
h1.site-title {
    margin: 0;
    padding: 0;
}
.page-layout-normal .block {
    margin: 0;
}
footer {
    max-width: unset;
}
.site-page-welcome #ontology-header {
    display: none;
}
#skipnav, #top-nav {
    display: none;
}
.ontology-root.active .ontology-root-label {
    color: #d00;
}
.ontology-tree li.active a {
    color: #d00;
    font-weight: bold;
}
.advanced-search {
    display: none;
}
.media-parent-item {
    background: rgba(253, 234, 219, 0.85);
    padding: 12px;
}
#search form input[type=text] {
    width: 100%;
    height: 30px;
        font-size: 15px;
        line-height: 30px;
}
#search form button[type=submit] {
    height: 30px;
    width: 45px;
    text-indent: -9999px;
    position: relative;
    border-radius: 0 3px 3px 0;
    padding: 0;
}
#search form button[type=submit]:before {
    line-height: 30px;
}