@font-face {
    font-family: 'Open Sans';
    font-weight: normal;
    src: url('/img/opensans.woff') format('woff');
}

@font-face {
    font-family: 'Open Sans';
    font-weight: bold;
    src: url('/img/opensans-bold.woff') format('woff');
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.25;
    margin: 0;
    padding: 40px 20px 20px;
}

.fatalni-chyba {
    border: solid 2px red;
    max-width: 1000px;
    margin: auto;
    text-align: center;
    padding: 15px;
}

.stred {
    text-align: center;
}

.skryto {
    display: none;
}

/* HLAVNI MENU */

.menu-hlavni {
    height: 40px;
    overflow: hidden;
    background-color: #303030;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    color: white;
    display: flex;
    z-index: 2;
}

.menu-hlavni:hover {
    height: auto;
}

.menu-logo img {
    height: 40px;
    display: block;
    background-color: #f8f8f8;
    padding: 0 10px;
}

.menu-skupina {
    display: flex;
}

.menu-modul {
    flex-grow: 1;
    background-color: #303030;
    text-align: center;
}

@media (max-width: 500px) {
    .menu-skupina {
        display: none;
    }

    .menu-vice {
        font-size: 24px;
        line-height: 40px;
    }

    .menu-hlavni:hover .menu-logo {
        display: none;
    }

    .menu-hlavni:hover .menu-skupina {
        display: flex;
        flex-direction: column;
        order: -1;
    }
}

@media (min-width: 501px) {
    .menu-vice {
        display: none;
    }
}

.menu-modul a {
    font-size: 18px;
    width: 90px;
    padding: 0 6px;
    line-height: 40px;
    display: inline-block;
    color: white;
    text-align: center;
    text-decoration: none;
    position: relative;
}

.menu-modul a.aktivni {
    background-color: #2142a6;
}

.menu-modul a:hover {
    background-color: #1f3d99;
}

.menu-odznak {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    right: -5px;
    bottom: 5px;
    background: #f20000;
    line-height: 30px;
    font-size: 16px;
    font-weight: bold;
    z-index: 3;
}

.menu-ikona {
    color: white;
    font-size: 24px;
    width: 60px;
    line-height: 40px;
    text-align: center;
}

.menu-ikona:hover {
    background-color: #1f3d99;
}

.menu-ikona.cervena:hover {
    background-color: #d90000;
}

/* MENSI MENU */

.menu-mensi {
    background-color: #ebebeb;
    display: flex;
    margin: 0 -20px;
}

.menu-mensi a {
    padding: 10px 20px;
    text-decoration: none;
    color: black;
    border-bottom: solid 2px #808080;
}

.menu-mensi a.aktivni {
    border-color: #2952cc;
}

.menu-mensi a:hover {
    border-color: #1f3d99;
}

/* UVOD */

.uvod-organizace {
    color: #0f3299;
    font-size: 5vw;
    font-weight: bold;
    margin: 0.5em 0;
}

.uvod-logo {
    max-height: 180px;
    vertical-align: middle;
}

.uvod-verze {
    font-size: 36px;
    margin: 1em 0;
}

/* hlavicka */

h1 {
    font-size: 36px;
    margin: 15px 0;
}

.podnadpis {
    margin: 20px 0;
    padding: 5px 10px;
    font-size: 20px;
    color: #1f3d99;
    background-color: #e6e9f2;
}

.akce {
    cursor: pointer;
    float: right;
    margin: 15px 10px 0;
    font-family: 'Font Awesome 5 Free', sans-serif;
    font-weight: 900;
    font-size: 36px;
    text-decoration: none;
    color: #1f3f99;
}

.akce:hover {
    color: #1d2f5e;
}

@media (max-width: 500px) {
    h1 {
        text-align: center;
        margin: 5px 0 20px;
    }

    .operace {
        text-align: center;
        margin: 10px 0;
    }

    .akce {
        font-size: 34px;
        float: none;
        display: inline-block;
        margin: 2px 8px;
    }
}

/* filtr */

