/* avoid fouc with responsive content*/
.grid-container.loading {
  display: none;
}

/* loading animation */
#loading {
  background: #ffffff;
  height: 100vh;
  width: 100%;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.lds-ellipsis div {
  position: absolute;
  top: 27px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: silver;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.5s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.5s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 26px;
  animation: lds-ellipsis2 0.5s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 45px;
  animation: lds-ellipsis3 0.5s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(19px, 0);
  }
}

/* fonts */
@font-face {
  font-family: "Stag Medium";
  src: url("fonts/Stag-Medium.otf");
}

/* base */
body {
  margin: 0 auto;
  font-family: "Open Sans", Arial, Helvetica, Sans-Serif;
  color: #4d5353;
  font-size: 1em;
  line-height: 1.5;
}

.grid-container {
  max-width: 62.5em;
}

.top-head {
  line-height: 0;
  /* margin-bottom: 0.2rem; */
}

.sidebar {
  border-right: 5px solid #f3f3f3;
  min-width: 11em;
}

.sidebar>div {
  padding: 0 0.5em;
}

.main-content {
  padding: 0 1em;
}

.footer {
  border-top: 2px solid #f3f3f3;
  padding-top: 1em;
}

/* headlines */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #0069af;
  font-family: "Stag Medium", "Open Sans", Arial, Helvetica, Sans-Serif;
  margin-bottom: 0.2em;
}

h1 {
  color: white;
  display: inline-block;
  font-size: 1.5em;
  letter-spacing: 0.1em;
  line-height: 1.9em;
}

.headline-inverted span {
  background-color: #0069af;
  padding: 0.5em 0.3em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.page-content h1+p {
  margin-top: 1.5em;
}

.page-content h1+h2 {
  margin-top: 1.5em;
}

.page-content>h2 {
  margin-top: 0;
}

h2 {
  color: #b4906c;
  font-size: 1.3em;
  letter-spacing: 0.1em;
  line-height: 1.5em;
  margin-top: 1.5em;
}

h3 {
  font-size: 1.1em;
  letter-spacing: 0.05em;
  margin-top: 1.2em;
}

h4,
h5,
h6 {
  font-size: 1em;
  letter-spacing: 0.02em;
  margin-top: 1em;
}

.main-menu ul,
.page-content ul.nav-tree,
.page-content .nav-tree ul {
  list-style-type: none;
  padding-left: 0.2em;
}

.zgif-header select,
.zgif-header .search input {
  font-size: 0.9rem;
}

.zgif-header>div:not(.shrink):not(.search-catalog-box) {
  min-width: 80px !important;
}

#sidebar .main-menu a,
#sidebar .main-menu li {
  color: #4d5353;
  font-size: 0.9em;
  text-transform: uppercase;
}

#sidebar .main-menu li ul li {
  margin-left: -0.5em;
}

ul li {
  color: #4d5353;
  line-height: 1.8em;
  list-style: none;
}

#sidebar ul li ul li,
div.page-content>ul:not(.no-bullets) li:not(.cke_panel_listItem),
div.page-content>ul:not(.no-bullets) li:not(.cke_panel_listItem) ul:not(.no-bullets) li:not(.cke_panel_listItem),
body[class^="cke_"]>ul:not(.no-bullets) li:not(.cke_panel_listItem),
body[class^="cke_"]>ul:not(.no-bullets) li:not(.cke_panel_listItem) ul:not(.no-bullets) li:not(.cke_panel_listItem) {
  text-indent: -0.75em;
}

#sidebar ul li ul li:before,
div.page-content>ul:not(.no-bullets) li:not(.cke_panel_listItem):before,
div.page-content>ul:not(.no-bullets) li:not(.cke_panel_listItem) ul:not(.no-bullets) li:not(.cke_panel_listItem):before,
body[class^="cke_"]>ul:not(.no-bullets) li:not(.cke_panel_listItem):before,
body[class^="cke_"]>ul:not(.no-bullets) li:not(.cke_panel_listItem) ul:not(.no-bullets) li:not(.cke_panel_listItem):before {
  content: "\00BB";
  padding-right: 0.2em;
  vertical-align: 5%;
}

#sidebar ul li:before,
ul.no-bullets li:before,
ul.no-bullets ul li li:before {
  content: "";
  padding: 0;
}

ul.link-list li:before,
ul.link-list li:hover::before {
  color: #1585cf;
}

