﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
/* Loader Animation*/
/* MDESIGN-Farben */
:root {
    --mdesign-blue: #005B9F;
    --mdesign-light-blue: #3899EC;
    --mdesign-orange: #F39200;
    --mdesign-gray: #F6F6F6;
    --mdesign-dark-gray: #343A40;
    --mdesign-border: #E0E0E0;
    --mdesign-input: #FFFFFF;
    --mdesign-success: #28A745;
    --mdesign-warning: #FFC107;
    --mdesign-danger: #DC3545;
    --mdesign-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --mdesign-radius: 10px;
}
.bi-info-circle-fill {
    color: #005B9F;
    width: 18px;
    height: 18px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
}

    .bi-info-circle-fill:hover {
        color: #3899EC; /* Hellere Variante für Hover (--mdesign-light-blue) */
        transform: scale(1.15);
        filter: drop-shadow(0 2px 4px rgba(0, 91, 159, 0.35));
    }

    .bi-info-circle-fill:active {
        transform: scale(0.92);
        transition: all 0.1s ease-out;
    }


/* Loader Animation*/

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #00325B;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

    #loader:before {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: #009EE3;
        -webkit-animation: spin 3s linear infinite;
        animation: spin 3s linear infinite;
    }

    #loader:after {
        content: "";
        position: absolute;
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
        border-radius: 50%;
        border: 3px solid transparent;
        border-top-color: var(--mdesign-gray);
        -webkit-animation: spin 1.5s linear infinite;
        animation: spin 1.5s linear infinite;
    }

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* Loader Animation*/


/* iPhone-like styling */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    width: 100vw;
    overflow: hidden;

    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
 
}

.login-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #00325B !important; /* MDesign Primärfarbe */
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-in-out;
}

.login-form {
    width: 90%;
    max-width: 400px;
    background: #fff;
    padding: 2rem;
    border-radius: 8px; /* Weniger abgerundet für ein modernes Design */
    box-shadow: 0 8px 24px rgba(27, 110, 194, 0.12); /* Leichter Schatten in Markenfarbe */
    animation: slideUp 0.8s ease-in-out;
    border-top: 4px solid #009ee3; /* MDesign Akzentlinie */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 1rem;
    color: #495057; /* Dunkelgrau für bessere Lesbarkeit */
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 0.5rem 0.875rem 0.5rem 0.875rem;
    font-size: 1.05rem;
    border: 1px solid #ced4da;
    border-radius: 999px;
    transition: all 0.3s ease-in-out;
    background-color: #f8f9fa; /* Leicht grauer Hintergrund */
}

    .form-input:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(27, 110, 194, 0.25); /* Schlankerer Fokus-Effekt */
        border-color: #00325B !important;
        background-color: #fff; /* Weißer Hintergrund bei Fokus */
    }

.form-button {
    width: 100%;
    padding: 0.875rem;
    font-size: 1.1rem;
    color: #fff;
    background: #009ee3 !important; /* MDesign Primärfarbe */
    border: none;
    border-radius: 15rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 1.5rem;
    font-weight: 600;
}

    .form-button:hover {
        background: #1861ac; /* Dunklere MDesign-Farbe für Hover */
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(27, 110, 194, 0.3);
    }

    .form-button:active {
        transform: translateY(0);
        box-shadow: none;
    }

.error-message {
    color: #dc3545; /* Fehlerfarbe beibehalten */
    font-size: 0.95rem;
    margin-top: 1.5rem;
    animation: fadeIn 0.5s ease-in-out;
    text-align: center;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 4px;
    background-color: rgba(220, 53, 69, 0.05); /* Sehr leichter Hintergrund für Fehlermeldungen */
}


/* Media Queries für Desktop-Optimierung */
@media (min-width: 992px) {
    .login-title {
        font-size: 2.5rem; /* Noch größere Überschrift auf sehr großen Bildschirmen */
    }

    .login-form {
        padding: 2.5rem;
        max-width: 450px; /* Etwas breiter auf sehr großen Bildschirmen */
    }

    /* Zusätzlicher Effekt: leichtes Schweben */
    .login-form {
        transform: translateY(0);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .login-form:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
        }
}

/* Bestehende Animationen beibehalten */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.module-img {
    width: 100%;
    height: 50%;
}


a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #00325B !important;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #00325B !important;
  border-color: #1861ac;
}

/* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/open-sans-v20-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-300.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-300italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300;
    src: url('../fonts/open-sans-v20-latin-300italic.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-300italic.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-300italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v20-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/open-sans-v20-latin-italic.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-italic.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-600 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/open-sans-v20-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-600.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-600italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 600;
    src: url('../fonts/open-sans-v20-latin-600italic.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-600italic.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-600italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v20-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-700.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/open-sans-v20-latin-700italic.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-700italic.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-700italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-800 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/open-sans-v20-latin-800.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-800.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-800.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-800italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 800;
    src: url('../fonts/open-sans-v20-latin-800italic.eot'); /* IE9 Compat Modes */
    src: local(''), url('../fonts/open-sans-v20-latin-800italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/open-sans-v20-latin-800italic.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/open-sans-v20-latin-800italic.woff') format('woff'), /* Modern Browsers */
    url('../fonts/open-sans-v20-latin-800italic.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/open-sans-v20-latin-800italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}



/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}
/*Image scaling styles*/
.image-ad
{
    height:88px;
    margin-top:10px;
    margin-left:10px;
    margin-right:10px;
    width:120px;
}

/*Container Function*/
.container-fluid{
    width:90%;
}
.container-inputoutput{
    width:100%;
}
.background-search {
    width:32%;
    border-radius: 32px;
    box-shadow: 0 8px 16px 0 #e0e2e4;
    background-color: #ffffff;
}

.front-search {
    width:90%;
    font-family: Roboto;
    font-size: 16px;
    color: #000000;
}

@media screen and (max-width:780px) {
    .resizevanish {
        display:none;
    }
}

.navbar-custom {
    height:5%;
}

.container-calc {
    display:flex;
    width:60%;
}

.inoutputheadliner {
    font-family: Roboto;
    font-size: 26px;
    font-weight: 300;
}

.ParamGroupHeader {
    font-family: Roboto;
    font-size: 14px;
    font-weight: bold;
    background-color: #f8f8f8;
}
.OutputGroup {
    font-family: Roboto;
    font-size: 15px;
    background-color: #f8f8f8;
}

.InputName {
    width: 50%;
    font-size: 15px;
    font-family: Roboto;
}

.ParamSymbol {
    font-family:Roboto;
    font-size:15px;
    width:16px;
}

.ParamInput {
    font-family: Roboto;
    font-size: 15px;

}
.ParamUnit {
    width: 5%;

    font-size: 15px;
    font-family: Roboto;
}

.ParamOutput {
    font-family: Roboto;
    font-size: 15px;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    border: none;
    background-color: transparent;
}

    .ParamOutput:focus {
        outline: none;
        box-shadow: none;
        border: none;
    }

    /* Für Elemente, die mit disabled-Attribut versehen werden könnten */
    .ParamOutput:disabled,
    .ParamOutput[readonly] {
        opacity: 1;
        background-color: transparent;
        color: inherit;
    }



.ParamEmtpy {
    width:100%;
    height:100%;
    background-color:#f8f8f8;
}

.btn-success {
    border-radius: 8px;
    background-color: #4aa50d;
}

.btn-default {
    border-radius: 8px;
}
select.minimal {
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

select.minimal:focus {
    background-image: linear-gradient(45deg, green 50%, transparent 50%), linear-gradient(135deg, transparent 50%, green 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    outline: 0;
}
.ParamDropdown {
    font-family: Roboto;
    font-size: 15px;
    margin-right:3rem;
    width: 40%;
    appearance: none;
    background-color: #fff;
    padding: 0.375rem 0.75rem;
    border-radius: 15px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .ParamDropdown:focus {
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

/* Verbessere das Styling für minimal-Klasse (für den Drop-Down-Pfeil) */
select.ParamDropdown.minimal {
    background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%);
    background-position: calc(100% - 15px) center, calc(100% - 10px) center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 30px; /* Platz für den Pfeil lassen */
    border-radius:15px;
}

/* Hover-Effekt für Dropdowns */
.ParamDropdown:hover {
    border-color: #ced4da;
    background-color: #f8f9fa;
}

/* Dropdown-Option-Styling */
.ParamDropdown option {
    padding: 8px;
    background-color: white;
    border-radius: 15px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    min-width:5rem;
}

.modulEinfuehrungHeader {
    font-family:Roboto;
}
.modulEinfuehrungText {
    font-family: Roboto;
    font-size: 16px;
}

summary {
    position: relative;
    cursor: pointer;
}

    summary::marker {
        color: transparent;
    }

    summary::after {
        content: '\276D';
        position: absolute;
        color: black;
        font-size: 24px;
        right: 1em;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        transition: all 0.5s;
    }

details[open] summary::after {
    color: black;
    transform: translateY(-50%) rotate(-90deg);
}

details summary {
    height: 2.5em;
    display: flex;
    align-items: center;
}

.ParamGroupHeaderText {
    margin-left: 1em;
    line-height: normal;
    vertical-align: middle;
    font-family: Roboto;
    font-weight: bold;
}
details ul{
    padding-left:0;
}
.ParamGroupHeaderText {

iframe:focus{
    min-height:525px;
    height:100%;
    width:100%;
}

.ParamRange {
    font-family: Roboto;
    font-size: 12px;
    width: 150px;
}

.ParamDropdown {
    font-family: Roboto;
    font-size: 15px;
    width: 250px;
}
