:root {
  --bg-dark: #2d2d2d;
  --bg-light: #efefef;
  --accent-light: white;
  --accent-dark: #3e3e3e;
  --all-nicegray: rgb(86, 86, 86);
  --font-light: #cecece;
  --font-dark: #2c2c2c;
  --success-green: #198754;
  --info-orange: #b5740b;
  --error-red: #e25f5f;

  --nav-height: 80px;
  --sidebar-width: 250px;
}

body {
  background-color: var(--bg-light);
}
.hidden {
  display: none !important;
}
.tac {
  text-align: center;
}
.fz-14 {
  font-size: 16px;
  font-weight: normal;
}
.navbar-custom {
  background-color: var(--accent-light);
  min-height: var(--nav-height);
  width: 100dvw;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px,
    rgba(0, 0, 0, 0.1) 0px 2px 4px 0px,
    rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
}
.navbar-custom .nav-item {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0px 10px;
  color: var(--font-dark);
}
.navbar-custom .nav-link {
  color: var(--font-dark);
}

.login-container {
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
}
#login-form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--accent-light);
  border-radius: 20px;
  padding: 20px;
  height: 500px;
  width: 500px;
}
.error {
  color: var(--error-red);
  font-size: 1.25em;
  font-weight: bold;
}
#login-form .form-group {
  display: flex;
  flex-direction: column;
  margin: 10px 0px;
}
#login-form .form-group label {
  font-size: 1.25em;
}
#login-form .form-group input {
  width: 300px;
  border-radius: 10px;
  padding: 5px;
  border: 2px solid var(--accent-dark);
  outline: none;
}
.content {
  margin-top: calc(var(--nav-height) + 20px);
  min-height: 100dvh;
}

.personal-header-avatar {
  width: 100px;
  height: 100px;
  -webkit-border-radius: 100px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 100px;
  -moz-background-clip: padding;
  border-radius: 100px;
  background-clip: padding-box;
  margin: 0 0 0 0;
  float: left;
  background-size: cover;
  background-position: center center;
  border: solid;
  border-color: var(--all-darkblue);
  border-width: 2px;
}

.tma-box,
.tma-title-box {
  background-color: white;
  border-radius: 5px;
  border: solid 2px var(--all-nicegray);
  padding: 10px;
  margin: 10px;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.tma-box:hover {
  -webkit-box-shadow: 4px 4px 5px 1px rgba(86, 86, 86, 0.8);
  box-shadow: 4px 4px 5px 1px rgba(86, 86, 86, 0.8);
  cursor: pointer;
}

.button-link {
  background-color: var(--accent-light);
  color: var(--font-dark);
  border-radius: 5px;
  border: 2px solid black;
  padding: 10px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 10px;
  text-decoration: none !important;
}
.button-link:hover {
  box-shadow: rgba(0, 0, 0, 0.4) 1.95px 1.95px 2.6px;
}
.rapport-link {
  text-decoration: none !important;
}

.link-to-schaden:hover {
  color: var(--all-nicegray) !important;
}
.fa-up-right-from-square {
  cursor: pointer;
}

#formDatasend .form-group,
#caseConnect .form-group {
  display: flex;
  flex-direction: column;
  margin: 10px 0px;
}
#formDatasend .form-group label,
#caseConnect .form-group label {
  font-size: 1em;
  font-weight: bold;
}
#formDatasend .form-group input {
  width: 50%;
  border-radius: 10px;
  padding: 5px;
  border: 2px solid var(--accent-dark);
  outline: none;
}
#formDatasend .form-group select,
#caseConnect .form-group select {
  width: 300px;
  border-radius: 10px;
  padding: 5px;
  border: 2px solid var(--accent-dark);
  outline: none;
}
.input-error {
  color: var(--error-red);
  font-weight: bold;
}

/* Custom class for Magnific Popup iframe */
.mfp-custom-iframe .mfp-content {
  width: 60%;
  max-width: 600px;
  height: 90%;
}

.mfp-custom-iframe .mfp-iframe-holder .mfp-content {
  max-width: 100%;
  height: 100%;
}

.mfp-custom-iframe .mfp-iframe-scaler {
  height: 100%;
}

.mfp-custom-iframe iframe {
  height: 100%;
  width: 100%;
}
.delete-info-file:hover,
.delete-case {
  cursor: pointer;
  color: var(--error-red);
}
.title-container {
  display: flex;
  justify-content: space-between;
}
