@import '/templates_components/css/products.css';

/* general styles */
.fixed-top
{
    position: fixed;
    width: 100%;
    z-index: 1055;
}

.background-cover
{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-contain
{
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.overflow-ellipsis
{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul {
    list-style-position: inside;
}

h1
{
    font-size: 2.250em;
}

h2
{
    font-size: 1.875em;
}

h3
{
    font-size: 1.25em;
}

h4
{
    font-size: 1.125em;
}

header
{
    height: 80px;
}

img
{
    max-width: 100%;
}

img[src*=kein_bild]
{
    display: none;
}

*[style*=kein_bild]
{
    background-image: none !important;
}

iframe
{
    border: none;
    width: 1px;
    min-width: 100%;
    height: 100%;
}

iframe.loading
{
    background-image: url('/templates_components/img/loading.gif');
    background-position: center 30%;
    background-repeat: no-repeat;
}

.fas,
.fab
{
    font-weight: 900;
    color: inherit;
}

span.contact_number
{
    display: inline-block;
}

a:hover,
a:focus
{
    text-decoration: none;
}

body.nav-open
{
    overflow: hidden;
}

div[data-target]
{
    cursor: pointer;
}

.content_img[src*='kein_bild']
{
    display: none;
}

.modal-dialog
{
    min-width: 60vw;
    height: 60vh;
    top: 85px;
}

.modal-content,
.modal-body
{
    width: 100%;
    height: 100%;
}

.modal-body
{
    /* height 100% - (height modal-header and height modal-footer) */
    height: calc(100% - 125px);
}

.modal-header button.close,
.modal-body button.close
{
    position: absolute;
    top: 12px;
    right: 15px;
    z-index: 5;
}

.modal-header h2,
.modal-header h3,
.modal-header h4
{
    display: inline-block;
    margin: 2px 0;
    width: calc(100% - 25px);
}

*[onclick]
{
    cursor: pointer;
}

@media(max-width: 768px)
{
    header
    {
        height: 60px;
    }

    .modal-dialog
    {
        top: 70px;
        height: unset;
        max-height: calc(100vh - 90px);
    }

    .iframe_container
    {
        -webkit-overflow-scrolling: touch;
        overflow-y: auto;
    }
}

@media(max-width: 525px)
{
    .content_img
    {
        float: left !important;
        width: 100% !important;
        margin: 0 !important;
    }
}

#lang_switch_row
{
    position: absolute;
    top: 100px;
    right: 35px;
    z-index: 500;
}

#lang_switch_wrapper
{
    text-align: right;
}

.lang_switch
{
    width: 20px;
    height: 15px;
    position: relative;
    margin: 0 2px;
    background-size: cover;
    background-position: center;
    display: inline-block;
    box-shadow: 0 0 2px #4a4a4a;
}

.lang_switch:before
{
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: grey;
    opacity: .5;
    transition: opacity .5s;
}

.lang_switch img
{
    width: 100%;
    height: 100%;
}

#lang_switch_de.de:before,
#lang_switch_en.en:before
{
    opacity: 0;
    cursor: default;
}

#manufacturers_footnote
{
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
}

#manufacturers_footnote img
{
    margin: 0 10px;
}

#contact_navi ul li
{
    margin-bottom: 4px;
}


/* burger-menu */

.burger_bg
{
    width: 100%;
}

.burger-menu {
    position: fixed;
    right: 8px;
    top: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 101;

    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}

.burger {
    position: absolute;
    background: rgba(82,130,45,1);
    width: 100%;
    height: 5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.burger::before,
.burger::after
{
    position: absolute;
    background: rgba(82,130,45,1);
    width: 100%;
    height: 5px;
    left: 0;
    content: "";
    display: block;
}
.burger::before {
    top: 10px;
}
.burger::after {
    bottom: 10px;
    width: 100%;
}
.burger::after, .burger::before, .burger {
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}
.burger-menu.menu-on .burger::after{
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    bottom: 0px;
    width: 100%;
}
.burger-menu.menu-on .burger::before{
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    top: 0px;
}
.burger-menu.menu-on .burger{
    background: rgba(82,130,45,0);
}


/* contact page */

#facility_details_wrapper
{
    margin-bottom: 25px;
}

.facility_contact_title
{
    display: inline-block;
    min-width: 135px;
    vertical-align: top;
}

.facility_contact_value
{
    display: inline-block;
    padding-left: 10px;
}

#facility_images
{
    margin-bottom: 20px;
}

#facility_images #facility_carousel
{
    height: 40vh;
}

#facility_images #facility_carousel .carousel-inner
{
    text-align: center;
}

#facility_images a[href*='/kein_bild.gif'],
#facility_images div.item[style*='/kein_bild.gif']
{
    display: none !important;
}

.contact_division_link
{
    position: absolute;
    margin-top: -120px;
}

.contact_division_line
{
    display: none;
}

.contact_division_line hr
{
    margin: 25px 0;
    border: none;
    height: 2px;
    color: #cacaca; /* old IE */
    background-color: #cacaca; /* Modern Browsers */
}

.contact_wrapper + .contact_division_line
{
    display: block;
}

.contact_wrapper h3 span
{
    position: relative;
}

.contact_info_icon
{
    position: absolute;
    left: calc(100% + 5px);
    cursor: pointer;
}

.contact_info
{
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    transform: translateY(-50%);
    max-height: 100%;
    padding: 20px 15px;
    overflow: hidden;
    overflow-y: auto;
    color: #444;
    background-color: rgba(255,255,255,.5);
    font-weight: 500;
    text-align: left;
}

.contact_image
{
    padding-bottom: 120%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 15px;
    position: relative;
}

.contact_image[style*="/kein_bild.gif"]
{
    background-image: url("/templates_components/img/contact_placeholder.png") !important;
}

.contact_wrapper
{
    text-align: center;
}

.contact_details
{
    padding-left: 0;
}

.contact_details li
{
    width: 100%;
}

.contact_details li strong
{
    display: inline-block;
}


/* frame content */

.frameinhalt header,
.frameinhalt footer,
.frameinhalt .news_title,
.frameinhalt #manufacturers_footnote,
.frameinhalt #shortcontact_wrapper
{
    display: none;
}

body.frameinhalt
{
    background-image: none;
    background-color: #fff;
}

.frameinhalt main
{
    margin-top: 0;
}

.frameinhalt .news_image
{
    max-height: 80vh;
}

/* plugin-groups */
.plugin_group .plugin
{
    display: none;
}

.plugin_group .plugin.default
{
    display: block;
}


/* slider */

.carousel
{
    min-height: 40%;
}

.carousel-inner,
.item
{
    width: 100%;
    height: 100%;
}

.carousel.empty,
.carousel.empty .carousel-control
{
    display: none;
}


/* agrarnews */

.anews_plugin,
.anews_wrapper
{
    text-align: left;
}

.anews_wrapper h3
{
    margin-top: 0px;
    margin-bottom: 15px;
    font-size: 20px;
}

.news_date
{
    font-weight: bold;
}

.news_date_modal
{
    min-width: 15%;
}


/* top3_plugin */

.top3_carousel,
.topmasch_carousel
{
    width: 80%;
    margin: 0 auto;
}

.top3_carousel .item,
.topmasch_carousel .item
{
    width: 100%;
    padding-bottom: 75%;
}

.top3_carousel .item_inner,
#top3_carousel_home .item_inner,
.topmasch_carousel .item_inner,
.topmasch_home_carousel .item_inner
{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.top3_carousel .item_inner img,
#top3_carousel_home .item_inner img,
.topmasch_carousel .item_inner img,
.topmasch_home_carousel .item_inner img
{
    opacity: 0;
    max-width: 100%;
    max-height: 100%;
}

.top3_carousel .carousel-control,
#top3_carousel_home .carousel-control,
.topmasch_carousel .carousel-control,
.topmasch_home_carousel .carousel-control
{
    bottom: unset;
    height: calc(100% - 80px);
}

.top3_carousel .carousel-caption,
#top3_carousel_home .carousel-caption,
.topmasch_carousel .carousel-caption,
.topmasch_home_carousel .carousel-caption
{
    background-color: rgba(0,0,0,.6);
    padding: 15px 20px 10px 20px;
    height: 80px;
}

.top3_carousel .carousel-caption h3,
#top3_carousel_home .carousel-caption h3,
.topmasch_carousel .carousel-caption h3,
.topmasch_home_carousel .carousel-caption h3
{
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 2px;
}

.btn_topmasch_container
{
    height: 100%;
    min-height: 50px;
}

.btn_topmasch
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#top_machine_invalid
{
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,.7);
    border-bottom: 1px solid #fff;
    z-index: 500;
    padding: 2px 10px;
    font-weight: 500;
}

#top3_modal .modal-dialog
{
    width: 95vw;
    height: calc(90vh - 40px);
    padding-right: 0 !important;
}

@media(max-width:767px)
{
    .top3_carousel .carousel-caption,
    #top3_carousel_home .carousel-caption,
    .topmasch_carousel .carousel-caption,
    .topmasch_home_carousel .carousel-caption
    {
        padding: 10px 15px 5px 15px;
        height: 80px;
    }

    .top3_carousel .carousel-caption h3,
    #top3_carousel_home .carousel-caption h3,
    .topmasch_carousel .carousel-caption h3,
    .topmasch_home_carousel .carousel-caption h3
    {
        padding-bottom: 0;
    }

    .top3_carousel .carousel-caption span,
    #top3_carousel_home .carousel-caption span,
    .topmasch_carousel .carousel-caption span,
    .topmasch_home_carousel .carousel-caption span
    {
        display: none;
    }

    .btn_topmasch_container
    {
        height: auto;
        min-height: auto;
        text-align: center;
    }

    .btn_topmasch
    {
        position: static;
        transform: none;
        margin-top: 5px;
    }
}

/* news_list */

.news_item
{
    border-top: 1px solid #000;
    padding-top: 10px;
    margin-bottom: 40px;
}

.news_text
{
    padding-left: 2%;
}

.news_text_wrapper
{
    padding-bottom: 30px;
    height: 100%;
}

.news_text_wrapper h2
{
    margin-top: 0;
}

.news_link_wrapper
{
    text-align: center;
    padding-top: 10px;
}

.news_link
{
    margin-top: 20px;
    width: 100%;
}

.news_image_wrapper
{
    text-align: center;
}

.news_image
{
    max-width: 100%;
    max-height: 25vh;
}

.news_button_wrapper
{
    text-align: center;
}


/* Pixlie-Galerie */

.ll_Galerie .box
{
    margin-left: -15px;
    margin-right: -15px;
}

#pixlie-container-gesamt
{
    padding: 20px !important;
    background-color: #fff;
    width: 100% !important;
    position: relative;
    min-height: 65vh;
}

#pixlie-container-gesamt a
{
    font-weight: bold;
}

#pixlie-container-gesamt h2
{
    font-size: 24px !important;
    margin-top: 15px;
}

#pixlie-container-main-liste
{
    width: 100% !important;
}

#pixlie-inhalt-liste
{
    border-color: #000 !important;
    width: calc(100% - 210px) !important;
    min-height: 400px;
    position: relative;
}

#pixlie-inhalt-liste h1,
#pixlie-inhalt-liste h2
{
    display: none !important;
}

#pixlie-inhalt-vorschau
{
    position: relative;
}

#pixlie-seitenleiste
{
    width: 210px !important;
}

#pixlie-seitenleiste h2
{
    padding: 14px 15px 10px 10px !important;
    margin-top: 0 !important;
}

#pixlie-seitenleiste p
{
    font-size: 14px !important;
    margin: 0 10px !important;
}

.pixlie-pfad
{
    font-size: 28px !important;
    max-width: calc(100% - 275px);
    padding: 5px 10px !important;
}

.pixlie-pfad a
{
    font-weight: normal !important;
    font-size: 28px !important;
}

.pixlie-bilderliste li img
{
    padding: 0 !important;
    box-shadow: 0 0 10px #000;
    margin-bottom: 5px;
}

.pixlie-seitenzahlen
{
    width: 275px;
    position: absolute;
    top: 0;
    right: 0;
    text-align: right !important;
    padding: 20px 15px 10px 0 !important;
}

.pixlie-seiteninfo
{
    position: absolute;
    bottom: 20px;
    right: 15px;
}

#pixlie-copyright
{
    height: 0 !important;
    padding: 0 !important;
}

@media(max-width: 767px)
{
    #pixlie-container-gesamt
    {
        padding: 20px !important;
    }

    #pixlie-inhalt-liste
    {
        float: none !important;
        width: 100% !important;
        border-right: none !important;
    }

    .pixlie-pfad
    {
        max-width: 100%;
    }

    .pixlie-pfad a
    {
        display: inline-block;
        height: 36px;
        max-width: 100%;
        margin-bottom: -3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #pixlie-seitenleiste
    {
        float: none !important;
        width: 100% !important;
        padding-left: 0 !important;
        border-top: 1px solid #000;
    }

    .pixlie-seitenzahlen
    {
        position: static;
        text-align: center !important;
        padding-top: 0 !important;
        padding-right: 0 !important;
        width: 100%;
    }

    .pixlie-seiteninfo
    {
        width: 100%;
        text-align: center;
        right: unset;
        bottom: 30px;
    }

    #pixlie-vorschaubild
    {
        max-width: 100%;
        box-sizing: border-box;
    }

    #pixlie-bildhalter
    {
        margin-bottom: 20px;
        border: 5px solid #fff !important;
    }
}

/* external product catalog / external page */

#external_modal .modal-dialog
{
    width: 90vw;
    height: calc(100vh - 140px);
}

#external_modal .modal-body
{
    height: calc(100% - 50px);
}

.responsive_iframe_wrapper
{
    display: inline-block;
    width: 100% !important;
    height: auto !important;
}

.responsive_iframe_inner
{
    display: block;
    width: 100%;
    position: relative;
}

.responsive_iframe
{
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    top: 0;
    left: 0;
}


/* resize boxes */
.resize_container,
.resize_height_container
{
    overflow: hidden;
    position: relative;
}

/* lang_switch */
#lang_switch
{
    float: right;
    position: absolute;
    right: 0;
    padding-top: 15px;
    padding-bottom: 15px;
}

#lang_switch span.flag-icon
{
    width: 2.2rem;
    height: 1.76rem;
    box-shadow: 0 0 2px #000;
    background-size: cover;
}

#lang_switch ul
{
    min-width: unset;
    background-color: rgba(0,0,0,.4);
    border: 0;
    border-radius: 0;
    left: 50%;
    transform: translateX(-50%);
}

#lang_switch ul li a
{
    padding: 8px 10px;
}

#lang_switch ul li a:hover
{
    background-color: rgba(0,0,0,.2) !important;
}

#lang_switch ul li a:hover span
{
    box-shadow: 0 0 2px grey;
}

@media(max-width: 767px)
{
    #lang_switch
    {
        top: 0;
        right: 12px;
    }
}

/* chat/direct contact */

#shortcontact_button
{
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 15px;
    right: 15px;
    border-radius: 50%;
    background-color: #393e46;
    border: 3px solid #fff;
    box-shadow: 0 0 10px #4a4a4a;
    cursor: pointer;
    color: #fff;
    text-align: center;
    transition: all .2s;
    z-index: 45;
}

#shortcontact_button i
{
    display: block;
    color: #dedede;
    position: absolute;
    top: 7px;
    right: 7px;
    bottom: 7px;
    left: 7px;
    border-radius: 50%;
    font-size: 30px;
    overflow: hidden;
}

#shortcontact_button:after
{
    content: '\f095';
    position: absolute;
    top: -5%;
    right: -5%;
    width: 35%;
    height: 35%;
    border-radius: 50%;
    font-weight: 900;
    font-family: 'Font Awesome 5 Free';
    transform: rotate(90deg);
    font-size: 7.5px;
    line-height: 200%;
}

#shortcontact_window
{
    display: none;
    position: fixed;
    right: 15px;
    width: calc(100% - 30px);
    bottom: 80px;
    background-color: #fff;
    box-shadow: 0 0 10px #000;
    overflow: hidden;
    z-index: 50;
}

#shortcontact_title
{
    background-color: #393e46;
    color: #fff;
    margin: 0;
    padding: 10px;
    position: relative;
}

#shortcontact_close
{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: color .2s;
}

#shortcontact_nav
{
    font-size: 0;
}

#shortcontact_nav li
{
    width: 50%;
    font-size: 1.6rem;
    text-align: center;
}

#shortcontact_nav li a
{
    margin: 0;
    border-radius: 0;
    border: 0;
    font-weight: 500;
}

#shortcontact_content
{
    height: calc(100% - 84px);
}

#shortcontact_content .tab-pane
{
    padding: 15px;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

#shortcontact_form label
{
    margin-top: 10px;
    margin-bottom: 0;
}

#shortcontact_form_submit
{
    font-weight: 500;
    margin-top: 10px;
}

#shortcontact_text a
{
    font-weight: 500;
}

.shortcontact_response_icon
{
    text-align: center;
    margin-bottom: 15px;
}

.shortcontact_response_icon i
{
    font-size: 10em;
}

@media(max-width: 767px)
{
    body.shortcontact_open
    {
        overflow: hidden;
        height: 100vh;
    }

    #shortcontact_window
    {
        bottom: 15px;
        height: calc(100vh - 100px);
    }

    #shortcontact_form
    {
        height: 100%;
        overflow-y: auto;
    }

    #shortcontact_content
    {
        height: auto;
        min-height: 100%;
    }

    #shortcontact_form_submit
    {
        position: relative;
        bottom: 0;
        left: 0;
    }
}

@media(min-width: 768px)
{
    #shortcontact_button
    {
        width: 70px;
        height: 70px;
        bottom: 30px;
        right: 30px;
    }

    #shortcontact_button i
    {
        font-size: 50px;
    }

    #shortcontact_button:after
    {
        font-size: 11px;
    }
}

@media(min-width: 1100px)
{
    #shortcontact_button
    {
        width: 100px;
        height: 100px;
        bottom: 30px;
        right: 40px;
    }

    #shortcontact_button i
    {
        font-size: 80px;
    }

    #shortcontact_button:after
    {
        height: 30px;
        width: 30px;
        font-size: 15px;
    }

    #shortcontact_window
    {
        position: fixed;
        right: 40px;
        width: 360px;
        height: 425px;
        bottom: 160px;
        background-color: #fff;
        box-shadow: 0 0 10px #000;
    }
}

/* auto scroll styles */
.auto_scroll
{
    overflow-y: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
}

.auto_scroll_control + .auto_scroll
{
    margin-top: 0;
    margin-bottom: 0;
}

.auto_scroll_control
{
    opacity: 0;
    width: 100%;
    height: 20px;
    line-height: 20px;
    font-size: 20px;
    transition: opacity .5s;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #bbbbbb;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.auto_scroll_control i
{
    color: #bbbbbb;
}

.auto_scroll_control:before,
.auto_scroll_control:after
{
    content: '';
    width: calc(50% - 15px);
    height: 2px;
    background-color: #bbbbbb;
    position: absolute;
    top: calc(50% - 1px);
}

.auto_scroll_control:before
{
    left: 0;
}

.auto_scroll_control:after
{
    right: 0;
}

.auto_scroll + .auto_scroll_control
{
    margin-top: 5px;
    margin-bottom: 15px;
}

.auto_scroll.scroll_active + .auto_scroll_control
{
    opacity: 1;
}

/* popup modal */

#popup_modal .modal-header
{
    text-align: center;
    overflow: auto;
    line-height: 32px;
    padding: 10px 30px;
}

#popup_modal .modal-header img
{
    max-height: 35px;
}

#popup_modal .modal-body
{
    height: calc(100% - 57px);
    overflow: auto;
    padding: 0 15px;
}