@import "./vars.css";

.ml-5 {
    margin-left: 5px;
}

.mr-5 {
    margin-right: 5px;
}

html, body {
    font-family: "IBM Plex Sans";
    font-size: 13px;
    color: var(--dark-grey-color);
}
html {
    height: 100%;
}
body {
    background: #E5E5E5;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
* {
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: var(--dark-grey-color);
    transition: all .3s;
}
h1 {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 24px;
    margin-top: 0;
}
.container {
    width: 1440px;
    margin: auto;
    max-width: 100%;
}
input, select {
    outline: none;
}
.red-text {
    color: var(--main-color);
}

.button-red, .button-grey {
    font-weight: 600;
    background: var(--main-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 45px;
    border-radius: var(--border-radius);
    height: 44px;
    border: 0;
    transition: all .2s;
    cursor: pointer;
    font-size: 14px;
    vertical-align: middle;
    box-sizing: border-box;
}
.button-red:hover {
    background: #F75E65;
}
.button-grey {
    background: #FAFAFA;
    border: 1px solid #E5E4E4;
    color: var(--grey-color);
}
.button-grey:hover {
    background: #e2e2e2;
}
.button-small {
    font-size: 12px;
    padding: 0px 15px;
    height: 30px;
}
.button-medium {
    font-size: 12px;
    padding: 0px 25px;
    height: 36px;
}
.button-red.button-square {
    border-radius: 3px;
}
.button-red.button-hollow {
    border-radius: 3px;
    color: #998DE1;
    border: 1px solid;
    background: transparent;
}
.button-red.button-hollow:hover {
    color: #ada4e5;
}
.button-white {
    border: 1px solid #E5E4E4;
    border-radius: var(--border-radius);
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-size: 12px;
    background-color: #fff;
    cursor: pointer;
    vertical-align: middle;
}
.button-wide {
    width: 207px;
    padding: 0;
}
.button-white.button-wide {
    font-weight: 600;
    font-size: 14px;
    height: 44px;
    color: var(--grey-color);
}
.red-link {
    color: var(--main-color);
    font-weight: 500;
    text-decoration: underline;
}
.link-button {
    color: var(--grey-color);
    text-decoration: underline;
    font-size: 14px;
    font-weight: 500;
    vertical-align: middle;
    background: 0;
    border: 0;
    padding: 0;
    cursor: pointer;
}
.link-button.no-line {
    text-decoration: none;
}
.link-button:hover {
    text-decoration: none;
}
.button-red + .link-button {
    margin-left: 20px;
}
.button-file {
    height: 36px;
}
.button-file i {
    font-size: 14px;
    margin-right: 10px;
    color: #555;
}
.button-file + input {
    display: none;
}
.button-icon {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    border: 0;
    padding: 0;
    background: none;
    color: var(--grey-color);
    cursor: pointer;
}
.button-icon i {
    font-size: 18px;
    margin-right: 10px;
    color: #9D9D9D;
}
.text-input,
.select-input, .textarea,
.multiselect-native-select .form-control,
#account-leads .modal-body .form-control,
ul.tagit {
    background: #fff;
    border-radius: var(--border-radius);
    height: 36px;
    padding: 0 14px;
    border: 1px solid #E6E4E4;
    transition: all .3s;
    font-size: 13px;
    box-sizing: border-box;
}
ul.tagit {
    padding: 0 14px !important;
    border: 1px solid #E6E4E4 !important;
    font-size: 13px !important;
}
.text-input:focus, .textarea:focus {
    border-color: #C4C4C4;
}
.select-input {
    background-color: #FAFAFA;
}
.textarea {
    resize: none;
    height: 100px;
    padding: 12px;
    outline: none;
}
.input-suffix {
    display: flex;
}
.input-suffix input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    flex: 1 1 auto;
}
.input-suffix .suffix {
    height: 36px;
    border: 1px solid #E6E4E4;
    border-right: 0;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    color: var(--grey-color);
    background: #FAFAFA;
    display: flex;
    align-items: center;
    padding: 0 14px;
}
.checkbox {
    display: flex;
    align-items: center;
}
.checkbox label, .radio label, .multiselect-native-select li a label {
    position: relative;
    cursor: pointer;
    font-weight: normal;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
}
.checkbox label .note {
    margin-left: 0;
    margin-right: 20px;
}
.checkbox input, .radio input {
    display: none;
}
.checkbox input:checked + label::before, .radio input:checked + label::before, .multiselect-native-select li.active a label::before {
    background: var(--green-color);
    border: 1px solid var(--green-color);
}
.checkbox label::before, .radio label::before, .multiselect-native-select li a label::before {
    display: inline-block;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    vertical-align: middle;
    content: '';
    box-sizing: border-box;
    transition: all .2s;
    background: #fff;
}
.checkbox label::after, .radio label::after, .multiselect-native-select li a label::after {
    content: '\e90b';
    font-family: 'icomoon';
    position: absolute;
    color: #fff;
    font-size: 8px;
    left: 5px;
    top: 0;
    bottom: 0;
    height: 8px;
    margin: auto;
}
.checkbox [disabled] + label {
    color: var(--light-grey-color);
    cursor: default;
}
.checkbox [disabled] + label::before {
    border: 1px solid var(--light-grey-color);
}
.checkbox [disabled]:checked + label::before {
    background: var(--light-grey-color);
}
.radio label::before {
    border-radius: 50%;
}

.text-field {
    position: relative;
    display: flex;
    align-items: center;
}
.text-field input {
    width: 100%;
    color: var(--light-grey-color);
}
.text-field label {
    position: absolute;
    top: 10px;
    left: 9px;
    color: var(--light-grey-color);
    cursor: text;
    background-color: #fff;
    padding: 0 5px;
    transition: all .2s;
    font-weight: 500;
}
.text-field input:focus {
    color: var(--dark-grey-color);
}
.text-field input:focus ~ label,
.text-field input.has-value ~ label {
    top: -7px;
    font-size: 10px;
    color: #C4C4C4;
}
.text-field select:focus ~ label,
.text-field select.has-value ~ label {
    top: -7px;
    font-size: 10px;
    color: #C4C4C4;
}
.text-field .note,
.checkbox .note {
    margin-left: 20px;
    position: relative;
}
.text-field .note .content,
.checkbox .note .content {
    position: absolute;
    top: 22px;
    left: 0;
    padding: 6px;
    background-color: #fff;
    box-shadow: 0px 4px 16px rgba(97, 97, 97, 0.1);
    border-radius: var(--border-radius);
    z-index: 10;
    min-width: 150px;
    display: none;
}
.text-field .note:hover .content,
.checkbox .note:hover .content {
    display: block;
}
.text-field .note .icon-question,
.checkbox .note .icon-question {
    border: 2px solid #E5E4E4;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #555;
    font-size: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.text-field.required label::after {
    content: '*';
    color: var(--main-color);
    margin-left: 4px;
}
.text-field + .text-field {
    margin-top: 20px;
}
.text-field.calendar-field::after {
    content: '\e90c';
    font-family: 'icomoon';
    font-size: 14px;
    color: #9D9D9D;
    top: 0;
    bottom: 0;
    right: 10px;
    margin: auto;
    height: 14px;
    position: absolute;
}
.text-field.inner-label label {
    font-size: 10px;
    color: var(--light-grey-color);
}
.text-field.inner-label input {
    padding-left: 30px;
}
.text-field .clear {
    position: absolute;
    right: 10px;
    top: 0;
    bottom: 0;
    height: 14px;
    margin: auto;
    font-size: 14px;
    color: #9D9D9D;
    transition: all .3s;
}
.text-field .clear:hover {
    color: var(--main-color);
}
.password-field .icon-eye {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    color: #9D9D9D;
    font-size: 12px;
    height: 12px;
}

.errors {
    color: var(--main-color);
    font-size: 12px;
    margin-bottom: 12px;
}
.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 1055;
    display: none;
}
.modal-content {
    max-width: 100%;
    left: 0;
    right: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    background: #FFFFFF;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.social-login {
    display: flex;
}
.social-login a {
    display: inline-flex;
    background: #FAFAFA;
    width: 28px;
    height: 28px;
    font-size: 12px;
    border-radius: var(--border-radius);
    border: 1px solid #F0F0F0;
    align-items: center;
    justify-content: center;
    color: var(--light-grey-color);
    font-weight: bold;
    margin-left: 6px;
}
.social-login a:hover {
    color: #fff;
}
.social-login a.icon-facebook:hover {
    background-color: #4267B2;
}
.social-login a.icon-vk:hover {
    background-color: #0077FF;
}
.social-login a.icon-yandex:hover {
    background-color: #FC3F1D;
}
.social-login a.icon-google:hover {
    background-color: #DB4437;
}
.social-login.big-links a {
    width: 34px;
    height: 34px;
    margin-left: 6px;
    font-size: 16px;
}

.datepicker-cell.selected,
.datepicker-cell.selected:hover {
    background-color: var(--main-color);
}

.ui-helper-hidden-accessible {
    display: none;
}
.ui-autocomplete {
    display: block;
    background: #fff;
    border: 1px solid #E9E9E9;
    padding: 0;
    margin: 0;
}
.ui-autocomplete li {
    display: block;
    padding: 6px 12px;
    cursor: pointer;
}
.ui-autocomplete li:hover {
    background: #eee;
}
.ui-dialog, .jGrowl-notification .jGrowl-message {
    position: fixed !important;
    top: initial !important;
    left: initial !important;
    bottom: 10px;
    right: 10px;
    background: #fff;
    box-shadow: 0px 4px 16px rgb(97 97 97 / 10%);
    border-radius: var(--border-radius);
    z-index: 10;
    padding: 20px;
}
.jGrowl-notification.success .jGrowl-message {
    background: var(--green-color);
    color: #fff;
}
.jGrowl-notification.error .jGrowl-message {
    background: var(--main-color);
    color: #fff;
}
.ui-dialog-title {
    font-weight: 500;
    margin-bottom: 20px;
    display: block;
}
.ui-dialog-titlebar-close, .jGrowl-close, .jGrowl-header, .jGrowl-closer {
    display: none !important;
}

.vcard_block {
    width: 345px;
    flex: 0 0 345px;
    background: #FFFFFF;
    border: 1px solid #E9E9E9;
    border-radius: var(--border-radius);
    padding: 20px;
}
.vcard_block .top {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}
.vcard_block .top .avatar {
    position: relative;
    margin-right: 21px;
    width: 80px;
    height: 80px;
}
.vcard_block .top .avatar.pro_account::after,
.vcard_block .top .avatar.vip_account::after {
    position: absolute;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-color);
    font-size: 8px;
    color: #fff;
    text-transform: uppercase;
    width: 26px;
    margin: auto;
    left: 0;
    right: 0;
    bottom: -7px;
    border-radius: 4px;
    font-weight: 700;
}
.vcard_block .top .avatar.pro_account::after {
    content: 'pro';
}
.vcard_block .top .avatar.vip_account::after {
    content: 'vip';
}
.vcard_block .top .avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}
.vcard_block .vcard_geo {
    font-size: 12px;
    margin: 10px 0;
    color: var(--grey-color);
    font-style: italic;
}
.vcard_block .personal {
    font-size: 12px;
    color: #2C2C2C;
    height: 28px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 6px 6px 0;
    background: #FFD79B;
    margin-bottom: 16px;
    position: relative;
    left: -20px;
}
.vcard_block .vcard_description {
    color: var(--grey-color);
    margin-bottom: 20px;
    line-height: 1;
}
.vcard_block .vcard_description.hidden-top {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--grey-color);
}
.vcard_block .vcard_description.hidden-top .no-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 18px;
}
.vcard_block .vcard_description .create {
    font-weight: 500;
    font-size: 13px;
    color: var(--dark-grey-color);
    display: inline-flex;
    align-items: center;
    margin-top: 30px;
}
.vcard_block .vcard_description .create i {
    color: var(--main-color);
    font-size: 20px;
    margin-right: 8px;
}
.vcard_block .vcard_link {
    color: var(--main-color);
    text-decoration: underline;
}
.vcard_block .vip {
    font-size: 11px;
    margin-top: 20px;
}
.vcard_block .vip a {
    color: var(--grey-color);
    font-style: italic;
}

