#payment-form {
    -webkit-box-sizing: border-box;
    background-color: #ececec;
    border: 1px solid;
    border-radius: 20px;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    display: block;
    margin: 0 auto;
    max-width: 900px;
    min-width: 275px;
    padding: 2em;
    width: 80%;
}

.terms {
	color: #303030;
	font-size: 16px;
    padding-top: 1em;
}

.form-row {
    margin: 1em 0;
}



input[type="submit"],
.button {
    -o-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    background-color: #0f75bc;
    border: 2px solid #8cc63f;
    border-radius: 5px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    padding: 10px 25px;
    text-align: center;
    -moz-transition-duration: 0.4s;
         transition-duration: 0.4s;
}

input[type="submit"]:hover,
.button:hover {
    background-color: #ffffff;
    border: 2px solid #008cba;
    color: black;
    text-decoration: none;
}



#card-errors {
    color: #ff0000; 
    font-weight: 600;
}

.columns-2 > div {
    max-width: 50%;
}

.grid {
    -webkit-align-items: stretch;
    -webkit-box-align: stretch;
    -moz-box-align: stretch;
         align-items: stretch;
    display: grid;
    grid-column-gap: 2em;
    grid-row-gap: 1em;
    /* grid-template-columns: auto auto; */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-rows: auto;
    justify-items: stretch;
}

.full-width-col {
    grid-column: 1 / -1;
    position: relative;
}

.col {
    position: relative;
}




:disabled,
disabled:hover {
    border-color: #000000 !important;
    background-color: #aaa !important;
    color: #515050 !important;
    cursor: wait !important;
}

.declaration-link {
    text-decoration: underline;
}

/* media queries */

@media all and (max-width: 450px) {
    #payment-form {
        padding: 1em 0.5em;
        width: 98%;
    }
}




/* internet explorer 10 and 11 grid fallback */

@media screen and (-ms-high-contrast: active),
    (-ms-high-contrast: none) {
    .grid .col {
        width: 49%;
        display: inline-block;
        padding: 5px;
        -moz-box-sizing: border-box;
             box-sizing: border-box;
    }

    .center.full-width-col.row {
        margin-top: 20px;
    }
}
