/* ========================================================================
    HTML and Body
=========================================================================== */
html {
    position: relative;
    /* 1. Important for footer bottom */
    min-height: 100%;
}

body {
    margin-top: 6.429rem;
    /* 2. Important for footer bottom */
    margin-bottom: 100px;
}


@media (max-width: 991px) {
    body {
        /* Responsive Body-Top distance */
        margin-top: calc(3.2rem + 3.55vw);
    }
}

/* ========================================================================
    Backgrounds | Gradienten |
=========================================================================== */

.bg-dark {
    background: #384351 !important;
    color: #ffffff !important;
}

.bg-light {
    background-color: #f4f4f4 !important;
}

.bg-white {
    background-color: #ffffff !important;
}

.bg-green {
    background-color: #009933 !important;
}

.bg-red {
    background-color: #d00000 !important;
}

/* Gradienten */
.bgg-light {
    position: relative;
    padding: 3rem 15px;
    background: linear-gradient(to right bottom, #f7f5fb 50%, #fff 50%);
}

.bgg-grey {
    position: relative;
    padding: 3rem 15px;
    background: linear-gradient(to right bottom, #eeeeee 50%, #fff 50%);
}

/* Änderungen BG-* */
.bg-dark hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========================================================================
    IMG and Video Responsive
=========================================================================== */
img,
video {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    border: 0;
    vertical-align: middle;
}

/* ========================================================================
    Standard button settings
    Color: Blue #0085cd / Hover: Orange 
=========================================================================== */
.btn {
    display: inline-block;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #0085cd;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,
        background-color .15s ease-in-out,
        border-color .15s ease-in-out,
        box-shadow .15s ease-in-out;
}

@media (prefers-reduced-motion:reduce) {
    .btn {
        transition: none
    }
}

.btn:hover {
    color: orange;
    text-decoration: none;
}

/* Wenn ein Font Awesome Symbol vor dem Button-Text eingefügt wird */
.btn svg {
    margin-right: 7px;
}

.btn i {
    margin-right: 7px;
}

/* Vergößerte Buttons - z.B Homepage */
.btn-group-lg > .btn,
.btn-lg {
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: .3rem;
    font-weight: 100;
    font-family: 'Segoe UI', Open Sans, sans-serif !important;
}

/* Transparente Buttons */

.btn-outline {
    color: #0085cd;
    background-color: transparent;
    border-color: #0085cd;
    border: 2px solid;
}

.btn-outline:hover,
.btn-outline:focus {
    color: orange;
    background-color: none;
    border-color: orange;
}

.btn-outline-light {
    color: #fff;
    border-color: #fff;
    background-color: transparent;
}

.btn-outline-light:hover {
    color: orange;
    background-color: transparent;
    border-color: orange;
}

.btn-outline-light.focus,
.btn-outline-light:focus {
    box-shadow: 0 0 0 0 rgba(248, 249, 250, .0);
    color: orange;
    background-color: transparent;
    border-color: orange;
}

.btn-outline-light.disabled,
.btn-outline-light:disabled {
    color: #f8f9fa;
    background-color: transparent;
}

.btn-outline-light:not(:disabled):not(.disabled).active,
.btn-outline-light:not(:disabled):not(.disabled):active,
.show > .btn-outline-light.dropdown-toggle {
    color: orange;
    background-color: transparent;
    border-color: orange;
}

.btn-outline-light:not(:disabled):not(.disabled).active:focus,
.btn-outline-light:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-light.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 rgba(248, 249, 250, 0);
}

/* ==========================================================================
    Modal Standard: 
    Der Close-Button ist im Modal-Body integriert z.B. Download EULA
============================================================================= */
.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 0px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
}

.modal-body {
    padding: 2rem;
}

.modal-body .close,
.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
    background-color: #0085cd;
}

.close {
    font-size: 2rem;
    color: #fff;
    text-shadow: 0;
    border-top-right-radius: : calc(.3rem - 1px);
    line-height: .5;
    opacity: 1;
}

.close:not(:disabled):not(.disabled):focus,
.close:not(:disabled):not(.disabled):hover {
    opacity: 1;
}

.close:hover {
    color: orange;
    text-decoration: none;
}

/* ==========================================================================
    iframe: z.B. 'Action' im Download-Formular
============================================================================= */
iframe {
    border: 0;
    width: 100%;
    height: 450px;
}

/* ==========================================================================
    Entfernt alle Outlines
============================================================================= */
*:active,
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
    PRE
============================================================================= */
pre {
    padding: 10px 20px;
    background: #4b4b4b;
    -moz-tab-size: 4;
    tab-size: 4;
    overflow: auto;
}

/* ==========================================================================
    Responsive: Border / Divider
============================================================================= */
@media (min-width:576px) {
    .border-sm-top {
        border-top: 1px solid #dee2e6 !important;
    }

    .border-sm-right {
        border-right: 1px solid #dee2e6 !important;
    }

    .border-sm-bottom {
        border-bottom: 1px solid #dee2e6 !important;
    }

    .border-sm-left {
        border-left: 1px solid #dee2e6 !important;
    }
}

@media (min-width:768px) {
    .border-md-top {
        border-top: 1px solid #dee2e6 !important;
    }

    .border-md-right {
        border-right: 1px solid #dee2e6 !important;
    }

    .border-md-bottom {
        border-bottom: 1px solid #dee2e6 !important;
    }

    .border-md-left {
        border-left: 1px solid #dee2e6 !important;
    }
}

@media (min-width:992px) {
    .border-lg-top {
        border-top: 1px solid #dee2e6 !important;
    }

    .border-lg-right {
        border-right: 1px solid #dee2e6 !important;
    }

    .border-lg-bottom {
        border-bottom: 1px solid #dee2e6 !important;
    }

    .border-lg-left {
        border-left: 1px solid #dee2e6 !important;
    }
}

@media (min-width:1200) {
    .border-xl-top {
        border-top: 1px solid #dee2e6 !important;
    }

    .border-xl-right {
        border-right: 1px solid #dee2e6 !important;
    }

    .border-xl-bottom {
        border-bottom: 1px solid #dee2e6 !important;
    }

    .border-xl-left {
        border-left: 1px solid #dee2e6 !important;
    }
}

/* ==========================================================================
    Form control
============================================================================= */
.form-control {
    border: 1px solid #c0c0c0;
}

/* ==================================================================
    Moves the brackpoint for card decks 
    e.g. Features -> TextMaker | PlanMaker | Presetations
===================================================================== */
/* 1. Overwrites the BS card-deck breakpoint */
@media (min-width:576px) {
    .card-deck {
        display: -ms-flexbox;
        display: block;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        margin-right: 15px;
        margin-left: 15px
    }

    .card-deck .card {
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
        margin-right: -15px;
        margin-bottom: 0;
        margin-left: -15px
    }
}
/* 2. Sets the new card-deck breakpoint */
@media (min-width:992px) {
    .card-deck {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
        margin-right: -15px;
        margin-left: -15px
    }

    .card-deck .card {
        -ms-flex: 1 0 0%;
        flex: 1 0 0%;
        margin-right: 15px;
        margin-bottom: 0;
        margin-left: 15px
    }
}