.numbersinput {
    padding: 2px 2px 2px 2px !important;
    text-align: center;
    /* max-width: none !important; */
    min-height: 0 !important;
    max-height: 24px;
    width: 5rem !important;
    margin-bottom: 5px !important;
    height: fit-content !important;
    -moz-appearance:textfield; /* Firefox */
    appearance: textfield;
}

.numbersinput::-webkit-outer-spin-button,
.numbersinput::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}


.inlineblock {
    display: inline-block;
    margin: 0 0 3px 0;
}
p.inlineblock {
    margin-right: 5px;
    /* text-align: center; */
}


/* Tabs mit radio-Buttons Anfang*/
.ppw_tabbed figure { 
    display: block; 
    margin-left: 0; 
    /*border-bottom: 1px solid silver;*/
    clear: both;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    /*width: 100%;*/
 }
 
 .ppw_tabbed > input,
 .ppw_tabbed figure > div { display: none; }
 
 .ppw_tabbed figure>div {
    padding: 5px;
    /*width: 99%;*/
    border: 1px solid silver;
    background: #fff;
    font-family: Arial,
                 Sans-serif;
    font-size: 0.8em;
    font-weight: 400;
    color: #404040;
    max-height: fit-content;
    min-height: 28rem;
    /* overflow: auto;
    overflow-x: hidden; */
 }

 .ppw_tab2,
 .ppw_tab4{
    scroll-behavior: smooth;
 }
 .ppw_tab5{
    scroll-behavior: smooth;
 }

 #ppw_designer_tab1:checked ~ figure .ppw_tab1,
 #ppw_designer_tab2:checked ~ figure .ppw_tab2,
 #ppw_designer_tab3:checked ~ figure .ppw_tab3,
 #ppw_designer_tab4:checked ~ figure .ppw_tab4,
 #ppw_designer_tab5:checked ~ figure .ppw_tab5 { display: block; }
 
 #ppw_designer_tab1:checked ~ nav label[for="ppw_designer_tab1"],
 #ppw_designer_tab2:checked ~ nav label[for="ppw_designer_tab2"],
 #ppw_designer_tab3:checked ~ nav label[for="ppw_designer_tab3"],
 #ppw_designer_tab4:checked ~ nav label[for="ppw_designer_tab4"],
 #ppw_designer_tab5:checked ~ nav label[for="ppw_designer_tab5"] {
    background: var(--ast-global-color-1);
    color: #eeeeee; 
   position: relative;
   border-bottom: none;
 }
 nav label {
    height: 46px;
    max-width: 20%;
    float: left;
    padding: 3px 8px 8px 8px;
    margin-left: 5px;
    border-top: 1px solid silver;
    border-right: 1px solid silver;
    border-left: 1px solid silver;
    border-radius: 5px 5px 0 0;
    background: #f1f1f1;
    color: #222222;
    cursor: pointer;
    min-width: fit-content;
}
#ppw_designer_tab1:checked ~ nav label[for="ppw_tab1"],
#ppw_designer_tab2:checked ~ nav label[for="ppw_tab2"],
#ppw_designer_tab3:checked ~ nav label[for="ppw_tab3"],
#ppw_designer_tab4:checked ~ nav label[for="ppw_tab4"],
#ppw_designer_tab5:checked ~ nav label[for="ppw_tab5"] {
    background: white;
    color: #222222;
    position: relative;
    border-bottom: none;
    cursor: default;
}

#ppw_designer_tab1:checked ~ nav label[for="ppw_tab1"]:after,
#ppw_designer_tab2:checked ~ nav label[for="ppw_tab2"]:after,
#ppw_designer_tab3:checked ~ nav label[for="ppw_tab3"]:after,
#ppw_designer_tab4:checked ~ nav label[for="ppw_tab4"]:after,
#ppw_designer_tab5:checked ~ nav label[for="ppw_tab5"]:after {
    content: "";
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background: white;
    left: 0;
    bottom: -1px;
}
/* Tabs mit radio-Buttons Ende*/

.bordered{
    border-style: solid;
    border-width: 1px;
    border-color: var(--ast-global-color-1);
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 5px;
    overflow: visible;
    /* display:flex;
    flex-direction: row;
    -ms-flex-direction: row; */
}

.ppworange{
    color:var(--ast-global-color-1) !important;
    font-weight: bold;
    margin-block-start: 0;
    margin-block-end: 0;
    display: inline;
}

