/*
 * It is advised not to edit the smartadmin_production.css
 * as this will override any changes you make in the 
 * later versions of this theme. 
 * 
 * We advise that you use use this CSS to override 
 * SmartAdmin styles. 
 * 
 * Rename the stylesheet to whatever your liking so it will stay
 * unique to you with each update of SmartAdmin.
 */

/*
 * INDEX
 * 
 * - HTML
 * - BODY
 * - CUSTOM STYLES
 */

:root {
    /* Domyślna skórka */
    --cms-header-bg: #22262e;
    --cms-header-pick-organization-color: #697B92;
    --cms-header-pick-organization-toggle-color: #B9B9B9;
    --cms-header-dropdown-toggle-color: #FFF;
    --cms-header-logged-in-as-text-color: #b9b9b9;
    --cms-menu-bg: #14161B;
    --cms-menu-item-color: #8b91a0;
    --cms-menu-item-arrow-color: #8AA1B3;
    --cms-menu-active-item-color: #fff;
    --cms-menu-hover-item-border-color: #333;
    --cms-menu-hover-item-border-inner-color: #000;
    --cms-menu-hover-item-bg-start: #04070c;
    --cms-menu-hover-item-bg-end: #2e3e57;
    --cms-menu-hover-item-color: #F1F1F1;
    --cms-menu-submenu-bg: #2e3e57;
    --cms-menu-submenu-item-color: #D8DEE5;
    --cms-menu-submenu-active-item-color: #fff;
    --cms-menu-submenu-hover-item-color: #fff;
    --cms-menu-submenu-hover-bg: #1b1e24;
    --error-text-color: #a90329;
}

/* Górna belka { */

.smart-style-1 #header {
    background: var(--cms-header-bg);
}

.smart-style-1 #logo-group {
    background: var(--cms-header-bg) !important;
}

.smart-style-1 .project-context > :first-child {
    color: var(--cms-header-pick-organization-color);
    text-shadow: none;
}

.smart-style-1 .header-dropdown-list a.dropdown-toggle {
    color: var(--cms-header-dropdown-toggle-color);
}

.smart-style-1 .project-selector {
    color: var(--cms-header-pick-organization-toggle-color);
}
/* } Górna belka */

/* Menu: { */
@media (max-width: 979px) {
    .menu-on-top aside#left-panel nav {
        /* smartadmin niepotrzebnie ogranicza wysokość */
        height: auto !important;
    }
}

.smart-style-1.menu-on-top aside {
    background: var(--cms-menu-bg);
}

.smart-style-1 nav ul li a {
    color: var(--cms-menu-item-color);
}

.smart-style-1 nav ul .active > a {
    color: var(--cms-menu-active-item-color) !important;
}
.smart-style-1.menu-on-top aside#left-panel {
    border-bottom-color: var(--cms-menu-bg);
}
.smart-style-1.menu-on-top nav > ul > li > a::after {
    color: var(--cms-menu-item-arrow-color) !important;
}
.smart-style-1.menu-on-top aside#left-panel nav > ul > li {
    border-inline: 1px solid transparent;
}
.smart-style-1.menu-on-top aside#left-panel nav > ul > li > a {
    border-inline: 1px solid transparent;
    padding-inline: 8px !important;
}
.smart-style-1.menu-on-top aside#left-panel nav > ul > li:hover {
    border-color: var(--cms-menu-hover-item-border-color);
    background: linear-gradient(
            to bottom,
            var(--cms-menu-hover-item-bg-start),
            var(--cms-menu-hover-item-bg-end) 66%);
}
.smart-style-1.menu-on-top aside#left-panel nav > ul > li:hover > a {
    color: var(--cms-menu-hover-item-color) !important;
    border-color: var(--cms-menu-hover-item-border-inner-color);
}
.smart-style-1.menu-on-top nav ul ul, .smart-style-1.menu-on-top nav ul ul ul {
    background: var(--cms-menu-submenu-bg) !important;
}
.smart-style-1.menu-on-top nav ul ul li a, .smart-style-1.menu-on-top nav ul ul ul li a {
    color: var(--cms-menu-submenu-item-color);
}
.smart-style-1.menu-on-top nav ul ul .active > a
/*, .smart-style-1.menu-on-top nav ul ul li.active:hover > a, .smart-style-1.menu-on-top nav ul ul li.active > a:hover*/
{
    color: var(--cms-menu-submenu-active-item-color) !important;
}
.smart-style-1.menu-on-top nav ul ul li.active:hover > a, .smart-style-1.menu-on-top nav ul ul li.active > a:hover {
    color: var(--cms-menu-submenu-hover-item-color) !important;
}
.smart-style-1.menu-on-top nav ul ul li a:hover, .smart-style-1.menu-on-top nav ul ul ul li a:hover {
    color: var(--cms-menu-submenu-hover-item-color);
    background-color: var(--cms-menu-submenu-hover-bg) !important;
}

/* } Menu */

/* Na podstawie styli h1-h4 z SmartAdmin */
.h1, .h2, .h3, .h4 {
    margin: 0;
    font-family: "Open Sans",Arial,Helvetica,Sans-Serif;
    font-weight: 300;
}
.h1 {
    font-size: 24px;
}
.h2 {
    letter-spacing: -1px;
    font-size: 22px;
    margin: 20px 0;
    line-height: normal;
}

.logo-quico {
    margin: 12px 15px;
}
.logo-quico img {
    max-height: calc(100% - 12px);
}

.menu-on-top .menu-item-parent {
    max-width: 150px;
    min-width: 100px;
    font-size: 13px;
}

.header-dropdown-list li:first-child {
    color: var(--cms-header-logged-in-as-text-color);
}
.header-dropdown-list .button {
    padding: 5px 10px;
    color: white;
}


/* Fix dla .mce-container */
.mce-container .select2-container,
.mce-container .select2-chosen,
.mce-container .select2-search-choice-close,
.mce-container .select2-arrow,
.mce-container .select2-arrow b {
    margin: initial;
    margin: revert;
    padding: initial;
    padding: revert;
    border: initial;
    border: revert;
    outline: initial;
    outline: revert;
    vertical-align: initial;
    vertical-align: revert;
    background: initial;
    background: revert;
    text-decoration: initial;
    text-decoration: revert;
    color: inherit;
    color: revert;
    font-family: inherit;
    font-family: revert;
    font-size: inherit;
    font-size: revert;
    text-shadow: inherit;
    text-shadow: revert;
    float: initial;
    float: revert;
    position: initial;
    position: revert;
    width: initial;
    width: revert;
    height: initial;
    height: revert;
    white-space: inherit;
    white-space: revert;
    cursor: inherit;
    cursor: revert;
    -webkit-tap-highlight-color: initial;
    -webkit-tap-highlight-color: revert;
    line-height: inherit;
    line-height: revert;
    font-weight: inherit;
    font-weight: revert;
    text-align: inherit;
    text-align: revert;
    max-width: initial;
    max-width: revert;
}

