
@media (max-width: 1024px) {

    .wk_div_zeile
    {
        width: 100%;
	}
    .ids_extra_footer_frame
    {
		width: 99%;
	}
   
    .ergtabzelle1_liste
    {
    width: 45%;
    }

    .ergtabzelle2_liste
    {
    
    width: 95px;
    margin-top: 5px;
    margin-right: 15px;
    }

}



@media (max-width: 980px) {
    
    #header_logo {
        float: none !important;
    }

    #iddiv_header_kontakt {
        float: none !important;
    }

    #header_logo_img {
        max-width: 100%;
    }

    #header_logo_img img {
        max-width: 100% !important;
    }

    .header_block {
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
        width: 100%;
        min-width: unset;
        max-width: unset;
    }

    #iddib_header_links_left, #iddib_header_links_right {
        float: none;
    }

    #iddiv_header_feedback, #iddiv_header_modulname {
        display: none;
    }

    .clsspan_header_lable {
        display: none;
    }

    #header_menu {
        width: 100%;
        float: none !important;
        margin-top: 20px;
    }

    #iddiv_header_buttons {
        float: none !important;
        margin-top: 0px;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    #iddiv_header_line_out {
        min-height: 25px;
        height: auto;
    }

    #iddiv_header_motorrad, #iddiv_header_kpl, #iddiv_header_reifen, #header_warenkorb, #iddiv_header_account {
        float: none !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    #header_navigation {
        display: none !important;
    }

    .header_menu {
        min-height: 30px;
        margin-bottom: 10px;
    }

    .clear {
        flex-basis: 100%;
    }

    #divsuchecontainer {
        flex-wrap: wrap;
        padding-left: 10px;
    }

    #iddiv_mccontainer, .clsbreitequerschnittzollresponsive {
        flex-basis: 280px;
        flex-grow: 1;
        height: auto;
        margin-left: 0;
    }

    #such_container {
        width: 100%;
    }

    #iddiv_mc_input, #iddiv_hersteller_input, #iddiv_kombi_input {
        width: calc(100% - 20px);
        float: none;
        margin-left: 10px;
        margin-right: 10px;
    }

    #idmcsuche, #idmcsuche_hersteller, #idmcsuche_kombi {
        width: 100%;
        box-sizing: border-box;
        height: 30px;
        font-size: 16px;
    }

    .clsdiv_searchbutton {
        width: 100%;
    }

    #btn_suche_mc {
        margin-top: 10px;
        margin-bottom: 10px;
        width: calc(100% - 20px);
    }

    #btn_suche {
        width: calc(100% - 10px);
    }

    .clsspan_pdsuche_label {
        display: block;
        line-height: 25px;
    }

    #iddiv_detailsuche_breite, #iddiv_detailsuche_querschnitt, #iddiv_detailsuche_zoll, #iddiv_detailsuche_her {
        width: 100% !important;
        float: none !important;
        margin-left: 10px !important;
        margin-right: 10px;
    }

    #pdartsuchebreite, #pdartsuchequerschnitt, #pdartsuchezollgroesse, #pdartsuchehersteller {
        margin-left: 0px !important;
        width: 100% !important;
        height: 30px;
        box-sizing: border-box;
        font-size: 16px;
    }

    #iddiv_bqzsuche_button {
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
        width: 100%;
    }

    #iddiv_suche_saisonschalter, #iddiv_suche_preischalter {
        margin-bottom: 10px;
        flex-basis: calc(50% - 10px);
        margin-left: 0;
        margin-right: 10px;
    }

    #iddiv_mitte {
        width: 100% !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
        box-sizing: border-box !important;
        margin-top: 10px !important;
    }

    .clssel_sortierung {
        width: 100%;
        height: 35px;
        margin-right: 0 !important;
        font-size: 16px;
    }

    .divergebnistabelle_navi {
        margin-bottom: 10px;
        float: left;
        font-size: 0.99rem;
    }

    .clsdivimg {
        margin-left: 0px;
    }

    .ergtabzelle1_liste {
        width: calc(100% - 70px) !important;
        max-width: 360px;
    }

    .clsimgreifenvorschau_liste {
        width: 100%;
    }

    .artikelbestellen {
        vertical-align: middle;
    }

    .inputbestellmenge {
        vertical-align: middle;
        font-size: 16px;
    }

    .ergtabzelle3_liste {
        margin-right: 0 !important;
        min-width: 110px;
        width: auto;
    }

    .artikelbestellenalle, #artinangueb, #artikeltabelledrucken, #artikelinwarekorb {
        margin: 5px 0;
        width: 100%;
        height: 40px;
    }

    .ids_inner_footer_frame {
        padding: 10px;
    }

    .footer_copyright {
        margin-right: 10px !important;
    }

    .clsfooter_ueberschrift {
        font-size: 1.5rem;
    }

    a.footer_navigation_text, .footer_navigation_text {
        font-size: 0.9rem;
    }

    .footer_haftung_text {
        font-size: 0.8rem;
    }

    .lifilteroption span, .clsdivlabelfiltertexte {
        font-size: 1rem;
    }

    .filterboxheadertext {
        font-size: 1.1rem;
        display: inline-block;
        float: none;
        vertical-align: middle;
    }

    .filterboxheader {
        min-height: 20px;
        height: auto;
    }

    .filtericon {
        vertical-align: middle;
    }

    .filterboxicon {
        display: inline-block;
        float: none;
        vertical-align: middle;
    }

    #modalfensterdialog #table {
        padding-left: 0;
    }

    #modalfensterdialog br {
        display: none;
    }

    #idtable_register_table {
        margin-left: 10px;
        margin-right: 10px;
        width: calc(100% - 20px);
    }

    .clsspan_register_text {
        width: 100%;
    }

    #idtable_register_form, #idtable_register_form tbody, #idtable_register_form tr, #idtable_register_form td {
        display: block;
        width: 100%;
    }

    #idtable_register_form {
        width: 100%;
    }

    #idtable_register_form select, #idtable_register_form input[type='text'], #idtable_register_form input[type='password'] {
        width: calc(100% - 15px);
        box-sizing: border-box;
        height: 30px;
        font-size: 16px;
    }

    #idtable_register_form button {
        width: 100%;
        box-sizing: border-box;
        height: 35px;
        margin-bottom: 5px;
    }

    #iddiv_passwortvergessen {
        width: calc(100% - 20px);
    }

    .clsdiv_pwdvergessen_row {
        flex-wrap: wrap;
    }

    .clsdiv_pwdvergessen_label, .clsdiv_pwdvergessen_input {
        flex-basis: 100%;
    }

    .clsdiv_pwdvergessen_input input {
        width: 100%;
        height: 35px;
        font-size: 16px;
    }

    button[name='passwort_go'] {
        width: 100%;
        height: 30px;
    }

    #iddiv_scart {
        width: 100%;
    }

    #div_scart_header {
        display: flex;
        flex-wrap: wrap;
        background-color: #eeeeee;
        padding: 10px;
        box-sizing: border-box;
        border-radius: 4px;
        padding-left: 0px;
        padding-top: 0px;
    }

    .header_links, .header_mitte, .header_rechts {
        min-width: 250px;
        flex-grow: 1;
        background: #dedede;
        padding: 10px;
        box-sizing: border-box;
        border-radius: 4px;
        /* margin-bottom: 10px; */
        justify-content: space-between;
        margin-left: 10px;
        margin-top: 10px;
    }

    .header_links {
        /* margin-bottom: 0; */
        order: 2;
    }

    .header_mitte {
        /* margin-bottom: 0; */
        order: 3;
    }

    .header_rechts {
        /* margin-bottom: 0; */
        order: 1;
    }

    .header_rechts .zurueckbutton {
        width: 100% !important;
    }

    .header_rechts div {
        float: none !important;
        width: 100%;
    }

    .search_startseite, .scart_ladresse, .scart_wkloeschen {
        margin: 0;
        width: 100% !important;
    }

    .kommission_inp_style {
        width: calc(100% - 85px);
    }

    .clsdiv_wk_zeile_preiscontainer {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .pos_anzahl {
        font-size: 16px;
    }

    .wk_zeile_loeschen {
        min-width: unset;
        flex-basis: auto;
        margin-right: 0;
        padding-right: 0;
        min-height: unset;
    }

    .kommission_inp_style {
        font-size: 16px;
    }

    .wk_zeile_nettopreis {
        flex-basis: 80px;
        flex-shrink: 0;
    }

    .clsdiv_wk_zeile_preiscontainer {
        display: flex;
        min-width: 215px;
    }

    .summenband_auftragsnummer {
        background: transparent;
        color: #000;
    }

    .auftragsnummer_inp_style {
        border-radius: 0;
        width: calc(100% - 120px);
    }

    .clsinpchk_zahlungsart {
        position: initial;
    }

    .clsli_container {
        width: 100%;
    }

    .summenband_links, .summenband_mitte {
        width: 250px;
        max-width: unset;
        flex-grow: 1;
        flex-shrink: 1;
    }

    .div_scart_summenband {
        display: flex;
        flex-wrap: wrap;
    }

    .summenband_rechts {
        margin-left: auto;
    }

    .div_scart_summenband ul {
        margin-top: 5px;
    }

    /* .clsspan_inangebot {
        display: none;
    } */
    #pdgerauschentwicklung, #pdkraftstoffverbrauch, #pdnasshaftung {
        font-size: 16px;
    }

    #artinangueb, #artikeltabelledrucken {
        display: none;
    }

    .cycle2_slider {
        display: block !important;
        margin-top: 10px;
    }

    #iddiv_sliderouter {
        width: 100%;
        box-sizing: border-box;
        padding-left: 10px;
        padding-right: 10px;
    }

    #iddiv_header_line {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: unset;
        min-width: unset;
    }

    #iddib_header_links_left {
        flex-basis: 205px;
        flex-shrink: 0;
    }

    #iddib_header_links_right {
        /* flex-basis: 175px; */
        flex-shrink: 0;
        align-items: flex-start;
    }

    .ids_template_frame {
        width: 100%;
        min-width: unset;
        max-width: unset;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    #iddiv_history_filter {
        display: flex;
        flex-wrap: wrap;
        padding-top: 0;
        padding-left: 0;
    }

    #iddiv_datumsfilter {
        flex-basis: 305px;
        flex-grow: 1;
        border-radius: 4px;
        order: 2;
        margin-left: 10px;
        margin-top: 10px;
    }

    #iddiv_artikelkuauffilter {
        margin-top: 10px;
        border-radius: 4px;
        flex-basis: 280px;
        flex-grow: 1;
        order: 3;
        margin-left: 10px;
    }

    #iddiv_menubuttons {
        margin-left: 10px;
        flex-basis: 175px;
        flex-grow: 1;
        order: 1;
        margin-top: 10px;
    }

    #iddiv_filterbuttons {
        flex-basis: 175px;
        flex-grow: 1;
        order: 4;
        margin-top: 10px;
        border-radius: 4px;
        margin-left: 10px;
    }

    #ida_history_zumshop {
        width: 100%;
    }

    #ida_history_zumshop button {
        width: 100%;
    }

    #idbtn_history_suchen {
        width: 100%;
    }

    #iddiv_datumsfilter label, #iddiv_artikelkuauffilter label {
        width: 150px;
    }

    .clsdiv_table_lsnr, .clsdiv_table_kuaufnr, .clsdiv_table_rechnr {
        display: none;
    }

    #iddiv_history_table_head {
        width: 100%;
    }

    .clsdiv_table_bestelldatum {
        flex-basis: 120px;
        flex-grow: 1;
        flex-shrink: 0;
    }

    .clsdiv_table_vorgangsnr {
        flex-basis: 140px;
        flex-grow: 1;
        flex-shrink: 0;
    }

    #idspanlayerheader {
        width: calc(100% - 50px);
    }

    #modallayerheader {
        min-height: 50px;
        height: auto;
    }

    #iddiv_bestueb_details_artikel_scroll {
        max-height: 252px;
        height: auto;
    }

    #iddiv_history_modal_details {
        height: auto;
        max-height: 300px;
        margin-bottom: 10px;
        width: 100%;
        overflow: auto;
    }

    #iddiv_history_modal_pakete {
        flex-basis: 200px;
        flex-grow: 1;
        flex-shrink: 0;
        margin-left: 0;
        margin-bottom: 10px;
    }

    #iddiv_history_modal_versandanschrift {
        flex-grow: 1;
        flex-shrink: 0;
        flex-basis: 215px;
        margin-bottom: 10px;
        margin-left: 10px;
    }

    #iddiv_history_modal_nummern {
        flex-grow: 1;
        flex-shrink: 0;
        flex-basis: 215px;
        margin-bottom: 10px;
        margin-left: 0;
        margin-left: 10px;
    }

    .clsdiv_bestelllog_dokument {
        margin-left: 0;
        flex-basis: 140px;
        flex-grow: 1;
        flex-shrink: 0;
    }

    .clsdiv_bestelllog_dokument button {
        width: 100%;
    }

    #idtable_pakete {
        width: 100%;
    }

    #modalfensterdialog {
        position: fixed;
        top: 10px;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
    }

    #idinp_datumvon, #idinp_datumbis, #idinp_artikelsuche, #idinp_kuaufnrsuche, #idinp_vorgangsnr {
        font-size: 16px;
        height: 26px;
        box-sizing: border-box;
        width: 100px;
    }

    #iddiv_kundendatenaendern input, #iddiv_kundendatenaendern select, #iddiv_passwortaendern input, #iddiv_passwortaendern select {
        width: calc(100% - 18px);
        box-sizing: border-box;
        font-size: 16px;
        margin-right: 5px;
        height: 30px;
    }

    #iddiv_kundendatenaendern div, #iddiv_passwortaendern div {
        float: none !important;
    }

    #iddiv_kundendatenaendern label, #iddiv_passwortaendern label {
        width: 100%;
        font-size: 0.95rem;
    }

    .passwortaendern_form li {
        padding: 0;
    }

    #idbtnkundendatenaendern, #idbtnpasswortaendern {
        width: 100%;
    }

    .div_searchv2_slidercontainer {
        height: auto;
    }

    #iddiv_suche_kfz {
        margin-left: 0;
        margin-right: 0;
    }

    #idinp_kfzsuche {
        font-size: 16px;
        margin-left: 10px;
        width: calc(100% - 20px);
    }

    #idbtn_kfzsuche {
        margin-right: 10px;
        margin-left: 10px;
        width: calc(100% - 20px);
        margin-top: 10px;
    }

    #iddiv_suche_letzte_fzg_container_1, #iddiv_suche_letzte_fzg_container_2 {
        height: auto;
    }

    #iddiv_suche_letzte_fzg_container_1 {
        margin-bottom: -2px;
    }

    #iddiv_suche_letzte_fzg_container_2 {
        margin-bottom: 15px;
    }

    #iddiv_suche_letzte_fzg {
        height: auto;
    }

    .clsdiv_letzte_fzg {
        margin-bottom: 2px;
    }

    #iddiv_motorrad_modell img {
        height: 30px;
        margin-right: 0px;
        margin-left: 0px;
    }

    #iddiv_motorrad_modell {
        height: auto;
    }

    #ajaxloader {
        position: fixed;
        top: calc(50vh - 35px);
    }

    .clsts_artikeldeta {
        width: 100%;
    }

    #iddiv_modal_artikeldetails {
        width: calc(100% - 15px) !important;
    }

    .clsimglayer_artikelbild {
        width: calc(100% - 15px);
        margin-top: 25px;
    }

    #iddiv_schlaeuche_artikeldetails {
        width: calc(100% - 20px);
        margin-left: 10px;
    }

    .clsdiv_schlauch_row_hersteller {
        width: auto;
        flex-basis: 180px;
        flex-shrink: 1;
    }

    .clsdiv_schlauch_row_beschreibung {
        width: auto;
        flex-shrink: 1;
        flex-basis: 250px;
    }

    .clsdiv_schlauch_row_bestand {
        width: auto;
        flex-shrink: 1;
        flex-basis: 80px;
    }

    .clsdiv_schlauch_row_preis {
        width: auto;
        flex-shrink: 1;
        flex-basis: 180px;
    }

    .clsts_artikeldetailsinfo {
        width: 100%;
    }

    .cls_flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .clsimglayer_label {
        margin-top: 20px;
    }

    .clsimg_schlaeuche {
        margin-left: 0;
    }

    #iddivherstellerselect span, #idselherstellerselect, #iddivwarengruppenselect span, #idselwarengruppenselect {
        float: none;
        display: block;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    #iddivherstellerselect, #iddivwarengruppenselect {
        font: none !important;
        flex-basis: 200px;
        flex-grow: 1;
        flex-shrink: 0;
        margin-left: 10px;
        margin-top: 10px;
    }

    #iddivselectboxen {
        display: flex;
        margin-top: 0;
        flex-wrap: wrap;
    }

    #iddivkalk_header {
        padding: 0;
        padding-bottom: 10px;
        padding-right: 10px;
    }

    #iddiv_kalk_button_edit_new {
        margin-left: 10px;
        margin-top: 10px;
        flex-basis: 150px;
        box-sizing: border-box;
        flex-grow: 1;
        flex-shrink: 0;
    }

    #iddiv_kalk_buttons {
        margin-left: 10px;
        margin-top: 10px;
        flex-basis: 175px;
        box-sizing: border-box;
        flex-grow: 1;
        flex-shrink: 0;
    }

    #iddiv_kalk_button_edit_new a, #iddiv_kalk_button_edit_new button, #iddiv_kalk_buttons a, #iddiv_kalk_buttons button {
        width: 100%;
    }

    #idbtnneuekalk {
        text-align: center;
    }

    #iddivheaderleiste {
        display: flex;
        background: #1B6D74;
        color: #fff;
        flex-wrap: wrap;
        display: none;
    }

    #iddivhersteller, #iddivwarengruppe, #iddivprozent, #iddiveuro, #iddivkbnetto, #iddivbtns, .clsdivherstellerzelle, .clsdivwarengruppezelle, .clsdivprozentzelle, .clsdiveurozelle, .clsdivnettozelle, .clsdivbtnzelle {
        margin-left: 0px;
        width: auto;
        flex-basis: 100%;
        padding-left: 0;
    }

    .clsdivtabellenzeile {
        display: flex;
        flex-wrap: wrap;
    }

    .clsdivherstellerzelle::before, .clsdivwarengruppezelle::before, .clsdivprozentzelle::before, .clsdiveurozelle::before, .clsdivnettozelle::before, .clsdivbtnzelle::before {
        vertical-align: middle;
        content: attr(data-label);
        background: #1B6D74;
        /* margin-left: 10px; */
        color: #fff;
        width: 120px;
        display: inline-block;
        padding-left: 5px;
        margin-right: 5px;
        height: 100%;
        box-sizing: border-box;
    }

    .clsspasn_kalklayer, #modalfensterdialog input[type='text'], #modalfensterdialog select {
        width: calc(100% - 30px);
    }

    #modalfensterdialog input[type='text'], #modalfensterdialog select {
        font-size: 16px;
    }

    .clstd_moto_bild {
        display: none;
    }

    .clsimg_schlaeuche, .clsimg_artikeldetails, .clstd_moto_vfg {
        display: none;
    }

    /* #ida_angebot_header {
        display: none;
    } */
    .detail_modalfenster {
        float: right;
        color: gray;
        margin-top: 5px;
        margin-bottom: 7px;
        margin-right: 11px;
        cursor: pointer;
        cursor: hand;
        font-weight: bold;
        text-decoration: underline;
    }

    #divadresswahl li {
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    #divsuchmaskelinks input[type='text'], #divsuchmaskelinks select {
        width: 100%;
        box-sizing: border-box;
        height: 28px;
    }

    #divsuchmaskerechts {
        padding-left: 10px;
        width: 100%;
        padding-right: 10px;
        box-sizing: border-box;
    }

    #divsuchmaskerechts>div {
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 3px;
    }

    #divsuchmaskerechts>div>button {
        width: 100%;
    }

    #adressbuch_name1, #adressbuch_plz, #adressbuch_ort {
        width: 100% !important;
        box-sizing: border-box;
    }

    #iddivfilterleiste {
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
        width: 100%;
    }

    #adresse_filtern, #adresse_reset {
        width: 100% !important;
        font-size: 100% !important;
        margin-bottom: 3px;
    }

    #idladresseloeschen {
        width: 100%;
    }

    #iddivadresszeilen>table {
        width: 100%;
    }

    tr.TRBOOK {
        display: flex;
        flex-wrap: wrap;
    }

    tr.TRBOOK>.TDBOOK {
        flex-basis: 100%;
        height: 25px !important;
        display: flex;
        align-items: center;
    }

    #iddivadresszeilen {
        max-height: unset;
        padding-left: 10px;
        padding-right: 10px;
    }

    tr.TRBOOK>.TDBOOK:last-child {
        border-bottom: 2px solid #fff;
        padding-bottom: 5px;
    }

    #divangebot_top {
        width: 100%;
        flex-wrap: wrap;
        padding-right: 0;
    }

    #divangebot_top>div {
        margin-bottom: 10px;
        margin-right: 10px;
    }

    #divangebot_top>div:last-child {
        margin-bottom: 0px;
    }

    #divangebotadresse {
        flex-grow: 1;
        order: 2;
    }

    #divangebotadresse>table {
        width: 100%;
    }

    #divangebotadresse>table>tbody>tr {
        display: flex;
        flex-wrap: wrap;
    }

    #divangebotadresse>table td {
        width: 100% !important;
    }

    #divangebotadresse>table td>input[type='text'] {
        width: 100% !important;
        box-sizing: border-box;
        height: 28px;
    }

    #btnangsuchen {
        width: 100%;
        margin-top: 5px;
    }

    #divangebotnavirechts {
        flex-grow: 1;
        order: 1;
    }

    #divangebotnavirechts button, #divangebotnavirechts table {
        width: 100% !important;
    }

    .cls_suchetableheader {
        display: none;
    }

    .trangebot {
        display: flex;
        flex-wrap: wrap;
        height: auto;
        line-height: 30px;
        border-left: 1px solid #afafaf;
        border-top: 1px solid #afafaf;
        border-right: 1px solid #afafaf;
        margin-bottom: 5px;
    }

    #ergtable {
        width: 100%;
    }

    .trangebot>td {
        width: 100%;
        display: flex;
        border-bottom: 1px solid #afafaf;
    }

    .trangebot>td:not(:last-child)::before {
        content: attr(data-lang);
        width: 100px;
    }

    .angdelete {
        margin-top: 3px;
        width: 100%;
        margin-bottom: 3px;
    }

    #divangebotnavimitte {
        margin-left: 0;
        flex-grow: 1;
        order: 3;
    }

    #btnneueposition, #btnneuetextposition, #btndienstlartikel {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

    .clsangebot_headerueberschrift {
        display: none;
    }

    .cls_angebotszeile {
        display: flex;
        flex-wrap: wrap;
        height: auto;
        border-left: 1px solid #afafaf;
        border-top: 1px solid #afafaf;
        border-right: 1px solid #afafaf;
        margin-bottom: 5px;
    }

    .cls_angebotszeile>div {
        display: flex;
        flex-basis: 100%;
        width: auto;
        text-align: left !important;
        border-bottom: 1px solid #afafaf;
        padding-right: 5px;
    }

    .cls_angebotszeile>div::before {
        content: attr(data-lang);
        width: 100px;
    }

    .cls_angebotszeile>div:nth-child(7)::before, .cls_angebotszeile>div:nth-child(8)::before {
        display: none;
    }

    #imgposloeschen, #imgposspeichern {
        width: 100%;
        margin-top: 3px !important;
        margin-bottom: 3px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
    }

    #btninwarenkorb, #btnpdf {
        margin-bottom: 3px;
        width: 100% !important;
    }

    #gespreis>a {
        display: inline-block;
        width: 100%;
    }

    #gespreis {
        margin-left: 0;
    }

    #modalfensterdialog #table {
        width: 100% !important;
        margin-left: 0;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    #idtbl_textpos, #idtbl_posbearbeiten {
        width: 100%;
    }

    /* idtbl_posbearbeiten
    clstbl_dienstlartikel */
    #inptextposbezeichnung {
        width: 100% !important;
    }

    #idtbl_posbearbeiten>tbody>tr, #idtbl_textpos>tbody>tr {
        display: flex;
        flex-wrap: wrap;
    }

    #idtbl_posbearbeiten>tbody td, #idtbl_textpos>tbody td {
        display: flex;
        flex-basis: 100%;
    }

    #neutextpos {
        width: calc(100% - 47px);
        float: none;
    }

    #table td {
        height: auto;
    }

    div#divbuttons {
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding-right: 10px;
        border-left: 0;
        height: auto;
    }

    .btndienstl {
        width: 100%;
    }

    /* .clsdiv_dienstledit>tbody>tr {
        display: flex;
    }
    .clsdiv_dienstledit>tbody>tr>td {
        display: flex;
    } */
    #inpneuerdienstlbez {
        width: 100% !important;
    }

    #upload_target {
        width: 100% !important;
    }

    input[name="submitBtn"] {
        width: 100% !important;
    }

    .clstd_anzeigen {
        display: flex;
    }

    .clstd_anzeigen::before {
        display: none;
    }

    .clstd_anzeigen>button {
        width: 100%;
        margin-bottom: 3px;
        margin-top: 3px;
    }

    .clstr_vor,
    .clstr_hin {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 2fr 2fr;
        grid-template-rows: minmax(min-content, max-content) minmax(min-content, max-content) 1fr;
        height: auto;
    }

    .clstr_vor>td,
    .clstr_hin>td {
        border-top: 0 !important;
    }

    #tr_head {
        display: none;
    }

    .clstd_moto_achse {
        grid-column-start: 1;
        grid-column-end: 2;
        grid-row-start: 1;
        grid-row-end: 4;
    }

    .clstd_moto_hersteller {
        grid-column-start: 2;
        grid-column-end: 5;
        grid-row-start: 1;
        grid-row-end: 2;
    }

    .clstd_moto_dim {
        grid-column-start: 5;
        grid-column-end: 7;
        grid-row-start: 1;
        grid-row-end: 2;
    }

    .clstd_moto_bez {
        grid-column-start: 2;
        grid-column-end: 5;
        grid-row-start: 2;
        grid-row-end: 3;
    }

    .clstd_moto_preis {
        grid-column-start: 5;
        grid-column-end: 7;
        grid-row-start: 2;
        grid-row-end: 3;
        text-align: right;
    }

    .clstd_moto_pdf {
        grid-column-start: 2;
        grid-column-end: 6;
        grid-row-start: 3;
        grid-row-end: 4;
    }

    .clstd_moto_menge {
        grid-column-start: 6;
        grid-column-end: 7;
        grid-row-start: 3;
        grid-row-end: 4;
        text-align: right;
    }

    .clstd_moto_preis::before {
        content: attr(data-lang);
        width: 38px;
        display: inline-block;
        text-align: left;
    }

    .clstr_hin .clstd_moto_pdf::before {
        content: attr(data-lang);
        width: 65px;
        display: inline-block;
    }

    .clstd_moto_details {
        display: none;
    }

    .clsdiv_mccontainer_input {
        flex-wrap: wrap;
    }

    #iddiv_kombitext, #iddiv_matchcodetext, #iddiv_herstellertext {
        margin-left: 10px;
        width: 72px;
        line-height: 25px;
    }

    .clsdiv_bez2_liste {
        height: auto;
        min-height: 20px;
    }

    .ergtabzeile_liste {
        width: 100%;
    }

    #idmcsuche_hersteller_pd_open, #iddetailsuche_hersteller_pd_open {
        width: 20px;
        height: 20px;
    }

    #iddiv_mcsuche_hersteller_pd, #iddiv_detailsuche_hersteller_pd {
        width: 100%;
        box-sizing: border-box;
    }

    .clsdiv_mcsuche_hersteller_option,
    .clsdiv_detailsuche_hersteller_option {
        flex-basis: calc(50% - 2px);
        font-size: 14px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    #iddetailsuche_hersteller_pd_open {
        bottom: 5px;
        top: unset;
    }

/* ################# NEU ##################### */
    .cycle-pager
    {
    display:none;
    }
    #iddiv_praemien_artikeldetails_bild {
        width: 300px;
        height: 300px;
        grid-row: 2/6;
        grid-column: 1/2;
        text-align: center;
    }
    .clsimg_praemien_artikeldetails_bild {
        max-width: 300px;
        max-height: 300px;
    }



}

@media (max-width: 680px) {

    .ids_template_frame {
		margin: 0px auto;
		/* min-width: 680px; */
		max-width: 680px;
		/* min-height:auto; */
		/* min-height: 675px; */
		min-height: 715px;
		/* background-color: #ffffff; */
		border: 0px solid #000000;
		box-sizing: border-box;
		padding: 0px 10px;
	}

    #iddiv_praemien_artikeldetails_bild {
        width: 150px;
        height: 150px;
        grid-row: 2/6;
        grid-column: 1/2;
        text-align: center;
    }

    .clsimg_praemien_artikeldetails_bild {
        max-width: 150px;
        max-height: 150px;
    }

    #iddiv_history_modal_details
    {
        padding-bottom: 10px;
    }

}