#loader {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    z-index: 10000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    font-size: 0;
    height: auto;
}

@-webkit-keyframes clockwise {
    0% {
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes clockwise {
    0% {
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes counter-clockwise {
    0% {
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(-360deg);
        -ms-transform: rotate(-360deg);
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@-moz-keyframes counter-clockwise {
    0% {
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(-360deg);
        -ms-transform: rotate(-360deg);
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

.loader-container {
    position: absolute;
    top: 40%;
    left: 50%;
    margin-left: -200px;
}

#loadText {
    max-width: 400px;
    text-align: center;
    font-size: 24px;
    color: #fff;
    font-weight: 600;
    padding: 0px 14px;
}

.gearbox {
    width: 400px;
    height: 190px;
    position: relative;
    overflow: hidden;
    /*
zoom: .8;
margin-left: 50px;
*/
}

.gear {
    position: absolute;
    height: 60px;
    width: 60px;
    -moz-border-radius: 30px !important;
    -webkit-border-radius: 30px !important;
    ;
    border-radius: 30px !important;
    ;
}

.gear.large {
    height: 120px;
    width: 120px;
    -moz-border-radius: 60px !important;
    ;
    -webkit-border-radius: 60px !important;
    ;
    border-radius: 60px !important;
    ;
}

.gear.large:after {
    height: 96px;
    width: 96px;
    -moz-border-radius: 48px !important;
    ;
    -webkit-border-radius: 48px !important;
    ;
    border-radius: 48px !important;
    ;
    margin-left: -48px;
    margin-top: -48px;
}

.gear.medium {
    height: 90px;
    width: 90px;
    -moz-border-radius: 45px !important;
    ;
    -webkit-border-radius: 45px !important;
    ;
    border-radius: 45px !important;
    ;
}

.gear.medium:after {
    height: 66px;
    width: 66px;
    -moz-border-radius: 33px !important;
    ;
    -webkit-border-radius: 33px !important;
    ;
    border-radius: 33px !important;
    ;
    margin-left: -33px;
    margin-top: -33px;
}

.gear.one {
    top: 10px;
    left: 180px;
}

.gear.two {
    top: 55px;
    left: 226px;
}

.gear.four {
    top: 58px;
    left: 84px;
}

.gear:after {
    content: "";
    position: absolute;
    height: 36px;
    width: 36px;
    -moz-border-radius: 36px !important;
    ;
    -webkit-border-radius: 36px !important;
    ;
    border-radius: 36px !important;
    ;
    background: rgba(0, 0, 0, 0.5);
    background: #303030;
    top: 50%;
    left: 50%;
    margin-left: -18px;
    margin-top: -18px;
    z-index: 3;
}

.gear-inner {
    position: relative;
    height: 100%;
    width: 100%;
    background: #E3B500;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -moz-border-radius: 30px !important;
    ;
    -webkit-border-radius: 30px !important;
    ;
    border-radius: 30px !important;
    ;
}

.large .gear-inner {
    -moz-border-radius: 60px !important;
    ;
    -webkit-border-radius: 60px !important;
    ;
    border-radius: 60px !important;
    ;
}

.medium .gear-inner {
    -moz-border-radius: 45px !important;
    ;
    -webkit-border-radius: 45px !important;
    ;
    border-radius: 45px !important;
    ;
}

.gear.one .gear-inner {
    -webkit-animation: counter-clockwise 1.5s infinite linear;
    -moz-animation: counter-clockwise 1.5s infinite linear;
}

.gear.two .gear-inner {
    -webkit-animation: clockwise 1.5s infinite linear;
    -moz-animation: clockwise 1.5s infinite linear;
}

.gear.four .gear-inner {
    -webkit-animation: clockwise 3s infinite linear;
    -moz-animation: clockwise 3s infinite linear;
}

.gear-inner .bar {
    background: #E3B500;
    height: 16px;
    width: 76px;
    position: absolute;
    left: 50%;
    margin-left: -38px;
    top: 50%;
    margin-top: -8px;
    -moz-border-radius: 2px !important;
    ;
    -webkit-border-radius: 2px !important;
    ;
    border-radius: 2px !important;
    ;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.large .gear-inner .bar {
    margin-left: -68px;
    width: 136px;
}

.medium .gear-inner .bar {
    margin-left: -52.7px;
    width: 105.4px;
}

.gear-inner .bar:nth-child(2) {
    -moz-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    -webkit-transform: rotate(60deg);
    transform: rotate(60deg);
}

.gear-inner .bar:nth-child(3) {
    -moz-transform: rotate(120deg);
    -ms-transform: rotate(120deg);
    -webkit-transform: rotate(120deg);
    transform: rotate(120deg);
}

.gear-inner .bar:nth-child(4) {
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.gear-inner .bar:nth-child(5) {
    -moz-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
}

.gear-inner .bar:nth-child(6) {
    -moz-transform: rotate(150deg);
    -ms-transform: rotate(150deg);
    -webkit-transform: rotate(150deg);
    transform: rotate(150deg);
}
