
body{
    margin:0;
    top: 0rem;
    font-size: 0.9rem;
}

svg{
    width:38rem;
}

img.pic{
    //max-width:58rem;
}

img.md{
    max-width: 38rem;
    margin: auto;
    display: block;
    max-height: 24rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    /* float: left; */
}

a.link{
    color: blue;
}

p{
    line-height: 1.8rem;
    white-space: pre;
    margin: 1rem;
    /* word-break: break-all; */
    /* overflow-wrap: break-word; *//* word-wrap: break-word; */
}

.text{
    line-height: 1.3rem;
    /* white-space: pre; */
    margin: 0.7rem;
    font-size: 0.7rem;
    /* word-break: break-all; */
    /* overflow-wrap: break-word; */
}



#catalog{
    width: 16rem;
    max-height: 80vh;
    /* float: left; */
    margin-top: 0rem;
    padding: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 0.7rem;
    position: fixed;
    right: 0;
    top: 0;
}

.catalog{
    display: block;
}

.mermaid{
    margin-left:auto;
    margin-right:auto;
    max-width: 38rem;
}

#title{
    float: left;
    width:54rem;
    height: 2rem;
}
#result{
    float:left;
    width: 54rem;
    /* margin-left: 2rem; */
    /* margin-right:auto; */
    margin-top:1rem;
    /* margin-bottom:2rem; */
    /* background-color: aliceblue; */
}


.folder:hover{
    cursor: pointer;
}

.folder,.file{
    position:relative;
    left:1rem;
    cursor: pointer;
}
.file:hover{
    cursor: pointer;
}
.edit{
    width: 10rem;
    position: absolute;
    right:2rem;
    top:2rem;
}
iframe{
    display: block;
    /* float:left; */
    height: 121vh;
    overflow: auto;
    border:none;
}

h1,h2,h3,h4,h5{
    margin-top:2rem;
}
hr{
    margin-top:0;
    margin-bottom: 1rem;
    /* background-color: #5a2626; */
    /* border-color: #171717; */
    /* color: red; */
}
li{
    margin-bottom: 0.9rem;
    /* word-break: break-all; */
    /* overflow-wrap: break-word; */
    /* width: inherit; */
    /* word-break: break-word; */
}
p,li{
    font-size:0.8rem;
    line-height: 1.4rem;
}

@media only screen and (orientation: landscape) {
    iframe{width: 59rem;margin-left: 20rem;}
    #content{
        /* display:none; */
        /* white-space:pre; */
        margin-left: 23rem;
        width: 38rem;
        /* padding-top: 2rem; */
        overflow: visible;
    }
    #categorys{
        width: 20rem;
        max-height: 88vh;
        float:left;
        /* margin-top: 2rem; */
        /* padding: 1rem; */
        overflow-x: hidden;
        overflow-y: auto;
        font-size: 0.6rem;
        /* background-color: #f9f9f9; */
        position: fixed;
        /* display: none; */
    }
}
@media only screen and (orientation: portrait) {
    iframe{
        width:100%;
        height:300vh;
    }
    #categorys{
        display: none;
    }
}


table.mdtable {
    font-size: 0.6rem;
    margin-top: 1rem;
    border-collapse:collapse;
    border: 0.01rem solid #aaa;
    margin-left: auto;
    margin-right: auto;
    min-width: 40%;
    /* width: 80%; */
    /* line-height: 1rem; */
    margin-bottom: 2rem;
    margin-top: 2rem;
 }
table.mdtable th {
	vertical-align:baseline;
	padding:10px 10px 10px 10px;
	background-color: #e8e8e8;
	border: 1px solid #b5b5b5;
	text-align:left;
	font-weight: 550;
	/* color:#fff; */
	}

table.mdtable td {
	vertical-align:text-top;
	padding: 0.4rem;
	border:1px solid #aaa;
	}

table.mdtable tr:nth-child(odd) {
	background-color:#F5F5F5;
}

table.mdtable tr:nth-child(even) {
	background-color:#fff;
}

table.mdtable pre {
	width:auto;
	margin:0;
	padding:0;
	border:0;
	background-color:transparent;
	}

table.mdtable p {margin:0 0 2px 0;}