
@page {
    size: a4 portrait;
    margin: 0.5in;
    padding: 1em;
}

*:not(body):not(svg):not(h2):not(h1):not(h3):not(h4) {
    position: static !important;
    transform: none !important;
    height: auto !important;
    min-height: auto !important;
    width: auto !important;
    text-align: left !important;
    transform: none !important;
}

* {
    padding: initial !important;
    margin: initial !important;
    page-break-after: avoid !important;
    page-break-before: avoid !important;
    page-break-inside: auto !important;
    font-size: initial !important;
}

h1,
h2,
h3,
h4,
h5 {
    text-align: left !important;
}

h1 {
    margin-bottom: 30px !important;
    margin-top: 10px !important;
}

h2 {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

h3 {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

h4 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
ul,
ol {
    color: #000!important;
}

p,
blockquote {
    orphans: 3;
    /* pas de ligne seule en bas */
    widows: 3;
    /* pas de ligne seule en haut */
}

blockquote,
ul,
ol {
    page-break-inside: always;
    /* pas de coupure dans ces elements */
    page-break-after: avoid;
    /* pas de saut aprÃ¨s ces elements */
    page-break-before: avoid;
    /* pas de saut aprÃ¨s ces elements */
}

a {
    color: #000!important;
    text-decoration: underline!important;
}

h1,
h2,
h3,
caption {
    page-break-after: avoid;
    page-break-before: avoid;
    page-break-inside: avoid;
    /* pas de saut aprÃ¨s ces elements */
    /*font-size: initial !important;*/
}

.contenu-rte p {
    margin-bottom: 20px !important;
}

nav,
menu,
form,
aside,
button,
audio,
video,
#menu,
#main-menu {
    display: none !important;
}

#skipnavigation {
    display: none !important;
}

body {
    width: auto!important;
    margin: auto!important;
    font-family: serif;
    font-size: 12pt;
    background-color: #fff!important;
    color: #000!important;
}

.print-only {
    display: block;
}


/* CERDD */

#carte-ddtour,
#carte-ambassadeur,
.fancy-select,
.flux-rss-icone,
#rss-ressources,
#share-this-mobile,
.pied-logo,
#global-zeroclipboard-html-bridge,
#pied-raccourcis,
.focus_hidden,
#reseaux-sociaux,
.bloc-liens,
#panorama-parcours,
#logo-banner,
#share-full,
#left-annuaire,
#liens-relatifs,
#bandeau-noir,
.btn,
.ressource-action,
.pagination_container,
.form-filtre,
.form-filtre-mobile,
#filtre-button,
.liste-typologies,
.nav-reference,
#breadcrumb,
#menu-scale,
#evitement,
#menu-search-full {
    display: none !important;
}

section,
#banniere {
    padding: 0 !important;
}

.bloc-lien,
#right-agenda {
    display: block !important;
    width: 100% !important;
}

.alert-info {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}

.alert-info+img.visible-print-block {
    margin-bottom: 30px !important;
}

.wrap-center .date p {
    font-size: initial !important;
}

section {
    margin-bottom: 30px !important;
}

.image-ddtour img {
    width: 100px !important;
    margin-right: 10px !important;
}

#bloc-adresse-rs {
    margin-bottom: 30px !important;
}

#partenaires ul li {
    display: inline !important;
    margin-right: 5px !important;
    margin-top: 10px !important;
}
.page-tools{
    display: none !important;
}


/* Set body padding to header and footer */

body {
    padding: 40px 0;
}


/* All unecessary elements */

a[href]:after {
    content: "";
    display: none;
}

a[href^="#"]:after,
a[href^="javascript"]:after {
    content: "";
    display: none;
}


/* Fix Header and footer class on page */

.footer,
.header {
    position: fixed;
    top: 0;
    left: 0;
    height: 40px;
    width: 100%;
    background-color: white;
    margin-left: 25px;
}

.footer {
    top: auto;
    bottom: 0;
}

.footer:after {
    content: "Page " counter(page) " of " counter(pages);
    color: blue;
    float: right;
}

body,
.container {
    width: 1200px !important;
    margin: 0 auto !important;
}

ul {
    list-style-type: disc !important;
    padding-left: 30px !important;
    margin-bottom: 20px !important;
}

li {
    display: block !important;
}
.media img{
    display: none;
}