/*
Theme Name: Provey Portal
Theme URI:
Description:a child theme of Frenchpress, for online.provey.com.au
Author:Andrew J Klimek
Author URI:http://andrewklimek.com
Template:frenchpress
Version:1.0.0
License:GNU General Public License v2 or later
License URI:http://www.gnu.org/licenses/gpl-2.0.html
Tags:
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bg: #fcfcfc;
    --fg: #333;
}

/* Hide hubspot chat feature */
div#hubspot-messages-iframe-container {
  display: none !important;
}

/* AI Chat link */
.menu-item-ai {
  border: 1px solid #3742fa; 
  border-radius: 8px; 
  padding: 4px 9px 3px 7px;
  color: #3742fa;
  top: -5px;
  position: relative;
  margin-bottom: -10px;
}
.menu-item-ai .stars{
  display:inline-block;
  color: #3742fa;              /* both stars take this colour */
  position: relative;
}
.menu-item-ai .stars::before{
  content:"✦";                /* big star */
  font-size:1em;
}
.menu-item-ai .stars::after{
  content:"✧";                /* small star */
  font-size:0.7em;
  position:absolute;
  top:-0.2em;                 /* nudge to overlap like ✨ */
  left:0.55em;
}


/*** temp rules ***/

html.pum-open.pum-open-overlay {
    overflow: initial !important;
}

.screen-reader-text {
	display: none;
}
div#wpadminbar {
	z-index: 99999;/* fix the crazy PUM rule*/
}
body {
	overflow-x: hidden;/* problem with the new absolute + visibility submenus */
}
p:empty {
	display: none;/* might be good in the theme, to fix weird auto-p cases */
}

.page-submenu {
	margin: 0 0 6.4em;
	text-align: center;
}
.page-submenu-item {
	display: inline-block;
	padding: .4em 1.6em;
	color: #7f7f7f;
    background-color: #e1e1e1;
    border-radius: 12px;
    margin: 0.3em 0.7em;
    font-size: 13px;
}
@media (max-width:599px) {
	.page-submenu {
		margin: 0 0 1.6em;
	}
	.page-submenu-item {
		/*		display: block;*/
	}
}

svg {
	fill: currentColor;/* this may end up in parent again. was nice for appling hover link color to logo in top right */
}
/*** end temp ***/

@font-face {
	font-family: 'provey';
	src: url('/wp-content/themes/pecp/fonts/bold.woff2') format('woff2'),
	url('/wp-content/themes/pecp/fonts/bold.woff') format('woff');
	font-weight: 700;
}

@font-face {
	font-family: 'provey';
	src: url('/wp-content/themes/pecp/fonts/regular.woff2') format('woff2'),
	url('/wp-content/themes/pecp/fonts/regular.woff') format('woff');
	font-weight: 400;
}

/* only time we'll use full-width page template in this site is for big tables and we'd want a padding */
.tray--full-width {
	padding: 24px;
}

/* seperator between user functions and other menu items */
.dnav #menu-item-17600 {
	border-left: 1px solid #eaeaea;
	/*	padding-left: 24px;*/
	/*    margin-left: 12px;*/
}

.frm_pro_form, /* styling the form element because that's the element formidable puts a "display:block" on when the form is ready */
.frm_forms > form,/* some forms don't have the frm_pro_form class... maybe just the login form? */
.card  {
	display: block;
	background: #fff;
	padding: 24px;
	margin: 0 0 12px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
	
}
form.frm_pro_form {display: none}/* hide until ready, when formidable puts a display:block on the style attribute on the form element */

.card .frm_pro_form,
.form-not-card .frm_pro_form {
	background: none;
	padding: 0;
	box-shadow: none;
}

table.dataTable {
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
	border-collapse: separate; 
    border-radius: 20px; /* Adjust the value for desired roundness */
    overflow: visible; /* Ensures rounded corners clip content */
	 clip-path: inset(0 round 20px)
 
}
.dataTables_wrapper div.dataTables_filter input {
    margin: 0 0 1.6em 0;
    border-radius: 15px;
}
.fffi > .card {
	margin: 0;
	height: 100%;
}
div.frm_forms.frm_style_formidable-style.with_frm_style {
	/*    max-width: 60em;*/
	margin: 24px auto;
}

body {
	background: #efefef;
}

/*** TABLES ***/
table {
	width: 100%;
	overflow: visible; 
}

