﻿/**
 *
 * Department of Agriculture | www.agriculture.gov.au
 * Medium CSS
 *
 * version: 0.1
 * file:    medium.css
 *
 */
 

/*
-------------------------------------------------------
   Global Page elements
-------------------------------------------------------
*/
/* Setting body font size */
body {
  font-size: 16px; /* Setting basse font to 16px*/
}

.inside .main {
	padding: 1em;
	background: #fff;
	margin: 0 1em 1em;
}


/*
-------------------------------------------------------
   Global header
-------------------------------------------------------
*/

.logo {
	width: 250px;
	min-height: 80px;
	margin: 1em 0;
}

.top-links-search-wrapper {
	background: #343434;
	overflow: hidden;
}
.top-links {
	float: left;
	width: 50%;
}
.top-links li:after {
	margin: 0 .4em;
}
.top-links li a {
	font-size: 14px;
	font-size: .875rem;
}

/* Global Search */
.global-search-form {
	float: right;
	width: 35%;
	padding-right: 35px;
	margin-right: 115px;
}
.global-search-form button {
	z-index: 10;
	width: 18%;
}

/*
-------------------------------------------------------
	Search Box Styling
-------------------------------------------------------
*/
#SearchBox
{
	width:auto;
}
 #SearchBox input
{
	width:454px;
}
 


/*
-------------------------------------------------------
   Main Nav
-------------------------------------------------------
*/

.nav-wrapper {
	clear: both;
}


/*
----------------------------------------
   Bio Spheres
----------------------------------------
*/
.biosphere {
	display: block;
	height: 170px;
	width: 170px;
	position: absolute;
	z-index: 10;
	right: -13px;
	top: -35px;
}
.home-biosphere {
	background: url(files/home-biosphere.png) no-repeat 0 0;
	background-size: 100%;
}

/* Half size images for lower than ie9 as background size is not supported */
.lt-ie9 .biosphere {
	top: -10px;
	right: -75px;
	height: 185px;
}
.lt-ie9 .home-biosphere {
	background: url(files/home-biosphere-ie8.png) no-repeat 0 0;
}





/*
-------------------------------------------------------
   Home featured stories slider
-------------------------------------------------------
*/
.home-featured-content-wrapper {
	display: -webkit-box;     
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}
.home-featured-stories {
	width: 50%;
	float: left;
	margin-bottom: .5em;
}

.abares .home-featured-stories {
	width: 100%;
	float: left;
	margin-bottom: .5em;
}

/*
-------------------------------------------------------
   Home feature boxes
-------------------------------------------------------
*/
.home-features-list {
	width: 50%;
	display: block;
	/*display: -webkit-box;*/
	display: -moz-box;
	/*display: -ms-flexbox;*/
	display: -webkit-flex;
    -webkit-flex-flow: row wrap;
	display: flex;
  	flex-flow: row wrap;
}
.home-feature-box {
	width: 48%;
	float: left;
	margin-left: 2%;
	margin-top: 0;
	margin-bottom: .5em;
}
.home-feature-box a {
	overflow: hidden;
	float: left;
}
.home-feature-box__img {
	overflow: hidden;
}
.home-feature-box img {
	float: left;
	-webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}
.home-feature-box a:hover img {
    -webkit-transform:scale(1.05);
    -moz-transform:scale(1.05);
    -ms-transform:scale(1.05);
    -o-transform:scale(1.05);
     transform:scale(1.05);
}


/* Older FireFox support */
html[data-useragent*='Firefox/24.0'] .home-features-list,
html[data-useragent*='Firefox/25.0'] .home-features-list,
html[data-useragent*='Firefox/26.0'] .home-features-list, 
html[data-useragent*='Firefox/27.0'] .home-features-list {
	display: block;
}
html[data-useragent*='Firefox/24.0'] .home-feature-box,
html[data-useragent*='Firefox/25.0'] .home-feature-box,
html[data-useragent*='Firefox/26.0'] .home-feature-box, 
html[data-useragent*='Firefox/27.0'] .home-feature-box {
	min-height: 240px;
}

/*
-------------------------------------------------------
   Home call-to-action boxes
-------------------------------------------------------
*/


