﻿/* 
    Because of the stupid issue described here https://github.com/dotnet/AspNetCore.Docs/issues/24053
    CSS isolation is not working. So we have to use this work around not so clean. 
*/

/*@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');*/

/*body {
    font-family: Roboto;
}*/

a {
  color: #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.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;
}

.vertical-line {
    border-left: 2px solid lightgrey;
    height: 45px;
    margin-left: 20px;
    margin-right: 20px;
}

/* Dropdown Button */
.dropbtn {
    background: transparent;
    border: none !important;
    cursor: pointer;
}

.login-icon {
    color: #757575;
    height: 50px;
    width: 50px;
    pointer-events: none;
}

.logout-icon {
    color: #000000;
    height: 24px;
    width: 24px;
    pointer-events: none;
    margin-left: 8px;
    margin-right: 14px;
    vertical-align: middle;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

.web-contents {
    min-height: calc(100vh - 464px - 75px - 50px);
    margin-top: 75px;
    margin-bottom: 50px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 4px;
}

.user-info-container {
    padding: 16px;
}

.user-info-container > h3{
    font-size: 1.17em;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    margin-top: 0;
}

.user-info-container > h4{
    font-size: 1rem;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    margin-bottom: 0;
}

.logout-button-container {
    padding-top: 8px;
    box-sizing: border-box;
    border-top: 1px solid #dadce0;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}

.click-invisible {
    pointer-events: none;
}





/*#region ShadowOnScrollSettings*/

.shadow-on-scroll {
    height: 80px;
    position: sticky;
    top: -16px;
    z-index: 1;
    -webkit-backface-visibility: hidden;
}

/* PSEUDO ELEMENTS to create drop-shadow */
.shadow-on-scroll::before,
.shadow-on-scroll::after {
    content: '';
    display: block;
    height: 16px;
    position: sticky;  /* make pseudo elements sticky as well */
}

/* SHADOW */
.shadow-on-scroll::before {
    top: 48px; /* shadow is at bottom of element, so at 48 + 16 = 64px */
    box-shadow: 0px 2px 5px rgba(0,0,0,0.5);
}

/* COVER */
.shadow-on-scroll::after {
    /* linear gradient from background color to transparent acts as
     a transition effect so the shadow appears gradually */
    background: linear-gradient(white 10%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.4) 70%, transparent);
    top: 0;
    /* cover should fall over shadow */
    z-index: 2;
}

/* HEADER CONTENT */
.shadow-on-scroll > nav {
  height: 64px;
  position: sticky;
  top: 0px;
  /* compensate for shadow with negative margin */
  margin-top: -16px;
  /* content should fall over shadow and cover */
  z-index: 3;
}

/*#region*/

















.footer-dark {
    padding: 75px;
    color: #f0f9ff;
    background-color: #282d32;
    bottom: 0;
}

.footer-container{
    max-width: 1800px;
}

.footer-dark h3 {
    margin-top: 0;
    margin-bottom: 24px;
    font-weight: bold;
    font-size: 18px;
}

.footer-dark ul {
    padding: 0;
    list-style: none;
    line-height: 1.6;
    font-size: 16px;
    min-height: 16px;
}

.footer-dark ul a {
    color: inherit;
    text-decoration: none;
    opacity: 0.75;
    margin-bottom: 12px;
}

.footer-dark ul p {
    color: inherit;
    text-decoration: none;
    opacity: 0.75;
    margin-bottom: 12px;
}

.footer-dark ul a:hover {
    opacity: 0.9;
}

.footer-legal{
    margin: 30px 0 0 0;
}

.copyright {
    opacity: 0.45;
}