*, :after, :before {
    box-sizing: border-box
}

a, div, p {
    font-family: Verdana,sans-serif
}

body {
    padding: 0;
    margin: 0
}

#main-wrap {
    display: flex;background-color:#fdfdfd;flex-wrap:wrap;justify-content:center
}

 
    .content .left {
        display: block;
        width: 75%;
        height: 100%
    }

    .content .right {
        width: 25%
    }

        .content .right header {
            background-color: #2196f3;
            padding: 16px 15px
        }

        .content .right .info {
            padding: 16px 15px
        }

            .content .right .info hr {
                margin: 16px 0
            }

        .content .right header .p-1 {
            color: #fff;
            font-size: 16pt
        }

        .content .right header .p-2 {
            color: #fff;
            font-size: 12px;
            margin: 8px 0
        }

.right .info .p-3 {
    color: #757575;
    font-size: 12px;
    margin-bottom: 0
}

.right .info .p-4 {
    margin-top: 5px
}

    .right .info .p-4 span {
        color: #ff5722;
        font-size: 14px;
        font-weight: 700
    }

.right .info .p-5 {
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 12px
}

.right .info ul li {
    margin-bottom: 10px
}

    .right .info ul li i {
        margin-right: 10px;
        font-size: 24px;
        color: #ff5722
    }
.required{color:red}
.header {
    height: 42px;
    text-align: right;
    background-color: #333;
    padding-right: 10px;
    padding-top: 5px
}
    .header img, .header .print img{
        max-width: 100%;
        max-height: 100%
    }
    .header a, .header .print {
        text-decoration: none;
        float: right;
        display: block;
        width: 32px;
        height: 32px;
        padding: 8px;
        border-radius: 50%;margin-right:10px
    }
        .header a:hover, .header .print:hover {
            background-color: #616161
        }
    .left .header .print, .left .header a {
        text-align: center;
        text-decoration: none;
        width: 150px;
        height: 100%;
        display: inline-block;
        padding: 8px 16px;
        vertical-align: middle;
        overflow: hidden;
        cursor: pointer;
        white-space: nowrap;
        background-color: #ff5722;
        color: #fff
    }

    .left .header .print {
        border: none
    }

        .left .header .print:hover, .left .header a:hover {
            color: #000;
            background-color: #ccc
        }
.invoice {
    height: calc(100vh - 124px);
    overflow:auto
}
.iframe {
    width: 100%;
    height: 1200px;
    border: none
}

.ul {
    list-style-type: none;
    padding-left: 0
}

    .ul li a {
        text-decoration: none;
        font-size: 12px
    }

.content-background {
    width: 100%;
    height: 50px;
    background-image: url(/images/header.jpg);
    text-align: center;
    background-size:cover;position:relative;overflow:hidden
}
.logo{display:block;position:absolute;left:0}
    .content-background h1 {
        line-height: 50px;
        text-decoration: none;
        color: #fff;
        font-weight: bold;
        font-size: 22px;margin:0;
        text-shadow: 2px 2px 4px #000000;
    }
/*.menu {
    border-width: 1px 1px 0px 0px;
    vertical-align: top;
    width: 44px;
}*/
.panel-search {
    width: 250px;
    background-color: #e8e6e6ab
}
    .panel-view{
        max-width:995px;
        background-color:#fff;
        width:calc(100% - 250px)
    }
.input-form{padding:10px 10px 5px;width:100%;box-sizing:border-box}
.input-form input{width:100%;box-sizing:border-box;padding:5px;outline:none;border:solid 1px #ccc;border-radius:4px}
.igreen {
    color: white !important;
    text-align: center !important;
    background-color: #16b14b;
    vertical-align: middle;
    padding:5px
}
.error-text{color:red;font-style:italic;font-size:13px}
.button-form {
    padding: 10px 10px 5px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center
}
.input-form label{height:20px;overflow:hidden;display:block}
.button-form button, .button-form a {
    background-color: #16B14B;
    border: solid 1px #ccc;
    border-radius: 4px;
    color: #fff;
    padding: 6px;
    text-align: center;
    height: 30px;
    overflow: hidden;text-decoration:none;cursor:pointer
}
    .button-form button span, .button-form a span {
        height: 20px;
        line-height: 20px;
        overflow: hidden;font-size:13px;font-weight:normal;
    }
        #btn-search {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center
        }
    #btn-search:before {
        content: ' ';
        background: url(/images/search_icon.png) center center no-repeat;
        display: inline-block;
        width: 16px;
        height: 16px;
        background-size: contain;margin-right:5px
    }
#download-xml {
    justify-content: center;
    align-items: center;
    display:none
}
    #download-xml:before {
        content: ' ';
        background: url(/images/xml_icon.png) center center no-repeat;
        display: inline-block;
        width: 18px;
        height: 16px;
        background-size: contain;
        margin-right: 5px
    }
.button-form.button-active #btn-search {
    width:60%
}
.button-form.button-active #download-xml {
    display: flex;
    width: 40%
}
@media only screen and (max-width: 995px) {
    #main-wrap{display:block}
    .panel-search {
        width: 100%;display:flex;flex-wrap:wrap
    }
    .input-form{width:50%;box-sizing:border-box}
    .panel-view {
        width: 100%
    }
    .button-form{width:100%;padding:5px 10px 10px}
    #btn-search, #download-xml {
        width: 48%;
        margin: 0 1%;
        max-width:135px
    }
}