/*
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 : Dec 17, 2019, 7:07:37 PM
    Author     : mustafajalaleldeen
*/

.startup {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 0px;
    z-index: 200000;
    background: #e8e8e8;
}

.startup-img {
    position: absolute;
    opacity: 0;
    top: 50%;
    left: 50%;
    width: 8em;
    height: 8em;
    animation: beat 0.6s infinite alternate;
    transform: translate(-50%,-50%);
}

/* Heart beat animation */
@keyframes beat{
    to { 
        transform: translate(-50%,-50%) scale(1.2);
    }
}

* { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -ms-box-sizing:border-box; -o-box-sizing:border-box; box-sizing:border-box; }

html { width: 100%; height:100%; overflow:hidden; }

@font-face {
    font-family: 'alpost';
    src: URL('static/alPost-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'alpostb';
    src: URL('static/alPost-Bold.ttf') format('truetype');
}
@font-face {
    font-family: 'alpostl';
    src: URL('static/alPost-Light.ttf') format('truetype');
}

.fully-hidden {
    display: none;
    position: fixed;
    top: 100vh;
    left: -100vw;
    width: 0px;
    height: 0px;
    opacity: 0;
}

.btn {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    padding: 4px 10px 4px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 18px;
    color: #333333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    background-color: #f5f5f5;
    background-repeat: repeat-x;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    *margin-left: .3em;
}

.btn:hover,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
    background-color: #e6e6e6;
}

