/*
 Theme Name:   OOm Elementor Child
 Theme URI:    https://oom.com.sg
 Description:  Child theme for OOm Elementor
 Author:       Your Name
 Author URI:   https://oom.com.sg
 Template:     oom-elementor
 Version:      1.0.0
*/

html {
	overflow-x: hidden;
}


/** Elementor Container **/
.oom-full-viewport {
	width: 100vw !important;
}

.oom-constraint-width {
	max-width:1920px;
	width:100%;
	margin:0 auto;
}

.oom-elementor.e-parent {
	width: 90%;
	margin: 0px auto;
}

#global-footer .top,
.oom-elementor-full-width.e-parent .e-con-boxed {
	width: 90%;
	margin: 0px auto;
}

.oom-elementor-full-width.e-parent {
	width: 100%;
	margin: 0px auto;
}

.oom-elementor.e-parent .e-con-inner > .e-con-inner {
  	width: 100%;
}

.e-loop-item .e-parent .e-con-inner {
	width: 100%;
}

/** Mobile Slide Menu **/
.oom-mobile-logo img {
	width: 80px;
}

.mm-hidden + .mm-navbar__breadcrumbs {
	visibility: hidden;
}

.mm-navbar__breadcrumbs a,
.mm-navbar__breadcrumbs span.mm-separator {
	display: none;
}

.mm-listitem {
	position: unset;
}

.mm-listitem__btn:not(.mm-listitem__text) {
	border-left-width: 0px;
}

/** Payment Gateway **/
.hitpay-payment-gateway-form {
	flex-wrap: inherit;
}

/** Mobile Slide menu **/
#sticky-header i.fas.fa-bars {
	font-size: 35px;
}

/** Elementor Login Ajax **/
.elementor-message-success {
	color: green;
}

.elementor-message-danger {
	color: red;
}

/** Hide Default Arrows **/
.swiper-button-next::after, 
.swiper-button-prev::after {
	content: ""!important;
}
.swiper-button-next,
.swiper-button-prev {
	background-image: none;
}

.swiper-button-next:after, 
.swiper-button-prev:after {
	display: none;
}

/** Custom Display Ratings/Stars **/
.fa-star.checked {
	color: #F4D174;
}

.fa-star {
	color: #808080;
}

/** Rows and Columns */
.oom_column_100 {
	float: left;
	width: 100%;
}

.oom_column_90 {
	float: left;
	width: 90%;
}

.oom_column_80 {
	float: left;
	width: 80%;
}

.oom_column_70 {
	float: left;
	width: 70%;
}

.oom_column_60 {
	float: left;
	width: 60%;
}

.oom_column_50 {
	float: left;
	width: 50%;
}

.oom_column_40 {
	float: left;
	width: 40%;
}

.oom_column_33_33 {
	float: left;
	width: 33.33%;
}

.oom_column_33 {
	float: left;
	width: 33%;
}

.oom_column_30 {
	float: left;
	width: 30%;
}

.oom_column_20 {
	float: left;
	width: 20%;
}

.oom_column_10 {
	float: left;
	width: 10%;
}

/** Cover Spin Loading **/
#oom-cover-spin {
	position:fixed;
	width:100%;
	left:0;right:0;top:0;bottom:0;
	background-color: rgba(255,255,255,0.7);
	z-index:9999;
	display:none;
}

#oom-cover-spin::after {
	content:'';
	display:block;
	position:absolute;
	left:calc(50% - 22px);
	top:calc(50% - 22px);
	width:44px;
	height:44px;
	border-style:solid;
	border-color:black;
	border-top-color:transparent;
	border-width: 4px;
	border-radius:50%;
	-webkit-animation: spin .8s linear infinite;
	-moz-animation: spin .8s linear infinite;
	animation: spin .8s linear infinite;
}

#oom-cart-cover-spin {
	position:absolute;
	width:100%;
	left:0;right:0;top:0;bottom:0;
	background-color: rgba(255,255,255,0.7);
	z-index:9999;
	display:none;
}

#oom-cart-cover-spin::after {
	content:'';
	display:block;
	position:absolute;
	left:calc(50% - 22px);
	top:calc(50% - 22px);
	width:44px;
	height:44px;
	border-style:solid;
	border-color:black;
	border-top-color:transparent;
	border-width: 4px;
	border-radius:50%;
	-webkit-animation: spin .8s linear infinite;
	-moz-animation: spin .8s linear infinite;
	animation: spin .8s linear infinite;
}

