/* calendar */
table.calendar		{ border-left:1px solid #999; }

td.calendar-day	{
    cursor: pointer;
	min-height:80px;
	font-size:12px;
	position:relative;
	font-weight:bold;
	background:#0090FF;
} * html div.calendar-day { height:80px; }
td.calendar-day:hover	{ background:#808080; }

td.calendar-day-dark {
	background:#BBBBBB;
	min-height:80px;
	font-size:12px;
} * html div.calendar-day-dark { height:80px; }

td.calendar-day-np:hover {
    cursor: pointer;
	background:#808080;
}
td.calendar-day-np	{
	background:#eee;
	min-height:80px;
	font-size:12px;
} * html div.calendar-day-np { height:80px; }

td.calendar-month-head {
	background:#000000;
	color:#FFFFFF;
	font-weight:bold;
	font-family:Tahoma;
	font-size:18px;
	text-align:center;
	padding:5px;
	border-bottom:1px solid #000000;
	border-top:1px solid #000000;
	border-right:1px solid #000000;
}
td.calendar-month-head a {
	display:block;
	text-decoration:none;
	color:#FFFFFF;
}
td.calendar-day-head {
	background:#505050;
	color:#FFFFFF;
	font-weight:bold;
	font-size:14px;
	text-align:center;
	width:120px;
	padding:5px;
	border-bottom:1px solid #808080;
	border-top:1px solid #000000;
	border-right:1px solid #808080;
}
div.day-number {
	background:#999;
	padding:5px;
	color:#fff;
	font-weight:bold;
	float:left;
	margin:-5px 0 0 -5px;
	width:20px;
	text-align:center;
}
div.day-today {
	/* border:1px solid #000000; */
	background:#66FF66;
	padding:5px;
	color:#000000;
	font-weight:bold;
	float:left;
	margin:-5px 0 0 -5px;
	width:20px;
	text-align:center;
}
div.day-show {
	/* border:1px solid #000000; */
	background:#FFFFFF;
	padding:5px;
	color:#000000;
	font-weight:bold;
	float:left;
	margin:-5px 0 0 -5px;
	width:20px;
	text-align:center;
}

/* shared */
td.calendar-day, td.calendar-day-np { width:120px; padding:5px; border-bottom:1px solid #999; border-right:1px solid #999; }

/* booking */
tr.booker {
	height:0px;
}

div.wrapper {
  font-family: "Helvetica Neue", Helvetica, Arial;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #3b3b3b;
  -webkit-font-smoothing: antialiased;
  margin: 0 auto;
  padding: 40px;
  max-width: 800px;
}

div.table {
  margin: 0 0 10 0;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: table;
}
@media screen and (max-width: 800px) {
  div.table {
    display: block;
  }
}

div.row {
  display: table-row;
  background: #f6f6f6;
}
div.row:nth-of-type(odd) {
  background: #e9e9e9;
}
div.row.header {
	font-size: 15px;
	height:32px;
	font-weight: bold;
	color: #ffffff;
	background: #000000;
}
div.row.green {
	background: #27ae60;
}
div.row.blue {
	background: #2980b9;
}
@media screen and (max-width: 800px) {
	div.row {
    	padding: 8px 0;
    	display: block;
	}
}

div.cell {
	font-size: 13px;
	padding: 6px 12px;
	display: table-cell;
	border-right:1px solid #FFFFFF;
}
@media screen and (max-width: 800px) {
	div.cell {
    	padding: 2px 12px;
    	display: block;
	}
}

/* book add */
.addseating {
    cursor: pointer;
}

/* ****************************************************************************************** */
#calendar {
	font-family: Arial, sans-serif;
	width: 100%;
	/* max-width: 900px; */
	margin: 5px auto;
	border: 1px solid #ccc;
	border-radius: 5px;
	overflow: hidden;
}
  
.month {
	display: flex; /* enable flexbox layout on the container */
	justify-content: center; /* center the boxes horizontally */
	align-items: center; /* center the boxes vertically */
	/* height: 30px; */
	background-color: #ccc;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	padding: 10px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
  
.weekdays {
	list-style-type: none;
	background-color: #eee;
	text-align: left;
	margin: 0;
	padding-left: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
}
  
.weekdays li {
	display: inline-block;
	width: calc((100% - 13px) / 7); /* calculate the width dynamically */
	height: 20px;
	line-height: 20px;
	font-size: 20px;
	text-align: center;
	background-color: #f2f2f2;
	/* border: 1px solid #ccc; */
	/* margin-right: -15px; */
}
  
.weekdays li:last-child {
	border-right: none;
}
  
.days {
	list-style-type: none;
	text-align: center;
	margin: 0;
	padding: 0;
}

.days li {
	display: inline-block;
	width: calc(100% / 7);
	height: 120px;
	line-height: 1.5;
	border-radius: 5px;
	box-sizing: border-box;
	padding: 20px 20px 0 0;
	font-size: 24px;
	font-weight: bold;
	border: 1px solid #ccc;
	border-right: none;
	border-bottom: none;
	position: relative;
}
  
.days li span {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	font-size: 16px;
	font-weight: normal;
	background-color: #ccc;
	border-radius: 5px;
	text-align: center;
}
  
.days li:hover {
	background-color: #f5f5f5;
}
  
.days li .events {
	font-size: 12px;
	margin-top: 20px; /* adjust as needed */
	margin-left: 5px; /* adjust as needed */
	line-height: 1.2;
	text-align: left;
	max-height: 70px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-wrap: break-word;
}
.date {
	display: block;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	width: 30px;
	height: 30px;
	line-height: 30px;
	background-color: #fff;
	border: 1px solid #ccc;
	float: left;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 5px;
	margin-bottom: 5px;
	border-radius: 4px;
	box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}
.date.today {
	background-color: #FFC107;
	color: #000;
}
.tag_today {
	background-color: #FFC107;
	color: #000;
	padding: 3px 3px;
    border-radius: 3px;
	line-height: 1.5;
}
.events {
	font-size: 12px;
	font-weight: normal;
	height: 70px;
	margin-top: 0;
	margin-left: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* ------------------------------ */  
.event-list {
	border: 1px solid #e8e8e8;
	background-color: #f9f9f9;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
  }
  
  .event-date {
	text-align: center;
	background-color: #C5C5C5;
	color: #000;
	font-size: 20px;
	font-weight: bold;
	padding: 10px 0;
	margin-bottom: 0px;
  }
  
  .event-date-heading {
	margin: 0;
  }
  
  .event-items {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 16px;
	box-sizing: border-box;
  }
  
  .event-item {
	border: 1px solid #e8e8e8;
	background-color: #fff;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	padding: 16px;
	margin-bottom: 16px;
	box-sizing: border-box;
  }
  
  .event-highlighted {
	background-color: #FFC107;
	border-color: #41431a;
	color: #fff;
  }
  
  .event-time {
	color: #000000;
	font-size: 16px;
	font-weight: bold;
	margin-right: 5px;
	width: 80px;
	text-align: left;
	flex-shrink: 0;
	margin-top: 0px;
  }
  
  .event-description {
	display: flex;
	flex-direction: column;
  }
  
  .event-heading {
	color: #212121;
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 8px;
  }
  
  .event-description-text {
	color: #000000;
	font-size: 14px;
	margin: 0;
  }
  