body {
    padding: 0 10px;

    @media (min-width: 1024px) {
        padding: 0 36px;
    }

    header {
        .logo2-wrapper {
            background-color: white;
        }
    }

    &.home {
        header {
            padding-bottom: 0;
        }
    }

    .home-wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;

        @media (min-width: 1536px) {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 20px;

            .slides-wrapper {
                position: sticky;
                top: 6px;
            }
        }

        .slides-wrapper {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        section {
            display: flex;
            flex-direction: column;

            @media (min-width: 1024px) {
                flex-direction: row;

                article {
                    flex: 1 1 33.333%;
                }
            }
        }
    }
}

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

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 15px;
    background: #f6f6f6;
    border-right: 2px ridge rgba(137, 137, 137, 0.57);
    border-left: 2px ridge rgba(137, 137, 137, 0.63);
}

header:has( nav.stuck) {
    padding-bottom: 120px;
}

table.dataTable tbody tr {
    border-bottom: 2px solid #b11302;
}

.info p {
    font-style: italic !important;
    font-size: 11px !important;
    position: relative !important;
    padding: 2px 2px 2px !important;
    text-align: center !important;
    margin: 0 auto !important;
    line-height: normal !important;
}

#fancybox-title {
    display: none !important;
}

.mutat-rejt {
    display: block;
    border: 1px solid;
    background: aliceblue;
    padding-left: 2px;
    font-size: small;
    width: 100px;
    cursor: pointer;
}

.caldera-grid .cf-multi-uploader-list > ul > li .file-name {
    display: list-item;
}

.caldera-grid .cf-multi-uploader-list > ul > li .cf-file-remove {
    background: url(/wp-content/themes/itftheme/imgs/trash-icon.png);
    margin-left: 10px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 9px;
    padding: 5px 10px 9px 6px;
    line-height: 25px;
}

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

.caldera-grid label {
    font-weight: 400;
}

.help-block {
    font-size: 13px;
    font-style: italic;
}

a.accordion-toggle:hover {
    Color: white;
}

a.acco
img .alignnone {
    vertical-align: middle;
    min-width: 180px;
    height: auto;
}

.morecontent span {
    display: none;
}

.tooltips {
    cursor: pointer;
    color: brown;
    font-weight: 400;
}

.facetwp-facet {
    margin-bottom: 0px !important;
}

.facetwp-counts {
    float: left;
    margin: 0;
}

.morelink {
    display: block;
}

.page-title {
    margin: 10px 20px 10px 20px;
    /* width: 30%;*/
    float: left;
    clear: both;
    display: contents;
}

.justify ul {
    margin-left: 30px;
    padding: 0px;
}

ul {
    padding-left: 22px;
}

.foot-pager {
    text-align: right;
    margin-bottom: 15px;
}

.bold-label {
    color: #bf5748;
}

.fat {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.italic {
    font-style: italic;
}

.odd {
    border-bottom: 2px solid #b11302;
}

.even {
    border-bottom: 2px solid #b11302;
}

.szerkesztonevek {
    font-size: 0.9em !important;
}

.szerkeszto_col {
    min-height: 265px;
}

.video_col {
    min-height: 155px;
}

.global-search {
    width: 100%;
    max-width: 320px;
    min-width: 220px
}

input.gsc-input {
    color: white;
}

.global-search .gsc-search-button button svg {
    display: none;
}

.global-search .gsc-search-button button {
    border: 0 none;
    background: #940131 url(imgs/search.png) center no-repeat;
    width: 50px;
    float: left;
    padding: 0;
    text-align: center;
    height: 38px;
    cursor: pointer;
}

.global-search .gsc-search-box td.gsc-input {
    padding-right: 0;
}

.global-search .gsc-search-box .gsc-input::placeholder {
    font-size: 16px;
    color: white;
    font-weight: 600;
}

.global-search input {
    background: none !important;
}

.global-search .gsc-input-box {
    background-color: #2c506a;
}

.main-menu {
    display: flex;
    font-size: 16px;
    align-items: center;
    justify-content: center;
}

.main-menu ul {
    display: flex;
    margin-bottom: 0;
    list-style: none;
    align-items: center;
}

.main-menu > ul > li > a {
    padding: 8px 14px;
    transition: background-color 300ms ease-in-out, color 300ms ease-in-out;
    white-space: nowrap;
}

.main-menu ul.dropdown-menu {
    display: flex;
    visibility: hidden;
    top: 110%;
    align-items: stretch;
    flex-direction: column;
    border: 0;
    transition: top 200ms ease-in-out, opacity 200ms ease-in-out;
    z-index: 0;
}

.main-menu > ul > li > a:hover {
    background: #f1f1f1;
    color: #666;
    transition: top 300ms ease-in-out;
}

.main-menu ul.dropdown-menu.menu-active {
    visibility: visible;
    opacity: 1;
    top: 90%;
    z-index: 9999;
}

.main-menu > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 7px;
    color: #222;
}