.home-call-to-action-boxes_list {
	margin: 1.1em 0 0;
	display: -webkit-box;     
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	padding: 0;
	list-style: none;
	clear: both;
}
.lt-ie10 .home-call-to-action-boxes_list {
	display: block;
	padding-top: 1.125em;
	overflow: hidden;
}
.home-call-to-action-boxes_list li:last-child {
	margin-right: 0;
}
.home-call-to-action-box-item {
	margin-top: 0;
	margin-right: 2.5%;
	background-color: #e0f0f2;
	border-bottom: 7px solid #165788;
	width: 32%;
}
.lt-ie10 .home-call-to-action-box-item {	
	width: 32%;
	min-height: 270px;
	float: left;
	margin-right: 2%;
}
.lt-ie10 .home-call-to-action-box-item.last {
	margin-right: 0;
}
.home-call-to-action-box-item__img { 
	padding: .4em .4em 0;
	background-color: #ffffff;
	float: left;
}
.home-call-to-action-box-item__img img {
	width: 100%;
	display: block;
	height: auto;
	-webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}
.home-call-to-action-box-item__img a {
	overflow: hidden;
	float: left;	
}
.home-call-to-action-box-item__img a:hover img {
    -webkit-transform:scale(1.05);
    -moz-transform:scale(1.05);
    -ms-transform:scale(1.05);
    -o-transform:scale(1.05);
    transform:scale(1.05);
}

.home-call-to-action-box-item__text {
	overflow: hidden;
	padding: 0 .4em .4em;
}

.home-call-to-action-box-item__text a {
	color: #6a4061;
	text-decoration: none;
	font-weight: bold;
}
.home-call-to-action-box-item__text a:hover,
.home-call-to-action-box-item__text a:focus,
.home-call-to-action-box-item__text a:active {
	color: #000000;
	text-decoration: underline;
}
.home-call-to-action-box-item__text h2 {
	margin-top: .5em;
	margin-bottom: .3em;
	font-size: 16px;
	font-size: 1rem;
	color: #343434;	
	font-weight: bold;
	font-family: Calibri, arial, sans-serif;

}
.home-call-to-action-box-item__text a {
	display: block;
	font-weight: bold;
	color: #343434;
	text-decoration: none;
}
.home-call-to-action-box-item__text p {
	font-size: 14px;
	font-size: .875rem;	
	margin: 0 0 .5em 0;
}



/*
-------------------------------------------------------
   Home Featured Links
-------------------------------------------------------
*/
.featured-links {
	overflow: hidden;
	margin-top: 1.65em;
	clear: both; /* ie-9 */
	display: flex;
}
.featured-links ul,
.featured-links ul.active,
.featured-links .active ul,
.featured-links div.active,
.featured-links div.active .ms-WPBody,
.featured-links .ms-WPBody {
	display: block;
	border: 0;
}
.featured-links ul li {
	margin: 0 0 .6em;
}
.featured-links div.active {
	padding-top: 0;
}
.featured-links .cbs-Item {
	padding-bottom: .5em;
}
.featured-links .media-releases,
.featured-links .latest-news,
.featured-links .useful-links {
	float: left;
	border-right: 1px solid #c2c2c2;
	width: 32.5%;
	padding: 0 1em;
}
.featured-links .latest-news {
	width: 35%;
}
.featured-links .useful-links {
	border: 0;
}
.featured-links h2 {
	border: 0;
	text-align: center;
}
.featured-links h2 a {
	display: inline-block;
}
.featured-links h2 a:hover,
.featured-links h2 a:focus,
.featured-links h2 a:active,
.featured-links h2 a.active {
	color: #343434;
	background-color: transparent;
	text-decoration: underline;
}
.featured-links h2 a.active,
.featured-links h2 a.active:hover,
.featured-links h2 a:hover,
.featured-links h2 a:focus {
	text-decoration: none;	
	cursor: default;
}

.featured-links ul a:hover,
.featured-links ul a:focus,
.featured-links ul a:active {
	text-decoration: underline;
}

.featured-links .published-date {
	display: block;
	text-align: center;
	color: #000000;
	font-size: 14px;
	font-size: 0.875em;
}
.latest-news .ms-WPBody
{ 
	display:block; 
}


/* 
-------------------------------------------------------
	Section banner
-------------------------------------------------------
*/ 

