
.primaryButton, .secondaryButton {
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Open Sans",Arial,sans-serif;
    font-weight: normal;
    padding: 10px 30px;
    border: 1px solid transparent;
    -webkit-appearance: none;
    font-size: 0.875em !important;
    padding: 10px 30px !important;
    text-shadow: none;
}

.primaryButton {
    background-color: #0C2340;
    color: #fff;
    fill: #fff;
}

.secondaryButton {
    border: 1px solid #0C2340;
    background-color: #fff;
    color: #0C2340;
    fill: #0C2340;
}

#pageHeader {
    background-image: url(/desktopmodules/mvc/cardapplication/img/books-ebooks-subheader.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-attachment: scroll;
    background-size: contain;
    min-height: 225px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 40px;
}

    #pageHeader h1 {
        color: #0a2240;
        font-family: "Open Sans", sans-serif;
        font-weight: 800;
        font-size: 48px;
        line-height: 1;
        text-transform: none;
        float: right;
    }

p.introText {
    font-size: 20px;
    line-height: 28px;
}

.cardApplicationContainer, .confirmApplicationContainer {
    max-width: 600px;
    margin: auto;
    display: flex;
    padding-bottom: 30px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

#cardAppForm {
    flex-grow: 1;
}

.progressBarContainer ol {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height:300px;
}

.form-step {
    display: none;
}

    .form-step:first-of-type {
        display: block;
    }

.form-field {
    margin-bottom: 15px;
    width: 100%;
}

    .form-field label {
        display: block;
        line-height: 18px;
    }

    .form-field input, .form-field select {
        width: 100%;
    }

    .form-field.checkbox-field {
        display: flex;
    }

        .form-field.checkbox-field input {
            width: 20px;
            margin: 2px 10px 0 0;
        }

        .form-field.checkbox-field label {
            flex: 1;
        }

    .form-field.radio-list label {
        display: flex;
    }

    .form-field.radio-list input {
        width: auto;
        margin-right: 5px;
    }


input[disabled] {
    border: none;
    background: none;
}

.birthdayMessage {
    display:none;
}

.saveEdit, .saveAddressEdit, .saveMailingEdit {
    display: none;
}

.invalidMailing, .invalidStreet {
    display: none;
    color: red;
}

.form-instructions {
    font-size: 12px;
    margin-bottom: 5px;
    margin-top: -5px;
}

.buttonWrapper {
    display: flex;
    justify-content: space-between;
}

    .buttonWrapper.singleButton {
        justify-content: end;
    }

    .buttonWrapper button {
        width: 49%;
    }






.borrower-information {
    border: 2px solid black;
    padding: 10px;
    margin-bottom: 10px;
}

    .borrower-information.personalInfo {
        border-color: #0C2340;
    }

    .borrower-information.streetAddress, .borrower-information.mailingAddress {
        border-color: #0092BD;
    }

    .borrower-information.contactInfo {
        border-color: #34B78F;
    }

    .borrower-information.cardTypeInfo {
        border-color: #FFB81C;
    }

    .borrower-information .text-field, .borrower-information .select-field, .borrower-information .radio-list {
        display: flex;
        flex-direction: column
    }

    .borrower-information .checkbox-field {
        display: flex;
    }

    .borrower-information .text-field label, .borrower-information .select-field label {
        margin-bottom: 0;
        line-height: 22px;
    }

    .borrower-information .text-field input, .borrower-information .select-field select {
        margin-bottom: 10px;
    }

    .borrower-information .checkbox-field input {
        margin-right: 10px;
    }

    .borrower-information .radio-list, .borrower-information .checkbox-field {
        margin-bottom: 10px;
    }

p.sectionHeader {
    font-weight: 700;
    margin-bottom: 0;
}



.input-validation-error {
    border: 2px solid red;
}

.validation-error, .error {
    color: red;
    font-weight: bold;
}

.formError {
    display: none;
    border: 2px solid red;
    color: red;
    margin-bottom: 10px;
    font-weight: bold;
    padding: 10px;
    padding-bottom: 0;
    ;
}

#mailing-address {
    display: none;
}

#cell-phone {
    display: none;
}

.under-18, .guardian-name, .guardian-contact, .educator, .restriction-type, .school-information {
    display: none;
}

#other-provider {
    display: none;
}

