.print-only {
    display: none !important;
}


.print-row[style*="display:none"]+h2 {
    margin-top: 0;
}


@page {
    margin: 2cm 0 2cm 0;
}

/* Safari 10.1+ print-only hack */
@media not all and (min-resolution:.001dpcm) {
    @media print {
        .banner {
            height: 18vw;
        }
    }
}

@media print {
    .black-ribbon {
        display: none;
    }


    * {
        margin-left: 0 !important;
    }

    body {
        font-size: 20pt !important;
        line-height: 30pt;
        background: #fff !important;
        color: #000 !important;
        max-width: 21cm;
        width: 21cm !important;
        margin-left: 1cm !important;
    }

    .print-only {
        display: block !important;
    }



    .header+.section-block {
        margin-top: 0 !important;
    }

    /*SPECIAL PAGES*/
    body.examen,
    body.traitement,
    body.conseilssoins {
        max-width: 17cm;
        width: 17cm !important;
        margin-left: 2cm !important;
        margin-right: auto !important;
    }

    body.examen *,
    body.traitement *,
    body.conseilssoins * {
        max-width: 17cm !important;
    }

    body.examen h1,
    body.traitement h1,
    body.conseilssoins h1 {
        font-size: 24pt !important;
        line-height: 36pt !important;
    }

    body.examen h2,
    body.traitement h2,
    body.conseilssoins h2 {
        font-size: 16pt !important;
        margin-top: 25px !important;
        line-height: 22pt !important;
    }

    body.examen p,
    body.traitement p,
    body.conseilssoins p {
        font-size: 11pt !important;
        margin-top: 25px;
        line-height: 16pt !important;
    }

    body.examen .box-contact>p,
    body.traitement .box-contact>p,
    body.conseilssoins .box-contact>p {
        margin-top: 0;
    }

    body.examen li,
    body.traitement li,
    body.conseilssoins li {
        font-size: 11pt !important;
        color: black;
    }

    body.examen header,
    body.traitement header,
    body.conseilssoins header {
        display: none !important;
    }


    header.header+.section-block {
        padding-top: 0;
    }



    .col-md-8,
    .col-xs-12 {
        padding-left: 0 !important;
    }


    /*Override text margins on print*/
    p+p,
    ul+p,
    .text-09+p,
    *+.text-09,
    body p+.text-09,
    ul+.text-09,
    .text-09+.text-09,
    p+ul,
    ul+ul,
    .text-09+ul {
        margin-top: 0.5rem;
    }

    p>strong {
        color: #000000;
    }

    p {
        color: #000000;
    }

    .box-document .card-document {
        font-size: 12pt;
        line-height: 16pt;
        padding: 0;
    }

    .box-document .card-document::after {
        position: static;
        background-image: none;
    }




    .box.box-contact,
    .box.box-address {
        page-break-inside: avoid !important;
        min-height: 0 !important;
    }

    .button-list {
        padding: 0.75rem !important;
    }

    /*neutralize padding used for imprimer button on print.*/
    .wrap.wrap-940.relative {
        padding-right: 0;
    }

    .footer>.wrap>hr {
        display: inline-block;
        height: 1.5cm;
        width: 2px;
        margin-top: 15px;
        margin-bottom: auto;
        margin-right: 10px !important;
        margin-left: 10px !important;
    }

    .button-list::after {
        display: none !important;
    }

    p,
    li,
    .function {
        font-size: 12pt !important;
        line-height: 18pt !important;
    }

    p strong>span {
        color: #000;
    }

    ul>li+li {
        margin-top: 10pt;
    }

    .box-internal {
        padding: 0;
        border: none;
    }

    .box-contact p:last-child {
        padding-top: 4pt;
    }

    h1 {
        font-size: 37.5pt !important;
        line-height: 24pt !important;
    }

    h1.box.box-banner {
        font-size: 27.5pt !important;
        line-height: 34pt !important;
    }

    h2 {
        font-size: 19pt !important;
        margin-top: 25px;
        line-height: 14pt !important;
    }

    .button.button-link {
        font-size: 12pt;
    }



    .thumb.thumb-logo {
        visibility: hidden;
    }

    .logo-image {
        visibility: visible;
    }

    .page .logo-image {
        position: absolute;
        top: -5pt;
        left: 1.8cm;
    }


    .thumb-footer-vaud {
        background-image: url('/images/vaud-logo-print.png');
    }

    .thumb-footer-chuv {
        background-image: url('/images/logo-chuv-print-footer.png');
    }

    p.address {
        color: #000000;
    }

    footer>div {
        display: block !important;
    }

    h3,
    .text-04 {
        font-size: 13pt;
        margin-top: 25px;
        line-height: 13pt !important;
    }

    h4,
    .text-05,
    .text-06 {
        font-size: 10pt;
        margin-top: 25px;
    }


    a {
        page-break-inside: avoid
    }

    blockquote {
        page-break-inside: avoid;
    }

    h1,
    .text-01,
    h2,
    .text-02,
    h3,
    .text-03,
    h4,
    .text-04,
    h5,
    .text-05,
    h6,
    .text-06 {
        page-break-after: avoid !important;
        page-break-inside: avoid !important;
        line-height: 1.1em !important;
    }

    h1+ul,
    .text-01+ul,
    h2+ul,
    .text-02+ul,
    h3+ul,
    .text-03+ul {
        margin-top: 0.75rem;
    }

    .box-warn {
        display: none !important;
    }

    img {
        page-break-inside: avoid;
        page-break-after: avoid;
    }

    table,
    pre {
        page-break-inside: avoid
    }

    ul,
    ol,
    dl {
        page-break-before: avoid
    }

    .banner {
        width: 21cm;
    }

    .banner>.wrap>.box-banner {
        left: 1cm;
    }

    .section-block {
        margin-left: 0.99cm;
        margin-right: 0.99cm;
        padding-left: 0;
        padding-right: 0;
        width: 19cm;
        max-width: 19cm;
    }

    .thumb-footer-vaud+hr {
        display: inline-block !important;
    }

    .footer>.wrap-1068 {
        margin-left: .3cm !important;
    }

    .col-md-8 {
        width: 21cm;
    }

    .col-md-8.print-actual {
        width: 13cm;
    }

    .col-md-6 {
        width: 8.99cm;
    }

    .col-md-8 .col-md-6 {
        width: 4.49cm
    }

    .col-md-3 {
        width: 4.49cm;
    }

    .col-md-4 {
        width: 5.99cm;
    }

    .wrap,
    .row {
        width: 21cm !important;
        max-width: 21cm !important;
    }

    .print-hidden {
        display: none !important;
    }

    .header {
        background-color: white;
        border-bottom: 1px solid black;
        width: 21cm;
        margin-top: 0;
    }

    .card.card-logo {
        color: #000000;
        font-size: 15px;
        min-height: 1.5cm;
        padding-left: 2cm;
        padding-top: 6pt;
        line-height: 11pt;
    }

    .page .card.card-logo {
        padding-left: 4cm;
    }

    .section-block.bg-green-4,
    .section-block.bg-green-3,
    .section-block.bg-green-2,
    .bg-green-1.section-block,
    .print-block {
        background-color: white !important;
        page-break-inside: avoid;

    }

    a {
        text-decoration: none !important;
    }

    h1,
    h2,
    h3,
    h4,
    h5 {
        page-break-after: avoid;
    }

    .box.box-resume.box-resume-large.bg-white {
        background-color: rgb(204, 235, 214);
    }

    .footer {
        width: 21cm !important;
        margin: 0 !important;
        border-top: 1px solid black;
        background-color: white !important;
    }

    .col-content-print {
        width: 100% !important;
    }

    .button-list-white {
        border-top: 1px solid grey !important;
        border-bottom: 1px solid grey !important;
    }


    .print-row {
        display: block !important;
        width: 22cm;
        margin-left: -21px;
        height: 1px;
    }



    .box-addresses .address_text::before {
        height: 70px;
        width: 34px;
        margin-top: 32px;
        margin-right: 6px;
    }

    footer .address,
    .button-list,
    .button.button-more {
        font-size: 10pt !important;
        line-height: 15pt !important;
    }

    footer {
        height: 40pt;
    }


    footer>.wrap>hr {}

    footer>.wrap>.address {
        margin-top: .5cm !important;
        font-size: 8pt !important;
        line-height: 10pt !important;
    }

    .thumb-footer-chuv {
        margin-top: .5cm !important;
        width: 2.5cm;
        padding-top: 1.2cm;
    }

    footer>.wrap>a.thumb-footer-vaud {
        margin-top: .5cm !important;
        width: .35cm;
        padding-top: 1.2cm;
    }

    footer>.wrap>a.thumb-footer-unil {
        margin-top: .8cm !important;
        margin-left: 1rem !important;
    }


    .section-block>.wrap+.wrap {
        margin-top: 0 !important;
    }

    a[href^="http://"]::after,
    a[href^="https://"]::after {
        content: " (" attr(href) ") ";
        font-size: 7pt;
        line-height: 0pt;
        text-transform: lowercase;
        opacity: 0.8;
        line-height: 1.5em;
        display: block;
    }

    .box .see-more {
        font-size: 10pt;
    }

    .colloque-box {
        width: 8.5cm !important;
    }


    @media (min-width: 51.25em) {
        .header {
            padding-top: 0.625rem;
            padding-bottom: 0.625rem;
            min-height: 3.75rem;
        }



    }