html {
    overflow-x: hidden;
    touch-action: pan-y; 
}
.mdiv{
    display: flex;
}

@import"https://fonts.googleapis.com/css2?family=Caveat&family=Noto+Sans+Mono&family=Noto+Serif&display=swap";
@import"https://cdn.jsdelivr.net/npm/misans@4.0.0/lib/Normal/MiSans-Medium.min.css";
@import"https://cdn.jsdelivr.net/npm/misans@4.0.0/lib/Normal/MiSans-Bold.min.css";
:root {
    --banner-scale: .8;
    --base-padding: 20px;
    --base-title-size: 18px;
    --base-text-size: 12px;
    --base-height: 39px;
    --base-margin: 6px;
    --font-size-small: .85;
    --font-size-normal: 1;
    --font-size-large: 1.15;
    --current-font-size: var(--font-size-normal);
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    --current-font-weight: var(--font-weight-bold);
    --font-family-default: system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    --font-family-misans: "MiSans", var(--font-family-default);
    --font-family-caveat: "Caveat", cursive;
    --font-family-helvetica: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-family-futura: Futura, "Trebuchet MS", Arial, sans-serif;
    --font-family-avenir: Avenir, "Avenir Next", "Segoe UI", sans-serif;
    --font-family-didot: Didot, "Bodoni MT", "Times New Roman", serif;
    --current-font-family: var(--font-family-default);
    --shuiyin-canshu:#444;
}

.mlf{
    padding:0.5rem;
}

.shuiyindiv{
    box-shadow: 0px 0px 15px #ccc;
}

.shuiyindiv img{
    width: 100%;
}

.shuiyin{
    padding: calc(var(--base-padding)* var(--banner-scale));
    display: flex;
    flex-direction: row;
    font-family: var(--current-font-family), system-ui;
    align-items: center;
    background-color: #fff;
}

.shuiyin-left{
    flex-grow: 1;
    width: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.shuiyin-left-a{
    font-weight: var(--current-font-weight);
    font-size: calc(var(--base-title-size)* var(--banner-scale)* var(--current-font-size));
    white-space: nowrap;
    color:var(--shuiyin-canshu);
}

.shuiyin-left-b{
    font-size: calc(var(--base-text-size)* var(--banner-scale)* var(--current-font-size));
    color: #aaa;
    white-space: nowrap;
    margin-top: 5px;
}

.shuiyin-left-c{
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.shuiyin-left-c img{
    height: calc(var(--base-height)* var(--banner-scale));
}

.shuiyin-splt{
    border-left: 2px solid #ddd;
    height: calc(var(--base-height)* var(--banner-scale));
    margin-top: calc(var(--base-margin)* var(--banner-scale));
    margin-right: 12px;
    margin-left: 12px;
}

.shuiyin-right{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.shuiyin-right-a{
    font-weight: var(--current-font-weight);
    font-size: calc(var(--base-title-size)* var(--banner-scale)* var(--current-font-size));
    white-space: nowrap;
    color:var(--shuiyin-canshu);
}

.shuiyin-right-b{
    font-size: calc(var(--base-text-size)* var(--banner-scale)* var(--current-font-size));
    color: #aaa;
    white-space: nowrap;
    margin-top: 5px;
}

.mlr{
    width:20rem;
    padding-left: 0.75rem;
}

.mlr>div{
    padding: 0.25rem;
    border: 1px solid #eee;
    margin-bottom: 0.75rem;
    border-radius: 4px;
}

.night .mlr>div{
    border:1px solid #444;
}

.mlf{
    width:calc(100% - 20rem);
    min-height: 17.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    border: 1px solid #eee;
}

.night .mlf{
    border: 1px solid #444;
}

.layui-colorpicker{
    border-top: 0;
    border-bottom: 0;
    padding: 0.25rem 0.25rem 0.25rem 0.25rem;
    border-right: 0;
}

.night .layui-colorpicker{
    border: 1px solid #444;
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    background-color: #181a1b;
}

.colorselect{
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    display: inline-block !important;
    float: left;
    clear: none !important;
}
.color_inp{
    border-top: 0;
    border-right: 0px;
    border-bottom: 0px;
    width: calc(100% - 1.9rem);
    float: left;
}

.divbuts{
    border-top: 0;
    border-radius: 0 0 3px 3px;
}

.divbuts button{
    padding: 0.4rem 1rem;
    text-align: center;
    border: 0;
    background-color: #607D8B;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

.divbuts button:nth-child(1) {
    background-color: #009688;
    width: calc(50% - 0.125rem);
    float: left;
}

.divbuts button:nth-child(3) {
    width: calc(50% - 0.125rem);
    float: right;
}

.upimglogo{
    background-color: #795548;
    padding: 0.4rem 1rem;
    width: 100%;
    text-align: center;
    border: 0;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
}

@media screen and (max-width: 1290px){
    .mdiv {
        display:block;
    }
    .mlf {
        width:100%;
    }
    .mlr {
        width: 100%;
        padding-left:0rem;
        margin-top: 0.75rem;
    }
}