@charset "utf-8";

body.mobile {
	/*font-size: 2em;*/
}

body.mobile .detailheader {
	display: none;
}

body.mobile .toctabcontainer {
	width: 100%;
}

body.mobile .toctab {
	width: 33% !important;
	height: 40px;
	line-height: 40px;
}

body.mobile .toctab a {
	height: 40px;
	line-height: 40px;
	background-position: -32px 11px;
}

body.mobile .toctabopened a {
	background-position: 0 -21px;
}

body.mobile .childpaincontents {
	margin: 45px 0 8px 0;
}

body.mobile .detail-viewport {
	min-width: 360px !important;
}

body.mobile .normalview {
	margin: 0;
}

body.mobile .detailviewport {
	min-height: auto;
}

body.mobile .message-box-wrapper {
	margin: 50px auto 0;
	width: 340px;
}

body.mobile .aboutdatabox h2 {
	padding: 0;
}

body.mobile .aboutdatabox {
	padding: 0;
	margin: 0 0 0 auto;
}

body.mobile .searchotherdata {
	float: none;
	display: flex;
	justify-content: flex-end;
	padding: 0;
	margin: 2px 0;
}

body.mobile .searchotherdata a {
	height: auto;
	display: flex;
	align-items: center;
	white-space: normal;
	margin: 1px 3px;
	word-break: break-word;
}

body.mobile .searchotherdata a span {
	height: auto;
	text-align: center;
}

body.mobile .searchotherdata a .previewicon, body.mobile .searchotherdata a .nexticon {
	height: 16px;
	min-width: 16px;
}

body.mobile .tocbox {
	width: 100% !important;
	height: auto !important;
	min-height: 400px;
}

body.mobile .tocdisclosure {
	width: 100%;
	height: 40px;
	background-image: url(images/detailheader-bg.jpg);
}

body.mobile .tocboxclose {
	display: none;
}
body.mobile .tocboxinner {
	margin-right: 0;
}

body.mobile .detailcontrolbox {
	padding: 0;
}

body.mobile .ui-resizable-e {
	display: none !important;
}

body.mobile #image-viewer {
	width: 100% !important;
}

body.mobile #image-viewer-canvas {
	width: 100% !important;
}

body.mobile #searchBox {
	width: auto;
}

body.mobile #searchBox #searchBtn {
	width: 35px;
	background: url(./images/bt_search_s_off.jpg) left top no-repeat;
}
body.mobile #searchBox .hover #searchBtn{
	background: url(./images/bt_search_s_on.jpg) left top no-repeat;
}

body.mobile #searchBox #searchInput {
	width: 50vw;
	min-width: 220px;
}

body.mobile #GlobalNaviArea {
	padding-top: 15px;
}

body.mobile #GlobalNaviAreaWrap {
	height: 110px;
}

body.mobile #GlobalNaviArea .compoundsearch {
	display: block;
}

body.mobile #GlobalNaviArea .compoundsearch1Line {
	display: block;
	text-align: right;
	width: 50vw;
	min-width: 220px;
	margin: 5px auto 0;
}

body.mobile #GlobalNaviArea .checkboxWrap1Line {
	width: 270px;
	text-align: left;
}


@media (max-width: 480px) {
	body.mobile #GlobalNaviAreaWrap {
		height: 150px;
	}
	body.mobile #GlobalNaviArea #checkbox1Line_0,
	body.mobile #GlobalNaviArea #checkbox1Line_2, 
	body.mobile #GlobalNaviArea #checkbox1Line_3 {
		display: block;
	}
}

body.mobile .detailoperation {
	margin: 0;
	height: 50px;
}

body.mobile #btn-show-url-wrapper,
body.mobile #btn-full,
body.mobile #btn-overview,
body.mobile #btn-zoomout,
body.mobile #btn-zoomin,
body.mobile .zoomslider-center,
body.mobile #btn-toggle-arrange {
	display: none !important;
}
body.mobile #btn-scrollTop {
	width: 40px;
	height: 40px;
	background-color: #fff;
	background-image: url(./images/ico_scroll_top.png);
	background-size: 40px 40px;
	opacity: 0.7;
	border: solid 3px #888;
	border-radius: 10px;
	cursor: pointer;
	z-index: 100;
}