.nocapitalize {
	text-transform: none !important;
}

.ast-outline-button {
    padding: 7px 10px;
}

.versteckt {
        display: none !important;
}
.versteckt.show {
        height: auto !important;
        visibility: visible !important;
        -webkit-animation: fadeIn 0.2s;
        animation: fadeIn 0.2s
}


/* Filterfunktion Dropdowns Anfang */
.dropdown-check-list {
    display: inline-block;
    position: relative;
    background: white;
  }
  
  .dropdown-check-list .anchor {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 5px 50px 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #efefef;
    font-weight: bold;
    margin-bottom: 3px;
  }
  
  .dropdown-check-list .anchor:after {
    position: absolute;
    content: "";
    border-left: 2px solid black;
    border-top: 2px solid black;
    padding: 5px;
    right: 10px;
    top: 20%;
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }
  
  .dropdown-check-list .anchor:active:after {
    right: 8px;
    top: 21%;
  }
  
  .dropdown-check-list ul.items {
    padding: 2px;
    display: none;
    margin: 0;
    border: 1px solid #ccc;
    border-top: none;
  }
  
  .dropdown-check-list ul.items li {
    list-style: none;
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }
  
  .dropdown-check-list.visible .anchor {
    color: #F47920;
  }
  
  .dropdown-check-list.visible .items {
    position: absolute;
    z-index: 1000;
    background-color: white;
    min-width: 90%;
    white-space: nowrap;
    display: block;
  }

.filteritemsdisplay{
    display:inline-block;
    border:solid 1px;
    padding:2px;
    margin-right: 3px;
    margin-bottom: 3px;
    cursor: default;
}

/* Filterfunktion Dropdowns Ende */

/* Alternativer Button-Stil */
.matseltoplinks{
    display: inline-block;
    width: fit-content;
    padding: 2px;
    padding-left: 6px;
    margin-right: 5px;
    padding-right: 6px;
    margin-bottom: 0.5em;
    font-size: larger;
    border: 1px solid #D0D0D0;
    border-radius: 4px;
    background-color: #EFEFEF;
    cursor: pointer;
}

/*Material und Rahmen Buttons Anfang*/
.cf:before,
.cf:after {
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    zoom: 1;
}
.col {
    display: block;
    font-size: 14px;
    line-height: 16px;
    /*float:left;*/
    margin: 3px;
  }

.col p {
    margin: 0px;
  }
  
  .matbutton input,
  .frabutton input,
  .formbutton input{
	display: none;
}

.formbutton label{
  font-size: 14px;
  line-height: 16px;
	position: relative;
	color: #fff;
	background-color: #ddd;
    text-align: center;
	height: 110px;
	width: 138px;
	display: inline-block;
	cursor: pointer;
	border: 1px solid #333;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top:3px;
    vertical-align: bottom;
}

.frabutton label{
	position: relative;
	color: #fff;
    text-align: right;
	display: block;
	cursor: pointer;
	border: 1px solid #333;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
    box-sizing: border-box;
    padding:3px 32% 3px 3px;
    overflow: hidden;
    margin: 3px;
    margin-left: 23px;
}

.matbutton{
    container-name: matbuttoncontainer;
    container-type: inline-size;
}

.matbutton label:not(.nohaken){
    width: 23%;
    min-width: 170px;
    height: 170px;
    display: inline-block;
	position: relative;
	/* color: #fff; */
	cursor: pointer;
	border: 1px solid #333;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
    box-sizing: border-box;
    /* padding:3px 32% 3px 3px; */
    overflow: hidden;
    margin: 1%;
    box-shadow: 6px 6px 2px gray;
}
@container matbuttoncontainer (width < 740px){
.matbutton label:not(.nohaken){
    width: 31.33%;
}
}
@container matbuttoncontainer (width < 555px){
.matbutton label:not(.nohaken){
    width: 48%;
}
}
@container matbuttoncontainer (width < 387px){
.matbutton label:not(.nohaken){
    width: 98%;
}
}

.matlabel-text{
    text-align: center;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #e8e8e8;
    border: 5px solid;
    width: fit-content;
    padding:5px
}

.matbutton input:checked + label,
.frabutton input:checked + label,
.formbutton input:checked + label{
	/* border: 1px solid #3a3; */
    box-shadow: none;
}
.matbutton input:checked + label {
    background-color: var(--ast-global-color-0);
}