.filtr {
    background: #fafafa;
    padding: 10px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    box-shadow: 0 0 2px #9c9c9c;
}

.filtr label {
    font-weight: bold;
    vertical-align: middle;
}

.filtr .selectize-control {
    margin: 0 10px;
}

.filtr .selectize-control.multi {
    width: 400px;
}

.filtr input[type=text] {
    width: 40px;
    margin: 0 10px;
}

.filtr input[type=checkbox] {
    margin: 0 5px 0 8px;
}

.filtr select, .filtr input {
    margin: 0 10px;
}

.filtr .choices {
    margin: 0 20px;
}

@media (max-width: 600px) {
    #zobrazeno {
        display: block;
        margin-top: 10px;
    }

    .filtr {
        height: 35px;
        overflow: hidden;
        padding: 0 20px;
        position: sticky;
        top: 40px;
        z-index: 1;
    }

    .filtr:hover {
        height: auto;
        overflow: visible;
        padding: 0 20px 15px;
        z-index: 4;
    }

    .filtr-vice {
        display: block;
        font-size: 16px;
        line-height: 35px;
    }

    .filtr input, .filtr select, .filtr div.choices {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
}

@media (min-width: 601px) {
    .filtr-vice {
        display: none;
    }
}

/* hlavni seznam */

.seznam {
    display: table;
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
}

.seznam th {
    background-color: #e1e1e1;
    text-align: left;
    text-transform: uppercase;
    position: sticky;
    top: 40px;
}

.seznam th, .seznam td {
    padding: 8px 4px 8px 18px;
    border: solid #c5c5c5;
    border-width: 1px 0;
    cursor: default;
}

.seznam tr:hover, .seznam tr:focus {
    background-color: #f2f5ff;
}

.seznam tr.checked {
    background-color: #e0e8ff;
}

@media print {
    .seznam.has-checked tr:not(.checked) {
        display: none;
    }
}

@media (max-width: 500px) {
    .seznam th {
        top: 75px;
        z-index: 1;
        box-shadow: 0 0 2px #9c9c9c;
    }

    .seznam th, .seznam td {
        padding: 8px 12px;
    }
}

@media (max-width: 800px) {
    .seznam th:last-child, .seznam td:last-child {
        display: none;
    }
}

@media (min-width: 801px) {
    .seznam th, .seznam td {
        white-space: nowrap;
    }

    .seznam th:last-child, .seznam td:last-child {
        width: 100%;
    }
}

@media print {
    .seznam th, .seznam td {
        white-space: normal;
    }

    .seznam th:first-child, .seznam td:first-child {
        display: none;
    }

    .seznam th:last-child, .seznam td:last-child {
        width: auto;
        display: table-cell;
    }
}

.seznam-nazev {
    font-size: 18px;
    font-weight: bold;
}

.seznam-datum {
    font-size: 24px;
    font-weight: bold;
}

.seznam-priznak {
    font-size: 16px;
    color: #cc2929;
    margin-right: 4px;
}

.seznam .cervena {
    color: #cc2929;
}

.seznam .zelena {
    color: #008c2f;
}

.seznam .modra {
    color: #0022cc;
}

.seznam .oranzova {
    color: #e67e17;
}

.seznam a {
    color: #1f3d99;
    font-weight: bold;
}

.seznam a:hover {
    color: #000d33;
}

.sp {
    display: table-row;
    border-top: solid 1px #c5c5c5;
    border-bottom: solid 1px #c5c5c5;
    font-size: 14px;
    cursor: default;
}

.sp > div, .sp td {
    display: table-cell;
    vertical-align: middle;
}

.sp:hover {
    background: #f2f5ff;
    font-weight: bold;
}

.sp.checked {
    background: #e0e8ff;
}

.sp-nazev {
}

.sp-cerv {
    color: #e80000;
}

.sp-modr {
    color: #0007e4;
}

@media (min-width: 801px) {
    .sp > div, .sp td {
        white-space: nowrap;
    }

    .sp > div:last-child, .sp td:last-child {
        width: 100%;
    }

    .sp-1 {
        min-width: 200px;
    }
}