.banner {
	display: block;
	max-width: 1170px;
	margin: 0 auto;
}

.banner img {
	width: 100%;
	display: block;
	float: left;
}
.js .banner img {
	display: none;	
}
.lt-ie9 .banner img {
	display: block;	
}



/* 
-------------------------------------------------------
	Contact and last reviewed footer
-------------------------------------------------------
*/ 

.contact-and-last-reviewed {
	margin-top: 1em;
	overflow: hidden;
	float: left;
	clear: both;
	width: 75%;
}
.contact-and-last-reviewed.full-width {
	width: 100%;
}
.search .contact-and-last-reviewed {
	float: right;
	width: 80%;
}
.contact-and-last-reviewed:before {
	font-size: 18px;
	font-size: 1.125rem;
	content: '\f095';
    font-family: 'FontAwesome';
	display: inline-block;
	float: left;
	margin-bottom: .5em;
}
.contact-info {
	float: left;
	width: 70%;
	clear: both;
}
.last-reviewed {
	float: right;
	width: 30%;
	border-top: 1px solid #9c9c9c;
	text-align: right;
}



/* 
-------------------------------------------------------
	Page content 
-------------------------------------------------------
*/ 
/* Content heading styles */
.page-content h1 {
	font-size: 30px;
	font-size: 1.875rem;
	margin: 0 0 .3em;
}
.page-content h2 {
}
.page-content h3 {
}


/* 
-------------------------------------------------------
	Page Layout
-------------------------------------------------------
*/ 

.page-content {
	float: left;
	width: 75%;
	padding-right: 1em;
	margin-top: 1em;
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
 	box-sizing: border-box; 
}
.page-content.full-width {
	width: 100%;	
}
.right-column {
	float: right;
	width: 25%;
}
.resources {
	margin-top: 4em;
	-webkit-box-sizing: border-box;
  	-moz-box-sizing: border-box;
 	box-sizing: border-box; 
}

.inside-search {
	margin-top: 2em;
}


/* Media center layout */
.webpart-resources {
  display: block;
  overflow: hidden;
}


/* 
-------------------------------------------------------
	Lineage 
-------------------------------------------------------
*/ 

.lineage {
	display: block;
	max-width: 1170px;
	margin: 0 auto;
	background-color: #d5d2ca;
	width: 100%;
	padding: .5em 1em;
	overflow: hidden;
	clear: both;
}
.lt-ie9 .lineage {
	max-width: 1170px;
}
.lineage li {
	display: inline-block;
	margin-right: .2em;
	font-size: 14px;
	font-size: .875rem;
}
.lineage li:last-child,
.lineage li.last {
	color: #000000;
}
.lineage li:after {
    font-family: 'FontAwesome';
	content: '\f101';
	font-size: 12px;
	font-size: .75rem;
	color: #284e36;
	margin: 0 .3em 0 .6em;
}
.lineage li:last-child:after,
.lineage li.last:after {
	content: '';
}
.lineage li.last:after {
	display: none;
}
.lineage li a {
	color: #284e36;
	text-decoration: none;
	font-size: 14px;
	font-size: .875rem;
	font-weight: bold;
}
.lineage li a:hover,
.lineage li a:focus,
.lineage li a:active {
	text-decoration: underline;
}

/* 
-------------------------------------------------------
	Landing page links
-------------------------------------------------------
*/ 
.landing-page-links li {
	width: 25%;
}
.landing-page-links li:nth-child(2n+0) {	
	border-right: 0;
}
.landing-page-links li:nth-child(4n+0) {	
	border: 1px solid #e1e1e1;
	margin-right: 0;
}
.landing-page-links li:last-child {	
	border: 1px solid #e1e1e1;
	margin-right: 0;
}






/*
-------------------------------------------------------
   Footer
-------------------------------------------------------
*/
.footer {
	overflow: hidden;
	text-align: center;
	padding-bottom: 3em;
}
.footer ul {
	margin: 0 auto;
	display: inline-block;
}
.footer li {
	display: inline-block;
}
.footer li:after {
	content: '|';
	padding: 0 .5em;
	display: inline-block;
	color: #ffffff;
}
.footer li:last-child:after,
.footer li.last:after {
	content: '';
	padding: 0;
}
.footer li.last:after {
	display: none; /* IE-8 Bug not removing the content */
	margin: 0;
}
.footer a {
	text-decoration: none;
	color: #ffffff;
}