@-webkit-keyframes spin {
	from {-webkit-transform:rotate(0deg);}
	to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
	from {transform:rotate(0deg);}
	to {transform:rotate(360deg);}
}

/** Login Popup **/
#oom-signup-form label[for=form-field-i_agree] {
	font-size: 14px;
}

#oom-login-form .elementor-remember-me label {
	font-size: 16px;
}

#oom-login-form .elementor-button {
	width: 100%;
}

#oom-login-form .elementor-lost-password {
	font-size: 16px;
	color: #B4B4B4;
	margin: auto;
	float: right;
}

#oom-login-form .elementor-field-group {
	display: block;
}

#oom-login-form .elementor-register,
#oom-login-form .elementor-login-separator {
	display: none;
}

#oom-signup-form {
	display: none;
}

#oom-login-form .oom-form-link,
#oom-signup-form .oom-form-link {
	text-align: center;
	font-size: 16px;
}

#oom-signup-form label {
	display: none;
}

.mo-openid-app-icons {
	text-align: center;
}

.mo-openid-app-icons>p {
	display: none;
}

.mo-openid-app-icons>a {
	padding-right: 5px;
}

.mo_openid-login-button {
	border-radius: 5px;
	box-shadow: rgb(0 0 0 / 25%) 0px 1px 6px;
}

.mo-openid-app-icons>a {
	padding-right: 5px;
}

/* Login Popup Password Toggle */
#oom-psw-toggle {
	position: absolute;
	top: 10px;
	right: 10px;
}

#oom-psw-reg-toggle {
	position: absolute;
	top: 10px;
	right: 10px;
}

#oom-cfm-psw-reg-toggle {
	position: absolute;
	top: 10px;
	right: 10px;
}

/** Floating icons **/
.oom_float {
	position:fixed;
	padding: 15px;
	color:#FFF;
	padding: 10px 20px;
	text-align:center;
	border-radius: 30px;
	/*box-shadow: 1px 1px 3px #c4c2c2;*/
	z-index: 99;
	font-size: 18px;
	font-weight: 300;
}

.oom_float i {
	font-size: 22px;
}

.oom_left {
	left:20px;
}

.oom_right {
	right:20px;
}

#oom_floating_whatsapp .oom_right {
	bottom: 20px;
	background-color: #27D366;
	padding: 16px;
	width: 60px;
	height: 60px;
}

#oom_floating_whatsapp .oom_right:hover {
	color: #fff;
	background-color: #118C7E;
	bottom: 22px;
	transition: bottom 0.2s ease-in-out;
}

#oom_floating_whatsapp .oom_float i {
	font-size: 30px;
}

/** Responsive **/
@media (max-width: 1920px) {

}

@media (max-width: 1440px) {

}

@media (max-width: 1280px) {

}

@media (max-width: 1024px) {

}

/*
* Surface Pro
*/
@media (max-width: 912px) {

}

/*
* iPad Air
*/
@media (max-width: 820px) {

}

/*
* iPad 9th
*/
@media (max-width: 810px) {

}

/*
* iPad Mini
*/
@media (max-width: 768px) {
	#oom-signup-form label[for=form-field-i_agree] {
		top: -20px;
		left: 20px;
	}
}

@media (max-width: 480px) {

}

@media (max-width: 414px) {

}

/*
* iPhone 14/15
*/
@media (max-width: 395px) {

}

@media (max-width: 375px) {

}

@media (max-width: 360px) {

}

@media (max-width: 320px) {

}

@media (max-width: 280px) {

}

/* K */

/* K */
.oom-ns-loop-grid .newsletter-single-post-category-mental-health-advice .oom-ns-loop-date{
	display: none!important;
}

/* ── Excerpt truncate to 4 lines ── */
.oom-ns-excerpt {
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* ── Pagination buttons ── */
.oom-ns-loop-grid .elementor-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
}

/* ── Base button style ── */
.oom-ns-loop-grid .page-numbers {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: #E8B84B !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.oom-ns-loop-grid .page-numbers:hover {
  background: none !important;
}

/* ── Current page — lighter shade ── */
.oom-ns-loop-grid .page-numbers.current {
  background: #F3D896 !important;
  color: #fff !important;
}

/* ── Prev/Next arrow buttons ── */
.oom-ns-loop-grid .page-numbers.prev,
.oom-ns-loop-grid .page-numbers.next {
  background: #E8B84B !important;
  font-size: 0 !important;
}

