:focus {
    outline: none;
}

::-moz-focus-inner {
    border: 0;
}

.x-icon {
    width: 36px;
    height: 36px;
    background-color: #FF3000;
    border-radius: 36px;
    text-align: center;
}

.b-hint {
    font-family: PTSerif-Regular;
    letter-spacing: 0;
    font-size: 19px;
    height: 62px;
    line-height: 31px;
    color: #666;
    float: left;
    text-align: left;

    display: table;
}

.b-hint-m-position {
    margin-left: 146px;
    margin-top: -10px;
}

.b-hint-m-position-code {
    margin-left: 246px;
    margin-top: -90px;
}

.b-hint-e-text {
    display: table-cell;
    vertical-align: middle;
}

.x-icon:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: center no-repeat;
    background-size: 14px;
    background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9jcm9zcy9jcm9zcy5wbmc%3D&b=29);
    background-image: linear-gradient(transparent, transparent),
    url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9jcm9zcy9jcm9zcy5zdmc%3D&b=29);
}

.x-icon-m-position {
    position: absolute;
    top: -18px;
    right: -18px;
}

.js-password-recovery-button {
    display: inline-block;
    opacity: 0.5;
    font-size: 14px;
    color: #000;
    letter-spacing: 2px;
}

.b-login-popup {
    margin: auto;
    width: 800px;
    height: 460px;
    background: #fff;
    border-radius: 4px;

    font: 18px/24px LetoTextSansDefect;
    letter-spacing: 1px;
    position: relative;
    /*overflow: hidden;*/

    clear: both;
    display: inline-block;
}

.b-action-panel {
    text-transform: uppercase;
    overflow: hidden;
}

.b-action-panel-m-position {
    margin: 40px;
}

.b-action-panel-e-action {
    display: block;
    text-align: center;
    width: 160px;
    height: 55px;
    color: #9F9F9F;
    float: left;
    border-bottom: 1px solid #9F9F9F;
    border-color: rgba(159, 159, 159, 0.34);
}

.b-action-panel-e-action-m-active {
    color: #000;
    border-bottom: 1px solid #FF3000;
}

.b-action-panel-e-action-m-position {
    margin-right: 20px;
}

.b-action-panel-e-action:hover {
    color: #000;
    border-bottom: 1px solid #000;
}

.b-action-panel-e-action-m-active:hover {
    color: #000;
    border-bottom: 1px solid #FF3000;
}

.b-user-input {
}

.b-user-input a, .b-user-input a:hover {
    text-decoration: none;
    color: #000;
}

.b-user-input-m-position {
    margin: 40px;
}

.b-login-form {
    overflow: hidden;
    display: none;
}

.b-login-form-element {
    overflow: hidden;
    display: block;
    float: left;
    height: 40px;
}
.b-login-form-element-m-code {
    height: 140px;
}

.b-login-form-element-m-position {
    margin-bottom: 20px;
    margin-top: 20px;
}

.b-login-form-element-m-label {
    font-size: 20px;
    line-height: 26px;
    color: #000;
    white-space: nowrap;
    display: inline-block;
    padding-bottom: 10px;
    width: 140px;
}

.b-login-form-element-m-label-code {
    width: 240px;
    white-space: inherit;
}

.b-login-form-element-m-input {
    width: 360px;
    border-bottom: 1px solid #666;
    display: inline-block;
    position: relative;
}

.b-login-form-element-m-input input {
    font-family: PTSerif-Regular;
    font-size: 19px;
    color: #323232;
    letter-spacing: 0;
    width: 360px;
}

.b-login-form-m-position {

}

.b-input-element {
    border: 0 none;
    padding-bottom: 10px;
}

.b-login-footer {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 105px;
    background-color: #fbf7d1;
}

.b-login-button {
    height: 60px;
    border: 1px solid #FF3000;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0;
    display: inline-block;
    padding-left: 20px;
    padding-right: 12px;
}

