/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 31-08-2014, 09:39:18 PM
    Author     : mrojas
*/


#BlackOutHandler {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    background:
        radial-gradient(circle at 50% 45%, rgba(0, 161, 222, 0.14), transparent 34%),
        rgba(10, 35, 59, 0.9);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    display: none;
}

#BlackOutHandler.blackout--content {
    top: 60px;
    left: 220px;
    z-index: 998;
    width: calc(100% - 220px);
    height: calc(100% - 60px);
}

#wrapper.enlarged ~ #BlackOutHandler.blackout--content {
    left: 70px;
    width: calc(100% - 70px);
}

#BlackOutHandler .container-fluid {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 700px;
}

#BlackOutHandler .spinner {
    top: 50%;
    left: 50%;
    z-index: 1;
    height: 84px;
    width: 84px;
    margin-left: -42px;
    margin-top: -72px;

    -webkit-transform: none;
    transform: none;

    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    background: #fff url("../../../../iso.svg") center center / 54px 54px no-repeat;
    box-shadow:
        0 16px 40px rgba(3, 24, 39, 0.34),
        0 0 0 7px rgba(255, 255, 255, 0.09);
    -webkit-animation: gascoLogoPulse 1.8s infinite ease-in-out;
    animation: gascoLogoPulse 1.8s infinite ease-in-out;
}

#BlackOutHandler .spinner::before {
    content: "";
    position: absolute;
    inset: -11px;
    border: 3px solid rgba(0, 161, 222, 0.32);
    border-top-color: #00a1de;
    border-right-color: #da291c;
    border-radius: 50%;
    -webkit-animation: gascoEnergyOrbit 1.25s infinite linear;
    animation: gascoEnergyOrbit 1.25s infinite linear;
}

#BlackOutHandler .spinner::after {
    content: "";
    position: absolute;
    right: 6px;
    bottom: 7px;
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #da291c;
    box-shadow: 0 0 0 4px rgba(218, 41, 28, 0.14);
}

#BlackOutHandler .spinner span {
    display: none;
}

#BlackOutHandler .textloader{
    top: 51%;
    left: 0;
    z-index: 1;
    width: 100%;
    position: relative;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(3, 24, 39, 0.4);
}

@-webkit-keyframes gascoEnergyOrbit {
    to { -webkit-transform: rotate(360deg); }
}

@keyframes gascoEnergyOrbit {
    to { transform: rotate(360deg); }
}

@-webkit-keyframes gascoLogoPulse {
    0%, 100% {
        -webkit-transform: scale(0.98);
        box-shadow: 0 16px 40px rgba(3, 24, 39, 0.34), 0 0 0 7px rgba(255, 255, 255, 0.09);
    }
    50% {
        -webkit-transform: scale(1.03);
        box-shadow: 0 18px 46px rgba(3, 24, 39, 0.4), 0 0 0 12px rgba(0, 161, 222, 0.1);
    }
}

@keyframes gascoLogoPulse {
    0%, 100% {
        transform: scale(0.98);
        box-shadow: 0 16px 40px rgba(3, 24, 39, 0.34), 0 0 0 7px rgba(255, 255, 255, 0.09);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 18px 46px rgba(3, 24, 39, 0.4), 0 0 0 12px rgba(0, 161, 222, 0.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    #BlackOutHandler .spinner,
    #BlackOutHandler .spinner::before {
        -webkit-animation: none;
        animation: none;
    }
}

@media (max-width: 767px) {
    #BlackOutHandler.blackout--content,
    #wrapper.enlarged ~ #BlackOutHandler.blackout--content {
        left: 0;
        width: 100%;
    }
}
