/* =====================================================================
	print styles — pcc | source: /_source/styles/other/print.css
=====================================================================
  print overrides for all of pcc.edu
 ----------------------------------------------------------------
  owner: PCC Web Team <webteam@pcc.edu>
  author: Ali Gray <ali.gray@pcc.edu>
  created: 	2015-04-16
  updated:	2015-08-19 Add comments, organize file, fix tabs (Ali)
================================================================= */


/* ----------------------------------------------------------------
    generic
---------------------------------------------------------------- */
body {
	font-family:"Times New Roman", Times, serif !important;
	font-size:14pt;
}
.page-break {page-break-before:always;} /* custom page break locations */
@page {margin:1.5cm 0.5cm 2cm;} /* overrides Foundation - adds more space to top/bottom of browser-generated page breaks */


/* ------------------------------------
    items to not print
------------------------------------ */
#skip, #navigation, #snav, .show-for-small-only, [class^="icon-"], [class*=" icon-"], .azIndex, #pagination, .button i {display:none !important;}
#global-header {
	border:none;
	height:90px;
}
.hide, hr {
  display:none;
  margin:0 !important;
}
.visually-hide {
  height:1px;
  left:-9999px;
  overflow:hidden;
  position:absolute;
}
a.visually-show .visually-hide {
  left:auto;
  position:relative;
}


/* ------------------------------------
    typography
------------------------------------ */
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color:#000 !important; /* use black instead of dark gray */
  font-family:"Times New Roman", Times, serif !important; /* remove font-face heading font */
  font-weight:bold !important;
  margin-bottom:0;
  padding:0;
}
h1 {font-size:18pt;} /* change to pt from em/px for print */
h2, h2 a {font-size:24pt !important;}
h3, h3 a {font-size:20pt !important;}
h4, h4 a {font-size:18pt !important;}
h5, h5 a {font-size:16pt !important;}
h6, h6 a {font-size:14pt !important;}
p, a, ul, ol, li, dl, dt, dd, em, b, strong, blockquote, cite, .fineprint, .canceled span {
  color:#000; /* use black instead of dark gray */
  font:12pt/1.5 "Times New Roman", Times, serif !important; /* remove font-face body font */
}
em, .fineprint, .canceled span {font-style:italic !important;}
strong {font-weight:bold !important;}
strong em, em strong {font-weight:bold !important;}
a, a:link, a:visited {
  color:#009 !important; /* default browser blue link color */
  text-decoration:none !important;
}
a.popup:link:after,
a.popup:visited:after,
#sd-sharing a:link:after,
#sd-sharing a:visited:after {
  content:""; /* don't show the url for email links or news social sharing buttons */
}
dl dt, dl dt a {font-weight:bold !important;}
button, a.button, form input[type="submit"], form input[type="reset"], form input[type="button"] {
  border:none !important;
  padding:0 !important;
}


/* ------------------------------------
    images
------------------------------------ */
img {
  border:none;
  page-break-inside:avoid; /* doesn't work in FF */
}
.alignright, .imgright, .alignleft, .imgleft, .aligncenter, .imgcenter {
  /*page-break-inside:avoid; /* don't page break inside images - doesn't work on img by itself */
}



/* ----------------------------------------------------------------
    header
---------------------------------------------------------------- */
#logo img {
  background:#000 !important; /* we can't preload a black logo anymore, so need a background on the white logo */
  padding:10px;
  -webkit-print-color-adjust:exact !important;
  print-color-adjust:exact !important;
}
h1 a:link:after,
h1 a:visited:after,
#page-title h2 a:link:after,
#page-title h2 a:visited:after {
  content:""; /* don't show the url */
}
#alert i {display:none;} /* don't display the icons in the red alert banner */



/* ----------------------------------------------------------------
    content area
---------------------------------------------------------------- */
#breadcrumbs {display:none;} /* nope, not needed */
.medium-8#content-area {width:100% !important;} /* overrides foundation to fill the print page width */
main #content {padding-top:0;} /* tighten up spacing for lack of breadcrumbs */


