#authorize-payment .authorize-row {
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
}

#authorize-payment .col-25 {
    -ms-flex: 25%;
    flex: 25%;
}

#authorize-payment .col-50 {
    width: 50%;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
}

#authorize-payment .col-75 {
    -ms-flex: 75%;
    flex: 75%;
}

#authorize-payment .container {
    background-color: #f2f2f2;
    padding: 5px 20px 15px 20px;
    border: 1px solid lightgrey;
    border-radius: 3px;
}

#authorize-payment input[type=text],
#authorize-payment input[type=number] {
    width: 100%;
    height: 40px !important;
    margin-bottom: 2px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
}

#authorize-payment select {
    width: 100%;
    height: 40px !important;
    margin-bottom: 2px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    max-width: 100% !important;
    outline: none;
}

#authorize-payment label {
    margin-bottom: 10px;
    display: block;
}

#authorize-payment .icon-container {
    margin-bottom: 20px;
    padding: 7px 0;
    font-size: 24px;
}

#authorize-payment .btn {
    background-color: #04AA6D;
    color: white;
    padding: 12px;
    margin: 10px 0;
    border: none;
    width: 100%;
    border-radius: 3px;
    cursor: pointer;
    font-size: 17px;
}

#authorize-payment .btn:hover {
    background-color: #45a049;
}

#authorize-payment a {
    color: #2196F3;
}

#authorize-payment hr {
    border: 1px solid lightgrey;
}

#authorize-payment span.price {
    float: right;
    color: grey;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other (also change the direction - make the "cart" column go on top) */
@media (max-width: 800px) {
    #authorize-payment .authorize-row {
        flex-direction: column-reverse;
    }

    #authorize-payment .col-50 {
        width: 100%;

    }

    #authorize-payment .col-25 {
        margin-bottom: 20px;
    }
}


#authorize-payment .credit-card {
    padding-left: 42px !important;
    background-image: url('../images/credit-card.svg');
    background-repeat: no-repeat !important;
    background-position-x: 4px !important;
    background-position-y: 6px !important;
}

.required {
    color: red !important;
    font-size: 15px;
}

input:focus {
    outline: 3px solid #a2c0d8;
    outline-offset: 3px;
}

/* TAuthorize Thank you page */
.authorize-card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    width: 60%;
}

@media screen and (max-width: 600px) {
    .authorize-card {
        width: 100% !important;
    }
}

.authorize-card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.authorize-container {
    padding: 30px 16px;
    text-align: center;
}

.authorize-thank-you {
    display: flex;
    justify-content: center;
    align-items: center;
}

.authorize-redirect {
    margin: 16px 50px !important;
}

.authorize-redirect-btn {
    display: block;
    width: 90%;
    border: none;
    background-color: #04AA6D;
    color: white;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    margin: auto;
}

.authorize-redirect-btn:hover {
    background-color: #1f855f;
    color: white;
}