.formbutton input:checked + label:after{
    content: "\2713";
    font-size: 13px;
    font-weight: bold;
    width: 20px;
	height: 20px;
	border-radius: 100%;
    border: 2px solid #333;
    color: #FFFFFF;
	background-color: #2fcc71;
	z-index: 598;
	position: absolute;
	top: -7px;
	right: -7px;
}

.matcat:has(+article input:checked) {
    background-color: var(--ast-global-color-6) !important;
}

.matbutton input:checked + label:not(.nohaken):after,
.frabutton input:checked + label:after{
    content: "\2713";
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    align-content: center;
    width: 40px;
	height: 40px;
	border-radius: 100%;
    border: 2px solid #333;
    color: #FFFFFF;
	background-color: #2fcc71;
	z-index: 598;
	position: absolute;
	top: 2px;
	right: 2px;
}

.corefleck{
    top: calc(50% - 5px);
    right: 4%;
    float: right;
    position: absolute;
    width: 25%;
    height: 10px;
}

.rahmfleck{
    bottom:4px;
    left:4px;
    width:95%;
    height:83px;
    background: right;
}

.frabutton label img{
    left: 70%;
    position: absolute;
    height: 100%;
    top: 0px;
    object-fit: cover;
}

.formfleck{
    bottom: 4px;
    left: 39px;
    position: absolute;
    width: 40px;
    height: 40px;
}

.fracol{
    width:95%;
    font-weight: bold;
    font-size: larger;
    margin-top: 5px;
    border-top: 2px solid;
    padding-top: 7px;
    margin-bottom: 12px;
}

.fracat {
    text-align: right;
    font-size: larger;
    /* font-weight: bold; */
    height: 80px;
    margin-top: 5px;
    border-top: 1px solid;
    padding-top: 2px;
    margin-left: 20px;
    width: calc(100% - 20px);
    cursor: pointer;
}

.fracat div{
    vertical-align: middle;
    padding: 23px 20px 25px 0px;
    float:inline-start;
}

.fracat img {
    height: 80px;
    margin-right: 16px;
    transition: 0.25s;
    top: 0%;
    cursor: pointer;
    overflow: overlay;
    position: relative;
    display: inline-block;
    z-index: 0;
    right: 0%;
}

.matcol{
    width:95%;
    font-weight: bold;
    font-size: larger;
    margin-top: 5px;
    border-top: 2px solid;
    padding-top: 7px;
    margin-bottom: 12px;
}

.matcatspan{
    text-align: right;
    position: relative;
    font-size: 80%;
    right: 3px;
    float: right;
    height: fit-content;
}

.matcat {
    /* text-align: right; */
    font-size: larger;
    /* font-weight: bold; */
    min-height: 80px;
    max-height: fit-content;
    /* margin-top: 5px; */
    border-top: 1px solid;
    padding-top: 2px;
    margin-left: 1%;
    margin-right: 1%;
    align-content: center;
    /* width: calc(100% - 30px); */
    cursor: pointer;
}

.matcat div{
    vertical-align: middle;
    display: inline-block;
    padding-left: 3px;
    /* padding: 23px 20px 25px 0px;
    float:inline-start;
    height: 100%; */
}

.matcat img {
    height: 80px;
    margin-right: 16px;
    transition: 0.25s;
    top: 0%;
    cursor: pointer;
    overflow: overlay;
    position: relative;
    display: inline-block;
    z-index: 0;
    right: 0%;
}

/* .matcat {
    text-align: right;
    font-size: larger;
    height: 80px;
    margin-top: 5px;
    border-top: 1px solid;
    padding-top: 2px;
    margin-left: 20px;
    width: 100%;
    cursor: pointer;
}

.matcat div{
    vertical-align: middle;
    padding: 23px 20px 25px 0px;
    float:inline-start;
}

.matcat img {
    height: 80px;
    margin-right: 16px;
    transition: 0.25s;
    top: 0%;
    cursor: pointer;
    overflow: overlay;
    position: relative;
    display: inline-block;
    z-index: 0;
    right: 0%;
} */

.frimg.popout,
.dfrimg.popout,
.matimg.popout {
    height: 200% !important;
    top: -90%;
    z-index: 10;
    border: 1px solid;
}
/*Material und Rahmen Buttons Ende*/

.quantity.buttons_added input.input-text.qty.text {
    margin-right:0 !important;
    max-height: 42px;
}

.minwidth350 {
    min-width: 350px !important;
}

