/**
 * Theme Name: Air Sport Australia Confederation
 * Theme URI: http://www.asac.asn.au
 * Description: A description of your theme.
 * Tags: black, blue, white, two-columns, responsive-layout, custom-header, featured-images
 * Version: 1.0
 * Author: Streamline Creative
 * Author URI: http://www.streamlinecreative.com.au/
 * Text Domain: asac
 */

/**
 * Fonts - Declare @font-face here.
 * --------------------------------------------------------------------------- */

/**
 * Defaults
 * --------------------------------------------------------------------------- */

/* === HTML === */

html { background-attachment:fixed}

/* === Body === */

body { font-family: 'Source Sans Pro', sans-serif; }

/* === Links === */

a { color:#1c8cce; }

	a:hover { color:#34BFC9; }

/* === Headers === */

h1 { color:#1c8cce; margin-bottom:14px; }

h2 {}

h3 { color:#1c8bce; margin-bottom:13px; }

h4 { color:#1c8bce; }

h5 { color:#1c8cce; margin-bottom:8px; }

h6 { color:#1c8bce; font-size:17px; margin-bottom:7px; }

aside { margin-bottom:25px; }

/* === Blockquotes, quotes, and cites === */

blockquote {}

	blockquote blockquote {}

	blockquote cite {}

/* === Acronyms and abbreviations === */

acronym {}

abbr {}

/* === Code and Preformatted text === */

code {}

pre {}

	pre code {}

/* === <address> tag === */

address {}

/* === Lists === */

ul { list-style:none; }

	ul li {}

ol {}

	ol li {}

dl {}

	dt {}

	dd {}

/* === Tables === */

table {}

	caption {}

	thead {}

	tfoot {}

	tbody {}

	tr {}

	th {}

	td {}

	/* wp-calendar <table> */

	#wp-calendar {}

/* === Embeds === */

object {}

embed {}

iframe { width:100%; }

video {}

/* === Forms === */

form {}

	fieldset {}

		fieldset legend {}

	label {}

	input {}

		/* Not all types, but these are more common for themes. */
		input[type=button] {}
		input[type=checkbox] {}
		input[type=email] {}
		input[type=password] {}
		input[type=radio] {}
		input[type=reset] {}
		input[type=search] {}
		input[type=submit] { }
		input[type=submit]:hover {}
		input[type=text] {}
		input[type=url] {}

	textarea {}

	select {}

		select optgroup {}

		select option {}

	button {}
	
	.wpcf7 input[type=email] { width:100%; padding:7px 7px; box-sizing:border-box; border:1px #c4c4c4 solid; }
	.wpcf7 input[type=submit] { background-color:#1c8cce; font-size:14px; border:1px #1c8cce solid; color:#fff; padding:5px 13px; }
	.wpcf7 input[type=submit]:hover { background-color:#34BFC9; transition: .3s all linear; border:1px #34BFC9 solid;}
	.wpcf7 input[type=text] { width:100%; padding:7px 7px; box-sizing:border-box; border:1px #c4c4c4 solid; }
	.wpcf7 textarea { width:100%; padding:7px 7px; box-sizing:border-box; border-color:#c4c4c4; }
	
	.wpcf7-form img.wpcf7-captcha-captcha-799 { width:72px; }
	.wpcf7-form img.wpcf7-captcha-captcha-480 { width:72px; }
	
	
	
	
	

/* === Alignement (WP classes) === */

.alignleft {}

.alignright {}

.aligncenter {}

.alignnone {}


/**
 * Images
 * --------------------------------------------------------------------------- */

img {  }

	a img {}

/* === WP editor image sizes === */

img.size-thumbnail {}

img.size-medium {}

img.size-large {}

img.size-full {}

/* === Thumbnails === */

.thumbnail {}

/* === Captions === */

.wp-caption {}

	.wp-caption img {}

	.wp-caption-text {}

		.wp-caption-text a {}
		.wp-caption-text a:hover {}

/* === Gallery === */

.gallery {}

	.gallery .gallery-item {}

		.gallery-icon {}

			.gallery .gallery-icon img {}

		.gallery .gallery-caption {}

/* === Avatars === */

.avatar {}

	a .avatar {}
	a:hover .avatar {}

/**
 * Layout
 * --------------------------------------------------------------------------- */

	#container {}

		.layout-1c #container {}
		.layout-2c-l #container {}
		.layout-2c-r #container {}
		.layout-3c-l #container {}
		.layout-3c-r #container {}
		.layout-3c-c #container {}

		#header {}

		#menu-primary {}

		#menu-secondary {}
		
		p { margin:0 0 20px 0;}
		
		#main { clear:both; margin-top:-7px; overflow:hidden; background-color:#EDE9E6; }
		.home #main { background-color:#fff; }		
		
		/*.singular-page-6 #main { background-color:#EDE9E6; }*/

			#content { padding:4%; }

			#sidebar-primary {}

			#sidebar-secondary { display:none; border-top:1px #6d6f71 solid; padding-top:20px; }

		#menu-subsidiary {}

		#sidebar-subsidiary { display:none; }
		.home #sidebar-subsidiary { display:block; text-align:center; }

		#footer {}
		
		.header-wrap { clear:both;}
		
.home #sidebar-secondary { display:block; }
.singular-page-6 #sidebar-secondary { display:block; background-color:#EDE9E6; }

.title-excerpt-wrap h3 { margin-bottom:7px; line-height:18px; }
.title-excerpt-wrap h3 a { font-size:18px; color:#4e4e4c; font-weight:bold; }
.title-excerpt-wrap h3 a:hover {color:#1c8bce; }
.title-excerpt-wrap p { font-size:16px; color:#4e4e4c; line-height:20px; margin-bottom:13px; }
.title-excerpt-wrap p a { color:#3D515C; font-size:18px; }
.title-excerpt-wrap p a:hover {color:#1c8bce; }

.recent-posts-list { margin:0; }
		
/**
 * Header
 * --------------------------------------------------------------------------- */

#header { width:100%; }

	#branding { margin:20px auto; text-align:center; position: relative; }

		#site-title { margin:0; }

			#site-title a {}
			#site-title a:hover {}
			#site-title a img { width:100%; padding:0 10%; box-sizing:border-box; }
			
			#branding span { font-size:13px; color:#37ade0; }

		#site-description {}
		
.header-wrap-page { clear:both; }
.header-img img{ width:100%; }
.header-img { position:relative; }
.header-img h1.entry-title { position:relative; display:block; margin-top:10px; padding-left:4%; box-sizing:border-box; color:#1c8cce; }

	.flex-viewport ul.slides li { background:url('images/Shadow.png') center top no-repeat; }

article .post-content { background:url('images/blue-post-icon.png') left top no-repeat; padding-left:65px; border-bottom:1px grey solid; margin-bottom:20px; }
article:last-child .post-content { border-bottom:0; }

/*.header-img:before { content:''; border-bottom:3px blueviolet solid; position:absolute; }*/



/**
 * Menus
 * --------------------------------------------------------------------------- */


/* ====== Primary Menu ====== */


/* ====== Secondary Menu ====== */

#menu-secondary {}

	#menu-secondary .wrap {}

		#menu-secondary ul {}

			#menu-secondary ul ul {}

			#menu-secondary li {}
			#menu-secondary li.current-menu-item {}

				#menu-secondary li a {}
				#menu-secondary li a:hover {}

/* ====== Subsidiary Menu ====== */

#menu-subsidiary {}

	#menu-subsidiary .wrap {}

		#menu-subsidiary ul { margin:0; }

			#menu-subsidiary li { display:inline; padding:0 10px 0 0; }
			#menu-subsidiary li.current-menu-item {}

				#menu-subsidiary li a { color:#4d4c4b; font-size:13px; }
				#menu-subsidiary li a:hover { color:#1c8bce; }
				
#menu-subsidiary .menu-toggle { display:none; }

/**
 * Content
 * --------------------------------------------------------------------------- */

/* ====== BREADCRUMBS ====== */

.breadcrumb-trail {}

	.breadcrumb-trail .trail-begin {}

	.breadcrumb-trail .trail-end {}

	.breadcrumb-trail .sep {}

	.breadcrumb-trail a {}
	
	.breadcrumb-trail a:hover {}


/* ====== POSTS ====== */

.hentry  { color:#2c2c2b; width:100%; }
.sticky {}
#text-2 { display:none; }
.home #text-2 { display:block; } 

ul.about { margin:20px 0 20px 4px; font-size:18px; }
ul.about li:nth-child(1) { background:url('images/Slice 19.png') left center no-repeat; padding-left:30px; }
ul.about li:nth-child(2) { background:url('images/Slice 20.png') left center no-repeat; padding-left:30px; }

.about-h1 { width:68%; margin:0 0 0 4px; color:#1c8bce; line-height:37px; padding-top:0px; font-size:25px; }

.pol h5 {font-size:18px; margin-bottom:5px; clear:both; }
.pol p { margin-bottom:15px; }
.pol a { font-size:13px; margin-bottom:10px; }
.pol a img { width:6%; height:100%; margin-bottom:0; }

.ajax-loader { display:none; }

.issue-page b { font-weight:bold; font-size:15px; margin-bottom:10px; }


	/* === Post Header === */

	.entry-header { }

		.entry-title { font-size:23px; }

			.entry-title a { color:#1c8cce; }
			.entry-title a:hover {}

		.entry-byline {}

			.entry-byline a {}
			.entry-byline a:hover {}

			.entry-byline .published { color:#999; }

	/* === Post content and excerpts === */

	.entry-content { font-size:15px; color:#4e4e4c; }
	.entry-content h1 { font-size:24px; margin-bottom:5px; }

	.entry-summary { padding-bottom:10px; }
	
	.entry-content img { max-width:100%; }
	
	ul.issue-page {margin:0; }
	ul.issue-page li { border-bottom:1px gray solid; margin-top:10px; clear:both; }
	ul.issue-page li:last-child { border-bottom:0; }
	ul.issue-page li p { margin-bottom:10px; }
	.pdf-icon-img { width:50px !important; height:auto; margin:13px 0; clear:both; overflow:hidden; display:block; }
	
	
	.ethics { border-top:1px #BCD8E7 solid; padding-top:18px; }
	.ethics p span { color:#37A4E7; font-weight:bold; }
	.ethics h6 { color:#1084CC; }
	.ethics b {color:#666; font-weight:bold; }

	/* === Post Footer === */

	.entry-footer { clear:both; }

		.entry-meta {}

			.entry-meta a {}
			.entry-meta a:hover {}

			.entry-meta .published {}

			.entry-meta .category {}
			.entry-meta .post_tag {}

	/* === Asides === */

	.format-aside {}

		.format-aside .entry-content a.permalink {}

	/* === Chats === */

	.format-chat {}

		.format-chat .chat-row {}

			.format-chat .chat-text {}

			.format-chat cite {}

			.format-chat .chat-speaker-1 {}
			.format-chat .chat-speaker-2 {}
			.format-chat .chat-speaker-3 {}
			.format-chat .chat-speaker-4 {}
			.format-chat .chat-speaker-5 {}
			.format-chat .chat-speaker-6 {}
			.format-chat .chat-speaker-7 {}
			.format-chat .chat-speaker-8 {}
			.format-chat .chat-speaker-9 {}

	/* === Links === */

	.format-link {}

		.format-link .entry-title {}

			.format-link .entry-title a {}
			.format-link .entry-title a:hover {}

				.format-link .entry-title a .meta-nav {}

	/* === Galleries === */

	.format-gallery {}

		.format-gallery .image-count {}

	/* === Quotes === */

	.format-quote {}

		.format-quote blockquote {}

			.format-quote blockquote cite {}

	/* === Status updates === */

	.format-status

		.format-status .avatar {}

	/* === Audio and Video === */

	.format-video {}
	.format-audio {}


/* ====== Attachment Meta (on image attachment pages) ====== */

.attachment-meta {}

	.attachment-meta .image-gallery {}

	.attachment-meta .image-info {}

		.image-info ul {}

			.image-info ul li {}

				.image-info .prep {}

				.image-info .image-data {}


/* ====== LOOP META ====== */

.loop-meta {}

	.loop-title { display:none; }

	.loop-description {}

/* ====== PAGINATION ====== */

/* === Single posts using <!--nextpage--> === */

.page-links {}

	.page-links .before {}

	.page-links a {}
	.page-links a:hover {}

/* === Single post navigation (between different posts) === */

.loop-nav { margin:10px 0 10px 0; width:60%; }

	.loop-nav a {}
	.loop-nav a:hover {}

	.loop-nav a[rel=prev] {}

	.loop-nav a[rel=next] {}

/* === Archive-type pages === */

.loop-pagination { text-align:center; padding:13px 0 13px 0; }

	.loop-pagination .page-numbers {}

	.loop-pagination a.page-numbers { padding:3px 10px 4px 10px; }
	.loop-pagination a.page-numbers:hover { color:#fff; background-color:#34BFC9; transition: .3s all linear; }

	.page-numbers.current { padding:3px 10px 4px 10px; background-color:#34BFC9; color:#fff; }

/* === Comments pagination === */

.comments-nav {}

	.comments-nav a {}
	.comments-nav a:hover {}

	.comments-nav .page-numbers {}

/**
 * Sidebars and widgets
 * --------------------------------------------------------------------------- */

/* ====== General ====== */

.sidebar {}

	.widget {}

		.widget-title { font-size:28px; }
		
		.home #text-3 { display:none; }
		
		#text-5 { display:none; }
		
		.home #text-5 { display:block; clear:both; padding-top:10px; }

/* ====== Specific ====== */

#sidebar-primary {}

#sidebar-secondary {}

#sidebar-subsidiary { clear:both; }

#sidebar-header {}

#sidebar-before-content {}

#sidebar-after-content {}

#sidebar-after-singular {}

aside#sidebar-subsidiary img { padding:5%; } 
/**
 * Comments Template
 * --------------------------------------------------------------------------- */

#comments-template {}

/* ====== COMMENTS ======= */

#comments {}

	#comments-number {}

	/* === Comments closed message === */

	.comments-closed {}

	.comments-closed.pings-open {}

	/* === Comment list === */

	ol.comment-list {}

		ol.comment-list ol.children {}

		/* === Individual comments */

		li.comment {}

		li.ping {}

		li.bypostauthor {}

			/* === Avatars === */

			.comment-list .avatar {}

			/* === Meta === */

			.comment-meta {}

				.comment-author {}

					.comment-author cite {}

				.comment-meta .published {}

			/* === Comment text/content === */

			.comment-content {}


			/* === Reply link === */

			.comment-reply-link {}
			.comment-reply-link:hover {}


/* ====== RESPOND (COMMENT FORM) ====== */

#respond { margin-top:35px; }

	#reply-title {}

		#reply-title small {}

	#respond .log-in-out {}

	#respond label { display:block; width:12%; }

		#respond label .required {}

	#respond input[type=text] { max-width:100%; padding:7px 7px; border:1px #c4c4c4 solid; box-sizing:border-box; }
	#respond input[type=text]:focus { border:1px #1c8cce solid; }

	#respond input[type=url] { max-width:100%; padding:7px 7px; border:1px #c4c4c4 solid; box-sizing:border-box; }
	#respond input[type=url]:focus { border:1px #1c8cce solid; }

	#respond input[type=email] { max-width:100%; padding:7px 7px; border:1px #c4c4c4 solid; box-sizing:border-box; }
	#respond input[type=email]:focus { border:1px #1c8cce solid; }

	#respond input[type=submit] { background-color:#1c8cce; border:1px #1c8cce solid; font-size:14px; padding:6px 15px; color:#fff; }
	#respond input[type=submit]:focus {}
	#respond input[type=submit]:hover { background-color:#34BFC9; transition: .3s all linear; border:1px #34BFC9 solid; }

	#respond textarea { max-width:100%; padding:7px 7px; border:1px #c4c4c4 solid; box-sizing:border-box; }
	#respond textarea:focus { border:1px #1c8cce solid; }

	ul.our { margin:0; }
	ul.our li { margin-top:40px; padding-left:0; padding-top:95px; }
	ul.our li h6{ margin:0 0 10px 0; }
	ul.our li p { margin-bottom:10px; }
	ul.our li:nth-child(1) { background:url('images/img2.png') left top no-repeat; }
	ul.our li:nth-child(2) { background:url('images/img1.png') left top no-repeat; }
	ul.our li:nth-child(3) { background:url('images/img3.png') left top no-repeat; }
	ul.our li:nth-child(4) { background:url('images/img4.png') left top no-repeat; }
	ul.our li:nth-child(5) { background:url('http://www.asac.asn.au/wp-content/uploads/2017/05/aac-logo.jpg') left top no-repeat; }
	ul.our li:nth-child(6) { background:url('images/img6.png') left top no-repeat; }

	span.next { float:right; }
	
/**
 * Footer
 * --------------------------------------------------------------------------- */

#footer { clear:both; width:96%; padding-left:4%; background-color:#EDE9E6; padding-bottom:20px; }
.home #footer { background-color:#fff; }
  #footer .wrap { }

	#footer .copyright {}

	#footer .credit { font-size:14px; margin:0; }

	#footer a {}
	#footer a:hover {}

/**
 * Media Queries
 * --------------------------------------------------------------------------- */
 
	@media only screen and (max-width: 479px) {
		
		#branding span { font-size:18px; }
		#menu-subsidiary { margin-top:0px; padding-bottom:10px; }
		aside#sidebar-subsidiary img { padding:2%; }
	}
	
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		#footer .credit { width:353px; float:left; }
	}

	@media only screen and (max-width: 767px) {
		
		#branding span { font-size:20px; }
		aside#sidebar-subsidiary img {padding:2%; }
		
	}
	
	@media only screen and (min-width: 768px) and (max-width: 959px){
		#footer .credit { width:358px; float:left; }
		#sidebar-subsidiary .textwidget { width:65%; margin:auto; }
		#content { width:65%; margin:auto; }
		.header-img h1.entry-title { margin-left:13%; }
		.footer-content { padding-left:14%; }
	}

	@media only screen and (min-width: 959px) {
		
		#branding { width:64%; margin:20px auto; }
		#branding span { font-size:25px; margin-top:40px; float:left; }
		#site-title { float:left; margin-bottom:32px; }
		#site-title a img { padding:0; }
		.entry-title { font-size:26px; }
		
		ul.our li { margin-top:40px; padding-left:100px; padding-top:0; }
		ul.our li:nth-child(1) { background:url('images/img2.png') left center no-repeat; }
		ul.our li:nth-child(2) { background:url('images/img1.png') left center no-repeat; }
		ul.our li:nth-child(3) { background:url('images/img3.png') left center no-repeat; }
		ul.our li:nth-child(4) { background:url('images/img4.jpg') left center no-repeat; }
		ul.our li:nth-child(5) { background:url('http://www.asac.asn.au/wp-content/uploads/2017/05/aac-logo.jpg') left center no-repeat; }
		ul.our li:nth-child(6) { background:url('images/img6.png') left center no-repeat; }
		
		
		.slider-wrap{ position: relative; }
		.rt_ASAC_flexslider:before,
		.rt_ASAC_flexslider:after { content: ''; position: absolute; z-index: 999; margin: auto; left:0; right:0; height: 30px; }
		.rt_ASAC_flexslider:before { background: url(images/slider-top-shadow.png) no-repeat top center; }
		.rt_ASAC_flexslider:after { bottom: 7px; background: url(images/slider-bottom-shadow.png) no-repeat top center; }

		.header-img h1.entry-title { position:absolute; left:14.2%; bottom:19px; color:#fff; width:912px; }
		.entry-content { width:95%; height:auto; position:relative; font-size:16px; line-height:20px; padding-right:10px; }
		.entry-content h1 { margin-bottom:10px; }
		.singular-page-6 .entry-content { background-color:#EDE9E6; }
		
		.header-wrap-page { position:relative; }
		.header-img:before,
		.header-img:after { content:''; position:absolute; z-index:999; margin:auto; left:0; right:0; }
		.header-img:before { background:url('images/slider-top-shadow.png') center top no-repeat; height:40px; }
		.header-img:after { border-bottom:8px #fff solid; bottom:7px; opacity:0.5; }
		
		#content { width:64%; margin:auto; padding:30px 0 0 10px; }
		.home #content { background-color:rgba(255,255,255,0.5); overflow:hidden; padding:30px 0 0 35px; }
		.hentry { width:100%; }
		.singular-page-6 .hentry { width:65%; float:left; }
		.home .hentry { width:60%; float:left; }
		.home #text-2 { width:97%; float:left; display:block; }
		.home .recent-post .hentry { width:100%; }
		#text-2 { display:none; }
		#sidebar-secondary { width:35%; float:left; position:relative; border-top:0px; padding:0; }
		#sidebar-secondary:before{ content: ""; width:20px; position: absolute; z-index: 1; box-shadow: -10px 0px 10px -8px rgba(0,0,0,0.2); top: -40px; bottom: 20px; left: 20px; right : 0; }
		.widget-title { margin-left:102px; margin-bottom:-7px; }
		#text-3 .widget-title { margin-left:63px; } 
		.home #main { background:url('images/background.png') center top no-repeat; overflow:hidden; margin-top:12px; }
		
		#sidebar-subsidiary { width:64%; margin: auto; }
		aside#sidebar-subsidiary img { padding:3% !important; }
		.textwidget { margin-left:-22px; }
		
		#footer { width:100%; padding:10px 0 30px 0; }
		#footer .wrap { width:64%; margin:auto; }
		#footer .credit { width:354px; float:left; margin-left:5px; }
		.home #footer .credit { margin-left:19px; }
		#menu-subsidiary li { padding:0; }
		#menu-subsidiary li a { padding:0 7px; border-left:1px #4d4c4b solid; }
		#text-2 .textwidget { margin-left:38px; }
		#text-3 .textwidget { margin-left:17px; }
		#text-4 .textwidget { margin-left:-17px; }
		
		section.recent-posts-wrap ul { margin:0;}
		section.recent-posts-wrap ul li { background:url('images/post-icon.png') left top no-repeat; overflow:hidden; padding:0 0 0 65px; margin-top:13px; }
		section.recent-posts-wrap ul li:first-child article { border-bottom:1px #6d6f71 solid;}	
		section.recent-posts-wrap ul li:last-child article { border-bottom:0px #6d6f71 solid;}
		
		ul.about { margin-left:47px; }
		.about-h1 { margin-left:47px; }
		
		.contact-details { width:50%; float:left; }
		.contact-details b { margin-bottom:5px; font-weight:bold; }
		.contact-details p { margin-bottom:10px; }
		.contact-details aside { margin-bottom:40px; }
		.wpcf7 { width:50%; float:left; }
		
		#text-5 .textwidget { float:right; margin-top:10px; }
		#text-5 .textwidget a { color:#4e4e4c; }
		#text-5 .textwidget a:hover { color:#34BFC9; }
		
	}
	
	
	


/**
 * Clearing Floats
 * --------------------------------------------------------------------------- */

.clearfix::after {
	content:    ".";
	display:    block;
	height:     0;
	clear:      both;
	visibility: hidden;
}