.btn-large {
    padding: 2px 3px;
    font-size: 13px;
    line-height: normal;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.btn:hover {
    color: #333333;
    text-decoration: none;
    background-color: #e6e6e6;
    background-position: 0 -15px;
    -webkit-transition: background-position 0.1s linear;
    -moz-transition: background-position 0.1s linear;
    -ms-transition: background-position 0.1s linear;
    -o-transition: background-position 0.1s linear;
    transition: background-position 0.1s linear;
}

.btn-primary,
.btn-primary:hover {
}

.btn-primary.active {
    color: rgba(255, 255, 255, 0.75);
}

.btn-primary {
    background-color: #242424;
    background-repeat: repeat-x;
    border: 1px solid #fff;
    filter: grayscale(100%) contrast(300%) brightness(200%);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
    background-color: #242424;
    filter: none;
}

.btn-block {
    width: 100%;
    display: block;
}

body { 
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: alpost;
    background: #e8e8e8;
}

.login-subtitle {
    position: absolute;
    left: 0px;
    bottom: -40px;
    width:100%;
    color: #777;
    font-size: 9.5px;
    font-family: alpostl;
    text-align: center;
}

.login { 
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -200px 0 0 -200px;
    width:400px;
    height:400px;
    background-color: #fff;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 10px;
}
.home-container {
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home { 
    position: absolute;
    width:auto;
    height:auto;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    border-radius: 10px;
}

.login-title {
    margin-left: 8px;
    margin-right: 8px;
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 18px;
    font-family: alpostl;
    text-align: center;
    color: #444;
}

.home-curved:before {
    top:40px;
    bottom:40px;
    left:0;
    right:0;
    -webkit-box-shadow:0 0 50px rgba(0,0,0,0.6);
    -moz-box-shadow:0 0 50px rgba(0,0,0,0.6);
    box-shadow:0 0 50px rgba(0,0,0,0.6);
    -moz-border-radius:90px / 120px;
    border-radius:90px / 120px;
}

.drop-shadow {
    background-color: #fff;
    -webkit-box-shadow:0 1px 42px rgba(0, 0, 0, 0.01);
    -moz-box-shadow:0 1px 42px rgba(0, 0, 0, 0.01);
    box-shadow:0 1px 42px rgba(0, 0, 0, 0.01);
}

.drop-shadow:before,
.drop-shadow:after {
    content:"";
    position:absolute;
    z-index:-2;
}

.curved:before {
    top:60px;
    bottom:60px;
    left:0;
    right:0;
    -webkit-box-shadow:0 0 60px rgba(0,0,0,0.4);
    -moz-box-shadow:0 0 60px rgba(0,0,0,0.4);
    box-shadow:0 0 60px rgba(0,0,0,0.4);
    -moz-border-radius:80px / 120px;
    border-radius:80px / 120px;
}

.btn-login-img {
    width: 34px;
    height: 34px;
    margin: 6px;
}

.login-image {
    margin: 8px;
    width: 90px;
    height: 90px;
    margin-top: -40px;
}

.login h4 { color: #ff8888; text-align:left; }

.login {
    opacity: 1;
    transition: opacity 0.1s; 
}

.login.fade {
    opacity: 0;
}

.redirect { 
    position: absolute;
    top: 30%;
    left: 50%;
    margin: -150px 0 0 -150px;
    width:300px;
    height:60px;
}

.redirect h1 { color: #000; text-shadow: 0 0 10px rgba(0,0,0,0.3); letter-spacing:1px; text-align:center; }

.redirect {
    opacity: 0;
    transition: opacity 1s; 
}

.redirect.fade {
    opacity: 1;
}

.loader {
    border: 5px solid white;
    border-top: 5px solid #32a2ef;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    animation: spin 2s linear infinite;
    display: inline-block;
    margin-bottom: 5px;
    filter: none;
}

@keyframes blink {
    /**
     * At the start of the animation the dot
     * has an opacity of .2
     */
    0% {
        opacity: .2;
    }
    /**
     * At 20% the dot is fully visible and
     * then fades out slowly
     */
    20% {
        opacity: 1;
    }
    /**
     * Until it reaches an opacity of .2 and
     * the animation can start again
     */
    100% {
        opacity: .2;
    }
}

.blinker span {
    /**
     * Use the blink animation, which is defined above
     */
    animation-name: blink;
    /**
     * The animation should take 1.4 seconds
     */
    animation-duration: 1.4s;
    /**
     * It will repeat itself forever
     */
    animation-iteration-count: infinite;
    /**
     * This makes sure that the starting style (opacity: .2)
     * of the animation is applied before the animation starts.
     * Otherwise we would see a short flash or would have
     * to set the default styling of the dots to the same
     * as the animation. Same applies for the ending styles.
     */
    animation-fill-mode: both;
}

.blinker span:nth-child(2) {
    /**
     * Starts the animation of the third dot
     * with a delay of .2s, otherwise all dots
     * would animate at the same time
     */
    animation-delay: .2s;
}

.blinker span:nth-child(3) {
    /**
     * Starts the animation of the third dot
     * with a delay of .4s, otherwise all dots
     * would animate at the same time
     */
    animation-delay: .4s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

input { 
    width: 100%; 
    margin-top: 10px;
    margin-bottom: 10px; 
    border: none;
    outline: none;
    padding: 16px;
    font-size: 13px;
    color: #121212;
    border-radius: 8px;
    -webkit-transition: box-shadow .5s ease;
    -moz-transition: box-shadow .5s ease;
    -o-transition: box-shadow .5s ease;
    -ms-transition: box-shadow .5s ease;
    transition: box-shadow .5s ease;
    background-color: rgba(0.4,0.4,0.4,0.1);
}

.input-icon {
    position: absolute;
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-top: 24px;
    margin-left: -34px;
}

.button-icond {
    width: 44px;
    height: 44px;
    padding: 6px;
    margin: 4px;
    display: inline-block;
    filter: grayscale(100%) contrast(0%) brightness(0%);
    cursor: default;
}

.button-icon {
    width: 44px;
    height: 44px;
    padding: 6px;
    margin: 4px;
    display: inline-block;
    filter: grayscale(100%) contrast(0%) brightness(0%);
    cursor: pointer;
}

.button-iconw {
    width: 44px;
    height: 44px;
    padding: 6px;
    margin: 4px;
    display: inline-block;
    filter: grayscale(100%) contrast(200%) brightness(300%);
}

.button-icon:hover,
.button-iconw:hover {
    filter: none;
}

.button-iconwn {
    width: 44px;
    height: 44px;
    padding: 6px;
    margin: 4px;
    display: inline-block;
    filter: grayscale(100%) contrast(200%) brightness(300%);
    transition: all .2s ease-in-out;
}

.button-iconwn:hover {
    filter: none;
    transform: scale(1.2,1.2);
}

.button-disabled, .button-disabled:hover{
    filter: grayscale(100%) contrast(100%) brightness(100%);
    cursor: default;
    pointer-events: none;
}
