.subjects-table > tbody > tr > td > .select2-container > .selection > .select2-selection--single > .select2-selection__rendered {
    padding-right: 20px;
}

.subjects-table > tbody > tr > td > .form-control {
    border-bottom: none;
}

#subjectInstitutionEducations > tbody > tr > td,
#subjectInstitutionSafetyAtWork > tbody > tr > td {
    vertical-align: middle;
}

.institution-table-input {
    border: none;
    outline: none;
    text-align: left;
    width: 100%;
}

.institution-selected-width .select2.select2-selection__rendered {
    width: 90% !important;
}

#subjectInstitutionEducations > thead > tr > td, .institution-overflow-text,
#subjectInstitutionSafetyAtWork > thead > tr > td, .institution-overflow-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#duration-input {
    display: flex;
    justify-content: space-evenly;
}

#duration-input div,
#duration-input div input {
    text-align: center;
}

#duration-input input {
    width: 42px;
}

#duration-input label {
    font-weight: normal;
}

#addInstitutionBtn {
    width: 3%; 
    height: 50px;
}

#addInstitutionBtn p {
    width: 100%;
    height: 100%;
    padding: 12px 0;
}

#deleteInstitutionBtn {
    margin-top: 8px !important;
}

/* Talbet and mobile */ 
@media only screen and (max-width: $max-screen-sm) {
    .institution-wrapper {
        overflow-x: scroll;
    }
}