/*
 Theme Name:   Charitywp Child
 Theme URI:    http://charitywp.thimpress.com/
 Description:  Charitywp Child Theme
 Author:       ThimPress
 Author URI:   http://thimpress.com
 Template:     charitywp
 Version:      1.0.0
 Text Domain:  charitywp-child
*/
body {
	color: #666666 !important;
}
h3,h2,h5,h4 {
	color: #000000;
	font-family: 'Roboto' !important;
}


footer {
    background: #58595b !important;
}
/* Header layout fix */
.top-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

/* Put logo + menu nicely */
.top-header .thim-logo{
  flex:0 0 auto;
}

.top-header .thim-menu{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:20px;
}

/* Make menu items horizontal and centered */
.top-header .main-menu ul.nav.navbar-nav{
  display:flex;
  align-items:center;
  gap:18px;
  margin:0;
  padding:0;
  list-style:none;
  font-weight: normal;
}

/* Remove weird spacing */
.top-header .main-menu ul.nav.navbar-nav > li{
  margin:0;
  padding:0;
}

/* Menu link styling baseline */
.top-header .main-menu ul.nav.navbar-nav > li > a{
  display:inline-block;
  padding:12px 0;
  text-decoration:none;
  line-height:1;
}
/*mobile menu*/
body.thim-active-menu>.thim-menu {
	background: #343434;
	color: #ffffff;
}
a.tc-menu-inner {
    color: #ffffff;
}

/* Dropdown alignment (optional) */
.top-header .main-menu ul.nav.navbar-nav li.menu-item-has-children{
  position:relative;
}

/*donate button on header widget*/
.header-donate-btn {
	border-radius: 20px;
    background-color: #f05223;
    padding: 10px 25px !important;
    color: white;
    font-weight: bold;
}
/*search icon*/
i.las.la-search {
    transform: scaleX(-1);
}
/* Remove widget title that pushes header items down */
.top-header .top-sidebar .widget-title,
.top-header .top-sidebar h3{
  display:none !important;
  margin:0 !important;
  padding:0 !important;
}
/* Ensure header row is aligned */
header.site-header .top-header .container{
  display:flex;
  align-items:center;
}

/* Make thim-menu a flex row */
header.site-header .top-header .thim-menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  width:100%;
}

/* Right widgets (Donate + Search) in one line */
header.site-header .top-header .top-sidebar{
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:16px;
}

/* Remove default widget margins */
header.site-header .top-header .top-sidebar .widget{
  margin:0 !important;
  padding:0 !important;
}
/* Search widget alignment */
header.site-header .top-header .widget_search,
header.site-header .top-header .thim-widget-search-box{
  margin:0 !important;
  padding:0 !important;
  display:flex;
  align-items:center;
}
/*header search icon*/
.thim-menu .icon-toggle i {
	font-size: 10px;
}
/*menu bar*/
header.site-header .thim-menu .main-menu .widget_area .sub-menu .menu-item>a, header.site-header .thim-menu .main-menu .menu-item-has-children .sub-menu .menu-item>a {
	font-weight: normal;
}
/* Force dropdown width so wrap can happen */
header.site-header .thim-menu .sub-menu{
  width: 250px !important;      /* adjust 260-340 */
  max-width: 250px !important;
}

/* Override theme nowrap on submenu links */
header.site-header .thim-menu .sub-menu > li > a,
header.site-header .thim-menu .sub-menu > li > a span{
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
  line-height: 1.4;
  display: block;
}
/* Hover color for submenu parent items that are SPAN (no URL) */
header.site-header .thim-menu .sub-menu li:hover > span.tc-menu-inner,
header.site-header .thim-menu .sub-menu li:hover > span.tc-menu-inner > span,
header.site-header .thim-menu .sub-menu li:hover > span.tc-megamenu-title,
header.site-header .thim-menu .sub-menu li:hover > span.tc-megamenu-title > span{
  color: #f36b2b !important;
}
/* Base bottom line for submenu items (span-based parents) */
header.site-header .thim-menu .sub-menu li > span.tc-menu-inner,
header.site-header .thim-menu .sub-menu li > span.tc-megamenu-title{
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid #eeeeee; /* same grey as others */
}
/*img top and right border*/
div#pl-7549,
div#pl-6411,
div#pg-6397-0,
div#pl-7603,
div#pl-13509,
div#pl-13090,
div#pg-6403-0,
div#pl-6889,
div#pl-7612,
div#pl-7626,
div#pl-7630,
div#pl-7631 {
    padding-top: 40px !important;
}
div#pgc-6397-0-0
#pgc-6397-0-0, #pgc-6397-1-0,
#pgc-7603-0-0, #pgc-7603-1-0,
#pgc-13509-0-0, #pgc-13509-1-0,
#pgc-13090-0-0, #pgc-13090-1-0,
#pgc-6403-0-0, #pgc-6403-1-0,
#pgc-6889-0-0, #pgc-6889-1-0,
#pgc-7612-0-0, #pgc-7612-1-0 {
	width: 100% !important;
}
#pgc-6397-0-0 img, 
#pgc-7603-0-0 img, 
#pgc-13509-0-0 img, 
#pgc-13090-0-0 img, 
#pgc-6403-0-0 img,
#pgc-6889-0-0 img, 
#pgc-7612-0-0 img {
	width: 100%;
}
img.alignleft.size-full.wp-image-6696,
img.alignnone.size-full.wp-image-13181,
img.alignnone.size-full.wp-image-13659,
img.size-full.wp-image-10600,
img.alignnone.wp-image-9061,
img.alignnone.wp-image-9021.size-full,
img.alignnone.size-full.wp-image-13179,
img.aligncenter.size-full.wp-image-7879,
img.alignleft.size-full.wp-image-6701, 
img.alignnone.size-full.wp-image-13203 {
    box-shadow: 10px 10px 30px 0px #9f9e9f;
}
.top-img {
    position: relative;
    margin-bottom: 0px;
}
.top-img:before {
    content: "";
    position: absolute;
    right: -16px;
    top: -16px;
    border-right: solid 16px #ff7000;
    height: 100%;
}
.top-img:after {
    content: "";
    position: absolute;
    left: 16px;
    top: -16px;
    border-top: solid 16px #ff7000;
    width: 100%;
}

