* {
    outline: 0;
    box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
    font-family: "Microsoft YaHei", "微软雅黑", "Arial", "SimHei", "黑体", sans-serif;
}

.html,
body {
    margin: 0;
    width: 100%;
}

:hover,
:focus {
    transition: background .3s;
}

::selection {
    color: #fff;
    background: #77c;
}

.main {
    padding: 5px 2%;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1100px;
}

#title {
    user-select: none;
}

#title-text {
    font-size: 32px;
    font-weight: 700;
    margin: 2px 0;
}

#time-text {
    color: #888;
    font-size: 14px;
	font-weight: 600;
    line-height: 18px;
    margin: 2px 0;
}

#dot {
    position: fixed;
    display: block;
    top: 1vw;
    right: 1vw;
    /* line-height: 18px; */
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #888;
    /* vertical-align: center; */
}

#form {
    margin: 0;
}

#note {
    width: 100%;
    min-height: 20px;
    /* line-height: 26px; */
    margin: 5px 0 45px 0;
    padding: 0px 5px;
    outline: none;
    color: #333;
    border: 0 solid #fff;
    border-left: 1.8px solid #eee;
    font-size: 18px;
    transition: all .5s;
    caret-color: #77c;
    word-wrap: break-word;
    word-break: break-all;
    box-sizing: border-box;
}

#note:hover{
    color: #111;
}
#note:focus {
    color: #000;
    background: rgba(248,248,248);
}

#note * {
    max-width: 99.6% !important;
}

#note img {
    max-width: 99.6% !important;
    max-height: 80vh !important;
    /* margin: 3px 0; */
}

#note p {
    margin: 0;
}

#note a {
    color: #333;
    display: inline-block;
    /* background: rgba(250,250,250,.9); */
    text-decoration: underline;
    text-decoration-color: rgba(119, 119, 204, .5);
    margin: 0 2px 1px 0;
    padding: 1px;
}

#note a:hover,#note a:focus {
    color: #77c;
    background-color: #eeeeee;
    border-radius: 3px;
    /* border-bottom: 1px solid #77c; */
}

#note iframe {
    width: 76vw;
    height: 42.75vw;
    max-width: 99.6% !important;
    max-height: 495px;
    margin: 3px 0;
}

#note video {
    max-width: 99.6% !important;
}

.text-border {
    /* border: 1px solid #eee !important; */
    border-left: 1.8px solid #77c !important;
}

.control {
    width: 100%;
    padding: 5px;
    font-size: 0;
    left: 0;
    bottom: 0;
    /* background: rgba(0,0,0,0.1); */
    background: rgba(255, 255, 255, .9);
	backdrop-filter: saturate(120%) blur(10px);
	box-shadow: 0 0 12px rgba(100,100,100,.3);
	text-align: center;
    user-select: none;
    position: fixed;
    /* border-radius: 5px; */
}

.btn {
    color: #555;
    /* background: rgba(100, 100, 100, .2); */
    background: #fff;
    width: 60px;
    height: 30px;
    border: 1.8px solid #555;
    box-shadow: 0 0 5px rgba(100, 100, 100, .2);
    font-size: 15px;
    font-weight: 700;
    border-radius: 15px;
    margin-right: 3px;
    text-align: center;
    box-sizing: border-box;
    vertical-align: top;
    cursor: pointer;
    user-select: none;
}

.btn:hover,.btn:focus {
    color: #77c;
    border: 1.8px solid #77c;
	background: #fff;
    /* background: rgba(100, 100, 100, .2); */
    outline: none;
}

.btn:active {
    color: #fff;
    border: 1.8px solid #77c;
    background: #77c;
    outline: none;
}

.btn-submit {
    width: 92px;
    margin: 0;
}

#editbox {
    display: inline-block;
}

#editHTML {
    display: none;
    -webkit-appearance: none;
}

.icon-editHTML {
    width: 30px;
    height: 30px;
    border: 1.8px solid #555;
    background: #fff;
    border-radius: 15px;
    outline: none;
    position: relative;
    margin: 0 3px 0 0;
    display: inline-block;
    box-sizing: border-box;
}

.icon-editHTML:after {
    color: #555;
    content: '\003C\002F\003E';
    position: absolute;
    font-size: 12px;
    font-weight: 700;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%);
}

.icon-editHTML:hover {
    border: 1.8px solid #77c;
}

.icon-editHTML:hover::after,.icon-editHTML:focus::after {
    color: #77c;
}