.navbar-nav .menu-item-home a {
    display: none;
}

.navbar-nav .menu-item-home a:after {
    display: block;
    content: " ";
    width: 36px;
    height: 45px;
    background-image: url(./images/house-vector.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-color: #F1F1F1;
}

.navbar-nav li {
    padding: 0 5px;
}

.navbar-nav li a {
    font-family: Merriweather, sans-serif;
    font-size: 16px;
    color: #666;
}

.dropdown-menu {
    position: absolute;
    opacity: 0;
    background-color: #f1f1f1;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    padding: 9px 12px;
    font-family: Merriweather, sans-serif;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
}

.main-sub-menu ul li a {
    font-size: 14px;
}

.main-menu-area {
    display: flex;
    justify-content: center;
    gap: 65px;
}

.main-menu-area .main-menu > ul > li:last-of-type {
    padding-left: 60px;
}

.mobile-menu-action {
    display: none;
}

.data-storage-downarrow {
    font-size: 20px;
}

.global-search .gsc-control-cse {
    background-color: transparent;
    border: none;
}

div.gsc-input-box {
    padding-top: 0;
    padding-bottom: 0;
}

article, aside, details, figcaption, figure, footer, hgroup, main, menu, section, summary {
    display: block;
    background: #f6f6f6;
    border-right: 1px ridge rgba(137, 137, 137, 0.57);
    border-left: 1px ridge rgba(137, 137, 137, 0.63);
}

.menu-wrapper {
    display: flex;
    width: 100%;
    padding: 10px 138px 0 138px;
    background-color: white;
}

.menu-wrapper ul {
    padding-left: 0;
}

.menu-wrapper nav {
    display: flex;
    border: 0;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.menu-wrapper nav:before,
.menu-wrapper nav:after {
    display: none;
}

.full-menu-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: white;
}

html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer;
    background-color: #940131;
    border: 1px solid;
    color: antiquewhite;
    padding: 5px 15px;
}

.navbar:not(.stuck) {
    position: static;
    width: 100%;
}

.navbar.top-sticky {
    right: 0;
    left: 0;
    background-color: white;
    z-index: 5;

    body:has(.page-template-page-table) & {
        right: 38px;
        left: 38px;
    }
}

.datatable-sorting-sticky {
    position: fixed;
    display: none;
    height: 40px;
    top: 86px;
    align-items: center;
    justify-content: flex-start;
    background-color: white;
    z-index: 999;
}

.datatable-sorting-sticky div {
    display: flex;
    align-items: center;
    min-width: 36px;
    cursor: pointer;
    height: inherit;
}

.datatable-sorting-sticky div:hover {
    background-color: #FAFAFA;
}

.datatable-sorting-sticky div:active {
    background-color: #F0F0F0;
}

.datatable-sorting-sticky div span {
    padding-left: 18px;
    flex: 1 0 auto;
    font-size: 16px;
    font-weight: 700;
}

.datatable-sorting-sticky div img {
    max-height: 18px;
    flex: 0 1 auto;
}

.result-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
    font-weight: bold;
}

