/**
 * @version     1.2
 * @package     Newgreement
 * @copyright   2023 - 2024 Legent B.V.
 * @license     GNU General Public License version 3 or later; see LICENSE.txt
 * @author      René Kreijveld <r.kreijveld@legent.nl>
 * @about       user.css file for the Cassiopeia Newgreement template
 */

:root {
  --legent-red: #e30613;
  --cassiopeia-color-primary: #01296e;
  --newgreement-blue: #01296e;
  --newgreement-gold: #d2ad3a;
  --light-grey: #f2f2f2;
  --sidebar-width: 190px;
}

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Raleway-Regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Raleway";
  font-style: bold;
  font-weight: 700;
  src: url("../fonts/Raleway-Bold.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.header {
  border-bottom: 1px solid #999;
}

.header {
  height: 70px;
  background-color: white;
  position: sticky;
  top: 0;
  border-bottom: 1px solid #999;
  z-index: 1020;
}

body {
  font-family: Raleway, Arial, Helvetica, sans-serif;
  margin: 0;
}

body.onhome {
  font-family: Raleway, Arial, Helvetica, sans-serif;
  margin: 0;
  background-color: var(--newgreement-blue);
  color: #ffffff;
}

.homepage .alert-message {
  color: #000;
}

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
  font-family: Raleway, Arial, Helvetica, sans-serif;
}

.onhome .container {
  max-width: 1680px;
}

.onhome .mod-login i.fa-user {
  padding: 0 3px;
}

.onhome .btn-primary {
  background-color: var(--newgreement-gold);
  color: var(--newgreement-blue);
}

.onhome .mod-login .form-group {
  max-width: 300px;
}

.onhome h1 {
    display: none;
}

.onhome legend {
    font-size: var(--body-font-size);
    margin-bottom: 1rem;
}

.onhome fieldset,
.onhome .control-group {
    margin-bottom: 0;
}

.onhome a {
  color: white;
}

.container-header {
  background-color: var(--white);
  background-image: none;
}
.container-header .nav {
  border-bottom: 1px solid var(--gray-400);
}
.container-header .nav > li > a {
  display: inline-block;
  color: var(--black);
  height: 36px;
  line-height: 36px;
  padding: 0 5px;
}

.container-header .nav > li.current {
  border-bottom: 4px solid var(--newgreement-blue);
}

.container-header .nav > li:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-bottom: 4px solid var(--newgreement-blue);
}

.js-stools-container-bar {
  padding: 0;
}

.dropdown-menu-arrow::before {
  content: "";
  width: 13px;
  height: 13px;
  background: var(--white);
  position: absolute;
  top: -7px;
  right: 20px;
  transform: rotate(45deg);
  border-top: 1px solid #eaedf1;
  border-left: 1px solid #eaedf1;
}

.dropdown-menu-arrow-start::before {
  content: "";
  width: 13px;
  height: 13px;
  background: var(--white);
  position: absolute;
  top: -7px;
  left: 10px;
  transform: rotate(45deg);
  border-top: 1px solid #eaedf1;
  border-left: 1px solid #eaedf1;
}

.profile-nav ul {
  list-style: none;
}
.profile-nav .nav-profile img {
  max-height: 36px;
}
.profile-nav a.nav-profile {
  color: rgb(34, 38, 42);
}
.profile-nav,
.profile-nav .profile {
  padding: 9px 0;
  font-size: 16px;
}

.profile-nav .profile {
  border-radius: 4px;
  padding: 10px 0;
  padding-bottom: 10px;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.5);
  width: 200px;
}

.dropdown-menu.actionnav {
  border-radius: 4px;
  padding: 10px 0;
  padding-bottom: 10px;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.5);
  width: 250px;
}

.dropdown-menu.actionnav .nav-item[disabled] {
    opacity: 0.3;
}

.dropdown-menu.actionnav .nav-item {
  border-bottom: 3px solid var(--white);
}

.dropdown-menu.actionnav .nav-item a,
.dropdown-menu.actionnav .nav-item span {
  padding: 0.2rem 1rem;
  text-decoration: none;
  text-wrap: auto;
  color: rgb(34, 38, 42);
  display: block;
}

.dropdown-menu.actionnav .nav-item:not([disabled]):hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--newgreement-blue);
}

.updateoptions .dropdown-menu li a,
.profile-nav .profile .nav-item {
  border-bottom: 3px solid var(--white);
}

.updateoptions .dropdown-menu li a,
.profile-nav .profile .nav-item a {
  text-decoration: none;
  color: rgb(34, 38, 42);
}

.updateoptions .dropdown-menu li:hover a,
.profile-nav .profile .nav-item:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--newgreement-blue);
}

div.tooltip {
  font-size: 0.75rem;
}

.sidebar-left {
  padding: 0;
  width: var(--sidebar-width);
  background-color: var(--light-grey);
  position: fixed;
  top: 70px;
  bottom: 0;
}

.sidebar-left > ul {
  border-top: 3px solid #999;
  margin-top: 1em;
  width: 100%;
}

.sidebar-left ul.mod-menu__sub {
  border-top: none;
  width: 100%;
  padding-left: 0;
}

.sidebar-left .mod-menu__sub .nav-item a:before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 700; /* Use 400 for regular style icons */
  display: inline-block;
  padding-right: 5px;
  font-size: 13px;
}

.sidebar-left .nav-item {
  padding: 0;
}

.sidebar-left .nav-item a {
  text-decoration: none !important;
  color: #333;
  border-bottom: 3px solid #999;
  padding: 0.35rem 1rem;
  display: block;
}