.zgif-nav li.current * {
  font-weight: 700;
}

#sidebar li.current *,
#sidebar li.current:before {
  color: #f4a034;
  font-weight: 700;
}

#sidebar .top-nav a {
  color: #0069af;
  font-family: "Stag", "Open Sans", Arial, Helvetica, Sans-Serif;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

#sidebar .top-nav span {
  font-size: 0.9em;
  padding-left: 1em;
}

#sidebar .top-nav .nested a {
  font-size: 0.8em;
  padding-left: 1em;
}

.sidebar-language-switch {
  padding-bottom: 0.5em;
  margin-top: -0.9em;
}

.search input {
  height: inherit;
  padding: 0.3em;
}

.search-catalog input {
  padding: 0.3em;
  font-size: 0.9em;
}

/* .sidebar-toggle-button, */
.search button {
  /* font-size: 0.9em; */
  padding: 0.5em 1em;
}

.search-catalog-box {
  min-width: 180px;
}

#zgif-nav {
  /* background-color: #f4a034; */
  border-bottom: 3px solid #f4a034 !important;
}

.zgif-nav .menu a,
.zgif-nav .menu .button,
.zgif-nav .menu span {
  margin-left: -0.4rem;
  padding: 0.5rem 0.4rem;
  text-transform: uppercase;
}

.zgif-data-table .section,
.zgif-data-table tr.section-subset {
  border-left: 1px solid #38afd1;
  border-right: 1px solid #38afd1;
}

.zgif-data-table .section-end {
  border-left: 1px solid #38afd1;
  border-right: 1px solid #38afd1;
  border-bottom: 1px solid #38afd1;
}

/* {
  border-bottom: 30px solid #f00;

} */
.zgif-data-table th {
  text-align: right;
}

.zgif-data-table th+th {
  text-align: left;
}

table.hover.zgif-data-table tr.section-subset,
table.hover.zgif-data-table tr.section-subset:hover,
table.hover.zgif-data-table tr.section-subset th,
table.hover.zgif-data-table tr.section-subset:hover th {
  background-color: #e9ce7721;
  color: #0069af;
}

.zgif-data-table th[colspan] {
  border-top: 1px solid #38afd1;
  text-align: center;
  color: #fff;
  background-color: #38afd1;
  /* background-color: rgb(233, 233, 233); */
}

tbody tr.collapsed td {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 1em;
}

th.nobr,
td.nobr {
  white-space: nowrap;
}

table.stack td.expand-action {
  vertical-align: top;
}

.pwAdmin {
  text-align: right;
  position: static;
  margin-top: -41px;
  padding-right: 40px;
}

.pwAdmin .button,
.pwAdminMobile .button,
.reveal .button {
  text-transform: uppercase;
  padding: 0.3em 0.7em;
}

.pwAdmin .button,
.pwAdminMobile .button,
.export-box .zgif-button,
.toggle-nav button,
.reveal .zgif-button {
  background-color: #38afd1;
}

.pwAdmin .button:focus,
.pwAdmin .button:hover,
.pwAdminMobile .button:focus,
.pwAdminMobile .button:hover,
.export-box .zgif-button:focus,
.export-box .zgif-button:hover,
.toggle-nav .button:focus,
.toggle-nav .button:hover,
.reveal .zgif-button:focus,
.reveal .zgif-button:hover {
  background-color: #14679e;
  color: #fefefe;
}

.input-group-button button.button,
.input-group-button button.button:focus {
  background-color: #f4a034;
}

.zgif-header .toggle-nav button {
  padding: 0.556em;
}

.hollow.zgif-button {
  border: 1px solid #38afd1;
  color: #38afd1;
}

.hollow.zgif-button:focus,
.hollow.zgif-button:hover {
  /* border: 1px solid #38afd1; */
  color: #fefefe;
}

#sidebar-mobile {
  margin-top: -0.2em;
}

#sidebar-mobile .zgif-button,
.export-box .button {
  border: none;
}

#sidebar-mobile .zgif-button {
  padding: 0.75em;
}

.icon-left {
  font-size: 1.6em;
  font-weight: 300;
  margin-right: 0.5em;
}

a {
  color: #0069af;
}

#sidebar li:hover:before {
  color: #b4906c;
}

#sidebar a:hover {
  color: #b4906c;
}

