body {
    margin: 0;
    padding: 0;
}

* {
    font-family: Roboto;
}

.max-width-block {
    max-width: 800px;
}

a {
    cursor: pointer!important;
    text-decoration: none; 
}

#calendar table {
    border-color: white!important; 
}

#calendar td, #calendar th {
    border-color: #cbcbcb54;
}

#calendar tr td:last-child, #calendar tr th:last-child {
    border-right-color: white!important;    
}

#calendar td[role="presentation"] {
    border-bottom-color: white!important;
}

.fc-event-title {
    font-weight: normal!important;
}

.fc-daygrid-day-frame:hover {
    background-color: #f1f3f5;
}

#calendar th {
    background: #f1f3f5;    
    font-weight: 100!important;
}

.fc .fc-daygrid-day-number {
    color: #000000!important;
    
    color: #595959!important;
}

.fc-toolbar-title {
    color: #595959!important;
    font-weight: 100!important;
}

.fc-today-button, .fc-dayGridMonth-button, .fc-timeGridWeek-button, .fc-timeGridDay-button, .fc-next-button, .fc-prev-button {
    background: white!important;
    border: 0!important;
    color: #595959!important;   
    cursor: pointer!important; 
}

.fc-col-header-cell-cushion {
    color: #595959!important;
}

.fc-dayGridMonth-button, .fc-timeGridWeek-button, .fc-timeGridDay-button {
    outline: none!important;
}

.fc-dayGridMonth-button.fc-button-active, .fc-timeGridWeek-button.fc-button-active, .fc-timeGridDay-button.fc-button-active {
    border-bottom: 1px solid #237bfd!important;
    border-radius: 0!important;
}

.fc-daygrid-event-harness {
    background: #f0f8ff;
}

@media screen and (max-width: 767px) {
    .fc-toolbar-title {
        font-size: 1.2rem!important;
    }
    .fc-today-button {
        display: none!important;
    }
    
}


/* Диалоговое окно для просмотра документации прямо в Плане */

.custom-dialog, .custom-dialog * {		
    outline: none;
}

.custom-dialog {		
    padding: 0;
}

.custom-dialog > table {
    border-collapse: collapse;
}

.custom-dialog .dialog-content {
    overflow-y: auto;
    height: 99%;
}

.custom-dialog::backdrop {
    background: rgba(0,0,0,0.5);
}


.form-control:focus {
    border-color: inherit !important; /* оставляет обычный бордер */
    box-shadow: none !important;     /* убирает голубую тень */
    outline: none !important;        /* убирает системный outline */
}