﻿html {
    background-color: #ececec;
    font-family: Arial, Verdana, sans-serif;
}
body {
    margin: 20px auto;
    padding: 5px 20px;
    line-height: 1.4em;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 6px;
    background-color: #fff;
}
#msgImpressao {
    position: fixed;
    background-color: #000066;
    color: #FFF;
    width: 350px;
    min-width: 200px;
    right: 10px;
    top: 10px;
    padding: 10px;
    font-size: 15px;
    border-radius: 10px;
}
#msgImpressaoFinal{
    padding: 20px 2%;
    text-align: center;
}
#imgFechar {
    width: 30px;
    cursor: pointer;
    position: relative;
    margin-left: calc(100% - 30px);
}

#imgAtencao{
    display: block;
    margin: -20px auto 0px auto;
    max-width: 175px;
    width: 90%;
}

@media only screen and (max-width: 949px) {
    #msgImpressao{
        display: none;
    }
    body{
        box-shadow: none;
    }
}

@media only screen and (max-width: 1300px) {
    #msgImpressao{
        display: none;
    }
}

@media only print {
    * {
        background: transparent !important;
        color: #000 !important;
        text-shadow: none !important;
        filter: none !important;
        -ms-filter: none !important;
    }

    body {
        margin: 0;
        padding: 0;
        line-height: 1.4em;
        box-shadow: none;
        min-height: auto !important;
        width: auto !important;
    }


    nav, video, audio, object, embed {
        display: none;
    }

    .no-print {
        display: none;
    }

    img {
        max-width: 100%;
    }

    aside {
        display: block;
        page-break-before: always;
    }

    .wrap {
        width: 100%;
        margin: 0;
        float: none !important;
    }


    a, a:visited {
        text-decoration: underline;
    }

    p a {
        word-wrap: break-word;
    }

    p {
        widows: 3;
    }

    p {
        orphans: 3;
    }

    .page-break {
        page-break-before: always;
    }

    footer {
        position: fixed;
        bottom: 0;
    }

    header {
        width: 100%;
        height: 130px;
        background: #fff;
        z-index: 9999;
        top: 0;
        left: 0;
        position: fixed;
    }

    @page {
        margin: 0.5cm;
        
    }
}