.ui-multiselect, .multiselect-native-select .dropdown-toggle {
    background: #FAFAFA;
    border: 1px solid #E5E4E4;
    border-radius: var(--border-radius);
    height: 36px;
    box-sizing: border-box;
    padding: 0 30px 0 14px !important;
    align-items: center;
    color: var(--dark-grey-color);
    cursor: pointer;
    width: 100% !important;
    outline: none;
    position: relative;
    transition: all .3s;
    max-width: 300px;
    white-space: nowrap;
    text-align: left;
}
.ui-multiselect:hover, .multiselect-native-select .dropdown-toggle:hover {
    border-color: #C4C4C4;
}
.ui-multiselect::after, .multiselect-native-select .dropdown-toggle::after {
    content: '\e909';
    position: absolute;
    right: 16px;
    font-size: 4px;
    height: 4px;
    top: 0;
    bottom: 0;
    margin: auto;
    font-family: 'icomoon';
}
.ui-multiselect-menu, .multiselect-native-select .dropdown-menu {
    background: #fff;
    padding: 20px !important;
    border-radius: var(--border-radius);
    box-shadow: 0px 4px 16px rgb(97 97 97 / 10%);
}
.ui-multiselect-menu ul {
    padding: 0;
    margin: 0;
}
.ui-multiselect-menu li {
    display: block;
}
.ui-multiselect-header {
    display: none;
}
.ui-multiselect-checkboxes label {
    display: flex;
    align-items: center;
}
.ui-multiselect-checkboxes label input {
    margin-right: 10px;
}