.b-login-button-m-position {
    margin-top: 20px;
    margin-left: 180px;
    float: left;
}

.b-login-button-e-text {
    font-family: LetoTextSansDefect;
    color: #FF3000;
    line-height: 60px;
    font-size: 28px;
    padding: 5px;
}

.b-footer-label {
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    height: 62px;
    line-height: 62px;
    color: #666;
}

.b-footer-label:hover {
    color: #000;
}

.b-footer-label-m-position {
    float: left;
    margin-top: 20px;
    margin-left: 40px;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;

    z-index: 2000;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.modal-content {
    position: relative;
    border-radius: 3px;
    margin: 0 auto;

    -webkit-transform: translateY(20%);
    -moz-transform: translateY(20%);
    -ms-transform: translateY(20%);
    transform: translateY(20%);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show .modal-content {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

.md-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(0,0,0,0.35);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show {
    opacity: 1;
    visibility: visible;
}

.b-social-entry {
    display: inline-block;
    width: 22%;
    height: 100px;
    text-align: center;
}

.b-social-entry-m-position {
    margin-top: 40px;
    margin-right: 2%;
}

.b-social-entry-e-icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: center no-repeat;
    background-size: contain;
    background-color: #fff;

}

.b-social-entry-e-text {
    font-family: PTSerif-Regular;
    font-size: 17px;
    letter-spacing: 0;
    color: #000000;
    line-height: 26px;
}

.b-social-entry-e-text-m-full {
    display: block;
    opacity: 0.5;
}

.b-social-entry-e-text-m-short {
    display: none;
}

.b-social-entry-e-icon-m-vk {
    background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvdmtAMngucG5n&b=29);
    background-image: linear-gradient(transparent, transparent),
    url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvdmsuc3Zn&b=29);
}

.b-social-entry-e-icon-m-fb {
    background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvZmJAMngucG5n&b=29);
    background-image: linear-gradient(transparent, transparent),
    url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvZmIuc3Zn&b=29);
}

.b-social-entry-e-icon-m-ok {
    background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvb2tAMngucG5n&b=29);
    background-image: linear-gradient(transparent, transparent),
    url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvb2tAM3gucG5n&b=29);
}

.b-social-entry-e-icon-m-mail {
    background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvbWFpbEAyeC5wbmc%3D&b=29);
    background-image: linear-gradient(transparent, transparent),
    url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvbWFpbEAzeC5wbmc%3D&b=29);
}

.b-social-entry-e-icon-m-gplus {
    background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvZ3BsdXNAMngucG5n&b=29);
    background-image: linear-gradient(transparent, transparent),
    url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvZ3BsdXNAM3gucG5n&b=29);
}

.b-social-entry-e-icon-m-twi {
    background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvdHdpQDJ4LnBuZw%3D%3D&b=29);
    background-image: linear-gradient(transparent, transparent),
    url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvdHdpLnN2Zw%3D%3D&b=29);
}

.b-social-entry-e-icon-m-lj {
    background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvbGpAMngucG5n&b=29);
    background-image: linear-gradient(transparent, transparent),
    url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvbGouc3Zn&b=29);
}

.b-social-entry-e-icon-m-ya {
    background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwveWFAMngucG5n&b=29);
    background-image: linear-gradient(transparent, transparent),
    url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwveWFAM3gucG5n&b=29);
}

