.ui-datepicker {
    z-index: 999999 !important;
}

.clases h1 {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 40px;
}


.table {
	border-collapse: collapse;
	margin-top: 30px;
}

.table td, .table th {
	border: 1px solid #ddd;
	padding: 10px;
	background: #fff;
}

.table th {
	font-weight: 700;
}

.clases .button {
	/*margin-bottom: 20px;*/
}

.calendar .month-container {
    width: calc(100% / 6);
    display: inline-block;
    padding: 8px;
    margin-bottom: 20px;
    min-width: 200px;
}

#cvw-festivos {
	margin-top: 20px;
	margin-right: 20px;
}

.clases .insert-table {
	background: #fff;
	border: 1px solid #ddd;
}

.clases .insert-table th, .clases .insert-table td {
	padding: 10px 10px 5px;
}

.clases .insert-table input {
	margin-bottom: 5px;
}

.cvw-horario {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: #fff;
}

.cvw-horario th,
.cvw-horario td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.horario-clase {
    background: #007cba;
    color: #fff;
    padding: 4px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

div[id^=cvw-modal] {
    position: fixed;
    top: 10%;
    left: 50%;
    min-width: 230px;
    max-width: 500px;
    transform: translateX(-50%);
    background: #fff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    border-radius: 15px;
}

div[id^=cvw-modal] h3 {
	margin-top: 0;
}

.text-center {
	text-align: center;
}

.cvw-modal-header {
    display: flex;
    justify-content: space-between;
}

.cvw-close {
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
}

.cvw-modal-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cvw-modal-actions .button-link-delete {
	border-color: #d63638;
}

.cvw-form-filters {
	margin-top: 30px;
}

/* calendario */
#cvw-calendar, #cvw-calendar-alumno {
	background: #fff;
	padding: 15px;
}

.fc .fc-daygrid-day-frame {
    min-height: 80px !important;
}

.fc .fc-toolbar-title {
    font-size: 20px;
}

.fc .fc-daygrid-day-number {
    font-size: 15px;
    font-weight: 500;
}

.fc .fc-event {
    font-size: 14px;
    padding: 2px 4px;
    margin-top: 4px;
    background-color: #e7eff7;
    border-color: #96a4b3;
}

.fc-h-event .fc-event-main {
	color: #222;
}

.cal-clase span {
	float: right;
	font-size: 12px;
}

.cal-clase .cal-clase-nombres {
	text-align: right;
}

.cal-clase a {
	text-decoration: none;
	color: #222;
}

.cal-clase .dot {
	margin-left: 5px;
	font-size: 16px;
}

.lista-ok {
	color: #28a745;
}

.lista-ko {
	color: #dc3545;
}


/* bootstrap */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 15px;
    margin-bottom: 15px;
}

[class*="col-md-"] {
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.col-md-2 { width: 16.6667%; }
.col-md-3 { width: 25%; }
.col-md-4 { width: 33.3333%; }
.col-md-5 { width: 41.6667%; }
.col-md-6 { width: 50%; }
.col-md-7 { width: 58.3333%; }
.col-md-8 { width: 66.6667%; }
.col-md-9 { width: 75%; }

@media (max-width: 768px) {

    [class*="col-md-"] {
        width: 100%;
    }

}