/*
 Theme Name:   Catch Responsive - Team NSW Court Chaplains Association
 Theme URI:    https://www.successexcellence.com.au
 Description:  Catch Responsive - Team NSW Court Chaplains Association
 Author:       Phillip Thomas - Success Excellence Pty Ltd
 Author URI:   https://www.successexcellence.com.au
 Template:     catch-responsive
 Version:      1.0.1
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  catch-responsive-team-nswcca
*/

/* Theme customization starts here  
-------------------------------------------------------------- */

:root {
  --primary-color: #6d23a7;
  --primary-color-light: #8a4eb8;
  --primary-color-background: #e3ccf4;
}
/*
 *    Global
 */
body {
  background-color: #ffffff;
  color: #535353;
  font-family: "Wix Madefor Text", sans-serif;
  font-size: 1.2;
}
h1,
h2,
h3,
h4,
h5,
h6,
p.site-title,
p.site-description {
  font-family: "Raleway", sans-serif !important;
}
.site-title a:hover,
.site-title a:focus {
  color: var(--primary-color);
  text-decoration: none;
}
h1,
h2 {
  font-weight: 600;
}
/* Increase contrast of links to improve accessibility score */
a.more-link {
  color: var(--primary-color);
  font-family: inherit !important; /*"Wix Madefor Text", sans-serif;*/
  font-size: inherit !important; /* 1.2;*/
}
main {
  width: 100% !important;
}
.um-155.um {
  max-width: 100% !important;
}

/* List table styling */
.wp-list-table a { color:var(--primary-color);}
.wp-list-table a.sepl-action { color:var(--primary-color-light);}
.wp-list-table a.sepl-action:hover { color:var(--primary-color);}
.tablenav a.button:hover, .tablenav a.button:focus { 
  background-color: var(--primary-color-light);
  border-color: var(--primary-color);
  color: white;
}
.tablenav span.button:hover { 
  background-color: var(--primary-color-light);
  border-color: var(--primary-color-light);
}
.sepl-list-table-wrapper *:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Don't show text site header - title and sub-title */
#site-header {
  display: none;
}
#site-branding {
  text-align: center;
  display: block;
  float: none;
  padding-top: 0;
}
#site-logo {
  display: block;
  float: none;
}
.entry-title a:hover,
.entry-title a:focus {
  color: var(--primary-color);
}
/*
 *    Page specific styling
 */

/* Home Page */
body.page-home-page main {
  width: 100% !important;
}
body.page-home-page article.page {
  padding-bottom: 0;
  margin-bottom: 0;
}
body.page-home-page article.page p:last-child {
  margin-bottom: 0;
}

/* Meet The Team Page */
body.page-meet-the-team main {
  width: 100% !important;
}

/* Donate Page */
body.page-donate main {
  width: 100% !important;
}
body.page-donate iframe {
  width: 100% !important;
  height: 1200px !important;
}

li.advgb-tab {
  margin-bottom: 0 !important;
}
li.advgb-tab button {
  box-shadow: none;
}
li.advgb-tab::marker {
  display: none;
  content: "";
}
.advgb-tab-body table {
  border: 0;
  width: auto !important;
}
.advgb-tab-body table td {
  border: 0;
  padding-top: 0;
  padding-bottom: 0;
}
/*
 *    Header Area
 */
#masthead {
  padding: 0;
  margin: 20px 0 0;
}
/* Increase contrast of search field to improve accessibility score */
#masthead .search-field {
  color: #535353;
}

.site-title {
  font-family: "Raleway", sans-serif !important;
  font-weight: 600;
}
.site-description {
  font-family: "Raleway", sans-serif !important;
  font-weight: 700;
  font-size: larger;
}
.logo-right {
  padding: 5px 0px 5px 0px;
}
/* Promotion bar */
#promotion-message {
  border-color: #e3ccf4;
}
#promotion-message .wrapper {
  display: flex;
  align-items: center;
}
#promotion-message h2 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin: 0;
}
#promotion-message p {
  color: var(--primary-color);
}
#promotion-message .left,
#promotion-message .right {
  padding: 12px 20px;
}
#promotion-message .right {
  margin-left: auto;
}
#promotion-message .right .promotion-button {
  background-color: var(--primary-color);
  color: white;
  border-radius: 1em;
  padding: 11px 25px;
  font-family: inherit;
  font-size: inherit;
  border-width: 0;
  margin-top: 0;
}
#promotion-message .right .promotion-button:hover {
  background-color: var(--primary-color-light);
}

