/*
Theme Name: Schultz Elektrotechnik RO
Theme URI:
Author: Schultz Elektrotechnik
Author URI: https://schultzeelektrotechnik.ro/
Description: Our default theme
Tags: easy, one-column, accessibility-ready
Version: 1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: schultzelektrotechnik
*/

/*Myriad Pro Regular*/
/*font-family: "myriad-pro", sans-serif;*/
/*font-weight: 400;*/
/*font-style: normal;*/

/*Myriad Pro Italic*/
/*font-family: "myriad-pro", sans-serif;*/
/*font-weight: 400;*/
/*font-style: italic;*/

/*Myriad Pro Bold*/
/*font-family: "myriad-pro", sans-serif;*/
/*font-weight: 700;*/
/*font-style: normal;*/

/*Myriad Pro Bold Italic*/
/*font-family: "myriad-pro", sans-serif;*/
/*font-weight: 700;*/
/*font-style: italic;*/

/*Myriad Pro Condensed*/
/*font-family: "myriad-pro-condensed", sans-serif;*/
/*font-weight: 400;*/
/*font-style: normal;*/

/*Myriad Pro Condensed Italic*/
/*font-family: "myriad-pro-condensed", sans-serif;*/
/*font-weight: 400;*/
/*font-style: italic;*/

/*Myriad Pro Bold Condensed*/
/*font-family: "myriad-pro-condensed", sans-serif;*/
/*font-weight: 700;*/
/*font-style: normal;*/

/*Myriad Pro Bold Condensed Italic*/
/*font-family: "myriad-pro-condensed", sans-serif;*/
/*font-weight: 700;*/
/*font-style: italic;*/

/*Myriad Pro SemiCondensed*/
/*font-family: "myriad-pro-semi-condensed", sans-serif;*/
/*font-weight: 400;*/
/*font-style: normal;*/

/*Myriad Pro SemiCondensed Italic*/
/*font-family: "myriad-pro-semi-condensed", sans-serif;*/
/*font-weight: 400;*/
/*font-style: italic;*/

/*Myriad Pro Bold SemiCondensed*/
/*font-family: "myriad-pro-semi-condensed", sans-serif;*/
/*font-weight: 700;*/
/*font-style: normal;*/

/*Myriad Pro Bold SemiCondensed Italic*/
/*font-family: "myriad-pro-semi-condensed", sans-serif;*/
/*font-weight: 700;*/
/*font-style: italic;*/

/*Myriad Pro SemiExtended*/
/*font-family: "myriad-pro-semiextended", sans-serif;*/
/*font-weight: 400;*/
/*font-style: normal;*/

/*Myriad Pro SemiExtended Italic*/
/*font-family: "myriad-pro-semiextended", sans-serif;*/
/*font-weight: 400;*/
/*font-style: italic;*/

/*Myriad Pro Bold SemiExtended*/
/*font-family: "myriad-pro-semiextended", sans-serif;*/
/*font-weight: 700;*/
/*font-style: normal;*/

/*Myriad Pro Bold SemiExtended Italic*/
/*font-family: "myriad-pro-semiextended", sans-serif;*/
/*font-weight: 700;*/
/*font-style: italic;*/

* {
    margin: 0;
    padding: 0;
}

p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

ol.wp-block-list, ul.wp-block-list {
    margin-left: 1rem;
}

::selection {
    color: #e3051e;
    background-color: #ccc;
}

::-moz-selection {
    color: #e3051e;
    background-color: #ccc;
}

body {
    font-family: "myriad-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.menu {
    display: flex;
    list-style-type: none;
}

.menu li {
    margin: 0rem 0.5rem;
    padding: 0.4rem;
    list-style: none;
}

.menu li:hover {
    background-color: #eee;
    padding: 0.4rem;
    /*box-shadow: 0rem 0rem 0.2rem;*/
}

.menu li a {
    color: #000;
    text-decoration: none;
    font-size: 1.2rem;
}

.menu li a:hover {
    color: #888;
    text-decoration: none;
}

.menu-item:hover > ul.sub-menu {
    display: block;
    position: fixed;
    z-index: 10;
    background-color: #eee;
    margin-top: 0.2em;
    padding: 0.4rem;
    margin-left: -0.4rem;
}

ul.sub-menu {
    display: none;
    /*box-shadow: 0rem 0rem 0.2rem;*/
}

.sub-menu li:hover {
    background-color: #eee;
}

.menurow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 3.2rem;
    margin-right: 3.2rem;
    margin-top: 0.5rem;
}

