a{
    text-decoration: none;
}

.institute_header{
    text-align: center;
    vertical-align: middle;
    line-height: 90px;
    font-weight: bold;
    font-size: 32px;
    background-color: #347cbb;
    border-radius: 10px;
    color: white;
    margin: 0.5em;
}

.download_button{
    padding: 10px 10px 10px 10px;
    color: white;
    background-color: #347cbb;
    border-radius: 10px;
    color: white;
}

.download_button>a{
    color: white !important;
}

.header_container{
    display: flex;
    width: 100%;
}

.institute_description{
    flex: 0 0 calc(80% - 1em);
    margin-left: 1em;
}

.legend{
    flex: 0 0 calc(20% - 3em);
    margin-left: auto;
    margin-right: 1em;
    font-size: small;
    line-height: 1.2em;
    border: 1px solid grey;
    padding: 5px 5px 5px 5px;
}

.show_all_container{
    margin: 1em;
    margin-top: 2em;
    margin-bottom: 2em;
}

.show_all_button{
    padding: 10px 10px 10px 10px;
    color: black !important;
    background-color: lightgray;
    border-radius: 10px;
    color: white;
}

.member_div{
    margin: 1em;
    padding: 10px;
    border-radius: 5px;
    color: #347cbb;
    border: 1px solid #ccc;
}

.active_member{
    background-color: lightgreen;
}

.future_member{
    background-color: lightblue;
}

.inactive_member{
    background-color: lightgray;
}

.active_appointment{
    background-color: lightgreen;
    margin: 0.1em;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}

.future_appointment{
    background-color: lightblue;
    margin: 0.1em;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}

.inactive_appointment{
    background-color: lightgray;
    margin: 0.1em;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}

.appointment_div{
    background-color: white;
    margin-top: 1em;
    padding: 1em;
    border-radius: 10px;
}

.search_div{
    text-align: center;
}

#resultList {
    border: 1px solid #ccc;
    max-height: 550px;
    overflow-y: auto;
    display: none;
    position: absolute;
    width: calc(100% - 2em);
    background-color: white;
    margin-left: 1em;
}

#resultList div {
    padding: 8px;
    cursor: pointer;
}

#resultList div:hover {
    background-color: #f0f0f0;
}