/*
 *    Main Menu Area
 */
.nav-primary {
  background-color: var(--primary-color);
}
.fa-solid {
  color: var(--primary-color);
  font-size: 1.75em;
  vertical-align: middle;
  /* font-family: inherit; */
  /*font-size: inherit;*/
}
#scrollup {
  background-color: var(--primary-color);
}
.mobile-menu-anchor a.fa-menu {
  color: var(--primary-color);
}
.entry-meta a {
  color: var(--primary-color);
}

input[type="submit"],
input[type="submit"]:focus,
input[type="submit"]:active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  border-radius: 1em;
  padding: 13px 25px;
  font-family: inherit;
  font-size: inherit;
}

input[type="submit"]:hover {
  background-color: var(--primary-color-light);
  border-color: var(--primary-color);
}

input[type="tel"] {
  border: 1px solid #ccc;
  padding: 5px 10px;
}

select {
  border: 1px solid #ccc !important;
  width: 100% !important;
  padding: 5px 10px;
}

textarea {
  padding: 5px 10px;
}

.wp-block-button {
  background-color: var(--primary-color);
  border-radius: 1em;
}
.wp-block-button__link {
  font-family: inherit !important;
  font-size: inherit !important;
  background-color: var(--primary-color) !important;
  color: white;
  border-radius: 1em;
}
.wp-block-button__link:hover {
  background-color: var(--primary-color-light) !important;
  border-color: var(--primary-color);
}
h2.no-underline a {
  text-decoration: none !important;
}

.volunteer-text {
  padding: 4rem;
  color: black;
  background:
    linear-gradient(
      to right,
      rgba(217, 211, 201, 1) 60%,
      rgba(217, 211, 201, 0)
    ),
    url(http://nswcca.local/wp-content/uploads/2025/04/8168415addfc4b1aa33b7e8f82a30dbb.avif);
}
.volunteer-text p {
  width: 75%;
}

.entry-meta .word-count a:before {
  content: "\1F56E";
}

.entry-meta .reading-time a:before {
  content: "\23f1";
}

/*
 * Tutor LMS Customisations
 */
.tutor-frontend-dashboard-header {
  display: none !important;
}
.tutor-fs-6 {
  font-size: inherit;
}
.tutor-fs-7 {
  font-size: inherit;
}
.tutor-row.tutor-justify-center {
  justify-content: flex-start !important;
}
:root {
  --tutor-color-primary: var(--primary-color);
  --tutor-color-primary-rgb: 109, 35, 167;
  --tutor-color-primary-hover: var(--primary-color-light);
  --tutor-color-primary-hover-rgb: 138, 78, 184;
}

@media screen and (max-width: 990px) {
  #site-branding {
    padding: 0 0 10px 0;
  }
}

@media screen and (max-width: 600px) {
  #promotion-message h2 {
    font-size: 1em;
  }
  #promotion-message .left p {
    display: none;
  }
}

/* Ulimate Member */

div.um-id-card-tab a.button {
  background-color: var(--primary-color);
  color: white;
  border-radius: 1em;
  padding: 11px 25px;
  font-family: inherit;
  font-size: inherit;
  border-width: 0;
  margin-top: 0;
}
div.um-id-card-tab a.button:hover {
  background-color: var(--primary-color-light);
}

.nswcca-id-card-preview-wrapper {
	text-align: center;
	overflow: hidden;
	padding: 20px;
  width: 600px;
  margin: 0 auto;
}
#nswcca-id-card-rotator {
  display: inline-block;
  transform: rotate(90deg) scale(0.72);
  transform-origin: center center;
  transition: transform 0.2s ease;
  will-change: transform;
}
#nswcca-id-card-image {
  display: block;
	max-width: 100%;
	height: auto;
  border: 1px solid var(--primary-color);
}

.nswcca-id-card-controls {
	display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  flex-wrap: wrap;
}

div.um .um-profile-nav-item.active a, div.um .um-profile-nav-item.active a:hover {
  background:var(--primary-color);
}
div.um .um-profile-nav-item a:focus-visible {
  border: 1px solid white !important;
}
div.um .um-profile-nav-item a {
  border: 1px solid transparent !important;
}