tbody {
	vertical-align: top;/* might move to parent theme */
}
/* th, tr {
	background: #fff;
} */
/*tr:nth-of-type(2n),*/
tr.odd {
	background: #ffffff;
}

tr.even {
	background: #fafafa;
}

th {
	background: #dddddd;
	color: #494949;
	border: 1px solid #dddddd;
}

.dnav .main-nav .sub-menu-wrapper {
	background: #fff;
	color: #151724;
	box-shadow: 0 2px 5px 0 rgba(0,0,0,.2);
}

/* this is needed to keep the padding once mobile nav kicks in */
.site-branding {
	/* padding: 20px 0; */
}

h1, h2, h3 {
	font-weight: 600;
}

th, b, strong, h4 {
	font-weight: 600;
}

#footer-top {
	background: #fe5341;
	color: #151724;
	padding: 24px 0;
}

#footer {
	color: #fff;
	background: #1e1e1e;
}
#footer-bottom {
	color: #aaa;
	font-size: 12px;
}
/*Main Font Styles*/
html {
	color: #333;
	font-family: 'Inter', provey, sans-serif;
	font-size: 16px;
	letter-spacing: -0.1px;
}

a {
	transition: color 250ms;
}

/*** MAIN NAV ***/

.dnav #main-menu > .current-menu-ancestor,
.dnav body:not(.home) #main-menu > .current-menu-item {
	border-bottom: 1px solid #fe5341;
	margin-top: 2px;
}
/* only add padding to menu links so the red underline (above) will be at the bottom of the header */
.dnav #main-menu > .menu-item > a {
	/* padding: 24px 18px; */
}
.site-header .menu-item {
	/* padding: 12px 24px; */
}

.mnav .main-nav .menu-item {
	font-size: 16px;
}
.mnav #main-menu .current-menu-ancestor,
.mnav body:not(.home) #main-menu .current-menu-item {
	background: #eee;
}


/*** FORMS ***/

[type=text],
[type=search],
[type=tel],
[type=url],
[type=email],
[type=password],
[type=number],
select {
	height: 50px;
	border: #ccc solid 1px;
    border-radius: 4px;
    width: 100%;
    padding: 10px 16px;
}

/* BUTTONS */
.button, .btn, button, input[type=submit] {
	background: none;
	display: inline-block;
	/*    padding: .4em .8em;*//* is it this font only but it doesn't look centered with even top and bottom padding */
	padding: 0.1ex 0.8em 0.5ex;
	margin: 0 0 1.6em;
	min-width: 8rem;
	text-align: center;
	text-decoration: none;
	/* text-transform: uppercase; */
	transition: all .4s;
	border: 2px solid currentColor;
	/*     font: inherit; */
	font-weight: 700; 
	color: currentColor;
	border-radius: .3em;
	/* theme specific */
	background: #fe5341;
	border-color: #fe5341;
	color: #fff;
	text-transform: lowercase;
	box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
}
/* 2 generic hover effects that will always be acceptable if not great */
.button:hover, .btn:hover, button:hover, input[type=submit]:hover {
	/*    filter: grayscale(1) invert(1);*/
	/* 	opacity: .6; */
	/* theme specific */
	background: none;
	color: #fe5341;
	box-shadow: none;
}
.btn-white,
.btn-o-white:hover {
	background: #fff;
	border-color: #fff;
	color: #333;
}
.btn-white:hover,
.btn-o-white {
	background: none;
	border-color: #fff;
	color: #fff;
}
.btn-black,
.btn-o-black:hover {
	background: #333;
	border-color: #333;
	color: #fff;
}
.btn-black:hover,
.btn-o-black {
	background: none;
	border-color: #333;
	color: #333;
}
/* these are default for now
.btn-red,
.btn-o-red:hover {
background: #fe5341;
border-color: #fe5341;
color: #fff;
}
.btn-red:hover,
.btn-o-red {
background: none;
border-color: #fe5341;
color: #fe5341;
}*/


/*** HEADER ****/
#header {
	background: #fcfcfc;
	margin-bottom: 3.2rem;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}


/*** SIDEBAR ***/

.shortcode-menu li {
	font-weight: 700;
	border-bottom: 1px solid #fff;
	background: #f2f2f2;
	margin: 0;
	padding: 0 23px 0 0;
	display: block;
	text-align: left;
}
.shortcode-menu li a {
	border-left: 5px solid transparent;
	display: inline-block;
	padding: 14px 0 14px 18px;
	transition: all 0.3s ease;
}
.shortcode-menu li a:hover,
.shortcode-menu .current-menu-item > a {
	border-left-color: #93a7af;
}