.sp-check {
    height: 20px;
    width: 20px;
    background: #e6e6e6;
    cursor: pointer;
    position: relative;
    display: block;
}
.sp-check:hover {
    background: #ccc;
}

tr.checked .sp-check {
    background: #173799;
}
tr.checked .sp-check:hover {
    background: #102666;
}

tr.checked .sp-check:after {
    position: absolute;
    content: '';
    left: 8px;
    top: 4px;
    width: 3px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* loader */

#loader {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: #fafafa;
    padding: 10px;
    width: 50px;
    z-index: 15;
}

/* dialog */

.dialog {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: white;
    box-shadow: 0 0 100px #717171;
    max-width: 1000px;
    max-height: 750px;
    z-index: 11;
}

.dialog.maly {
    max-width: 500px;
    max-height: 300px;
    z-index: 12;
}

.dialog-clenstvi,
.dialog-prihlaska,
.dialog-ucast {
    max-width: 800px;
    max-height: 500px;
    z-index: 12;
}

.dialog-zprava {
    max-width: 600px;
    max-height: 600px;
    z-index: 12;
}

.dialog-zprava .param {
    width: 100%;
}

.dialog-nahled {
    max-width: 800px;
    max-height: 800px;
    z-index: 13;
}

.dialog-sablona {
    max-width: 1200px;
    max-height: 800px;
}

.dialog-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dialog-titul {
    background: #2d2d2d;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 6px 0;
    position: relative;
}

.dialog-zavrit {
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    height: 100%;
}

.dialog-zavrit:hover {
    background-color: #dd0000;
}

.dialog-zavrit:before, .dialog-zavrit:after {
    content: '';
    width: 3px;
    height: 17px;
    position: absolute;
    left: 16px;
    top: 8px;
    background-color: white;
}

.dialog-zavrit:before {
    transform: rotate(-45deg);
}

.dialog-zavrit:after {
    transform: rotate(45deg);
}


.dialog-karty {
    position: absolute;
    top: 0;
    right: 35px;
}

.dialog-karta {
    display: inline-block;
    text-transform: uppercase;
    padding: 6px 12px;
    cursor: default;
}

.dialog-karta:hover {
    background-color: #484848;
}

.dialog-karta.aktivni {
    background-color: #1f3f99;
}

.dialog-obsah {
    overflow: auto;
    padding: 10px 20px 0;
    flex-grow: 1;
}

.dialog-puleny {
    display: flex;
    align-items: start;
}

.dialog-puleny > div {
    flex-grow: 1;
}

@media (min-width: 601px) {
    .polovina {
        width: 50%;
        margin: 10px 20px;
    }
}

.dialog .zahl {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #4d4d4d;
    margin: 15px 0 5px;
}

.dialog .zahl:first-child {
    margin: 5px 0;
}

.dialog-pridat {
    margin: 15px;
    font-size: 14px;
}

.tlacitko {
    background: #e6e6e6;
    color: black;
    box-shadow: 1px 1px 2px #b6b6b6;
    font-family: inherit;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 6px 15px;
    margin: 15px 0;
    border: none;
}

.tlacitko i {
    margin-right: 5px;
}

.tlacitko:hover, .tlacitko:focus {
    background-color: #1f3f99;
    color: white;
    border: none;
}

.zapl-ano {
    background: #96ff96;
}

.zapl-ne {
    background: #ffa8b0;
}

textarea.poznamka {
    margin: 10px 0;
    height: 100px;
}

@media (min-width: 801px) {
    .rozdeleni {
        display: flex;
        align-items: start;
    }

    .rozdeleni > * {
        flex-grow: 1;
    }

    .rozdeleni-polovina {
        width: 50%;
    }

    .rozdeleni > :not(:last-child) {
        margin-right: 50px;
    }
}

/* vstupni prvky */

.dialog-tlacitka button {
    background: #e4e4e4;
    color: black;
    box-shadow: 1px 1px 2px #b6b6b6;
    font-family: inherit;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 6px 14px;
    border: none;
}