.result-group a:nth-of-type(n+4) {
    display: none;
}

.show-more-btn,
.hide-more-btn {
    display: none;
    font-size: 12px;
    margin-top: 5px;
    line-height: 15px;
}

.show-more-btn.inactive,
.hide-more-btn.active {
    display: block;
}

.show-more-btn.active,
.hide-more-btn.inactive {
    display: none;
}

#newdatatable_wrapper {
    margin-top: 35px;
}

#newdatatable_wrapper .top {
    display: flex;
    align-items: center;
}

#newdatatable_wrapper .top .dataTables_info {
    flex: 1 1 auto;
}

.dataTables_wrapper .top .dataTables_filter input {
    width: auto;
}

#postTable {
    display: grid;
    grid-template-rows: auto;
}

#postTable .posttable-row:not(.posttable-head-sticky) {
    display: grid;
    grid-template-rows: auto;
}

#postTable #postTableData .posttable-row {
    border-bottom: 2px solid #b11302;
}

#postTable .posttable-title.cell-align-justify,
#postTable .posttable-title.cell-align-left {
    text-align: left;
}

#postTable .posttable-title.cell-align-right {
    text-align: right;
}

#postTable .posttable-title.cell-align-center {
    text-align: center;
}

#postTable .posttable-head,
.posttable-head-sticky {
    background-color: white;
    color: #545248;
    border-bottom: 3px inset rgba(129, 130, 131, 0.39);
}

#postTable .posttable-title a,
.posttable-head-sticky .posttable-title a {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: stretch;
    flex-wrap: nowrap;
    gap: 5px;
    cursor: pointer;
    line-height: 1;
}

#postTable .posttable-title span,
.posttable-head-sticky .posttable-title span {
    flex: 0 1 auto;
}

#postTable .posttable-title i,
.posttable-head-sticky .posttable-title i {
    flex: 0 1 auto;
}

#postTable .posttable-title,
#postTable .posttable-cell,
.posttable-head-sticky .posttable-title,
.posttable-head-sticky .posttable-cell {
    padding: 5px 10px 5px 10px;
}

.posttable-head-sticky .posttable-title {
    flex: 0 1 auto;
}

#postTable .posttable-cell,
.posttable-head-sticky .posttable-cell {
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
}

#postTable .posttable-cell.show-more-cell .showmore-container {
    display: inline-flex;
    position: relative;
    max-height: 81px;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-start;
    transition: max-height 200ms ease-in-out;
}

#postTable .posttable-cell.show-more-cell .showmore-container .showmore-overlay {
    /*position: absolute;*/
    /*top: 0;*/
    /*left: 0;*/
    /*right: 0;*/
    /*bottom: 0;*/
    /*!* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,f6f6f6+100&0+0,0+35,1+100 *!*/
    /*background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(252, 252, 252, 0) 35%, rgba(246, 246, 246, 1) 100%); !* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ *!*/
}

#postTable .posttable-cell.show-more-cell .showmore-container.showmore-open .showmore-overlay {
    display: none;
}

#postTable .posttable-cell.show-more-cell .showmore-container.showmore-open {
    max-height: 999px;
}

#postTable .posttable-cell.show-more-cell .showmore-button {
    display: flex;
    margin-top: 5px;
    padding: 8px 12px;
    align-self: flex-start;
    background-color: #a4392d;
    border: 1px solid #CCC;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    line-height: 1;
    user-select: none;
    color: white;
    font-weight: 600;
}

#postTable .posttable-cell:first-of-type a {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
}

#postTable .cell-align-left.posttable-cell:first-of-type a,
#postTable .posttable-cell.cell-align-left {
    text-align: left;
    align-items: flex-start;
}

#postTable .cell-align-right.posttable-cell:first-of-type a,
#postTable .posttable-cell.cell-align-right {
    text-align: right;
    align-items: flex-end;
}

#postTable .cell-align-center.posttable-cell:first-of-type a,
#postTable .posttable-cell.cell-align-center {
    text-align: center;
    align-items: center
}