.menudivider {
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.menu-lang-en a, .menu-lang-ro a, .menu-lang-choose a {
    text-indent: -9999px;
    display: block;
    overflow: hidden;
    width: 20px; /* Breite Ihres Bildes */
    height: 20px; /* Höhe Ihres Bildes */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain; /* Passt das Bild innerhalb des Elements an */
}

.menu-lang-choose a {
    background-image: url('../img/language.svg');
}

.menu-lang-en a {
    background-image: url('../img/lang/gb.svg');
}

.menu-lang-ro a {
    background-image: url('../img/lang/ro.svg');
}

.languageandsearch {
    display: flex;
    align-items: center;
}

.menusearch {
    margin-right: 1rem;
}

.menusearch input, .wpcf7-text {
    height: 1.2rem;
    padding: 2px;
}

.wpcf7-textarea, .wpcf7-text {
    padding: 2px;
    width: 20rem
}

.bannercontainer {
    width: 50%;
}

.bannerouter {
    display: flex;
    justify-content: center;
}

#searchsubmit {
    vertical-align: middle;
    background: none;
    border: none;
    color: #000;
    -webkit-text-fill-color: #000;
    opacity: 1;
    visibility: visible;
    background-color: transparent;
}

.contacticon {
    width: 4rem;
    height: 4rem;
}

.contacticon:hover {
    fill: #e3051b;
}

.contactways {
    display: flex;
}

.socialMediaColumn {
    display: flex;
}

.socialMedia {
    margin-right: 2rem;
}

.contactform {
    padding-top: 3rem;
    margin-right: 2rem;
}

.redline {
    background-color: #e3051b;
    width: 100%;
    height: 1.5rem;
}

.pageheader {
    position: fixed;
    width: 100%;
    background-color: #fff;
    z-index: 10;
}

.toplogospace {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.toplogo {
    background-image: url("../img/LogoSchultzElektrotechnik.png");
    background-size: 280px 99px;
    background-repeat: no-repeat;
    width: 280px;
    height: 99px;
    margin-top: 2.2rem;
    margin-right: 4rem;
}

#redcable {
    max-height: 100px;
    padding-right: 1.5rem;
    margin-top: 1.3rem;
}

#main {
    position: relative;
    padding-bottom: 8rem;
    top: 18rem;
    padding-right: 4.2rem;
    padding-left: 4.2rem;
}

.main-background {
    background-image: url(../img/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#single {
    top: 1.4rem;
    position: relative;
    padding-bottom: 8rem;
    padding-right: 1rem;
    padding-left: 1rem;
}

.footerback {
    height: 6rem;
    background-color: #e3051b;
    bottom: 0px;
    position: absolute;
    width: 100%;
    display: flex;
    color: #fff;
    position: fixed;
}

.footer-left {
    margin-top: 1.3rem;
}

.footer-middle {
    padding-top: 1rem;
    padding-left: 1rem;
}

.footer-middle a {
    color: #fff;
    text-decoration: none;
}

.footer-right {
    padding-top: 1rem;
    padding-left: 3rem;
}

.footer-right a {
    color: #fff;
    text-decoration: none;
}

.footer-right a:hover {
    color: #000;
}

ul.menu-header-menue {
    display: flex;
}

li.menu-item {
}

.weisseskabel {
    width: 160px;
}

.mobile-menu {
    display: none;
}

.pagethumb {
    width: 100%;
    height: 300px;
    background-size: cover; /* oder „contain“ je nach gewünschtem Füllverhalten */
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 2rem;
}

.productthumb {
    width: 300px;
    height: 200px;
    background-size: contain; /* oder „contain“ je nach gewünschtem Füllverhalten */
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 2rem;
    padding: 2px;
}

.dldetail #download-pdf-icon {
    width: 4rem;
}

.dldetail, .news {
    display: flex;
}

.newsimg img {
    width: 300px;
    height: auto;
}

.news-article-thumb img {
    width: 100px;
    height: auto;
}

.dldetailtext, .newstext {
    width: 50%;
    margin-right: 2rem;
    margin-left: 2rem;
    font-size: 1.2rem;
}

a {
    text-decoration: none;
    color: #000000;
}

a:hover {
    color: #e3051b;
}

#download-pdf-icon {
    width: 2rem;
    border-radius: 0.3rem;
    padding: 0.3rem;
}

#download-pdf-icon:hover {
    background-color: #aaa;
}

.category-list {
    display: flex;
    border: 1px solid #e3051b;
    margin-bottom: 2rem;
    width: 50%;
    align-items: center;
}

.category-item, .product-category-item {
    margin: 0.5rem;
    background-color: #e3051b;
    width: 12rem;
    color: #fff;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    word-wrap: break-word;
}

