/* ==========================================================================
   Spinner styles
   ========================================================================== */

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.loader {
    margin: auto;
    overflow: hidden;
}

.loader.loader-overlay {
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    height: 14em;
}

.loader .spinner {
    font-size: 1em;
    border-radius: 50%;
    border-top: 1.1em solid rgba(1, 92, 174, 0.2);
    border-right: 1.1em solid rgba(1, 92, 174, 0.2);
    border-bottom: 1.1em solid rgba(1, 92, 174, 0.2);
    border-left: 1.1em solid #BBB;
    height: 8em;
    width: 8em;
    margin: 2em auto;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load8 .8s infinite linear;
    animation: load8 .8s infinite linear;
}

.loader.loader-inline {
    height: 0;
    overflow: visible;
    text-align: right;
}

.loader.loader-inline .spinner {
    border-width: 1.5em;
    display: inline-block;
    font-size: 2px;
    margin: 0 5em;
    top: -27px;
    z-index: 9;
}

.address-picklist-container {
    position: absolute;
    width: 100%;
    margin-top: 0px;
    z-index: 9;
}


/* ==========================================================================
   Picklist Styles
   ========================================================================== */

.address-picklist {
    background-color: whitesmoke;
    border: 2px solid darkgrey;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-sizing: border-box;
    max-height: 206px;
    overflow: auto;
    overflow-x: hidden;
    padding: 0;
}

.address-picklist div,
.use-address-entered {
    font-family: 'Work Sans', sans-serif;
    color: darkslategrey;
    font-size: 14px;
    line-height: 1.4;
    padding: 5px 11px;
    margin-top: 0em;
}

.use-address-entered {
    background-color: whitesmoke;
    border: 2px solid #BBB;
    border-top: 0;
    margin-top: -1px;
}

.use-address-entered:hover {
    background: #FFAFAF;
    cursor: pointer;
}

.address-picklist div:first-child:hover,
.address-picklist .selected:first-child {
    border-top: 0;
    padding-top: 5px;
}

.address-picklist div:last-child:hover,
.address-picklist .selected:last-child {
    border-bottom: 0;
    padding-bottom: 5px;
}

.address-picklist div:hover,
.address-picklist .selected {
    cursor: pointer;
    background: #84D2F6;
    border-bottom: 1px solid #BBB;
    border-top: 1px solid #BBB;
    padding: 4px 11px;
}

.address-picklist .info,
.address-picklist .info:hover {
    background: lightyellow;
    font-style: italic;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.address-picklist .error,
.address-picklist .error:hover {
    background: lightpink;
    font-style: italic;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.formatted-address {
    border-radius: 4px;
    line-height: 24px;
    margin: 5px auto;
}

.formatted-address .search-again-link {
    background: #d14;
    color: white;
    display: block;
    padding: 5px;
    font-size: 14px;
    line-height: 18px;
    margin-top: 5px;
    text-align: center;
    text-decoration: none;
    width: 20%;
}

.formatted-address h3 {
    color: #00be8b;
    font-size: 2em;
    font-family: "OpenSansLight", Arial, sans-serif;
    line-height: 1.1;
    margin: 0 auto 10px;
}


/* ==========================================================================
   Output and Error Styles
   ========================================================================== */

#output {
    margin-left: 120px;
    margin-bottom: 20px;
    font-style: normal;
    line-height: 1.42857143;
}

#error {
    color: firebrick;
}