*{
    -webkit-tap-highlight-color:transparent;
}
.app-popup-backdrop
{
    position: fixed;
    z-index: 998;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    -webkit-transition-duration: 400ms;
            transition-duration: 400ms;

    opacity: 0;
    background: rgba(0, 0, 0, .4);
}
.app-popup-backdrop.app-active
{
    opacity: 1;
}

.app-popup
{
    -webkit-user-select: none;
    position: fixed;
    z-index: 10000;
    top: 50%;
    left: 50%;

    display: none;
    overflow: hidden;

    width: 270px;

    -webkit-transition-property: -webkit-transform,opacity;
            transition-property:         transform,opacity;
    -webkit-transform: translate3d(-50%, -50%, 0) scale(1.185);
            transform: translate3d(-50%, -50%, 0) scale(1.185);
    text-align: center;

    opacity: 0;
    color: #000;
    border-radius: 13px;
}

.app-popup.app-popup-in
{
    display: block;

    -webkit-transition-duration: 400ms;
            transition-duration: 400ms;
    -webkit-transform: translate3d(-50%, -50%, 0) scale(1);
            transform: translate3d(-50%, -50%, 0) scale(1);

    opacity: 1;
}
.app-popup.app-popup-out
{
    -webkit-transition-duration: 100ms;
            transition-duration: 100ms;
    -webkit-transform: translate3d(-50%, -50%, 0) scale(1.085);
            transform: translate3d(-50%, -50%, 0) scale(1.085);

    opacity: 0;
}

.app-popup-inner
{
    position: relative;

    padding: 15px;

    border-radius: 13px 13px 0 0;
    background: rgba(255, 255, 255, .95);
}
.app-popup-inner:after
{
    position: absolute;
    z-index: 15;
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;

    display: block;

    width: 100%;
    height: 1px;

    content: '';
    -webkit-transform: scaleY(.5);
            transform: scaleY(.5);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;

    background-color: rgba(0, 0, 0, .2);
}

.app-popup-title
{
    font-size: 18px;
    font-weight: 500;

    text-align: center;
}

.app-popup-title + .app-popup-text
{
    font-family: inherit;
    font-size: 14px;

    margin: 5px 0 0;
}

.app-popup-buttons
{
    position: relative;

    display: -webkit-box;
    display: -webkit-flex;
    display:         flex;

    height: 44px;

    -webkit-box-pack: center;
    -webkit-justify-content: center;
            justify-content: center;
}

.app-popup-button
{
    font-size: 17px;
    line-height: 44px;

    position: relative;

    display: block;
    overflow: hidden;

    box-sizing: border-box;
    width: 100%;
    height: 44px;
    padding: 0 5px;

    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;

    color: #007aff;
    background: rgba(255, 255, 255, .95);

    -webkit-box-flex: 1;
}
.app-popup-button:after
{
    position: absolute;
    z-index: 15;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;

    display: block;

    width: 1px;
    height: 100%;

    content: '';
    -webkit-transform: scaleX(.5);
            transform: scaleX(.5);
    -webkit-transform-origin: 100% 50%;
            transform-origin: 100% 50%;

    background-color: rgba(0, 0, 0, .2);
}
.app-popup-button:first-child
{
    border-radius: 0 0 0 13px;
}
.app-popup-button:first-child:last-child
{
    border-radius: 0 0 13px 13px;
}
.app-popup-button:last-child
{
    border-radius: 0 0 13px 0;
}
.app-popup-button:last-child:after
{
    display: none;
}
.app-popup-button.app-popup-button-bold
{
    font-weight: 600;
}

.app-popup-input input
{
    font-size: 14px;

    width: 100%;
    height: 26px;
    margin: 15px 0 0;
    padding: 0 5px;

    border: 1px solid rgba(0, 0, 0, .3);
    border-radius: 0;
    background: #fff;
}




.app-toast-container
{
    line-height: 17px;

    position: fixed;
    z-index: 9999;
    bottom: 50px;
    left: 50%;

    -webkit-transition: opacity .3s;
            transition: opacity .3s;
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);

    opacity: 0;
}
.app-toast-container.app-active
{
    opacity: .9;
}

