.fc-view-container {
    border-radius: 10px !important;
    overflow: hidden !important;
}
.fc-day-grid-event .fc-content {
    white-space: normal !important;
    font-size: 90% !important;
}
.fc-today {
    background: rgba(0,0,0,.1) !important;
    border-radius: 5px !important;
}
.fc-today .fc-day-number {
    color: #111;
}
table {
    margin-bottom: 0;
}
dot {
    margin: 0 10px;
}
.fc-list-item-title a:hover,
.fc-list-item-title a:focus {
    text-decoration: none !important;
}
.fc-listYear-view,
.fc-list-heading,
.fc-head-container,
.fc-body > tr > .fc-widget-content,
.fc-listYear-view .fc-widget-content {
    border-color: transparent !important;
}

.fc-scroller {
    scrollbar-color: #414141 #ddd !important;
}
.fc-scroller::-webkit-scrollbar-thumb {
    background: #414141 !important;
}

#calendar_base[mode=home] #calendar_agenda .fc-list-heading {
    font-size: 20px;
}
#calendar_base[mode=home] #calendar_agenda .fc-list-item {
    font-size: 17px;
}

#calendar_base[mode=home] #calendar_agenda .fc-list-view,
#calendar_base[mode=home] #calendar_agenda table,
#calendar_base[mode=home] #calendar_agenda tbody,
#calendar_base[mode=home] #calendar_agenda tr,
#calendar_base[mode=home] #calendar_agenda td {
    border: none !important;
    background: none !important;
}

#calendar_base[mode=home] #calendar_agenda .fc-list-heading-main,
#calendar_base[mode=home] #calendar_agenda .fc-list-heading-alt {
    letter-spacing: 1px;
    font-weight: 500;
}


#select {
    width: 170px;
    color: #fff;
    background-color: #333;
    font-weight: bold;
    border: none !important;
    border-radius: 10px !important;
    background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDEwMCAxMDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iMTZweCIgaGVpZ2h0PSIxNnB4Ij4KPGc+Cgk8cGF0aCBkPSJNNDkuOTk4LDBMMjcsMzYuNDk4bDQ2LDAuMDA0TDQ5Ljk5OCwweiBNNTAuMDA0LDEwMEw3Myw2My41MDJsLTQ2LTAuMDA0TDUwLjAwNCwxMDB6IiBmaWxsPSIjZmZmZmZmIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==) !important;
}
#calendar_base[mode=home] #select {
    display: none !important;
}
.fc-toolbar h2,
#calendar_title h2 {
    color: #333;
}
#calendar_base[mode=home] #calendar_title {
    display: none !important;
}
.fc-prev-button,
.fc-next-button,
.fc-dayGridMonth-button,
.fc-listYear-button {
    padding: 0 !important;
    width: 40px !important;
    height: 40px !important;
}
a.fc-event:focus, a.fc-event:hover {
    color: #fff;
    text-decoration: underline;
}
.fc-prev-button,
.fc-dayGridMonth-button {
    margin-right: 10px !important;
}
.fc-today-button {
    margin-left: 10px !important;
}
.fc-button {
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-weight: 500 !important;
    border-radius: 10px !important;
}
.fc-button-primary:focus {
    box-shadow: none !important;
}
.fc-scroller.fc-day-grid-container {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}
#calendar_base[mode=agenda] #calendar_agenda .fc-day-header {
    font-size: 20px;
}
#calendar_base[mode=agenda] #calendar_agenda .fc-day-number {
    font-size: 17px;
}
#calendar_base[mode=agenda] #calendar_agenda .fc-event-container {
    font-size: 17px;
}
#calendar_help {
    margin-bottom: 10px;
    width: 100%;
}
#calendar_base[mode=home] #calendar_help {
    display: none !important;
}
#calendar_base[mode=agenda] #calendar_agenda .fc-time {
    font-weight: 300 !important;
    font-size: 8pt;
}
@media screen and (max-width: 700px) {
    #calendar_base[mode=agenda] #calendar_agenda .fc-time {
        display: none !important;
    }
	#calendar_base[mode=home] #calendar_agenda .fc-list-heading-main::after {
		content: ',';
	}
	#calendar_base[mode=home] #calendar_agenda .fc-list-heading-alt {
		float: none !important;
		margin-left: 10px;
	}
}
@media screen and (max-width: 350px) {
    #calendar_base[mode=agenda] #calendar_agenda .fc-today-button {
        display: none !important;
    }
}