.mce-container .select2-container .select2-choice:hover {
    text-decoration: none;
}

.mce-container .select2-container {
    margin: 0;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.mce-container .select2,
.select2 {
    width: 100%;
}

.select2-hidden-accessible {
    display: none;
}

.MessageBoxMiddle {
    margin: auto;
    text-align: center;
    position: static;
}

.MessageBoxButtonSection button[id^=bot1-] {
    background-color: #3276b1;
    border-color: #2c699d;
    color: #ffffff;
}

.MessageBoxButtonSection button[id^=bot1-]:hover {
    background-color: #2c699d;
}

.MessageBoxButtonSection button[id^=bot2-] {
    background-color: #a90329;
    border-color: #900323;
    color: #ffffff;
}

.MessageBoxButtonSection button[id^=bot2-]:hover {
    background-color: #900323;
}

/* Nadpisanie .tree z SmartAdmina - czasami chcemy wyłączyć hover */
.tree.nohover li.parent_li > span:hover {
    background: initial;
    border: 1px solid #94a0b4;
    color: #000
}
.tree.nohover li.parent_li > span:hover {
    background-color: initial;
    border: 1px solid #94a0b4;
    color: #000
}
.tree.nohover li.parent_li > span:hover + ul li::before {
    border-left-color: #999
}
.tree.nohover li.parent_li > span:hover + ul li::after {
    border-top-color: #999
}
.tree.nohover li.parent_li > span:hover + ul li span {
    background: initial !important;
    border: 1px dotted #999;
    color: #000
}

/* Nadpisanie .tree z SmartAdmina: hover dla nie-ostatniego spana */
.tree li.parent_li > .subtree-hover:hover ~ ul li span {
    background: #FDDFB3 !important;
    border: 1px solid #FAA937;
    color: #000;
}

.tree li.parent_li > .subtree-hover:hover {
    background-color: #DF8505;
    border: 1px solid #C67605;
    color: #fff;
}

.tree li.parent_li > .subtree-hover:hover ~ ul li::before {
    border-left-color: #F89406;
}

.tree li.parent_li > .subtree-hover:hover ~ ul li::after {
    border-left-color: #F89406;
}

.btn-teal.active, .btn-teal.focus, .btn-teal:active, .btn-teal:focus, .btn-teal:hover,
.btn-teal {
    color: #fff;
    background-color: #0588A7;
    border-color: #0588A7;
}

.btn-orange.active, .btn-orange.focus, .btn-orange:active, .btn-orange:focus, .btn-orange:hover,
.btn-orange {
    color: #fff;
    background-color: #FC644F;
    border-color: #FC644F;
}

.btn-9b42379e.active, .btn-9b42379e.focus, .btn-9b42379e:active, .btn-9b42379e:focus, .btn-9b42379e:hover,
.btn-9b42379e {
    color: #fff;
    background: #9b42379e;
    border-color: #9b42379e;
}


.btn-empty,
.smart-form .btn.btn-empty {
    color: inherit;
    background: none;
    border: 1px solid transparent;
    box-shadow: none;
    font: inherit;
    height: auto;
    width: auto;
    margin: 0;
    padding: 0;
}

.btn-empty:hover,
.btn-empty:focus-visible,
.smart-form .btn.btn-empty:hover,
.smart-form .btn.btn-empty:focus-visible {
    border-color: rgb(226, 228, 231);
}

.smart-form .btn.btn-empty.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.smart-form .btn.btn-empty.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.smart-form .col-md-offset-3 {
    margin-left: 25%;
}

.flex-cols.empty-form {
    display: none !important;
}

.empty-form {
    display: none;
}

.smart-form .btn {
    cursor: pointer;
    float: right;
    font: 300 15px/29px "Open Sans",Helvetica,Arial,sans-serif;
    height: 31px;
    margin: 10px 0 0 5px;
    padding: 0 22px;
}

.smart-form .btn.btn-lg {
    padding: 10px 16px;
    border-radius: 3px;
    font-size: 17px;
    line-height: 1.33;
    height: auto;
}

.smart-form .btn.btn-xs {
    border-radius: 2px;
    font-size: 12px;
    line-height: 1.5;
    padding: 1px 5px;
    height: auto;
    margin: 0; 
}

.smart-form .jarviswidget > header {
  height: 34px;
  line-height: 40px;
  padding: 0;
  margin: 0;
  color: white;
}

.smart-form .jarviswidget-color-blue > header {
  background: none repeat scroll 0 0 #4c4f53;
  border-color: #45474b !important;
  color: #ffffff;
}
.smart-form .jarviswidget-color-blueLight > header {
  background: none repeat scroll 0 0 #cbd2d5;
  border-color: #a0aeb3 !important;
  color: #000000;
}

.smart-form .col-lg-6 {
   padding-left: 13px;
   padding-right: 13px; 
}

.smart-form .col-sm-6 {
   padding-left: 13px;
   padding-right: 13px; 
}

.smart-form .col-sm-6:first-child {
   padding-left: 0;
}

.smart-form .col-sm-6:nth-child(2) {
   padding-right: 0;
}

.smart-form fieldset hr.w-full {
    /* w-full rozciąga <hr/> na cały smart-form, nie tylko na szerokość fieldseta */
    margin-left: -14px;  /* Skopiowane z .smart-form fieldset { padding } */
    margin-right: -14px;  /* Skopiowane z .smart-form fieldset { padding } */
    width: calc(100% + 28px);
}

.smart-form .input.input-file.input-file_only-button .button {
    position: static;
    width: max-content;
}

.no-padding-cols .col-sm-6 {
    padding-left: 0;
    padding-right: 0;
}

.col-xs-min-4 {
    min-width: 33.33333333%;
    float: left;
}

.smart-form.border-box * {
    box-sizing: border-box;
}

.note.note-error {
    color: var(--error-text-color);
}

.state-error .select2-container .select2-choice .select2-arrow {
    border-color: #a90329;
    background: none repeat scroll 0 0 #eee0e0;
}

.state-error .select2-container .select2-choice {
    border-color: #a90329;
    background: none repeat scroll 0 0 #fff0f0;
}

.question-widget > div {
    padding: 0;
}

.question-widget fieldset {
    padding: 0;
}

.question-widget section {
    margin-bottom: 0;
}

.question-widget .btn {
    float: none;
}

.question-widget .formset-level-1 .onoffswitch {
    margin-top: 12px;
}

.question-widget .widget-body {
    padding-bottom: 0;
}

.smart-form .ui-spinner-input:disabled ~ .ui-spinner-button {
    opacity: 0.6;
    pointer-events: none;
}

.smart-form .ui-spinner-input.spinner-both {
    padding: 6px 30px;
}
.smart-form .ui-spinner-input.spinner-left {
    padding: 6px 12px 6px 24px;
}

.smart-form .ui-spinner-input {
    width: inherit;
    text-align: center;
}
.smart-form .ui-spinner-input.spinner {
    text-align: left;
}

.bg-none,
.smart-form fieldset.bg-none {
    background: none;
}

.bg-color-sand {
    background-color: #efe1b3;
}

.smart-form .jarviswidget-color-blue > header.bg-color-d0d0d0,
.bg-color-d0d0d0 {
    background-color: #D0D0D0;
}

.smart-form .jarviswidget-color-blue > header.bg-color-c47979,
.bg-color-c47979 {
    background-color: #C47979;
}

.smart-form .jarviswidget-color-blue > header.bg-color-7c9c78,
.bg-color-7c9c78 {
    background-color: #7C9C78;
}

.smart-form .btn-group-sm > .btn,
.smart-form .btn-sm {
    border-radius: 2px;
    font-size: 12px;
    line-height: 1.5;
    padding: 5px 10px;
}

.smart-form .editor .note-editor,
.smart-form .jarviswidget .note-editor {
    padding: 0;       
}

.smart-form .editor .note-popover .popover .popover-content, .smart-form .editor .note-toolbar.btn-toolbar,
.smart-form .jarviswidget .note-popover .popover .popover-content, .smart-form .note-toolbar.btn-toolbar {
    margin: 0;
    padding: 0 0 5px 5px;
}
.smart-form .editor .modal-open,
.smart-form .jarviswidget .modal-open {
  overflow: hidden;
}
.smart-form .editor .modal,
.smart-form .jarviswidget .modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.smart-form .editor .modal.fade .modal-dialog,
.smart-form .jarviswidget .modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform .3s ease-out;
       -o-transition:      -o-transform .3s ease-out;
          transition:         transform .3s ease-out;
  -webkit-transform: translate(0, -25%);
      -ms-transform: translate(0, -25%);
       -o-transform: translate(0, -25%);
          transform: translate(0, -25%);
}
.smart-form .editor .modal.in .modal-dialog,
.smart-form .jarviswidget .modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
       -o-transform: translate(0, 0);
          transform: translate(0, 0);
}
.smart-form .editor .modal-open .modal,
.smart-form .jarviswidget .modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.smart-form .editor .modal-dialog,
.smart-form .jarviswidget .modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
.smart-form .editor .modal-content,
.smart-form .jarviswidget .modal-content {
  position: relative;
  background-color: #fff;
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  outline: 0;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
          box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}

