/* ==========================
   Tempersona Modern Theme
   ========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: #f4f6f9;
    color: #333;
    padding: 30px;
    line-height: 1;
}


/* Logo */
img {
    margin-bottom: 30px;
}

/* Links */

a {
    color: #1565c0;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* Navigation */

body > table:first-of-type,
body > table:nth-of-type(2) {
    border-collapse: separate;
    border-spacing: 8px;
    margin-bottom:  -20px;
    /*
    border-spacing: 8px;
    margin-bottom: 20px;*/
}

body > table:first-of-type th,
body > table:nth-of-type(2) th {
    background: white;
    border-radius: 8px;
    padding: 12px 24px;
    border: 1px solid #d7dde5;
    transition: .2s;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

body > table:first-of-type th:hover,
body > table:nth-of-type(2) th:hover {
    background: #1976d2;
}

body > table:first-of-type th:hover a,
body > table:nth-of-type(2) th:hover a {
    color: white;
}

th[bgcolor] {
    background: #1976d2 !important;
}

th[bgcolor] a {
    color: white;
}

/* Überschriften */

font {
    font-size: 16px; /* 26px !important; */
    font-weight: bold;
    color: #1f2937;
}

/* Tabellen */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 0px;
    /*margin: 20px 0 40px;*/
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

/* Hier passen Sie die Textgröße an: */
table th, table td {
    font-size: 16px; /*16*/
}

table tr:first-child {
    background: #1976d2;
    color: white;
}

table th,
table td {
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    text-align: left;
}

/* Zebra */

table tr:nth-child(even) {
    background: #f8fafc;
}

table tr:not(:first-child):hover {
    background: #eef5ff;
}

/* Buttons */

a[href*="upd"] {
    display: inline-block;
    padding: 6px 14px;
    background: #1976d2;
    color: white;
    border-radius: 5px;
    font-size: 16px; /*13*/
    text-decoration: none;
}

a[href*="upd"]:hover {
    background: #0d47a1;
}

  /* <=> Umschalt-Link */
table th a.switch-link,
table th a.switch-link:visited,
table th a.switch-link:active {
    color: white !important;
    text-decoration: none;
} 

table th a.switch-link:hover {
    color: white !important;
    text-decoration: underline;
}
 
/*kreiert für ADD einen grünen Button, z.T. aber auch innerhalb der Tabelle für EDIT*/
/*
a[href*="id=0"] {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 22px;
    background: #2e7d32; 
    color: white;
    border-radius: 6px;
    font-weight: bold;
}


a[href*="id=0"]:hover {
    background: #1b5e20;
}
*/

/* Mobile */

@media (max-width:900px){

body{
    padding:15px;
}

table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
}

body > table:first-of-type,
body > table:nth-of-type(2){
    display:block;
    overflow-x:auto;
}

}