.news-article-thumb {
    margin: 0.5rem;
    width: 100px;
    padding: 2px;
    text-align: center;
    text-decoration: none;
}

.news-article-excerpt {
    padding: 5px;
}

.product-category-item {
    width: 9rem;
}

.category-item:hover, .product-category-item:hover {
    background-color: #aaa;
}

.category-list a {
    text-decoration: none;
}

.downloads-list, .news-list {
    display: flex;
    margin-bottom: 1rem;
    width: 50%;
    align-items: stretch;
    flex-direction: column;
}

.download-item, .news-article {
    display: flex;
    border: 1px solid #e3051b;
    margin-bottom: 1rem;
}

.news-date {
    font-size: 0.8rem;
    padding-top: 0.5rem
}

.news-title {
    font-size: 1.2rem;
    font-weight: 600;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.download-item-title {
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
}

.download-item-description, .download-item-file {
    padding: 1rem;
}

.download-item-title a {
    text-decoration: none;
    color: #000;
}

.dldetailimg, .newsimg {
    border: 1px solid #000;
    padding: 3px;
    box-shadow: 0 0 1rem #aaa;
    height: 100%;
}

.productdetails {
    display: flex;
}

.producttext {
    margin: 0 4rem;
    width: 100%;
}

.productdl {
    align-content: end;
    text-align: center;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.8rem;
    flex-wrap: nowrap;
    border: 1px solid #000;
    padding: 0.5rem;
    padding-right: 1rem;
}

.productdl span {
    width: 100%;
    text-align: left;
    color: #fff;
    background-color: #000;
    padding: 0.3rem;
}

.productfeatures {
    max-width: 100%;
    font-size: 1.2rem;
}

.productfeatures ul {
    padding-left: 1rem;
}

.download-area {
    display: flex;
    align-items: center;
}

.productquote {
    text-align: center;
    border: 1.8px solid #333;
    width: 1.5rem;
    border-radius: 0.2rem;
    color: #e3051b;
    font-weight: 600;
}

.productquote:hover {
    background-color: #aaa;
    cursor: pointer;
}

.productcontact {
    display: none;
    margin-top: 6rem;
}

.productcontact label {
    font-size: 1rem;
}

.wpcf7-list-item {
    margin: 0;
}

.add_picture_container, .add_picture_container_save {
    display: flex;
    margin: 0.2rem;
    flex-wrap: wrap;
    justify-content: normal;
}

.add_pict_preview, .previewpict {
    margin: 0.2rem;
    border: 1px solid #000;
}

.picturecolumn {
    width: 300px;
    margin-right: 2rem;
}

.centerpict {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;

    display: none;
}

.fullsizepict {
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 1rem rgba(255, 0, 0, 0.5);
    max-width: 90%;
    max-height: 90%;
    overflow: auto;

}

.add_pict_preview_save {
    position: relative;
    margin: 0.2rem;
    border: 1px solid #000;
}

.delete_additional_picture {
    top: 0;
    position: absolute;
    color: #000;
    right: 0;
    background-color: #aaa;
    margin-top: 0;
}

.delete_additional_picture:hover {
    background-color: #e3051b;
    color: #fff;
    cursor: pointer;
}

.pictdialog {
    width: 300px;
    height: 200px;
    top: 30%;
    margin: 0 40%;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.button {
    border: 1px solid #000;
}

#delpictconfirmremove, #delpictconfirmkill, #delpictconfirmdismiss {
    width: 6rem;
    margin: 0.5rem;
}

.delpictconfirmbuttons {
    margin: 0 auto;
}

#delpictconfirmtext {
    width: 100%;
    text-align: center;
}

.wp-block-columns {
    padding-bottom: 3rem;
}

.wp-block-columns h2 {
    padding-bottom: 0.8rem;
}

/* Karussell-Container */
.carousel-container {
    width: 100%; /* Oder eine feste Breite */
    overflow: hidden; /* Versteckt alles außerhalb des Containers */
    position: relative;
}

/* Das Karussell selbst (enthält die Slides) */
.carousel {
    display: flex; /* Legt die Slides nebeneinander */
    transition: transform 0.5s ease-in-out; /* Sanfter Übergang beim Wechsel der Slides */
}

