/************************************************
            ALLGEMEINE EINSTELLUNGEN
************************************************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
}

/* FARBEN */
:root {
    --black: #000000;
    --black_transparent_20pct: #00000033;
    --black_transparent_50pct: #00000080;
    --blue: #0000ff;
    --blue_lvb: #162983;
    --darkgrey: #a9a9a9;
    --green: #008000;
    --lightgrey: #d3d3d3;
    --orange: #ffa500;
    --red: #ff0000;
    --red_transparent_20pct: #ff000033;
    --saddlebrown: #8b4513;
    --seagreen: #2e8b57;
    --steelblue: #4682b4;
    --white: #ffffff;
}

/* KOPFZEILE */
header {
    display: flex;
    align-items: center;
    background-color: var(--blue_lvb);
    color: white;
    position: relative;
}

header img.header_logo_lvb {
    height: auto;
    width: 50%;
    margin-left: 1rem;
}
/* ENDE KOPFZEILE */


fieldset {
    margin: 1rem 0;
    border: none;
    border-bottom: 1px ridge var(--black);
}

fieldset > legend {
    font-weight: bold;
    padding-bottom: 0.5rem;
}

input, select {
    padding: 0.25rem 0.5rem;
    margin-right: 1rem;
}

textarea {padding: 0.25rem 0.5rem;}

table {
    border-collapse: collapse;
}

table.width_100pct {width: 100%;}

th {text-align: left;}

td {padding: 0.5rem 0;}

#grid_sidebar {
    background-color:var(--darkgrey);
}

#table_search th.title,
table td.title {
    background-color: var(--blue_lvb);
    color: var(--white);
    padding: 0.3rem;
}

td.table_search_form {padding-bottom: 2rem;}

.div100 {
    width: 100%;
    height:100%;
}

.width100 {width: 100%;}

.border_none {border: none;}

.section_wrapper {
    background-color: var(--darkgrey);
    margin: 1rem;
    padding: 1rem;
    border-radius: 1rem;
}

/************************************************
                SEITENINHALT
************************************************/
/* INDEX */

form.login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form.login input {
    padding: 0.5rem;
}
/* INDEX ENDE */

/* LOGIN-FAIL */
.login_fail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* LOGIN-FAIL ENDE*/

.h1_titel {
    text-align: center;
    padding: 1.5rem 0 1.5rem 0;
}

.h2_titel {
    text-align: center;
    padding-bottom: 1rem;
}

.flexcontainer_row {
    display: flex;
    flex-direction: row;
}

.flexcontainer_col {
    display: flex;
    flex-direction: column;
}

/************************************************
                FUSSZEILE / FOOTER
************************************************/
footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    text-align: right;
    padding: 10px;
}

/************************************************
                   BÜCHERREGAL
************************************************/
.buecherregal {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
}

.buch {
    position: relative;
    padding: 2rem;
}

.cover {
    border-bottom: 100px solid var(--red_transparent_20pct);
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    height: 0;
    width: 200px;
}

.cover_title {
    height: 200px;
    display: flex;
    justify-content: center;
    transform:rotateX(45deg);
    font-size: 1rem;
    color: var(--white);
}

.seiten {
    width: 200px;
    height: 10px;
    background-color: var(--lightgrey);
}

/************************************************
                   BUTTONS
************************************************/
button {
    padding: 0.25rem 0.5rem;
}

button:hover {
    cursor: pointer;
}

.btn_delete {
    background-color: var(--red);
    color: var(--white);
}

.btn_edit {
    background-color: var(--steelblue);
    color: var(--white);
}

.btn_new {
    background-color: var(--seagreen);
    color:var(--white);
}

.btn_reset {
    border-color: var(--red);
    color: var(--red);
}

.btn_sidebar {
    width: 100%;
    padding: 0.5rem 0;
}

.btn_symbol {
    color: var(--white);
    width: 30px;
    height: 30px;
}

/************************************************
                   MODALS
************************************************/
#searchQuestionResult {
    display: none;
}

.modal {
    position: absolute;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background-color: var(--black_transparent_50pct);
}

.modal form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
}

/************************************************
                  AKKORDIONS
************************************************/
#sectionTableActive,
#sectionTableNotActive,
#userTableActive,
#userTableNotActive,
#courseTableActive,
#courseTableNotActive,
#questionTableNotActive {
    display: none;
}

#sectionTableActive thead th,
#sectionTableNotActive thead th,
#userTableActive thead th,
#userTableNotActive thead th,
#courseTableActive thead th,
#courseTableNotActive thead th {
    padding-top: 0.5rem;
    padding-right: 2rem;
}

#sectionTableActive tbody td,
#sectionTableNotActive tbody td,
#userTableActive tbody td,
#userTableNotActive tbody td,
#courseTableActive tbody td,
#courseTableNotActive tbody td {
    padding-right: 2rem;
}

/************************************************
                   CHARTS
************************************************/
.statistic_box {
    width: 400px;
    height: 400px;
    padding: 1rem;
}

/************************************************
                   TEXT
************************************************/
.txt_align_center {text-align: center;}
.txt_align_right {text-align: right;}
.txt_bold {font-weight: bold;}
.txt_bolder {font-weight: bolder;}
.txt_green {color: var(--green);}
.txt_orange {color: var(--orange);}
.txt_red {color: var(--red);}
.txt_steelblue {color: var(--steelblue);}

.txt_error {
    color: var(--red);
    font-weight: bold;
}


/************************************************
                   PADDING
************************************************/
.pd_1 {padding: 1rem;}
.pd_top1 {padding-top: 1rem;}


/************************************************
                   MARGIN
************************************************/
.mg_top1 {margin-top: 1rem;}
.mg_left2 {margin-left: 2rem;}


/************************************************
                   FLEX
************************************************/

.flex_center_all {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex_col {
    display: flex;
    flex-direction: column;
}

.flex_end {
    justify-content: end;
}

.flex_row {
    display: flex;
    flex-direction: row;
}

.flex_start {
    justify-content: start;
}

.flex_wrap {
    flex-wrap: wrap;
}

.space_around {
    justify-content: space-around;
}

.space_between {
    justify-content: space-between;
}

/************************************************
                   LINKS
************************************************/
a {text-decoration: none;}

a:link,
a:visited,
a:active {
    color: var(--black);
}

a:hover {color: var(--black_transparent_50pct);}

a.archiv-link {
    display: inline-block;
    padding-bottom: 0.25rem;
}

a.archiv-link:hover {
    color: var(--red);
}

a.archiv-link:hover:before {
    content: "\25B6  ";
    color: var(--steelblue);
}

a.archiv-link:hover:after {
    content: " \25C0";
    color: var(--steelblue);
}