#postTable .cell-align-justify.posttable-cell:first-of-type a,
#postTable .posttable-cell.cell-align-justify {
    text-align: justify;
    align-items: center;
}

#postTable .posttable-cell .column-label {
    display: none;
    font-weight: bold;
}

/*#postTable .posttable-cell br {*/
/*    display: none;*/
/*}*/

.posttable-head-sticky {
    position: fixed;
    display: none;
    height: 40px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    background-color: white;
    z-index: 4;
}

.dataTables_filter {
    margin: 0 0 4px 20px;
}

.pagination,
.facetwp-pager {
    display: flex;
    align-items: center;
    margin: 20px auto;
}

.facetwp-pager .facetwp-page,
.pagination .page-numbers:not(.dots) {
    padding: 4px 10px;
    border: 1px solid #CCC;
    border-radius: 3px;
    margin: 0 5px;
}

.facetwp-pager .facetwp-page:not(.dots):not(.current):hover,
.pagination .page-numbers:not(.dots):not(.current):hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.facetwp-pager .facetwp-page.active,
.pagination .page-numbers.current {
    background-color: rgba(0, 0, 0, 0.3);
}

.facetwp-pager .facetwp-page.dots,
.pagination .page-numbers.dots {
    padding: 0 10px;
}

.pagination .page-numbers:not(.dots) button {
    margin: 0;
    padding: 0;
    border: none;
    background-color: transparent;
}

.extras-container {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.page-title + .extras-container {
    margin: 30px 0 15px 0;
}

.extras-container .slider-container {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 400px;
    margin: 0 25px;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 20px;
    transition: transform 250ms ease-in-out;
}

.extras-container .slider-container .slider-tooltip {
    opacity: 0;
    position: absolute;
    padding: 0 6px;
    bottom: 115%;
    left: -52%;
    border-radius: 5px;
    background-color: white;
    border: 1px solid black;
    line-height: 1.8;
    font-weight: bold;
    color: black;
    font-size: 12px;
    transition: opacity 300ms ease-in-out;
}

.extras-container .slider-container .ui-slider-handle.ui-state-active {
    z-index: 5;
}

.extras-container .slider-container div {
    flex: 1 0 auto;
}

.extras-container .slider-container .field-label {
    margin-top: -25px;
    flex: 1 0 100%;
    text-align: center;
}

.extras-container .slider-container .slider-min,
.extras-container .slider-container .slider-max {
    flex: 0 1 auto;
}

.extras-container .flex-first {
    flex: 1 0 auto;
}

.extras-container .flex-spacer {
    flex: 1 1 auto;
}

.extras-container .flex-first-min,
.extras-container .flex-last {
    flex: 0 1 auto;
}

.extras-container .flex-first + .flex-first,
.extras-container .flex-first + .flex-first-min,
.extras-container .flex-first-min + .flex-first-min,
.extras-container .flex-first-min + .flex-first {
    margin-left: 10px;
}

.extras-container .facetwp-type-slider .facetwp-slider-label {
    display: flex;
    justify-content: center;
}

.dropdown-container {
    display: flex;
    gap: 20px;
}

.dropdown-container select {
    padding: 3px 5px;
    height: 33px;
}

.dropdown-container div {
    display: flex;
    flex-direction: column;
}

.facetwp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.results-counter {
    display: flex;
    margin: 10px 0;
    align-items: center;
}

.results-counter .facetwp-pagination {
    flex: 1 1 auto;
    justify-content: flex-end;
}

.results-counter .facetwp-type-pager {
    margin-left: 12px;
}

.scroll-to-top {
    display: none;
    position: fixed;
    width: 14px;
    height: 14px;
    padding: 12px;
    left: 7px;
    bottom: 7px;
    font-size: 25px;
    background-color: white;
    border-radius: 100%;
}

.scroll-to-top i {
    transform: translate3d(-7px, -8px, 0);
}

.tl-slide.tl-full-color-background a,
.tl-text-content p a {
    color: #0bd4e3 !important;
}

.tl-slide .tl-slide-content-container .tl-slide-content .tl-text {
    max-width: 60% !important;
    width: 60% !important;
}

.tl-timeaxis-background {
    border-top: 1px solid #999 !important;
}

.tl-timeaxis .tl-timeaxis-content-container .tl-timeaxis-minor .tl-timeaxis-tick,
.tl-timegroup .tl-timegroup-message {
    color: #666 !important;
}

.tl-menubar-button,
.tl-timemarker .tl-timemarker-content-container .tl-timemarker-content .tl-timemarker-text h2.tl-headline,
.tl-timemarker .tl-timemarker-content-container .tl-timemarker-content .tl-timemarker-media-container [class^="tl-icon-"] {
    color: #222 !important;
}

.extras-container .flex-last + .flex-last,
.extras-container .flex-first + .flex-first {
    margin: 0 0 0 20px;
}

.extras-container .facetwp-search {
    padding-right: 16px;
}

input.facetwp-search::placeholder {
    padding-left: 5px;
    color: #bbb;
    font-size: 16px;
}

input::placeholder {
    color: #DDD;
}

.posttable-generic {
    overflow: hidden;
}

#resetFilters,
.slider-filter,
.dropdown-filter {
    margin-top: 5px
}

#resetFilters button,
.slider-filter button,
.dropdown-filter button {
    border-radius: 3px;
    outline: none;
    background-color: #940131;
    color: white;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid #555;
    transition: background-color 300ms ease-in-out;
}

#resetFilters button {
    width: 100%;
}

