/* 
Created on : 2021.09.08.
Author     : stradus
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,600;1,400;1,600&display=swap');

.center {
    text-align: center;
    margin: auto;
}

.wide, .narrow, .slimmer {
    margin: auto;
}

.wide {
    width: 90%;
}

.narrow {
    width: 80%;
}

.slimmer {
    width: 50%;
}

html, body {
    background-color: #dedede;
    background-image: none;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', serif;
}

h2 {
    font-size: 24px;
}

a:hover {
    text-decoration: underline;
}

a:hover * {
    text-decoration: underline;
}

::-webkit-scrollbar {
    width: 17px;
}

::-webkit-scrollbar-track {
    background-color: rgba(221, 215, 211, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(172, 20, 12, 0.1);
    border-radius: 5px;
    border: 4px solid #dedede;
}

*:hover::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 109, 51, 0.8);
}

::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(0, 109, 51, 0.4);
}

h2 {
    color: #006D33;
}

.CMSComment {
    text-align: center;
    text-align-last: center;
    border-radius: 5px;
}

#hair {
    height: 3vw;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
    z-index: 20;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

#hair .element {
    display: inline-block;
    color: #666;
    font-size: 22px;
    line-height: 3vw;
    padding: 0 20px;
}

#hair .element a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
}

#hair .element img {
    height: 1.8vw;
}

.CMSModule_menu li.has_child {
    background-image: url('resources/triangle.svg');
    background-position: center bottom 5px;
}

#head {
    text-align: center;
    background-color: #000;
    color: #fff;
    text-shadow: 0 1px 1px #000;
    padding: 5vw 0 30px 0;
    position: relative;
}

#head .foreground {
    position: relative;
    z-index: 2;
}

#head.fixed {
    padding-bottom: calc(102px + 2em);
}

#logo {
    height: 200px;
}

#head h1 {
    font-size: 64px;
    font-weight: normal;
    margin-top: 1vw;
    margin-bottom: 0;
    text-shadow: 0 1px 1px #000, 0 0 5px #000, 0 0 10px #000;
}

#head h2 {
    font-weight: normal;
    color: #eee;
    margin: 10px auto;
    text-shadow: 0 1px 1px #000, 0 0 5px #000, 0 0 10px #000;
}

#head nav {
    margin: 0;
    padding: 0;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

#head nav ul {
    display: block;
    margin: 40px 0 0 0;
    padding: 0;
    text-align: center;
    list-style: none;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

#head nav li {
    display: inline-block;
    margin: 0;
    font-size: 22px;
    position: relative;
    cursor: pointer;
}

#head nav li:hover, #head nav li.active {
    background-color: rgba(0, 0, 0, 0.3);
}

#head nav li a {
    display: block;
    padding: 15px;
}

#head nav li ul {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgb(0 0 0 / 30%);
}

#head nav li li {
    display: block;
    color: #000;
    text-shadow: none;
}

#head nav li li:hover, #head nav li li.active {
    background-color: #dedede;
}

#head nav li li a {
    padding: 5px;
}

#head nav li.has_child > ul {
    display: none;
    top: 21px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    text-align: center;
    z-index: 40;
    width: 220px;
    background-color: #FAFAFA;
}

#head nav.fixed {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    margin: 0;
    padding: 0;
}

#head nav.fixed ul {
    margin-top: 0;
}

#head nav.fixed li.has_child > ul {
    top: 62px;
}

#old-page {
    background-color: #006D33;
    color: #fff;
    font-size: 22px;
    padding: 5px 10px;
    opacity: 0.6;
    text-align: center;
    transition: 0.3s;
}

#old-page:hover {
    opacity: 1;
}

#content {
    font-size: 0;
}

#content aside, #content main {
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
}

#content aside {
    width: calc(25% - 20px);
    margin-top: 75px;
    padding: 10px;
}

#content aside .CMSContentBox {
    margin-bottom: 10px;
}

#content aside .CMSContentBox h2 {
    color: #fff;
    background-color: #006D33;
    border-radius: 5px;
    padding: 5px 15px;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

#content main {
    padding-top: 0;
    padding-right: 20px;
    width: calc(75% - 20px);
}

#content main h2 {
    text-align: center;
}

#scroll-down {
    background-color: #dedede;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #808080;
    box-shadow: 0 3px 3px rgb(0 0 0 / 30%);
    position: relative;
    z-index: 1;
}

#content_bg {
    background-color: #fafafa;
}

#calendarBox_0 {
    min-height: 239px;
}

.calendar {
    width: 100%;
}

.calendar tr:first-child > th {
    font-size: 24px;
    color: #006D33;
}

.calendar tr:nth-child(2) > th {
    width: 14.27%;
}

.calendar .calEvent {
    background-color: #006D33;
    color: #fff;
}

.calendar .calActDate {
    border: 3px solid #dedede;
}

.box {
    margin: 0;
    box-shadow: none;
    border-radius: 5px;
}

.box.size2 {
    width: calc((100% / 3) * 2);
    margin: 10px auto !important;
}

.box.size1 {
    width: calc((100% / 3) * 1);
    margin: 10px auto !important;
}

.box.size1 .content {
    margin-right: 10px;
}

.box .head {
    background-color: transparent;
    color: #000;
    font-size: 22px;
    padding: 0;
    box-shadow: none;
}

.box > .head {
    text-align: center;
    text-align-last: center;
    color: #fff;
    background-color: #006D33;
    border-radius: 5px;
    padding: 5px 15px;
    line-height: 1.2;
    margin: 0 10px 15px 10px;
    font-size: 24px;
    font-weight: bold;
}

.box .content {
    background-color: transparent;
    border-radius: 5px;
}

.box .newsItem {
    margin: 0 10px 20px 0;
    width: calc(50% - 10px);
}

.box .newsItem:nth-child(even) {
    margin: 0 0 20px 0;
}

.box .button {
    text-align: center;
    text-align-last: center;
    background-color: #006D33;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    width: auto;
    margin: 10px auto 0;
    border-radius: 5px;
}

.box .content {
    height: 400px;
}

article.listItem {
    margin-top: 0 !important;
    margin-bottom: 10px;
    overflow: hidden;
}

article.listItem h4 {
    line-height: 19px;
}

article.listItem h4 > a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.CMSModule_iss_list .newsItem {
    width: 46%;
    margin: 2%;
}

.newsItem .counters {
    text-indent: 10px;
}

.newsItem .lead_picture {
    height: 250px;
}

.newsItem .head {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

.newsItem .head h3 {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
    padding: 5px 10px !important;
    max-width: calc(100% - 40px);
}

#CMSModule_eugy_0 {
    margin-top: 20px;
}

#content {
    padding-bottom: 80px;
}

.datasheet_head {
    margin-top: 37px;
    height: 300px;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5) inset;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.datasheet_head h2, .datasheet_head h3 {
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.CMSModule_iss_search input, .CMSModule_kozadatkereso input {
    border: 1px solid #006D33;
}

.CMSModule_iss_search input[type="submit"], .CMSModule_kozadatkereso input[type="button"] {
    background-color: #006D33;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.CMSModule_iss_search input[type="search"], .CMSModule_kozadatkereso input[type="search"] {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

#CMSModule_iss_search_0 {
    margin-bottom: 20px;
}

footer {
    background-color: #dedede;
    padding: 30px 0;
    font-size: 20px;
    color: #95867C;
    box-shadow: 0 -3px 10px rgb(0 0 0 / 30%);
}

footer img.logo {
    height: 150px;
}

footer table, footer tr, footer td {
    margin: 0;
    padding: 0;
    border-spacing: 0;
    border-collapse: collapse;
    height: 1px;
}

footer td {
    padding-right: 20px;
    text-align: left;
}

footer .small {
    line-height: 16px;
}

.formtext a {
    text-decoration: underline;
    color: #005B9E;
}

.box .content.auto {
    max-height: 400px !important;
}

.box .head h3 {
    border-radius: 5px;
    line-height: 24px;
}

.CMSModule_iss_home, #content aside {
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.CMSModule_iss_search input[type="search"], .CMSModule_kozadatkereso input[type="search"] {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.CMSModule_iss_search input[type="submit"], .CMSModule_kozadatkereso input[type="button"] {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.listItem .cover {
    border-radius: 5px;
}

.listItem .summary h4 {
    overflow: visible;
}

.image {
    border-radius: 5px;
    overflow: hidden;
}

.datasheet_gallery .image:before {
    margin: 0;
}

.image.gallery img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.datasheet_gallery a:has(.file) {
    flex-basis: calc(50% - 5px);
}
.gallery_group.closed .image:nth-child(1),.gallery_group.closed .image:nth-child(2),.gallery_group.closed .image:nth-child(3), .gallery_group.closed a:nth-child(1) .file,.gallery_group.closed a:nth-child(2) .file{
    display: flex !important;
}
.datasheet_gallery .file {
    display: flex !important;
    flex-wrap: nowrap;
    width: auto;
}

.datasheet_gallery .file .group {
    width: auto;
}

@media screen and (min-width: 1000px) {
    .gallery_group {
        display: flex;
        gap: 10px;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .datasheet_gallery .image {
        margin: 0;
    }
}

.fb_iframe_widget iframe {
    width: 187px !important;
}

/* RESPONSIVE */