.oom-ns-loop-grid .page-numbers.prev::before,
.oom-ns-loop-grid .page-numbers.next::before {
  content: '' !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.oom-ns-loop-grid .page-numbers.prev::before {
  background-image: url('/wp-content/uploads/2026/06/Left-Arrow.png') !important;
}

.oom-ns-loop-grid .page-numbers.next::before {
  background-image: url('/wp-content/uploads/2026/06/Right-Arrow.png') !important;
}

/* ── Disabled prev state (first page) ── */
.oom-ns-loop-grid .page-numbers.prev {
  opacity: 0.5 !important;
}


/* ── Archive sidebar ── */
.oom-archive-sidebar {
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ── Archives header text ── */
.oom-archive-header {
  background: #E8B84B;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0.5px;
  color: #F5F5F5;
  text-transform: uppercase;
  padding: 27px 42px;
}

/* ── Year item — border when closed ── */
.oom-archive-year {
  border-bottom: 1px solid #eee;
}

.oom-archive-year:not(:has(.oom-archive-year-btn.open)) {
  border: 1px solid #eee;
  border-radius: 12px;
  margin: 8px 16px;
}

.oom-archive-year:has(.oom-archive-year-btn.open) {
  border-bottom: 1px solid #eee;
}

/* ── Year button text ── */
.oom-archive-year-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0.5px;
  color: #3B3B3B;
}

.oom-archive-year-btn:hover,
.oom-archive-year-btn:focus,
.oom-archive-year-btn:active {
  background: none !important;
  color: #3B3B3B !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ── Chevron icon ── */
.oom-archive-chev {
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  background-image: url('https://emcc.sg.oomdcstaging.com/wp-content/uploads/2026/06/mynaui_chevron-down-solid-1.svg') !important;
}

.oom-archive-chev path {
  display: none !important;
}

.oom-archive-year-btn.open .oom-archive-chev {
  background-image: url('https://emcc.sg.oomdcstaging.com/wp-content/uploads/2026/06/mynaui_chevron-down-solid.svg') !important;
  transform: none !important;
}

/* ── Months list ── */
.oom-archive-months {
  max-height: 0;
  overflow: hidden;
  padding: 0 80px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.oom-archive-year-btn.open + .oom-archive-months {
  max-height: 500px;
  padding: 0 80px 12px;
}

/* ── Month link text ── */
.oom-archive-month {
  display: block;
  padding: 8px 0;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.5px;
  color: #3B3B3B;
  text-decoration: none;
}

.oom-archive-month:hover {
  color: #3B3B3B !important;
}

.oom-archive-month.active {
  color: #E8B84B !important;
  font-weight: 600;
}

/* ── Remove border on closed/disabled year state ── */
.oom-archive-year:not(:has(.oom-archive-year-btn.open)) {
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

/* ── Border between year items, regardless of open/closed state ── */
.oom-archive-year {
  border-bottom: 1px solid #CECECE !important;
}

.oom-archive-year:last-child {
  border-bottom: none !important;
}

/* ── Override any leftover border removal from closed state ── */
.oom-archive-year:not(:has(.oom-archive-year-btn.open)) {
  border: none !important;
  border-bottom: 1px solid #CECECE !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.oom-archive-year:not(:has(.oom-archive-year-btn.open)):last-child {
  border-bottom: none !important;
}


/* ── Hide pagination + load-more while a filter is active ── */
.oom-ns-loop-grid.oom-filtered .elementor-pagination,
.oom-ns-loop-grid.oom-filtered .e-load-more-anchor {
  display: none !important;
}

/* ── Clear-filter button ── */
.oom-clear-filter {
  display: none;
  margin: 16px 42px;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  background: #F3D896;
  color: #7A5A16;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.oom-clear-filter.visible {
  display: block;
}


/*Table*/
.oom-table.tablesorter, table.oom-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}


.oom-table.tablesorter,
table.oom-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
	  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;

}

.oom-table thead tr th:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.oom-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.oom-table tbody tr td:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.2) !important;
}

@media (max-width: 400px) {
  .table-container {
    max-width: 350px;
    overflow-x: visible;
  }

  table.oom-table {
    max-width: 350px;
    min-width: 0;         /* overrides the earlier 480px min-width so it can actually shrink to 350px */
    width: 100%;
    table-layout: fixed;  /* forces columns to share the 350px evenly instead of sizing to content */
  }

  table.oom-table th,
  table.oom-table td {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 12px;
    padding: 8px 6px;
  }

  table.oom-table .table-header-text {
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
  }
}


.oom-table.thirdCol td[colspan="3"] {
  background-color: #EFB41C26 !important;
}
.oom-table.secondCol td[colspan="3"] {
  background-color: #EFB41C26 !important;
}