/* .k-scheduler-toolbar {
  display: none;
} */

#k-license-banner {
  display: none !important;
}

#scheduler {
  margin: 20px 0;
  border: 0;
  background-color: transparent;
}

@media (max-width:1023px) {
	#scheduler {
		overflow-x: auto;
		overflow-y: hidden;
	}
}
#scheduler .k-scheduler-header th {
    text-transform: uppercase;
    text-align: left;
    border: 0;
    padding: 10px 0 30px 0;
    border: 0;
    font-size: 16px;
    font-weight: 700;
    color: #404040;
}

#scheduler .k-scheduler-body .k-scheduler-cell {
    border: 0;
    text-align: left;
    padding: 20px 0;
    font-size: 36px;
    font-weight: 700;
    background: none;
    height:90px;
}

#scheduler .k-scheduler-header,
#scheduler .k-scheduler-header-wrap {
  background-color: transparent;
}


#scheduler .k-scheduler-monthview .k-scheduler-table {
  border-spacing: 20px 0;
}

#scheduler .k-event {
  height: auto !important;
  background-color: transparent;
  padding: 0;
  overflow: visible;
  border-radius: 0 0 0 8px;
}

.calendar-event {
  box-shadow: 0px 0px 15px 0 rgba(0, 0, 0, 0.23);
  border-radius: 0 0 0 8px;
  border-top-left-radius: 0;
  background: white;
  position: relative;
}