.multiselect-native-select {
    position: relative;
}
.multiselect-native-select select {
    display: none;
}
.multiselect-native-select .form-control {
    width: 100%;
}
.multiselect-native-select .dropdown-menu {
    box-shadow: 0px 4px 30px rgba(97, 97, 97, 0.1);
    padding: 0 !important;
    position: absolute;
    top: 46px;
    margin: 0;
    padding: 0;
    width: 300px;
    display: none;
}
.multiselect-native-select .dropdown-menu.active {
    display: block;
}
.multiselect-native-select .multiselect-clear-filter {
    display: none;
}
.multiselect-native-select .multiselect-filter {
    padding: 20px 20px 10px;
}
.multiselect-native-select li {
    padding: 0;
    display: block;
}
.multiselect-native-select li a {
    display: block;
}
.multiselect-native-select li a label {
    padding: 10px 20px;
    display: flex;
}
.multiselect-native-select li a label::after {
    left: 25px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 9px;
}
.multiselect-native-select li.active a label, .multiselect-native-select a:hover label {
    background: #F6F6F6;
}
.multiselect-native-select li:last-child a label {
    border-radius: 0 0 6px 6px;
}

.header-notifications {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
}
.header-notifications .notification-bell {
    color: #555555;
    font-size: 20px;
    margin-right: 20px;
    position: relative;
    border-right: 1px solid var(--lightest-grey-color);
    padding-right: 20px;
    display: flex;
    align-items: center;
}
.header-notifications .notification-bell .new {
    content: '';
    font-weight: 700;
    font-size: 8px;
    padding: 0 6px;
    height: 14px;
    border-radius: 7px;
    background-color: var(--main-color);
    top: -3px;
    left: 6px;
    display: flex;
    position: absolute;
    color: #fff;
    align-items: center;
}
.header-notifications .notification-list {
    display: none;
    position: absolute;
    left: 0;
    top: 55px;
    background: #fff;
    box-shadow: 0px 4px 16px rgba(97, 97, 97, 0.1);
    border-radius: var(--border-radius);
    width: 400px;
    transform: translateX(calc(-50% + 20px));
    font-size: 13px;
}
.header-notifications .notification-list.active {
    display: block;
}
.header-notifications .notification-items {
    padding: 16px;
    overflow-y: auto;
    max-height: 660px;
    margin-right: 8px;
}
.header-notifications .notification-items::-webkit-scrollbar {
    width: 2px;
}
.header-notifications .notification-items::-webkit-scrollbar-track {
    background: #F0F0F0;
}
.header-notifications .notification-items::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
}
.header-notifications .notification-block {
    display: flex;
    border-radius: var(--border-radius);
    padding: 6px;
}
.header-notifications .notification-block + .notification-block {
    margin-top: 20px;
}
.header-notifications .notification-block:hover {
    background: #FAFAFA;
}
.header-notifications .notification-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    flex: 0 0 50px;
    position: relative;
}
.header-notifications .notification-avatar.pro_account::after,
.header-notifications .notification-avatar.vip_account::after {
    position: absolute;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-color);
    font-size: 8px;
    color: #fff;
    text-transform: uppercase;
    width: 26px;
    margin: auto;
    left: 0;
    right: 0;
    bottom: -7px;
    border-radius: 4px;
    font-weight: 700;
}
.header-notifications .notification-avatar.pro_account::after {
    content: 'pro';
}
.header-notifications .notification-avatar.vip_account::after {
    content: 'vip';
}
.header-notifications .notification-avatar img {
    max-width: 100%;
    max-height: 100%;
}
.header-notifications .notification-datetime {
    font-weight: 500;
    font-size: 10px;
    color: #8D8D8D;
    margin-bottom: 6px;
}
.header-notifications .notification-content  {
    font-style: italic;
    font-size: 12px;
}
.header-notifications .notification-content .user-name {
    display: block;
    font-style: normal;
    margin-bottom: 6px;
    font-size: 13px;
}
.header-notifications .check-all-read {
    height: 50px;
    display: flex;
    border-top: 1px solid #F2F1F1;
    font-weight: 500;
    font-size: 13px;
    align-items: center;
    padding: 0 16px;
}
.header-notifications .check-all-read i {
    font-size: 20px;
    margin-right: 8px;
}
.header-notifications .empty {
    color: var(--grey-color);
    font-size: 12px;
    padding: 16px;
}

