#horarioReferenciaPanel .x-panel-header, #horarioSemanalPanel .x-panel-header,
#horarioReferenciaPanel .x-panel-header-text-container, #horarioSemanalPanel .x-panel-header-text-container,
#horarioReferenciaPanel .x-header-text-container, #horarioSemanalPanel .x-header-text-container {
    height: auto !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

#horarioReferenciaPanel .x-panel-header-text, #horarioSemanalPanel .x-panel-header-text,
#horarioReferenciaPanel .x-header-text, #horarioSemanalPanel .x-header-text {
    font-size: 13px !important;
    line-height: 1.4 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

#horariosTreeCard {
    overflow-x: hidden !important;
}

#horariosTreeCard .ext-evt-bd {
    display: block !important;
    font-size: 11px;
    line-height: 1.15;
    overflow: hidden;
    text-align: left !important;
}

#horariosTreeCard .ext-cal-evt:hover {
    height: auto !important;
    overflow: visible !important;
    z-index: 100;
}

#horariosTreeCard .ext-cal-evt:hover .ext-evt-bd {
    height: auto !important;
    overflow: visible !important;
}

#horarioSemanal,
#horarioSemanalPanel-body {
    max-height: 860px !important;
}

#horarioSemanalPanel,
[id="Configurations#panels#horariosTreeCard-body"],
[id="Configurations#panels#horariosTreeCard"],
#horariosTreeCard-body,
#horariosTreeCard {
    max-height: 900px !important;
}

#mainHorarioContainer-body,
#mainHorarioContainer,
#mainHorarioContainerContainer {
    max-height: 1350px !important;
}

@page {
    size: A4 landscape;
    margin: 8mm;
}

@media print {
    .alertify-notifier, #horarioSemanalPanel .x-toolbar {
        display: none !important;
    }

    #herderContainerDiv, #right, #footer, #searchPanel, #barraHorarioPanel {
        display: none !important;
    }

    #maincontentarea, #contentonecolumn {
        float: none !important;
        margin: 0 !important;
        width: 100% !important;
    }

    #mainHorarioContainer {
        height: auto !important;
        min-height: 0 !important;
    }

    #horariosTreeCard {
        left: 0 !important;
        top: 0 !important;
        margin: 0 !important;
    }
}

#anoLetivoLabel::after, #instituicaoLabel::after, #periodoLabel::after, #cursoLabel::after,
#turmaUnicaLabel::after, #disciplinaLabel::after, #salaLabel::after {
    color: #d40000;
    content: " *";
    font-weight: bold;
}