.calendar-event--community .calendar-event__title {
  background-image: linear-gradient(32deg, #39b54a 0%, #1b75ba 100%);
}
.calendar-event--jewish .calendar-event__title {
  background-image: linear-gradient(32deg, #3d5499 0%, #759f5a 100%);
}
.calendar-event--family .calendar-event__title {
  background-image: linear-gradient(32deg, #D55237 0%, #F58823 100%);
}

.calendar-event__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-transform:uppercase;
    color:#FFF;
    padding:10px 14px;
	border-radius: 0;
	font-family: var(--thegem-to-menu-font-family, 'Montserrat');
	
}
/*Multi-day */

.calendar-event__mdwrapper {
    display: flex;
}
.calendar-event__mdcalendar {
    width: 45px;
    font-size: 17px;
    color:#FFF;
    padding:7px 14px;
	border-radius: 0 0 0 8px;	
}
.calendar-event__mdtitle {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-transform:uppercase;
    align-items: center; 
    color:#444;
    padding:10px 14px;
	border-radius: 0;
	font-family: var(--thegem-to-menu-font-family, 'Montserrat');
    margin-right: 20px;
	
}
@media (max-width:1199px) {
	.calendar-event__title {
		font-size: 15px;
		padding:10px 10px;
	}
}

.calendar-event__image-wrapper + .calendar-event__title {
  	border-top-right-radius: 0;
}
.calendar-event__description {
    font-size: 13px;
    font-weight:600;
	color: #666;
    padding:10px 14px;
	border-radius: 0 0 0 8px;
}
@media (max-width:1199px) {
	.calendar-event__description {
		font-size: 12px;
		padding:10px 10px;
		gap: 15px;
        display: flex;
        flex-direction: column;
	}
}

.calendar-event__description .far {
  color:#3EB54A;
  font-size: 12px;
  padding-right:4px;
}

.calendar-event__image {
  height: 100%;
  display: block;
  object-fit: cover;
  width: 100%;
  position: absolute;
  top: 0;
}

.calendar-event__image-wrapper {
  border-radius: 0;
  width: 100%;
  padding-top: 80%;
  position: relative;
  overflow: hidden;
}

.calendar-event__calendar i,
.calendar-event__time i {
  color: #3EB54A;
}
.calendar-event__calendar,
.calendar-event__time {
  color: #666;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
  font-family: var(--thegem-to-menu-font-family, 'Montserrat');
}

.calendar-event__popup {
  display: none;
  position: absolute;
  top: -60px;
  left: 80%; /* Display the popup to the right */
  margin-left: 10px; /* Spacing from the title */
  width: 300px;
  background-color: #fff;
  border-radius: 0 0 0 20px;
  box-shadow: 0 2px 25px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

/* Arrow on the popup */
.calendar-event__popup:before {
  content: '';
  position: absolute;
  top: 10px;
  left: -10px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #ccc transparent transparent;
}

.calendar-event__popup .calendar-event__title {
  font-size: 28px;
  text-transform: uppercase;
  border-top-right-radius: 20px;
}

.calendar-event__popup .calendar-event__image-wrapper + .calendar-event__title {
  	border-top-right-radius: 0;
}
.calendar-event__popup-description {
  font-size: 14px;
  color: #666;
  padding: 10px 14px 12px;
}

.calendar-event__popup .calendar-event__calendar i,
.calendar-event__popup .calendar-event__time i {
  color: #3EB54A;
  width:22px;
}
.calendar-event__popup .calendar-event__calendar,
.calendar-event__popup .calendar-event__time {
  color: #666;
  font-size: 16.5px;
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
  font-weight:400;
}



  
.calendar__filter-wrapper {
  margin: 40px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.calendar__filter-label {
  text-transform: uppercase;
  font-weight: bold;
  color: #424242;
}

@media (max-width: 768px) {
  .calendar__filter-label {
    width: 100%;
  }
}

.calendar__filter-block {
  min-width: 100px;
  height: 32px;
  border: 2px solid #777;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  color: #777;
  cursor: pointer;
  padding: 7px 14px;
  line-height: 1.5;
  min-height:40px;
}
.calendar__filter-block.active {
  color: #fff;
}
.calendar__filter-block:hover {
  border: 2px solid #999;
  color: #777;
  background-color: transparent;
}

.calendar-admin__search-wrapper,
.calendar-admin__sort-wrapper {
  position: relative;
  min-height: 40px;
  display: flex;
  padding: 4px 8px;
}

.calendar-admin__search-input {
  border: 2px solid #777 !important;
  border-radius: 6px;
  border: 0 !important;
  width: 40%;
  background: transparent !important;
}


@media (min-width: 768px) {
  .calendar-admin__sort-wrapper {
    justify-content: end;
  }
}

.calendar-admin__sort-wrapper label {
  margin-right: 4px;
}


.calendar__filter-block.search-button{
  border-color: #d3212f; 
  background: #d3212f; 
  color: #fff;
}
.osh_hebrew{
  direction: rtl;
  text-align: right;
}
/*
hebrew
.calendar-search { 
  border-color: #d3212f; background: #d3212f; 
}
.ft-calendar:before {
  content: "\e006"; 
}
*/


/* Ticket 4524 */
.event-item__content {
	gap: 2rem;
}


/* Customizing Calendar */
#scheduler *:not(.far) {
  font-family: var(--thegem-to-menu-font-family, 'Montserrat');
}
.k-input, .k-picker {
  font-family: var(--thegem-to-menu-font-family, 'Montserrat');
}
.calendar-admin__search-wrapper,
.calendar-admin__sort-wrapper,
.calendar__filter-wrapper,
.datepicker-container > div,
#scheduler .k-scheduler-toolbar,
#scheduler .k-scheduler-monthview {
    width:1440px !important;
    max-width:100%;
    margin: 0 auto !important;
    padding: 0;
    display:flex;
    color: #404040;
}
.datepicker-container > div {
    padding: 0 20px;
}
#scheduler .k-scheduler-toolbar,
#scheduler .k-scheduler-monthview {
    padding: 0;
	min-width: 1023px; /* to not squish grid on non mobile devices */
}
.calendar-admin__search-wrapper,
.calendar__filter-wrapper, 
.calendar-admin__sort-wrapper {
	padding: 10px 20px 16px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--thegem-to-menu-font-family, 'Montserrat');
}
.calendar-admin__search-wrapper {
	display: flex;
	flex-wrap:wrap;
    align-items: center;
}
@media (max-width:767px) {
	.calendar-admin__search-wrapper {
		margin-bottom:8px;
	}
}
.calendar-admin__search-wrapper > span:first-child {
	min-width: 180px;
	cursor:pointer;
}
@media (max-width:767px) {
	.calendar-admin__search-wrapper > span:first-child {
		min-width: 100%;
		margin-bottom: 18px;
	}
}
.calendar-admin__search-wrapper .search_clear {
	color:#d3212f;
}
.calendar-admin__search-wrapper input[type="text"] {
	border:3px solid #CCC !important;
    color:#808080;
    padding: 4px 14px;
    margin-right:6px;
    font-size:14px;
    min-height:40px;
}
@media (max-width:450px) {
	.calendar-admin__search-wrapper input[type="text"] {
		min-width: 100%;
		margin-bottom: 4px;
	}
}
#calendar-date {
    font-family: var(--thegem-to-menu-font-family, 'Montserrat');
	font-size: 52px;
	font-weight:700;
	text-transform: uppercase;
	padding: 0 16px 0 0;
	flex:0 0 auto;
}
@media (max-width:767px) {
	#calendar-date {
		font-size: 32px;
	}
}
.datepicker-container {
	position:relative;
    padding: 40px 0 20px;
}
@media (max-width:1199px) {
	.datepicker-container {
		padding: 40px 0 20px;
	}
}

.datepicker-container:before {
	content:"";
    position:absolute;
    top:0;
    left:0;
    height: 10px;
    width:100% !important;
    box-shadow: inset 0px 10px 10px -10px rgba(0,0,0,0.4);
}
.datepicker-container .k-input-solid {
    padding: 0;
    border:0;
}
.datepicker-container .k-input-button {
    background:none;
    color: #d3212f;
    border-inline-start-width: 0;
}
.datepicker-container .k-input-button .k-svg-icon > svg {
    fill: #d3212f;
}
.k-scheduler-toolbar {
	background:none;
	border:0;
}
.k-scheduler-monthview .k-scheduler-content {
    padding-bottom: 20px;
	overflow: auto;
}
.k-scheduler-layout > tbody > tr > td {
	border:0 !important;
	padding:0 !important;
}

.k-scheduler-layout {
	border:0;
	background:none;
}

/* date */