#resetFilters button:hover,
.slider-filter button:hover,
.dropdown-filter button:hover {
    background-color: #7a062c;
}

.extras-container .slider-container .slider-filter {
    display: flex;
    justify-content: center;
    flex: 1 1 100%;
}

div.row {
    margin-left: 0;
    margin-right: 0;
}

#postTableData .posttable-cell ol {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#postTableData .posttable-cell ol br {
    display: none;
}

#postTableData .posttable-cell img {
    max-width: 100%;
}

abbr[title] {
    position: relative;
    border-bottom: 1px dotted #777 !important;
}

abbr[title] .abbr-tooltip {
    display: none;
    position: absolute;
    left: 80%;
    top: 80%;
    padding: 0 7px;
    border-radius: 3px;
    background-color: #2c2c2c;
    color: white;
    border: 1px solid white;
    font-size: 11px;
    white-space: nowrap;
    font-family: Arial;
    letter-spacing: 0.03rem;
    font-weight: 300;
}

abbr[title] .abbr-tooltip.tooltip-visible {
    display: block;
}

.direct-menu-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 5px;
}

.homepage-icon {
    font-size: 24px;
}

.mobile-top-container {
    width: 100%;
    max-width: 275px;
}

nav form.gsc-search-box {
    margin: 0;

    table:not(.gsc-input) {
        margin: 4px;
    }
}

@media (max-width: 1445px) {
    .menu-wrapper {
        padding: 0;
    }

    .main-menu-area .main-menu > ul > li:last-of-type {
        padding-left: 0;
    }

    .main-menu-area {
        gap: 10px;
    }
}

@media (max-width: 1280px) {
    .main-menu > ul > li > a {
        padding: 6px 9px;
        font-size: 14px;
    }
}

@media (max-width: 1140px) {
    .main-menu > ul > li > a {
        padding: 6px 7px;
        font-size: 13px;
    }

    .global-search {
        min-width: 180px;
    }
}

@media (min-width: 1040px) {
    .dropdown:hover ul {
        visibility: visible;
        opacity: 1;
        top: 90%;
        z-index: 9999;
    }
}