img.alignleft {
	margin: 0;
}
.alignleft {
    float: unset;
}

/*overview page*/
/*Significant Milestones*/
.year {
    display: table;
    float: left;
    margin-right: 20px;
    position: relative;
}
.year:after {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    width: 22px;
    height: 1px;
    background: #f05423;
}
.year span {
    width: 60px;
    height: 60px;
    margin-right: 40px;
    background: #f05423;
    color: #fff;
    border-radius: 100%;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}
.significant-milestone .content {
    width: 83%;
    float: left;
    margin-top: 18px;
    text-align: justify;
    min-height: 100px;
}

/*board member title align*/
.thim-single-image .wrapper-image .subtitle {
	margin-top: unset !important; 
    color: #f05223;
}
/* Annual Reports list only */
ul.list-ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

ul.list-ul > li {
    position: relative !important;
    padding-left: 18px !important;
}

/* The > */
ul.list-ul > li::before {
    content: ">" !important;
    position: absolute !important;
    left: 0 !important;
    color: #666 !important;
    transition: color 0.2s ease !important;
}

/* Make link not block the hover color */
ul.list-ul > li > a {
    color: inherit !important;
}

/* Hover on the TEXT (a) -> change the > */
ul.list-ul > li > a:hover {
    color: #f05223 !important;
}

ul.list-ul > li:has(> a:hover)::before {
    color: #f05223 !important;
}
/*share button in posts*/
.share-wrapper {
    display: none !important;
}
/*button link hover color*/
a:hover, a:active, a:focus {
    color: #333;
}
/*corporate partners page icon size*/
.contact-row img {
    width: 21px;
    float: left;
    margin-right: 12px;
}
.contact-row {
    padding: 5px 0;
}
.contact-row p {
    display: flex;
    align-items: center;
}
/*career opportunities page*/
/*hide pagination dots*/
.so-widget-sow-slider-default-94a7eeb3f4aa-7572 .sow-slider-base .sow-slider-pagination {
	display: none !important;
}
.our-culture-development {
    gap: 25px;
}
/*hide old career*/
.career-old {
    display: none;
}
/*breadcumb bgcolor*/
.top_site_main .overlay-top-header {
	background: #58595b;
}
/*breadcumb height*/
.top_site_main {
	height: 150px;
}
/*breadcumb heading style*/
.top_site_main .page-title-wrapper .heading__primary {
	font-family: 'Roboto Slab' !important;
    font-size: 26px;
    line-height: 30px;
    font-weight: 300;
    text-transform: uppercase;
}
/*Programmes & Services at CPAS page*/
.thim-overlay-color:before {
	z-index:-1;
}
.page-id-7678 .panel-grid.panel-has-style>.panel-row-style, .panel-grid.panel-no-style {
	justify-content: space-between !important;
}
/*Early Intervention Programme For Infants and Children (EIPIC) page*/
.panel-grid.panel-has-style>.panel-row-style, .panel-grid.panel-no-style {
	justify-content: center;
}

