.fade {
    opacity: 0;
    -webkit-transition: opacity 0.15s linear;
    -moz-transition: opacity 0.15s linear;
    -o-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

    .fade.in {
        opacity: 1;
    }

.close {
    float: right;
    color: #bf2121;
    font-size: 20px;
    line-height: 20px;
    width: 19px;
    height: 19px;
    background: #fff;
    background-image: url(../images/icon-popup-close.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 22px;
    right: 28px;
    top: 22px;
}
    .close.sign-in-close-btn{
        position:absolute;
    }
    .close:hover, .close:focus {
        color: #000000;
        text-decoration: none;
        cursor: pointer;
    }

button.close {
    padding: 0;
    cursor: pointer;
    border: 0;
    z-index: 8;
    position: absolute;
    -webkit-appearance: none;
}

.modal-backdrop {
    position: fixed;
    z-index: 1040;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(40,40,38,.41);
}

    .modal-backdrop.fade {
        opacity: 0;
    }

        .modal-backdrop, .modal-backdrop.fade.in {
            opacity: 0.63;
            filter: alpha(opacity=63);
        }

.modal {
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background: transparent;
    outline: none;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

    .modal.big {
        width: 700px;
        margin-left: -350px;
    }

.modal-header.login {
    background: url(../images/new_login_title.png) no-repeat;
    width: 890px;
}

.modal.fade {
    top: -25%;
    z-index: -1;
    -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
    -o-transition: opacity 0.3s linear, top 0.3s ease-out;
    transition: opacity 0.3s linear, top 0.3s ease-out;
}

    .modal.fade.in {
        top: 0;
        z-index: 9999;
    }

.modal-header {
    background: #eee;
    height: 38px;
    width: 549px;
    color: white;
    color: #000;
    font-size: 22px;
    font-family: 'Oxygen-Regular';
    float: left;
    padding: 15px 0 10px 20px;
}

    .modal-header .close {
        position: relative;
        margin-top: 4px;
        margin-right: 25px;
    }

    .modal-header .modal_title {
        margin: 0;
        line-height: 30px;
        color: #c3276f;
    }

.modal-body {
    position: relative;
    width: 100%;
    height: 545px;
    background: #fff;
    padding: 10px;
}
    .modal-body.wage {
        height: 518px;
    }
    .modal.big .modal-body {
        padding: 0;
    }

.modal.big .close {
    top: 0;
}

.modal-form {
    margin-bottom: 0;
}

.modal-footer {
    padding: 14px 15px 15px;
    margin-bottom: 0;
    text-align: right;
    background-color: #eae7e7;
    border-top: 1px solid #ddd;
    *zoom: 1;
    -webkit-box-shadow: inset 0 1px 0 #ffffff;
    -moz-box-shadow: inset 0 1px 0 #ffffff;
    box-shadow: inset 0 1px 0 #ffffff;
}

    .modal-footer.error {
        color: #c3276f;
        text-align: center;
        font-weight: bold;
    }

    .modal-footer:before, .modal-footer:after {
        display: table;
        line-height: 0;
        content: "";
    }

    .modal-footer:after {
        clear: both;
    }

    .modal-footer .btn + .btn {
        margin-bottom: 0;
        margin-left: 5px;
    }

    .modal-footer .btn-group .btn + .btn {
        margin-left: -1px;
    }

    .modal-footer .btn-block + .btn-block {
        margin-left: 0;
    }

.modal.address {
    width: 620px;
    background: #f4f4f4;
    margin-left: -310px;
}

    .modal.address .modal-body {
        width: 80%;
        height: 580px;
        background: #006eb5;
        overflow: inherit;
        box-shadow: 0 16px 16px rgba(0, 0, 0, 0.11);
        margin: 60px auto 20px auto;
        padding: 15px 30px 30px 30px;
    }
