﻿@font-face {
    font-family: 'HelveticaNeueCyr-Roman';
    src: url('../fonts/HelveticaNeueCyr-Roman.otf') format('opentype');
}

@font-face {
    font-family: 'HelveticaNeueCyr-LightItalic';
    src: url('../fonts/HelveticaNeueCyr-LightItalic.otf') format('opentype');
}

@font-face {
    font-family: 'HelveticaNeueCyr-Light';
    src: url('../fonts/HelveticaNeueCyr-Light.otf') format('opentype');
}

@font-face {
    font-family: 'mosIcons';
    src: url('../fonts/mosIcons.ttf') format('truetype'), url('../fonts/mosIcons.woff') format('woff'), url('../fonts/mosIcons.eot') format('embedded-opentype');
}

*:focus,
*:hover {
    outline: 0 !important;
}

* {
    letter-spacing: 1.2px;
    margin: 0;
    word-wrap: break-word;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !importan t to prevent issues with browser extensions that change fonts */
    font-family: 'mosIcons' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
}

#loginForm {
    min-width: 320px;
}

#loginForm,
.error-div {
    background-color: #fff;
    margin: auto;
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
}

    #loginForm img,
    .error-div img {
        margin-top: 100px;
        margin-bottom: 60px;
    }

    #loginForm input {
        border: 1px solid #9f9fa5;
        padding: 0 18px;
        font-family: "HelveticaNeueCyr-LightItalic";
        margin: auto;
        margin-bottom: 18px;
        display: block;
        height: 40px;
        width: 300px;
        box-sizing: border-box;
    }

    #loginForm .login, #recoveryForm .login {
        border: 1px solid #0091af;
        text-transform: uppercase;
        background: #fff;
        text-align: center;
        color: #0091af;
        font-family: "HelveticaNeueCyr-Light";
    }

    #loginForm #RememberMe {
        display: none;
    }

        #loginForm #RememberMe ~ label,
        #loginForm .forgot-password {
            width: 300px;
            background-size: 14px;
            text-align: left;
            color: #9f9fa5;
            margin-top: 4px;
            font-weight: normal;
            line-height: 14px;
            font-family: "HelveticaNeueCyr-Light";
            display: block;
            margin: -10px auto 40px;
        }

        #loginForm #RememberMe ~ label {
            margin: -10px auto 40px !important;
        }

    #loginForm .forgot-password {
        text-align: right;
        margin-bottom: 0;
    }

        #loginForm .forgot-password:hover {
            text-decoration: none;
            cursor: pointer;
        }

    #loginForm #RememberMe ~ label:before,
    #loginForm #RememberMe:checked ~ label:before {
        font-family: 'mosIcons';
        content: '\e901';
        color: #9f9fa5;
        font-size: 20px;
        padding-right: 10px;
    }

    #loginForm #RememberMe:checked ~ label:before {
        content: '\e905';
    }

    #loginForm #RememberMe ~ label:before,
    #loginForm #RememberMe:checked ~ label:before,
    #loginForm #RememberMe:checked ~ label:before {
        font-size: 14px;
    }


    #loginForm #UserName:focus,
    #loginForm #Password:focus {
        border-color: #0091af;
        box-shadow: 0 0 5px #0091af;
        color: #555 !important;
        font-family: "HelveticaNeueCyr-Light" !important;
    }

    #loginForm .error-message {
        color: red;
        font-family: "HelveticaNeueCyr-LightItalic";
        width: 300px;
        text-align: left;
        margin: auto;
        display: block;
        font-size: 12px;
    }

    .error-div p {
        font-size: 30px;
        font-family: "HelveticaNeueCyr-Roman";
        color: #696868;
        padding: 0 30px;
    }

.admin-login {
    font-family: HelveticaNeueCyr-Roman;
    text-transform: uppercase;
    margin: 100px 0 30px;
    font-weight: normal;
    color: #0091af;
}

@media(max-width: 400px) {
    .error-div img {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }

    #loginForm {
        width: 100%;
        left: 20px;
    }

        #loginForm input,
        #loginForm label,
        #loginForm img,
        #loginForm #RememberMe ~ label,
        #loginForm .forgot-password,
        #loginForm .error-message {
            width: calc(100% - 40px);
            float: left;
        }
}

.confirm-modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: block;
    z-index: 3;
}

    .confirm-modal .modal-dialog {
        overflow: auto;
        width: 550px;
        margin: 100px auto;
        background-color: rgb(255, 255, 255);
        box-shadow: 0 0 10px #555555;
        padding: 70px 0 50px;
        position: relative;
        background: #fff;
    }

        .confirm-modal .modal-dialog .icon-delete {
            position: absolute;
            top: 15px;
            right: 15px;
            color: #9F9FA5;
            width: auto !important;
            margin: 0;
        }

            .confirm-modal .modal-dialog .icon-delete:hover {
                cursor: pointer;
                text-decoration: none;
            }

    .confirm-modal .save {
        margin-right: 4%;
        background: #fff;
        float: left;
        border: 1px solid #5d8db5;
        color: #5d8db5;
        margin-top: 50px;
        text-transform: uppercase;
        text-decoration: none;
        height: 30px;
        font-size: 14px;
        font-family: "HelveticaNeueCyr-Roman";
        width: 48%;
        position: static;
    }


    .confirm-modal .save {
        float: right;
        width: 20% !important;
        margin-right: 2%;
        padding-top: 15px;
    }

    .confirm-modal .cancel {
        width: 35% !important;
        margin-left: 0 !important;
    }

    .confirm-modal .modal-dialog p {
        color: #555;
        line-height: 20px;
        font-family: "HelveticaNeueCyr-Light";
        text-align: center;
        font-size: 18px;
        text-align: center;
    }
