/*
 * jsCalendar v1.4.5
 * 
 * 
 * MIT License
 * 
 * Copyright (c) 2017-2023 Grammatopoulos Athanasios-Vasileios
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 * 
 * jsCalendar adapté pour Deltacms
 *
 */


/* Default Theme */
/* General style */
	.jsCalendar * {
		margin: 0;
		padding: 0;
	}
	.jsCalendar table,
	.jsCalendar table th,
	.jsCalendar table td {
		border: 0;
		box-sizing: content-box;
	}
	#wrapper {
		margin: auto;
		width: 100%;
		max-width : 300px;
		padding: 0;
		border: 0;
	}
	.clear {
		clear: both;
	}
/* Blue default */
	.jsCalendar table {
		margin: auto;
		width: 100%;		
	}
	.jsCalendar.clean-theme tbody td.jsCalendar-previous, .jsCalendar.clean-theme tbody td.jsCalendar-next {
		opacity: 0.2;
	}
	.jsCalendar tr {
		line-height: 0;
		display: inline-block;
		width: 100%;
	}
	.jsCalendar thead .blockTitle {
		height: 40px;
		line-height: 40px;
		width: 100%;
		display:block;
	}
	.jsCalendar thead .jsCalendar-title-left {
		float: left;
	}
	.jsCalendar thead .jsCalendar-title-right {
		float: right;
	}
	.jsCalendar thead .jsCalendar-nav-left,
	.jsCalendar thead .jsCalendar-nav-right {
		border-radius: 10px;
		cursor: pointer;
		font-size: 12px;
		font-weight: bold;
		height: 20px;
		line-height: 20px;
		margin: 10px 8px;
		text-align: center;
		transition: color 0.2s, background-color 0.2s;
		width: 20px;
	}
	.jsCalendar thead .jsCalendar-nav-left:hover,
	.jsCalendar thead .jsCalendar-nav-right:hover {
	}
	.jsCalendar thead .jsCalendar-nav-left {
		float: left;
	}
	.jsCalendar thead .jsCalendar-nav-right {
		float: right;
	}
	.jsCalendar thead .jsCalendar-title-name {
		cursor: default;
		float: left;
		font-size: 18px;
		font-weight: lighter;
		padding-left: 10px;
	}
	.jsCalendar thead .jsCalendar-nav-left:after {
		content: "<";
	}
	.jsCalendar thead .jsCalendar-nav-right:after {
		content: ">";
	}
	.jsCalendar thead .jsCalendar-week-days th {
	}
	.jsCalendar thead .jsCalendar-week-days th,
	.jsCalendar tbody td {
		box-sizing: border-box;
		border-radius: 18px;
		cursor: default;
		display: inline-block;
		font-size: 12px;
		font-weight: lighter;
		height: 36px;
		line-height: 36px;
		margin: 1px 1px;
		text-align: center;
		transition: color 0.1s, background-color 0.2s;
		width: 13%;
	}
	.jsCalendar tbody td:hover {
	}
	.jsCalendar tbody td.jsCalendar-selected {
		box-sizing: border-box;
		border: 2px solid var(--color_link);
		display: inline-block;
		width: 13%;
	}
	.jsCalendar tbody td.jsCalendar-current {
	}
	.jsCalendar tbody td.jsCalendar-previous,
	.jsCalendar tbody td.jsCalendar-next,
	.jsCalendar tbody td.jsCalendar-unselectable {
	}
	.jsCalendar tbody td.jsCalendar-previous:hover,
	.jsCalendar tbody td.jsCalendar-next:hover {
	}

	.jsCalendar tbody td.jsCalendar-unselectable:hover {
	}

	.jsCalendar thead {
		display: block;
	}
	.jsCalendar tbody {
		display: block;
	}

/* Events */
	#events-calendar {
	  width: 100%;
	}
	#events {
	  width: 100%;
	  margin: auto;
	  clear: both;
	}
	#events .title {
	  padding: 5px 0px;
	  text-align: center;
	  margin: 10px 0 0 0;
	  border-radius: 0;
	}
	#events .list {
	  height: auto;
	  min-height : 50px;
	  overflow-y: auto;
	}
	#events .list .event-item {
	  line-height: 24px;
	  min-height: 24px;
	  padding: 2px 5px;
	}
	#events .list .event-item .close {
	  font-weight: bold;
	  font-size: 12px;
	  color: #000;
	  border-radius: 8px;
	  height: 14px;
	  width: 14px;
	  line-height: 12px;
	  text-align: center;
	  float: right;
	  border: 1px solid rgba(0, 0, 0, 0.7);
	  padding: 0px;
	  margin: 5px;
	  display: block;
	  overflow: hidden;
	  background: #F44336;
	  cursor: pointer;
	}
	#events .action {
	  text-align: right;
	}
/*	#events .action input {
	  padding: 0px 5px;
	  font-size: 12px;
	  margin: 10px 5px;
	  border: 1px solid #999999;
	  height: 28px;
	  line-height: 28px;
	  width: 120px;
	  background: #f8f8f8;
	  color: black;
	  cursor: pointer;
	  transition: all 0.2s;
	}
	#events .action input:hover {
	  background: #eee;
	  border: 1px solid #000;
	  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
	}
*/
	#event-form {
	  display: flex;
	  justify-content: flex-end;
	}
	#event-form input[type="text"] {
	  flex: 1;
	  padding: 5px;
	  margin: 0 0 0 2px;
	  font-size: 14px;
	}
	#event-form input[type="submit"] {
	  margin: 0 2px 0 1px;
	}