.smart-form .editor .modal label,
.smart-form .jarviswidget .modal label {
    font-size: 17px;
    font-weight: 300;
    line-height: normal;
    margin: 10px 0;
}
.smart-form .editor .modal-backdrop,
.smart-form .jarviswidget .modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #000;
}
.smart-form .editor .modal-backdrop.fade,
.smart-form .jarviswidget .modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}
.smart-form .editor .modal-backdrop.in,
.smart-form .jarviswidget .modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: .5;
}
.smart-form .editor .modal-header,
.smart-form .jarviswidget .modal-header {
  min-height: 16.42857143px;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}
.smart-form .editor .modal-header .close,
.smart-form .jarviswidget .modal-header .close {
  margin-top: -2px;
}
.smart-form .editor .modal-title,
.smart-form .jarviswidget .modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.smart-form .editor .modal-body,
.smart-form .jarviswidget .modal-body {
  position: relative;
  padding: 15px;
}
.smart-form .editor .modal-footer,
.smart-form .jarviswidget .modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.smart-form .editor .modal-footer .btn + .btn,
.smart-form .jarviswidget .modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}
.smart-form .editor .modal-footer .btn-group .btn + .btn,
.smart-form .jarviswidget .modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.smart-form .editor .modal-footer .btn-block + .btn-block,
.smart-form .jarviswidget .modal-footer .btn-block + .btn-block {
  margin-left: 0;
}
.smart-form .editor .modal-scrollbar-measure,
.smart-form .jarviswidget .modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}
@media (min-width: 768px) {
  .smart-form .editor .modal-dialog,
  .smart-form .jarviswidget .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
  .smart-form .editor .modal-content,
  .smart-form .jarviswidget .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
            box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
  }
  .smart-form .editor .modal-sm,
  .smart-form .jarviswidget .modal-sm {
    width: 300px;
  }
}
@media (min-width: 992px) {
  .smart-form .editor .modal-lg,
  .smart-form .jarviswidget .modal-lg {
    width: 900px;
  }
}

/* Fix: bez tego kropka nie była w centrum radio buttona */
.smart-form .radio i,
.smart-form .checkbox i {
    box-sizing: content-box;
}

.smart-form .toggle input:disabled + i,
.smart-form .radio input:disabled + i,
.smart-form .checkbox input:disabled + i {
    opacity: 0.5;
}

.smart-form .radio.--radio_on_the_right {
    padding-left: 0;
    padding-right: 25px;
}
.smart-form .radio.--radio_on_the_right input + i {
    left: unset;
    right: 4px;
}

.smart-form .toggle.toggle-either i {
    position: relative;
    display: inline-block;
    margin-left: 1ch;
    margin-right: 1ch;
}

.border-right {
    border-right-width: 1px;
}

.table-condensed.table > tbody > tr.dashboard-answer > td:first-child {
    padding-left: 25px !important;
}

.table.table-noborders > tbody > tr > td,
.table.table-noborders > tbody > tr > th,
.table.table-noborders > tfoot > tr > td,
.table.table-noborders > tfoot > tr > th,
.table.table-noborders > thead > tr > td,
.table.table-noborders > thead > tr > th {
    border: 0;
}

.note-org-image-list > img {
    cursor: pointer;
    margin: 2px;
    border: 1px solid #bdbdbd;
}

.answer-form {
    margin-bottom: 10px;
}

.answer-form .toggle i {
    top: -9px;
    height: 19px;
    width: 51px;
}

.question-formset .widget-body {
    padding: 10px;
}

.question-formset {
    word-wrap: break-word;
}

.select2-container .select2-choice > abbr.select2-search-choice-close {
    font-size: 13px;
    color: #000000;
    right: 30px;
}

.select2-container .select2-choice > abbr.select2-search-choice-close::before {
    color: #000000;
}

#guest-page header#header {
    overflow: visible;
    height: 71px;
}

#guest-page #logo-group {
    height: 59px;
}
#guest-page .header-dropdown-list {
    padding-top: 7px;
}

.dataTable .nested-details {
    display: none;
}

.legend-box {
    width: 30px;
    height: 20px;
    margin-right: 20px;
    display: inline-block;
    vertical-align: middle;
    float: left;
}

.answer-content li,
.question-content li {
    margin-left: 20px;
}

.note-editable li {
    margin-left: 20px;
}

.equal-width-buttons > * {
    min-width: 100px;
}

.btn-no-margin .btn {
    margin: 0;
}

.delete-button .btn {
    padding: 0 12px;
}

.password-form,
.personaldata-form,
.agreement-form {
    margin-bottom: 20px;
}