#bibliocommonsLoginForm {
    display: none;
}

#BcForm {
    height: 100%;
}

/*progress bar*/
.progressBarContainer {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
    padding: 20px;
    min-width: 200px;
    font-size: 14px;
    height: 300px;
}

    .progressBarContainer .fa-stack {
        color: #777;
    }

.progressSection {
    height: 25%;
    border-left: 2px solid #777;
    position: relative;
}

.stepWrapper {
    position: absolute;
    top: -15px;
    left: -15px;
}


.progressSection .fa-check {
    display: none;
}

.reviewInfoContainer {
    height: auto;
}

.personalInfoContainer.active, .personalInfoContainer.complete {
    border-color: #0C2340
}

    .personalInfoContainer.active .fa-stack, .personalInfoContainer.complete .fa-stack {
        color: #0C2340
    }

.addressContainer.active, .addressContainer.complete {
    border-color: #0092BD
}

    .addressContainer.active .fa-stack, .addressContainer.complete .fa-stack {
        color: #0092BD
    }

.contactInfoContainer.active, .contactInfoContainer.complete {
    border-color: #34B78F
}

    .contactInfoContainer.active .fa-stack, .contactInfoContainer.complete .fa-stack {
        color: #34B78F
    }

.cardTypeInfoContainer.active, .cardTypeInfoContainer.complete {
    border-color: #FFB81C
}

    .cardTypeInfoContainer.active .fa-stack, .cardTypeInfoContainer.complete .fa-stack {
        color: #FFB81C
    }

.reviewInfoContainer.active, .reviewInfoContainer.complete {
    border-color: #E56A54
}

    .reviewInfoContainer.active .fa-stack, .reviewInfoContainer.complete .fa-stack {
        color: #E56A54
    }

    .personalInfoContainer.complete .fa-check, .addressContainer.complete .fa-check, .contactInfoContainer.complete .fa-check, .cardTypeInfoContainer.complete .fa-check, .reviewInfoContainer.complete .fa-check {
        display: block
    }

/**Loading screen**/

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
}

    .loading.show {
    }

.animationContainer {
    position: absolute;
    height: 50px;
    width: 135px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

div div.ball {
    width: 20px;
    position: relative;
    display: inline-block;
    margin: 5px;
    height: 20px;
    border-radius: 50%;
    z-index: 999;
}

.ball-one {
    background-color: #0092BD;
    animation: jump .5s ease 0s infinite alternate;
}

.ball-two {
    background-color: #34B78F;
    animation: jump .5s ease .15s infinite alternate;
}

.ball-three {
    background-color: #FFB81C;
    animation: jump .5s ease .25s infinite alternate;
}

.ball-four {
    background-color: #E56A54;
    animation: jump .5s ease .35s infinite alternate;
}

.shadow {
    position: relative;
    opacity: .1;
    bottom: 20px;
    width: 20px;
    height: 5px;
    border-radius: 50%;
    background-color: black;
    display: inline-block;
    margin: 5px;
}

.shadow-one {
    animation: shrink .5s ease .0s infinite alternate;
}

.shadow-two {
    animation: shrink .5s ease .15s infinite alternate;
}

.shadow-three {
    animation: shrink .5s ease .25s infinite alternate;
}

.shadow-four {
    animation: shrink .5s ease .35s infinite alternate;
}

@keyframes jump {
    0% {
        transform: scaleY(.8);
    }

    100% {
        transform: translateY(-70px);
    }
}

@keyframes shrink {
    100% {
        transform: scaleX(.5);
        opacity: .01;
    }
}

/**Mobile**/

@media ( max-width: 900px ) {
    #pageHeader h1 {
        font-size: 32px;
    }
}

@media ( max-width: 575px ) {
    #pageHeader h1 {
        margin-top: 32px;
    }

    .cardApplicationContainer, .confirmApplicationContainer {
        flex-direction: column;
    }

    .progressBarContainer {
        flex-direction: row;
        min-width: 100%;
        height: auto;
        padding: 0;
    }

    .progressSection {
        border-left: none;
        border-top: 2px solid #777;
        height: auto;
        width: 20%;
        min-width: auto;
    }


    .stepWrapper {
        position: initial;
        top: 0;
        left: 0;
        margin-top: -15px;
        text-align: center;
    }

    .progressSectionLabel {
        display: block;
    }
}