.app-toast-message
{
    font-size: 14px;

    padding: 10px 25px;

    text-align: center;

    color: #fff;
    border-radius: 6px;
    background-color: #323232;
}




    #loading{
        height: 100%;
        width: 100%;
        position: fixed;
        z-index: 100;
        margin-top: 0px;
        top: 0px;
    } 
    #loading-center{
        width: 100%;
        height: 100%;
        position: relative;
        }
    #loading-center-absolute {
        position: absolute;
        left: 50%;
        top: 50%;
        height: 60px;
        width: 60px;
        margin-top: -30px;
        margin-left: -30px;
        -webkit-animation: loading-center-absolute 1s infinite;
        animation: loading-center-absolute 1s infinite;

    }
    .object{
        width: 20px;
        height: 20px;
        opacity: 0.5;
        float: left;
        -moz-border-radius: 50% 50% 50% 50%;
        -webkit-border-radius: 50% 50% 50% 50%;
        border-radius: 50% 50% 50% 50%;
        margin-right: 20px;
        margin-bottom: 20px;    
    }
    .object:nth-child(2n+0) {
        margin-right: 0px;

    }
    #object_one{
        -webkit-animation: object_one 1s infinite;
        animation: object_one 1s infinite;
        }
    #object_two{
        -webkit-animation: object_two 1s infinite;
        animation: object_two 1s infinite;
        }   
    #object_three{
        -webkit-animation: object_three 1s infinite;
        animation: object_three 1s infinite;
        }       
    #object_four{
        -webkit-animation: object_four 1s infinite;
        animation: object_four 1s infinite;
        }       
        
    @-webkit-keyframes loading-center-absolute{
    100% {
        -webkit-transform: rotate(360deg); 
        transform: rotate(360deg); 
        }           
        
    }       
    @keyframes loading-center-absolute{
    100% {
        -webkit-transform: rotate(360deg); 
        transform: rotate(360deg); 
        }
    }                       
    @-webkit-keyframes object_one{
    50% {
        -webkit-transform: translate(20px,20px);
        transform: translate(20px,20px);
        background: #F0AD4E;
        opacity: 1;
        }
    }       
    @keyframes object_one{
    50% {
        -webkit-transform: translate(20px,20px);
        transform: translate(20px,20px);
        background: #F0AD4E;
        opacity: 1;
        }
    }
    @-webkit-keyframes object_two{
    50% { 
        -webkit-transform: translate(-20px,20px);
        transform: translate(-20px,20px);
        background: #8EA109;
        opacity: 1;
        }
    }       
    @keyframes object_two{
    50% { 
        -webkit-transform: translate(-20px,20px);
        transform: translate(-20px,20px);
        background: #8EA109;
        opacity: 1;
        }
    }
    @-webkit-keyframes object_three{
    50% {
        -webkit-transform: translate(20px,-20px);
        transform: translate(20px,-20px);
        background: #D64800;
        opacity: 1;
        }
    }       
    @keyframes object_three{
    50% {
        -webkit-transform: translate(20px,-20px);
        transform: translate(20px,-20px);
        background: #D64800;
        opacity: 1;
        }
    }
    @-webkit-keyframes object_four{
    50% {
        -webkit-transform: translate(-20px,-20px);
        transform: translate(-20px,-20px);
        background: #428BCA;
        opacity: 1;
        }
    }       
    @keyframes object_four{
    50% {
        -webkit-transform: translate(-20px,-20px);
        transform: translate(-20px,-20px);
        background: #428BCA;
        opacity: 1;
        }
    }







.loading-container{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;

}
.loading-container .loading-content{
    position: absolute;
    width: 100px;
    height:auto;
    left: 50%;
    margin-left: -50px;
    top: 50%;
    margin-top: -100px;
    background: rgba(0, 0, 0, 0.5);
    color: #FFF;
    padding:1rem;
    border-radius: 0.3rem;
    text-align: center;
    font-size: 0.8rem;
}
.loading-container .loading-content .loading-icon{
    width: 1.5rem;height: 1.5rem;
    background: #FFF;
    border-radius: 50%;
    display: block;
    -webkit-animation: load-run 1s linear infinite;
    animation: load-run 1s  linear infinite;
    margin: 0 auto;

}

@-webkit-keyframes load-run {
    0% {
        -webkit-transform: scale(0.3);
        transform: scale(0.3);
        opacity: 0.8;
    }
    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        -webkit-transform: scale(0.3);
        transform: scale(0.3);
        opacity: 0.8;
    }
}