/*!
Theme Name: m10Intranet
Theme URI: https://them.es/starter
Author: media10
Author URI: https://them.es/
Description: 
Version: 3.5.9
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: m10-intranet
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */
body{
	background: #eee !important;
}

#main {
	margin-top:2rem!important;
}

/* custom bootstrap */
.m-2rem {
  margin: 2rem;
}

.mb-2rem {
	margin-bottom: 2rem;
}

/**/

h1,h2,h3,h4,h5,h6,p,a {
	font-family: "Inter", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	
}

p{
	color:#2d2d2d!important;
}

h3{
	font-size:1.4rem !important;
	line-height:1.85rem !important;
	margin-bottom:.5rem !important;
	margin-top:.5rem !important;
}

.primaryFont{
	color:var(--primary-color);
}

.secondaryFont{
	color:var(--secondary-color);
}

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

.btn {
	background: var(--primary-color);
	border-radius: 30px;
	border: 0;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
	cursor: pointer;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	font-size: medium;
	font-weight: 300;
	color: #fff;
	padding: 3px 8px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* custom */

#nav-above{
	display:none;
}

.navbar li {
	padding:0 10px!important;
}

.nav-link{
	color:#EEEEEE !important;
	font-weight:300 !important;
	padding:0 10px;
}

.nav-link:hover {
	text-decoration: underline;
}

.scrollable-div_lg {
	max-height:132vh; /* Restricts the height */ 
}

.scrollable-div_md {
	max-height:100vh; /* Restricts the height */ 
}

.hoz-scrollable-div {
	max-height:100vw; /* Restricts the height */
}

/* post form */

.wpuf-form{
	margin:0;
	padding:0;
	list-style:none;
}

// staff post textarea
.wpuf_post_content_44{
	width:100% !important;
}

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

.wpuf-dashboard-container h2.page-head, .wpuf-dashboard-container thead{
	display:none;
}

.wpuf-dashboard-container .items-table-container table.int_news{
	width:100%;
}

.splw-weather-title{
	margin-bottom:9px !important;
}

/* events post styling*/

.event-featured-image-container {
	margin-bottom: 20px;
	text-align: center;
}

.event-featured-image {
	width: 100%;          /* Makes the image span the full width of its container */
	height: auto;         /* Maintains the image's aspect ratio */
	object-fit: cover;    /* Ensures the image covers its container */
	object-position: center center; /* Centers the image */
	display: block;       /* Prevents inline spacing issues for images */
}

.event-featured-image-container {
	position: relative;
	max-height: 200px;
	overflow: hidden;
}

.event-date-overlay {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 5px 10px;
	border-radius: 10px;
	border:2px solid #000000;
	
}

.event-month {
	font-size: 1.25rem; /* Larger text for the month */
	font-weight: bold;
}

.event-dates {
	font-size: 0.875rem; /* Slightly smaller text for the dates */
}

/* event carousel */

/* Wrapper for the entire carousel */
.event-carousel {
	position: relative;
	overflow: hidden;
	padding: 20px 0;
}

/* The horizontal scrolling area */
.event-carousel-slider {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding-bottom: 10px;
}

/* Hide the scrollbar but keep functionality */
.event-carousel-slider::-webkit-scrollbar {
	display: none;
}
.event-carousel-slider {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/*carousel js styling*/

/* 🔼🔽 Purple Navigation Arrows */
.carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	z-index: 10;
}

.carousel-arrow:hover {
	filter: brightness(0) saturate(100%);
}

.left-arrow {
	left: -40px;
}

.right-arrow {
	right: -40px;
}

.event-carousel-wrapper {
	position: relative;
}



/* Individual Event Item */
.event-item {
	min-width: 300px; /* Adjust for event width */
	max-width: 300px;
	flex-shrink: 0;
	background: white;
	overflow: hidden;
	transition: transform 0.3s ease-in-out;
}
.event-item:hover {
	transform: translateY(-5px);
}

/* Featured Image Styling */
.event-featured-image-container {
	position: relative;
	width: 100%;
	height: 180px;
	overflow: hidden;
	
}
.event-featured-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Event Date Overlay */
.event-date-overlay {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(255, 255, 255, 0.8);
	padding: 5px 10px;
	border-radius: 8px;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
}

/* Title Styling */
.eventcard-title a {
	color: var(--primary-color);
	font-weight: bold;
	font-size: 1.1rem;
	text-decoration: none;
}
.eventcard-title a:hover {
	text-decoration: underline;
}

/* "More" Button Styling */
.evententry-meta .btn, .btn-primary, .button, input#submit {
	background: var(--primary-color);
	border-radius: 30px;
	border: 0px;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
	cursor: pointer;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	font-size: medium;
	font-weight: 300;
	color: #fff;
	padding: 2.8px 15px;
}







/* news posts styling */

.featured-image-container {
	margin-bottom: 20px;
	text-align: center;
}

.featured-image {
	width: 100%;          /* Makes the image span the full width of its container */
	height: auto;         /* Maintains the image's aspect ratio */
	object-fit: cover;    /* Ensures the image covers its container */
	object-position: center center; /* Centers the image */
	display: block;       /* Prevents inline spacing issues for images */
}

.post-author-info {
	display: flex;
	align-items: center;
}

.author-avatar {
	flex-shrink: 0; /* Prevents the avatar from shrinking */
	margin-right: 15px;
}

.author-avatar img {
	width: 16px; /* Smaller avatar size */
	height: 16px;
	border-radius: 50%; /* Makes the avatar round */
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
}

