/* 
    10.02.2023
    (c) Rolf Ebeling / IT-Ebeling
*/

:root {
    --Text-color: white;
    --TextLinkColor: #8f8c8c;
    --StartFadeInTime: 1s;
    --StartFadeOutTime: 0.5s;
    --StartFadeOutDelay: 1.5s;
    --CookieWaitTime: 5000; /*time in ms*/
    --CCFadeTime: 0.5s;
    --Link-hover-color:black;
}
body {
    background-color: #373737;
}
.bgimg {
    overflow: hidden;
    background-image: url("../img/bg-header.jpg");	
    background-repeat: no-repeat;   
    background-size: contain;
    background-position: top;
    width: 100%;
}
.NavSpace {
    overflow: hidden;
    position: relative;
    top: 0px;
    left: 0px;
    height: 13vw;
    min-height: 70px;
    max-height: 170px;
    width: 100%;
}
.NavDiv {
    overflow: hidden;
    position: fixed;
    top: 0px;
    left: 0px;
    height: calc(13vw + 10px);
    min-height: 70px;
    max-height: 170px;
    width: 100%;
    z-index: 1000;
    transition: 0.4s;
    transition-timing-function: ease-out;
    background-color: #48484800;
    border-bottom: 2px solid #009fe300;
}
.Logo {
    display: inline-block;
    overflow: hidden;
    position: fixed;
    top: 1px;
    left: 1px;
    height: 13vw;
    min-height: 70px;
    max-height: 170px;
    width: auto;
    transition: height 0.4s, top 0.4s, left 0.4s;
    transition-timing-function: ease-out;
    filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
}
.MainContent {
    display: inline-block;
}
#RENav{
    position: fixed;
    right: 10px;
    top: 10px;
    transition: 0.4s;
}
.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    min-height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: scale-down;
}
.carousel-caption h2, .carousel-caption p {
    /* font-size: x-large; */
    color: white;
    text-shadow: 1px 1px 1px black, 0 0 3px rgb(6, 29, 236), 0 0 5px rgb(4, 13, 88);
}
.carousel-item h2, .carousel-item p {
    color: #fff;
    text-align: center;
    text-shadow: 1px 1px 1px black, 0 0 3px rgb(6, 29, 236), 0 0 5px rgb(4, 13, 88); 
}
.carousel-itemheader {
    position: relative;
    padding-bottom: 0.5rem;   
}
.carousel-img {
    height: calc(100% - 3.5rem);
}
.navbar-re {
    --bs-navbar-color:white;
    --bs-navbar-hover-color: #009fe3;
    --bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);
    --bs-navbar-active-color: #fff;
    --bs-navbar-brand-color: #fff;
    --bs-navbar-brand-hover-color: #fff;
    --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    --bs-navbar-nav-link-padding-x: 0.5rem;
    --bs-navbar-toggler-padding-y: 0.15rem;
    --bs-navbar-toggler-padding-x: 0.35rem;
    --bs-navbar-toggler-font-size: 1.5rem;
    --bs-navbar-toggler-border-radius: 0.375rem;
    --bs-navbar-toggler-focus-width: 0.2rem;
    --bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;
    --bs-nav-link-font-size: 1.2rem;
    padding: 0 0;
}
.navbar-brand {
    padding-top: var(--bs-navbar-brand-padding-y);
    padding-bottom: var(--bs-navbar-brand-padding-y);
    margin-right: 5px; /*var(--bs-navbar-brand-margin-end);*/
    font-size: var(--bs-navbar-brand-font-size);
    color: var(--bs-navbar-brand-color);
    text-decoration: none;
    white-space: nowrap;
}
.navbar-toggler-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: top;
    background-image: var(--bs-navbar-toggler-icon-bg);
    background-repeat: no-repeat;
    background-position: -1px -1px;
    background-size: 150%;
}
.nav-link {
    padding-top: 0px;
    padding-bottom: 0px;
}
.nav-item {
    position: relative;
}
.nav-item::before {
    content: "";
    display: block;
    height: 3px;
    width: 0%;
    background-color: rgb(0,159,227);
    position: absolute;
    transition: all ease-in-out 250ms;
    margin: calc(var(--bs-nav-link-font-size) * 1.35) 0 0 5%;
}
.nav-item:hover::before{
    width: 90%;
}
.navbar-nav {
    background-color: rgba(43, 43, 43, 0.616);
    margin-top: 4px;
    padding-bottom: 6px;
    border-radius: 10px;
    border: solid 0px;    
}
.nav-item {
    text-align: center;
}
.lang-select-item {
    padding: 0 !important;
    background: transparent !important;
}
.flag-style {
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    bottom: 0.25rem;
    background: transparent;
    border-radius: 25%;
}
.lang-select-item > .flag-style {
    filter:grayscale(100%);
}
.lang-select-item > .flag-style:hover {
    filter:none;
}

