/*
Theme Name: AutoAction 2020 v2
Description: AutoAction custom WordPress Theme for 2020
Version: 1
Author: Launch Interactive
Author URI: http://launchinteractive.com.au

*/

/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.cf:after {
    clear: both;
}

/* WordPress Presentational Classes*/
.aligncenter { display:block; margin:0 auto }
.alignleft { float:left }
.alignright { float:right }
.wp-caption {
	text-align:center;
	background:#000;
	margin:10px 0;
	width:auto !important;
	display: inline-block;
}
.wp-caption-text {
	margin:5px;
	color:#FFF;
	font-size: .9em;
}

* {
	box-sizing: border-box;
}

body {
	-webkit-font-smoothing: subpixel-antialiased;
	font-family: 'Source Sans Pro', sans-serif;
	--central-padding: 20px;
}

a {
	color: #333;
}

.central
{
	padding-left: 20px;
	padding-right: 20px;
	padding-left: var(--central-padding);
	padding-right: var(--central-padding);
}

.alignwide
{
	position: relative;
	left: calc(-0.5 * var(--central-padding));
	width: calc(100% + var(--central-padding));
}

.alignfull
{
	position: relative;
	left: calc(-1 * var(--central-padding));
	width: calc(100% + 2 * var(--central-padding));
	padding-left: var(--central-padding);
	padding-right: var(--central-padding);
}

/*
::-webkit-scrollbar
::-webkit-scrollbar-button
::-webkit-scrollbar-track
::-webkit-scrollbar-track-piece  
::-webkit-scrollbar-thumb
::-webkit-scrollbar-corner
::-webkit-resizer

:horizontal
:vertical
:decrement
:increment
:start
:end
:double-button
:single-button
:no-button
:corner-present
:window-inactive
*/
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: #000;
}
::-webkit-scrollbar-thumb {
  background: red;
}

a[href^=tel] {
	color:inherit;
	text-decoration: none;
}

nav ul {
	list-style: none;
	margin:0;
	padding:0;
}

.leaderboard_ad,
.aa-ad-placeholder[data-key="leaderboard_ad"] {
	display: block;
	margin:20px 0;
	max-width:825px;
}

.leaderboard_ad img:not(.impression) {
	width: 100%;
	display: block;
	height: auto;
	border:5px solid #e4e4e4;
}

body > .ad
{
	margin: 20px auto;
}

.ad
{
	text-align: center;
}

.ad img:not(.impression)
{
	display: inline-block;
	border:5px solid #e4e4e4;
	height: auto;
	max-width: 100%;
	margin: 0;
}


.main {
	margin-bottom: 30px;
}

.button {
	background:red;
	padding:10px 15px;
	display:inline-block;
	color:#FFF;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
}
button.button {
	border:none;
	-webkit-appearance: none;
}
.button:hover {
	background:#000;
}

.posts
{
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 20px;
}

.posts a
{
	text-decoration: none;
	color: #000;
}

.posts img
{
	max-width: 100%;
	width: 100%;
	height:auto;
	margin-bottom: 10px;
}

.posts .leaderboard_ad img
{
	width: 100%;
}

.posts .date
{
	font-size: .9em;
}

.posts .title
{
	display: block;
	font-size: 1em;
	font-weight: 700;
}

.posts .category
{
	font-weight:700;
	font-size: .9em;
}

.posts .category::before
{
	content: " - ";
	font-weight: 400;
}

.posts .details > span {
	display: block;
}

.posts .details > span.more
{
	margin-top: 10px;
	white-space: nowrap;
	text-align: center;
	display: inline-block;
	font-weight: normal;
	padding: 5px 10px;
}

.posts .post:last-of-type {
	margin-bottom: 0;
}

@media (min-width: 400px)
{
	.posts img
	{
		width: 100%;
		margin-right: 0;
		margin-bottom: 10px;
	}

	.posts
	{
		grid-template-columns: 1fr 1fr;
	}

	.posts a.google-auto-placed,
	.posts a.leaderboard_ad,
	.posts .aa-ad-placeholder[data-key="leaderboard_ad"]
	{
		grid-column: span 2;
	}
}

@media (min-width: 700px)
{
	.posts a
	{
		display: block;
	}

	.posts img
	{
		width: 100%;
		margin-right: 0;
		margin-bottom: 10px;
	}
}

@media (min-width: 900px)
{
	.posts a
	{

	}

	.posts img
	{
		width: 50%;
		margin-bottom: 0;
	}

	.posts .details
	{
		width: 50%;
		padding-left: 10px;
		display: inline-block;
	}
}

article
{
	padding:0 0 20px;
}
article > *:first-child {
	margin-top: 0;
}
article > *:last-child {
	margin-bottom: 0;
}