.user-menu-toggle {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 13px;
    height: 100%;
}
.user-menu-toggle .avatar {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
}
.user-menu-toggle:hover + .user-menu, .user-menu:hover {
    display: block;
}
.user-menu {
    display: none;
    position: absolute;
    top: 59px;
    background: #FFFFFF;
    box-shadow: 0px 4px 16px rgba(97, 97, 97, 0.1);
    border-radius: 0px 0px var(--border-radius) var(--border-radius);
    right: 0;
    width: 200px;
    padding: 16px;
    margin: 0;
    z-index: 10;
}
.user-menu li {
    display: block;
}
.user-menu li:last-child, .user-menu li:last-child a {
    border-radius: 0px 0px var(--border-radius) var(--border-radius);
}
.user-menu a {
    padding: 10px 12px;
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
}
.user-menu a:hover {
    background-color: #fafafa;
}
.user-menu a i {
    font-size: 15px;
    margin-right: 10px;
    color: #C4C4C4;
}
.user-menu a:hover i {
    color: var(--main-color);
}
.user-menu .balance {
    padding-bottom: 16px;
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 12px;
    border-bottom: 1px solid #fafafa;
}
.user-menu .balance span {
    margin-top: 8px;
    color: var(--main-color);
    font-weight: 600;
    font-size: 14px;
    display: block;
}
.user-menu-toggle img {
    max-width: 30px;
    max-height: 30px;
    border-radius: 15px;
}
.user-menu-toggle i {
    font-size: 6px;
    color: var(--dark-grey-color);
    margin-left: 10px;
    font-weight: normal;
}

#content {
    flex: 1 0 auto;
    margin-top: 30px;
}

