/*
	Education Gazette
	Created: 1 March 2015
	Last updated: See GIT/SVN
  ----------------------------------
	Styles for print

*/
/* 
 HIDE
------------------------------------- */
.page-maincontent .site-search, .block-search-filter, .form-reset, .block-admin-moderation-tools, .button-form-add-row-holder, .NFI-wrapper, .form-progress-bar, .Actions, .link-style-2, .block-taxonomies-featured, .icon-ok, .search-results .layout-col-8 h2, .form-taxonomy-search, .link-teachnz, iframe, .nav-tertiary, .footer-logos .nz-govt, .page-footer .twitter, nav, .sidebar, .link-back-to-top, .block-categories-links, .block-setup-alert, .link-read-more, .link-container, .mobile-menu, .nav-breadcrumb, #nav-main, .page-header .article-container, #education-portal-header, .page-header .home-logo, .block-social-sharing, .button, .close, .back-to-top {
  display: none !important;
}

/* 
 HIDE BACKGROUND
------------------------------------- */
.taxonomy-type, .form-preview-taxonomy .preview .liner, .form-preview-taxonomy-web-preview .preview-liner, .js-radio, .block-add-taxonomy-checklist, .fieldset-1, .block-generic-list-2, .block-search-matches, .page-header, #content .caption, .page-maincontent th, .tag, .cal-icon, .block-institution-address {
  background: none !important;
}

/* 
 SHOW
------------------------------------- */
.print, .content-wrapper .nav-sitemap {
  display: block !important;
}

/*STILL TO DO: block-taxonomies-featured */
/* 
 SPECIFIC PRINT STYLES
------------------------------------- */
body {
  background: #fff;
  color: #000;
  font-family: "PetalaPro", Arial, sans-serif;
}

/* 
 HEADER
------------------------------------- */
.page-header {
  border-bottom: 5px solid #000 !important;
}

.page-header img.print {
  width: 293px;
  height: auto;
  display: block;
  margin: 10px 0 9px;
}

/* 
 MAIN CONTENT
------------------------------------- */
.content-wrapper, .page-wrapper {
  padding: 0 !important;
}

/* Links */
a {
  color: #000 !important;
}

#content a:after {
  content: " (https://gazette.education.govt.nz" attr(href) ")";
  text-decoration: underline;
  word-wrap: break-word;
  font-family: "PetalaPro", Arial, sans-serif;
}

#content a[href^="http://"]:after, #content a[href^="https://"]:after {
  content: " (" attr(href) ")";
}

#content a[href^="mailto:"]:after, #content .tag a:after, #content a.tag:after, .togglecomposite a:after {
  display: none;
}

.content-wrapper .nav-sitemap a:after {
  display: block;
}

/* Color */
.select2-selection__rendered, .block-title, .title, .date, p.meta, .reference, .title-byline, .block-vacancy-institution .layout-col-7 p, .cal-icon, .block-vacancy-detail-header .vacancy-date .end, .page-footer a, .block-notice-detail-info p, .location, .tip, #content .video .caption, li ul, li ol, h2, .h2, h3, .h3, h4, .h4, h5, .h5, p, li, label {
  color: #000 !important;
}

/* Typographic */
.content-wrapper p, .tip {
  font-size: 14px;
}

.content-wrapper .intro-text p {
  font-size: 16px;
  color: #000;
}

.content-wrapper h1, .content-wrapper .h1 {
  font-size: 35px;
}

.content-wrapper h2, .content-wrapper .h2, .h2 {
  border-bottom: 1px solid #ccc !important;
  color: #000 !important;
}

#content .caption, .content-wrapper blockquote {
  color: #000;
  border: none !important;
  padding-left: 0;
  padding-bottom: 0;
}

/* Images */
.figure img, .captionImage img {
  border: none !important;
}

.figure.align-left img, .figure.align-right img, .captionImage.left img, .captionImage.right img {
  width: auto;
  max-width: 100%;
}

/* Tables */
.page-maincontent table {
  border-bottom: 2px solid #000;
  border-left: 1px solid #ccc;
}

.page-maincontent th, .page-maincontent td {
  border: none;
  border-right: 1px solid #ccc;
}

.page-maincontent th {
  color: #000;
  border-bottom: 2px solid #000;
}

/* Blocks */
.block-posted-by {
  border: none !important;
}

.block-notice-detail-header .reference, .block-article-detail-header .reference, .block-posted-on {
  text-align: left;
  border: none;
  color: #000;
}

.block-vacancy-detail-header .title-byline, .block-notice-detail-header .title-byline, .block-article-detail-header .title-byline {
  color: #000;
}

.block-event-item {
  border: none !important;
}

.block-event-item::before,
.block-event-item::after {
  display: table;
  content: "";
}

.block-event-item::after {
  clear: both;
}

.block-event-item {
  margin-bottom: 10px;
}

.block-event-item .event-date {
  background: none;
  border-top: none;
  border-left: 1px solid #ccc;
  padding: 0 0 0 10px;
  text-align: center;
  float: left;
}

.block-event-item .liner {
  float: left;
  padding-right: 10px;
}

.block-event-item .liner p {
  margin: 0;
}

