/*
 * ********************************
 * The Tyee
 * @author: Alex Grunenfelder
 * @date: 2013
 * ********************************
 *
 * This sheet styles the print content.
 * ********************************
 *
 */


/* LAYOUT */
  
body {
  -webkit-print-color-adjust:exact;
    }/* sets background colors to print in chrome and safari */

body {
    width: 33em;
    margin-left: 7.5em;
    }

#header {
    margin-bottom: 2em;
    }

#logo img {
    width:7.5em;
    height: auto;
    position:relative;
    left:-0.6em;
    
    }

.content {
    position: relative}

img {
    max-width: 33em;
    height: auto;
    }
    
.embed{
    position:relative;
    width: 33em;
    height: 20em;
    background-color: #CCC !important;
    margin-bottom: 1.5em;
    font-style: italic;
    }
@-moz-document url-prefix() {
    /* firefox only styles */
    .embed{
    border:1px solid #999;
    }
    }

.embed small {
    display:none;
}

object {
    display: none;
    }/* Hides the video on video-primary story pages */
 
#player {
    display: block;
    position:relative;
    width: 33em;
    height: 20em;
    border:1px solid #999;
    background-color: #CCC !important;
    margin-bottom: 1.5em;
    margin-top: 1.5em;
}

.video-primary-print {
    display: block;
    position:relative;
    width: 33em !important;
    height: 20em;
    border:1px solid #999;
    background-color: #CCC !important;
    margin-bottom: 1.5em;
    margin-top: 1.5em;
} /* adds a video placeholder box on video-primary story pages */

.video-primary-print:before {
    position:absolute;
    bottom:1em;
    padding-left: 1em;
    font-size: 0.8em;
    font-style: italic;
    content:"MEDIA CONTENT (Visit webpage to view)";
} /* adds video placeholder text on video-primary story pages */


iframe {
    display:none;
    } 

.caption {
    padding-top: ;
    position:absolute;
    bottom:0px;
    font-size: 0.8em;
    padding-left: 1em;
    }

.caption:before {
    display: block;
    position:static;
    width: 36em !important;
    height: 16em;
    border:1px solid #999;
    background-color: #CCC !important;
    margin-bottom: 1.5em;
    margin-top: 1.5em;
    padding-top:1em;
    padding-left: 2em;
    content:"MEDIA CONTENT (Visit webpage to view)"}

.block-article_insert {
    position: relative;
    width: 75%;
    right:0%;
    background-color: #EEE !important;
    padding: 2px 0em 2px 0em;
    border-top:4px solid #888;
    border-bottom:4px solid #888;
    margin-bottom: 1.5em;}

.block-inner {
    font-size: 0.8em;
    background-color: #EEE;
    padding: 1em 1em 0em 1em;
    border-top:1px solid #888;
    border-bottom:1px solid #888;}


/* TYPOGRAPHY */

html  {
    font-family: "Lucida Grande", Verdana, sans-serif;
    font-size: 12px;
    line-height: 1.5em;
    color: #000;
    }
  
p, ul, ol {
    margin-bottom: 1em;}

h1, h2, h3, h4, h5, h6, 
    p, blockquote {
    margin-bottom: 12px;}

h2 {
    font-size: 2em;
    line-height: 1.25em;
    font-weight: 700;}

strong {
    text-transform:uppercase;
    display: block;
    padding-top: 1.5em;
    }

strong em {
    text-transform:none;
    padding: 0;
    margin-top: -1em;
    }

em strong{
    text-transform:none;
    padding: 0;
    margin-top: -1em;
    }

.tagline {
    font-size: 1.5em;
    line-height: 1.333em;
    }

.meta{
    font-family: Georgia,"Times New Roman",serif;
    font-style: italic;
    font-size: 1.05em;
    }

.photo-caption {
    /* float: right; width: 195px; */
    /*width: 100% !important;*/
    /*width: 195px !important;*/
    }

.photo-caption p{
    /* float: right; width: 195px; */
    width: 100% !important;
    font-size: 0.8em;
    padding-bottom: .5em;
    margin-top: -1em;
    border-bottom:.25px solid #CCC;
    }

ul {
    list-style-type: disc;
    padding-left: 1em;
    margin-left: 0em;
    }

#slideshow {
    height: auto !important;
}

#slideshow ul {
    list-style-type: none;
    padding-left: 0em;
    margin-left: 0em;
    width: auto !important;
    }
ul.book_profile {
    width: 50%;
    padding-left: 0em;
    margin-bottom: 1.5em;
    }
ul.book_profile li {
    list-style-type: none;
    background-image: none;
    padding: .25em 0em .25em 0em;
    margin: 0;
    border-bottom: #CCC;
    border-width: .1em;
    color: #666;
    font-size: 1em;
    border-style: none none solid none;
    }
li.book_title {
    font-style: italic;
    font-weight: bold;
    }

.first {
    font-size: 1.2em;
    line-height: 1.5em;
    }

.content-main a {
    color: #000;
    border-bottom: 1px dotted #999;
    padding-bottom: 1px;
    text-decoration: none;
    }

.content a[href]:before {
    content: "" attr(href) "";
    display: block;
    /* white-space:nowrap; */
    max-height: 4em;
    word-wrap: break-word;
    overflow: hidden;
    width: 18em;
    padding-left: 2em;
    position:relative;
    float:right;
    margin-right: -226px;
    font-size: 9.6px;
    font-style: italic;
    }


blockquote {
    margin: 0 0em 0 3.5em;
    }
    
blockquote:before {
    display: block;
    position: relative;
    float: left;
    margin: .35em 0em 0 -.42em;
    font-size: 9em;
    content: open-quote;
    color: #bababa;
	}


.block-article_insert h2 {
    font-size: 1.1em;
    text-transform:uppercase;
    text-align:center;
    margin-bottom:0.5em;
    }

ul.files {
    text-align:center;
    list-style-type:none;
    }

.content .files a[href]:before {
    content: """";
    }

.content .files a[href]:after {
    content: "www.thetyee.ca" attr(href) "";
    display: block;
    white-space:wrap;
    word-wrap: break-word;
    overflow: hidden;
    width: 90%;
    padding-left: 0em;
    padding-right: 0em;
    position:relative;
    float:none;
    margin-right: 0;
    font-size: 9.6px;
    font-style: italic;
    }

.icoft {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top:1.5em;}

.article-footer {
    text-align:center;
    font-size: .8em;
    padding-top: 1em;
    margin-top: 2em;
    border-top: 1px dotted #999;
    }