.minwidth200 {
    min-width: 200px !important;
}

.flexwrapon {
  flex-wrap: wrap !important;
}


/* Popup Tooltip container Start */
/*Tooltip*/
a.ppw-info {
    vertical-align: middle;
    position:relative; /* Anything but static */
    width: 16px;
    height: 16px;
    /* text-indent: -9999rem; */
    display: inline-block;
    color: white;
    font-weight:bold;
    font-size:12px;
    line-height:16px;
    background-color: #91b2d2;
    margin-left: 2px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    border-radius:8px;
  }
  a.ppw-info:hover {
    background-color:#628cb6;
    cursor: hand; 
    cursor: pointer;
  }
  a.ppw-info:before {
    content:"?";
    position: relative;
    /* top: 2px;
    left:0; */
    text-indent: 0;
    display:block;
    width:15px;
    text-align:center;
  }
  
  /* Popup-Container */
.ppw-popup {
    position: relative;
    /* display: inline-block; */
    display: contents;
    cursor: pointer;
  }
  /* Toggle this class when clicking on the popup container (hide and show the popup) */
.ppw-popuptext.ppw-show {
    visibility: visible !important;
    -webkit-animation: fadeIn 0.2s;
    animation: fadeIn 0.2s
  }
  
  /* The actual popup */
.ppw-popuptext {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: 50%; */
    font-size: 14px;
    visibility: hidden;
    min-width: 22rem;
    width: max-content;
    height: fit-content;
    max-width: min(94%,950px);
    max-height: 94%;
    overflow-y: auto;
    background-color:#eee;
    color: #111;
    text-align: left;
    border-radius: 6px;
    border: 3px solid var(--ast-global-color-1);
    padding: 12px 12px;
    /* position: absolute; */
    z-index: 999;
  }
  
  /* Popup arrow */
/* .ppw-popup .ppw-popuptext::after {
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 5px;
  } */
/* Popup Tooltip container Ende */

/* #ppw-previewcontainer {
    align-content: center;
} */

/* Material- und Rahmenselektoren Start */
.jumpout{
    transition: max-height 0.5s ease-out;
    transition-delay: 0s;
    max-height: 0;
    overflow: hidden;
}
.jumpin{
    transition: max-height 0.5s ease-in;
    transition-delay: 0s;
    /* overflow: hidden; */
}

.fadeout{
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s 0.3s,
                opacity 0.3s 0.2s linear;
}

/* a:link,
a:visited,
a:hover  {
    color:#000000;
    text-decoration: none;
    }

a.intro:link,
a.intro:visited,
a.intro:hover  {
    color:#F47920;
    text-decoration: none;
    } */
  

a.ipash:link,
a.ipash:visited,
a.ipash:hover  {
    color: #F47920;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ipash a:link,
.ipash a:visited,
.ipash a:hover {
    color: #F47920;
    font-weight: bold;
    text-decoration: none;
    /*display: flex;*/
    justify-content: center;
    align-items: center;
}

.ipash{
    margin: auto;
    color: #F47920;
    vertical-align: middle;
    /*padding: 5px;*/
    }
    
/* Material- und Rahmenselektoren Ende */

.ppw-designer-zeichenbereich {
    position: sticky;
    top: 5px;
}

.ppw-designer-zeichenbereich canvas {
    left: 50%;
    transform: translatex(-50%);
    position: absolute !important;
}

#designer_config_notice p {
    margin: 0 ;
    color: #b81c23 ;
    font-weight: bold ;
    padding-right: 8px;
}

#ppw-einzelpreise span {
    line-height: 1.1;
    display: block;
}

#ppw-einzelpreise span:not(:first-child) {
    margin-top: 8px;
}

.ppw-gesamtpreis {
    margin: 0 ;
    font-weight: bold;
    font-size: 1.5rem;
    display: inline-block;
}
.ppw-shipping-text {
    font-weight: normal;
    font-size: medium !important;
}

div[data-block-name="woocommerce/product-summary"] {
    display: none;
}

.ppw_tabbed nav {
    display: flex;
    flex-flow: wrap-reverse;
}

@media (max-width: 780px){
    body.ast-padded-layout
    {
        padding: 0 !important;
    }
}

button.single_add_to_cart_button[value="554"] {
    padding-top: 5px;
    padding-bottom: 5px;
}

#ppw_materialhinweis {
    font-size: medium;
    font-weight: 700;
    color: var(--ast-global-color-1);
}