body.mobile .minibutton {
	margin-left: 0;
	margin-right: 0;
}
body.mobile #btn-fit,
body.mobile #btn-adjust {
	margin-left: 5px;
}

body.mobile #form-page-control-selection .mb-selectpage {
	margin-left: 5px !important;
}
body.mobile #form-page-control-selection .mb-pageindex {
	margin-right: 5px;
}

body.mobile #form-thumbnaillist-control {
}

body.mobile .thumbnailtableWrapper {
	overflow-x: auto;
}

body.mobile .header {
	height: 5em;
	background-image: none;
	display: none;
}

body.mobile .header a {
	display: none;
}

body.mobile div.header div.utilmenu {
	height: 100%;
	float: right;
    text-align: right;
}

body.mobile .apptitle {
	width: 110px;
	height: 100%;
	background-image: url(images/ap-logo-s.png);
	float: left;
}

body.mobile .lang-selector {
	display: block;
	width: 15em;
}

body.mobile .footer {
    display: -webkit-flex; /* safari */
    display:flex;
	-webkit-flex-wrap: nowrap; /* safari */
	flex-wrap: wrap;
	padding: 0 24px;
	height: 60px;
}

body.mobile .footer p {
	margin: 0;
}

body.mobile .footer p.footerleft {
	flex: 100%;
}

body.mobile .footer p.footerright {
	flex: 100%;
	text-align: left;
}

body.mobile .footer p.footercenter {
	flex: 100%;
}

body.mobile #content-control-container {
	height: 0;
	width: 100%;
}

body.mobile #GlobalNaviAreaWrap.searchheader {
	display: none !important;
}
body.mobile .detailheader .backtoresult {
	display: none;
}
body.mobile .detailheader .detailtitlebox {
	flex-direction: column-reverse;
}

body.mobile .toggle_search_header,
body.mobile #btn-search
{
	display: none;
}

body.mobile .mb-thumbnails {
	margin-left: 0;
}

body.mobile #img-prevpage-container,
body.mobile #img-nextpage-container {
	/*
	top: 0;
	width: 15vw;
	*/
	display: none;
}
/*
body.mobile #img-prevpage, 
body.mobile #img-nextpage {
	top: 0;
	height: 100%;
	width: 100%;
	margin: 0;
	background-color: transparent;
	background-image: none;
}
*/

body.mobile .detailoperation .minibuttonicon {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.mobile #image-control-other-navi {
	top: 0px;
}

body.mobile #image-control-other-navi-canvas .other-item {
    padding: 2px 0;
}

body.mobile .icon-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 2px;
	text-align: center;
}

body.mobile .icon-caption {
	line-height: 1em;
	font-size: 8pt;
	width: 38px;
}

body.mobile .btn-help-wrapper {
	right: 4px;
}

body.mobile #item-info .item-icon-iiif {
	height: 20px;
}

body.mobile .other-content-container-wrapper {
	 min-width: 360px;
}
body.mobile .other-content-container {
	 margin: 10px 5px;
}
body.mobile #other-content-container thead {
	 white-space: nowrap;
}
body.mobile #other-content-container .file-download-link {
	word-break: break-word;
}

body.mobile .otherdata-wrapper {
	 min-width: 360px;
}
body.mobile .otherdata {
	 margin: 10px 5px;
}
body.mobile .otherdata-wrapper thead {
	 white-space: nowrap;
}
body.mobile .otherdata td {
	word-break: break-word;
}
body.mobile .otherdata-wrapper .aternativeItemIdx {
	 white-space: nowrap;
}
body.mobile .otherdata-wrapper .file-download-link {
	word-break: break-word;
}

body.mobile .ocrdata-wrapper {
	 min-width: 360px;
}
body.mobile .ocrdata {
	 margin: 10px 5px;
}
body.mobile .ocrdata-wrapper thead {
	white-space: nowrap;
}

body.mobile .mb-selectpage label {
	display: none;
}
