#body {
    min-height:1024px;
}

#matricula .panel-body {
    min-height:700px;
}

#matricula .icheck-primary {
    margin-top:0 !important;
    margin-bottom:0 !important;
}


#modal-matriculas .modal{
    display: block !important; /* I added this to see the modal, you don't need this */
}

/* Important part */
#modal-matriculas .modal-dialog{
    overflow-y: initial !important
}
#modal-matriculas .modal-body{
    max-height: 80vh;
    overflow-y: auto;
}

#matricula-header {
    box-shadow: none;
}

#matricula-header dl {
    margin-bottom: 0;
}

#matricula-progress.progress {
    height: 30px;
}

#matricula-progress .progress-bar {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 28px;
    text-align: left;
    padding-left: 10px;
}

.panel-title {
    font-size: 16px;
    color: #666;
    font-weight: bold;
}

#rblPolo input, #rblRegime input {
    margin-left: 10px;
    margin-right: 3px;
}



.custom-file-input {
    cursor: pointer;
    display: none;
}

.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
    margin:20px;
    padding:10px;
}

    .custom-file-input::before {
        /*    content: 'Select some files';*/
        display: inline-block;
        background: linear-gradient(top, #f9f9f9, #e3e3e3);
        border: 1px solid #999;
        border-radius: 3px;
        padding: 5px 8px;
        outline: none;
        white-space: nowrap;
        -webkit-user-select: none;
        cursor: pointer;
        text-shadow: 1px 1px #fff;
        font-weight: 700;
        font-size: 10pt;
    }

.custom-file-input:hover::before {
    border-color: black;
}

.custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

.autoComplete {
    width: auto;
    height: 250px;
}