
.color_inp{
    width: calc(100% - 1.9rem);
    float: left;
}
.layui-colorpicker{
    padding: 0.25rem 0.25rem 0.25rem 0.25rem;
    border-left: 0;
}
.night .layui-colorpicker{
    border: 1px solid #444;
    border-left: 0;
    background-color: #181a1b;
}
.colorselect{
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    display: inline-block !important;
    clear: none !important;
    float: left;
}


.mpgs{
    padding: 0.25rem;
    border: 1px solid #eeeeee;
    border-radius: 3px 3px 0 0;
}

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

.mpgs>div{
    padding: 0.25rem;
    float: left;
    width: 50%;
}

.mpgs>div>div{
    margin-bottom: 0 !important;
}


.divbuts{
    padding: 0.5rem;
    border: 1px solid #eee;
    border-top: 0;
    border-radius: 0 0 3px 3px;
}

.night .divbuts{
    border:1px solid #444;
    border-top:0;
}

.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;
}


@media screen and (max-width: 390px){
    .divbuts button:nth-child(1){
        width: calc(50% - 0.25rem);
        float: left;
    }
    .divbuts button:nth-child(2){
        width: calc(50% - 0.25rem);
        float: right;
    }
}

.resmpg{
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    background-color: #f6f7fa;
    display: none;
}

.night .resmpg{
    background-color: #181a1b;
}

.resprinsdiv{
    padding: 0 1rem 1rem 1rem;
    background-color: #f6f7fa;
    overflow: auto;
}

.night .resprinsdiv{
    background-color: #181a1b;
}

.rescent{
    background-color: #fff;
    padding: 5mm 10mm;
    width: 210mm;
    margin: auto;
}

.resmpg .resmpgdata{
    background-color: #f6f7fa;
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e8e8fd;
    margin-bottom: 1rem;
}

.night .resmpg .resmpgdata{
    background-color: #181a1b;
    border-bottom: 1px solid #444;
}

.resmpg .resmpgdata div{
    
}

.resmpg .resmpgdata p{
    font-size: 0.7rem;
    color: #7f8c8d;
}

.resmpg .resmpgdata p.title{
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.night .resmpg .resmpgdata p.title{
    color: #aaa;
}

.resmpg .resmpgdata span{
    background-color: #9b59b6;
    color: white;
    padding: 0.3rem 0.5rem;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
}

.resmpg .resmpgdata span.dowimgs{
    background-color: #2196F3;
}

.rescent-header{
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #bbb;
    position: relative;
}

#qrcoders{
    position: absolute;
    right: 0;
    top: 0%;
    width: 70px;
    height: 70px;
}

.rescent-title{
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5mm;
}

.rescent-info{
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 8px;
}

.rescent-info>span{

}

.dayin{
    font-size: 24px;
}

:root{
    --bgcolor1:#e398b8;
    --bgcolor2:#fff;
    --color1:#fff;
    --color2:#444;
    --bordercolor234:#666666;
}

/* 样式一 */

.sy_a{
  
}

.sy_a>div{

}

.sy_a>div>div{
    width: calc(100% / 3);
    float: left;
    padding: 5px;
}

.sy_a>div>div>div{
    
}

/* 样式二 */

.sy_b{
 
}

.sy_b>div{

}

.sy_b>div>div{
    width: calc(100% / 3);
    float: left;
    padding: 5px;
}

.sy_b>div>div>div{
    border: 1px solid var(--bordercolor234);
    padding: 5px;
    border-radius: 3px;
}

/* 样式三 */

.sy_c{
   
}

.sy_c>div{
    
}

.sy_c>div>div{
    width: calc(100% / 3);
    float: left;
}

.sy_c>div>div>div{
    padding: 10px;
    border-radius: 3px;
    border-bottom: 1px solid var(--bordercolor234);
}

/* 样式四 */

.sy_d{
 
}

.sy_d>div{
    
}

.sy_d>div>div{
    width: calc(100% / 3);
    float: left;
    padding-left: 5px;
    padding-right: 5px;
}

.sy_d>div>div>div{
    padding: 10px 5px;
    border-radius: 3px;
    border-bottom: 1px solid var(--bordercolor234);
}

/* 样式五 */

.sy_e{
  
}

.sy_e>div{
    border-radius: 50px;
    padding: 0 10px;
    color: var(--color1);
    background-color: var(--bgcolor1);
}

.sy_e>div:nth-child(2n){
    color: var(--color2);
    background-color: var(--bgcolor2);
}

.sy_e>div>div{
    width: calc(100% / 3);
    float: left;
    padding-left: 5px;
    padding-right: 5px;
}

.sy_e>div>div>div{
    padding: 5px 5px;
}

.style5,.style234{
    display: none;
}

/* 样式六 */

.printbgcolor{
    display: none;
}

@media screen and (max-width: 500px){
    .resmpg .resmpgdata{
        display: block;
    }
    .resmpg .resmpgdata div.clear{
        margin-top: 0.5rem;
    }
}

@media screen and (max-width: 950px){
    .mpgs>div {
        width: 100%;
    }
}

@media screen and (max-width: 886px){
    .mpgs>div {
        width: 50%;
        float: left;
    }
}

@media screen and (max-width: 660px){
    .mpgs>div {
        width: 100%;
    }
}

@media print {
    /* 隐藏不需要打印的元素 */
    html * {
        visibility: hidden;
    }

    iframe{
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }
    
    ins{
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }

    .left-nav{
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }

    .mpgs,.footer,.headada,.gonggao_alert,.search,.headbutdiv,.headerbut>span,.user_alert,.tool_nav_but,.tool_nav{
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }

    .tuiart{
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }

    .fnavs{
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }
    
    .head_div{
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }

    .google-auto-placed {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }

    .stoolsads{
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }

    .toolbar{
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }

    .tuitool{
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
    }
    
    /* 重置body样式 */
    body {
        background-color: white !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .printbgcolor{
        visibility: visible;
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -1;
        background-color: #ffffff;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .rescent, .rescent * {
        visibility: visible;
    }

    /* 设置A4纸尺寸和边距 */
    @page {
        size: A4 portrait;
        margin: 0mm 0;
    }

    .main {
        width: 100%;
        margin-top: 0;
    }

    .center {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .rescent {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 5mm 10mm !important;
        margin: 0 auto !important;
        overflow: visible !important;
        background-color: #fff;
        z-index: 99999;

        box-decoration-break: clone;
    }

    .rescent-header {
        page-break-inside: avoid;
    }

    .rescent-title{
        margin-bottom: 5mm;
    }

    .dayin {
        page-break-inside: auto;
    }

    .dayin>div{
        page-break-inside: avoid;
    }
}