div.mce-fullscreen {
    z-index: 1000;
}

.jarviswidget > div.mce-tinymce {
    padding: 0;
}

.jarviswidget > header.empty {
    height: 0;
    border-top: 0;
}

.question-content img,
.answer-content img {
    max-width: 100%;
    height: auto;
}

body .mce-btn button {
    padding: 4px;
}

/* Pozwala używać ikon FontAwesome w TinyMCE jako "fa fa-IKONA" */
.mce-i-fa::before {
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;

    text-align: center;
    width: 100%;
    display: inline-block;
}

.vert-align-table tbody>tr>td {
    vertical-align: middle;
}

.table-fixed {
    table-layout: fixed;
    word-wrap: break-word;
}

body table.table.no-margin,
.table.no-margin {
    margin: 0 !important;
}

.radio-inline-description {
    display: inline-block;
    float: left;
    margin-right: 10px;
    line-height: 25px;
}

.underline {
    text-decoration-line: underline;
}

.text-bold {
    font-weight: 600;
}

.text-normalcase {
    text-transform: none;
}

.text-orange {
    color: #FC644F;
}

.text-666 {
    color: #666666;
}

.text-8b8b8b {
    color: #8b8b8b;
}

.text-error {
    color: var(--error-text-color);
}

.text-10px {
    font-size: 10px;
}

.text-16px {
    font-size: 16px;
}

.chart {
    overflow: visible;
    margin-top: 0; 
    position: relative;
}

.chart .empty-content {
    padding-top: 110px;
    text-align: center;
}

.dataTables_length {
    padding-right: 10px;
}

.dataTables_length select {
    height: 28px;
    margin-top: 3px;
    padding-top: 4px;
}

.smart-style-1 .dropdown-menu > li > .link-form > button {
    border-radius: 4px;
    margin: 3px 0;
}

.smart-style-1 .link-form > button {
    transition: color .1s linear 0s,background-color .1s linear 0s !important;
}

.dropdown-menu > li > .link-form > button {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu > li > .link-form > button,
.dropdown-menu > li > button,
.dropdown-menu > li > .btn {
    clear: both;
    color: #333;
    display: block;
    font-weight: 400;
    line-height: 1.42857;
    padding: 3px 20px;
    white-space: nowrap;
    width: 100%;
    border-radius: 0;
    border: 0;
    background-color: inherit;
    margin: 3px 0;
    text-align: left;
}

.dropdown-menu > li > .link-form > button:focus,
.dropdown-menu > li > .link-form > button:hover,
.dropdown-menu > li > button:focus,
.dropdown-menu > li > button:hover {
    background-color: #3276b1;
    color: #fff;
    text-decoration: none;
}

.dropdown-menu > .active > .link-form > button,
.dropdown-menu > .active > .link-form > button:focus,
.dropdown-menu > .active > .link-form > button:hover,
.dropdown-menu > .active > button,
.dropdown-menu > .active > button:focus,
.dropdown-menu > .active > button:hover {
    background-color: #3276b1;
    color: #fff;
    outline: 0 none;
    text-decoration: none;
}

/* Mogą zostać po sprawdzaniu uprawnień */
.dropdown-menu > li.divider:first-child { display: none; }
.dropdown-menu > li.divider:last-child { display: none; }
.dropdown-menu > li.divider + li.divider { display: none; }

tbody .tbody-text-right {
    text-align: right;
}

tbody .tbody-text-center {
    text-align: center;
}

tbody .tbody-text-bold {
    font-weight: bold;
}

tbody .tbody-text-primary {
    color: #3276b1;
}

.question-content ol,
.answer-content ol,
.question-content ul,
.answer-content ul {
    margin-left: 10px;
}

/* obrazki w raportach */
*[id^='question-'] img {
    max-width: 100%;
    height: auto;
}

.dt-toolbar.light {
    background: white;
}

.nav-tabs > li.float-right {
    float: right;
}

.tabs-left.compressed > .nav-tabs {
    margin-right: 0;
}
.tabs-left.compressed > .tab-content {
    margin-left: 76px;
}

.progress-bar {
    text-indent: -1000px;
}

.url-input-widget,
.parameters-file-container {
    position: relative;
}

.url-input-widget.loading::before,
.parameters-file-container.loading::before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: white url('../img/select2-spinner.gif') center no-repeat;
    z-index: 1;
    opacity: 0.7;
}

.icons-list-widget li input {
    display: none;
}

.icons-list-widget li {
    padding: 5px;
}

.icons-list-widget li i,
.icons-list-widget img {
    color: #333;
    padding: 5px;
}

.icons-list-widget img {
    width: 1.33em;
    height: 1.33em;
    object-fit: contain;
}

.icons-list-widget li input:checked+i,
.icons-list-widget li input:checked+img {
    color: #fff;
    background-color: #3276b1;
}

.icons-list-widget {
    max-height: 200px;
    overflow-y: scroll;
}

