.border-bottom{
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: #009999;
    padding-bottom: 10px;
}

.border-top{
    border-top-style: solid;
    border-top-width: 2px;
    border-top-color: #009999;
    padding-top: 10px;
}

.border-left{
    vertical-align: top;
    border-left-style: solid;
    border-left-width: 2px;
    border-left-color: #009999;
    padding-left: 10px;
    padding-top: 10px;
}

.border-right{
    vertical-align: top;
    border-right-style: solid;
    border-right-width: 2px;
    border-right-color: #009999;
    padding-right: 10px;
    padding-top: 10px;
}

.main_content{
    vertical-align: top;
    padding-top: 0px;
}

#main_content a {
    color: black;
    text-decoration: none;
}

.main_content_padding_top{
    vertical-align: top;
    text-align: center;
    padding-top: 10px;
}

.main_content_navbar{
    position: relative;

    vertical-align: top;
    padding-top: 10px;
}

.nav_element{
    float: right;
    padding-right: 15px;
}

.element_container{
    width: 100%;
    background: black;
}

.diagnosis_element{
    float: left;
    width: 300px;
    padding-bottom: 30px;
    padding-right: 30px;
}

.picture_element_small{
    display: inline-block;
    vertical-align: top;
    width: 200px;
    background: black;
    color: white;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.picture_element_medium{
    display: inline-block;
    vertical-align: top;
    width: 300px;
    background: black;
    color: white;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.picture_element_big{
    display: inline-block;
    vertical-align: top;
    width: 450px;
    background: black;
    color: white;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.selected_li{
    font-weight: bold;
}

.unselected_li{
    font-weight: normal;
}

#horizontal-navigation ul {
    margin-bottom: 0;
}

#horizontal-navigation li {
    display: inline;
    list-style-type: none;
    margin: 0 20px 0 0; /* rechts 10px, sonst 0 */
}

#horizontal-navigation a {
    color: black;
    text-decoration: none;
}


#vertical-navigation ul {
    margin-bottom: 0;
}

#vertical-navigation li {
    list-style-type: none;
    margin: 0 10px 10px 0; /* rechts 10px, sonst 0 */
}

#vertical-navigation a {
    color: black;
    text-decoration: none;
}

.butn {
    background: #3498db;
    background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
    background-image: -moz-linear-gradient(top, #3498db, #2980b9);
    background-image: -ms-linear-gradient(top, #3498db, #2980b9);
    background-image: -o-linear-gradient(top, #3498db, #2980b9);
    background-image: linear-gradient(to bottom, #3498db, #2980b9);
    -webkit-border-radius: 28;
    -moz-border-radius: 28;
    border-radius: 28px;
    font-family: Arial;
    color: #ffffff;
    font-size: 20px;
    padding: 10px 20px 10px 20px;
    text-decoration: none;
}

.butn:hover {
    background: #3cb0fd;
    background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
    background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
    background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
    text-decoration: none;
}

#image-gallery {
    display: flex;
    flex-direction: column;   /* großes Bild oben, Thumbs darunter */
    align-items: flex-start;  /* linksbündig */
    gap: 8px;           /* sorgt für sauberen Abstand zwischen großem Bild und Thumbs */
    margin-bottom: 0;   /* falls hier ein zu großer Abstand gesetzt ist */
}

#current-image {
    display: block;           /* beseitigt evtl. inline-gap */
    max-width: 100%;
    height: auto;
}

#image-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;                /* margin-top kannst du weglassen, wir haben gap */
    margin-bottom: 10px;
}

#image-thumbs .thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
}

#image-gallery, #image-thumbs {
    position: relative;
    z-index: 0;
}

.thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 10px;
    cursor: pointer;
}

.search {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.searchTerm {
    width: 260px;
    border: 3px solid #009999;
    border-right: none;
    padding: 5px;
    height: 36px;
    border-radius: 5px 0 0 5px;
    outline: none;
    color: black;
}

.searchTerm:focus{
    color: black;
}

.searchButton {
    width: 40px;
    height: 36px;
    border: 1px solid #009999;
    background: #009999;
    text-align: center;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 20px;
}


.dropbtn {
    background: url('/img/icons/menu_icon.png') no-repeat;
    background-size: cover;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
    opacity: 0.6;
}

.dropdown {
    float: right;
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 100px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    right: 0;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}

.center-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

.login-input {
    width: 260px;
    border: 3px solid #009999;
    padding: 5px;
    height: 36px;
    border-radius: 5px 5px 5px 5px;
    outline: none;
    color: black;
}

.login-button {
    height: 36px;
    border: 1px solid #009999;
    background: #009999;
    text-align: center;
    color: #fff;
    border-radius: 5px 5px 5px 5px;
    cursor: pointer;
    font-size: 20px;
}

.dropbtn_menu {
    background-color: black;
    color: white;
    padding: 8px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown_menu {
    position: relative;
    display: inline-block;
}

.dropdown-content_menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content_menu a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content_menu a:hover {
    background-color: #f1f1f1
}

.dropdown_menu:hover .dropdown-content_menu {
    display: block;
}

.dropdown_menu:hover .dropbtn_menu {
    background-color: black;
}

.other-input-small {
    width: 200px;
    border: 3px solid #009999;
    padding: 5px;
    height: 36px;
    border-radius: 5px 5px 5px 5px;
    outline: none;
    color: black;
}

.other-input-big {
    width: 450px;
    border: 3px solid #009999;
    padding: 5px;
    height: 36px;
    border-radius: 5px 5px 5px 5px;
    outline: none;
    color: black;
}

.other-button {
    height: 36px;
    border: 1px solid #009999;
    background: #009999;
    text-align: center;
    color: #fff;
    border-radius: 5px 5px 5px 5px;
    cursor: pointer;
    font-size: 20px;
}