@media screen and (max-width: 1700px) {
    .wide {
        width: 95%;
    }

    .narrow {
        width: 90%;
    }

    .slimmer {
        width: 60%;
    }
}

@media screen and (max-width: 1500px) {
    .calendar tr:first-child > th {
        font-size: 20px;
    }
}

@media screen and (max-width: 1400px) {
    .wide {
        width: 95%;
    }

    .narrow {
        width: 95%;
    }

    .slimmer {
        width: 70%;
    }
}

@media screen and (max-width: 1200px) {
    .calendar tr:first-child > th {
        font-size: 18px;
    }

    #hair .element {
        font-size: 18px;
    }

    #hair .element img {
        height: 30px;
    }

    .slimmer {
        width: 80%;
    }

    nav.fixed {
        position: static !important;
    }

    #head.fixed {
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 1100px) {
    .calendar tr:first-child > th {
        font-size: 16px;
    }

    #hair .element {
        padding: 0 10px;
    }
}

@media screen and (max-width: 1024px) {
    #hair .element {
        font-size: 16px;
    }

    #hair .element img {
        height: 26px;
    }

    .slimmer {
        width: 99%;
    }

    #content aside, #content main {
        display: block !important;
        width: auto !important;
        margin: auto !important;
    }

    #content main {
        padding: 0;
    }

    #hair {
        height: auto;
    }

    #content main {
        padding-top: 1px;
    }

    header #frameSwitcher {
        display: none;
    }
}

@media screen and (max-width: 1024px) and (min-width: 784px) {
    #head {
        padding-top: 120px;
    }

    .listItem {
        width: 48% !important;
        display: inline-block !important;
        margin: 0.5%;
        height: 220px;
    }
}

@media screen and (max-width: 800px) {
    .CMSModule_iss_currently_open .box .content.mobile_h {
        height: auto;
    }

    #head h1 {
        font-size: 48px;
    }

    footer table, footer tbody, footer tr, footer td {
        display: block;
        line-height: 16px;
        font-size: 16px;
        text-align: center;
        height: auto;
    }

    #head {
        padding-top: 120px;
    }

    #head h1 {
        font-size: 36px;
    }

    #head h2 {
        font-size: 24px;
    }

    #scroll-down {
        display: none;
    }

    .box .newsItem {
        min-width: calc(100% - 20px);
    }
}

@media screen and (max-width: 500px) {
    #head {
        padding-top: 160px;
    }

    #head nav li {
        display: block;
    }

    #logo {
        height: 150px;
    }

    .box .newsItem {
        margin: 0 0 20px 0;
        min-width: 100%;
    }
}