/*
Theme Name: Curtin News & Events
Theme URI: http://www.curtin.edu.au
Author: Curtin University
Author URI: http://www.curtin.edu.au
Description: WordPress Theme fo Curtin News & Events.
Version: 1.1
Text Domain: curtin-news-events
Tags:
Note: Print style is defined here.
*/


/* Alignment */

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

.print-only { display:none; }

/* Print Styles */
@media print {
    /*Reset Style*/
    body {
      margin: 0!important;
      padding: 0;
      line-height: 1.4em;
      word-spacing: 1px;
      letter-spacing: 0.2px;
      font: 13px Arial, Helvetica,"Lucida Grande", serif !important;
      color: #000 !important;
      border-top: none !important;
      background: white!important;
    }

    /*Remove Element*/
    #destination-search,
    #print-preview #navbar-container #logo,
    #catnavi,
    .topnavi,
    .more-link,
    .navigation,
    #sidebartop,
    #related,
    #social,
    #sponsors,
    .tabs,
    #allpost,
    .toolbar,
    .splitbox,
    #commentform,
    #commentabs .idTabs,
    .postmeta-content .comments,
    #respond h3,
    .tag,
    .footerlinks { display: none }
    .no-print,
    .article-info--share-no-border,
    .article-info--share { display: none }
    .form-search-news,
    .site-search,
    .master-header__content,
    .cf,
    .site-navi,
    .master-header__content,
    .toggle-wrapper,
    a.toggle-icon--search,
    .curtin-icon-search,
    .section-title,
    .breadcrumb,
    .global-bar__inner--footer { display: none }
    .global-bar__inner--header { background-color: white }
    .page-header { border: none !important }

    .main-content__article .editable-content>p:first-of-type,
    .box__header__title,
    .box__content,
    figcaption,
    .article-info p,
    .box__content p,
    .module-title {
      color: #000 !important;
      font-size: 13px !important;
    }
    .video-container, iframe { display: none }
    .article-info--credits-1,
    .article-info--credits-2 {
      float: left !important;
      width: 25% !important;
    }
    .comments-area,
    .tags,
    .related-posts,
    .wp-pagenavi,
    .search-form,
    .section-header,
    a.with-icon,
    .cite-box,
    .expert-comment-module,
    .page-footer { display: none }
    .module {
       line-height: 1.2em;
    }


  .print-only {
    display:block;
    width: 94%;
    margin: 0 auto;
    padding-bottom: 0.36765em;
  }

    /* Show URL */
    a:link, a:visited {
      background: transparent;
      color: #333;
      text-decoration: none;
    }
    a:link[href^="http://"]:after, a[href^="http://"]:visited:after {
      content: " (" attr(href) ") ";
      font-size: 11px;
    }
    a[href^="http://"] { color: #000 }
}

.wp-caption {
	width:100% !important;
	}
.wp-caption img{
	width:100%;
	}
.wp-caption-text{
	background-color: #5e5e5e;
    color: #fff;
    padding: 10px;
	}