#header {
    background: #fff;
}
#header .top {
    border-bottom: 1px solid #E9E9E9;
}
#header .top .container {
    display: flex;
    align-items: center;
    height: 64px;
}
#header .top .right .login {
    margin-right: 10px;
}
#header .top .right .register {
    font-size: 12px;
    font-weight: 500;
    margin-left: 20px;
}
#header .top .right .notifications {
    color: #ccc;
    font-size: 18px;
    margin-right: 12px;
    position: relative;
}
#header .top .right .notifications.new::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--main-color);
    top: -3px;
    right: -3px;
    display: block;
    position: absolute;
}
#header .top .logo {
    height: 40px;
    margin-right: 60px;
}
#header .top .logo img {
    max-height: 100%;
}
#header .top .search {
    flex: 1 0 auto;
    margin-right: 70px;
    position: relative;
    height: 100%;
    z-index: 1;
}
#header .top .search .inner > .icon-search {
    position: absolute;
    font-size: 20px;
    height: 20px;
    margin: auto;
    left: 0px;
    top: 0;
    bottom: 0;
    z-index: 1;
}
#header .top .search .icon-cancel {
    position: absolute;
    font-size: 20px;
    height: 20px;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 20px;
    z-index: 1;
    color: #9D9D9D;
    display: none;
    cursor: pointer;
}
#header .top .search .inner {
    width: 100%;
    position: absolute;
    height: 100%;
}
#header .top .search input {
    height: 100%;
    background: #fff;
    border: 0;
    padding: 0 12px 0 32px;
    width: 100%;
    font-size: 12px;
    font-weight: 500;
}
#header .top .search.focused .icon-cancel {
    display: block;
}
#header .top .search .results, #header-thin .search .results {
    position: absolute;
    top: 64px;
    left: 0;
    background-color: #fff;
    border-radius: 0 0 6px 6px;
    width: 883px;
    min-height: 548px;
    box-shadow: 0px 4px 16px rgb(97 97 97 / 10%);
    display: none;
}
#header .top .search.focused .results, #header-thin .search.focused .results {
    display: block;
}
#header .top .search .results .top-results, #header-thin .search .results .top-results {
    display: flex;
    height: 500px;
    position: relative;
}
#header .top .search .results .top-results.loading::after, #header-thin .search .top-results.loading::after {
    display: flex;
    content: url('/assets/images/preloader.gif');
    align-items: center;
    justify-content: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .9);
    position: absolute;
}
#header .top .search .results .tabs, #header-thin .search .results .search-tabs {
    width: 165px;
    background-color: #FAFAFA;
    border-right: 1px solid #E9E9E9;
    display: block;
    flex: 0 0 165px;
}
#header .top .search .results .tabs a, #header-thin .search .results .search-tabs a {
    color: var(--light-grey-color);
    font-weight: 600;
    font-size: 12px;
    padding: 17px 20px;
    display: block;
    transition: all .3s;
}
#header .top .search .results .tabs a:hover, #header-thin .search .results .search-tabs a:hover {
    background-color: #fff;
}
#header .top .search .results .tabs a.active, #header-thin .search .results .search-tabs a.active {
    background-color: #fff;
    color: var(--dark-grey-color);
}
#header .top .search .results .tabs a + a, #header-thin .search .results .search-tabs a + a {
    border-top: 1px solid #E9E9E9;
}
#header .top .search .results .tabs a.active + a, #header-thin .search .results .search-tabs a.active + a {
    border-top: 2px solid var(--main-color);
}
#header .top .search .results .right-results, #header-thin .search .results .right-results {
    flex: 0 0 calc(100% - 165px);
    width: calc(100% - 165px);
}
#header .top .search .results .right-results > .heading, #header-thin .search .results .right-results > .heading {
    font-size: 14px;
    font-weight: 500;
    padding: 0 20px;
    height: 58px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #E9E9E9;
}
#header .top .search .results .right-results .items, #header-thin .search .results .right-results .items {
    margin: 0px 10px 0 20px;
    height: calc(100% - 58px);
    overflow-y: auto;
    padding-right: 20px;
}
#header .top .search .results .right-results .items::-webkit-scrollbar, #header-thin .search .results .right-results .items::-webkit-scrollbar {
    width: 2px;
    background-color: #E9E9E9;
    border-radius: 1px;
}
#header .top .search .results .right-results .items::-webkit-scrollbar-thumb, #header-thin .search .results .right-results .items::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    border-radius: 1px;
}
#header .top .search .results .right-results .items .item, #header-thin .search .results .right-results .items .item {
    padding-top: 16px;
    display: none;
}
#header .top .search .results .right-results .items .item:last-child, #header-thin .search .results .right-results .items .item:last-child {
    padding-bottom: 16px;
}
#header .top .search .results .right-results.show-all .item,
#header-thin .search .results .right-results.show-all .item {
    display: block;
}
#header .top .search .results .right-results.show-content .item.article,
#header-thin .search .results .right-results.show-content .item.content,
#header-thin .search .results .right-results.show-contacts .item.contact,
#header-thin .search .results .right-results.show-sections .item.section {
    display: block;
}
#header .top .search .results .right-results.show-users .item.user {
    display: flex;
}
#header .top .search .results .right-results.show-comments .item.comment {
    display: block;
}
#header .top .search .results .right-results.show-notes .item.note {
    display: block;
}
#header .top .search .results .right-results .items .item.prototype,
#header-thin .search .results .right-results .items .item.prototype {
    display: none !important;
}
#header .top .search .results .right-results .items .item:not(.prototype) + .item {
    border-top: 1px solid #E9E9E9;
    margin-top: 16px;
}
#header .top .search .results .right-results .items .item:last-child {
    padding-bottom: 16px;
}
#header .top .search .results .right-results .article .title,
#header-thin .search .results .right-results .item.section .title,
#header-thin .search .results .right-results .item.content .title,
#header-thin .search .results .right-results .item.contact .title {
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 16px;
    display: block;
}
#header-thin .search .results .right-results .item.contact .title {
    margin-bottom: 0;
}
#header .top .search .results .right-results .article .body,
#header-thin .search .results .right-results .item.section .body,
#header-thin .search .results .right-results .item.content .body {
    font-weight: 400;
    color: var(--grey-color);
    margin-bottom: 16px;
    display: block;
    height: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}
