/* Source Sans Pro */
@font-face {
  font-family: "Source Sans Pro";
  src: url("styles/SourceSansPro/SourceSansPro-Regular.woff") format("woff"),
    url("styles/SourceSansPro/SourceSansPro-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("styles/SourceSansPro/SourceSansPro-Bold.woff") format("woff"),
    url("styles/SourceSansPro/SourceSansPro-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: 'gesis-icons';
  src:
    url('styles/gesis-icons.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}


/* Ist eine Sonderfall Schrift
@font-face {
  font-family: 'Cabin';
  src: url('styles/Cabin-Regular.ttf') format('truetype');
}*/

/*default font: Source Sans Pro*/
* {
  font-family: "Source Sans Pro";
}

body {
  font-family: "Source Sans Pro";
  font-size: 16px;
  color: #292929;
  counter-reset: appendix-section;
}

/* Header 1 */
h1 {
  font-family: "Source Sans Pro";
  font-weight: bold;
  font-size: 36px;
  opacity: 1;
  color: #003C78;
}

/* Header 2 */
h2 {
  font-family: "Source Sans Pro";
  font-weight: bold;
  font-size: 28px;
  color: #003C78;
  opacity: 1;
  padding-bottom: 0;
}

/* Header 3 */
h3 {
  font-family: "Source Sans Pro";
  font-weight: bold;
  font-size: 24px;
  opacity: 1;
  color: #1E8CC8;
}

/* Header 4 */
h4 {
  font-family: "Source Sans Pro";
  font-weight: bold;
  font-size: 18px;
  opacity: 1;
  color: #1E8CC8;
}

/* Header 5 */
h5,
.quarto-title-meta-heading {
  font-family: "Source Sans Pro";
  text-transform: none !important;
  opacity: 1;
  font-weight: bold !important;
  font-size: 16px;
  color: #1E8CC8;
}

.header-section-number {
  color: #003C78;
  opacity: 1;
}

.quarto-title-meta,
.quarto-float-caption,
caption {
  color: #1E8CC8;
  opacity: 1;
}

p {
  line-height: 1.6;
}

ul {
  list-style-type: square;
}


::marker,
.header-section-number {
  color: #d20064;
}

/* Anpassen der Links */
a {
  color: #003C78;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 0 #d20064;
  transition: all .3s ease-in-out;
}

a:hover {
  box-shadow: inset 0 -10px 0 0 rgba(210, 0, 100, 0.5);
}

.anchorjs-link {
  display: none;
}

math,
.math {
  font-size: 85%;
  /* Reduce font size to 85% of the default */
}

/* APPENDIX Section Numbering */
h3.appendix-section {
  counter-increment: appendix-section;
  counter-reset: appendix-subsection;
}

h3.appendix-section::before {
  content: counter(appendix-section, upper-roman) ". ";
  font-weight: bold;
  margin-right: 0.5em;
}

/* Second level - uses a, b, c... */
h4.appendix-subsection {
  counter-increment: appendix-subsection;
}

h4.appendix-subsection::before {
  content: counter(appendix-subsection, lower-alpha) ". ";
  font-weight: bold;
  margin-right: 0.5em;
}


/*table*/

/* Übersteuert Bootstrap-Tabellenstile, wenn html-table-processing: none aktiviert ist */
table.gt_table_body {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

table.gt_table_body th,
table.gt_table_body td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
  /* Standardausrichtung */
}

table.gt_table_body th {
  background-color: #f4f4f4;
  font-weight: bold;
}

table.gt_table_body td {
  text-align: left;
  /* Standard für alle Zellen */
}

/* spezifische Formatierungen für bestimmte Spalten/Zeilen */
table.gt_table_body td.gt_right {
  text-align: right;
}

table.gt_table_body .gt_left {
  text-align: left;
}

/* Für ungerade/even Zeilen */
table.gt_table_body tr.even {
  background-color: #f9f9f9;
}

table.gt_table_body tr.odd {
  background-color: #fff;
}

th {
  color: #1E8CC8 !important;
}

.odd:not(.var-name-tbl) {
  background-color: #EFEFEF;
}

/* remove borders in variable naming tables */
.var-name-tbl table {
  border-collapse: collapse;
}

.var-name-tbl table,
.var-name-tbl th,
.var-name-tbl td {
  border: none;
  padding: 2px 6px;
  /* Less space inside cells */
  line-height: 1.1;
  /* Tighter text spacing */
}

.var-name-tbl th:nth-child(2),
.var-name-tbl td:nth-child(2) {
  min-width: 30px;
  word-wrap: break-word;
}

tfoot {
  font-size: 90%;
  text-align: left;
  border-bottom: #fff;
}

/* box that appears when hovering  */
.tippy-box {
  border-color: #949494 !important;
  font-family: 'Source Sany Pro' !important;
  font-weight: normal !important;
  padding: 33px;
}

.tippy-box h1 {
  margin-top: 0 !important;
}

/* TOC gibt es nicht mehr in Dokumenten selbst
#TOC .nav-link.active {
  background-color: transparent !important;
  color: inherit !important;
  font-weight: normal !important;
  border-left: 1px solid #e9ecef;
  line-height: 1.1rem;
  padding-bottom: .2rem;
  padding-top: .2rem;
}

#TOC .nav-link .header-section-number {
  color: #003C78 !important;
}

#TOC .nav-link:hover {
  color: #1E8CC8 !important;
} */

/* style von aufklappbaren Boxen */
div.callout-note.callout {
  border-left-color: #1E8CC8;
}

div.callout-note.callout-style-default>.callout-header {
  background-color: #E0EFF7;
}

/* make content left aligned */
div.page-layout-custom {
  max-width: 900px !important;
}

.simple-table {
  margin-top: .5rem;
  margin-bottom: .5rem;
  border-top: 1px solid #d3d3d4;
  border-bottom: 1px solid #d3d3d4;
  vertical-align: top;
}

.simple-table th,
.simple-table td {
  border-bottom: 1px solid #d3d3d4;
  border-collapse: collapse;
  vertical-align: top;
}

/* Only style lists inside .styled-list */
.list-with-bottom-margin li {
  margin-bottom: 10px;
}