article img {
	max-width: 100%;
	height:auto;
	vertical-align:top;
}
article p {
	line-height: 1.5em;
}



aside ul {
		padding-left:20px;
}

.slider {
	background: #666;
	position: relative;
	margin-bottom: 30px;
	list-style: none;
	padding: 0;
}

.slider li
{
	position: absolute;
	top:0;
	left:0;
	right: 0;
}

.slider img {
	display: block;
	width: 100%;
	height: auto;
}

.slider .caption {
	background:rgba(0,0,0,.7);
	position: absolute;
	bottom:0;
	left:0;
	right:0;
	padding: 15px;
	color:#FFF;
	text-align: center;
	font-weight: 700;
	font-size: 1.5em;
}

.slider .caption span{
	font-weight: 300;
	font-size: .7em;
	line-height: .9em;
	display: block;
}

.slider > :first-of-type {
	position: relative;
}

.slider > li {
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s linear, visibility 0s linear 1s;
}

.slider > li.show {
	opacity: 1;
	visibility: visible;
	transition: opacity 1s linear, visibility 0s linear 0s;
}




h1, h2, h3, h4 {
	margin:2em 0 1em;
	line-height: 1.3em;
}

h1, .blog h2 {
	background: black;
	color:white;
	font-weight: normal;
	padding: 10px 20px;
	text-transform: uppercase;
	margin-bottom: 0.5em;
	border-left:10px solid red;
}
.blog h2 a {
	color: white;
	text-decoration: none;
	display: block;
}

.postdate {
	font-weight: 600;
	font-style: italic;
	color: #333;
}




@font-face {
  font-family: 'aa_social';
  src:
    url('../aa_social_2aab1.html') format('truetype'),
    url('../aa_social_2aab1-2.html') format('woff'),
    url('../aa_social_2aab1-3.html#sofancy') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'aa_social' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*
aa_social
.icon-youtube:before {
  content: "\e900";
}
.icon-facebook:before {
  content: "\ea90";
}
.icon-twitter:before {
  content: "\ea96";
}
.icon-instagram:before {
  content: "\ea92";
}
/**/

/* aa_social_2 */
.icon-googleplus:before {
	content: "\e900";
}
.icon-youtube:before {
  content: "\e901";
}
.icon-facebook:before {
  content: "\ea90";
}
.icon-twitter:before {
  content: "\ea96";
}
.icon-instagram:before {
  content: "\ea92";
}
/**/


#topStoryModule,
.main > .leaderboard_ad,
.main > .aa-ad-placeholder[data-key="leaderboard_ad"]
#subContentModule
{
	flex-basis: 100%;
}

.main > .leaderboard_ad,
.main > .aa-ad-placeholder[data-key="leaderboard_ad"]
{
	max-width: none;
	width: 100%;
}

.main > img
{
	width: 100%;
	height: auto;
}

#authorBox
{
	background: #000;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#authorBox p
{
	color: #fff;
	margin: 0;
}

.bottomAds > a
{
	display: inline-block;
	margin-right: 20px;
}

.bottomAds > a:last-of-type
{
	margin-right: 0;
}


.aa-ad-placeholder[data-key="leaderboard_ad"]
{
	width: 865px;
	height: 200px;
	/*aspect-ratio: 875/210;  includes 5px border */
}
.aa-ad-placeholder[data-key="square_ad"]
{
	width: 300px;
	height: 500px;
	/*aspect-ratio: 300/500;*/
}
.aa-ad-placeholder[data-key="latest_issue"]
{
	width: 875px;
	height: 150px;
}
.aa-ad-placeholder[data-key="premium_ad"]
{
	width: 1175px;
	height: 200px;
	/*aspect-ratio: 1185/210;  includes 5px border */
}

@media (min-width: 700px)
{
	article > .ad:first-child img
	{
		margin-top: 0;
	}

	.main
	{
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.main > article,
	aside,
	main
	{
		padding: 0;
	}

	.main > article,
	main
	{
		flex: 1;
	}

	aside
	{
		flex:1;
		max-width: 300px;
	}

	.main > .square
	{
		width: 300px;
	}

	.main > img:first-child
	{
		width: calc(100% - 300px);
		height: 300px;
		object-fit: cover;
	}
}

@media (min-width: 778px)
{
	.leaderboard_ad,
	.aa-ad-placeholder[data-key="leaderboard_ad"]
	{
		margin:20px auto;
	}
}

@media (min-width: 1240px)
{
	body
	{
		--central-padding: calc(50vw - 600px);
	}

	.main > article,
	main
	{
		flex: 2;
	}

	.slider .caption
	{
		font-size: 2.5em;
	}
}
