html {
    scrollbar-gutter: stable;
}
.main{
    padding: 8px 8px 0px 8px;
}
#json-container{
    margin-bottom: 40px;
}
.json-tools{
    position: fixed;
    margin: 0 auto;
    width: 100%;
    max-width: 768px;
    left:0;
    right: 0;
    bottom: 0;
    border:1px solid #e5e7eb;
    border-bottom: none;
    background-color: #fff;
    border-radius:16px 16px 0px 0px;
    box-shadow:0 6px 25px -6px #c1c1c1;
}
.json-tools-1{
    font-size: 18px;
    padding: 8px 20px 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.json-tools-1>div:nth-child(1){
    display: flex;
    align-items: center;
}
.json-tools-1>div:nth-child(1)>span{
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}
.json-tools-1>div:nth-child(1)>i{
    font-size: 25px;
    color: #66d;
    padding-right: 5px;
    height: 27px;
    width: 25px;
}
.json-tools-3{
    display: flex;
}
.json-tools-3>div:nth-child(1){
    flex:1;
    overflow: hidden;
    padding:0px 0px 0px 20px;
}
#json-tools-str{
    width:100%;
    height: 140px;
    resize: vertical;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    box-sizing:border-box;
    padding:5px;
    font-family:'JetBrains Mono','Courier New',monospace;
}
#json-tools-str:focus{
    border: 1px solid #66d;
}
.json-tools-3>div:nth-child(2){
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    padding: 0px 20px 0px 10px;
}
.json-tools-3>div:nth-child(2)>.layui-btn{
    margin-left: 0;
    margin-bottom: 6px;
}
.json-tools-4{
    display: flex;
    padding: 2px 20px 0;
    flex-wrap: wrap;
    justify-content:flex-start;
}
.json-tools-4>li>.layui-btn>i{
    min-width: 16px;
    min-height: 16px;
    display: inline-block;
}
.json-tools-4>li{
    margin-bottom: 5px;
    margin-right: 5px;
}
.json-tools-err{
    font-family: "JetBrains Mono","Courier New",monospace;
    font-size: 13px;
    letter-spacing: -1px;
    padding: 0 20px;
    min-height:18px;
    color: #ed2655;
    margin-bottom:-3px;
}
.json-tools-show{
    cursor: pointer;
    color: #66d;
}
.json-tools-show:hover{
    font-weight: bold;
}
#json-tools-size{
    font-size: 12px;
    padding: 7px 0 0 10px;
    color: #293;
}
#json-tools-size>i{
    font-family: "JetBrains Mono","Courier New",monospace;
    font-style:normal;
    padding-right: 10px;
}
.json-drag-file{
    display:none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.dragover>.json-drag-file{
    display: flex;
    border: 2px dashed #2196F3;
    background-color: #f0f8ff;
    z-index: 1;
}
.json-drag-file>span{
    color: #61a6dd;
    font-size: 16px;
    padding: 5px;
}
.json-tools-tabs{
    padding-left:5px;
    display: flex;
    align-items: center;
}
.json-tools-tabs>a{
    color:#66d;
}
@media screen and (max-width:600px) {
    .json-tools-1{
        font-size: 14px;
    }
    .json-tools-1 > div:nth-child(1) > i{
        font-size: 20px;
        height: 23px;
        padding-right: 0;
    }
    #json-tools-size{
        padding: 0px 0 0 10px;
    }
}