/*** FAQ ***/
.collapse-list {
	background: #cacaca;
}
.collapse-item {
	padding: 24px;
	border-top: 1px solid #999;
	cursor: pointer;
}
.collapse-list dt {
	margin: 0;
}
.collapse-list dd {
	padding: 0;
	margin: 0;
	max-height: 0;
	transition: max-height cubic-bezier(1,0,0,1) 99ms;
	overflow: hidden;
}
.expanded dd {
	max-height: 200em;
}
.collapse-item > dd > p {
	margin-top: 24px;
}
.collapse-item.expanded {
	background: #f2f2f2;
}
.collapse-item dt::before {
	content: '+ ';
}
.collapse-item.expanded dt::before {
	content: '- ';
}





/* Earlier mobile submenu toggle styling, before styling wecare
* it toggles down like a tree instead of sliding
.menutog {
position: absolute;
top: 0;
right: 0;
padding: 24px;
padding: 12px;
}
.dnav .menutog {
display:none;
}
.menu-item.focus > .menutog {
transform: rotate(180deg);
}
.menutog::after {
content: '';
border: .6ex solid transparent;
border-top-color: currentColor;
vertical-align: middle;
display: inline-block;
}
.mnav .main-nav .sub-menu {
max-height: 0;
overflow: hidden;
transition: max-height cubic-bezier(1,0,0,1) 99ms;
}
.mnav .focus > .sub-menu {
max-height: 50em;
}
*/


/*********
* Acccent Color
*********/
.color1, a:hover { color: #fe5341; }
.bg1 { background: #fe5341; color: #151724; }/* 1: red I thoguht it was supposed to be #f33633 but this is used on the current site and sort of looks better */


/*********
* Mobile
*********/
@media (max-width:432px) {
	.frm_forms {
		padding: 0;
	}
	.tray {
    padding: 0 1rem;
    }
}
@media (min-width:433px) and (max-width:599px) {
	.frm_forms {
		padding: 0.9rem;
	}
	main#primary.site-main {
		padding: 0 0.9rem;		
	}	
}

/*********
* KL customization
*********/

.page-submenu {
	margin: 0 0 2.0em;
	text-align: center;
}
.page-submenu-item {
	display: inline-block;
	padding: .4em 1.2em;
	color: #7f7f7f;
    background-color: #e1e1e1;
    border-radius: 12px;
    margin: 0.3em 0.7em;
    font-size: 13px;
}
#header {
	margin-bottom: 2.0rem;
}
h2 {
	margin: 1.8ex 0 2.4ex
}
.bpress-wrap {
	font-family: provey !important; 
}
p a {     text-decoration: none }

/* BORDER RADIUS / ROUND OFF CARDS AND FORMS */
form, .card {
    border-radius: 20px;
 }
.with_frm_style form, form {
    margin-bottom: 40px;
 }

/* EXCLUDE BORDER-RADIUS FOR 2FA CODE BOX */
form#\32 fa {
	border-radius: 0 !important;
}

/* STYLE MULTI-SELECT DROP DOWN FIELD FOR PROVEY18 STYLING */
.frm_style_provey-2018  input[type=text], .frm_style_provey-2018 select {
    height: 50px !important;
}

.frm_style_provey-2018 .chosen-container-multi .chosen-choices li.search-choice {
    padding: 12px 20px 12px 5px !important;
    margin: 4px 5px 4px 0 !important;
}

.frm_style_provey-2018 ul.chosen-choices {
    height: 50px !important;
}

.frm_style_provey-2018 .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
    top: 14px !important;
}

#login .input {
	padding: 1em 0 1em 0 !important;
}

.language-switcher {
	display:none;
}
/*DATE PICKER FORMIDABLE */
table.ui-datepicker-calendar, select.ui-datepicker-year, a.ui-state-default, select.ui-datepicker-month {
    font-family: 'Inter', provey, sans-serif;
}

/*Adjust menu*/
.site-header .menu-item>a {
    /* margin-bottom: -2px; */
}
.dnav #main-menu > .current-menu-ancestor, .dnav body:not(.home) #main-menu > .current-menu-item {
    margin-top: 0px !important;
}