/* IMPORT START */
@import "msg.css";
@import "style.css";
@import "mobil.css";
/* IMPORT END */

/* ROOT */
:root{
    --primary-c: #007bff;
    --primary-hc: #0069d9;
    --secondary-c: #6c757d;
    --secondary-hc: #5a6268;
    --success-c: #28a745;
    --success-hc: #218838;
    --info-c: #17a2b8;
    --info-hc: #138496;
    --warning-c: #ffc107;
    --warning-hc: #e0a800;
    --danger-c: #dc3545;
    --danger-hc: #c82333;
}
/* ROOT END */
*{
    box-sizing: border-box;
    color: #fff;
}

body{
    margin: 0;
    padding: 0;
    min-height: 100vh;
    height: auto;
    background: #333;
}

/* Fa Bars */
.fa-bars{
    display: none;
}

#container aside nav ul li.mobil-nav-li{
    display: none;
}
#container aside nav ul li span{
    padding: 1rem;
}

/* Links */
a{
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s linear;
}

/* Definierte Buttons */
.btn-primary{
    background: var(--primary-c);
}
.btn-primary:hover{
    background: var(--primary-hc);
}

.btn-secondary{
    background: var(--secondary-c);
}
.btn-secondary:hover{
    background: var(--secondary-hc);
}

.btn-success{
    background: var(--success-c);
}
.btn-success:hover{
    background: var(--success-hc);
}

.btn-info{
    background: var(--info-c);
}
.btn-info:hover{
    background: var(--info-hc);
}

.btn-warning{
    background: var(--warning-c);
}
.btn-warning:hover{
    background: var(--warning-hc);
}

.btn-danger{
    background: var(--danger-c);
}
.btn-danger:hover{
    background: var(--danger-hc);
}

/* Inputs, Button, Select, Checkbox... */
input[type="text"], 
input[type="password"]{
    border: 0.1rem solid #666666;
    background: transparent;
    padding: 0.4rem;
    outline: none;
    transition: 0.3s linear;
}
input[type="text"]:hover,
input[type="text"]:focus,
input[type="password"]:hover,
input[type="password"]:focus{
    border-color: #e74c3c;
}
input[type="text"]::placeholder, 
input[type="password"]::placeholder{
    color: #fff;
}
.long-input{
    width: 100%;
}
.middle-input{
    width: 50%;
}

input[type="checkbox"],
input[type="checkbox"] ~ label{
    cursor: pointer;
}

input[type="submit"],
input[type="button"],
input[type="file"],
button{
    border: none;
    padding: 0.6rem;
    outline: none;
    cursor: pointer;
    transition: 0.3s linear;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
select{
    border: 0.1rem solid #666666;
    background: transparent;
    cursor: pointer;
    padding: 0.4rem;
    outline: none;
    transition: 0.3s linear;
}
select:hover{
    border-color: #e74c3c;
}
select option{
  background: #000;
}

/* Error Message, Success Message */
.error-message{
    font-weight: 300;
    color: #dc3545;
}
.success-message{
    font-weight: 300;
    color: #28a745;
}

/* Table */
table{
    width: 100%;
}
table tr td{
    padding: 0.4rem;
}
table tr td i{
    margin-right: 0.5rem;
    color: #428bff;
}
table tr td a:hover{
    color: #e74c3c;
}
.table-checkbox{
    width: 2rem;
}
.table-checkbox .table-checkbox-input{
    display: none;
}
.table-checkbox:hover .table-checkbox-input{
    display: inline;
}
.table-checkbox .table-checkbox-input:checked{
    display: inline;
}

/* Upload */
.upload-progress{
    position: relative;
    width: 100%;
    height: 2rem;
    border: 0.1rem solid #e74c3c;
}
.upload-progress .upload-progressbar{
    width: 0;
    height: 100%;
    background: #e74c3c;
}
.upload-progress .upload-prozent{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
}

/* Page Loader */
#page-loader{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
#page-loader .page-loader{
    width: 50px;
    height: 50px;
    border: 0.4rem solid #000;
    border-right: 0.4rem solid #e74c3c;
    border-radius: 50%;
    animation: page_loader 0.7s linear infinite;
}

/* Keyframes */
@keyframes page_loader {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}