/*div要素全体にリンクをつけるために必要な要素*/
.col-md-3{
    max-width: 20%;
    flex: 0 0 20%;
}
.col-md-9{
    max-width: 80%;
    flex: 0 0 80%;
}

@media screen and (min-width:580px){
.windowSizeMessage {
    display: none;
}

}
@media screen and (max-width:579px){
.windowSizeMessage {
    display: block;
    padding: 0px 75px;
    margin: 0px 15px;
    color: #8B4513;
    background-color: #FFF8DC;
}
#area_show {
    display: none;
}
}

#search_box{
    width: 100%;
    margin: 8px;
}

@media screen and (min-width:768px){
#area_search {
	width:100%;
    height:100vh;
    overflow-y: auto;
    display: none;;
}
}
@media screen and (max-width:767px){
#area_search {
	width:auto;
	height:auto;
    max-width:100%;
    overflow: visible;
}

.linkbox{
    display: inline-block;
}
}
@media screen and (min-width:768px){
#side_menu{
    border-right: solid 0.5px gray;
    padding-right: 15px;
    overflow-x: hidden;
    height: 100vh;
    text-align:center;
}

#side_menu img{
    position: relative;
    left:  0%;
    width: 100%;
    padding: 2px;
    max-width: 250px;
    margin: 2px 2px 10px 2px !important;
}

#search_box{
    width: 90%;
    height: 2rem;
    margin: auto;
    margin-bottom: 2rem;
    padding-right: 15px;
}

#searchClose {
	font-size: 1rem !important;
}

.under {
  border-bottom: dashed 1px;
}

.contents_links{
    display: block;
    width: 90%;
    margin-bottom: 3vh;
}
.bookbox{
    max-width: 250px;
    margin: 2px auto !important;
}
/* sidemenu縮小用css */
#side_menu{
    position: relative;
    
}
.arrow{
    position: relative;
    display: inline-block;
    padding: 0 0 0 16px;
    color: #000;
    vertical-align: middle;
    text-decoration: none;
    font-size: 15px;
}
.arrow::before,
.arrow::after{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}
.arrow:hover{
    cursor: pointer;
}

.arrowL{
    position: absolute;
    top: 25px;
    left: 5px;
    z-index: 99;
}

.arrowR{
    position: absolute;
    top: 25px;
    left: 5px;
    z-index: 99;
}

.arrowL::before{
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    border: 1px solid #808080;
    background-color: #d3d3d3;
    -webkit-border-radius: 25%;
    border-radius: 25%;
}

.arrowL::after{
    left: 11px;
    width: 12px;
    height: 12px;
    border-top: 4px solid #f8f8ff;
    border-right: 4px solid #f8f8ff;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
}

.arrowR::before{
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    border: 1px solid #808080;
    background-color: #d3d3d3;
    -webkit-border-radius: 25%;
    border-radius: 25%;
}

.arrowR::after{
    left: 8px;
    width: 12px;
    height: 12px;
    border-top: 4px solid #f8f8ff;
    border-right: 4px solid #f8f8ff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* 縮小ここまで */
}

.headicon{
    width: 140px;
    margin:2vh 1vw;
}

#searchWordImg{
    margin-top: 5px;
    margin-left: 1vw;
}

.bookbox,.linkbox,.savebox,.delbox,.addbox,.pageEdit {
    position: relative;
    left:  0%;
    width: 100%;
    text-align: center;
    margin: 5px 0px;
    padding: 2px;
}



.linkbox a {
    position: absolute;
    top: 0;
    left: 0;
    height:100%;
    width: 100%;
}
.bookbox a {
position: absolute;
    top: 0;
    left: 0;
    height:100%;
    width: 100%;
}

/* 以下見た目をわかりやすくするための設定*/
.linkbox,.savebox,.delbox,.addbox,.pageEdit {
    border: solid 2px #000000;
    background-color: #FFFFFF;
    white-space: nowrap;
}
.bookbox {
	 border: solid 2px #000000;
    background-color: #FFFFFF;
    
}

.bookbox:hover,.linkbox:hover,.savebox:hover,.delbox:hover,.addbox:hover,.pageEdit:hover {/* マウスオーバー時に色変更*/
    background-color: #EEEEEE;
}
.bookbox:hover,.linkbox:hover,.savebox:hover,.delbox:hover,.addbox:hover{
    cursor: pointer;
}
.selected{
    background-color: #EEEEEE;
}

#area_show {
	width:auto;
    height:auto;
    max-width:100%;
    max-height:90vh;
}

#area_showIE {
	-webkit-writing-mode: vertical-rl;
  	-ms-writing-mode: tb-rl;
  	-o-writing-mode: vertical-rl;
  	writing-mode: vertical-rl;
	/*text-align: right;*/
    text-orientation: upright;
    line-height: normal;
    overflow-x: scroll;
    height:85vh;
    font-size: 10pt;
  	font-family: "游明朝", "YuMincho", serif;
}


#iframeBody{
	position:relative;
    width:100%;
    height:0;
    padding-top:90vh;
    
    
}

#iframeBody iframe{
    	position:absolute;
    	top:0;
    	left:0;
        border:none;
        width:100%;
        height:100%;
        padding:0;
        margin:0;
        max-width:100%;
        //max-height:90vh;
    }

#area_img {
	height:100%;
	text-align:center;
	margin: auto;
}

#area_img img {
    width:auto;
    height:auto;
    max-width:100%;
    max-height:85vh;
    /*margin-left:20px;*/
}

#pgValue {
    text-align: center;
    margin-top:5px;
    
}

#pgNum-edit {
	width: 50px;
}

/* スライドバー設定 */
#wkSlider {
            height: 20px;
            margin-top:7px;
        }
        
#wkSlider .ui-slider-handle {
			width:25px;
			height:25px;
			margin-top:2px;
		}

.searchLink{
    padding-bottom: 15px;
}

#searchWord {
	width: 100%;
}
.searchWord {
	margin-top:7px;
}

table .edit{
	border-collapse:  collapse;
	
	td,th{
		border: solid 1px;  /* 枠線指定 */
    	padding: 3px;      /* 余白指定 */
    }
}
.edit td{
	border: solid 1px;  /* 枠線指定 */
    padding: 3px;      /* 余白指定 */
}

.textof {
	/*height: 50px;*/
	/** 3行以上で省略 */
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

textarea {
	writing-mode: vertical-rl;
    text-orientation: upright;
	width: 100%;
	height: 500px;
}

#options{
  text-align: center;
  border-collapse: separate;
  border-spacing: 0 5px;
  border: 0;
}

.paging, .fontupdown{
	height: 16px;
	margin-top: 7px;
}
.mrl10{
	margin-left:10px;
	margin-top:5px;
}

#area_paging{
	vertical-align: middle;
	margin: auto;
	background-color: black;
	height:30px;
}