/*---------------------------
Print Style Sheet
@package Delicato WP Theme
----------------------------*/

@media print {
body { background:white; color:black; margin:0 }
}

a:link, a:visited {color: #781351}


/*Insert value of anchor's href attribute in posts*/

.post p a:link:after,
.post p a:visited:after {
  content: " (" attr(href) ") ";
  font-size: 90%;
}


/*Hide from print*/

#mainnav {
    display:none;
}

div.skip-link {
    display:none;
}

div.navigation {
    display:none;
}

div.search{
    display:none;
}

#sidebar {
    display:none;
}

#footer, #bottom-menu {
    display:none;
}

#footer-widget-area {
    display:none;
}

#commentsection #respond, #commentsection .reply, #commentsection .avatar, .comments {
    display:none;
}

/*Un-comment the following rule if you don't want to print comments*/

/*#commentsection{*/
/*    display:none;*/
/*}*/


/*Structural changes and print sizes and styles*/

#container{
    width: auto;
    margin: 0;
    float: none;
}

#header{
    position:static;
    width:auto;
    height:auto;
}


div#title{
    width:auto;
    position:static;
    text-align:left;
    margin:0;
    border:0;
}

#copy, #copy #copy-content, #copy .post {
    display:block;
    clear:both;
    float:none;
    padding-left:0;
    margin-left:0;
    width:auto;
    font-size:12pt;
    font-family:serif;
    overflow: visible;
}

#commentsection {
    font-size: 9pt;
}

#commentsection p {
    margin-bottom:0;
}


/*Avoid page breaks*/

h1, h2, h3, h4, h5, h6 {
    page-break-after:avoid; 
    page-break-inside:avoid
}
    
img {
    page-break-inside:avoid; 
    page-break-after:avoid;
}

blockquote, table, pre { page-break-inside:avoid }

ul, ol, dl  { page-break-before:avoid }


