/*Styles for dim overlay & message box*/
#dim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: url('../pics/dim_light.png');
    display: none;
    text-align: left;
}

.msgbox {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -170px;
}

.spinner {
    display: block;
    width: 35px;
    height: 35px;
    margin: 80px 150px;
    position: relative;

    border: 2px solid #48c9b0;
    border-top-color: transparent;
    border-radius: 100%;

    -webkit-animation: spin 1s infinite linear;
    -moz-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}

.spinner:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: -6px;
    left: 3px;

    border: 6px solid transparent;
    border-bottom-color: #48c9b0;

    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes spin {
    to {
        -moz-transform: rotate(360deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

