/*--------------- Layout ---------------*/
body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  background: #fff;
  color: #333;
}
body.toolbar-fixed .fixed-top { top: 39px; }
body.toolbar-fixed.toolbar-horizontal.toolbar-tray-open .fixed-top { top: 79px; }
body.toolbar-fixed .toolbar-oriented .toolbar-bar { z-index: 1031; }

.break-container {
  position: relative;
  width: 100vw;
  left: calc(-1*(100vw - 100%)/2);
}

/*@media (min-width: 1440px) {
  .container {
    max-width: 1360px;
  }
}
@media (min-width: 1920px) {
  .container {
    max-width: 1800px;
  }
}*/

a { text-decoration: none; }
a:hover { text-decoration: underline; }
a.btn:hover { text-decoration: none; }

img { max-width: 100%; }

#header {
  position: relative;
  margin: 0;
  padding: 0;
  z-index: 501;
}

.breadcrumb { font-size: 0.95em; }
.nav-tabs { margin-top: 1rem; margin-bottom: 1rem; }
.nav-tabs .nav-link { text-decoration: none; cursor: pointer; }

/*--------------- Status Messages ---------------*/
.messages {
  padding: 15px 20px 15px 35px; /* LTR */
  word-wrap: break-word;
  border: 1px solid;
  border-width: 1px 1px 1px 0;  /* LTR */
  border-radius: 2px;
  background: no-repeat 10px 17px;  /* LTR */
  overflow-wrap: break-word;
}
.messages + .messages {
  margin-top: 1.538em;
}
.messages.messages--status {
  color: #325e1c;
  border-color: #c9e1bd #c9e1bd #c9e1bd transparent;  /* LTR */
  background-color: #f3faef;
  background-image: url(../images/core/misc/icons/73b355/check.svg);
  box-shadow: -8px 0 0 #77b259; /* LTR */
}
.messages--warning {
  color: #734c00;
  border-color: #f4daa6 #f4daa6 #f4daa6 transparent;  /* LTR */
  background-color: #fdf8ed;
  background-image: url(../images/core/misc/icons/e29700/warning.svg);
  box-shadow: -8px 0 0 #e09600; /* LTR */
}
.messages--error {
  color: #a51b00;
  border-color: #f9c9bf #f9c9bf #f9c9bf transparent;  /* LTR */
  background-color: #fcf4f2;
  background-image: url(../images/core/misc/icons/e32700/error.svg);
  box-shadow: -8px 0 0 #e62600; /* LTR */
}
.messages--error p.error {
  color: #a51b00;
}
.messages .placeholder { display: inline; background-color: transparent; opacity: 1; vertical-align: baseline; }
.messages .btn-close { font-size: 0.75rem; }

/*--------------- Form ---------------*/
label { font-weight: 700; }
.form-check-label { font-weight: 400; }
.form-item-label { display: block; }
fieldset.fieldset-radios legend,
fieldset.fieldset-checkboxes legend {
  font-size: 1rem;
  font-weight: 700;
}
.form-required::after {
  content: '*';
  display: inline-block;
  margin: 0 0.25em;
  color: red;
}
.form-check-input:disabled:checked { background-color: #ddd; border-color: #dee2e6; }
.pagination { justify-content: center; }

.form-item small .admin-link .link {margin: 0; border: 0; cursor: pointer; background: transparent; }
.form-item small .admin-link .link::before { content: ' ['; }
.form-item small .admin-link .link::after { content: ']'; }


/*--------------- Vertical Tabs ---------------*/
.vertical-tabs {
  border-radius: 0 0.5rem 0.5rem 0.5rem;
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.05);
}
.vertical-tabs__menu { margin-top: -0.5px; }
.vertical-tabs__panes {
  margin-top: 0;
  padding: 1rem;
  overflow: hidden;
}
.vertical-tabs__menu-item a:focus,
.vertical-tabs__menu-item a:active,
.vertical-tabs__menu-item a:hover,
.vertical-tabs__menu-item a:focus .vertical-tabs__menu-item-title,
.vertical-tabs__menu-item a:active .vertical-tabs__menu-item-title,
.vertical-tabs__menu-item a:hover .vertical-tabs__menu-item-title {
  text-decoration: none;
  outline: none;
}

/*--------------- Horizontal Tabs ---------------*/
.horizontal-tabs {
  display: flex;
  flex-direction: column;
  border: 0;
}
.horizontal-tabs .horizontal-tabs-list {
  background-color: transparent;
  border: 0;
  z-index: 1;
}
.horizontal-tabs .horizontal-tabs-list .horizontal-tab-button { border-top: 1px solid #ccc; border-radius: 5px 5px 0 0; }
.horizontal-tabs .horizontal-tabs-list .horizontal-tab-button.first { border-left: 1px solid #ccc; }
.horizontal-tabs .horizontal-tab-button a:hover { border-radius: 5px 5px 0 0; }
.horizontal-tabs .horizontal-tabs-panes {
  padding: 1rem 0;
  border: 1px solid #ccc;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.05);
}

/*--------------- Fieldset ---------------*/
fieldset.fieldset {
  padding: 0 1rem;
  border: 1px solid #aaa;
  border-radius: 0.5rem;
}
fieldset.fieldset legend {
  float: none;
  width: auto;
  padding: 0 0.5rem;
}
fieldset.fieldset .fieldset-wrapper { padding-bottom: 1rem; }

/*--------------- Progress Bar ---------------*/
.progress {
  height: auto;
  background-color: transparent;
}
#updateprogress.progress {
  flex-grow: 1;
}
.progress__track {
  flex-grow: 1;
  margin-top: 2px;
  border-color: #b3b3b3;
  border-radius: 10em;
  background-color: #f2f1eb;
  background-image: linear-gradient(#e7e7df, #f0f0f0);
  box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.16);
}
.progress__bar {
  height: 16px;
  margin-top: -1px;
  margin-left: -1px; /* LTR */
  padding: 0 1px;
  -webkit-transition: width 0.5s ease-out;
  transition: width 0.5s ease-out;
  -webkit-animation: animate-stripes 3s linear infinite;
  -moz-animation: animate-stripes 3s linear infinite;
  border: 1px #07629a solid;
  border-radius: 10em;
  background: #057ec9;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)),
    linear-gradient(to right bottom, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%);
  background-size: 40px 40px;
}
[dir="rtl"] .progress__bar {
  margin-right: -1px;
  margin-left: 0;
  -webkit-animation-direction: reverse;
  -moz-animation-direction: reverse;
  animation-direction: reverse;
}
.progress__percentage { padding: 0 2px; }

@media screen and (prefers-reduced-motion: reduce) {
  .progress__bar {
    -webkit-transition: none;
    transition: none;
    -webkit-animation: none;
    -moz-animation: none;
  }
}

/* Progress bar animations. */
@keyframes animate-stripes {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 0, -80px 0; }
}

/*--------------- Table ---------------*/
.table td, .table th { border-top: 1px solid #dee2e6; }
.table-striped>tbody>tr:nth-of-type(odd)>* { --bs-table-bg-type: rgba(0,0,0,.02); }
a.tabledrag-handle .handle { width: 22px; height: 22px; margin-top: -0.25em; }
.tabledrag-toggle-weight-wrapper button.link { margin: 0; padding: 0; cursor: pointer; border: 0; background: transparent; font-size: 1em; }

/*--------------- Select2 ---------------*/
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border: var(--bs-border-width) solid var(--bs-border-color);
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

/*--------------- Views ---------------*/
.views-exposed-form .form-item { padding-right: var(--bs-gutter-x); }