.thim-heading .sc-heading {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
/*Specialised Clinics page*/
.page-id-7789 .thim-post-content,
.list-post-style3 .title:after {
	display: none;
}
.page-id-7789 .list-posts.row {
    display: flex;
}
.page-id-7789 .post-content {
    text-align: center;
}
.page-id-7789 .list-post-style3 .title:after {
	display: none !important;
}
.page-id-7789 .list-post-style3 .title {
	font-size: 14px;
	line-height: 18px;
}
.page-id-7789 .thumbnail {
	display: flex;
    align-items: center;
    justify-content: center;
	border: 1px solid #ededed;
}
.page-id-7789 .col-xs-6 {
    width: 18.5%;
}
.page-id-7789 .list-post-style3 .media img {
	
}
/*Charitable Partnerships with CPAS page*/
#pgc-15053-0-0,
#pgc-15053-1-0,
#pgc-15053-2-0,
#pgc-15053-3-0,
#pgc-15053-4-0 {
	text-align: right;
}
/*Donate to Cerebral Palsy Alliance Singapore page*/
.contect-bg {
    background: url(https://cpas.org.sg/wp-content/uploads/2026/02/contact-bg.png) no-repeat 70% 64px;
    margin: 0;
    min-height: 460px;
}

div#pl-8386 {
    padding-top: 70px;
}
/*heading uppercase*/
.thim-heading .sc-heading .heading__primary {
	text-transform: uppercase !important;
	margin-bottom: 0 !important;
}
/*Volunteer with CPAS*/
#pgc-6421-1-0, #pgc-6421-1-1, #pgc-6421-1-2 {
	width: calc(33.3333% - (0.66666666666667 * 52px)) !important;
}
/*event page*/
.event .thim-single-image .widget-title {
     position: relative;
    top: 60px;
    z-index: 99;
    left: 0px;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.7);
    padding: 3px 10px;
    max-width: 60%;
    font-weight: 500;
	text-transform: uppercase;
}
a.event-btn {
    background-color: #F05223;
    color: #FFF;
    border: 0;
}
a.event-btn:hover {
    background-color: #000;
}
.fa.fa-calendar:before {
	color: #F05223;
}
.address {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
}
.page-id-6415 .panel-grid.panel-has-style>.panel-row-style {
	gap: 10px;
}
#pg-6415-0.panel-has-style > .panel-row-style, #pg-6415-0.panel-no-style, #pg-6415-1.panel-has-style > .panel-row-style, #pg-6415-1.panel-no-style, #pg-6415-2.panel-has-style > .panel-row-style, #pg-6415-2.panel-no-style, #pg-6415-3.panel-has-style > .panel-row-style, #pg-6415-3.panel-no-style, #pg-6415-4.panel-has-style > .panel-row-style, #pg-6415-4.panel-no-style {
	justify-content: space-between;
}
/*Championing Para-Sports – Singapore Pools Supports Inclusive Sports For Persons with Cerebral Palsy*/
article .entry-header .blog_title a {
	color: #333 !important;
}
article .entry-header .blog_title a:hover {
	color: #f05223 !important;
}
.single .single-content article .entry-content {
	padding: 0 !important;
}
blockquote {
	font-size: 12px;
	line-height: 16px;
}
/*World CP Day 2025: Step into our Story*/
.list-post-style3 .title:after {
    content: '';
    width: 40px;
    height: 2px;
    position: absolute;
    left: 0;
    display: block;
    transition: all .3s;
    bottom: -15px;
	background-color: #f05223;
	bottom: -5px;
}
/*media coverage*/
.newsroom .textwidget .date {
    display: table;
    width: 79px;
    height: 79px;
    float: left;
    background: #f05424;
    border-radius: 100%;
    margin: 0 20px 20px 0;
    text-align: center;
    position: relative;
}
.newsroom .textwidget .txt-org {
    color: #f05424;
}
.panel-widget-style.panel-widget-style-for-6393-0-0-0 {
    padding: 60px 0;
} 
/*latest news*/
.archive-content article .content-inner {
	width: 100%;
    float: left;
    border: none !important;
    margin-bottom: 40px;
	display: flex;
}
.archive-content article .entry-meta {
	display: none;
}
div#sidebar {
    display: none;
}
nav.loop-pagination ul li .page-numbers, nav.pagination ul li .page-numbers, div.loop-pagination ul li .page-numbers, div.pagination ul li .page-numbers {
	color: #000;
}
.latest-new-1 {
    width: 33.33333333%;
}
.latest-new-2 {
        width: 66.66666667%;
}
.col-sm-9 {
    width: 100%;
}
.archive-content article .content-inner.stories-page {
    width: 100%;
    float: left;
    border: none !important;
    margin-bottom: 40px;
}
/*article*/
.archive-content article .entry-header .blog_title a {
	color: #f05223!important;
}
/*Understanding Cerebral Palsy*/
.thim-box .inner .box-content .title:after {
    content: '';
    width: 39px;
    height: 2px;
    background: #FFF;
    position: absolute;
    bottom: -28px;
    left: 0;
    right: 0;
    margin: auto;
}
#pg-w69c354d33872d-1> .panel-row-style {
	justify-content: space-between !important;
}

