.calendar {
	padding: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	overflow: auto;
	direction: ltr;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none

}

.calendar.calendar-rtl {
	direction: rtl
}

.calendar.calendar-rtl table tr td span {
	float: right
}

.calendar table {
	margin: auto
}

.calendar table td,
.calendar table th {
	text-align: center;
	width: 20px;
	height: 20px;
	border: none;
	padding: 4px 5px;
	font-size: 12px
}

.calendar .calendar-header {
	width: 97%;  /*ori:100% */
	margin-bottom: 20px;
	margin-left:auto;
	margin-right:auto;
	
}

.calendar .calendar-header table {
	width: 100%
}

.calendar .calendar-header table th {
	font-size: 22px;
	padding: 5px 10px
}

.calendar .calendar-header table th:hover {
	background: #eee;
	cursor: pointer
}

.calendar .calendar-header table th.disabled,
.calendar .calendar-header table th.disabled:hover {
	background: 0 0;
	cursor: default;
	color: #fff
}

.calendar .calendar-header table th.next,
.calendar .calendar-header table th.prev {
	display:none;  /*afegit */
	width: 20px
}

.calendar .year-title {
	font-weight: 700;
	text-align: center;
	height: 20px;
	width: auto
}

.calendar .year-neighbor {
	color: #aaa
}

.calendar .year-neighbor2,
.calendar table.month tr td.disabled,
.calendar table.month tr td.disabled:hover {
	color: #798990
}

.calendar .months-container {
	width: 100%;
	display: none
}

.calendar .month-container {
	min-width: 204px;  /*ori:180 > 150 >220*/
	text-align: center;
	height: 220px;
	padding: 0
}

.calendar table.month th.month-title {
	font-size: 16px;
	padding-bottom: 5px
}

.calendar table.month th.day-header {
	font-size: 11px;
	color:#a2a2a2;
}

.calendar table.month tr td,
.calendar table.month tr th {
	padding: 0
}

.calendar table.month td.week-number {
	cursor: default;
	font-weight: 700;
	border-right: 1px solid #eee;
	padding: 5px
}

.calendar table.month tr td .day-content {
	/*
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	 border-radius: 4px; */
	border-radius: 0px;
	padding: 5px 6px;
	font-family: "Helvetica Neue","Helvetica","Arial","sans-serif"
}

.table-striped .calendar table.month tr td,
.table-striped .calendar table.month tr th {
	background-color: transparent
}

.calendar table.month td.day .day-content:hover {
	background: rgba(0, 0, 0, .2);
	cursor: pointer;
}

.calendar table.month td.day.disabled .day-content:hover,
.calendar table.month tr td.new,
.calendar table.month tr td.new:hover,
.calendar table.month tr td.old,
.calendar table.month tr td.old:hover {
	background: 0 0;
	cursor: default
}

.calendar table.month tr td.range .day-content {
	background: rgba(0, 0, 0, .2);
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0
}

.calendar table.month tr td.range.range-start .day-content {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px
}

.calendar table.month tr td.range.range-end .day-content {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px
}

.calendar-context-menu,
.calendar-context-menu .submenu {
	border: 1px solid #ddd;
	background-color: #fff;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
	-webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
	position: absolute;
	display: none
}

.calendar-context-menu .item {
	padding: 5px 10px;
	cursor: pointer;
	display: table;
	width: 100%
}

.calendar-context-menu .item:hover {
	background: #eee
}

.calendar-context-menu .item .content {
	display: table-cell
}

.calendar-context-menu .item span {
	display: table-cell;
	padding-left: 10px;
	text-align: right
}

.calendar-context-menu .item span:last-child {
	display: none
}

.calendar-context-menu .submenu {
	left: 100%;
	margin-top: -6px
}

.calendar-context-menu .item:hover>.submenu {
	display: block
}

/* GMS */

.cal-setmana{
	font-size: 10px !important;
}

.cal-diaSel{
	border: 1px solid rgba(0, 0, 0, 0.125);
}

.div-diaSel {
    box-sizing: border-box;
		1px solid black;
    padding: 10px; /* Añade un poco de espacio interno para que el contenido no esté pegado al borde */
  }