.dialog-tlacitka button:hover, .dialog-tlacitka button:focus {
    background: #1f3f99;
    color: white;
    border: none;
}

input, textarea {
    font-family: inherit;
    font-size: 14px;
    width: 200px;
    padding: 5px 10px;
    margin: 0 3px;
    border: none;
    outline: solid 1px #9e9e9e;
    display: inline-block;
    vertical-align: middle;
}

input:focus, textarea:focus {
    border: none;
    outline: solid 2px #193380;
    outline-offset: 0;
}

input.kratky {
    width: 80px;
}

input.polovicni {
    width: 140px;
}

input.dlouhy {
    width: 300px;
}

input[type=date] {
    width: 150px;
}

input[type=checkbox], input[type=radio], input[type=file] {
    outline: none;
    width: auto;
    padding: 0;
}

input.readonly, textarea.readonly {
    background-color: #f2f2f2;
    background-image: url('/img/eye-regular.svg');
    background-position: center right 10px;
    background-repeat: no-repeat;
    background-size: 16px;
}

input:invalid {
    outline: solid 2px #e00000;
    box-shadow: none;
}

textarea {
    resize: none;
    width: 300px;
    height: 120px;
}

select {
    font-family: inherit;
    font-size: 14px;
}

.selectize-control {
    width: 140px;
}

.selectize-control.multi {
    width: 350px;
}

.selectize-control.dlouhy {
    width: 220px;
}

.choices * {
    box-sizing: border-box;
}

