﻿:root {
    --andway-blue-color: #2fb3e5;
    --andway-blue-hover: #248ece;
    --andway-selected-blue: #020182;
    --grey-border: #ddd;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

h1 {
    color: var(--andway-blue-color);
}

.btn-andway-primary {
    background-color: var(--andway-blue-color);
    color: white;
}

.btn-andway-primary:hover {
    background-color: var(--andway-blue-hover);
    color: #ddd;
}

.btn-andway-primary.active {
    border: 2px solid var(--andway-selected-blue);
}

div.btn-group label.btn {
    margin: 20px;
    border-radius: 4px !important;
    width: 20%;
    min-width:196px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.radio-form-field {
    margin: 30px 0px;
}

.radio-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.buttons {
    margin-top: 10px;
}

.fieldset {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: flex-start;
}

#mandatory-field-text {
    width: 100%;
    flex-basis: auto;
}

.form-fields {
    width: 44%;
    min-width: 360px;
    margin: 25px;
    border: 1px solid var(--grey-border);
    border-radius: 10px;
    text-align: center;
}

    .form-fields h4 {
        text-align: center;
    }

    .form-fields .inputs label {
        box-sizing: border-box;
        display: inline-block;
        width: 95%;
        text-align: left;
        margin-bottom: 12px;
        margin-left: auto;
        margin-right: auto;
    }

    .form-fields .inputs input {
        box-sizing: border-box;
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .form-fields .inputs input:disabled {
        background-color: #dfdfdf;
    }

    .form-fields .inputs input[type=number] {
        min-height: 40px;
        font-size: 14px;
        max-width: 100%;
        background-color: #fff;
        height: 36px;
        border: 1px solid #ddd;
        padding: 8px;
        vertical-align: middle;
        border-radius: 0;
        -moz-appearance: textfield; /* Remove increase/decrease arrows from Firefox */
    }

    /* Remove increase/decrease arrows from Chrome, Edge, Safari, Opera */
    .form-fields .inputs input::-webkit-outer-spin-button,
    .form-fields .inputs input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

#add-home-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.inputs {
    text-align: center;
    margin-bottom: 20px;
    white-space: normal;
}

.subheading h5 {
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
    white-space: normal;
}

.checkbox-container {
    margin-bottom: 8px;
    text-align: left;
    display: inline-block;
    width: 95%;
}

    .checkbox-container label.copy-address-label,
    .checkbox-container label.copy-email-label,
    .checkbox-container label {
        margin-bottom: 0;
        margin-left: 5px;
        width: auto;
    }

    .checkbox-container input.copy-address-check,
    .checkbox-container input.copy-email-check,
    .checkbox-container input {
        width: auto;
        transform: scale(1.15);
    }

    .checkbox-container input[type=checkbox]{
        margin:0;
    }

.declarations {
    text-align: center;
}


.declaration {
    margin-bottom: 12px;
}

.declaration.checkbox-container {
    text-align: center;
}

#submit-application:disabled {
    cursor: not-allowed;
    background-color: #dfdfdf;
}

.apply-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 1.1em;
}

.customer-origin {
    margin-top:25px;
    margin-bottom: 25px;
}

.customer-origin .field-validation-error {
    display: inline-block;
}

label a {
    text-decoration: underline;
}

.all-caps {
    text-transform: uppercase;
    white-space: normal;
}