/* ------------------------------------
    quotes
------------------------------------ */
.pullquote, blockquote {border-color:#999 !important;}
.pullquote:before {display:none;}


/* ------------------------------------
    open sesame
------------------------------------ */
.open-sesame {margin-left:0;}
.open-sesame h3,
.open-sesame h4,
.open-sesame h5,
.open-sesame h6,
.open-sesame .hidden-content {
  margin-left:0;
}
.open-sesame h3 a,
.open-sesame h4 a,
.open-sesame h5 a,
.open-sesame h6 a {
  color:#000 !important; /* not actually a link, so don't look like one */
  font-weight:bold !important;
}
.open-sesame i[role="presentation"] {display:none !important;} /* don't show plus and minus */
.open-sesame .hidden-content {
  display:block !important; /* all content is expanded/visible */
  font-size:11pt !important; /* a bit smaller */
  margin-bottom:20px;
}
.open-sesame .hidden-content p,
.open-sesame .hidden-content li {
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}
.open-sesame .hidden-content > *:first-child {margin-top:0;}


/* ------------------------------------
    tables
------------------------------------ */
table {border-collapse:collapse;}
table caption i {display:none !important;} /* hide the caption icon */
table th {
  font:11pt/1.5 "Times New Roman", Times, serif !important; /* remove weird heading styles */
  white-space:nowrap;
}
table td {font:11pt/1.5 "Times New Roman", Times, serif !important;} /* make all fonts the same */
table td a {
  font:11pt/1.5 "Times New Roman", Times, serif !important; /* remove weird link styles */
  padding:0;
}
table td [class^=icon-] {display:block !important;} /* needed for things like course planning schedules, just shows a box but it's ok */
table th, table td {
  padding:0.05in !important;
  page-break-inside:avoid !important; /* don't break inside table rows */
}


/* ------------------------------------
    tabs
------------------------------------ */
.tabs-panel {
  border-top:1px solid #a1a1a1;
  display:block; /* show all contents of all tabs */
  margin-top:20px;
  padding-top:20px !important;
  width:100%;
}
.tabs-panel:last-of-type {border-bottom:1px solid #a1a1a1;}
.tabs-panel::after {
  clear:both;
  content:"";
  display:block;
}
.tabs-title.is-active > a, .accordion-item.is-active > a {top:0;} /* not above the other titles */


/*----- number the tabs so you can tell which content goes with which heading */
ul.tabs,
.tabs-content {
  counter-reset:css-counter 0; /* initializes counter to 0 */
  list-style-type:none;
  padding:0;
}
.tabs-title {float:none;}
.tabs-title a,
a.accordion-title {
  color:#000 !important;
  font-size:14pt !important;
  font-weight:bold !important;
  padding:0 !important;
}
.tabs-title,
.tabs-panel {
  counter-increment:css-counter 1; /* increase the counter by 1 */
  font-weight:bold;
}
.tabs-title a:before,
.tabs-panel::before {
  content:counter(css-counter) ". "; /* apply counter before children's content */
}


/* stacked tabs */
.accordion-content {display:block;} /* show all tab content */
.accordion-title::before {display:none;} /* hide the + icons */


/* ------------------------------------
    cards
------------------------------------ */
.card {
  border:none !important; /* remove the bottom border */
  border:1px solid #999 !important; /* add a gray border all the way around */
  page-break-inside:avoid !important; /* don't break part-way through a card */
}
.card-heading {
  border:none !important; /* don't do a border on card headings at all */
  margin-bottom:0 !important;
}
.card-columns img {width:auto !important;} /* don't be 100% */
.card a[href]:after {
  color:#009 !important;
  content:" (" attr(href) ")" !important;
  font:12pt/1.5 "Times New Roman", Times, serif !important;
  padding:5px 20px 0;
  position:static; /* not absolute, don't overlap the content */
}
.card-50 {
  float:right;
  margin-left:10px;
  width:50%;
}


/* ------------------------------------
    mini calendar
------------------------------------ */
.mini-calendar {border:1px solid #999;}


/* ------------------------------------
    slideshows
    only the current image prints
------------------------------------ */
.slideshow .rsContent {
  border:none;
  margin:0;
  padding:20px 0 0;
  position:static; /* move the caption above the image */
}


/* ------------------------------------
    block-grids
------------------------------------ */
[class*=block-grid-] li {width:100%;} /* just put them all on separate lines */


/* ------------------------------------
    feeds
------------------------------------ */
.pcc-posts.featured-posts .cell {
  margin-bottom:20px;
  width:100%; /* just put them all on separate lines */
}
.pcc-posts.featured-posts .img-crop {display:none;} /* can't print bg images, so don't have space for them */


/* ------------------------------------
    feature galleries
------------------------------------ */
#content .features h4 {font-weight:bold !important;}



/* ----------------------------------------------------------------
    sidebar
---------------------------------------------------------------- */
#sidenav {width:100%;}



/* ----------------------------------------------------------------
    footer
---------------------------------------------------------------- */
footer {display:none;} /* nope, not needed */
