/* BASICS */
*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;

    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    outline: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;


    -webkit-backface-visibility: hidden;
}

html, body {
    height: 100%;
}

body {
    -webkit-text-size-adjust: 100%;
    min-height: 100%;
    font-family: 'Source Sans Pro', sans-serif;
    background: #e4e9ec;
    color: #102129;
    font-size: 16px;
    position: relative;
}
    body::after {
        content: '';
        display: block;
        clear: both;
    }

a {
    text-decoration: none;
    color: gray;
}


input[type="number"] {
    -moz-appearance:textfield !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input, select, textarea, button
    {
    font-family:inherit;
    font-size: 14px;
    }

input[type="submit"] {
    border: none;
    outline: 0;
    cursor: pointer;
    font-family: 'Source Sans Pro', sans-serif;
}

/* BUTTONS */
.btn {
    display: block;
    color: #fcfcfc;
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
    padding: 15px;
    border-radius: 3px;
    text-align: center;
    transition: .2s;

    background-color: #00a2ff;
	background-image: -webkit-linear-gradient(right, #0cf 1%, #00a2ff);
	background-image: -moz-linear-gradient(right, #0cf 1%, #00a2ff);
	background-image: -o-linear-gradient(right, #0cf 1%, #00a2ff);
	background-image: -ms-linear-gradient(right, #0cf 1%, #00a2ff);
	background-image: linear-gradient(to left, #0cf 1%, #00a2ff);
}

.btn:hover {
    background: #00a2ff;
}



.btn.ghost {
    background: none;
    border-radius: 1px;
    font-size: 14px;
    border: 2px solid #39414e;
}

/* INPUTS*/

.login-input {
    position: relative;
}
    .login-input input {
        height: 30px;
        border: none;
        border-bottom: 1px solid #d3dade;
        background: none;
        width: 100%;
        margin-bottom: 30px;
        padding-left: 35px;
        border-radius: 0;
    }

    .login-input span {
        position: absolute;
        left: 6px;
        top: 7px;
        color: #9da6ab;
        transition: .2s;
    }

    .login-input input:focus+span {
        color: #39414e;
    }


.checkbox {
    position: relative;
    padding-left: 40px;
    height: 25px;
    display: inline-block;
}
    .checkbox input {
        opacity: 0;
        position: absolute;
        left: 0;
    }

    .checkbox label {
        font-size: 14px;
        color: #102129;
        line-height: 24px;
        vertical-align: middle;
    }
        .checkbox label:before {
            background-color: #fff;
            border: 1px solid #d3dade;
            border-radius: 2px;
            content: "";
            display: inline-block;
            height: 25px;
            width: 25px;
            left: 0;
            position: absolute;
            cursor: pointer;
            text-align: center;
            font-size: 12px;
            line-height: 23px;
            font-family: "iflow-dashboard" !important;
            content: "\69";
            color: transparent;
            transition: .2s;
        }

        .checkbox input:checked + label:before {
            border-color: gray;
            color: gray;
        }


/* POPUPS
===========*/
.popup {
    background: rgba(12, 30, 40, .6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*transition: .2s;*/
    display: none;
    z-index: -1;
}

    .popup.show {
        z-index: 9000;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }


.popup__inner {
    position: relative;
    background: #fcfcfc;
    border-radius: 3px;
    width: 350px;
    max-width: calc(100% - 20px);
    padding: 40px 30px;
    text-align: center;
    font-size: 14px;
    max-height: calc(100% - 20px);
    overflow: auto;
}

        .popup__inner::before {
            content: '';
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;

            background-color: gray;
        }

        .popup__inner .icon {
            height: 52px;
            width: 52px;
            border-radius: 100%;
            border: 5px solid #dfe2e5;
            font-size: 22px;
            text-align: center;
            line-height: 52px;
            display: block;
            margin: 0 auto 10px;
        }

        .popup__inner h2 {
            font-size: 30px;
            margin-bottom: 10px;
        }

        .popup__inner .checkbox label {
            color: #9da6ab;
        }

        .popup__inner .btn {
            margin-top: 30px;
            display: inline-block;
            padding-left: 20px;
            padding-right: 20px;
            /*width: 100%;*/
        }


        .popup__inner p {
            line-height: 24px;
        }


.popup--pleasewait { border-color: #39414e; }
.popup--pleasewait .icon { color: #39414e; }
.popup--pleasewait .btn { border-color: #39414e; color: #ffffff; }
.popup--pleasewait img { margin-bottom: 3px; }

.popup--error {         border-color: #f71616 !important; }
.popup--error .icon {   color: #f71616 !important; }
.popup--error .btn {    border-color: #f71616 !important; color: #f71616 !important; }
.popup--error .popup__inner::before {   background: #f71616; }

.popup--success {       border-color: #44d61d !important; }
.popup--success .icon { color: #44d61d !important; }
.popup--success .btn {  border-color: #44d61d !important; color: #44d61d !important; }
.popup--success .popup__inner::before {   background: #44d61d; }

.popup--warning {       border-color: #FF7E0D !important; }
.popup--warning .icon { color: #FF7E0D !important; }
.popup--warning .btn {  border-color: #FF7E0D !important; color: #FF7E0D !important; }
.popup--warning .popup__inner::before {   background: #FF7E0D; }

/* LOGIN POPUP */

.login-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.login-holder {
    border-top: 5px solid #fcfcfc;
    background: #fcfcfc;
    border-radius: 3px;
    text-align: center;
    font-size: 14px;
    padding: 50px 50px 100px;
    position: relative;
    width: 400px;
    height: 565px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

@media screen and (max-width: 480px), screen and (max-height: 600px) {
    .login-holder {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 560px;
        min-width: 320px;
        box-shadow: initial;
    }

    .login-container {
        display: initial;
        flex-wrap: initial;
        align-items: initial;
        justify-content: initial;
        height: initial;
    }
}

        .login-holder .icon {
            height: 52px;
            width: 52px;
            border-radius: 100%;
            border: 5px solid #dfe2e5;
            font-size: 22px;
            text-align: center;
            line-height: 49px;
            display: block;
            margin: 0 auto 10px;
        }

        .login-holder img {
            max-width:100%;
            height:auto;
            margin-bottom: 30px;
        }

        .login-holder h2 {
            font-size: 30px;
            margin-bottom: 30px !important;
        }

        .login-holder p {
            line-height: 25px;
        }

        .login-holder .btn {
            display: inline-block;
            clear: both;
            margin-top: 30px;
            line-height: 41px;
            padding: 0 20px;
            background: #39414e;
            color: #fcfcfc;
            font-size: 18px;
            width: 100%;
        }


.login-holder {         border-color: #39414e; }
.login-holder .icon {   color: #39414e; }
.login-holder .btn {    border-color: #39414e; color: #ffffff; }



    .login-holder .checkbox {
        text-align: left;
        display: block;
    }

    .login-holder .forget-pw {
        font-size: 14px;
        color: #7D8489;
        border-bottom: 1px solid #b7bdc1;
        margin-top: 25px;
        display: inline-block;
    }

    .login-holder .login-footer {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        line-height: 70px;
        border-top: 1px solid #d3dade;
        font-size: 12px;
        color: #7D8489;
    }

    .lostpassword-holder input {
        margin-bottom: 0px;
    }

