/*
 * Client design override (Unicon), one file for all pages.
 *
 * IMPORTANT: this file is served as plain CSS, it is not compiled by Sass. Use block comments only:
 * a line comment (double slash) turns the selector of the next rule into garbage and the browser
 * drops that rule. No $variables. An @import must be the very first statement of the file.
 *
 * Images: put them in clientfiles/images/ and refer to them with the relative path ../images/NAME.
 * Run "php bin/console asset-map:compile" after changing this file or the images.
 *
 * Login page: only the login page contains the field #inputUsername, so rules for the login page
 * start with "body:has(#inputUsername)" and do not touch any other page (see the last section).
 */

/* Font Titillium Web (loaded from Google Fonts; to avoid the external request, host the font files in clientfiles/fonts/) */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;700&display=swap');

/* Info box on the login page (clientfiles/twig/security/login_info.html.twig) */
.info-box {
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 5px;
  color: #333;
  margin: 0 auto;
  line-height: 1.2; /* Adjust the line height as needed */
}

body {
  font-family: 'Titillium Web', Arial, sans-serif;
}

/* Logo picture */
.logo {
  content: url("../images/uniconlogo-XRPp3H7.png");
}

/* Icons: navigation icons on the left side and the profile icon */
svg path {
  fill: #FFBD00;
  stroke: #FFBD00;
}

a:hover svg g path {
  fill: #0e2050;
  stroke: #0e2050;
}

/* The font icons of the left menu (home, profile, and every module without a picture of its own in
   clientfiles/icons/) get the same yellow as the pictures; the link color a { color } would make them dark blue */
.svg-fs-1,
.bi-person-circle,
.user-nav .nav-icon {
  color: #FFBD00;
}

.svg-fs-1:hover,
.bi-person-circle:hover,
.user-nav .nav-link:hover .nav-icon {
  color: #0e2050;
}

/* Text and link colors */
.txt-color,
a {
  color: #0e2050 !important;
}

td {
  color: #212529 !important;
}

label,
h2 {
  color: #212529;
}

a:hover {
  color: #0e2050;
  font-weight: bold;
}

.nav-link:focus,
.nav-link:hover {
  color: #0e2050;
}

/* Backgrounds */
.bg-color {
  background-color: #ECEEEF;
}

.right-bg-color {
  background-color: #ECEEEF;
  color: #0e2050 !important;
}

/* Home tiles */
.bg-card {
  background-color: #FFBD00;
}

.bg-sub-card {
  background-color: #0e2050;
}

/* Border of the customer advisor */
.client-Advisor-border {
  border: 4px solid #FFBD00;
}

/* Buttons */
button.btn-primary,
a.btn-primary {
  background-color: #0e2050 !important;
}

/* Tables: long cell text wraps onto several lines instead of being cut with "..." (in the old portal the
   rule ".dataTables_scrollBody td { white-space: inherit }" did this) */
table.dt-columns td {
  white-space: normal;
}

/* Not active: the old rule ".btn .btn-secondary" (yellow text) never matched a button, because the
   descendant selector looks for .btn-secondary INSIDE a .btn. For yellow text on the grey secondary
   buttons use ".btn.btn-secondary { color: #FFBD00 !important; }" (check the contrast first). */

/* Login page only: individual background */
body:has(#inputUsername) .container-fluid {
  background-image: url("../images/Login-Bild-uUT2Yps.png");
  background-position: bottom;
  background-size: cover;
  position: absolute;
}