@media only screen and (-moz-min-device-pixel-ratio: 1.5), only screen
and (-o-min-device-pixel-ratio: 3 / 2), only screen
and (-webkit-min-device-pixel-ratio: 1.5), only screen
and (min-device-pixel-ratio: 1.5) {

    .b-social-entry-e-icon-m-vk {
        background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvdmtAM3gucG5n&b=29);
        background-image: linear-gradient(transparent, transparent),
        url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvdmsuc3Zn&b=29);
    }

    .b-social-entry-e-icon-m-fb {
        background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvZmJAM3gucG5n&b=29);
        background-image: linear-gradient(transparent, transparent),
        url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvZmIuc3Zn&b=29);
    }

    .b-social-entry-e-icon-m-ok {
        background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvb2tAM3gucG5n&b=29);
        background-image: linear-gradient(transparent, transparent),
        url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvb2tAM3gucG5n&b=29);
    }

    .b-social-entry-e-icon-m-mail {
        background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvbWFpbEAzeC5wbmc%3D&b=29);
        background-image: linear-gradient(transparent, transparent),
        url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvbWFpbEAzeC5wbmc%3D&b=29);
    }

    .b-social-entry-e-icon-m-gplus {
        background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvZ3BsdXNAM3gucG5n&b=29);
        background-image: linear-gradient(transparent, transparent),
        url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvZ3BsdXNAM3gucG5n&b=29);
    }

    .b-social-entry-e-icon-m-twi {
        background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvdHdpQDN4LnBuZw%3D%3D&b=29);
        background-image: linear-gradient(transparent, transparent),
        url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvdHdpLnN2Zw%3D%3D&b=29);
    }

    .b-social-entry-e-icon-m-lj {
        background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvbGpAM3gucG5n&b=29);
        background-image: linear-gradient(transparent, transparent),
        url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwvbGouc3Zn&b=29);
    }

    .b-social-entry-e-icon-m-ya {
        background-image: url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwveWFAM3gucG5n&b=29);
        background-image: linear-gradient(transparent, transparent),
        url(browse.php?u=Oi8vd3d3LnBhcG1hbWJvb2sucnUvaW1hZ2VzL2Rlc2lnbi9zb2NpYWwveWFAM3gucG5n&b=29);
    }

}

.b-login-social-m-position {
    margin-top: 40px;
}

@media screen and (max-width: 1000px) {
    .b-login-form-element-m-label {
        padding-bottom: 0;
    }

    .b-hint-e-text {
        vertical-align: top;
    }

    .b-login-social-m-position {
        margin-top: 30px;
    }

    .b-login-popup {
        width: 280px;
        height: 420px;
    }

    .b-input-element {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .b-action-panel-m-position {
        margin: 20px;
    }

    .b-login-form-element-m-input {
        width: 240px;
        overflow: hidden;
    }

    .b-action-panel-e-action {
        font-size: 14px;
        width: 100px;
        letter-spacing: 0;
        line-height: 20px;
        height: 45px;
    }

    .b-action-panel-e-action-m-position {
        margin-right: 20px;
        margin-bottom: 10px;
    }

    .b-user-input-m-position {
        margin: 20px;
        margin-top: -20px;
    }

    .b-login-form-element {
        width: 240px;
        height: 60px;
    }
    .b-login-form-element-m-code {
        height: 100px;
    }

    .b-login-form-element-m-position {
        margin-bottom: 0;
    }

    .b-login-button {
        border: none;
        padding: 0;
        margin-left: 20px;
    }

    .b-login-footer {
        height: 65px;
    }

    .b-login-button-m-position {
        margin-top: 0;
    }

    .b-login-button-e-text {
        padding: 0;
        line-height: 65px;
    }

    .js-password-recovery-button {
        display: none;
    }

    .b-login-form-element-m-input input {
        font-family: PTSerif-Regular;
        width: 240px;
        font-size: 16px;
    }

    .b-social-entry-m-position {
        margin-top: 0;
        margin-right: 7%;
    }

    .b-login-social {
        text-align: center;
    }

    .b-social-entry-e-text-m-full {
        display: none;
    }

    .b-social-entry-e-text-m-short {
        display: block;
        opacity: 0.5;
    }

    .b-hint {
        font-size: 16px;
        height: 72px;
        line-height: 20px;
    }

    .b-hint-m-position {
        margin-left: 0;
        margin-top: 0;
    }

    .b-hint-m-position-code {
        margin-left: 0;
        margin-top: 0;
    }

}

.scroll_disabled {
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: hidden;
}