.block-vacancy-detail-header .vacancy-date .cal-icon {
  float: left;
}

.block-vacancy-detail-header .vacancy-date .reference {
  text-align: left;
}

.cal-icon {
  width: auto !important;
  border: none !important;
}

.cal-icon .day {
  font-size: 16px;
  font-family: "PetalaPro", Arial, sans-serif !important;
}

.cal-icon span {
  display: inline;
  font-size: 16px !important;
}

.cal-icon .header {
  display: block;
}

.block-institution-address {
  border: none;
  padding: 0;
}

.block-institution-address p {
  padding: 0;
}

.search-results .block-taxonomies-featured {
  display: block !important;
}

.block-taxonomy-featured {
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: none;
}

.block-taxonomy-featured .title {
  font-size: 25px;
}

.block-taxonomy-featured .cal-icon .header {
  display: inline;
  border: none;
}

.block-taxonomy-featured {
  display: block;
  border-top: none !important;
  border-bottom: 1px solid #ccc !important;
  padding-top: 2.5em;
}

.block-taxonomy-featured .image img {
  border: none;
}

.search-results-intro {
  padding: 1em 0;
}

.block-search-matches {
  padding-left: 0;
}

.block-generic-list-2 {
  padding-left: 0;
}

.block-generic-list-2 .block-title, .homepage-bottom h2 {
  border: none;
  margin-left: 0;
}

.block-generic-list-3 {
  margin-left: 0;
}

.block-generic-list-3 li {
  border: none;
}

.block-add-taxonomy-checklist {
  margin-bottom: 0;
  padding: 0;
}

.block-add-taxonomy-checklist, .block-add-taxonomy-checklist ul, .block-add-taxonomy-checklist li {
  border: none;
}

.block-add-taxonomy-checklist li:before {
  color: #000;
}

.block-vacancy-institution {
  margin-bottom: 0;
}

.block-taxonomy-featured .notice-meta dt, .block-taxonomy-featured .notice-meta dd {
  padding-left: 0;
  background: none !important;
  color: #000;
}

/* Article landing page */
.section-articles .h1-landing {
  display: none;
}

.articles-landing .block-taxonomy-featured {
  display: block !important;
}

/* Homepage */
.homepage-features .block-taxonomy-featured.article-hero a {
  height: auto !important;
  background: none;
  padding-top: 0;
}

.homepage-features .block-taxonomy-featured.article-hero .title, .homepage-features .block-taxonomy-featured.article-hero p, .homepage-features .block-taxonomy-featured.article-hero .date {
  margin-left: 0;
}

.homepage-features .block-taxonomy-featured.article-hero .image {
  position: static;
}

.homepage-features .block-taxonomy-featured.article-hero .image img {
  width: 50%;
  height: auto;
  border: none;
}

/* Preview listing page */
.form-preview-taxonomy .preview .liner, .form-preview-taxonomy-web-preview .preview-liner {
  border: none;
}

.form-preview-taxonomy .preview header {
  padding-left: 0;
}

/* Site search */
.site-search-results .block-taxonomies-featured {
  margin-top: 0;
}

.site-search-results .block-taxonomies-featured, .site-search-results .block-taxonomy-featured {
  display: block !important;
}

.block-taxonomy-featured .taxonomy-type {
  color: #000;
  border: none !important;
}

/* Forms */
.fieldset-1 {
  border: none !important;
}

.fieldset-1 .composite {
  padding-left: 0 !important;
}

.form-add-taxonomy h1 {
  margin-left: 0;
}

.js-radio, .composite, .togglecomposite {
  border: none !important;
}

.fieldset-1 .optionset .js-radio, .fieldset-1 .selectiongroup .js-radio {
  padding: 0.25em 0;
}

/* Misc */
.js-pageurl {
  font-size: 14px;
  margin: 0.75em 0 0;
  text-decoration: underline;
}

.js-pageurl.last {
  margin: 1em 0;
}

.block-vacancy-detail-header .title-byline, .block-notice-detail-header .title-byline, .block-article-detail-header .title-byline {
  border: none;
}

.tag {
  display: inline !important;
  padding: 0 0.5em 0 0 !important;
  margin: inherit !important;
  border: none !important;
  color: #000 !important;
  box-shadow: none !important;
}

.message {
  border: none !important;
  padding: 0 !important;
  margin-left: 0 !important;
}

.block-site-section-summary {
  border: none !important;
}

.site-search-results-message {
  margin: 2em 0 0;
}

/* 
 FOOTER
------------------------------------- */
.page-footer {
  background: #fff;
  color: #000;
  border-top: 5px solid #000;
}

.page-footer ul {
  list-style-type: none;
  padding: 0;
}

.footer-logos .minedu img {
  display: none;
}

.page-footer .copyright {
  float: none;
  width: auto;
  text-align: left;
  margin: 0;
}

.page-footer .copyright img {
  display: inline;
  margin: 0.5em 0 0;
}

.vacancy-reference-number {
  display: inline;
}

.access,
.header-tools,
.site-search,
th.responsive,
.block-vacancy-detail-header .vacancy-date {
  display: none;
}

.vacancy-date span {
  font-size: 14px !important;
}

.cal-icon .header {
  font-weight: bold;
}