#scheduler .k-nav-day {
	display:block;
	color:#666;
}
#scheduler .k-nav-day:before {
	content:'';
	display:block;
	width:100%;
	height:10px;
	border-top:1px solid #CCC;
	margin-top:0;
}

/* weekday */
#scheduler .k-scheduler-header th {
    text-transform: uppercase;
    text-align: left;
    border: 0;
    padding: 10px 4px 0;
    border-bottom: 0;
    font-size: 16px;
    font-weight: 700;
    color: #404040;
}
#scheduler > table > tbody > tr.k-scheduler-head > td,
#scheduler > table > tbody > tr.k-scheduler-body > td {
border:0;
  padding:0;
}


.k-event .k-event-actions:first-child {
  margin-left: -20px;
}


.datepicker-container .k-input-solid {
	width:40px;
}
.datepicker-container .k-input-solid.k-focus {
	box-shadow:none;
}

/* dropdown datpicker */
.k-calendar.k-calendar-md span.k-button-text,
.k-calendar.k-calendar-md span.k-link {
    font-size: 14px;
}



/* mobile device list view */
#mobile-nav {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    margin: 0 18px 4px;
    font-size: 18px;
}
#listView .k-listview-content {
    padding: 10px 14px;
	font-family: var(--thegem-to-menu-font-family, 'Montserrat');
}

.k-listview-item {
	margin-bottom: 20px;
    padding-bottom: 10px;
}

.k-listview-item h3 {
	font-size: 22px;
    line-height: 1.25;
    padding: 10px;
	margin: 5px 0 0;
}

[role="button"] {
	cursor:pointer;
}

/* EVENT SEARCH Data */
/* evt-search-dd Container */
.evt-search-dd-container {
  position: relative; /* Ensures the list positions relative to the container */
  width: 900px; /* Adjust width as needed */
  margin-left: 100px;
}
 
/* Trigger Button */
.evt-search-dd-trigger {
  width: 100%;
  padding: 12px 16px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
 
.evt-search-dd-trigger:hover {
  border-color: #999;
}
 
.evt-search-dd-trigger:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); /* Accessible focus ring */
}
 
/* evt-search-dd List (Hidden by Default) */
.evt-search-dd-list {
  position: absolute; /* Positions the list below the trigger */
  top: 100%; /* Aligns the top of the list with the bottom of the trigger */
  left: 0;
  width: 100%; /* Matches the trigger width */
  max-height: 0; /* Collapsed by default */
  overflow-y: hidden; /* Hides overflow when collapsed */
  background-color: white;
  border: 1px solid #e0e0e0;
  border-top: none; /* Removes top border to merge with trigger */
  border-radius: 0 0 4px 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: max-height 0.3s ease; /* Smooth expand/collapse animation */
  z-index: 100; /* Ensures the list appears above other content */
}
 
/* Show the List When Active */
.evt-search-dd-list.active {
  max-height: 400px; /* Adjust based on your needs */
  overflow-y: auto; /* Enables scrolling if list exceeds max-height */
}
 
/* evt-search-dd Options */
.evt-search-dd-option {
  padding: 12px 16px;
  cursor: pointer;
  border: 2px solid grey;
  border-top: none; /* Removes top border to merge with trigger */
  transition: background-color 0.2s ease;
}
 
.evt-search-dd-option:hover {
  background-color: #f5f5f5; /* Highlight on hover */
}
 
.evt-search-dd-option:active {
  background-color: #e0e0e0; /* Darker highlight when clicked */
}


@media screen and (min-width: 0px) and (max-width: 430px ) {
  #mobile-nav{ display: flex; }  /* show it on smaller screen */
  #listView{ display: block; }  /* show it on smaller screen */
  #scheduler{ display: none; }   /* hide it on larger screens */
  .calendar-admin__search-wrapper { display: none; }
  .calendar__filter-wrapper { display: none; }
}
@media screen and (min-width: 431px ) {
  #mobile-nav{ display: none; }  /* show it on smaller screen */
  #listView{ display: none; }  /* show it on smaller screen */
  #scheduler{ display: block; }   /* hide it on larger screens */
  .calendar-admin__search-wrapper { display: flex; }
  .calendar__filter-wrapper { display: flex; }
}
.cal-loader {
  width: 16px;
  height: 16px;
  box-shadow: 0 30px, 0 -30px;
  border-radius: 4px;
  background: currentColor;
  display: block;
  margin: -50px auto 0;
  position: relative;
  color: #FFF;
  transform: translateY(30px);
  box-sizing: border-box;
  animation: animloader 2s ease infinite;
}
.cal-loader::after,
.cal-loader::before {
  content: '';  
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  box-shadow: 0 30px, 0 -30px;
  border-radius: 4px;
  background: currentColor;
  color: #FFF;
  position: absolute;
  left: 30px;
  top: 0;
  animation: animloader 2s 0.2s ease infinite;
}
.cal-loader::before {
  animation-delay: 0.4s;
  left: 60px;
}

@keyframes animloader {
  0% {
    top: 0;
    color: #612e90;
  }
  50% {
    top: 30px;
    color: rgba(76, 175, 80, 0.2);
  }
  100% {
    top: 0;
    color: #F58823;
  }
}
    