/*
Theme Name: Decree Child
Theme URI: http://tribunal.org.au/public_html/wp-content/themes/decree-child
Description: decree child theme
Author: James K Lee
Author URI: http://tribunal.org.au
Template: decree
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, responsive-layout, accessibility-ready
Text Domain: decree-child
*/

/* GLOBAL SETTINGS */
body, p, a, li, .entry-content, .hentry, tr td, tr td a {
    font-family: montserrat, "open Sans", Helvetica, Arial, sans-serif;
}
p, td, li {font-size:15px;}
td {vertical-align:middle;}

.site-title a:hover, .site-title a:focus,
body a, p a, a {
    color: #5ca2df; /*GREY BLUE*/
    font-weight: inherit;
	transition: all ease-in-out 0.3s;
}

body a:hover, p a:hover, a:hover,
body a:active, p a:active, a:active{
    color: #ffb366; /*ORANGE*/
}

/*hamburger menu button / toggle */
#menu-toggle-primary, #site-header-menu.toggled-on .dropdown-toggle {
    color: #5ca2df;
}

/* hamburger menu borders */
#site-header-menu.toggled-on .decree-nav-menu li, #site-header-menu.toggled-on .decree-nav-menu, #site-header-menu.toggled-on .dropdown-toggle::after,
#site-header-menu.toggled-on .decree-nav-menu ul {
	border-color: #d1d1d1;}

/* Hamburger sub menu items*/
#site-header-menu.toggled-on .toggled-on a {
	color: #557799;
}

/* hamburger menu */
#menu-toggle-header-top:hover, #menu-toggle-header-right:hover, #menu-toggle-primary:hover, #menu-toggle-secondary:hover, #menu-toggle-header-top:focus, #menu-toggle-header-right:focus, #menu-toggle-primary:focus, #menu-toggle-secondary:focus, #menu-toggle-header-top.toggled-on, #menu-toggle-header-right.toggled-on, #menu-toggle-primary.toggled-on, #menu-toggle-secondary.toggled-on, /* main titles and headings */
.entry-title a:hover, .entry-title a:focus, .entry-meta a:hover, .entry-meta a:focus,
/* Portfolios */ #portfolios-content h2 a:hover, #portfolios-content h2 a:active {color: #7ba5b7;} /* Dark blue */
#portfolios-content h2 {
	line-height: 1;
}
.portfolio-wrap p {
	margin-bottom: 0 !important;
text-align: left;
font-size: 14px;
}
#header-featured-image img, #portfolios-content img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
}
#portfolio-post-4 .portfolio-homepage-image img {
	object-fit: contain !important;
}

#scrollup:hover, #scrollup:focus {
    background-color: #5ca2df; /*GREY BLUE*/
    color: #fff;
	transition: all ease-in-out 0.3s;	
}

/*No Hyphens!! */
.hentry, #contact-info-section
{hyphens:none;}

.no-mg-bottom {
	margin-bottom: 0;
}

/* HEADER */
#site-logo {
	max-width: 120px;
float:left;}

/*Adjust font size of site title and description */
#site-header .site-title a {font-size: smaller;text-transform: none !important;}
#site-description, .site-description {font-size: larger;margin-top: 0;}


/* PRIMARY MENU Main Navigation *//* PRIMARY MENU Main Navigation *//* PRIMARY MENU Main Navigation *//* PRIMARY MENU Main Navigation *//* PRIMARY MENU Main Navigation *//* PRIMARY MENU Main Navigation *//* PRIMARY MENU Main Navigation *//* PRIMARY MENU Main Navigation */
#primary-menu, .menu-primary {
    border-bottom: solid 7px #7ba5b7;
	background: #fff;
}
.menu-primary .decree-nav-menu li .sub-menu {
	border-top: 7px solid #354656;
}
/* set the width so the menu is centred */
#menu-primary-menu {max-width: 800px; margin: 0 auto;}

.menu-primary .decree-nav-menu > li, .menu-secondary .decree-nav-menu > li {
	margin-right: 0; }
.menu-primary .decree-nav-menu > li > a, .menu-secondary .decree-nav-menu > li > a {
	line-height: 60px;
    height: 60px;
}
.decree-nav-menu ul a {
	width:360px !important;
}

/* down arrow after menu item with children */
.menu-item-has-children a::after, .page_item_has_children a::after {line-height: 2 !important;}

