.tx-dx-shop {
    clear: both;
}
/* article list */
.tx-dx-shop .article-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
}
.tx-dx-shop .article-item {
    width: 46%;
    margin-right: 3%;
    margin-bottom: 25px;
    border: 1px solid #ddd;
}
@media screen and (min-width: 768px) {
    .tx-dx-shop .article-item {
        width: 31%;
    }
    .tx-dx-shop .article-item:nth-child(3n) {
        margin-right: 0;
    }
}
.tx-dx-shop .article-item-image {
    height: 150px;
    padding: 10px;
    text-align: center;
}
.tx-dx-shop .article-item-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: calc(100% - 190px);
    padding: 10px;
    background-color: #eaeaea;
}
.tx-dx-shop .article-item-info form {
    margin-top: 15px;
}
.tx-dx-shop .article-list h3,
.tx-dx-shop .article-list p {
    margin-left: 0;
    margin-right: 0;
}
.tx-dx-shop .article-list label,
.tx-dx-shop .article-list input {
    display: inline-block;
    margin-right: 1em;
}
.tx-dx-shop .article-list input {
    width: 2em;
    padding: 5px;
    border: none;
    background-color: #ccc;
    text-align: center;
    font-size: 0.8em;
}

.tx-dx-shop .article-item-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 150px;
}

/* basket */
.tx-dx-shop .basket-items table {
    width: 100%;
    border-collapse: collapse;
}
.tx-dx-shop .basket-items tr {
    text-align: left;
    border-bottom: 1px solid #ccc;
}
.tx-dx-shop .basket-items th,
.tx-dx-shop .basket-items td{
    padding: 1rem 1rem 1rem 0;
}
.tx-dx-shop .basket-items td.basket-image {
    max-width: 200px;
}
.tx-dx-shop .basket-items td img {
    max-width: 100%;
    height: auto;
}
.tx-dx-shop .basket-items .basket-align-right {
    text-align: right;
}

.tx-dx-shop .basket-items button {
    width: 36px;
    height: 26px;
    border: none;
    background-color: transparent;
}

.tx-dx-shop .basket-items input {
    display: inline-block;
    width: 36px;
    height: 26px;
    margin-right: 1em;
    padding: 5px;
    border: none;
    background-color: #ccc;
    text-align: center;
    font-size: 0.8rem;
}

/* customer data and confirmation */
.tx-dx-shop .basket-customerdata .form-group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.tx-dx-shop .basket-customerdata .form-group label {
    width: 33.33%;
}
.tx-dx-shop .basket-customerdata .form-group input {
    width: 66.66%;
    padding: 5px;
    border: none;
    background-color: #ccc;
}
.tx-dx-shop #deliveryAddressChooser {
    margin-top: 2rem;
}
.tx-dx-shop .basket-footer {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* trademark row */
.tx-dx-shop .article-trademark {
    display: inline-block;
}
.tx-dx-shop .article-trademark img {
    display: inline-block;
}
.tx-dx-shop .article-trademark label {
    display: inline-block;
    vertical-align: top;
    padding-top: 8px;
}
.tx-dx-shop .c-custom-checkbox {
    position: relative;

    margin-left: 0.5em;
    margin-right: 1em;
}
.tx-dx-shop .c-custom-checkbox .checkbox__bg {
    stroke: #999;
    fill: #eee;
}
.tx-dx-shop .c-custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 25px;
    height: 25px;
    z-index: 1;
}

.c-custom-checkbox input[type="checkbox"]:focus:not(:focus-visible) + svg {
    outline: none;
}
.c-custom-checkbox svg {
    width: 25px;
    height: 25px;
}
.c-custom-checkbox svg* {
    transition: all 0.1s linear;
}
.c-custom-checkbox input[type="checkbox"]:checked + svg .checkbox__checkmark {
    stroke: #999;
}

/* steps row */
.tx-dx-shop .basket-steps {
    margin-bottom: 2rem;
}
.tx-dx-shop .basket-steps img {
    margin-right: 1rem;
}

/* buttons */
.tx-dx-shop .btn-primary {
    padding: 5px;
    border: none;
    border-top: 1px solid #333;
    border-radius: 5px;
    background-color: #666;
    background-image: linear-gradient(to bottom, #aaa 0%, #333 100%);
    color: white;
    transition: all 0.3s ease-in-out;
    font-size: 0.8rem;
    text-decoration: none;
}
.tx-dx-shop .btn-large {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1rem;
}
.tx-dx-shop .btn-primary:hover {
    background-image: linear-gradient(to bottom, #333 0%, #aaa 100%);
}
.tx-dx-shop .article-item-toolbar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;
}

/* misc */
.tx-dx-shop .sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* TYPO3 flash messages and ajax messages */
.tx-dx-shop #basket-messages p.info {
    padding: 15px;
    background-color: #7db9e8;
    color: #1c3377;
    border: 1px solid #1c3377;
}
.tx-dx-shop #basket-messages p.error {
    padding: 15px;
    background-color: #ffcccc;
    color: darkred;
    border: 1px solid darkred;
}

section#content_box .typo3-messages {
    list-style-type: none;
    margin: 2rem 0;
    color: red;
}
section#content_box .typo3-messages .alert {
    margin-bottom: 1rem;
    padding: 15px;
    border: 1px solid #aaa;
    background-color: #eee;
}
section#content_box .typo3-messages .alert-warning {
    background-color: #ffd699;
    color: #995c00;
    border-color: #995c00;
}
section#content_box .typo3-messages .alert-title,
section#content_box .typo3-messages .alert-message {
    color: #995c00;
}

.tx-kesearch-pi1 .search-code {
    display: none;
}

/* error messages */
section#content_box .tx-dx-shop .typo3-messages .alert-danger  {
    color: darkred;
    background-color: #ffcccc;
    border: 1px solid darkred;
}
section#content_box .tx-dx-shop .typo3-messages .alert-danger .alert-message {
    margin: 0;
    color: darkred;
    background-color: #ffcccc;
}