.tx-p123checkout-pi1-require {
    margin: 10px 0;
}

.tx-p123checkout-pi1-require-position:before {
    display: inline-block;
    position: absolute;
    content: "\f071";
    font-family: FontAwesome;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: auto;
    font-size: 1.4em;
    color: #BE1010;
    margin-top: 4px;
}

.tx-p123checkout-pi1-require-position .button {
    order: 2 !important;
    flex-grow: 1 !important;
}

.tx-p123checkout-pi1-require-position .button a {
    float: right;
}

.tx-p123checkout-pi1-require-position span {
    color: #BE1010;
    font-weight: bold;
    margin-bottom: 5px;
    margin-left: 25px;
}

.tx-p123checkout-pi1-empty {
    font-weight: bold;
    margin: .8em 0;
}

.tx-p123checkout-pi1-header,
.tx-p123checkout-pi1-subtotal,
.tx-p123checkout-pi1-total-entry {
    padding-top: 5px;
    border-top: dashed 1px #d4d4d4;
    margin: 0;
}

.tx-p123checkout-pi1-total-position .align-right,
.tx-p123checkout-pi1-subtotal .align-right {
    margin-right: 5px !important;
}

.tx-p123checkout-pi1-header .fixed,
.tx-p123checkout-pi1-header .variable,
.tx-p123checkout-pi1-subtotal .fixed,
.tx-p123checkout-pi1-subtotal .variable {
    margin-top: 3px;
    padding-bottom: 8px;
    font-weight: bold;
}
.tx-p123checkout-pi1-header .variable,
.tx-p123checkout-pi1-subtotal .variable {
    background: rgba(200, 200, 200, 0.5);
}

.tx-p123checkout-pi1 .fixed {
    float: right;
    width: 189px;
}

.tx-p123checkout-pi1 .fixed dl {
    display: inline;
    float: left;
    min-height: 1px;
    margin: 0;
    color: inherit;
}

.tx-p123checkout-pi1 .variable {
    /*color: inherit;*/
    /*padding-bottom: 8px;*/
    /*margin-right: 189px;*/
    width: 100%;
}

.tx-p123checkout-pi1 .fixed dl dt[rel=price] {
    margin-right: 5px;
}

.tx-p123checkout-pi1-positions-entry {
    margin-bottom: 1em;
}

section.p123search .tx-p123checkout-pi1-positions-entry,
section.p123search-express .tx-p123checkout-pi1-positions-entry {
    margin-bottom: 1em;
    padding: .4em 0;
}

section.p123search .tx-p123checkout-pi1-positions-entry,
section.p123search-express .tx-p123checkout-pi1-positions-entry {
    background: rgba(234, 234, 234, 0.5);
}

.tx-p123checkout-pi1-positions-entry .variable span {
    display: block;
}

.tx-p123checkout-pi1-positions-entry .variable span em {
    display: inline-block;
    width: calc(100% - 189px);
    margin-bottom: .3em;
}

section.p123search .tx-p123checkout-pi1-positions-entry .fixed dl:first-of-type dt,
section.p123search-express .tx-p123checkout-pi1-positions-entry .fixed dl:first-of-type dt {
    display: none;
}

.tx-p123checkout-pi1-extensions {
    font-weight: bold;
    margin-bottom: 5px;
}

.tx-p123checkout-pi1-total {
    margin-top: 5px;
}

.tx-p123checkout-pi1-total-position {
    background: rgba(200,200,200,0.5);
    padding: .5em 0;
}

#txp123checkoutpi1-total-gross {
    font-weight: bold;
}

/* tx-p123checkout-pi1-hint-edit */
.tx-p123qsearch-pi1-window .tx-p123checkout-pi1-hint-edit {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
}

.tx-p123qsearch-pi1-window .tx-p123checkout-pi1-hint-edit input {
    width: 100%;
    margin-bottom: 1em;
}
.tx-p123qsearch-pi1-window .tx-p123checkout-pi1-hint-edit a.csc-mailform-button {
    width: 100% !important;
}

/* 600px */
@media only screen and (min-width: 37.5em) {
    .tx-p123checkout-pi1-require-position:before {
        font-size: 1.7em;
        margin-top: 8px;
    }

    .tx-p123checkout-pi1-require-position span {
        margin-left: 36px;
    }

    .tx-p123qsearch-pi1-window .tx-p123checkout-pi1-hint-edit {
        flex-direction: row;
    }

    .tx-p123qsearch-pi1-window .tx-p123checkout-pi1-hint-edit input {
        width: auto;
        margin-bottom: 0;
        margin-right: 1em;
    }
}

/* 648px */
@media only screen and (min-width: 40.5em) {
    .tx-p123checkout-pi1-require-position {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }

    .tx-p123checkout-pi1-require-position .button {
        min-width: 262px;
        margin-left: 10px;
        align-self: center !important;
    }
}

/* 768px */
@media only screen and (min-width: 48em) {
    .tx-p123checkout-pi1-extensions {
        padding-bottom: 3px;
        border-bottom: dashed 1px #d4d4d4;
    }
}

/* 960px */
@media only screen and (min-width: 60em) {
    .tx-p123checkout-pi1-require {
        padding-left: 50px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* 1184px */
@media only screen and (min-width: 74em) {
    .tx-p123checkout-pi1-require {
        padding-left: 66px;
    }
    .tx-p123checkout-pi1-require-position {
        margin-bottom: 10px;
    }
    .tx-p123checkout-pi1-require-position::before {
        margin-top: 5px;
    }
    .tx-p123checkout-pi1-require-position span {
        padding-top: 10px;
    }
}