.modal-dialog .btn {
    display: inline-block;
    color: #FFF !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-image: none !important;
    border: 5px solid #FFF;
    border-radius: 0;
    box-shadow: none !important;
    -webkit-transition: background-color 0.15s, border-color 0.15s, opacity 0.15s;
    -o-transition: background-color 0.15s, border-color 0.15s, opacity 0.15s;
    transition: background-color 0.15s, border-color 0.15s, opacity 0.15s;
    cursor: pointer;
    vertical-align: middle;
    margin: 0;
    position: relative;
    font-weight: normal;
    text-align: center;
    touch-action: manipulation;
    white-space: nowrap;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.modal-dialog button {
    -webkit-appearance: button;
    text-transform: none;
    overflow: visible;
    font: inherit;
}

#login-show-popup-button {
    top: 0;
    float: right;
    position: relative;
}

#login-form-popup {
    display: none;
    /*border: #656565 1px solid;*/
    width: 364px;

    right: auto;

    position: fixed;
    margin-top: auto;
    background-color: #fff;
    z-index: 101;
}

.login-form-wrapper form .error {
    color: #d16e6c;
    margin-bottom: 5px;
    line-height: 16px;
    font-size: 12px;
}

.login-form-wrapper form label {
    padding-top: 5px;
    float: left;
}

.login-form-wrapper form label input[type=checkbox].ace {
    z-index: -100 !important;
    width: 1px !important;
    height: 1px !important;
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
}

.login-form-wrapper form input[type=checkbox].ace + .lbl {
    position: relative;
    display: inline-block;
    margin: 0;
    line-height: 20px;
    min-height: 18px;
    min-width: 18px;
    font-weight: normal;
    cursor: pointer;
}

.login-form-wrapper form input[type=checkbox].ace:checked + .lbl::before {
    display: inline-block;
    content: '\f00c';
    background-color: #F5F8FC;
    border-color: #adb8c0;
}

.login-form-wrapper form input[type=checkbox].ace + .lbl::before {
    cursor: pointer;
    font-family: fontAwesome;
    font-weight: normal;
    font-size: 12px;
    color: #32a3ce;
    content: "\a0";
    background-color: #FAFAFA;
    border: 1px solid #c8c8c8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    display: inline-block;
    text-align: center;
    height: 16px;
    line-height: 14px;
    min-width: 16px;
    margin-right: 1px;
    position: relative;
    top: -1px;
}

.login-form-wrapper form input[type="text"],
.login-form-wrapper form input[type="password"] {
    display: block;
    border: rgb(213, 213, 213) 1px solid;
    border-radius: 0px;

    box-sizing: border-box;
    color: rgb(133, 133, 133);

    letter-spacing: normal;
    line-height: 21px;
    max-width: 100%;

    padding: 5px 4px 6px 10px;

    width: 302px;
    word-spacing: 0px;

}

.login-form-wrapper form input[type="text"]:focus,
.login-form-wrapper form input[type="password"]:focus {
    color: #696969;
    border-color: #f59942;
    background-color: #ffffff;
    outline: none;
}

.login-form-wrapper form label {
    box-sizing: border-box;
    color: rgb(57, 57, 57);
    cursor: default;
    display: inline-block;
    font-size: 17px;
    font-weight: normal;
    line-height: 21px;
    margin-bottom: 3px;
}

.modal-dialog input::-webkit-input-placeholder {
    color: #c0c0c0;
}

.modal-dialog input:-moz-placeholder {
    color: #c0c0c0;
    opacity: 1;
}

.modal-dialog input::-moz-placeholder {
    color: #c0c0c0;
    opacity: 1;
}

.modal-dialog input:-ms-input-placeholder {
    color: #c0c0c0;
}

.modal-dialog {
    width: 320px;
    border: 4px solid #3A4659;
}

.modal-content {
    background-color: #f7f7f7;
    border: 1px solid #ABB0B8;
}

.modal-header,
.modal-body,
.modal-footer {
    margin-left: 30px;
    margin-right: 30px;
    padding-left: 0px;
    padding-right: 0px;
}

.modal-header {
    padding-bottom: 5px;
    padding-top: 30px;
    border-bottom: 1px solid #e5e5e5;
}

.modal-body {
    padding-bottom: 5px;
    padding-top: 15px;
    margin-bottom: 10px;
}

.modal-footer {
    background-color: transparent;
    padding-top: 0;
    padding-bottom: 18px;
    box-shadow: none;
    text-align: right;
    border-top: none;
}

.modal-body p.highlight {
    border: 1px solid #e5e5e5;
    padding: 5px 12px 5px 12px;
    background-color: #f0f0f0;
}

.modal-content {
    font-family: SegoeuUi;
}

.modal-content .btn {
    font-family: SegoeuUi;
    font-size: 14px;
}

.modal-header h4 {
    font-family: SegoeuUiLight;
    font-size: 21px;
}

.modal-body {
    font-size: 17px;
}

.modal-body p.highlight span {
    text-transform: uppercase;
    color: #999999;
    font-size: 11px;
}

.modal-body p.highlight {
    color: #686d75;
    font-size: 15px;
}

.modal-dialog .btn-ok {
    background-color: #006dcc;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #0044cc;
}

.modal-dialog .btn-ok:hover,
.modal-dialog .btn-ok:focus,
.modal-dialog .btn-ok:active,
.modal-dialog .btn-ok.active,
.modal-dialog .btn-ok.disabled,
.modal-dialog .btn-ok[disabled] {
    color: #ffffff;
    background-color: #0044cc;
    *background-color: #003bb3;
}

.modal-dialog .btn-ok:active,
.modal-dialog .btn-ok.active {
    background-color: #003399 \9;
}

.modal-dialog .btn-ok, .modal-dialog .btn-ok:focus {
    background-color: #2646e2 !important;
    border-color: #2646e2;
}

.modal-dialog .btn-ok:hover, .modal-dialog .btn-ok:active, .modal-dialog .open > .btn-ok.dropdown-toggle {
    /*background-color: #1b6aaa !important;*/
    background-color: #2660e7 !important;
    border-color: #2646e2;
}

.modal-dialog .btn-sm, .modal-dialog .btn-group-sm > .btn {
    border-width: 4px;
    padding: 4px 9px;
    line-height: 1.38;
}

.modal-content form .input {
    margin: 8px 0;
}

form .input-icon {
    display: inline-block;
    position: relative;
}

form .input-icon > .icon {
    padding: 0 3px;
    z-index: 2;
    position: absolute;
    top: 1px;
    bottom: 1px;
    left: 3px;
    line-height: 30px;
    display: inline-block;
    color: #909090;
    font-size: 16px;
}

form .input-icon.input-icon-right > .icon {
    left: auto;
    right: 3px;
}