.choices {
    width: 240px;
    margin: 0;
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.choices[data-type=select-multiple] {
    width: 320px;
}

.choices.kratky {
    width: 120px;
}

.choices__item--choice {
    padding: 10px !important;
}

.choices__input {
    outline: none;
    width: 1ch;
}

.filtr .ss-main {
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px;
}

.ss-main {
    font-size: 14px;
    width: 250px;
}

.ss-main.kratky {
    width: 150px;
}

.ss-main.dlouhy {
    width: 300px;
}

.ss-main.kratky .ss-search {
    display: none;
}

.ss-main .ss-multi-selected .ss-values .ss-value {
    animation: none;
}

.filtr-sekce {
    display: inline-block;
    margin-right: 15px;
}

.filtr-sekce .ss-main {
    margin-left: 15px;
    margin-right: 5px;
}

.select-arrow {
    background-color: #2952cc;
    color: white;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    width: 12px;
    height: 12px;
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    cursor: pointer;
    padding: 6px;
    margin: 0 2px;
}

.select-arrow:hover {
    background-color: #2447b3;
}

.select-arrow.arrow-up:before {
    content: '▲';
}

.select-arrow.arrow-down:before {
    content: '▼';
}

/* tabulka parametru */

.param td {
    padding: 5px 15px 5px 0;
}

.param td a:hover {
    color: #666666;
}

.param-sam {
    margin: 15px 0;
}

.param-pozn {
    color: #7c7c7c;
    font-size: 14px;
}

.param-ikona {
    color: #999999;
    margin: 0 5px;
}

.table-options {
    margin: 10px 0;
}

.table-options td {
    padding: 0 5px;
}

.table-note {
    color: #7c7c7c;
    font-size: 14px;
}

.validation-message {
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
    color: #cc2929;
}

.validation-message:empty {
    margin: 0;
}

/* seznam v dialogu */

.dialog-seznam {
    flex-grow: 1;
    border-collapse: collapse;
    width: 100%;
    margin: 10px 0;
}

.dsp {
    display: table-row;
    background: #f6f6f6;
    border: solid 1px #d1d1d1;
}

.dsp > div, .dsp td {
    display: table-cell;
    padding: 5px 15px;
    vertical-align: middle;
}

.dsp .vpravo {
    text-align: right;
}

.dsp .stred {
    text-align: center;
}

.dsp a {
    text-decoration: none;
    color: inherit;
}

.dsp a:hover {
    text-decoration: underline;
    font-weight: bold;
}

.dsp-prvni {
    width: 100%;
}

.dsp .dsp-ikona {
    padding: 5px 10px;
}

.dsp .dsp-poznamka {
    font-size: 14px;
    white-space: nowrap;
}

.nezalam {
    white-space: nowrap;
}

.dialog-seznam input {
    width: 40px;
    margin: 0 0 0 5px;
}

.dialog-seznam input[type=checkbox] {
    width: auto;
    margin: 0 5px 0 0;
}

.dialog-seznam label {
    white-space: nowrap;
}

.dialog-seznam label span {
    vertical-align: middle;
}

.dialog-seznam .problems,
.dialog-seznam .no-problems {
    font-weight: bold;
    text-align: center;
}

.dialog-seznam .problems {
    background-color: #ffe6e6;
    color: #e60000;
}

.dialog-seznam .no-problems {
    font-size: 12px;
    background-color: #e6ffe6;
    color: #008000;
}

/* tlacitka v dialogu */

.dialog-tlacitka {
    position: absolute;
    right: 35px;
    bottom: 25px;
}

.dialog-tlacitka button {
    border-radius: 50%;
    padding: 8px;
    font-size: 20px;
    width: 45px;
    text-align: center;
    margin-left: 10px;
    background-color: #f0f0f0;
    color: #202020;
    position: relative;
}

.dialog-tlacitka button:hover, .dialog-tlacitka button:focus {
    background-color: #1f3f99;
    color: white;
}

.dialog-tlacitka span {
    display: none;
    position: absolute;
    left: 15px;
    top: -26px;
    background-color: #202020;
    color: white;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    z-index: 15;
    white-space: nowrap;
}

.dialog-tlacitka button:hover span, .dialog-tlacitka button:focus span {
    display: block;
}

.dialog-tlacitka .tlacitko-hlavni {
    font-size: 24px;
    width: 50px;
}

.dialog-tlacitka .tlacitko-cervene:hover, .dialog-tlacitka .tlacitko-cervene:focus {
    background-color: #991b2f;
}

/* akce v dialogu */

.dialog-akce {
    text-align: center;
}

.dialog-akce a {
    font-family: 'Font Awesome 5 Free', sans-serif;
    font-weight: 900;
    font-size: 20px;
    display: inline-block;
    margin: 10px;
    cursor: pointer;
    color: black;
    text-decoration: none;
}

.dialog-akce a:hover {
    color: #193380;
}

.dialog-operace {
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    margin: 10px;
    color: #4d4d4d;
    cursor: pointer;
    text-decoration: none;
}

.dialog-operace:hover {
    color: #1f3d99;
}

.dialog-operace i {
    margin-right: 5px;
}

/* preklopeni */

.preklopeni {
    text-align: center;
    margin: 10px 0;
    max-height: 50px;
}

.preklopeni > * {
    transition: all 500ms;
    transform: scale(1, 0);
    position: relative;
    top: 0;
}

.preklopeni.aktivni > * {
    top: -40px;
}

.preklopeni:not(.aktivni) > :first-child {
    transform: none;
}

.preklopeni.aktivni > :last-child {
    transform: none;
}

.preklopeni div:last-child .fas {
    font-size: 20px;
    margin-left: 10px;
    vertical-align: middle;
    color: #a5a5a5;
    cursor: pointer;
}

.preklopeni div:last-child .fas:hover {
    color: black;
}

.preklopeni-vedle {
    display: inline-block;
    vertical-align: middle;
}

.preklopeni input[type=file] {
    max-width: 250px;
}

.portret {
    max-width: 125px;
    max-height: 125px;
    vertical-align: middle;
}

/* ikony v seznamu */

.dialog-seznam .fas {
    font-size: 16px;
    margin: 0 5px;
    color: #bfbfbf;
    cursor: pointer;
    display: inline;
}

.dialog-seznam .fas:hover {
    color: black;
}

.upravit:before {
    content: '\f303';
}

.smazat:before {
    content: '\f00d';
}

.nahradit:before {
    content: '\f062';
}

/* chybove hlasky */

.uspech, .chyba, .varovani {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 15px 40px;
    box-shadow: 0 0 4px #a4a4a4;
    cursor: default;
    animation: hlaska 2s 3s 1 forwards;
    z-index: 15;
}

.uspech {
    background: #e0ffd9;
}

.chyba {
    background: #ffdbdb;
}

.varovani {
    background: #fff9db;
}

@keyframes hlaska {
    from {opacity: 1}
    to {opacity: 0}
}

.nenalezeno {
    text-align: center;
    margin: 15px 0;
}

/* dlazdice */

.dlazdice {
    display: inline-block;
    padding: 15px;
    margin: 10px;
    max-width: 250px;
    background-color: #eeeeee;
    text-decoration: none;
    color: black;
    font-size: 14px;
}

.dlazdice:hover {
    background-color: #e0e0e0;
}

.dlazdice-nazev {
    font-size: 16px;
    font-weight: bold;
}

/* mailing */

.mail-nahled {
    background-color: #f2f2f2;
    padding: 10px;
    margin: 10px 0;
    font-size: 14px;
}

.mail-zahlavi {
    background-color: #e0e0e0;
    padding: 5px;
    width: 100%;
}

.mail-obsah {
    background-color: white;
    padding: 5px 15px;
}

/* statistika */

.graf {
    height: 400px;
}

/* dochazka */

td.dochazka-zapis {
    padding: 0;
    text-align: right;
    white-space: nowrap;
}

td.dochazka-historie {
    text-align: right;
}

td.dochazka-priznaky {
    padding: 5px;
}

.dochazka-zapis input {
    position: absolute;
    visibility: hidden;
}

.dochazka-zapis input + label {
    font-size: 18px;
    font-weight: bold;
    background-color: #e6e6e6;
    cursor: pointer;
    padding: 6px 14px;
    display: inline-block;
}

.dochazka-zapis input + label:hover {
    background-color: #cccccc;
}

.dochazka-zapis input:checked + label {
    background-color: #1f3d99;
    color: white;
}

.dochazka-historie span {
    background-color: #3d4766;
    color: white;
    padding: 2px 8px;
    display: inline-block;
}

#dochazka .nezaplaceno {
    color: red;
}

