﻿

/* ------------------------------ Html/Body ------------------------------ */


html, body {
    margin: 0;
    font: 400 14px "Raleway";
    line-height: 1.7;
    color: var(--font);
    text-align: justify;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

form {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ------------------------------ Fonts ------------------------------ */


@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 300;
    src: local(''), url('../fonts/raleway-300.woff') format('woff'), url('../fonts/raleway-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: local(''), url('../fonts/raleway-400.woff') format('woff'), url('../fonts/raleway-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    src: local(''), url('../fonts/raleway-500.woff') format('woff'), url('../fonts/raleway-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    src: local(''), url('../fonts/raleway-600.woff') format('woff'), url('../fonts/raleway-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    src: local(''), url('../fonts/raleway-700.woff') format('woff'), url('../fonts/raleway-700.woff2') format('woff2');
}


/* ------------------------------ Colors ------------------------------ */


:root {
    --font: #585858;
    --font-light: #8a8a8a;
    --font-very-light: #efefef;
}


/* ------------------------------ Allgemeines ------------------------------ */


p{
    margin-bottom: 30px;
}

h1, h2, h3, h4, h5 {
    color: var(--font);
    font-weight: 400;
    text-transform: uppercase;
}

h1 {
    font-size: 32px;
    margin-top: 30px;
    margin-bottom: 30px;
}

h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 20px;
}

h3 {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

h4 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 15px;
}

a,
a:hover, 
a:active, 
a:focus {
    color: var(--font);
    text-decoration: none;
}


/* ------------------------------ Navigation ------------------------------ */


.navbar {
    background-color: #fff;
}

.navbar a,
.navbar a:hover,
.navbar a:active,
.navbar a:focus {
    color: var(--font);
    text-decoration: none;
    text-transform: uppercase;
}

.navbar-nav {
    text-align: right;
}

.navbar-collapse {
    border-bottom: 1px solid var(--font);
    margin-top: -20px;
}

.navbar-brand img {
    width: 120px;
    margin-top: 10px;
    margin-bottom: 10px;
}


/* ------------------------------ Footer ------------------------------ */


footer {
    padding: 15px;
    margin-top: auto;
    background-color: var(--font);
}

footer a,
footer a:hover,
footer a:active,
footer a:focus {
    color: var(--font-very-light);
    text-decoration: none;
    text-transform: uppercase;
}


/* ------------------------------ CRUD ------------------------------ */


.crud-panel h1 {
    /*margin: 25px;*/
}

.crud-panel h3 {
    margin: 15px;
}

.group {
    border: 1px solid #dee2e6;
    margin-left: 0;
    margin-right: 0;
    margin-top: 30px;
    margin-bottom: 15px;
    border-radius: 3px;
    padding-bottom: 8px;
}

.group-header {
    background-color: #eee;
    margin-bottom: 10px;
}

.form-group {
    margin: 0 0 10px 0;
}

.form-group label {
    font-size: 0.9rem;
    margin-left: 10px;
    color: var(--font-light);
}

.form-control,
.form-control:focus {
    color: var(--font);
    border-radius: 4px;
}

.form-control:focus {
    box-shadow: #cecece 0 0 2px;
    border-color: #cecece;
}

.form-control:disabled {
    background-color: #eee;
    border-color: #ccc;
    color: #bdbdbd;
}

.form-control::placeholder {
    opacity: 0.5;
}

.button-row {
    margin: 30px 0;
    text-align: right;
}


/* ------------------------------ Alert ------------------------------ */


.alertable {
    min-height: 100px;
}


/* ------------------------------ Projekt 360 ------------------------------ */


.fragenkatalog .label {
    padding: 15px 20px 10px 20px;
}

.fragenkatalog .dropdown {
    padding: 10px 20px 10px 20px;
}

.e-ddl-popup {
    max-height: 182px !important;
}

.e-ddl-popup .e-content {
    height: 180px !important;
}


/* ------------------------------ Sendungsverfolgung ------------------------------ */


.center-text {
    text-align: center;
    margin-bottom: 20px;
}

#error_message {
    color: #ad0000;
    font-weight: 600;
}

.tracker {
    display: flex;
    align-items: center;
    gap: 0px;
    justify-content: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ddd;
    text-align: center;
    color: #4c4c4c;
    height: 120px;
    width: 120px;
    /*transition: all 0.5s ease;*/
}

.step.first {
    border-left: solid 2px #fff;
}

.step.last {
    border-right: solid 2px #fff;
}

.step.no-transition {
    transition: none !important;
}

.step img {
    width: 50%;
    height: auto;
}

.step .label {
    font-size: 12px;
    padding: 1rem 0 0 0;
}


.step.active {
    background-color: #b9004d;
    color: #fff;
}

.arrow {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    width: 24px;
    background-image: url("../icons/arrow.png");
    background-size: 100% 100%;
    background-position: right;
    background-color: #ddd;
    /*transition: all 0.5s ease;*/
}

.arrow.active {
    background-image: url("../icons/arrow_active_full.png");
}

.arrow.active.lastactive {
    background-image: url("../icons/arrow_active.png");
}


/* ------------------------------ Impressum ------------------------------ */


.imprint {
    max-width: 95%;
}

.imprint .modal-body {
    padding: 20px 50px 50px 50px;
}


/* ------------------------------ Bootstrap ------------------------------ */


.btn:hover,
.btn.active,
.btn:focus {
    box-shadow: none;
}

.btn-default {
    background-color: #e2e2e2;
    border-color: #e2e2e2;
    color: var(--font);
}

.btn-default:hover,
.btn-default.active,
.btn-default:focus {
    background-color: #dadada;
    border-color: #dadada;
}

.btn-new {
    background-color: #337ab7;
    border-color: #337ab7;
}

.btn-new:hover,
.btn-new:active {
    background-color: #2e6da4;
}

.btn-delete {
    display: none;
}


/* ------------------------------ Syncfusion ------------------------------ */


.ej_hidden_element {
    visibility: hidden;
}

input[type='text'].e-input,
.e-input,
.e-ddl .e-input[readonly],
.e-ddl .e-options,
.e-ddl-popup,
.e-ddl-popup li,
.e-ddl .e-input,
.e-ddl .e-options,
.e-datewidget .e-input,
.e-datepicker.e-calendar,
.e-datepicker .e-header,
.e-timewidget .e-input,
.e-timepicker .e-input,
.e-datetime-popup .e-timecontainer .e-header,
.e-datetime-popup .e-dt-button,
.e-datetime-wrap .e-input,
.e-time-popup,
.e-time-popup .e-content,
.e-timecontainer .e-content,
.e-daterangewidget .e-input,
.e-daterangepicker-popup .e-drp-button,
.e-numeric .e-input,
.e-mask .e-input {
    font-family: Raleway;
    font-size: 1.0rem;
    color: #555555;
    box-shadow: none;
}

.e-ddl,
.e-datewidget,
.e-datetime-wrap,
.e-daterangewidget,
.e-timewidget,
.e-numeric,
.e-mask {
    width: 100%;
    height: 33px;
}

.e-numeric.e-focus .e-in-wrap,
.e-mask.e-focus .e-in-wrap,
.e-timewidget.e-focus .e-in-wrap,
.e-datewidget.e-focus .e-in-wrap,
.e-datewidget.e-focus .e-in-wrap:hover,
.e-daterangewidget.e-focus .e-in-wrap,
.e-daterangewidget.e-focus .e-in-wrap:hover,
.e-ddl.e-focus .e-in-wrap {
    box-shadow: #cecece 0 0 2px;
    border-color: #cecece;
}


/* ------------------------------ Syncfusion Dropdown ------------------------------ */


.e-ddl {
    height: 33px;
}

.e-ddl .e-options {
    margin: 4px;
    border-color: #eaeaea;
}

.e-ddl.e-widget .e-input.e-disable {
    background: #fff;
}

.e-ddl-popup.e-box.e-widget.e-popup {
    max-height: 253px !important;
}


/* ------------------------------ Syncfusion Datepicker ------------------------------ */


.e-daterangewidget .e-select {
    background-color: #ececec;
}

.e-daterangepicker-popup .e-drpbuttons div {
    border: none;
    border-radius: 5px;
    font-family: Raleway;
    height: 18px;
    padding-top: 8px;
}

.e-daterangepicker-popup .e-drp-button.e-drp-reset,
.e-daterangepicker-popup .e-drp-button.e-drp-cancel {
    background: #f0f0f0;
}

.e-daterangepicker-popup .e-drp-button.e-drp-reset:hover,
.e-daterangepicker-popup .e-drp-button.e-drp-cancel:hover {
    background: #dadada;
}

.e-daterangepicker-popup .e-drp-button.e-drp-apply {
    background: #28a745;
    color: white;
}

.e-daterangepicker-popup .e-drp-button.e-drp-apply:hover {
    background: #218838;
    color: white;
}


/* ------------------------------ Responsive ------------------------------ */


@media (max-width: 768px) {

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
    }

    .step {
        height: 50px;
        width: 50px;
    }

    .step img {
        width: 50%;
        height: auto;
    }

    .step .label {
        display: none;
    }

    .arrow {
        height: 50px;
        width: 10px;
    }

}

@media (max-width: 992px) {

    .navbar-brand img {
        width: 90px;
    }

    .navbar-collapse {
        border-bottom: none;
        margin-top: 0;
        margin-right: 20px;
    }

    .navbar-toggler {
        margin-right: 20px;
    }

}