#header .top .search .results .right-results .article .breadcrumbs {
    font-weight: 400;
    font-size: 11px;
    font-style: italic;
    margin-bottom: 16px;
}
#header .top .search .results .right-results .article .breadcrumbs a {
    color: #F04524;
    text-decoration: underline;
}
#header .top .search .results .right-results .article .date,
#header-thin .search .results .right-results .item.content .date {
    font-weight: 500;
    font-size: 10px;
    color: var(--light-grey-color);
}
#header .top .search .results .right-results .user {
    display: flex;
    align-items: center;
}
#header .top .search .results .right-results .user .avatar {
    width: 44px;
    height: 44px;
    margin-right: 10px;
    position: relative;
    display: flex;
    justify-content: center;
}
#header .top .search .results .right-results .user .avatar img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
}
#header .top .search .results .right-results .user .avatar .tariff {
    position: absolute;
    background-color: var(--main-color);
    font-weight: 700;
    font-size: 8px;
    color: #fff;
    padding: 0px 6px;
    border-radius: 4px;
    height: 14px;
    display: flex;
    align-items: center;
    bottom: -7px;
    text-transform: uppercase;
}
#header .top .search .results .right-results .user .name {
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 10px;
}
#header .top .search .results .right-results .user .description {
    font-weight: 400;
    font-size: 12px;
    color: var(--grey-color);
}
#header .top .search .results .more, #header-thin .search .results .more {
    flex: 0 0 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-color);
    font-size: 12px;
    border: 0;
    border-top: 1px solid #E9E9E9;
    font-weight: 600;
    background: #fff;
    width: 100%;
    cursor: pointer;
}
#header .top .search .results .more i, #header-thin .search .results .more i {
    font-size: 14px;
    margin-right: 10px;
}
#header .top .service-link {
    display: flex;
    font-weight: 600;
    align-items: center;
    position: relative;
    padding: 0 20px;
}
#header .top .service-link::before {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
    margin-right: 10px;
}
#header .top .service-link + .service-link::after {
    position: absolute;
    left: 0;
    height: 20px;
    width: 1px;
    background-color: #E9E9E9;
    content: '';
    display: block;
}
#header .top .service-link .label {
    display: flex;
    flex-direction: column;
}
#header .top .service-link .label span {
    color: var(--light-grey-color);
    font-size: 12px;
    margin-top: 4px;
    font-weight: normal;
}
#header .top .service-link-users::before {
    content: url(/assets/images/new/header-1.svg);
}
#header .top .service-link-prices::before {
    content: url(/assets/images/new/header-3.svg);
}
#header .top .service-link-services::before {
    content: url(/assets/images/new/header-2.svg);
}
#header .top .login {
    margin: 0 10px 0 20px;
    width: 80px;
}
#header .bottom {
    height: 40px;
    background: var(--main-color);
}
#header .bottom .container {
    height: 100%;
    display: flex;
    align-items: center;
}
#header .bottom ul {
    display: flex;
    padding: 0;
    margin: 0;
}
#header .bottom ul li {
    display: flex;
}
#header .bottom ul li + li{
    margin-left: 60px;
}
#header .bottom a {
    font-weight: 600;
    font-size: 13px;
    color: #fff;
}
#header .bottom .badge {
    font-size: 9px;
    font-weight: 700;
    border: 1px solid #fff;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-items: center;
    height: 16px;
    padding: 0 4px;
    margin-left: 5px;
    vertical-align: middle;
    font-weight: bold;
}

