/* 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;
}

html, body { height: 100% }

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: #e4e9ec;
    color: #39414e;
}

a {
    text-decoration: none;
}

.btn {
    display: block;
    color: #fcfcfc;
    font-size: 18px;
    font-weight: 600;
    line-height: 50px;
    border-radius: 3px;
    text-align: center;
}

.btn.ghost {
    background: none;
    border-radius: 1px;
    padding: 0 35px;
    font-size: 14px;
    border: 2px solid #39414e;
}

.checkbox {
    position: relative;
    padding-left: 35px;
    height: 25px;
    display: inline-block;
}
    .checkbox input {
        opacity: 0;
        position: absolute;
        left: 0;
    }

    .checkbox label {
        color: #adb2b9;
        line-height: 25px;
        vertical-align: middle;
    }
        .checkbox label:before {
            background-color: #fff;
            border: 1px solid #d3dade;
            content: "";
            display: inline-block;
            height: 25px;
            width: 25px;
            left: 0;
            position: absolute;
            cursor: pointer;
            text-align: center;
            font-size: 16px;
            line-height: 23px;
        }

        .checkbox input:checked + label:before {
            font-family: "iflow" !important;
            content: "\61";
            font-size: 10px;
        }

input[type="submit"] {
    height: 45px;
    font-size: 14px;
    line-height: normal;
    border: none;
    font-family: 'Source Sans Pro', sans-serif;
    cursor: pointer;
}

.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: #7D8489;
        opacity: .2s;
    }

    .login-input input:focus+span {
        color: #39414e;
    }



/* POPUPS
===========*/

.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;
    }


/* POPUPS
===========*/
.popup {
    background: rgba(12, 30, 40, .75);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*transition: .2s;*/
    opacity: 0;
    z-index: -1;
}
    .popup.show {
        opacity: 1;
        z-index: 9000;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .popup__inner {
        border-top: 5px solid #fcfcfc;
        border-color: inherit;
            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;
    }

           @media (max-width:500px) {
            .popup__inner {
                padding: 30px 20px;
            }        

       }
        .popup__inner .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;
        }

        .popup__inner h2 {
            font-size: 30px;
            margin-bottom: 10px;
        }

        .popup__inner p {
            line-height: 25px;
        }

        .popup__inner .btn {
            display: inline-block;
            clear: both;
            margin-top: 30px;
            line-height: 41px;
            padding: 0 20px;
        }


.popup--login {         border-color: #39414e; }
.popup--login .icon {   color: #39414e; }
.popup--login .btn {    border-color: #39414e; color: #ffffff; }

.popup--error {         border-color: #f71616 !important; }
.popup--error .icon {   color: #f71616 !important; }
.popup--error .btn {    border-color: #f71616 !important; color: #f71616 !important; }

.popup--success {       border-color: #44d61d !important; }
.popup--success .icon { color: #44d61d !important; }
.popup--success .btn {  border-color: #44d61d !important; color: #44d61d !important; }

.popup--warning {       border-color: #FF7E0D !important; }
.popup--warning .icon { color: #FF7E0D !important; }
.popup--warning .btn {  border-color: #FF7E0D !important; color: #FF7E0D !important; }
