/*General element styling*/

html {
    min-height: 100vh;
    max-width: 100% !important;
}

* {
    font-family: Verdana !important;
}

input {
    min-width: 250px !important;
}

body {
    background: #DDECF9;
    min-height: 100vh;
}

button {
    background: #1B387B;
    padding: 10px;
    border-radius: 30px;
    color: #fff;
    border: unset;
}

a {
    text-decoration: none;
}

#frame {
    min-height: 100%;
    max-width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#frame form {
    width: 50%;
    display: flex;
    flex-direction: column;
}

#frame form label {
    margin: 5px;
    color: #1B387B;
}

#frame form select {
    border: none;
    box-shadow: 1px 1px 3px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 30px;
}

#frame form input {
    border: none;
    box-shadow: 1px 1px 3px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 30px;
    color:#000!important;
}

#frame form select{
    color:#000!important;
}

/*Login*/

#frame_login {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-image: url("/images/bg_login.jpeg");

}

#login_form_div {
    background: #DDECF9;
    box-shadow: 1px 1px 10px;
    padding: 150px;
    border-radius: 100px;
    min-height: 250px;

}

#login_form_div::before {
    content: url('/images/aip-logo.png');
    position: absolute;
    left: 370px;
    top: unset;
}

#login_form_div h3 {
    margin-left: 80px;
}

#login_form {
    max-width: 70%;
    margin: 0 auto;
}

/*Inputs*/

.input_enter {
    width: 100%;
    margin-bottom: 15px;
    height: 50px;
    border: none;
    box-shadow: 1px 1px 3px;
    border-radius: 30px;
    color: #1B387B;
    padding-left: 20px;
}

.input_enter::placeholder {
    color: #1B387B;
}

.submit {
    background: #1B387B;
    color: #fff;
    border: none;
    padding: 5px;
    border-radius: 10px;
    float: right;
}

/*Error Message*/
.error_message {
    color: #ff0000;
}

/*Buttons and selects*/

#select_menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#buttons_admin_main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.button_row {
    display: flex;
    margin-bottom: 20px;
    height: 40px;
    width: 100%;
}

.button_row a button {
    height: 40px;
    margin-bottom: 20px;
    border-radius: 30px;
    background: #1B387B;
    color: #fff;
    border: none;
    margin: 20px;
    cursor: pointer;
    min-width: 150px;
}

/* Protocol */

#client_info{
    width:100%;display:flex;flex-direction: row;justify-content: center;align-items: center;background:#ddecf9;padding:20px 0 20px 0;border-top:1px solid #fff;
}

#frontend_protocol {
    width: 100%;
    display: flex;
    justify-content: center;
}

#frontend_protocol fieldset {
    display: none;
}

#frontend_protocol fieldset.active {
    display: block;
}

#frontend_protocol fieldset div{
    margin-bottom:25px;
}

#frontend_protocol fieldset span{
    display:block;
}

#frontend_protocol fieldset label{
    margin-left:0px;
    display:block;
    font-weight: bold;
}

#frontend_protocol button {
    margin-top: 10px;
}

#frontend_protocol #submit_protocol {
    margin-top: 20px;
}

#frontend_protocol .protocolMenuButton {
    margin: 8px;
}

#frontend_protocol .protocolMenuButton.active {
    background: #fff;
    color: #1B387B;
    border: 1px solid #1B387B;

}

/* Protocol Check */
.protocol_check {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    background: #1B387B;
    border-radius: 20px;
}

.protocol_check_div {
    margin-right: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #fff;
    padding: 5px;

}


/*Header*/

header {
    width: 100%;
    background: #DDECF9;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

header button {
    background: #1B387B;
    padding: 10px;
    border-radius: 30px;
    color: #fff;
    border: unset;
    margin-left: 15px;
}

#sidebar {
    background: #ddecf9;
    width: 15%;
    padding-right: 30px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#content {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#content .middle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
}

#content .middle .left {
    width: 35%;
}

#content .middle .right {
    width: 50%;
}

#news {
    border-bottom: 5px solid #fff;
    padding-bottom: 30px;
    width: 100%;
}

#news a {
    color: #000;
    text-decoration: underline;

}

#news .news_must_accept a {
    color: #ff0000;
}

#news .news_must_accept {
    display: inline-block;
    border: 1px solid #000;
    padding: 5px;
    margin-bottom: 10px;
    width: 100%;
}

#news .news {
    display: inline-block;
    border: 1px solid #000;
    padding: 5px;
    margin-bottom: 10px;
    width: 100%;
}

#latest_files a {
    color: #000;
    text-decoration: underline;
}

#latest_files .file {
    display: inline-block;
    border: 1px solid #000;
    padding: 5px;
    margin-bottom: 10px;
    width: 100%;
}

