/* Joomla 6 compatibility additions. The original visual rules remain in style.css. */
button.top_menu_open,
button.top_menu_close {
    border: 0;
    background-color: transparent;
    font: inherit;
}

button.top_menu_open {
    position: relative;
}

.top_menu .moduletable,
.content_bottom .moduletable {
    margin: 0;
}

.mod-languages a,
.mod-languages span {
    padding: 0 !important;
}

.mod-languages li {
    display: list-item !important;
    float: left;
    margin: 0 !important;
    padding: 0 2.5px !important;
}

header .webfactor_go {
    appearance: none;
    border: 0;
    font: 900 15px/40px 'OpenSans-Regular' !important;
}

@media screen and (max-width: 480px) {
    .header_lang .mod-languages li.lang-active {
        display: none !important;
    }
}

/* Joomla 6 adds a separate submenu disclosure control. The legacy menu
   revealed the same children on hover/click and had no visible extra button. */
.left_menu .mod-menu__toggle-sub {
    display: none;
}

#lightbox-overlay[hidden],
#lightbox-wrap[hidden] {
    display: none !important;
}

#lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    background: #777;
    opacity: .7;
    cursor: pointer;
}

#lightbox-wrap {
    position: absolute;
    padding: 20px;
    z-index: 1101;
    outline: none;
    box-sizing: content-box;
}

#lightbox-outer {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 15px #555;
}

#lightbox-content {
    position: relative;
    padding: 0;
    border: 10px solid #fff;
    outline: none;
    overflow: hidden;
    z-index: 1102;
    box-sizing: content-box;
}

#lightbox-img {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    line-height: 0;
    vertical-align: top;
    object-fit: contain;
}

#lightbox-close,
#lightbox-left,
#lightbox-right {
    appearance: none;
    padding: 0;
    border: 0;
    font: 0/0 sans-serif;
}

#lightbox-close {
    position: absolute;
    top: -17px;
    right: -17px;
    display: block;
    width: 34px;
    height: 34px;
    background: url(../images/lightbox/close.png) 0 0 no-repeat;
    cursor: pointer;
    z-index: 1103;
}

#lightbox-left,
#lightbox-right {
    position: absolute;
    top: 100px;
    bottom: 100px;
    display: block;
    width: 35%;
    outline: none;
    background: transparent;
    z-index: 1102;
    cursor: pointer;
}

#lightbox-left {
    left: 0;
}

#lightbox-right {
    right: 0;
}

#lightbox-left-ico,
#lightbox-right-ico {
    position: absolute;
    top: 50%;
    left: -9999px;
    display: block;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    background: url(../images/lightbox/buttons.png) 0 0 no-repeat;
    cursor: pointer;
}

#lightbox-right-ico {
    background-position: 0 -50px;
}

#lightbox-left:hover #lightbox-left-ico,
#lightbox-left:focus-visible #lightbox-left-ico {
    left: 30px;
}

#lightbox-right:hover #lightbox-right-ico,
#lightbox-right:focus-visible #lightbox-right-ico {
    left: auto;
    right: 30px;
}

#lightbox-title {
    font-size: 12px;
    z-index: 1102;
}

#lightbox-title.lightbox-title-float {
    position: absolute;
    bottom: -10px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    white-space: nowrap;
}

.moduletable.vk_widget iframe {
    border: 0;
}

.moduletable.vk_widget .social-profile-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    max-width: 300px;
    min-height: 150px;
    padding: 16px;
    box-sizing: border-box;
    color: #262626;
    text-decoration: none;
    background: #fff;
    border: 1px solid #ddd;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.moduletable.vk_widget .social-profile-card:hover,
.moduletable.vk_widget .social-profile-card:focus-visible {
    color: #262626;
    text-decoration: none;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .13);
    transform: translateY(-1px);
}

.moduletable.vk_widget .social-profile-card--facebook:hover,
.moduletable.vk_widget .social-profile-card--facebook:focus-visible {
    border-color: #1877f2;
}

.moduletable.vk_widget .social-profile-card--instagram:hover,
.moduletable.vk_widget .social-profile-card--instagram:focus-visible {
    border-color: #c13584;
}

.social-profile-card__icon {
    position: relative;
    display: block;
    width: 52px;
    height: 52px;
}

.social-profile-card__icon--facebook {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 64px;
    text-align: center;
    background: #1877f2;
    border-radius: 50%;
    overflow: hidden;
}