@media (max-width: 1040px) {
    .menu-wrapper {
        position: relative;
        margin: 10px 0;
        width: 100%;
        padding: 0;
        top: 0;
        left: 0;
        z-index: 20;
    }

    .page-template-page-table .menu-wrapper {
        margin: 0 38px;
    }

    .main-menu ul.dropdown-menu.menu-active {
        position: relative;
    }

    .admin-bar .container-fluid.logo + .menu-wrapper {
        top: 109px;
    }

    /*Kinda hacky, but the whole site is..*/
    .container-fluid.logo + .menu-wrapper + .container {
        margin-top: 62px;
    }

    .menu-wrapper nav {
        display: block;
        gap: 20px;
        margin-bottom: 0;
    }

    .full-menu-wrapper {
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
    }

    .main-menu > ul > li > a {
        padding: 7px 12px;
        font-size: 16px;
    }

    .main-menu > ul > li > a.homepage-icon {
        font-size: 24px;
    }

    .main-menu > ul {
        padding-left: 12px;
    }

    .main-menu > ul,
    .main-menu > ul > li {
        width: 100%;
    }

    .dropdown-menu li a {
        padding: 8px 28px;
        font-size: 16px;
        white-space: normal;
    }

    .main-menu-area {
        flex-direction: column;
        justify-content: flex-start;
    }

    .main-menu-area .main-menu {
        order: 2;
    }

    .global-search .gsc-search-button button {
        width: 40px;
        height: 36px;
    }

    .mobile-top-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-width: auto;
        max-width: 100%;
        padding: 7px 10px;
        gap: 20px;
        order: 1;
        background-color: #d8d8d8;
        filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
    }

    .mobile-menu-action {
        display: flex;
        font-size: 60px;
        align-self: stretch;
        align-items: center;
    }

    .mobile-menu-action .action-enter {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

    .mobile-menu-action .action-enter div {
        background-color: #545248;
        height: 4px;
        width: 40px;
    }

    .mobile-menu-action .action-exit {
        display: none;
        align-self: self-start;
    }

    .navbar.menu-active .main-menu {
        display: flex;
    }

    .navbar.menu-active .mobile-menu-action .action-exit {
        display: block;
    }

    .navbar.menu-active .mobile-menu-action .action-enter {
        display: none;
    }

    .navbar.menu-active {
        height: 100%;
    }

    .global-search .gsc-control-cse {
        padding: 0;
    }

    .navbar::before,
    .navbar::after {
        display: none;
    }

    .global-search > div {
        flex: 1 0 auto;
    }

    .main-menu {
        display: none;
        justify-content: flex-start;
    }

    .main-menu ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-sub-menu {
        padding-top: 10px;
        border-top: 1px solid black;
    }

    .container-fluid.logo {
        padding-bottom: 20px
    }

    .menu-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (min-width: 1445px) and (max-width: 1585px) {

    .szerkesztonevek {
        font-size: 0.8em;
    !important;
    }
}

@media (min-width: 1200px) and (max-width: 1445px) {

    .szerkesztonevek {
        font-size: 0.7em;
    !important;
    }
}

@media (min-width: 480px) and (max-width: 768px) {

    div.sidebar.newsBox2 .box_inner .box img {
        max-width: 50%;
        margin-left: 25%;
    }
}

@media (max-width: 768px) {
    div.sidebar.newsBox2 .box_inner .textwidget {
        display: inline-block;
    }

    .sidebar .btn-default {
        margin: 7px 0;
        float: none;
    }
}

@media (max-width: 1200px) {
    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {
        font-size: 11px !important;
        padding: 0px 2px 0px 2px !important;
    }
}

@media (max-width: 1000px) {

    #mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {
        padding: 0px 2px 0px 2px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 1300px) {
    body div.container {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .tl-slide .tl-slide-content-container .tl-slide-content {
        padding-left: 60px !important;
        padding-right: 60px !important;
    }
}

@media (max-width: 1040px) {
    header:has( nav.stuck) {
        padding-bottom: 76px;
    }

    .posttable-head-sticky {
        top: 62px;
    }

    .extras-container .slider-container div {
        align-self: stretch;
    }

    .extras-container .slider-container {
        row-gap: 10px;
    }

    .extras-container .slider-container .slider-min,
    .extras-container .slider-container .slider-max {
        position: absolute;
        bottom: 110%;
    }

    .extras-container .slider-container .slider-min {
        left: 0;
    }

    .extras-container .slider-container .slider-max {
        right: 0;
    }

    [class*="page-"][class*="-rovat"] .has-carousel {
        display: none;
    }

    .scroll-to-top {
        display: block;
    }

    #postTable .posttable-row.posttable-head,
    #postTable .posttable-row.posttable-head-sticky {
        display: none;
    }

    .posttable-head-sticky {
        left: 0;
        right: 0;
        transform: none;
    }

    .posttable-head-sticky .posttable-title:not(.sortable) {
        display: none;
    }

    #postTable .posttable-cell {
        border-bottom: 0;
        text-align: left;
        align-items: flex-start;
    }

    #postTable .posttable-cell img {
        height: 100%;
        max-width: 100%;
    }

    #postTable .posttable-row:not(:first-child),
    #postTable #postTableData .posttable-row {
        grid-template-rows: min-content;
        grid-template-columns: 1fr !important;
        border-bottom: 2px solid #b11302;
        margin-bottom: 10px;
    }

    #postTable #postTableData .posttable-row:only-child {
        border-bottom: 2px solid transparent;
    }

    #postTable.posttable-has-image .posttable-row:not(:first-child),
    #postTable.posttable-has-image #postTableData .posttable-row {
        grid-template-rows: min-content min-content;
        grid-template-columns: max-content 1fr !important;
    }

    #postTable.posttable-generic .posttable-cell-img {
        align-items: flex-start;
        grid-column: 1 / 2;
    }

    #postTable .posttable-cell .column-label {
        display: block;
    }

    .extras-container {
        align-items: center;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .extras-container > div {
        align-items: center;
        flex-direction: column;
    }

    .extras-container + .facetwp-template {
        margin-top: 40px;
    }

    .extras-container .flex-first {
        flex: 1 1 auto;
        width: 100%;
    }

    .extras-container input,
    .extras-container select {
        min-width: calc(100vw - 112px);
        max-width: calc(100vw - 112px);
    }

    .extras-container .flex-last + .flex-last,
    .extras-container .flex-first + .flex-first {
        margin: 20px 0 0 0;

        &.dropdown-container {
            margin-bottom: 20px;
        }
    }

    .results-counter {
        text-align: center;
    }

    .results-counter .facetwp-type-pager {
        margin-left: 0;
    }

    #postTable .hide-mobile-cell {
        display: none;
    }

    .extras-container .flex-first + .flex-first,
    .extras-container .flex-first + .flex-first-min,
    .extras-container .flex-first-min + .flex-first-min,
    .extras-container .flex-first-min + .flex-first,
    .extras-container .flex-last + .flex-last,
    .extras-container .flex-first-min + .flex-last,
    .extras-container .flex-first + .flex-last,
    .extras-container .flex-spacer + .flex-last {
        margin: 10px 0 0 0;
        text-align: center;
        align-items: center;
    }

    .extras-container {
        .slider-container {
            max-width: 100%;

            & + .slider-container {
                margin-top: 32px;
            }
        }
    }

    .extras-container .hits-counter-top {
        order: 4;
    }

    .extras-container .free-text-search {
        order: 3;
    }

    .facetwp-pager {
        margin: 0;
    }

    body:not(.home) {
        article {
            padding-top: 62px;
        }
    }
}

@media (max-width: 480px) {
    .extras-container {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .fl-container {
        display: flex;
        flex-wrap: wrap;
    }

    .posttable-head-sticky {
        top: 63px;
    }

    .posttable-title {
        font-size: 12px;
        text-align: center;
    }

    .container > .col-lg-12 {
        max-width: 100%;
    }

    #postTable .posttable-row .posttable-cell {
        padding: 3px 5px 3px 5px;
        font-size: 14px;
        line-height: 1.6;
    }

    .facetwp-search {
        max-width: 70vw;
    }

    .facetwp-type-pager {
        font-size: 14px;
    }

    .facetwp-pager .facetwp-page {
        padding: 0 7px;
    }
}