#footer {
    background: #fff;
    padding: 38px 0 20px;
}
#footer .top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E9E9E9;
}
#footer .column {
    padding-right: 10px;
}
#footer .column .heading {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 14px;
}
#footer .column ul {
    padding: 0;
    margin: 0;
}
#footer .column li {
    display: block;
    margin-bottom: 12px;
}
#footer .column a {
    font-size: 12px;
}
#footer .useful-links {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    font-size: 12px;
}
#footer .useful-links .group-links {
    margin-top: 18px;
}
#footer .useful-links .group-links a + a{
    margin-left: 20px;
}
#footer .useful-links .group-links .telegram {
    background: #039BE5;
    color: #fff;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 12px;
    border-radius: var(--border-radius);
    width: 180px;
}
#footer .useful-links .stats {
    font-size: 14px !important;
}
#footer .support-us {
    border: 2px solid var(--main-color);
    border-radius: var(--border-radius);
    padding: 15px;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--light-grey-color);
    margin-top: 24px;
}
#footer .support-us.mobile {
    display: none;
}
#footer .support-us img {
    margin-right: 30px;
}
#footer .support-us strong {
    color: #2C2C2C;
    font-size: 13px;
    margin-bottom: 8px;
}
#footer .support-us .text {
    display: flex;
    flex-direction: column;
}
#footer .useful-links .group-links .telegram i {
    margin-right: 10px;
    font-size: 10px;
}
#footer .useful-links .feedback {
    margin-top: 20px;
}
#footer .useful-links .feedback a {
    color: var(--main-color);
    font-weight: 500;
}
#footer .middle {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
#footer .middle .left > a, #footer .middle .right a {
    font-weight: 500;
    margin-left: 40px;
    text-decoration: underline;
}
#footer .middle .left {
    display: flex;
}
#footer .middle .right a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
#footer .middle .right a i {
    margin-right: 8px;
    color: var(--light-grey-color);
}
#footer .middle .right a .icon-rss {
    font-size: 9px;
}
#footer .middle .right a .icon-translate {
    font-size: 13px;
}
#footer .bottom {
    display: flex;
    font-size: 12px;
    align-items: center;
    justify-content: space-between;
}
#footer .bottom .note {
    flex: 0 0 70%;
    color: #8A8A8A;
}
#footer .bottom .zelenoe a {
    color: var(--main-color);
    text-decoration: underline;
    font-weight: 500;
}

#login-form {
    width: 466px;
    background: #FFFFFF;
    box-shadow: 0px 4px 16px rgba(97, 97, 97, 0.1);
    margin: 100px auto;
    max-width: 100%;
    border-radius: var(--border-radius);
}
#login-form .main {
    padding: 40px 60px;
    border-bottom: 1px solid #E9E9E9;
    display: flex;
    flex-direction: column;
}
#login-form h1 {
    margin: 0 0 30px;
    font-weight: 600;
    font-size: 24px;
}
#login-form #login-field,
#login-form #password-field {
    margin-bottom: 20px;
}
#login-form .checkbox {
    font-size: 12px;
    margin-bottom: 20px;
}
#login-form .button-red {
    width: 140px;
    margin-right: 6px;
    font-size: 14px;
}
#login-form .buttons {
    font-size: 12px;
    color: var(--light-grey-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
#login-form .reset {
    text-decoration: underline;
    font-size: 13px;
}
#login-form .footer, #register-form .footer {
    padding: 18px;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
}
#login-form .footer a, #register-form .footer a {
    text-decoration: underline;
    color: var(--main-color);
}

#register-form {
    width: 568px;
    max-width: 100%;
    margin: 0px auto 30px;
    background: #FFFFFF;
    box-shadow: 0px 4px 16px rgba(97, 97, 97, 0.1);
    border-radius: var(--border-radius);
}
#register-form .inner {
    padding: 40px 60px;
}
#register-form .heading {
    display: flex;
    align-items: center;
}
#register-form h1 {
    margin: 0 0 35px 0;
}
#register-form .heading i {
    margin-right: 10px;
    width: 30px;
    height: 30px;
    border: 1px solid #E9E9E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-style: normal;
    color: #998DE1;
}
#register-form .heading a {
    text-decoration: underline;
}
#register-form .text-field {
    margin-bottom: 20px;
}
#register-form .register-as,
#register-form .text-field.padded {
    padding-right: 42px;
}
#register-form .register-as .select-input {
    width: 100%;
}
#register-form .register-as label,
#register-form #advokat_only label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}
#register-form #advokat_only {
    margin-top: 20px;
}
#register-form .social-register {
    font-weight: 600;
    display: flex;
    align-items: center;
    margin: 40px 0;
    font-size: 13px;
}
#register-form .extra-text-fields {
    margin: 20px 0;
    color: var(--grey-color);
}
#register-form .extra-fields {
    font-weight: 500;
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid #E9E9E9;
}
#register-form .agreement {
    font-size: 12px;
    margin: 20px 0;
}
#register-form .agreement a{
    color: var(--main-color);
    text-decoration: underline;
}
#register-form .buttons {
    display: flex;
    align-items: center;
}
#register-form .buttons .button-red {
    width: 200px;
    height: 44px;
}
#register-form .buttons .right {
    font-size: 13px;
    margin-left: 20px;
    font-weight: 500;
}
#register-form .buttons .right a {
    text-decoration: underline;
    color: var(--main-color);
    margin-top: 4px;
    display: block;
}
#register-form .why-window .modal-content {
    width: 710px;
}