.social-profile-card__icon--instagram {
    border-radius: 14px;
    background: radial-gradient(circle at 32% 100%, #feda75 0 18%, #fa7e1e 32%, #d62976 56%, #962fbf 76%, #4f5bd5 100%);
}

.social-profile-card__icon--instagram::before {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    content: '';
    border: 3px solid #fff;
    border-radius: 8px;
}

.social-profile-card__icon--instagram::after {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 8px;
    height: 8px;
    content: '';
    border: 3px solid #fff;
    border-radius: 50%;
}

.social-profile-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.25;
}

.social-profile-card__content strong {
    font-size: 17px;
}

.social-profile-card__content > span {
    margin-top: 2px;
    color: #555;
    font-size: 14px;
}

.social-profile-card__content small {
    margin-top: 8px;
    color: #777;
    font-size: 12px;
}

.social-profile-card__action {
    grid-column: 1 / -1;
    display: block;
    padding: 8px 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(90deg, #d62976, #962fbf);
    border-radius: 3px;
}

.social-profile-card--facebook .social-profile-card__action {
    background: #1877f2;
}

.about_content .blog > .category-desc,
.about_content .blog .blog-item .extravote {
    display: none;
}

.about_content .blog .blog-item {
    padding: 8px 10px 10px;
    border-bottom: 1px solid #ebebeb;
}

.about_content .blog .blog-item:first-child {
    border-top: 1px solid #ebebeb;
}

.about_content .blog .blog-item:hover {
    background: #fafafa;
}

.about_content .blog .blog-item h2 {
    margin-bottom: 10px;
    color: #000;
    font-family: 'PFBeauSansPro-Bold_0';
    font-size: 22px;
    text-align: left;
    text-indent: 0;
}

.about_content .blog .blog-item h2 a {
    color: #000;
    font-family: 'PFBeauSansPro-Bold_0';
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .5s ease;
}

.about_content .blog .blog-item h2 a:hover {
    color: #f00;
}

.about_content .blog .blog-item p {
    margin-bottom: 10px;
    font-size: 14px;
}

.about_content .blog .blog-item .readmore {
    text-align: right;
}

.about_content .blog .blog-item .readmore a {
    padding: 6px 10px;
    border: 2px solid #333;
    border-radius: 6px;
    background: #e9e449;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: background-color .5s ease;
}

@media screen and (max-width: 767px) {
    .about_content .blog .blog-item h2 a {
        text-transform: none;
    }
}

@media screen and (max-width: 479px) {
    .about_content .blog .blog-item {
        margin-bottom: 10px;
    }

    .about_content .blog .blog-item h2 {
        line-height: 22px;
    }

    .about_content .blog .blog-item h2 a {
        line-height: 16px;
    }
}

.about_content .blog .blog-item .readmore a:hover {
    background: #fff;
}

.home_content .com-content-article,
.home_content .com-content-category-blog,
.home_content .com-tags-tag {
    width: 100%;
}

/* Joomla 6 replaced the articleBody microdata wrapper used by the legacy CSS. */
.home_content .com-content-article__body figure {
    width: 100%;
    float: left;
    padding: 0 0 20px;
}

.home_content .com-content-article__body figure.figure_img_right {
    width: 280px;
    float: right;
    padding: 0 0 0 10px;
}

.home_content .com-content-article__body figure.figure_img_left {
    width: 280px;
    float: left;
    padding: 0 10px 0 0;
}

.home_content .page-header h1,
.home_content .page-header h2 {
    overflow-wrap: anywhere;
}

/* Joomla 3 leaves an extra 11px before article text when both the category
   heading and article heading are visible. Preserve that legacy geometry. */
.home_content .item-page .page-header + .page-header + .com-content-article__body {
    padding-top: 11px;
}

.home_content img {
    height: auto;
}

/* Joomla 6 replaces the legacy email-cloaking span with a custom element.
   Give it the same font metrics as the old span so contact lines retain
   their original height and appearance. */
.kontakt_left p joomla-hidden-mail,
.kontakt_left p joomla-hidden-mail a {
    font-family: 'PFBeauSansPro-Bold_0';
    font-style: initial;
}

.pagination__wrapper,
.pagination {
    clear: both;
}

.extravote {
    margin: 0 0 10px;
}

.extravote-stars,
.extravote-info {
    display: inline-block;
    height: 25px;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 25px;
    position: relative;
    vertical-align: middle;
}

.extravote-stars {
    width: 125px;
    overflow: hidden;
    background: transparent url(../images/star.png) repeat-x left top;
}

.extravote-stars .current-rating {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    overflow: hidden;
    background: transparent url(../images/star.png) repeat-x left center;
    pointer-events: none;
    z-index: 1;
}

.extravote-star-button {
    appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    outline: 0;
    background: transparent;
    color: transparent;
    cursor: pointer;
    font: 0/0 sans-serif;
    text-indent: -9999px;
}

.extravote-star-button:hover,
.extravote-star-button:focus-visible {
    background: transparent url(../images/star.png) repeat-x left bottom;
}

.extravote-star-1 { width: 20%; z-index: 6; }
.extravote-star-2 { width: 40%; z-index: 5; }
.extravote-star-3 { width: 60%; z-index: 4; }
.extravote-star-4 { width: 80%; z-index: 3; }
.extravote-star-5 { width: 100%; z-index: 2; }

.extravote-info {
    font-size: .78em;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media screen and (max-width: 767px) {
    .home_content .com-content-article__body figure,
    .home_content .com-content-article__body figure.figure_img_right,
    .home_content .com-content-article__body figure.figure_img_left {
        width: 100%;
        float: none;
        padding: 0 0 10px;
        text-align: center;
    }
}

/* Native Joomla replacement for the legacy JoomShopping portfolio. */
.row-fluid {
    width: 100%;
}

.row-fluid::before,
.row-fluid::after {
    display: table;
    content: "";
    line-height: 0;
}

.row-fluid::after {
    clear: both;
}

.row-fluid [class*="sblock"] {
    display: block;
    width: 100%;
    min-height: 28px;
    box-sizing: border-box;
    float: left;
    padding-left: 10px;
}

.row-fluid [class*="sblock"]:first-child {
    padding-left: 0;
}

.row-fluid .sblock2 {
    width: 50%;
}

.jshop_list_product .block_product {
    margin-bottom: 30px;
}

.jshop_list_product .product .image {
    text-align: center;
}

.jshop_list_product .product .name {
    text-align: center;
    display: table-cell;
    font-size: 18px;
    height: 75px;
    margin-bottom: 5px;
}

.jshop_list_product .product .description {
    padding-bottom: 5px;
    font-size: 12px;
    text-align: justify;
}

.jshop_list_product .product .buttons {
    text-align: center;
}

.jshop_list_product .product .buttons a {
    margin-top: 5px;
}

.jshop_list_product .image_block {
    display: block;
    overflow: hidden;
    width: 100%;
    height: 255px;
}

.jshop_list_product .jshop_img {
    max-width: 100%;
}

.jshop_pagination {
    clear: both;
    text-align: center;
}

.productfull .jshop_img_wrap {
    width: 340px;
    float: left;
}

.productfull .image_middle {
    width: 340px;
    float: left;
}

.productfull .jshop_img_description {
    width: 100%;
    overflow: hidden;
}

.jshop_img_description #list_product_image_thumb {
    display: block;
    width: 340px;
}

.elektrik-gallery-main[hidden] {
    display: none;
}

.elektrik-gallery-main > img {
    display: block;
    max-width: 100%;
}

.productfull .text_zoom {
    display: none;
}

.elektrik-gallery-thumb {
    appearance: none;
    display: inline-block;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 0;
    vertical-align: top;
    height: 95px;
}

.jshop_img_thumb {
    box-sizing: content-box;
    padding: 1px;
    width: 77.19px;
    height: 81.17px;
    object-fit: cover;
    text-align: center;
    border: 1px solid #ccc;
    margin: 0 .1% 5px;
    cursor: pointer;
}

.home_content img.jshop_img_thumb {
    height: 81.17px;
}

.jshop_img_thumb:hover {
    opacity: .6;
}

div.jshop_prod_description {
    padding-bottom: 10px;
    float: right;
    width: 330px;
}

div.jshop_prod_description p {
    font-size: 16px;
    text-align: left;
}

@media (max-width: 767px) {
    .row-fluid [class*="sblock"] {
        width: 100%;
        padding-left: 0;
    }

    .jshop_list_product .block_product {
        border: 1px solid #ccc;
        padding: 5px;
        border-radius: 4px;
    }
}