.author-details {
	font-size: 14px;
	color: #333;
	display: flex; /* Enables flexbox for the text */
	flex-direction: column; /* Ensures text stacks vertically */
	justify-content: center; /* Centers the text vertically */
}

.author-name {
	margin: 0;
	font-weight: bold;
}

.author-name a {
	color: #0073aa;
	text-decoration: none;
	transition: color 0.3s;
}

.author-name a:hover {
	color: #005780; /* Darker blue on hover */
}

.author-bio {
	margin: 5px 0 0;
	color: #666; /* Softer text color for the bio */
	font-size: 15px;
	line-height: 1.4;
}

p.post-date{
	margin:0;
}

.card-title, .cardTitle, .eventcard-title, .eventcartTitle {
	display: flex; /* Enables flexbox for the text */
	flex-direction: column; /* Ensures text stacks vertically */
	justify-content: center; /* Centers the text vertically */
	
}

/* staff posts form */
.wpuf-form li {
	padding:0!important;
}

input.textfield{
	width:96%;
	padding:5px;
}

.wpuf-submit-button{
	background: var(--primary-color);
	border-radius: 30px;
	border: 0px;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
	cursor: pointer;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	font-size: medium;
	font-weight: 300;
	color: #fff;
	padding: 3px 15px;
}

#wpuf-post-draft{
	display:none;
}

/* staff comments */
.wpulike{
	padding:0 !important;
}

.wpulike-heart .wp_ulike_general_class {
	box-shadow: 0 0 0 1px #eee inset;
	border-radius: 0; 
	padding: 5px;
}

.comment-badge{
	padding: 5px;
}

.comment-badge::hover {
	cursor: pointer;
}

/*custom comments styling */
.custom-comment {
	background:#ffffff;
	padding: 0;
	border:0;
	margin-bottom: 10px;
}

.comment-author img {
	width: 32px;
	height: 32px;
	margin-right: 10px;
	display:none;
}

.comment-author-name {
	font-weight: 400;
}

.comment-meta {
	font-size: 12px;
	color: #6c757d;
}

.comment-text {
	font-size: 14px;
	padding:0;
}

.comment-text p{
	padding:0;
	margin:0;
}

.comment-reply {
	margin-top: 5px;
	display:none;
}



/* custom buddy form styling */
.buddyform-submissions {
	margin: 20px 0;
	font-family: Arial, sans-serif;
}

.buddyform-submissions .submission {
	border: 1px solid #ddd;
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 8px;
	background-color: #f9f9f9;
}

.buddyform-submissions .submission h3 {
	font-size: 1.5em;
	margin-bottom: 10px;
}

.buddyform-submissions .comments ul {
	list-style-type: disc;
	margin-left: 20px;
}

.buddyform-submissions .likes {
	margin-top: 10px;
	font-weight: bold;
}

/* staff sales */
.staff-item{
	padding:0.5rem 0 0 0;
}

/* sell a product */

.wpuf_product_description_57{
	width:96% !important;
}

.wpuf_submit_57{
	padding: 3px 45px;
}

/* marketplace page styling*/

.product-featured-image {
	width: 100%;          /* Makes the image span the full width of its container */
	height: 300px;         /* Maintains the image's aspect ratio */
	object-fit: cover;    /* Ensures the image covers its container */
	object-position: center center; /* Centers the image */
	display: block;       /* Prevents inline spacing issues for images */
}

.marketplace-item-title {
	//height:60px; /* Fixed height */
	//display: flex;
	align-items: center; /* Vertical centering */
	text-align: left; /* Ensures multi-line text stays centered */
}

/** random colleague search styling **/

ul.wpuf-form li .wpuf-fields a.file-selector {
	display: inline;
	text-decoration: none;
	padding: 3px 15px!important; 
	margin: 0!important;
	height: 30px;
	line-height: 28px;
	border: 2px solid var(--primary-color) !important;
	-webkit-border-radius: 50px!important;
	-moz-border-radius: 50px!important;
	border-radius: 50px!important;
	background: none;
	color: var(--primary-color) !important;
	box-shadow: none!important;
	vertical-align: top;
	cursor: pointer;
	font-weight:400!important;
	
	
}

a#colleague-name {
	color:var(--primary-color) !important;
}

.input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}

.input-wrapper select,
.input-wrapper input[type="text"] {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 0.5rem; /* leave space for icon */
  border: 1px solid #414141;
  border-radius: 4px;
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Purple square + white arrow */
.input-wrapper.select-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2.5rem;
  height: 100%;
  background-color: var(--primary-color);
  background-image: url("data:image/svg+xml,%3Csvg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.8rem;
  border-radius: 0 3px 3px 0;
  pointer-events: none;
}

/* Purple square + white magnifying glass for input */
#m10-colleague-search-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.m10-colleague-search-help {
  font-size: 12px;
  line-height: 1.4;
  color: #5f6368;
}

.m10-colleague-search-empty {
  width: 100%;
  padding: 12px 14px;
  border-left: 4px solid var(--primary-color);
  background: #f6f4fb;
  font-size: 13px;
  line-height: 1.5;
}

.input-wrapper.input-search::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2.5rem;
  height: 100%;
  background-color: var(--primary-color);
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zM10 14a4 4 0 110-8 4 4 0 010 8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.2rem;
  border-radius: 0 3px 3px 0;
  pointer-events: none;
}

/* WordPress block buttons */

.wp-block-button{
	margin-bottom:10px!important;
}
.wp-block-button a.wp-block-button__link{
	border:none;
	background:#663399 !important;
	color:#fff !important;
}