.menu-primary .decree-nav-menu > li a {
	padding: 0px 13px 0px 13px;
    vertical-align: baseline;
    color: #354656;
    text-align: left;
	text-transform: none;
    text-decoration: none;
    background: rgba(255, 255, 255, 0);
    border: 0;
    border-radius: 0;
    font-family: inherit;
    font-size: 15px;
    font-weight: normal;
    outline: none;}

/* Current menu item hover */
.menu-primary .decree-nav-menu .current_page_item > a:hover, 
.menu-primary .decree-nav-menu .current-menu-item > a:hover {
	color: #fff !important;
    background: #7ba5b7;
}
.menu-primary .decree-nav-menu .current_page_item > a, 
.menu-primary .decree-nav-menu .current-menu-item > a {
	color: #fff !important;
    background: rgb(81, 128, 148);
}
.menu-primary .decree-nav-menu > li a:hover, .decree-nav-menu > li a:focus {
    color: #fff !important;
	background: #7ba5b7;
}
.menu-primary .decree-nav-menu .sub-menu > li a {
	padding: 10px;
}

/* Highlight the DONATE button on the main menu (last item)*/
#menu-primary-menu > li:last-child a {background:#ffb366 !important;color:#fff !important;transition:ease-in-out 0.3s all;}
#menu-primary-menu > li:last-child a:hover {background:#ff9166 !important;color:#fff !important;transition:ease-in-out 0.3s all;}

.entry-content .wp-block-file .wp-block-file__button, .entry-content .wp-block-button .wp-block-button__link {
	border: 0 !important;
	margin-bottom: 1em;
	background-color: #5ca2df;
	transition: ease-in-out all .4s;
}
.entry-content .wp-block-file .wp-block-file__button:hover, .entry-content .wp-block-button  .wp-block-button__link:hover, .entry-content .wp-block-file .wp-block-file__button:active, .entry-content .wp-block-button  .wp-block-button__link:active {
	background-color: #518094;
	transition: ease-in-out all .4s;
}

/* Slider text hover transition */
div#n2-ss-2 .n2-ss-button-container a, div#n2-ss-2 .n2-ss-button-container a:hover, .n2-ow p a, .n2-ow p a:hover {transition:ease-in-out 0.4s all;}

/* LINK COLOURS in navbar */
.navbar .navbar-nav > .open > a, .navbar .navbar-nav > .open > a:hover, .navbar .navbar-nav > .open > a:focus, .navbar .navbar-nav > li > a:hover, .navbar .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a::before, .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #7ba5b7;
}
/* Hide the "Page" displayed on the front page */
.home #content {display:none;}

/* Breadcrumbs */
#breadcrumbs {
	font-size: 14px;
}
#breadcrumbs > span:first-of-type > span:first-of-type > a {
	background: rgb(81, 128, 148);
	color: #fff;
	padding: 4px 8px;
	border-radius: 4px;
	transition: ease-in-out all 0.4s;
}
#breadcrumbs > span:first-of-type > span:first-of-type > a:hover {
	background: rgb(81, 128, 148);
	transition: ease-in-out all 0.4s;
}
#breadcrumbs span {
	color: rgb(81, 128, 148);
}
#breadcrumbs .breadcrumb_last {
	color: #322;
}

/* List Styling */
.entry-container .entry-content ul > li {
  list-style: none;
}
.entry-container .entry-content ul > li {
  padding-left: 1.3em;
}
.entry-container .entry-content ul > li:before {
  content: "\f101"; 
	color: #737f85;/*#0066aa;*/
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.3em; 
  width: 1.3em; 
}
.entry-content ul.speaker-list li {margin: 0 !important;padding: 3px 0;}


/* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO *//* HERO */
.more-button {display:none;}




/* Portfolio *//* Portfolio *//* Portfolio *//* Portfolio *//* Portfolio *//* Portfolio *//* Portfolio *//* Portfolio *//* Portfolio *//* Portfolio *//* Portfolio *//* Portfolio *//* Portfolio *//* Portfolio *//* Portfolio */

/* In the portfolio section I'm hiding the page headers and using ONLY the text in the custom excerpt for each page. In the custom excerpt I set up a faux h2 header that links to the page. Why? Because the page headings are actually different to the text that I want to appear on the boxes on the homepage. */
#portfolios-content {margin-bottom: 3em;}