/* PRINT */

.print-header,
.print-footer {
    display: none;
}

.print-dialog .param {
    margin-bottom: 10px;
}

.print-dialog .column-label {
    display: inline-block;
    margin: 3px;
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 15px;
    background-color: #d9d9d9;
}

.print-dialog .column-label:hover {
    background-color: #bfbfbf;
}

.print-dialog .column-label input,
.print-dialog .column-label span {
    vertical-align: middle;
}

@media print {
    body {
        padding: 0;
    }

    h1 {
        display: none;
    }

    .print-header,
    .print-footer {
        display: block;
    }

    .print-header {
        font-size: 30px;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .print-footer {

    }

    .print-dialog {
        display: none !important;
    }

    body > .ss-content {
        display: none;
    }

    .menu-hlavni, .akce, .filtr {
        display: none;
    }
}

/* LEGACY TABLE */

.tabulka {
    border-collapse: collapse;
    font-size: 15px;
}

.tabulka td, .tabulka th {
    padding: 0.5em;
    white-space: nowrap;
    border: solid 1px #989898;
}

.tabulka th {
    font-weight: bold;
    text-align: left;
}

/* mobilni verze */

@media (max-width: 600px) {
    .filtr {
        text-align: center;
    }

    .filtr label {
        display: block;
        padding: 5px 0;
    }

    .filtr .selectize-control {
        display: block;
        width: auto !important;
        text-align: left;
        margin: 5px 0;
    }

    .dialog-puleny {
        display: block;
    }

    .dialog-puleny > div {
        margin: 5px 0;
    }

    .param, .param tbody, .param tr {
        display: block;
    }

    .param td {
        display: block;
        padding: 5px 0;
    }

    .param input, .param textarea {
        width: 100% !important;
        box-sizing: border-box;
        margin: 0;
    }
}