#editHTML:checked+.icon-editHTML {
    border: 1.8px solid #77c;
    background: #77c;
}

#editHTML:checked+.icon-editHTML::after {
    color: #fff;
}

.icon-add {
    border: 1.8px solid #555;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    color: #555;
    background: #fff;
    cursor: pointer;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
}

.icon-add::before,
.icon-add::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.icon-add::before {
    width: 12px;
    border-top: 1.8px solid;
}

.icon-add::after {
    height: 12px;
    border-left: 1.8px solid;
}

.icon-add:hover,.icon-add:focus {
    color: #77c;
    border: 1.8px solid #77c;
}

.icon-add:active {
    color: #fff;
    border: 1.8px solid #77c;
    background: #77c;
}

.tipbox {
    /* display: flex;
    justify-content: center;
    align-items: center;
    align-items: flex-start;
    flex-direction: column; */
    z-index: 1099;
    top: 0;
    left: 0;
    right: 0;
    margin: 10px auto;
    position: fixed;
    pointer-events: none;
    user-select: none;
}

.tip {
    color: #555;
    font-size: 14px;
    padding: 4px 10px;
    margin: 4px auto;
    text-align: center;
    background: rgba(255, 255, 255, .98);
    z-index: 1099;
    box-sizing: border-box;
    border: 0 solid #fff;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
    pointer-events: auto;
    transition: top .2s cubic-bezier(.2, .8, .3, 1);
    margin: 4px auto;
    display: table;
}

#mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .3);
    z-index: 1001;
    /* filter: blur(1px); */
}

.icon-close {
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
}

.icon-close:before,
.icon-close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 32px;
    width: 1.8px;
    background-color: #fff;
}

.icon-close:before {
    transform: rotate(45deg);
}

.icon-close:after {
    transform: rotate(-45deg);
}

.icon-close:hover::before,
.icon-close:hover::after {
    background-color: #77c;
}

#container {
    margin: 22vh auto;
    width: 86vw;
    height: 260px;
    /* height: 40vh; */
    max-width: 520px;
    background: rgba(255, 255, 255, 1);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

#tab {
    width: 100%;
    height: 46px;
    background: #eee;
    border-bottom: 1px solid #eee;
    border-radius: 8px 8px 0 0;
}

#tab li {
    color: #555;
    font-size: 15px;
    font-weight: 700;
    width: 33.33%;
    float: left;
    line-height: 46px;
    text-align: center;
    list-style: none;
    cursor: pointer;
    display: inline-block;
}

#tab li:hover {
    color: #77c;
}

#tab .on {
    color: #77c;
}

#tab-box {
    padding: 4px 4vw;
    position: relative;
}

.tab-con {
    display: none;
}

.group {
    margin: 12px 0 8px 0;
}

.group p {
    color: #555;
    margin: 6px 0;
}

.group input,
.group textarea {
    width: 100%;
    padding: 6px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

.group input {
    height: 34px;
    max-width: 100%;
}

.group input:focus,
.group textarea:focus {
    border: 1px solid #77c;
}

.group textarea {
    height: 105px;
    resize: none;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
.group textarea::-webkit-scrollbar {
    width: 4px;
    border-radius: 2px;
    /* background-color: #F5F5F5; */
}

/*定义滚动条轨道 内阴影+圆角*/
.group textarea::-webkit-scrollbar-track {
    border-radius: 2px;
    background-color: rgba(240, 240, 240, .3);
}

/*定义滑块 内阴影+圆角*/
.group textarea::-webkit-scrollbar-thumb {
    border-radius: 2px;
    /* box-shadow: inset 0 0 3px rgba(0,0,0,.3); */
    background-color: #77c;
}

.ins-submit {
    width: 100%;
    /* height: 100%; */
    /* bottom: 0; */
    padding: 6px 0;
    text-align: right;
    box-sizing: border-box;
}

.img-upload {
    padding: 1px 1.8px;
    height: 30px;
    max-width: 100%;
    position: relative;
    cursor: pointer;
    color: #666;
    background: #fafafa;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    display: inline-flex;
    align-items:center;
}

/* .img-upload  input {
    position: absolute;
    font-size: 100px;
    right: 0;
    top: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer
} */

.img-upload:hover {
    color: #333;
    background: #eee;
    border-color: #ccc;
}

#img-text{
    padding: 4px 10px;
}

#img-preview{
    max-width: 50%;
    max-height: 100%;
    border-radius: 2px;
    object-fit: cover;
}

#img-preview:hover{
    
}