.portfolio-wrap .entry-summary p:first-of-type, .portfolio-wrap .entry-summary p:last-of-type {display:none;} /* Wordpress adding random, empty paragraphs :( */

.portfolio-wrap .entry-header
{display:none;}

.portfolio-wrap .entry-summary {
	font-weight: 300;font-size: 15px;}

.portfolio-wrap h2 a {
	font-size: 14pt;
	font-weight: 400;
	color: #1a1a1a;
}

#portfolios-content .entry-container {
    display: block;
    width: 100%;
    background-color: #f2f7f9;
    border-top: 0 none;
    border-left: 1px solid #d0e0e8;
    border-right: 1px solid #d0e0e8;
    border-bottom: 1px solid #d0e0e8;
    border-radius: 0px 0px 4px 4px;
    padding: 15px;
}
#portfolios-content .hentry {
    display: inline-block !important;
    overflow: hidden;
    padding: 0;
    position: relative;
    margin: 1%;
    float: none;
    vertical-align: top;
    width: 30%;
}
#portfolios-content .portfolio-wrap {
	margin: 0 auto;
	max-width:75%;
}
#portfolios-content img {
    border-radius: 4px 4px 0 0;
}
@media screen and (min-width:901px) {
#portfolios-content .hentry {
    width: 25%;}
}
@media screen and (max-width:900px) {
#portfolios-content .hentry {
    width: 48%;}
}
@media screen and (max-width:500px) {
#portfolios-content .hentry {
    width: 95%;}
}

/* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER *//* FOOTER */
.site-footer {
	background-color: #344656;}
.site-footer p {
    color: #9ea5a1 !important;
}
.site-footer ul li a {
    color: #d3dee8;
}
.site-footer ul li a:hover {
    color: #ffb366;
}

.site-footer input[type="search"]:active {border: 1px solid #d3dee8 !important;}

#zoom-social-icons-widget-4.widget ul > li {
    list-style-type: none !important;
}
#custom_html-8 img {max-width:220px;}
.footer-widget-area a:hover, .footer-widget-area a:focus, .footer-widget-area .widget-title a:hover, .footer-widget-area .widget-title a:focus, .footer-widget-area .entry-title a:hover, .footer-widget-area .entry-title a:focus {
    color: #ffb366;
    text-decoration: none;
}
#site-generator {display:none;}

/* //////////////////////////////// Blockquote styling ////////////////////////////////////// */

.page-content blockquote p {
	font-family: 'montserrat';
}

.page-content blockquote {
	border-left: 6px solid #7ba5b7;

}
.page-content blockquote::before {
    color: #7ba5b7;
}

/* ////////////////////////TABLEPRESS////////////////////// */
#tablepress-1 > tbody > tr .column-1 {width: 30%;}
#tablepress-1 > tbody > tr .column-1 img {width: 80%; margin: auto; border-radius: 5px;}
.page-content .tablepress h4 { margin-bottom: 5px;}
.page-content .tablepress p {padding: 0; margin-bottom: 5px;}
.tablepress tbody td {}
.tablepress tbody td {padding-top: 20px;}

/* //////////////////////// TRYBOOKING BUTTONS ////////////////// */
.entry-content .trybooking:visited, .entry-content .trybooking:link {line-height:3;color:#7ba5b7;font-weight:700;letter-spacing:.8px;background:transparent; border:2px solid #7ba5b7;padding:.2em 1em;border-radius:8px;margin:20px 0 40px 0;transition: all 0.3s ease-in-out;text-decoration:none;}
.entry-content .trybooking:hover, .entry-content .trybooking:active {color:#fff;background:#ffb366;border: 2px solid #ffb366;text-decoration:none;}

/*2018 Tribunal sidebar menu */
.APT18-menu p {margin-bottom: 10px;}
.APT18-menu h4 {margin-bottom:10px;margin-top:15px;}


/* ///////////////////////// 2018 Tribunal Session //////////////////////////////// */
.witnesses {display:block; padding:10px 20px;background: rgb(248,248,248);border:1px solid #e4e8ea;border-radius:3px;}

.APT2018-presentations h4, .APT2018-presentations h3 {margin-bottom: 5px !important;}

td {vertical-align: vertical-align: middle !important;}

.menu-apt18 {border:none;}
.menu-apt18 td {padding:5px 10px 10px;border:none;}
.menu-apt18 tr {border-bottom: #ccc solid 1px !important;}
.menu-apt18 img {border-radius:3px;max-width:200px;margin:8px 0;}
.menu-apt18 tr td:first-child {width:220px;}
.wp-image-558 {border-radius:4px;}
.apt18poster {margin:0 12px 12px 0;}

.entry-content h2:first-of-type {padding-top:30px;clear:none;}

/* ///////////////////////// 2019 Citizens' Inquiry //////////////////////////////// */
.please-submit {border:4px solid #ccc;border-radius:4px;padding:15px;margin-bottom:20px;}

/* TRIBUNAL PANEL */

.entry-content .panel-photo, .page-content .panel-bio {border-top:1px #efefef solid;}
.entry-content .panel-photo > img {-webkit-border-radius:75px; -moz-border-radius: 75px; border-radius: 75px; display: block; width: 150px; height: auto; margin-left:auto; margin-right:auto;overflow:hidden;}
.entry-content .panel-photo-b > img {-webkit-border-radius:150px; -moz-border-radius: 150px; border-radius: 150px;}
.entry-content .panel-photo-b {display:block; margin-left:auto; margin-right:auto; overflow:hidden; }

@media screen and (min-width:500px) {
.entry-content .panel-photo {float:left;width:30%;padding-top:1em;border-top:1px #efefef solid;}
.entry-content .panel-bio {float:right;width:70%;padding:1em;border-top:1px #efefef solid;margin-bottom:10px;}
}
@media screen and (max-width:499px) {
.entry-content .panel-photo {float:left;width:99%;padding-top:1em;border:none;}
.entry-content .panel-bio {float:right;width:99%;padding-top:1em;border-bottom:1px #efefef solid;}
}

/* 2019 APT Page */

.apt-2019-page h4 {display:block;padding:2px 15px;background:#5ca2df;color:#fff !important;}
.container .entry-content .apt-2019-page ul > li:before {
  content: "\f101"; 
color: #5ca2df;/*#0066aa;*/
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.3em; 
  width: 1.3em; 
}

.container .entry-content .apt-2019-page ul > li > ul > li:before {
  content: "\f0da"; 
color: #5ca2df;/*#0066aa;*/
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.3em; 
  width: 1.3em; 
}

.box-2019 {float:left;width: 100%;padding: 20px; background:#f7f7f7;border:4px solid #efefef;border-radius:4px;margin-bottom:20px;}

.box-2019b {float:left;width: 100%;padding: 20px; background:#f7f7f7;border:4px solid #1bb14c;border-radius:4px;margin-bottom:20px;}
.entry-content .participate-2019 {margin-bottom:5px;}
.coming-soon {float:left;padding:4px 15px;background:#ffb366;border-radius:5px;color:#fff !important;margin:8px 0;}
.coming-soon p {margin-bottom:3px !important;color:#fff;font-size: 16pt;}

.container .page-content .no-before {list-style-type:none;list-style:none;}
.container .page-content ul.no-before > li::before {content:'';}

/* 2019 CI Landing */

.CI2019-image {float:left;}
.CI2019-title {display: inline;}


/* TESTIMONY VIDEOS */
@media screen and (min-width: 1200px) {
.testimony-videos iframe {
	float: left; 
	width: 31%;
	min-height: 315px;
	margin: 1%;
	}
}
@media screen and (min-width: 750px) and (max-width: 1199px) {
.testimony-videos iframe {
	float: left; 
	width: 45%;
	min-height: 315px;
	margin: 1%;
	}
}
@media screen and (max-width: 749px) {
.testimony-videos iframe {
	float: left; 
	max-width: 100%;
	margin: inherit;
	}
}
.town-nav a {
    background: #ebf6ff;
    padding: 3px 8px;
    margin: 5px;
    border-radius: 3px;
}

button {
	margin: 0 10px;
	border-radius: 4px;
	background: #5ca2df;
	transition: ease-in-out 0.2s all;
	border: 0 !important;
}
button:hover, button:active {
	background: #ffb366 !important;
	transition: ease-in-out 0.2s all;
}
button:focus {
	background: #ff9166 !important;
	transition: ease-in-out 0.2s all;
	outline: 1px dotted #fff;
}
#forminator-module-2218 {
    max-width: 500px;
    display: block;
    margin: 0 auto;
}
/* Footer Legas menu */
.widget .menu > li {
    list-style-type: none;
    display: inline-block;
    margin: 0 15px 0 0;
    font-size: small;
}

/* 2021 Tribunal tables */
table.ci2021 tr td:first-child {
	width: 20%;
}
table.ci2021 tr td:nth-child(2) {
	width: 40%;
}
table.ci2021 tr td:nth-child(n+2) {
	vertical-align: top;
}
table.ci2021 tr:first-child {
	background:#b4dee8;
}
.ci2021-box {
	border: solid 4px #b4dee8;
	border-radius: 4px;
	padding: 12px;
}
.shadow-box {
	box-shadow: 0 0 30px 10px #0002;
	border-radius: 4px;
}

.tor-planning ol > li {
list-style-type: lower-alpha;
margin-left: 2em;
	margin-top: 10px;
}

.tor-planning > li {
	margin-top: 10px;
}
.entry-content .tor-planning {
  max-width: 660px;
  text-align: justify;
  margin: 0 auto !important;
	border: 1px solid #ccc;
  padding: 20px 40px;
  border-radius: 4px;
}
.launch-event {
  padding: 15px 25px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
/*
ol.TOR-sublist > li {
	list-style-type: lower-alpha !important;
}
ol.TOR-list > li:marker,
ol.TOR-sublist > li:marker,
ol.TOR-list > li:before,
ol.TOR-sublist > li:before {
	color: #5ca2df;
	font-weight: 700;
}*/


#mc_embed_signup {
	border: 1px solid #ccc;
}

/* Sessions page */
.session-box .ccchildpage > h3 {display:none;}
.session-box .ccchildpage {
	box-shadow: 0 0 40px 10px #0001;
	border-radius: 4px;}
.session-box .cc-child-pages-thumb {
  max-height: 140px;
  object-fit: cover;
	border-radius: 4px;
}

/*Forminator - re-order label description input */
.forminator-ui a {font-weight: 700;}
.forminator-field {
  display: grid;
}
.forminator-ui .forminator-multiselect {
	display: inline-block;
}
.forminator-ui label.forminator-label {
  order: 1;
}
span.forminator-description {
  order: 2;
}
span.forminator-description span[data-limit=""],
.forminator-ui label.forminator-checkbox,
.forminator-ui input,
.forminator-ui select,
.forminator-ui .forminator-select,
.forminator-ui .forminator-multiselect,
.forminator-ui .forminator-multi-upload,
.forminator-ui .forminator-file-upload ,
.forminator-ui .forminator-phone,
.forminator-ui textarea {
  order: 3;
}
span.forminator-description,
.forminator-file-upload,
.forminator-ui.forminator-custom-form[data-design="flat"] .forminator-checkbox:not(.forminator-checkbox-inline) {
	margin: 10px 0 !important;
}


.forminator-row input[type="button"], .forminator-row  input[type="reset"], .forminator-row input[type="submit"] {
  border: none;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
  background-color: #5ca2df;
  border-bottom: 3px solid #2073bb;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: uppercase;
  text-shadow: none;
}
.page-id-2514 .forminator-ui.forminator-custom-form[data-design="default"] .forminator-action-buttons .forminator-repeater-add, .page-id-2514 .forminator-ui.forminator-custom-form[data-design="default"] .forminator-action-buttons .forminator-repeater-remove {
  margin-top: 12px !important;
  cursor: pointer;
}

#forminator-module-2516 > div:nth-child(6) {margin-bottom: 0;}
#forminator-module-2516 > div:nth-child(6) p {margin-bottom: 10px;}

/*VSEL*/
.vsel-content h3.vsel-meta-title {
color: #2073bb;
}
.vsel-meta-link a {
	color: #fff;
	text-align: center;
	font-weight: 700;
  letter-spacing: 1.1px;	
}
.vsel-meta-link {
	border-radius: 5px;
	padding: 4px 8px;
	display: inline-block;
	background: #5ca2df;
	transition: ease-in-out 0.2s all;
	border: 0 !important;
}
.vsel-meta-link a:hover {
	color: #fff;
	text-align: center;
}
.vsel-meta-link:hover, .vsel-meta-link:active {
	background: #e88d30 !important;
	transition: ease-in-out 0.2s all;
}
.vsel-meta-link:focus {
	background: #ff9166 !important;
	transition: ease-in-out 0.2s all;
	outline: 1px dotted #fff;
}