﻿body {
    background: url("/Content/Images/bg1.jpg") no-repeat center center fixed;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 95%;
    -ms-flex-pack: center;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.alert {
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align:center;
}
.login .form-title {
    font-weight: 300;
    margin-bottom: 5px;
}

.login h3 {
    color: #2ab7ec;
    text-align: center;
    font-size: 28px;
    font-weight: 400 !important;
}
html {
    height: 100%
}

::-moz-selection {
    background: #fe57a1;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #fe57a1;
    color: #fff;
    text-shadow: none;
}


.login {
    background: #eceeee;
    border: 1px solid #42464b;
    border-radius: 6px;
    height: auto;
    margin: 20px auto 0;
    width: 350px;
}

    .login h1 {
        background-image: linear-gradient(top, #f1f3f3, #d4dae0);
        border-bottom: 1px solid #a6abaf;
        border-radius: 6px 6px 0 0;
        box-sizing: border-box;
        color: #727678;
        display: block;
        height: 43px;
        font: 600 14px/1 'Open Sans', sans-serif;
        padding-top: 14px;
        margin: 0;
        text-align: center;
        text-shadow: 0 -1px 0 rgba(0,0,0,0.2), 0 1px 0 #fff;
    }

input[type="password"], input[type="text"] {
    background: url('http://i.minus.com/ibhqW9Buanohx2.png') center left no-repeat, linear-gradient(top, #d6d7d7, #dee0e0);
    border: 1px solid #a1a3a3;
    border-radius: 4px;
    box-shadow: 0 1px #fff;
    box-sizing: border-box;
    color: #696969;
    height: 39px;
    margin: 25px auto 0 auto;
    padding-left: 20px;
    transition: box-shadow 0.3s;
    width: calc(100% - 40px); /* Cho padding lề 20px mỗi bên */
    display: block;
    font-size:16px;
}
.checkremember{
    padding:0px 30px;
}

.show-password {
    display: block;
    height: 16px;
    margin: 26px 0 0 28px;
    width: 87px;
}


.forgot {
    color: #7f7f7f;
    display: inline-block;
    float: right;
    font: 12px/1 sans-serif;
    left: -25px;
    position: relative;
    text-decoration: none;
    top: 5px;
    transition: color .4s;
}

    .forgot:hover {
        color: #3b3b3b
    }

input[type="submit"] {
    width: 293px;
    height: 35px;
    display: block;
    font-family: Arial, "Helvetica", sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 1px 1px 0px #37a69b;
    padding-top: 6px;
    margin: 29px 0 30px 29px;
    position: relative;
    cursor: pointer;
    border: none;
    background-color: #37a69b;
    background-image: linear-gradient(top,#3db0a6,#3111);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    box-shadow: inset 0px 1px 0px #2ab7ec, 0px 5px 0px 0px #497a78, 0px 10px 5px #999;
}

.shadow {
    background: #000;
    border-radius: 12px 12px 4px 4px;
    box-shadow: 0 0 20px 10px #000;
    height: 12px;
    margin: 30px auto;
    opacity: 0.2;
    width: 270px;
}


input[type="submit"]:active {
    top: 3px;
    box-shadow: inset 0px 1px 0px #2ab7ec, 0px 2px 0px 0px #31524d, 0px 5px 3px #999;
}
.icheckbox_square-green, .iradio_square-green {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    width: 22px;
    height: 22px;
    background: url(img/green1.png) no-repeat;
    border: none;
    cursor: pointer;
}

.icheckbox_square-green {
    background-position: 0 0;
}

.icheckbox_square-green, .iradio_square-green {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    width: 22px;
    height: 22px;
    background: url(img/green1.png) no-repeat;
    border: none;
    cursor: pointer;
}
#nonAjaxLoad {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    background: #e9ecef !important;
    opacity: 0.8 !important;
    z-index: 99999;
    text-align: center;
    display: none;
}

    #nonAjaxLoad img {
        position: absolute;
        top: 40%;
        left: 46%;
        z-index: 100;
        width: 5%;
        border-radius: 50px !important;
    }

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .password-wrapper i {
        position: absolute;
        right: 25px;
        top: 36px;
        color: #aaa;
    }
@media (max-width: 576px) {
    .login {
        width: 80%;
        padding: 10px;
    }

    input[type="password"],
    input[type="text"] {
        width: 100%;
        margin: 20px 0 0 0;
        padding-left: 35px;
    }

    input[type="submit"] {
        width: 85%;
        margin-top: 20px;
    }

    .checkremember {
        padding: 0px 10px;
    }
    .password-wrapper i {
        right: 20px;
        top: 30px;
    }
    #nonAjaxLoad img {
        width: 20%;
        left: 35%;
    }
}

@media (max-width: 768px) {
    .login {
        width: 80%;
        padding: 10px;
    }

    input[type="password"],
    input[type="text"] {
        width: 100%;
        margin: 20px 0 0 0;
        padding-left: 35px;
    }

    input[type="submit"] {
        width: 85%;
        margin-top: 20px;
    }

    .checkremember {
        padding: 0px 10px;
    }
    #nonAjaxLoad img {
        width: 20%;
        left: 35%;
    }
}
input[type="password"]:focus, input[type="text"]:focus {
    box-shadow: 0 0 4px 1px rgba(55, 166, 155, 0.3);
    outline: 0;
}
