body { 
    /* prevents drag and select*/
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;

    -webkit-touch-callout: none; 
    -webkit-user-drag: none;

    /* prevents pinch zoom, double tap zoom*/
    touch-action: none; 
}

button:focus {
    outline:none;
}   

/* to solve performance issues on iPad */

.openseadragon-canvas:focus {
    outline: none;
}

.abdo-osd-container {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.abdo-overlay {
    z-index: 10;
    will-change: auto;
    cursor: pointer;
    touch-action: manipulation;
}

.language-overlay {
    z-index: 10;
}

.abdo-osd-control {
    z-index: 20;
}

.abdo-osd-slider {
    z-index: 30;
}

.abdo-osd-alert {
    z-index: 50;
}



/*style=   "*/
.rotation-slider {
    height: 60%;
    margin: 10px;
    position: fixed;
    top: 10%;
    left: 0px; 
    z-index: 20; 
    background-color:rgba(255,255,255,0.4);
}

/* OSD Navigator on top */
.navigator {
    z-index: 20;
}

/* 言語切り替えのボタン */
.flag {
    display: inline-block !important;
    height: 3vmax;
    width: auto; 
}
.flag + span {
    word-break: keep-all;
}

/*　パソコンやタブレットで見るとフォントを小さくする */
@media only screen and (min-width: 768px) {
    .flag {
        height: calc(3 * (1vh + 1vw - 1vmin));
        margin-left: 5px;
        margin-right: 5px;
    }
}

.carousel-button {
    margin-left: 5px;
    margin-right: 5px;
    line-height: 1.01;
}

.transition { 
    transition: .2s;
}













/* ■■■ボタンデザイン：丸の押し込みボタン■■■ */
.btn_style_1 {
	background-color: #fbeee0;
	border: 2px solid #422800;
	border-radius: 30px;
	box-shadow: #422800 4px 4px 0 0, 5px 10px 10px -3px hsl(200 50% 20% / 70%);
	color: #422800;
	cursor: pointer;
	display: inline-block;
	font-weight: 600;
	font-size: 18px;
	padding: 5px 5px;
	line-height: 18px;
	text-align: center;
	text-decoration: none;
	user-select: none;
	-webkit-user-select: none;
	touch-action: manipulation;
margin: 0.2em;
transform: translate(-3px, 0px);
}
.btn_style_1:hover {
	background-color: #ffff66;
	box-shadow: #422800 4px 4px 0 0, 5px 10px 10px -3px hsl(200 50% 20% / 70%), #e5e55b 0px 0px 0px 7px inset;
}

.btn_style_1:active {
	box-shadow: #422800 1px 1px 0 0;
	transform: translate(0px, 3px);
}
@media (min-width: 768px) {
	.btn_style_1 {
	min-width: 120px;
	padding: 5px 25px;
	}
}














/* ボタンのオーバーレイの位置とサイズ*/
.buttons-overlay {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position:fixed; 
    bottom:4px; 
    right:0px; 
    text-align: right; 
    font-size: 2.2vmax;
    pointer-events: none;
    z-index:20;
    display:flex;
    flex-direction: column;
}

.buttons-overlay :not(div) {
    pointer-events: auto;
}

/*　タブレットなどで見るとフォントを小さくする */
@media only screen and (min-width: 768px) { 
    .buttons-overlay {
        font-size: calc(1.4 * (1vw + 1vh - 1vmin));
    }
}

@media only screen and (min-width: 1200px) { 
    .buttons-overlay {
        font-size: calc(1.0 * (1vw + 1vh - 1vmin));
    }
}

.buttons-container {
    padding-top: 5px;
}

.jump_swipe {
    display: none;

    position: fixed;

    width: 100%; 
    bottom: 0;
    left: 0;

    background-color: rgba(255, 255, 255, 0.5);
    overflow:hidden;
} 

/***************************************/
/*      slickのデザインの変更          　*/
/***************************************/
.slick-track {
    display: flex!important;
    flex-direction: row!important;
    align-items: stretch!important;
}

.slick-vertical .slick-track {
    flex-direction: column!important;
}

.slick-slide {
    min-height: 50px!important;
    height:auto!important;
}

/***************************************/
/* オーバーレイボタンのモーダルダイアログ */
/***************************************/
.buttons-container-flex {
    display: flex;
    overflow-x: auto;
    overflow-y: auto;
    flex-wrap: wrap;
    flex-direction: row;
    touch-action: pan-x pan-y;
    justify-content: space-evenly;
}

/* @media only screen and (orientation: portrait) {
    .buttons-container-flex {
        flex-direction: column;
    }

    .buttons-overlay .d-flex {
        flex-direction: column;
        align-content: flex-end;
    }
}

@media only screen and (orientation: landscape) {
    .buttons-container-flex {
        flex-direction: row;
    }

    .buttons-overlay .d-flex {
        flex-direction: row;
    }
} */


 
.buttons-container-flex > * {
    flex-grow: 1;
    /*flex-basis: calc(2 * (1vh + 1vw - 1vmin)); /* vmax units */
    /* flex-basis: min-content; */
}

.backdrop-blur { 
    backdrop-filter: blur(5px);
}

.transparent {
    background-color: rgba(0,0,0,0.6);
    color: white;
} 

.transparent button.close {
    color: white;
    text-shadow: 0 1px black;
    opacity: 0.7;
} 

.buttons-modal .modal-content {
    width: 100%;
    height: 50%;
    top: 50%;
    transform: translateY(-50%);
    touch-action: pan-y;
}

/*　タブレットなどで見るとフォントを小さくする */
@media only screen and (min-width: 768px) { 
    .buttons-modal .modal-content {
        width: 90vmin;
        height: 90vmin; 
        margin-left: auto;
        margin-right: auto;
    }
}

.btn-show-translation:hover {
    cursor: pointer;
    transform: scale(1.05,1.05);
    box-shadow: 0px 0px 8px 2px rgba(255,255,255,0.8) , 0px 0px 10px 5px rgba(0,0,0,0.3);
}

.btn-overlay {
    touch-action: manipulation; /* enable scroll with touchcreen */
}

.slick-prev, .slick-next {
    bottom: 0% !important;
}

.buttons-container-flex > a {
    display: contents;
}

/* if button inside an A tag */ 
a > .btn_style_org {
    width: 95%;
    height: 95%;
}

.screen-message {
    left: 5px;
    top: 5px;
    margin: 0;
    padding: 0;
    font-size: large;
    color:white;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
    pointer-events: none;
    position: fixed;
}