#frame_1 {
    min-height: 100%;
    background: #fff;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
}

.modi_list_prot span {
    margin-right: 12px;
}

.modi_list_prot p{
    padding:5px;
    margin-top:0;
}

/*** Protocol ***/
.legende p {
    font-size: 10px !important;
    margin-left: 30px;
}

#frontend_protocol {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
}

#protocol_menu {
    width: 100%;
}

.absaug {

}

.absaug label {
    line-height: 30px;
}

.absaug input {
    margin-bottom: 25px;
}

.absaug select {
    min-height: 110px !important;
    overflow: hidden;
    border-radius: 2px !important;
}

/***Klient Overview***/
.the_client {
    text-align: left;
    width: 40%;
    display: flex;
    line-height: 30px;
    padding: 15px;

}

.the_client div {
    padding-left: 10px;
    border-right: 1px solid;
    padding-right: 10px;

}

.the_client button {
    margin-left: 10px;
}


/*** Med Table ***/

.responsive table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.responsive th, .responsive td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.responsive th {
    background-color: #f4f4f4;
}

.responsive tr:nth-child(even) {
    background-color: #f9f9f9;
}

.responsive tr:hover {
    background-color: #f1f1f1;
}

.responsive {
    overflow-x: auto;
}


/** Inter Disp Table **/

#inter_disp_fe table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

#inter_disp_fe th, #inter_disp_fe td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#inter_disp_fe th {
    background-color: #f4f4f4;
}

#inter_disp_fe tr:nth-child(even) {
    background-color: #f9f9f9;
}

#inter_disp_fe .pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#inter_disp_fe .pagination a {
    margin: 0 5px;
    padding: 8px 12px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#inter_disp_fe .pagination a.active {
    font-weight: bold;
    background-color: #007bff;
    color: white;
}

#inter_disp_fe .pagination a:hover {
    background-color: #0056b3;
    color: white;
}

/*** Pre Vita ***/

#pre_vita table {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

#pre_vita th, #pre_vita td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}

#pre_vita th {
    background-color: #f4f4f4;
}

#pre_vita tr:nth-child(even) {
    background-color: #f9f9f9;
}

#pre_vita tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 600px) {
    #pre_vita table {
        font-size: 14px;
    }

    #pre_vita th, #pre_vita td {
        padding: 6px 8px;
    }
}

/*** Maßnahmenplan MA ***/

#mp_ma table {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

#mp_ma th, #mp_ma td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}

#mp_ma th {
    background-color: #f4f4f4;
}

#mp_ma tr:nth-child(even) {
    background-color: #f9f9f9;
}

#mp_ma tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 600px) {
    #mp_ma table {
        font-size: 14px;
    }

    #mp_ma th, #mp_ma td {
        padding: 6px 8px;
    }
}

/*Maßnahmeplan Popup*/
#detailsPopup {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* Make sure it's on top of other content */
    width: 300px; /* Adjust size as needed */
    padding-top: 30px; /* Space for close button */
}

#detailsPopup span {
    color: black;
    font-weight: bold;
}

/** FOLDER **/

#folder-container ul {
    list-style-type: none;
    padding: 0;
}

#folder-container li {
    cursor: pointer;
    padding: 8px;
    background-color: #f0f0f0;
    margin-top: 5px;
    border-radius: 5px;
}

#folder-container li:hover {
    background-color: #656363;
}

#content-container {
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 15px;
    min-height: 100px;
}

#folder-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

#folder-container ul {
    display: flex;
}

#folder-container li {
    margin-left: 10px;
    color: #fff;
    background: #1b387b;
    border-radius: 20px;
    padding: 12px;
    font-size: 14px;
}

#breadcrumbs {
    text-align: left;
}

#breadcrumbs a {
    background: #1b387b;
    color: #fff !important;
    padding: 10px;
    border-radius: 20px;
}

#content {
    text-align: center;
    margin-top: 10px;
}

#content-container {
    text-align: left;
    display: flex;
    flex-direction: row;
}


#content-container li {
    list-style: none;
}

#content-container .folder {
    background: #1b387b;
    color: #fff !important;
    padding: 10px;
    width: unset !important;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 10px;
}

button {
    cursor: pointer;
}

button:hover {
    background-color: #656363;
}

#latest_files div {
    padding: 2px;
    border: 1px solid #1b387b;
    margin-bottom: 5px;
}

#latest_files div a {
    color: #1b387b;
    padding: 3px;
}

#breadcrumbs-container {
    text-align: left;
    margin-left: 20px;
}


#latest_files button {
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Grundgerüst */
#frame {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    max-width: 1000px;
    margin: 0 auto;
}

/* Container für die Formulare */
#location_edit, #location_edit_contact {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 300px;
}

/* Formular-Elemente */
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

input[type="text"] {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: #007bff;
    outline: none;
}