/*
-------------------------------------------------------
   Search page content styles
-------------------------------------------------------
*/
.search .ms-webpart-cell-vertical {
	display: block;
} 
.search #refiner_panel,
.refiner-panel {
	display:block;
	float: left;
	width: 20%;
}

.search-results {
	float:right;
	width:80%;
}


/* search restults Pagination */
.search .ms-srch-result #Paging li {
	margin: 0 2px;
}

.refiner-panel div[refinername="LastModifiedTime"] {
	display:block;
	margin-top: 20px;
}


.refiner-panel .slider_extent_label_section {
	color: #767676;
}

/*
-------------------------------------------------------
   Form styles
-------------------------------------------------------
*/


/* Form responsiveness enhancements */
div#ag-form select {
	width: auto;
}



/* 
-------------------------------------------------------
	media release right column content
-------------------------------------------------------
*/

.media-releases-filter_item .release-date {
	float: left;
	display: inline-block;
	min-width: 119px;
	margin-top: 9px;
}
.media-releases-filter_item h3 {
	float: left;
	display: inline-block;
}
.media-releases-filter_item {
	border: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}



/* 
-------------------------------------------------------
	biosecurity matters banner font
-------------------------------------------------------
*/

.bio-matter-banner h2 {
	font-size: 3.8em;
    margin-top: 4px;
}


/* 
-------------------------------------------------------
	agricultural trade matters banner font
-------------------------------------------------------
*/

.agri-trade-matter-banner h2 {
	font-size: 3.3em;
    margin-top: 4px;
}

/*
-------------------------------------------------------
   Biosecurity pop
-------------------------------------------------------
*/
.popup {
    width: 610px;
    left: 50%;
    margin-left: -250px;
    box-shadow: 0 4px 10px #333333;
    top: 30%;
}



/*
---------------------------------------------------
	Publications Content type
---------------------------------------------------
*/

/* Publication Header */
h1.publication__title {
	font-size: 20px;
    font-size: 2.25rem;
}
.publication__header,
.publication__main-content,
.publication__footer {
    padding: 15px 25px;
    margin-bottom: 30px;
}
.publication__nav {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 25px;
}
.publication__feature-image,
.publication__header-summary {
    float: left;
    width: 50%;
}
.publication__header-summary {
    padding-left: 20px;
    margin-top: 15px;
}





/*
---------------------------------------------------
	Page feedback
---------------------------------------------------
*/

.page-feedback {
	padding: 15px;
}
.page-feedback p.page-helpful,
.page-feedback span {
    font-size: 32px;
    font-size: 1.75rem;
    line-height: 1.5em;
    padding-right: 13px;
}

.page-feedback button,
.page-feedback input[type="button"]{
    padding: 6px 25px;
    min-width: 6em;
    margin-left: 20px;
    margin-top: 3px;
}
.page-feedback__submit input[type="button"] {	
    margin-left: 0;
}
.page-feedback__msg,
.page-feedback__msg.success {
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.5rem;
}



/**
	Biosecurity animations
*/

li.bio-animation-static {
    width: 29%;
	margin-left: 2%;
	margin-right: 2%;
}
.bio-animation-list li:odd,
.bio-animation-list li:even {
	margin-right: 0;
}
.bio-anim__intro {
    float: left;
    width: 65%;
    padding: 10px 0;
}
.bio-anim__persona-face {
    display: block;
    float: left;
    width: 35%;
    overflow: hidden;
}


/* Animations detail page */
.bio-anim__section.left .bio-anim__section-text {
    float: left;
    width: 50%;
}
.bio-anim__section.left .bio-anim__section-anim {
    float: right;
    width: 50%;
}
.bio-anim__section.right .bio-anim__section-text {
    float: right;
    width: 50%;
}
.bio-anim__section.right .bio-anim__section-anim {
    float: left;
    width: 50%;
}

/*
-------------------------------------------------------
   Dynamic page navigation module
-------------------------------------------------------
*/

div#dynamicPageNav {
	padding-left: 15px;
}

ul.dynamicNavList {
	padding-left: 25px;
}