.accordion-button {
    padding-bottom: 0.5rem;
}
.accordion-button:focus {
    box-shadow: none !important;
}
.accordion-button-subtext {
    padding: 0.2rem var(--bs-accordion-btn-padding-x);
}
.accordion-body {
    border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
    border-style: solid none none none;
}
.form-check-input:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.05rem rgba(13, 110, 253, 0.25);
}
.S-pos {
    position: absolute;
    right: 2em;
    top: 0.5em;
    z-index: 10;
    padding: 0px;
    cursor: grab;
    font-size: 1.3rem;
}
.container {
  max-width: 98%;
}
.startimg {
    height: 100%;    
    background-image: url("../img/startimg.jpg");
    background-repeat: no-repeat;
	background-position: top;
	background-size: cover;
	background-attachment: fixed;
    opacity: 0;   
}
.overlay {
    background-color: black;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.FadeEnd {
    animation:FadeOut;
    animation-duration: var(--StartFadeOutTime);
    animation-delay: var(--StartFadeOutDelay);
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}
.FadeStart {
    animation:FadeIn;
    animation-duration: var(--StartFadeInTime);
    animation-delay: 0s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;    
}
.Software {
    margin-top: 2em;
    margin-bottom: 2em;
}
.scrollrow {
    overflow: auto;
    white-space: nowrap;
    height: 20vw;
    min-height: 230px;
    max-height: 300px;
    display: flex;
    flex-direction: row;
    padding-bottom: 5px;    
}
.scrollrow img {
    max-height: 100%;
    min-height: 100%;
    object-fit: scale-down;
    display: flex;
    padding-right: 8px;
    cursor: pointer;
}
.Modal-body .carousel-control-prev {
    left: 2em;
    justify-content: left;
}
.Modal-body .carousel-control-next {
    right: 2em;
    justify-content: right;
}
.modal-screenshots {
    --bs-modal-width:90vw;
    --bs-modal-bg:gray;    
}
.modal-screenshots .modal-content {
    height: 90vh;
}
.modal-screenshots .carousel-item {
    height: 80vh;
}
.footer {
    --Text-color: rgba(255, 255, 255, 0.5);
    --TextLinkColor: var(--Text-color);
    --Link-hover-color: white;
    font-size: small;
    color: var(--Text-color);
    max-width: 100%;
    position:relative;
    min-height: 250px;
    background-color: RGBA(255, 255, 255, 0.1)
}
.footer h5 {
    font-size: medium;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
}
.footer p {
    padding-left: 1em;
    padding-right: 1em;
}
.seagull {
    position: absolute;
    bottom: 10px;
    right: 5px;
    width: 20vw;
    max-width: 160px;
    min-width: 100px;
}

@keyframes FadeOut{
    0%   { opacity: 1; }
    100% { opacity: 0; visibility: hidden;}
}
@keyframes FadeIn{
    from{opacity:0} to{opacity:1}
}

.TextCont {
    --Text-color: black;
    color: var(--Text-color);
    background-color: #dadada;
    border-radius: 1em;
    margin-left: 2%;
    margin-right: 2%;
    padding: 1em;
    width: 96%;
}
.TextLink {
    text-overflow: clip;
    font-size: 0.9em;
    color: var(--TextLinkColor);
    text-decoration: none;
    cursor: pointer;
    margin: 0px;
}
.TextLink:hover {
    color: var(--Link-hover-color);
    text-decoration: none;
}
.JavaTextLink {
    text-decoration: underline;
    color: black;
    cursor: pointer;
}

/* Cookie Consent Settings*/
.ModalBG {
    display: flex;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0,0,0); /* Applied if opacity is not suported by Browser */
    background-color: rgba(0,0,0,0.5); /* Black with opacity */
}
.ccc {
    display: flex;
    font-size: 0.8em;    
    text-align: center;  
}
.cc-hidden {
    display: none !important;
}
.ccb {
    display: flex;
    position: fixed;
    bottom: 0;
    z-index: 500;
    box-shadow: 2px 2px 15px 1px rgba(2, 181, 252, 0.5);
    border-radius: 5px;
    padding: 0.5em;
    animation-duration: var(--CCFadeTime);
    animation-fill-mode: forwards;
    animation-name: CCBfadeIn;    
}
.ccp {
    display: block;
    width: 100%;
    max-height: 100%;
    margin: auto;
    z-index: 500;
    box-shadow: 2px 2px 15px 1px rgba(2, 181, 252, 0.5);
    border-radius: 5px;
    background-color: white;
    padding: 0.5em;
    animation-duration: var(--CCFadeTime);
    animation-fill-mode: both;
    animation-name: CCPfadeIn;
}

.ccp-ScrollBox {
    margin-top: 0.5em;
    padding-left: calc(0.5 * var(--bs-gutter-x));
    padding-right: calc(0.5 * var(--bs-gutter-x));
    flex: auto;
    flex-direction: column;
    max-height: 50vh;    
    text-align: start;
    overflow: auto;
    width: 100%;    
}
.thcookie {
    width: 9em !important;
}


@media (min-width: 576px) {
    .ccp {
        max-width: 600px;
    }
    .navbar-nav {
        background-color: transparent;
        margin-top: 0;
    }
    .carousel-caption p {
        font-size: x-large;
    }
    .Logo {
        top: 10px;
        left: 10px;
    }    
}

@keyframes CCBfadeIn {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0)
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0)
    }
}
@keyframes CCPfadeIn {
    from {
        opacity: 0;
        transform: translate3d(0, -40%, 0)
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0)
    }
}