#registration-confirm {
    background-color: #fff;
    padding: 30px 20px;
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    line-height: 1;
}
#registration-confirm h1 {
    margin: 0 0 30px;
}
#registration-confirm .success {
    font-size: 16px;
    margin-bottom: 30px;
}
#registration-confirm .info {
    color: var(--grey-color);
    margin-bottom: 30px;
}
#registration-confirm .info a {
    color: #998DE1;
    text-decoration: underline;
}
#registration-confirm .button-red {
    width: 273px;
    margin-bottom: 30px;
    padding: 0;
}
#registration-confirm .locked {
    margin-bottom: 20px;
}
#registration-confirm .questions {
    width: 446px;
    max-width: 100%;
    padding: 20px;
    background: rgba(153, 141, 225, 0.06);
    border: 1px solid #E7E4F8;
    border-radius: 4px;
}
#registration-confirm .questions a {
    margin-top: 16px;
    background: #FFFFFF;
    border: 1px solid #E7E4F8;
    border-radius: 3px;
    font-weight: 500;
    width: 170px;
    height: 30px;
    display: flex;
    font-size: 12px;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, .2);
    z-index: 9;
    display: none;
}
.overlay.active {
    display: block;
}

.mobile-table .mobile-td .mobile-td-label {
    display: none;
}

@media (max-width: 1440px) {
    #footer {
        padding-left: 14px;
        padding-right: 14px;
    }
}
@media (max-width: 1280px) {
    #header .top .search .results, #header-thin .search .results {
        width: 750px
    }
}
@media (max-width: 1024px) {
    #header .top .search.focused .results, #header-thin .search.focused .results {
        left: 0;
        position: fixed;
        width: 100%;
    }
}
@media (max-width: 768px) {
    .text-field, .text-field input[type="text"], .text-field .twitter-typeahead {
        width: 100%;
    }

    #footer .top {
        flex-wrap: wrap;
    }
    #footer .top .column {
        flex: 0 0 calc(50% - 10px);
    }
    #footer .container {
        padding: 0 14px;
    }
    #footer .support-us {
        display: none;
    }
    #footer .support-us.mobile {
        display: flex;
        width: 100%;
    }
    #footer .middle, #footer .middle .left, #footer .bottom {
        flex-direction: column;
    }
    #footer .middle a {
        margin-left: 0;
        margin-top: 20px;
    }
    #footer .middle .right {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    #footer .bottom {
        align-items: flex-start;
    }
    #footer .bottom .zelenoe {
        margin-top: 10px;
    }

    .mobile-table thead {
        display: none;
    }
    .mobile-table tr {
        display: flex;
        flex-direction: column;
        border-top: 1px solid var(--lightest-grey-color);
    }
    .mobile-table tr:last-child {
        border-bottom: 1px solid var(--lightest-grey-color);
    }
    .mobile-table td {
        border: 0;
    }
    .mobile-table td, .mobile-table td:first-child, .mobile-table td:last-child {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border: 0 !important;
    }
    .mobile-table .mobile-td {
        display: flex;
        align-items: center;
    }
    .mobile-table .mobile-td .mobile-td-label {
        flex: 0 0 40%;
        padding-right: 10px;
        font-weight: 500;
        display: block;
    }
    .mobile-table .mobile-td .mobile-td-content {
        flex: 0 0 60%;
    }

    .vcard_block {
        width: 100%;
        flex: 0 0 100%;
    }

    .header-notifications .notification-list, .user-menu {
        width: 100%;
        position: fixed;
        top: 136px;
        height: calc(100vh - 136px);
        z-index: 10;
        transform: none;
    }
    .header-notifications .notification-items {
        max-height: initial;
        height: calc(100% - 50px);
    }

    .user-menu-toggle:hover + .user-menu {
        display: none;
    }
    .user-menu.active {
        display: block !important;
    }

    #header .top .search .results, #header-thin .search .results {
        width: auto;
        min-height: initial !important;
        max-height: calc(100% - 64px);
        position: fixed;
    }
    #header-thin .search .results {
        max-height: calc(100% - 60px) !important;
    }
    #header .top .search .results .top-results, #header-thin .search .results .top-results {
        height: auto;
        flex-direction: column;
    }
    #header .top .search .results .tabs, #header-thin .search .results .search-tabs {
        display: flex;
        justify-content: space-around;
        width: auto;
        background: none;
        flex: 1 1 auto;
    }
    #header .top .search .results .tabs a, #header-thin .search .results .search-tabs a {
        display: flex;
        border-bottom: 2px solid #F0F0F0;
    }
    #header .top .search .results .tabs a span, #header-thin .search .results .search-tabs a span {
        margin-left: 4px;
    }
    #header .top .search .results .tabs a.active + a, #header-thin .search .results .search-tabs a.active + a,
    #header .top .search .results .tabs a + a, #header-thin .search .results .search-tabs a + a {
        border-top: 0;
    }
    #header .top .search .results .tabs a.active, #header-thin .search .results .search-tabs a.active {
        border-bottom: 2px solid var(--main-color);
    }
    #header .top .search .results .right-results .items {
        height: calc(100vh - 58px - 50px - 64px);
    }
    #header-thin .search .results .right-results .items {
        height: calc(100vh - 58px - 50px - 60px);
    }
    #header .top .search .icon-close, #header-thin .search .icon-close {
        position: absolute;
        right: 20px;
        top: 0;
        bottom: 0;
        z-index: 1;
        margin: auto;
        font-size: 14px;
        height: 14px;
    }
}