.top-header .main-menu ul.nav.navbar-nav {
	gap: 0 !important;
}
.cky-consent-container .cky-consent-bar {
	background: #000000b3 !important;
	padding: 13px 10px !important;
}
.cky-notice-btn-wrapper .cky-btn {
	background: #000 !important;
	padding: 3px 8px !important;
	border-color: #000 !important;
}
.cky-notice-des a.cky-policy {
	color: #fff !important;
	font-weight: 700 !important;
}
.cky-notice-group {
	justify-content: center !important;
}
.cky-notice .cky-title {
	display: none !important;
}
/* Fixed bottom button */
.cpas-fixed-bottom-btn{
  /*width: 148px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 20px;
  bottom: 90px;  leave space for cookie bar / back-to-top */
  /*z-index: 99999;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  background: #f15a24;  match your donate orange */
  display: none !important;
}
.contact-block p {
	display: flex;
    align-items: center;
}

.page-id-6571 .thim-heading .sc-heading .heading__primary {
	font-size: 20px !important;
	line-height: 24px !important;
}
.our-management-page.panel-row-style.panel-row-style-for-6491-3,
.our-management-page.panel-row-style.panel-row-style-for-6491-6,
.our-management-page.panel-row-style.panel-row-style-for-6491-7,
.our-management-page.panel-row-style.panel-row-style-for-6491-9,
.our-management-page.panel-row-style.panel-row-style-for-6491-10,
#pg-6469-0.panel-has-style > .panel-row-style, #pg-6469-0.panel-no-style, #pg-6469-1.panel-has-style > .panel-row-style, #pg-6469-1.panel-no-style, #pg-6469-2.panel-has-style > .panel-row-style, #pg-6469-2.panel-no-style, #pg-6469-3.panel-has-style > .panel-row-style, #pg-6469-3.panel-no-style, #pg-6469-4.panel-has-style > .panel-row-style, #pg-6469-4.panel-no-style, #pg-6469-5.panel-has-style > .panel-row-style, #pg-6469-5.panel-no-style {
	justify-content: space-between !important;
}
.page-id-7609 .top-img img,
.page-id-7794 .top-img img,
.page-id-15841 .top-img img,
.page-id-8716 .top-img img,
.page-id-8719 .top-img img {
    width: 100% !important;
}
.page-id-13525 #pg-13525-1, #pg-13525-2, #pl-13525 .so-panel {
	margin-bottom: 0 !important;
}
.page-id-7731 .panel-grid.panel-has-style>.panel-row-style, .panel-grid.panel-no-style,
.page-id-6421 .volunteer.panel-row-style.panel-row-style-for-6421-1 {
	justify-content: space-between;
}
.page-id-7731 .thim-portfolio .portfolios .portfolio .inner .media img {
	width: 100% !important;
}
header.full_width .container, .toolbar-sidebar.full_width .container {
	padding: 0 100px !important;
}

/*breadcumb bar*/
.top_site_main {
    height: 100px !important;
} 
/*stories*/
.list-post-style3 .media img {
	width: 100%;
}
.panel-row-style.panel-row-style-for-w699fc45957b3e-1 {
    gap: 20px;
}

.single .site-content article .entry-header {
	display: none !important;
}

/* Make sure it doesn't hide behind cookie bar on small screens */
@media (max-width: 767px){
  .cpas-fixed-bottom-btn{
    right: 14px;
    bottom: 110px;
    padding: 12px 18px;
  }
}


/*Volunteer with CPAS*/
@media only screen and (max-width: 900px) {
	.top-img:before,
.top-img:after {
	display: none;
}
#pgc-6421-1-0, #pgc-6421-1-1, #pgc-6421-1-2 {
	width: 100% !important;
}
.volunteer.panel-row-style.panel-row-style-for-6421-1 {
	flex-direction: column;
}
	img.alignleft.size-full.wp-image-6701 {
		width: 100%;
	}	
}
/* ===== Force mobile menu from 1200px and below ===== */
@media (max-width: 1280px){

  /* show hamburger */
  .thim-toggle-mobile-menu{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* hide desktop menu bar */
  .thim_header_style2 header.site-header .main-menu.main-menu,
  .thim_header_custom_style.thim_header_style2 header.site-header .top-header .top-sidebar {
      display: none !important;
  }


  /* (optional) reduce header crowding */
  .thim-menu{
    justify-content: flex-end;
  }
}
@media (max-width: 1525px){
	header.full_width .container, .toolbar-sidebar.full_width .container {
		padding: 0 20px !important;
	}
	.thim_header_style2 header.site-header .main-menu .navbar-nav>.menu-item>a>span {
		padding: 3px 15px;
	}
	header.site-header .top-header .thim-menu,
	header.site-header .top-header .container {
		gap: 0;
	}
}

