/* Base styles for the payments section, regardless of the theme styles. */

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

#content {
    padding-top: 40px;
}

.secure {
    width: 500px;
    margin: 2em 0;
    background: #FDF5D9;
    border: 1px solid #FCEEC1;
    padding: 18px 12px 6px;
}

.s-content {
    padding-left: 60px;
}

.s-content h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.image {
    float: left;
    margin-top: 0px;
}

.orderform {
    max-width: 600px;
    margin: 30px 0;
}

.orderform label {
    margin-right: 12px;
}

.confirm-details {
    min-width: 600px;
    max-width: 600px;
}

th {
    text-align: right;
    font-weight: normal;
}

th, td {
    padding: 3px 10px;
}

#wrap {
    margin-bottom: 80px;
}

.grid-row {
    display: grid;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .grid-row {
        grid-template-columns: 1fr 2fr;
    }
}

:root {
    --select-border: #777;
    --select-focus: blue;
    --select-arrow: var(--select-border);
}

select {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    z-index: 1;
    outline: none;
}

select::-ms-expand {
    display: none;
}

.select {
    display: inline-grid;
    grid-template-areas: "select";
    align-items: center;
    position: relative;
    min-width: 15ch;
    max-width: 30ch;
    border: 1px solid #dedede;
    padding: 10px 8px;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1.1;
    background-color: #f8f8f8;
}

.select:not(.select--multiple)::after {
     content: "";
     justify-self: end;
     width: 0.8em;
     height: 0.5em;
     background-color: var(--select-arrow);
     clip-path: polygon(100% 0%, 0 0%, 50% 100%);
}

.select select,
.select::after {
     grid-area: select;
}


select:focus + .focus {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 2px solid var(--select-focus);
    border-radius: inherit;
}

input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), textarea {
    border: 1px solid #dedede;
    background-color: #f8f8f8;
    padding: 10px 8px;
    font-size: 15px;
}