ul.link-list li:hover:before,
a:hover {
  color: #38afd1;
}

span.pw-edit.pw-edit-InputfieldText,
div.pw-edit.pw-edit-InputfieldTextarea,
span.pw-edit.pw-edit-InputfieldPageTitle {
  background: #ffd;
}

.link-list {
  color: #0069af;
  list-style: none;
}

.link-list li:before {
  color: #0069af;
  content: "\2022";
  padding-right: 0.2em;
}

img.align_center,
figure.align_center,
table.align-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 600px;
}

table {
  font-size: 0.9em;
  color: #4d5353;
}

.list-row {
  border-top: 1px solid grey;
}

table td,
table th {
  font-size: 0.9em;
  color: #4d5353;
}

table.enum-table td {
  word-break: break-word;
}

caption[align="bottom"] {
  font-weight: inherit;
  line-height: 1.6;
  margin-bottom: 1em;
  margin-top: 0.5em;
  padding: 0;
  text-align: left;
}

.inline-nav {
  margin-left: 1.6em;
}

figure {
  display: table;
  width: 600px;
  margin: 1em 0;
}

figure img {
  display: table-row;
  margin-bottom: 0.5em;
}

.cke_editable figure figcaption,
figure figcaption {
  display: table-row;
  line-height: 1.3em;
  color: #777;
  font-size: 13px;
}

img {
  max-width: 100%;
}

img.right,
img.align_right,
img.align-right,
figure.align_right,
figure.align-right {
  /* RCD */
  float: right;
  margin-left: 15px;
  margin-right: 0;
  margin-top: 0;
}

img.left,
img.align_left,
img.align-left,
figure.align_left,
figure.align-left {
  /* RCD */
  float: left;
  margin-top: 0;
  margin-left: 0;
  margin-right: 15px;
}

img.align_center,
img.align-center,
figure.align_center,
figure.align-center {
  /* RCD */
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.shop-link {
  border-top: 2px solid #f3f3f3;
  margin-top: 1em;
}

.shop-link img {
  height: 15em;
}

.fi-arrows-out,
.fi-arrows-in {
  font-weight: 100;
  font-size: 1.4rem;
  /* color: #f4a034; */
}

/* button.sidebar-toggle-button {
  font-size: 1em;
} */

/* spacers */

.spacer-h-04 {
  display: inline-block;
  width: 0.4em;
  min-width: 4px;
}

.spacer-v-02 {
  display: block;
  height: 0.2em;
}

.spacer-v-05 {
  display: block;
  margin-top: 0.5em;
}

.spacer-v-1 {
  display: block;
  margin-top: 1em;
}

.spacer-v-76p {
  display: block;
  margin-top: 76px;
}

li.disabled-nav a {
  color: silver;
  cursor: not-allowed;
}

.grid-margin-x.zgif-header>.cell {
  margin: 0.4rem 0.3rem 0.3rem 0.2rem;
}

#callout .alert-box {
  margin-block: 0.5em;
}
/* .grid-margin-x.zgif-header > .cell:first-child {
  margin-left: 15px;
}
.grid-margin-x.zgif-header > .cell:last-child {
  margin-right: 15px;
} */

/* media queries */

@media screen and (max-width: 39.99875em) {
  .top-head img {
    max-height: 5vh;
    width: 100vw;
  }

  .gif-logo {
    max-height: 40px;
    min-height: 10px;
  }

  table.stack thead {
    display: none;
  }

  table.stack tfoot {
    display: none;
  }

  table.stack tr,
  table.stack th,
  table.stack td {
    display: block;
  }

  table.stack td {
    border-top: 0;
    padding: 0.2em 0;
  }

  table.stack tr {
    border-top: 0;
    padding: 0.5em 0;
  }
}

@media screen and (min-width: 39.99876em) {
  .grid-margin-x.zgif-header {
    padding: 0 15px;
  }

  .top-head {
    height: 68px;
  }

  .top-head img {
    height: 68px;
  }

  .gif-logo {
    max-height: 60px;
    min-height: 40px;
  }

  table.stack thead {
    display: table-header-group;
  }

  table.stack tfoot {
    display: inherit;
  }

  table.stack tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
  }

  table.stack th,
  table.stack td {
    display: table-cell;
    vertical-align: inherit;
  }
}

@media screen and (max-width: 53em) {
  tbody tr.collapsed td {
    max-width: 90px;
  }
}