.sidebar-left .nav-item.current > a,
.sidebar-left .nav-item.active > a {
  color: white;
  background-color: var(--newgreement-blue);
  border-bottom: 3px solid var(--newgreement-gold);
}

.sidebar-left .nav-item a:hover {
  color: white;
  background-color: var(--newgreement-blue);
  border-bottom: 3px solid var(--newgreement-gold);
}

.sidebar-left .logo {
  width: var(--sidebar-width);
  position: absolute;
  bottom: 0;
  left: 0;
}

.content {
  margin-left: var(--sidebar-width);
  padding: 1rem;
}


.nav.nav-tabs .nav-link {
  border-bottom: 5px solid #E8E8EA;
}

.nav.nav-tabs .nav-link.active,
.nav.nav-tabs .nav-link:hover {
  background-color: var(--newgreement-blue);
  color: white;
  border-bottom: 5px solid var(--newgreement-gold);
  box-shadow: none !important;
  background-image: none !important;
}

.subdossiers {
  border-radius: 4px;
  padding: 10px 0;
  padding-bottom: 10px;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.5);
}

.subdossiers .nav-item {
  border-bottom: 3px solid var(--white);
}

.subdossiers .nav-item a {
  padding: 0.2rem 1rem;
  text-decoration: none;
  color: rgb(34, 38, 42);
  display: block;
}

.subdossiers .nav-item:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid var(--newgreement-blue);
}

#dossierList .subs {
  border-radius: 4px;
  padding: 10px 0;
  padding-bottom: 10px;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.5);
}

#dossierList .subs .nav-item a {
  padding: 0.2rem 1rem;
  text-decoration: none;
  color: rgb(34, 38, 42);
  display: block;
}

.btn-link {
  color: var(--primary);
}

#form-fdyeardata .nbl td {
  border-bottom: 0;
}

#form-fdyeardata .subform-repeatable table {
  margin-bottom: 0;
}

#form-fdyeardata .subform-repeatable table td {
  padding-bottom: 0;
}

#form-fdyeardata .table-resultdeeln thead,
#form-fdyeardata .table-batenlasten thead,
#form-fdyeardata .table-actbelast thead,
#form-fdyeardata .table-actoverlopend thead,
#form-fdyeardata .table-actliquide thead,
#form-fdyeardata .table-pasbelast thead,
#form-fdyeardata .table-pasoverlopend thead {
  display: none;
}

#form-fdyeardata ul.belastoverig .control-group,
#form-fdyeardata ul.activaoverig .control-group,
#form-fdyeardata ul.passivaoverig .control-group {
  margin-bottom: 0;
}

#form-fdyeardata #balansverschil.form-danger {
  border-color: var(--legent-red) !important;
  color: var(--legent-red) !important;
}

#form-fdyeardata .balansverschil,
#form-fdyeardata .balansverschil input {
  font-weight: bold;
}
#form-fdyeardata #jform_year {
  margin-left: 10px;
}

#form-fdyeardata #yearError,
#form-fdyeardata #yeardataFields {
  display: none;
}

.pagination .page-link {
  padding-top: 3px;
  padding-bottom: 3px;
}

td.fit,
th.fit {
  white-space: nowrap;
  width: 1%;
  padding-right: 2em;
}
td.tight,
th.tight {
  white-space: nowrap;
  width: 0.1%;
}
.table-fit td,
.table-fit th {
  white-space: nowrap;
  width: 1%;
  padding-right: 2em;
}

.table-fit td:last-child,
.table-fit th:last-child {
  white-space: normal;
  width: auto;
  padding-right: 0.5em;
  text-align: right;
}

.shrink td,
.shrink th {
  white-space: nowrap;
  width: 1%;
  padding-right: 1.5rem;
}
.shrink td:last-child,
.shrink th:last-child {
  width: auto;
  padding-right: 0;
}
.btn-clear,
.js-stools-btn-clear {
  background-color: #7799b4;
  color: #ffffff;
  border-color: transparent;
}

.btn-clear:hover {
  background-color: #7799b4;
  color: #ffffff;
}
.indent {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 38px;
}
.artikelkop {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: bold;
}
.h2_legent_rood {
  font-size: 24px;
  font-weight: bold;
  color: #e30613;
}
.h2_legent_grijs {
  font-size: 24px;
  font-weight: bold;
  color: #666666;
}
.h3_legent_rood {
  font-size: 20px;
  font-weight: bold;
  color: #e30613;
}
.h3_legent_grijs {
  font-size: 20px;
  font-weight: bold;
  color: #666666;
}
.p_legent_rood {
  font-size: 16px;
  color: #e30613;
}
#system-message-container joomla-alert {
  margin-bottom: 1rem;
}
.item-page p {
  margin-bottom: 0;
}
.item-page ul {
  margin-bottom: 0;
}
.marker {
  background-color: yellow;
}
.yellow {
  color: yellow;
}
.nav.nav-tabs .nav-link {
    padding-left: 10px;
    padding-right: 10px;
}
#dncopy:hover {
  cursor: pointer;
}
.btn-mgt {
    width: 100%;
    margin-bottom: 0.5rem;
}
.col-mgt {
    vertical-align: top;
    width: 225px;
    padding: 0 30px 20px 0;
}
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: 1px;
  border-left-color: rgb(233, 236, 239);
  border-left-width: .25rem;
  border-radius: .25rem;
}
.bd-callout-info {
  border-left-color: rgba(91, 192, 222);
  background-color:  rgba(91, 192, 222, 0.2);
}

.sortable-handler.inactive {
  opacity: .3;
}

input[readonly] {
  color: rgb(109, 117, 126);
  pointer-events: none;
}

.com-users-login label.invalid {
  color: #D3AD39;
}

.com-users-login__form {
  width: 322px;
}