﻿/*
SmartStore throbber
Version: 1, Timestamp: 18.08.2012
*/

.throbber {
    display: none;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2147483640;
    background-color: rgba(0,0,0, 0.7);

    &.white {
        background-color: rgba(255,255,255, 0.85);
    }

    body > & {
        position: fixed;
    }

    .throbber-flex {
        width: 100%;
        height: 100%;
        position: absolute;
        .display-flex();
        .flex-center();

        > * {
            text-align: center;
        }
    }

    .throbber-content {
        display: block;
        overflow: hidden;
        line-height: 1.3;

        &:not(:empty) {
            margin-bottom: 30px;
        }
    }

    &.large .throbber-content {
        font-size: 42px;
        font-weight: 100;
    }

    &.small .throbber-content {
        font-size: 16px;
        font-weight: 600;
    }

    &:not(.white) .throbber-content {
        color: #fff;
    }
}
