/*
Theme Name: agora
Author: Preflight
Author URI: https://preflight.com.au/
Description: Custom theme for PESA Agora
Version: 1.0.0
License: GNU General Public License
Tags: 
Text Domain: agora
*/

/*
colors -------------------

Dark Grey #333
Bright Blue: #00ACD3
Gold #FAA741
*/

/* general */
html, body {margin:0;}
body {
	font-family: 'Roboto', sans-serif;
	font-weight:400;
	color:#333;
	min-height: 100vh;
	height: 100%;
	background-color:#fff;
}

#mainbody p, #mainbody li {
	font-family: "ff-tisa-web-pro",serif;
	font-size: 1.1rem;
	line-height: 180%;
}

a {color:#00ACD3;}
a:hover {color:#009EBF;text-decoration: none;}
h1 {font-weight: 900;}
h2,h3,h4 {font-weight: 700;}
img {max-width:100%;height:auto;}
.max40 {max-width:40%;}
table {width:100%;}
td {vertical-align: top;padding:15px;}
b,strong {font-weight:700;}

.btn.btn-info,.btn.btn-success {background-color: #00ACD3;border-color: #00ACD3;}

.post-edit-link {}

.lightgreybg {background: #eee;color: #333;}
.bluebg {background: #00ACD3;color:#EDEDED;}
.darkgreybg {background: #333;color: #aaa;}

.goldtext {color:#FAA741;}

.pad50 {padding-top: 50px;padding-bottom: 50px;}

blockquote {margin: 1em 2em 1em 2em;font-style: italic;}

img.alignright  {float: right;margin: 0 0 15px 15px}
img.alignleft  {float: left;margin: 0 15px 15px 0}

.wp-caption.alignleft {float:left;}
#mainbody p.wp-caption-text {font-size: 0.9em}

/* widgets */

/* header */
#branding a {padding: 40px 0px 10px;display: block;}

#agora_top {text-align: right;}
#agora_top #top_menu, #agora_top #nav-socialmedia {display: inline-block;}
#menu-top-menu a {line-height: 36px;padding: 2px 25px;font-weight: 600;font-size: 14px;}

ul#social-media-icons, ul#social-media-icons li {list-style: none;padding: 0;margin: 0;}
#agora_top ul#social-media-icons {display: block;text-align: right;}
ul#social-media-icons li {display: inline-block;}
ul#social-media-icons a {display: block;text-align: center;height: 40px;width: 40px;padding-top:7px }
.square-fb {background: #608fc7;color:#fff;}
.square-tw {background: #67a9e3;color:#fff;}
.square-yt {background: #fd0000;color:#fff;}
.square-search {background: #333;color:#fff;}
ul#social-media-icons a:hover {color: #fff;}

/* nav */
ul.menu {display: block;text-align: right;}
ul.menu, ul.menu li {list-style: none;margin: 0;padding:0;}
ul.menu li {display: inline-block;}
ul.menu a {display: block;}

#menu-main-menu a {
    padding: 30px 28px;
    font-size: 1.4rem;
    color: #01acd3;
    font-weight: 700;
    text-transform: uppercase;
}
#menu-main-menu a:hover {color:#333}

/* content */
body.page-template-default #mainbody
body.single-post #mainbody {border-top: 20px solid #ddd;padding:20px 0;}

.article-feature-image-container {padding-bottom: 20px;}
.article-feature-image-container img {width: 100%}

.article-category-link {text-align: center;padding: 75px 0 20px;display: block;color:#333;}
.article-category-title {padding: 10px 0}

.agora-article-title {text-align: center;font-size: 3.2rem;margin: 10px 0 20px;}
.agora-article-subtitle {text-align: center;font-size: 2rem;margin: -10px 0 20px;}

header .author_or_editor {font-size: 1.2rem;}
.author_or_editor {color:#333;text-align: center;}
.publication_information {color: #666;text-align: center;font-size: 0.9rem}

.article-container {max-width: 1000px;margin: 15px auto;border-top: 20px solid #ddd;border-bottom: 20px solid #ddd;text-align: justify;padding: 35px 0}

.article-container h3 {margin-top:35px;}
.article-container p {
	/*text-indent: 35px;*/
}

.full_citation {
	background: #fafafa;
    padding: 25px;
   
}

.author-bio {
	background: #fafafa;
    margin-bottom: -35px;
}

.author-bio-image-container {display: inline-block;width: 24%;vertical-align: top;padding: 25px;}
.author-bio-image-container img {width:100%;}
/*.author-bio-image-container div {max-width: 180px;}*/
.author-bio-text-container {display: inline-block;width: 76%;vertical-align: top;position: relative;padding: 25px 25px 25px 0;}
.author-bio-text-container h4 {}
.author-orc-id {display:inline-block;height: 20px;width: 20px;margin:0 0 0 8px;}
header .author_or_editor .author-orc-id {margin:0;}

.acknowledgement {margin-top: 60px;font-size: 0.8em;padding:25px;}

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; }
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* homepage */

.home-about {color:#f5f5f5;font-size: 1.1em;}

#signup .gfield_label {color:#f0f0f0;}
#signup .top_label div.ginput_container {margin-top: 0}
#signup .ginput_container_email input, #signup select {width:100%;}
#signup input[type="submit"] {
	width: 100%;
    background: #faa741;
    border: none;
    padding: 10px;
    color: #000;
}
#signup .gform_wrapper div.validation_error, #signup  .gform_wrapper .validation_message {color:#01acd3;border-color:#01acd3;}

#footer_c .gfield_label {color:#f0f0f0;}
#footer_c .top_label div.ginput_container {margin-top: 0}
#footer_c form input, #footer_c  form select  {border:0}
#footer_c .ginput_container_email input, #footer_c select {width:100%;}
#footer_c input[type="submit"] {
	width: 100%;
    background: #fff;
    border: none;
    padding: 10px;
    color: #000;
}
#footer_c .gform_wrapper div.validation_error, #footer_c  .gform_wrapper .validation_message {color:#000;border-color:#000;}


body div .gform_wrapper ul li.field_description_below div.ginput_container_checkbox,
body div .gform_wrapper ul li.field_description_below div.ginput_container_radio {margin-top:-2px;}

.gform_body label {font-family: 'Roboto', sans-serif;font-weight: normal !important;}
.agora-small-label .gfield_label {font-size: 14px !important;}
body #signup .gform_wrapper ul li.gfield,
#signup .gform_wrapper ul li.gfield.field_sublabel_above.field_description_below+li.gfield {margin-top: 4px;}

#signup .gform_wrapper,
#signup .gform_wrapper .field_sublabel_above .ginput_complex.ginput_container label, 
#signup .gform_wrapper .field_sublabel_above div[class*=gfield_time_].ginput_container label {margin-top:0;}

/*
#signup input[type="text"], #signup input[type="email"] { height: 40px;padding:1px 6px;width: 100%;border:0;max-width: none;}
#signup input[type="button"] {background-color: #FAA741;border-radius: 0;width: 100%;border: 0;max-width: none;}
*/


/* Donation Form 

#gform_1 {font-size: 16px;}
#gform_1 .gfield_checkbox li label, #gform_1 .gfield_radio li label {font-size: 1.1em;}
*/
#gform_1 .gfield_radio li {margin:0;overflow: visible;display: inline-block;}
#gform_1 .gfield_radio input {visibility: hidden;}
#gform_1 .gfield_radio label {
    white-space: nowrap;
    display: inline-block;
    background: #07a3c7;
    padding: 10px 20px;
    border-radius: 6px;
    color: #eee;
    margin: 0 10px 10px -15px;
    max-width: none;
    width: auto;
}
#gform_1  ul.gfield_radio li input[type=radio]:checked+label, #gform_1 .gfield_radio label:hover {
  background: #24c0e4;font-weight: 400;color: #fff;
}

/* Feature */
.pa-feature {display: block;height: 560px;background-repeat: no-repeat;background-size: cover;background-position: center;position: relative;margin: 0 -15px}
.pa-feature-grad {height: 560px;background-image: linear-gradient(to right, rgba(51,51,51,0), rgba(51,51,51,1));}
.pa-feature-text-container {position: absolute;right: 50px;bottom: 50px;text-align: right;width: 75%}
.pa-feature-columns {background-image: url(/wp-content/themes/agora/images/columns_45x46_gold.png);background-repeat: no-repeat;height: 45px;width: 46px;display: inline-block;}
.pa-feature h2 {font-size: 3rem;color: #01acd3;}
.pa-feature .goldtext {font-weight: bold;}

/* Cards */
.pa-card {display: block;background-color: #fff;border-radius: 20px;overflow: hidden;margin-bottom: 30px;}
.pa-card-image-container {background-repeat: no-repeat;background-size: cover;background-position: center;position: relative;height: 250px;}
.whitecols {position: absolute;right: 20px;bottom: 20px;background-image: url(/wp-content/themes/agora/images/columns_34x35_white.png);background-repeat: no-repeat;height: 35px;width: 35px;}
.pa-card-text-container {min-height:220px;padding: 20px;text-align: right;}
.pa-card-category {color: #F8A53F;font-weight: bold;font-size: 14px;}
.pa-card h3 {font-size: 1.5rem;line-height: 125%;color: #333;}

.pa-card-author {margin-top:-4px;font-size: 14px;font-weight: bold;}

.pa-white-btn {background: #fff;color:#333;padding: 12px 15px;margin: 15px auto;text-align: center;width: 200px;font-weight: bold;cursor: pointer;}

.loadmore-finished-note {text-align: center;color:#666;padding: 20px;}

/* agora_events_and_emails */
#agora_events_and_emails h3 {font-weight: normal;font-size:1.4rem;color:#eee;}

ul.agora-link-list {list-style: none;margin: 0;padding: 0;}
ul.agora-link-list li {list-style: none;margin-bottom: 5px;}
.agora-link-list a, .agora-link-list .agora-link-list-item {padding: 6px 12px;display: block;color: #eee;border-left:4px solid #FAA741;background-color: #444;}
.agora-link-list span {display: inline-block;}
.agora-list-date {min-width: 205px;}

#content article.page {padding: 50px 0}

.with-sidebar {display: flex;}
#content.with-sidebar > article, 
#content.with-sidebar > div.article,
#content.with-sidebar > div.category-content
{width: 69.5%;padding-right:50px;}

.with-sidebar > .pesaagora-sidebar {padding-top:50px;width: 30%;}
.with-sidebar > .pesaagora-sidebar li {display:block;list-style: none;border-top:1px solid #999;text-align: left;}
.pesaagora-sidebar a {display: block;padding:15px;}
.pesaagora-sidebar .current_page_item a {color: #333}


/* ACCESS Archive */
.access-archive-item {padding: 8px;background: #fff;margin-bottom: 8px;}
.access-volpage,.access-download {font-size: 80%;color:#da7f10;}
.access-author, .access-title {display: inline;margin-right: 5px;}
.access-download {float: right;}

.accordian_btn {float: right;font-size: 14px;padding: 6px 12px 4px;background: #fafafa;cursor: pointer;}
.accordian_container {border-bottom:1px solid #fff;}

#access_archive_filters button[type="submit"] {
    display: block;
    background: #00acd3;
    width: 100%;
    color: #fff;
}
#access_archive_filters button[type="submit"]:hover {
	 background: #069bbd;
}
#access_archive_list h3 {margin-top: 25px;}

#access_archive_clear_filter {
	position: absolute;
    top: 0;
    right: 0;
}

.access-abstract {padding-bottom: 25px; }

/* related and  promotion */
.agora-section-title {text-align: center;font-size: 1.1rem;margin: 25px;}

.singlefoot {
    padding: 50px 0 80px;
    margin: 50px 0 -25px;
}
.agora-promotion {text-align: center;margin-top: 25px;margin-bottom: 55px;}

/* category info */
.category-page-second-header { margin: 25px 0 50px;border-radius: 20px;overflow: hidden;}
.category-page-second-header > img {width: 100%}
.category-information {
	background: #fafafa;
    padding: 25px;
}

/* tag heading */
body.archive.tag .header > h1 {text-align: center;}


/* epat books grid */
.pf-grid-item-container {padding-bottom: 20px}
#mainbody .pf-grid-item-container p {font-size: 0.8em}

/* Hide Category on the welcome post only */
#post-473 .article-category-title {display: none;}

#home-buttons-section {display: flex;justify-content:space-between;}
.pa-home-btn {padding:25px;}
.btn-feature {color:#fff;background-color: #00acd3;}

/* footer */
#footer {position: relative;}
#footer h3 {color:#000;}
#footer p {font-size:0.95em}
#footer a {color:#fff;}
.pa-foot-circle {width: 71px;height: 71px;left:50%;top:-35px;margin-left: -35px;border-radius: 50%;position: absolute;background-image: url(/wp-content/themes/agora/images/columns_34x35_white.png);background-repeat: no-repeat;background-position: center;}
#footer ul#social-media-icons {}
#footer .col-md-4 {margin-bottom: 15px}

/* copyright */
#copyright {padding: 15px;}
#copyright a {color: #ddd;}
#copyright a:hover {color: #fff;}

/* Mobile Nav */
.shiftnav.shiftnav-skin-standard-dark ul.shiftnav-menu li.menu-item.current-menu-item > .shiftnav-target {background-color: #444;}

/* Search Results */
body.search-results .agora-search-result {margin-bottom: 25px;padding: 25px;border-left: 6px solid #faa740;background: #f5f5f5;}
body.search-results .agora-search-result h3 {font-size:1.4em;}
body.search-results .agora-search-result h4 {font-size:1.2em;color:#ea9b38;}
body.search-results #content {padding-bottom: 50px}
#mainbody .agora-search-result p {font-size:1em;}

#cookie-law-info-again {display:none !important;}

.hanging-indent {margin-left: 30px;text-indent: -30px;}

/* ############################################  MEDIA QUERIES  ########### */

@media (min-width: 1440px){
	.container {  max-width: 1400px;}
}

@media (max-width: 1440px) {
	.pa-card h3 {font-size: 1.25rem;}
	#menu-main-menu a {padding: 26px 18px;font-size: 1.3em}
	.author-bio-image-container {width: 33%;}
	.author-bio-text-container {width: 66%;}
}

@media (max-width: 1200px) {
	#menu-main-menu a {padding: 20px 16px;font-size: 1.2em;}
}

@media (max-width: 991px) {
	.header-right {display: none}
	#branding a {padding: 20px 0;}

	.with-sidebar {display: block;}
	#content.with-sidebar > article, #content.with-sidebar > div.article, #content.with-sidebar > div.category-content {width: auto;padding-right:0px;}
	.with-sidebar > .pesaagora-sidebar {padding-top:10px;width: auto;}

}

@media (max-width: 767px) {
	.pa-feature {height: 400px;}
	.pa-feature-grad {height: 400px}
	.pa-feature-text-container {right:20px;bottom: 20px;width: 75%;}
	.pa-feature h2 {font-size: 1.75rem}

	.pa-card {margin-bottom: 20px;}
	.pa-card-text-container {min-height: 100px;}

	.agora-article-title {font-size: 2.2rem;}
	#mainbody p, #mainbody li {font-size: 1rem;text-indent: 0;}
	.article-container {padding: 15px 10px;text-align: left;}

	img.alignright,
	img.alignleft {float: none;margin: 15px 0;display: block;}

	.author-bio-image-container {display: block;max-width: none;width:230px;}
	.author-bio-text-container {display: block;max-width: none;padding-left: 25px;width: auto;}

	.home-about {font-size: 0.8em}

	#post-177 table,#post-177 tr, #post-177 td {display: block;width: auto !important;}
	#post-177 td img {max-width: 200px;}
}


@media (max-width: 480px) {
	.home-about {display: none;}
}
