@page {
    size: A4;
    margin: 5px 10px 5px 5px;
}

@media print {

    /* Chrome Fixes*/
    * {
        -webkit-transition: none !important;
        transition: none !important;

        /* RR: Forçar a impressão de background-images */
        -webkit-print-color-adjust:exact; /* Chrome */
        print-color-adjust: exact;
        color-adjust: exact !important; /* Firefox */
        box-sizing: inherit;
    }

    a {
        pointer-events: none;
        color: #000;
        text-decoration: none;
      }
/*
    @page{
        size: auto;/*297mm 210mm;     /* auto is the initial value */
        /*margin: 5px 10px 5px 5px;
    }*/


    html, body {
      width: 210mm;
      height: 297mm;
    }

    body {
        font-family: Roboto, sans-serif;
        background-color: white; 
        color: #333;
        font-size: 14px;
        line-height: 20px;
    }

    div {
         /*display: inline-block; */
         page-break-inside: avoid; 
    }
    
    .master_tarifa {
        display: block;
        width: 960px;
        border: 2px solid #79c143;
        page-break-after: always;

       /* -webkit-transform: scale(0.85);  /* Saf3.1+, Chrome */
       /* -moz-transform: scale(0.85);  /* FF3.5+ */
       /*  -ms-transform: scale(0.85);  /* IE9 */
       /*  -o-transform: scale(0.85);  /* Opera 10.5+ */
       /*    transform: scale(0.85); */

       -moz-transform: scaleY(0.92); /* Equal to scaleX(2) scaleY(0.5) */
       -moz-transform-origin: top left;
    }

    .tarifa_box_geral {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        width: 960px;
        margin-right: auto;
        margin-left: auto;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
    }
     
    .image_tarifas {
        width: 50%;
        height: 420px;
        max-width: 50%;
        margin-right: 0px;
        background-image: url('../images/foto-produtos.jpg');
        background-position: 50% 50%;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

    .navioright_tarifas {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        /*display: flex;*/
        width: 50%;
        margin-left: 10px;
        padding: 10px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    h2{
        margin-bottom: 0.5rem;
        font-family: inherit;
        display: block;
        font-size: 1.5em;
        -webkit-margin-before: 0.83em;
        -webkit-margin-after: 0.83em;
        -webkit-margin-start: 0px;
        -webkit-margin-end: 0px;
        font-weight: bold;    
    }

    .h2_tarifas {
        margin-top: 20px;
        font-size: 35px;
        line-height: 39px;
        font-weight: 500;
    }

    p {
        margin-top: 0;
        display: block;
        -webkit-margin-before: 1em;
        -webkit-margin-after: 1em;
        -webkit-margin-start: 0px;
        -webkit-margin-end: 0px;
    }

    .naviospara {
        margin-right: 0px;
        margin-bottom: 10px;
        color: #393939;
        font-size: 16px;
        line-height: 19px;
        font-weight: 300;
    }

    .naviosbold_tarifas {
        margin-top: 20px;
        color: #393939;
        font-size: 16px;
        font-weight: 700;
    }

    .line_bold_tarifas {
        color: #393939;
        font-size: 16px;
        font-weight: 700;
    }

    .text_light {
        line-height: auto;
        font-weight: 300;
        text-align: left;
        text-shadow: none;
    }
      
    .buttons.hide{
        display: none;
    }

    .open_condicoes {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        /*display: flex;*/
        padding-right: 40px;
        padding-bottom: 0px;
        padding-left: 60px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .text_wrapper {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        /*display: flex;*/
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        text-align: left;
    }

    .regular_tarifas {
        margin-top: 30px;
        font-size: 16px;
        text-transform: uppercase;
    }

    .print_remove{
        display: none;
    }

    /* header */

    .headermaincontainer {
        display: block;
        width: 960px;
        border: 2px solid #003164;
        background-color: #003164;
        color: #ffffff;
        margin-bottom: 5.5px;
    }

    .mainmenucontainer {
        display: block;
        margin-left: 20px; 
        margin-right: auto;
        margin-top: 5px;
        margin-bottom: 5px;
        background-color: #003164;
    }

    .logo_header {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
       /* display: flex;*/
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 300px;
    }

    .logo {
        width: 172px;
    }

    .emergency_text {
        display: inline-block;
        margin-top: 5px;
        font-size: 12px;
        font-weight: 300;
        color: #ffffff;
    }

    .emergency_bar {
        color: #79c143 !important; 
    }
      
    .emergency_wrapper {
        display: inline-block;
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    /* footer */
/*
    .ondas {
        height: 5px;
        background-image: url('../images/ondas.png');
        background-position: 0px 0px;
        background-repeat: repeat-x;
    }*/

    .footermaincontainer {
        width: 960px;
        background-color: #003164;
        border: 2px solid #003164;
        margin-top: 5.5px;
        left: 7.5px;
        position: fixed;
        bottom: 0px;
    }

    .allfooterwrapper {
        display: block;
        width: 960px;
        margin-right: auto;
        margin-left: auto;
    }

    .footercontainer {
        margin-top: 5px;
        margin-bottom: 5px;
        padding-right: 10px;
        padding-left: 10px;
        color: #fff;
        width: 100%;
    }
      
    .contatosfooter {
        display: inline-block;
        width: 50%;
    }

    .iconesdireita {
        float:right;
        width: 50%;
        text-align: center;
    }

    .politica_text {
        clear: left;
        margin-top: 0px;
    }

    .footerh2 { 
        margin-top: 0px;
        color: #79c143;
        font-size: 16px;
        font-weight: 300;
        text-transform: uppercase;
    }

    .facecontainer {
        margin-top: 5px;
        margin-bottom: 2px;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center; 
        -ms-flex-align: center;
        align-items: center;
    }

    .print_block{
        display: block;
    }

    .print_margin{
        margin-bottom: 20px;
        padding-right: 10px;
    }
    
    .sociallinks {
        margin-right: 6px;
        float: left;
        cursor: pointer;
    }

    .text_politcas {
        color: #fff;
        font-weight: 100;
    }

    .separated_text {
        text-decoration: underline;
        cursor: pointer;
    }

    .firstletterbold {
        color: #79c143;
        font-weight: 700;
    }

    .send_email {
        display:none;
    }

    #message {
        display: none;
    }
}