.bdu-providers-container {
    border-bottom: 1px solid #ccc;
    flex: 1 1 auto;
    margin: 8px auto;
    overflow-y: scroll;
    width: 80%;
}

    .bdu-providers.loading, #single-bdu.loading {
        min-height: 131px;
        background: url('../assets/loader-whitebg.gif') no-repeat center center;
    }

.bdu-providers {
    display: flex;
    flex-flow: row wrap;
    list-style: none;
    padding: 0;
    width: 100%;
    height: 100%;
}

    .bdu-providers li {
        width: 31%; /* Default to 3 bdu's per row */
        margin: 1%;
    }

    .bdu-providers a, .bdu-providers img {
        display: block;
    }

    .bdu-providers a {
        display: block;
        position: relative;
        padding: 8% 5%;
        background-color: #efefef;
    }

    .bdu-providers img {
        max-width: 100%;
        height: auto;
        margin: auto;
        border: none;
    }

/* The Modal (background) */
.auth-modal-overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100000000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    -webkit-overflow-scrolling: touch;
}

/* Modal Content/Box */
.auth-modal {
    background-color: #fefefe;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #000;
    display: flex;
    flex-direction: column;
    left: 50%;
    overflow: hidden;
    padding: 10px;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* Could be more or less, depending on screen size */
}

.noscroll {
    overflow: hidden;
    position: fixed;
    width: 100vw;
}

/* The Back button */
.auth-modal-back {
    display: none;
    font-size: 0.75rem;
    left: 9px;
    position: absolute;
    top: 13px;
}

.auth-modal-back:hover,
.auth-modal-back:focus {
    cursor: pointer;
    text-decoration: none;
}

#signin-modal-overlay[data-stage="2"] .auth-modal-back {
    display: block;
}

/* The Close Button */
.auth-modal-close {
    color: #ccc;
    font-size: 25px;
    font-weight: bold;
    position: absolute;
    right: 13px;
    top: 5px;
}

.auth-modal-close:hover,
.auth-modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.auth-modal-close-button {
    width: 30%;
    align-self: center;
}

/* Modal Header */
.auth-modal-header {
    border-bottom: 1px solid #ccc;
    flex: 0 0 auto;
    margin-top: 8px;
}

.auth-modal-body {
    display: flex;
    flex: 1 0 0px;
    flex-direction: row;
    flex-wrap: nowrap;
    min-height: 0;
    overflow: hidden;
}

.auth-modal-step {
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    transition: all 0.4s ease-out;
}

#single-bdu {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#single-bdu iframe {
    flex: 1 1 auto;
    width: 100%;
}

.auth-no-resources-error {
    display: none;
}

.auth-modal-close-button {
    color: black;
}

#signin-modal-overlay[data-stage="2"] .auth-modal-step {
    transform: translateX(-100%);
}

#signin-modal-overlay[data-stage="3"] .auth-modal-step {
    transform: translateX(-200%);
    transition: none;
}

.signin-title {
    font-size: 1rem;
    font-weight: bold;
}

.signin-steps {
    display: inline-flex;
    margin: 10px auto;
    padding: 0;
    position: relative;
    width: 50%;
}

.signin-steps::after {
    border-bottom: 1px solid #3c3;
    bottom: 0;
    content: '';
    left: 0;
    position: absolute;
    transition: all 0.4s ease-out;
    width: 33.33%;
}

#signin-modal-overlay[data-stage="2"] .signin-steps::after {
    left: 33.33%;
}

#signin-modal-overlay[data-stage="3"] .signin-steps::after {
    left: 66.66%;
}

.signin-step {
    display: flex;
    flex: 1 0 0px;
    font-size: 1rem;
    justify-content: center;
    padding: 5px 0;
}

.auth-modal-text {
    flex: 0 0 auto;
    margin: 0;
    overflow: auto;
}

.auth-modal-text h3 {
    font-size: .8rem;
}

.auth-modal-text p {
    font-size: .8rem;
    margin-bottom: 4px;
}

/* Modal Footer */
.auth-modal-footer {
    flex: 0 0 auto;
    margin-top: 15px;
}

.auth-modal-footer p {
    font-size: .8rem;
    margin-bottom: 4px;
}

/* Modal Error page */
.auth-modal-error {
    display: none;
    padding: 100px;
}

/* #signin-modal-overlay.cookieError .auth-modal-header, */
#signin-modal-overlay.cookieError .auth-modal-body {
    display: none;
}

#signin-modal-overlay.cookieError .auth-modal-error {
    display: block;
}

.fa-warning {
    color: #ff0000;
}