.smart-form label.label.col {
    padding-left: 0;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.table > tbody > tr > td.groups-list {
    line-height: 2;
    padding-top: 4px;
    padding-bottom: 4px;
}


/* Fix for using Bootstrap and TinyMCE modals together */
.modal-open .modal {
    z-index: 65536;
}
.mce-floatpanel.mce-popover {
    z-index: 65536 !important;
}

.iframe-modal-dialog .modal-body {
    padding: 0;
}

.iframe-modal-dialog .modal-body iframe {
    width: 100%;
    height: 50vh;
    border: 0;
}

#survey-questions .widget-body img,
.survey-question img,
.survey-image-preview {
    max-width: 300px;
    max-height: 60px;
    width: auto !important;
    height: auto !important;
}

#survey-questions .widget-body img,
.survey-question img {
    max-height: 300px;
}

.select2-drop {
    z-index: 70000;
}
.mce-menu {
    z-index: 70000 !important;  /* !important do walki z style="" */
}

.mce-ico-1em {
    font-size: inherit;
}

.mce-ico-1em::before {
    font-size: inherit;
    height: 1em;
}

.modal.in {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal .jarviswidget > div[role=content] {
    box-sizing: border-box;
}

table.dataTable thead > tr > th select {
    width: 100% !important;
    font-weight: 400;
}

table.dataTable thead > tr > th select.empty {
  color: gray;
}
.clockpicker-popover {
z-index: 65555 !important;
}

.text-action {
    color: #404040;
}

.smart-form .checkbox.text-blue,
.smart-form .radio.text-blue,
.text-blue {
    color: #1765A4;
}

.smart-form .checkbox.text-darkblue,
.smart-form .radio.text-darkblue,
.text-darkblue {
    color: #0F5287;
}

ul.list-inline > li > .action-answer-group-name {
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    display: inline;
}

.modal-dialog.modal-viewport {
    width: auto;
    max-width: 90vw;
    min-width: 50vw;
}

.modal-dialog.modal-viewport .modal-body {
    max-height: calc(100vh - 250px);
    overflow: auto;
}

.modal.in .modal-dialog.modal-dialog-centered {
    top: 50%;
    transform: translateY(-50%);
}

.alert-action {
    border-color: #ceaea5;
    color: #000000;
    background-color: #e7d5d0;
}

.error-text-2 {
    text-align: center;
    font-size: 700%;
    font-weight: bold;
    font-weight: 100;
    color: #333;
    line-height: 1;
    letter-spacing: -.05em;
    background-image: -webkit-linear-gradient(92deg, #333, #ed1c24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.particle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    background-color: #ed1c24;
    background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .3) 75%, rgba(0, 0, 0, 0));
    box-shadow: inset 0 0 1px 1px rgba(0, 0, 0, .25);
}

.particle--a {
    -webkit-animation: particle-a 1.4s infinite linear;
    -moz-animation: particle-a 1.4s infinite linear;
    -o-animation: particle-a 1.4s infinite linear;
    animation: particle-a 1.4s infinite linear;
}

.particle--b {
    -webkit-animation: particle-b 1.3s infinite linear;
    -moz-animation: particle-b 1.3s infinite linear;
    -o-animation: particle-b 1.3s infinite linear;
    animation: particle-b 1.3s infinite linear;
    background-color: #00A300;
}

.particle--c {
    -webkit-animation: particle-c 1.5s infinite linear;
    -moz-animation: particle-c 1.5s infinite linear;
    -o-animation: particle-c 1.5s infinite linear;
    animation: particle-c 1.5s infinite linear;
    background-color: #57889C;
}

@-webkit-keyframes particle-a {
    0% {
        -webkit-transform: translate3D(-3rem, -3rem, 0);
        z-index: 1;
        -webkit-animation-timing-function: ease-in-out;
    }
    25% {
        width: 1.5rem;
        height: 1.5rem;
    }

    50% {
        -webkit-transform: translate3D(4rem, 3rem, 0);
        opacity: 1;
        z-index: 1;
        -webkit-animation-timing-function: ease-in-out;
    }

    55% {
        z-index: -1;
    }

    75% {
        width: .75rem;
        height: .75rem;
        opacity: .5;
    }

    100% {
        -webkit-transform: translate3D(-3rem, -3rem, 0);
        z-index: -1;
    }
}

@-moz-keyframes particle-a {
    0% {
        -moz-transform: translate3D(-3rem, -3rem, 0);
        z-index: 1;
        -moz-animation-timing-function: ease-in-out;
    }

    25% {
        width: 1.5rem;
        height: 1.5rem;
    }

    50% {
        -moz-transform: translate3D(4rem, 3rem, 0);
        opacity: 1;
        z-index: 1;
        -moz-animation-timing-function: ease-in-out;
    }

    55% {
        z-index: -1;
    }

    75% {
        width: .75rem;
        height: .75rem;
        opacity: .5;
    }

    100% {
        -moz-transform: translate3D(-3rem, -3rem, 0);
        z-index: -1;
    }
}

@-o-keyframes particle-a {
    0% {
        -o-transform: translate3D(-3rem, -3rem, 0);
        z-index: 1;
        -o-animation-timing-function: ease-in-out;
    }

    25% {
        width: 1.5rem;
        height: 1.5rem;
    }

    50% {
        -o-transform: translate3D(4rem, 3rem, 0);
        opacity: 1;
        z-index: 1;
        -o-animation-timing-function: ease-in-out;
    }

    55% {
        z-index: -1;
    }

    75% {
        width: .75rem;
        height: .75rem;
        opacity: .5;
    }

    100% {
        -o-transform: translate3D(-3rem, -3rem, 0);
        z-index: -1;
    }
}

@keyframes particle-a {
    0% {
        transform: translate3D(-3rem, -3rem, 0);
        z-index: 1;
        animation-timing-function: ease-in-out;
    }

    25% {
        width: 1.5rem;
        height: 1.5rem;
    }

    50% {
        transform: translate3D(4rem, 3rem, 0);
        opacity: 1;
        z-index: 1;
        animation-timing-function: ease-in-out;
    }

    55% {
        z-index: -1;
    }

    75% {
        width: .75rem;
        height: .75rem;
        opacity: .5;
    }

    100% {
        transform: translate3D(-3rem, -3rem, 0);
        z-index: -1;
    }
}

@-webkit-keyframes particle-b {
    0% {
        -webkit-transform: translate3D(3rem, -3rem, 0);
        z-index: 1;
        -webkit-animation-timing-function: ease-in-out;
    }

    25% {
        width: 1.5rem;
        height: 1.5rem;
    }

    50% {
        -webkit-transform: translate3D(-3rem, 3.5rem, 0);
        opacity: 1;
        z-index: 1;
        -webkit-animation-timing-function: ease-in-out;
    }

    55% {
        z-index: -1;
    }

    75% {
        width: .5rem;
        height: .5rem;
        opacity: .5;
    }

    100% {
        -webkit-transform: translate3D(3rem, -3rem, 0);
        z-index: -1;
    }
}

@-moz-keyframes particle-b {
    0% {
        -moz-transform: translate3D(3rem, -3rem, 0);
        z-index: 1;
        -moz-animation-timing-function: ease-in-out;
    }

    25% {
        width: 1.5rem;
        height: 1.5rem;
    }

    50% {
        -moz-transform: translate3D(-3rem, 3.5rem, 0);
        opacity: 1;
        z-index: 1;
        -moz-animation-timing-function: ease-in-out;
    }

    55% {
        z-index: -1;
    }

    75% {
        width: .5rem;
        height: .5rem;
        opacity: .5;
    }

    100% {
        -moz-transform: translate3D(3rem, -3rem, 0);
        z-index: -1;
    }
}

@-o-keyframes particle-b {
    0% {
        -o-transform: translate3D(3rem, -3rem, 0);
        z-index: 1;
        -o-animation-timing-function: ease-in-out;
    }

    25% {
        width: 1.5rem;
        height: 1.5rem;
    }

    50% {
        -o-transform: translate3D(-3rem, 3.5rem, 0);
        opacity: 1;
        z-index: 1;
        -o-animation-timing-function: ease-in-out;
    }

    55% {
        z-index: -1;
    }

    75% {
        width: .5rem;
        height: .5rem;
        opacity: .5;
    }

    100% {
        -o-transform: translate3D(3rem, -3rem, 0);
        z-index: -1;
    }
}

@keyframes particle-b {
    0% {
        transform: translate3D(3rem, -3rem, 0);
        z-index: 1;
        animation-timing-function: ease-in-out;
    }

    25% {
        width: 1.5rem;
        height: 1.5rem;
    }

    50% {
        transform: translate3D(-3rem, 3.5rem, 0);
        opacity: 1;
        z-index: 1;
        animation-timing-function: ease-in-out;
    }

    55% {
        z-index: -1;
    }

    75% {
        width: .5rem;
        height: .5rem;
        opacity: .5;
    }

    100% {
        transform: translate3D(3rem, -3rem, 0);
        z-index: -1;
    }
}

@-webkit-keyframes particle-c {
    0% {
        -webkit-transform: translate3D(-1rem, -3rem, 0);
        z-index: 1;
        -webkit-animation-timing-function: ease-in-out;
    }

    25% {
        width: 1.3rem;
        height: 1.3rem;
    }

    50% {
        -webkit-transform: translate3D(2rem, 2.5rem, 0);
        opacity: 1;
        z-index: 1;
        -webkit-animation-timing-function: ease-in-out;
    }

    55% {
        z-index: -1;
    }

    75% {
        width: .5rem;
        height: .5rem;
        opacity: .5;
    }

    100% {
        -webkit-transform: translate3D(-1rem, -3rem, 0);
        z-index: -1;
    }
}

@-moz-keyframes particle-c {
    0% {
        -moz-transform: translate3D(-1rem, -3rem, 0);
        z-index: 1;
        -moz-animation-timing-function: ease-in-out;
    }

    25% {
        width: 1.3rem;
        height: 1.3rem;
    }

    50% {
        -moz-transform: translate3D(2rem, 2.5rem, 0);
        opacity: 1;
        z-index: 1;
        -moz-animation-timing-function: ease-in-out;
    }

    55% {
        z-index: -1;
    }

    75% {
        width: .5rem;
        height: .5rem;
        opacity: .5;
    }

    100% {
        -moz-transform: translate3D(-1rem, -3rem, 0);
        z-index: -1;
    }
}

@-o-keyframes particle-c {
    0% {
        -o-transform: translate3D(-1rem, -3rem, 0);
        z-index: 1;
        -o-animation-timing-function: ease-in-out;
    }

    25% {
        width: 1.3rem;
        height: 1.3rem;
    }

    50% {
        -o-transform: translate3D(2rem, 2.5rem, 0);
        opacity: 1;
        z-index: 1;
        -o-animation-timing-function: ease-in-out;
    }

    55% {
        z-index: -1;
    }

    75% {
        width: .5rem;
        height: .5rem;
        opacity: .5;
    }

    100% {
        -o-transform: translate3D(-1rem, -3rem, 0);
        z-index: -1;
    }
}

@keyframes particle-c {
    0% {
        transform: translate3D(-1rem, -3rem, 0);
        z-index: 1;
        animation-timing-function: ease-in-out;
    }

    25% {
        width: 1.3rem;
        height: 1.3rem;
    }

    50% {
        transform: translate3D(2rem, 2.5rem, 0);
        opacity: 1;
        z-index: 1;
        animation-timing-function: ease-in-out;
    }

    55% {
        z-index: -1;
    }

    75% {
        width: .5rem;
        height: .5rem;
        opacity: .5;
    }

    100% {
        transform: translate3D(-1rem, -3rem, 0);
        z-index: -1;
    }
}

.on-off-no-margin .onoffswitch {
    margin-left: 0;
    margin-top: 5px;
}


.onoffswitch-checkbox:disabled + .onoffswitch-label {
    cursor: initial;
    opacity: 0.7;
}

.onoffswitch-checkbox:disabled + .onoffswitch-label.onoffswitch-label .onoffswitch-inner::before,
.onoffswitch-checkbox:disabled + .onoffswitch-label.onoffswitch-label .onoffswitch-inner::after {
    color: #fff;
    text-shadow: 0 -1px 0 #333;
}

.colorpicker-component {
    min-width: calc(8ch + 20px + 1em) /* #ffffff + padding .input-group-addon + podgląd koloru */;
}
.colorpicker-component > .input-group-addon {
    font-size: inherit;  /* Poprawka dla .colorpicker-component > .input-group-addon > i */
}
.colorpicker-component > .input-group-addon > i {
  width: 1em;
  display: inline-block;
  height: 1em;
}

.cell-splitting-table {
    width: 100%;
}

.table-bordered .cell-splitting-table tr td,
.cell-splitting-table tr td {
    padding: 4px 4px 0 4px;
    border-bottom: 1px solid #ddd;
}

.table-bordered .cell-splitting-table tr:last-of-type td,
.cell-splitting-table tr:last-of-type td {
    padding-bottom: 4px;
    border-bottom: none;
}

.txt-color-default {
    color: inherit;
}

.smart-form .jarviswidget-color-blue > header.txt-color-black,
.txt-color-black {
    color: black;
}

.txt-color-summary-blue {
    color: #3A74A6;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.whitespace-pre-wrap {
    white-space: pre-wrap;
}

.folder-icon-with-name {
    display: inline-block;
    width: 75px;
    height: calc(50px + 3em);
    overflow: hidden;
    vertical-align: top;
}

.folder-icon-with-name > a {
    color: inherit;
    font-size: 1.5rem;

    display: block;
    display: -webkit-box;
    width: 100%;
    height: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.folder-icon-with-name i.fa {
    font-size: 50px;
    display: block;
    color: #8b91a0;
}

.icon-container-lg {
    display: inline-block;
    width: 1.33333em;
}
.icon-container-lg > * {
    max-height: 1.33333em;
    max-width: 1.33333em;  /* Safari nie lubi max-width: 100% */
    vertical-align: middle;
}

.bold {
    font-weight: bold;
}

.lighter {
    opacity: 0.7;
}

.align-middle {
    vertical-align: middle;
}

.float-right {
    float: right;
}

.smart-form .btn.float-none,
.float-none {
    float: none;
}
.float-none\! {
    float: none !important;
}

.cursor-pointer {
    cursor: pointer;
}

.smart-form .btn.m-0 {
    margin: 0;
}

.cursor-pointer {
    cursor: pointer;
}

.min-w-min {
    min-width: min-content;
}
.min-w-fit {
    min-width: fit-content;
}

.min-w-max {
    min-width: max-content;
}

.min-w-60 {
    min-width: 15rem;
}

.max-w-40 {
    max-width: 10rem;
}

.max-w-lg {
    max-width: 52rem;
}

.max-w-full {
    max-width: 100%;
}

.smart-form .input input.w-auto,
.w-auto {
    width: auto;
}

.w-full {
    width: 100%;
}

.w-4\/12 {
    width: 33.3333%;
}

.w-20 {
    width: 5rem;
}

.max-h-12 {
    max-height: 3rem;
}

.max-h-64 {
    max-height: 16em;
}

.smart-form .textarea textarea.h-full,
.h-full {
    height: 100%;
}

.m-0 {
    margin: 0;
}

.m-2 {
    margin: 0.5rem;
}

.m-4 {
    margin: 1rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.my-0,
.smart-form .btn.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.my-1 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-7 {
    margin-top: 1.75rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mr-2 {
    margin-right: 0.5rem;
}
.mr-4 {
    margin-right: 1rem;
}

.ml-auto {
    margin-left: auto;
}

.smart-form .btn.ml-0,
.ml-0 {
    margin-left: 0;
}

.ml-1 {
    margin-left: 0.25rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.ml-4 {
    margin-left: 1rem;
}

.ml-8 {
    margin-left: 2rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.table > tbody > tr > td.p-0,
.tree li span.p-0,
.p-0 {
    padding: 0;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.smart-form .btn.px-5,
.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.pr-4 {
    padding-right: 1rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

.clear-both {
    clear: both;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}

.smart-form header.border,
.border {
    border-width: 1px;
    border-style: solid;
}

.border-b {
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.border-black {
    border-color: black;
}

.border-ccc {
    border-color: #ccc;
}

.border-ddd {
    border-color: #ddd;
}

.smart-form .jarviswidget-color-blue > header.border-d0d0d0 {
    border-color: #d0d0d0 !important;
}

.border-d0d0d0 {
    border-color: #d0d0d0;
}

.smart-form .jarviswidget-color-blue > header.border-7c9c78 {
    border-color: #7c9c78 !important;
}

.border-7c9c78 {
    border-color: #7c9c78;
}

.smart-form .jarviswidget-color-blue > header.border-c47979 {
    border-color: #c47979 !important;
}

.border-c47979 {
    border-color: #c47979;
}

.tree li span.border-0,
.border-0 {
    border-width: 0;
}

.border-b-0 {
    border-bottom-width: 0;
}

.padding-13 {
    padding: 13px;
}

.tracking-normal {
    letter-spacing: 0;
}

.font-normal {
    font-weight: normal;
}

.note.font-8px,
.font-8px {
    font-size: 8px;
}

.font-14px {
    font-size: 14px;
}

.font-12px {
    font-size: 12px;
}

.font-20px {
    font-size: 20px;
}

.align-top {
    vertical-align: top;
}

.block {
    display: block;
}

.smart-form .label.inline,
.inline {
    display: inline;
}

.inline-block {
    display: inline-block;
}

.break-words {
    word-break: break-word;
}

.font-18px {
    font-size: 18px;
}

.bg-color-mybg {
    background: url(../img/mybg.png) #fff;
}

.url-input-widget {
    display: flex;
    align-items: center;
}
.url-input-widget .url-input-widget__label {
    flex: 1 0 auto;
    margin-right: 1ch;
}
.url-input-widget .url-input-widget__copy-button {
    margin-top: 0;
    flex: 1 0 0;
    padding: 0 12px;
    font-size: 13px;
}
.url-input-widget > label.input {
    flex: 1 1 100%;
}

.url-input-widget.--app-store .url-input-widget__label {
    /* Wyrównaj Google Play i App Store */
    min-width: 75px;
}

.flex-cols {
    display: flex !important;
}
.flex-cols.--gap-10 > :not(:first-child) {
    margin-left: 10px;
}
.flex-cols.--gap-80 > :not(:first-child) {
    margin-left: 80px;
}
.flex-cols > * {
    flex: 0 0 content;
}
.flex-cols > .flex-col-fill {
    flex: 1;
}
.flex-cols > .flex-col-rigid {
    /* "Column" with a predefined width. */
    flex-basis: auto;
}

.flex-wrap {
    flex-wrap: wrap;
}

.smart-form fieldset.grid-cols,
.grid-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.grid-cols > * {
    width: 100%;
}

.stretched-column {
    /* Kolumna której elementy należy rozciągnąć tak, żeby pokryły całą wysokość */
    display: flex;
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.center-single-child {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.self-center {
    align-self: center;
}

.columns-2 {
    columns: 2;
}

.relative {
    position: relative;
}

html.no-background,
.no-background > body {
    background: none;
}

/* public-news-page: basics */
.public-news-page .news-content img {
    max-width: 100%;
    height: auto;
}

.public-news-page h1 {
    font-weight: 600;
    font-size: 24px;
    line-height: 36px
}

.public-news-page .news-content p {
    margin: revert;
}

/* public-news-page: layout */
html.public-news-page {
    height: 100%;
    background: initial;
}

body.public-news-page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: initial;
}

body.public-news-page > header,
body.public-news-page > main,
body.public-news-page > footer {
    max-width: 960px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

body.public-news-page main {
    flex: 1 1 0;
}

body.public-news-page > footer {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

body.public-news-page > footer .organization-info {
    align-self: end;
    margin: 15px 20px;
}

body.public-news-page > footer .weekly-info {
    flex: 1;
    margin: 15px 20px;
}

.public-news-page .news-content {
    margin-bottom: 1em;
}

/* public-news-page: styles */
body.public-news-page .news-icon {
    color: #79C202;
    margin-right: 1ch;
    /* Domyślnie ikona za dobrze przylega do lewego brzegu kolumny,
       kiepsko to wygląda jak ma tekst pod sobą */
    margin-left: 2px;
}
body.public-news-page > header {
    margin-top: 10px;
    margin-bottom: 10px;
}

body.public-news-page > header .publication-date {
    margin-top: 10px;
    margin-left: 20px;
}
body.public-news-page > header > hr {
    border-bottom: 1px solid #E5E5E5;
    margin: 0;
}

body.public-news-page > header .logo {
    max-height: 82px;
    width: auto;
    margin: 15px 0;
}

body.public-news-page > footer {
    background: #4a4a4a;
    color: #EBEBEB;
}

body.public-news-page > footer .copyright-info {
    margin-top: 18px;
    color: #999999;
}

#archive_form label[for^="id_target_specific_content"] {
    float: left;
    margin-right: 2ch;
    margin-top: 2px; /* Wyrównanie z radio buttonami obok */
    margin-bottom: 0;
}

input[type="number"].spinerless::-webkit-inner-spin-button {
    display: none;
}

img.theme2-icon {
    height: 1.25em;
    width: 1.25em;
    object-fit: contain;
}

.custom-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 3em);
    min-height: 3em;

    > img {
        max-width: 100%;
    }

    .selected {
        outline: solid #3276b1 2px;
    }
}

@media print {
    .avoid-break-inside {
        page-break-inside: avoid;
    }

    .print-hidden {
        visibility: hidden !important;
    }

    .noprint {
        display: none !important;
    }

    .print-no-padding {
        padding: 0;
    }

    .print-no-margin {
        margin: 0;
    }

    .jarviswidget > .print-border-b-0,
    .print-border-b-0 {
        border-bottom-width: 0;
    }

    .jarviswidget > .print-px-13,
    .print-py-13 {
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .jarviswidget > .print-px-26,
    .print-px-26 {
        padding-left: 26px;
        padding-right: 26px;
    }

    #header,
    .print-in-color {
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }

    .menu-on-top #hide-menu,
    nav {
        display: none !important;
    }

    /* W druku nie mamy stopki, inaczej zakrywała koniec każdej strony w FF.
     */
    #main {
        padding-bottom: 0;
    }

    .page-footer {
        display: none;
    }

    .menu-on-top #main {
        margin-top: 0 !important;
    }

    /* W druku treść powinna dotknąć stopki */
    #content {
        padding-bottom: 0;
    }

    /* Wykres zajmujący ~1/2 A4 */
    .chart-print-2 {
        width: 300px !important;
    }

    .flot-hide-xlabels-2 .flot-x-axis .flot-tick-label.tickLabel:nth-child(2n) {
        display: none !important;
    }
}

.flot-hide-xlabels-2 .flot-x-axis .flot-tick-label.tickLabel:nth-child(2n) {
    display: none;
}

@media (min-width: 992px) {
    .md-flot-show-all-xlabels .flot-x-axis .flot-tick-label.tickLabel:nth-child(n) {
        display: initial;
    }
}

/* kopia .menu-on-top aside#left-panel nav > ul > li > a > i, */
.menu-on-top aside#left-panel nav > ul > li > a > svg {
    display: block !important;
    margin: 1px 0 4px;
    margin-bottom: 4px;
    line-height: inherit;
    text-align: center;
    font-size: 24px;
    margin-bottom: 2px;
    /*width: 100%;*/  /* ikonki SVG centrujemy bez width: 100% */

    /* dodatkowo, dla ikonki SVG potrzebujemy wysokości */
    height: 22px;
    margin-inline: auto;

    @media (max-width: 979px) {
        display: inline-block !important;
        margin: 1px 0;
        width: auto;

    }
}

.menu-on-top .menu-item-parent + span.admin-tasks-badge {
    position: absolute;
    top: 5px;
    right: calc(50% - 18px);
}

.admin-tasks-badge {
    width: 1.8em;
    height: 1.8em;

    display: grid;
    place-content: center;

    border-radius: 50%;

    font-size: 8px;
    padding: 0 0 1px;
    color: black;
    background: #F2DA00;
}

.admin-tasks-modal {
    --admin-tasks-accent-color: #0D6EFD;
    --admin-tasks-background-color: #FFFFFF;
    --admin-tasks-border-color: #E0DEDE;
    --admin-tasks-new-background-color: #E8F5FA;
    --admin-tasks-new-border-color: #C6DCF0;

    position: absolute;
    right: 12px;
    top: calc(100% - 8px);

    box-shadow: 0 4px 12px 0 #00000040;

    max-width: min(100vw, 380px);
    min-width: 380px;

    padding: 8px 12px;

    background: var(--admin-tasks-background-color);
}

.admin-tasks-modal__title {
    display: flex;

    font-size: 1.4em;
    margin-bottom: 0.4em;
}

.admin-tasks-modal__close {
    appearance: none;
    background: none;
    border: none;

    margin-left: auto;
}

.admin-tasks-modal__task-list {
    display: grid;
    gap: 0.61em;
    grid-template-columns: max-content 1fr max-content;
}

.admin-tasks-modal__task {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;

    min-height: 6em;

    border: 1px solid var(--admin-tasks-border-color);
    border-radius: 2px;

    padding: 12px;

    background: var(--admin-tasks-background-color);
}

.admin-tasks-modal__task.--new {
    background-color: var(--admin-tasks-new-background-color);
    border-color: var(--admin-tasks-new-border-color);
}

.admin-tasks-modal__task-icon {
    place-self: center;
    width: 2.5em;
    height: 2.5em;
    margin-right: calc(15px - 0.61em);

    display: grid;
    place-content: center;

    border: 1px solid var(--admin-tasks-border-color);
    border-radius: 50%;

    background: var(--admin-tasks-background-color);
    color: var(--admin-tasks-accent-color);
}

.admin-tasks-modal__task-description {
    align-self: center;
}

.admin-tasks-modal__task-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.admin-tasks-modal__task-dot.--new {
    background: var(--admin-tasks-accent-color);
}

.smart-form .unsmartform *,
.smart-form .unsmartform ::before,
.smart-form .unsmartform ::after {
    margin: revert;
    padding: revert;
}

.smart-form .unsmartform.label {
  /* label z Bootstrapa */
  display: inline;
  padding: .2em .6em .3em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25em;
}

.last-child\:mb-0 > *:last-child {
    margin-bottom: 0;
}

.smart-form fieldset.widget-full-form,
.widget-full-form {
    display: flex;
    gap: 3em;
    flex-direction: row;
}

.widget-full-form__left-column {
    flex: 1 1 35%;

    #parameters_file_container {
        position: sticky;
        top: 1em;
    }
}

.widget-full-form__right-column {
    flex: 3 1 60%;
}

.widget-form-container {
    width: 100%;
    min-height: 250px;
}

.widget-multi-parameters__subwidget {
    scroll-margin-block: 3em;
}

.widget-multi-parameters__subwidget__header {
    display: flex;
    align-items: center;
    gap: 1em;

    padding-left: 1em;

    .btn.delete-button {
        /* Na końcu kontenera */
        margin-left: auto;
    }
}

.kpi-subwidget-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2em;
}

.kpi-subwidget-form > * select {
    width: 100%;
}

.kpi-subwidget-form > [id$="-show_as_percent-field-container"] {
    padding-left: 10%;
    grid-column: 1 / -1;
}

.section-subwidget-form {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 0 2em;
}

.section-subwidget-form > * select {
    width: 100%;
}

.section-subwidget-form > [id$="-title-field-container"] {
    grid-column: 1 / -1;
}

.widget-form-container > .center-single-child {
    min-height: 250px;
}

.widget-types-list .widget-type-preview {
    position: relative;
}

.widget-type-preview {
    min-height: 110px;
    text-align: center;  /* Na wypadek niezaładowania obrazka */
}

.widget-type-preview > img {
    width: 100%;
    aspect-ratio: 2836 / 1052;
}
.widget-type-preview > button,
.widget-type-preview > button.btn:active {
    position: absolute;
    inset: auto 2% 10% auto;
    /* Musimy się zmieścić obok obrazka, nawet na małym ekranie. */
    font-size: calc(min(2vw, 13px));
    padding: 0.5em 1em;
}

.widget-parameters-table {
    margin-bottom: 0.5rem;
}

.widget-parameters-table th,
.widget-parameters-table td {
    padding: 0.5rem;
    text-align: center;
}

.widget-parameters-table td.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.widget-parameters-table td:first-child {
    text-align: right;
}

.widget-parameters-table td select {
    min-width: 100%;
}

.data-source-formset-table th,
.data-source-formset-table td {
    padding: 0.5rem;
}

.data-source-preview-table th {
    text-align: center;
    border-bottom: 1px solid;
}

.data-source-preview-table td,
.data-source-preview-table th {
    padding: 0.5rem;
    border-right: 1px solid;
}

.data-source-preview-table td.error {
    color: red;
}

.h-auto {
    /* poniżej .center-single-child */
    height: auto;
}

.spinner-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    background: rgba(255, 255, 255, 0.3);
}
.spinner-overlay__spinner {
    place-self: center;
    animation: spin 5s infinite linear;
}