/* Einzelne Karussell-Slide */
.carousel-slide {
    min-width: 100%; /* Jede Slide nimmt die volle Breite des Containers ein */
    box-sizing: border-box; /* Stellt sicher, dass Padding und Border zur Breite gehören */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Bilder im Karussell */
.carousel-slide img {
    max-width: 100%;
    height: auto;
    display: block;
}

.stockcolor{
    width:1.5rem;
    height:1.5rem;
    border: 1px solid #000;
    margin-left: 1rem;
}
.metatools-stock{
    min-width: fit-content;
}
.stock{
    display: flex;
    padding: 0.5rem;
}
.stock:hover{
    background-color: #e3051b !important;
}
.metatools-stocknumber{

}
.metatools-article_number{
    width: 20rem;
}
.metatools-product{
    width: 50%;
    font-weight: 600;
}


@media screen and (max-width: 1024px) {
    .fullsizepict img {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .menu, .footer-left, .footer-middle, #redcable {
        display: none;
    }

    .menudivider {
        display: none;
    }

    #main {
        position: relative;
        padding-bottom: 8rem;
        top: 0rem;
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .footerback {
        flex-direction: row;
    }

    .pageheader {
        position: relative;
    }

    .toplogo {
        margin: auto;
        margin-top: 1rem;
    }

    .mobile-menu {
        display: block;
        width: 2rem;
        margin-left: 1rem;
        margin-top: 1rem;
    }

    ul.menu-header-menue {
        background-color: #aaa;
        padding: 0.5rem;
        border-radius: 1rem;
    }

    li.menu-item {
        border: #666 solid 1px;
        border-radius: 0.1rem;
    }

    .menu li a:hover {
        color: #000;
        text-decoration: none;
    }

    .menu li:hover {
        background-color: #fff;
    }

    .menu-item:hover > ul.sub-menu {
        display: block;
        position: absolute;
        z-index: 10;
        background-color: #fff;
        margin-top: 0.2em;
        padding: 0.4rem;
        margin-left: -0.4rem;
    }

    .sub-menu li:hover {
        background-color: #fff;
    }

    .category-list {
        display: block;
        border: 1px solid #e3051b;
        margin-bottom: 2rem;
        width: 100%;
        align-items: center;
    }

    .category-item, .product-category-item {
        margin: 0.5rem auto 0.5rem auto;
    }

    .category-item-description, .download-item-description {
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .downloads-list {
        display: block;
        margin-bottom: 1rem;
        width: 100%;
        align-items: center;
    }

    .download-item-title {
        margin: 0.5rem auto 0.5rem auto;
    }

    .download-item-file {
        margin: 1rem;
        background-color: #e3051B;
        text-align: center;
    }

    .download-item-file svg {
        width: 1.8rem;
        background-color: #aaa;
        padding: 0.2rem;
    }

    .dldetail, .news {
        display: block;
    }

    .dldetailimg, .dldetailpdf, .newsimg {
        display: flex;
        justify-content: center;
    }

    .dldetailtext, .newstext {
        width: 100%;
        margin: 0.5rem;
    }

    .news-list {
        width: 100%;
    }

    .newsimg img {
        width: 100%;
        height: auto;
    }

    .menurow {
        align-items: flex-start;
        justify-content: flex-end;
        margin-left: 1rem;
    }

    .menurow .searchsubmit {
        display: flex;
        margin-right: -3.1rem;
    }

    .menusearch input {
        height: 1.4rem;
        margin-top: -2.2rem;
        margin-right: 0.5rem;
    }

    .menurow #searchsubmit {
        margin-top: -1.8rem;
    }

    .wpcf7-text, .wpcf7-textarea {
        width: 100%;
    }

    input.wpcf7-form-control {
        width: 100%;
        height: 1.5rem;
    }

    .menu-header-menue-container {
        position: absolute;
        z-index: 10;
        background-color: #ccc;
        width: 100%;
    }

    ul.sub-menu, .menu li:hover {
        display: block;
        box-shadow: none;
        background-color: #fff;
    }

    #menu-language .menu-item:hover > ul.sub-menu {
        margin-left: -2.4rem;
    }

    li.menu-item {
        border: none;
    }

    .language-switcher .menu {
        display: flex;
        margin-right: -3.5rem;
    }

    .language-switcher .menu ul {
        display: none;
    }

    .languageandsearch {
        align-items: flex-end;
        flex-direction: column-reverse;
    }

    .productdetails {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .producttext {
        margin: 0;
        width: 20rem;
    }

    .productdl {
        flex-wrap: wrap;
        align-content: center;
        padding: 0.3rem;
    }

    .productdl span {
        padding: 0.1rem;
    }

    .productthumb {
        width: 100%;
        height: 200px;
    }

    .productfeatures {
        display: none;
    }

    .wp-block-columns {
        padding: 0;
        gap: 0;
    }

    .contactways {
        display: block;
    }

    .bannercontainer {
        width: 100%;
    }
}

@media screen and (min-width: 768px) {
    .menu {
        display: flex !important;
    }
}