/* Error Messages */
#error-message {
    font-size: 0.9em;
}

/* Site Colors */
.primary-color {
    color: #345;
}
.secondary-color {
    color: #ef994b;
}

/* Title Font */
.title {
    font-family: 'Lato', sans-serif;
}

/* Notification CSS */
#notification {
    position: fixed;
    top: 10px;
    width: 100%;
    z-index: 100;
}
#notification .alert {
    margin-bottom: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
    width: 80%;
}

/* Overlay CSS */
#overlay {
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    overflow: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 5;
}

/* Popup CSS */
#popup {
    background-color: white;
    border: 1px solid #999;
    border-radius: 4px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
    display: table;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 10px;
}

/* Confirmation CSS */
#sure {
    background-color: #ccc;
    border-radius: 4px;
    padding: 0 5px 5px;
    position: absolute;
    z-index: 1100;
}
#sure:before {
    border-color: #ccc transparent;
    border-style: solid;
    border-width: 10px 10px 0;
    bottom: -10px;
    content: '';
    height: 0;
    left: 50%;
    margin-left: -10px;
    position: absolute;
    width: 0;
}
#sure:focus {
    background-color: red;
}
#sure p {
    margin-bottom: 0;
}

/* Spinner CSS */
.spinner {
    display: inline-block;
    width: 40px;
    text-align: center;
}

.spinner .bounce1, .spinner .bounce2, .spinner .bounce3 {
    width: 9px;
    height: 9px;
    background-color: #234;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    } 40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

/* Progress Bar Spinner Overwrite */
#nprogress .spinner-icon {
    border-width: 3px;
    height: 25px;
    width: 25px;
}