/* Session messages ========================================================= */

.sess_messages {
    margin-bottom: 10px;
}

.sess_messages div {
    padding: 10px;
    padding-left: 30px;
    background: #f9f9f9;
    line-height: 16px;
    margin-bottom: 2px;
    color: #FFF;
}

.sess_messages div a {
    color: #ecf0f1;
}

.sess_messages div a:hover {
    color: #d35400;
}

.sess_messages .message_info {
    background: url("../images/icons/info.png") no-repeat 10px center #2980b9;
}

.sess_messages .message_success {
    background: url("../images/icons/accept.png") no-repeat 10px center #27ae60;
}

.sess_messages .message_error {
    background: url("../images/icons/error.png") no-repeat 10px center #e74c3c;
}

.sess_messages .message_info_in_page {
    color: #555;
    padding: 10px 15px;
}

.ui_message {
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fff;
    /* border-color: #2980b9; 023*/
    border-width: 1px;
    border-style: solid;
    border-left-width: 10px;
    color: #555;
}

.ui_message.ui_warning {
    background-color: #FDE3A7;
    border-color: #f39c12;
}

.ui_message.ui_error {
    background-color: #F1A9A0;
    border-color: #e74c3c;
}

#alert_wrap {
    box-sizing: border-box;
    overflow: hidden;
    width: 320px;
}

#alert_wrap .ui_message {
    margin-bottom: 0;
}


/* Indicators =============================================================== */

.loading {
    padding-left: 20px;
    background: url("../images/loader16.gif") no-repeat left center;
}

.loading-icon {
    display: block;
    width: 16px;
    height: 16px;
    background: url("../images/loader16.gif") no-repeat left center;
}

.loading-panel {
    background: url("../images/loader24.gif") no-repeat center center;
}

.is_private,
.is_closed {
    display: inline-block;
    cursor: help;
    width: 16px;
    height: 16px;
    background: url("../images/icons/eye.png") no-repeat;
}

.content_list_item .is_private,
.widget_content_list .is_private,
.content_list .is_private,
.content_list_item .is_closed,
.widget_content_list .is_closed {
    height: 14px;
}

.is_closed {
    background: url("../images/icons/lock.png") no-repeat;
}

.is_online {
    background: #40d47e;
    color: #FFF;
    font-size: 11px;
    line-height: 15px;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-block;
}


/* Menu icons =============================================================== */

.icon-accept,
.menu .lock .item {
    background-image: url("../images/icons/lock.png");
}

.icon-accept,
.menu .accept .item {
    background-image: url("../images/icons/accept.png");
}

.icon-add,
.menu .add .item {
    background-image: url("../images/icons/add.png");
}

.icon-edit,
.menu .edit .item {
    background-image: url("../images/icons/edit.png");
}

.icon-delete,
.menu .delete .item {
    background-image: url("../images/icons/delete.png");
}

.icon-save,
.menu .save .item {
    background-image: url("../images/icons/save.png");
}

.icon-save_draft,
.menu .save_draft .item {
    background-image: url("../images/icons/save_draft.png");
}

.icon-draft,
.menu .draft .item {
    background-image: url("../images/icons/draft.png");
}

.icon-return_for_revision,
.menu .return_for_revision .item {
    background-image: url("../images/icons/return_for_revision.png");
}

.icon-return,
.menu .return .item {
    background-image: url("../images/icons/return.png");
}

.icon-cancel,
.menu .cancel .item {
    background-image: url("../images/icons/cancel.png");
}

.icon-key,
.menu .key .item {
    background-image: url("../images/icons/key.png");
}

.icon-page_gear,
.menu .page_gear .item {
    background-image: url("../images/icons/page_gear.png");
}

.icon-folder_add,
.menu .folder_add .item {
    background-image: url("../images/icons/folder_add.png");
}

.icon-folder_edit,
.menu .folder_edit .item {
    background-image: url("../images/icons/folder_edit.png");
}

.icon-folder_delete,
.menu .folder_delete .item {
    background-image: url("../images/icons/folder_delete.png");
}

.icon-user_add,
.menu .user_add .item {
    background-image: url("../images/icons/user_add.png");
}

.icon-user_delete,
.menu .user_delete .item {
    background-image: url("../images/icons/user_delete.png");
}

.icon-group,
.menu .group .item {
    background-image: url("../images/icons/group.png");
}

.icon-group_add,
.menu .group_add .item {
    background-image: url("../images/icons/group_add.png");
}

.icon-group_delete,
.menu group_delete .item {
    background-image: url("../images/icons/group_delete.png");
}

.icon-profile,
.menu .profile .item {
    background-image: url("../images/icons/profile.png");
}

.icon-messages,
.menu .messages .item {
    background-image: url("../images/icons/messages.png");
}

.icon-info,
.menu .info .item {
    background-image: url("../images/icons/info.png");
}

.icon-blog,
.menu .blog .item {
    background-image: url("../images/icons/blog.png");
}

.icon-settings,
.menu .settings .item {
    background-image: url("../images/icons/settings.png");
}

.icon-cpanel,
.menu .cpanel .item {
    background-image: url("../images/icons/cpanel.png");
}

.icon-more,
.menu .more>.item {
    background-image: url("../images/icons/folders.png");
}

.icon-logout,
.menu .logout .item {
    background-image: url("../images/icons/logout.png");
}

.icon-checklist,
.menu .checklist .item {
    background-image: url("../images/icons/checklist.png");
}

.icon-onchecklist,
.menu .onchecklist .item {
    background-image: url("../images/icons/onchecklist.png");
}

.icon-images,
.menu .images .item {
    background-image: url("../images/icons/images.png");
}

.icon-invites,
.menu .invites .item {
    background-image: url("../images/icons/signature.png");
}

.icon-balance,
.menu .balance .item {
    background-image: url("../images/icons/coin.png");
}

.icon-transfer,
.menu .transfer .item {
    background-image: url("../images/icons/transfer.png");
}

.icon-coins_add,
.menu .coins_add .item {
    background-image: url("../images/icons/coins_add.png");
}

.icon-coins_delete,
.menu .coins_delete .item {
    background-image: url("../images/icons/coins_delete.png");
}

.icon-basket_put,
.menu .basket_put .item {
    background-image: url("../images/icons/basket_put.png");
}

.icon-basket_remove,
.menu .basket_remove .item {
    background-image: url("../images/icons/basket_remove.png");
}

.icon-basket,
.menu .basket .item {
    background-image: url("../images/icons/basket.png");
}

.icon-newspaper_add,
.menu .newspaper_add .item {
    background-image: url("../images/icons/newspaper_add.png");
}

.icon-newspaper_delete,
.menu .newspaper_delete .item {
    background-image: url("../images/icons/newspaper_delete.png");
}

.icon-bell,
.menu .bell .item {
    background-image: url("../images/icons/bell.png");
}


/* Misc icons =============================================================== */

.medal-icon-16 {
    width: 16px;
    height: 32px;
}

.medal1-16 {
    background: url("../images/icons/medal_gold.png") no-repeat center center;
}

.medal2-16 {
    background: url("../images/icons/medal_silver.png") no-repeat center center;
}

.medal3-16 {
    background: url("../images/icons/medal_bronze.png") no-repeat center center;
}

.medal-icon-32 {
    width: 32px;
    height: 64px;
}

.medal1-32 {
    background: url("../images/icons32/medal_gold.png") no-repeat center center;
}

.medal2-32 {
    background: url("../images/icons32/medal_silver.png") no-repeat center center;
}

.medal3-32 {
    background: url("../images/icons32/medal_bronze.png") no-repeat center center;
}


/* Misc Icons =============================================================== */

.medal-icon-16 {
    width: 16px;
    height: 32px;
}

.medal1-16 {
    background: url("../images/icons/medal_gold.png") no-repeat center center;
}

.medal2-16 {
    background: url("../images/icons/medal_silver.png") no-repeat center center;
}

.medal3-16 {
    background: url("../images/icons/medal_bronze.png") no-repeat center center;
}

.medal-icon-32 {
    width: 32px;
    height: 64px;
}

.medal1-32 {
    background: url("../images/icons32/medal_gold.png") no-repeat center center;
}

.medal2-32 {
    background: url("../images/icons32/medal_silver.png") no-repeat center center;
}

.medal3-32 {
    background: url("../images/icons32/medal_bronze.png") no-repeat center center;
}


/* Pills Menu =============================================================== */

.pills-menu,
.pills-menu li,
.pills-menu-small,
.pills-menu-small li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pills-menu {
    margin-bottom: 20px;
}

.pills-menu,
.pills-menu-small {
    overflow: hidden;
    clear: both;
}

.pills-menu li,
.pills-menu-small li {
    float: left;
    padding: 0 10px;
    border-radius: 3px;
    background: #f0f0f0;
}

.pills-menu li {
    height: 32px;
    line-height: 32px;
    font-size: 18px;
    margin-right: 12px;
}

.pills-menu-small li {
    /* height:24px; 023*/
    line-height: 24px;
    font-size: 14px;
    margin-right: 6px;
}

.pills-menu li.active,
.pills-menu-small li.active {
    background: #34495E;
    color: #FFF;
}

.pills-menu li a,
.pills-menu-small li a {
    color: #7f8c8d;
    text-decoration: none;
}

.pills-menu li a:hover,
.pills-menu-small li a:hover {
    color: #d35400;
}

.pills-menu li.active a,
.pills-menu-small li.active a {
    color: #FFF;
}

.pills-menu li .counter,
.pills-menu-small li .counter {
    color: #BDC3C7;
    font-size: 11px;
}

.pills-menu li.active .counter,
.pills-menu-small li.active .counter {
    color: #fff;
}


/* Tabs Menu =============================================================== */

.tabs-menu {
    margin-bottom: 20px;
    position: relative;
    clear: both;
}

#user_profile_tabs .tabs-menu {
    margin-bottom: 0px;
}

.tabs-menu ul,
.tabs-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#user_profile_tabs .tabs-menu>ul {
    border-bottom: none;
}

#user_profile_tabs {
    margin-top: 15px;
}

#user_profile_tabs .tabs-menu>ul>li a {
    text-transform: none;
    font-size: 14px;
}

.tabs-menu>ul {
    /*  border-bottom: solid 1px #B3C2C9;
    height:33px;
    clear:both; */
}

.tabs-menu .tabbed li {
    float: left;
    font-size: 15px;
    margin-right: 3px;
    background: #FFF;
}

.tabs-menu .tabbed li a {
    text-decoration: none;
    display: inline-block;
    padding: 0 10px;
    border: solid 1px #FFF;
    border-bottom: transparent;
    height: 32px;
    line-height: 32px;
}

.tabs-menu .tabbed li a {
    color: #95a5a6;
}

.tabs-menu .tabbed li a:hover {
    background-color: #e1ebef;
    color: #34495e;
}

.tabs-menu .tabbed li.active a,
.tabs-menu .tabbed li.active a:hover {
    cursor: default;
    color: #34495e;
    border: solid 1px #B3C2C9;
    border-bottom: none;
    background-color: #FFF;
    margin: 1px 0 0 0;
}

.tabs-menu li a .counter {
    color: #34495e;
    font-size: 12px;
    margin-top: -15px;
    margin-bottom: -15px;
    vertical-align: unset;
}

.tabs-menu li.more>.item {
    padding-right: 5px;
}

.tabs-menu li.more>.item>span {
    background-image: url("../images/icons/bullet_arrow_down.png");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 18px;
}

.tabs-menu li.active a .counter {
    color: #fff;
}

.tabs-menu li a:hover .counter {
    /*color:#fff;*/
}

.tabs-menu li.folder>ul {
    visibility: hidden;
    position: absolute;
    border: solid 1px #B3C2C9;
    float: none;
    margin-top: -1px;
    margin-left: 1px;
    z-index: 1500;
}

.tabs-menu li.folder>ul li {
    border: none;
    width: 100%;
    float: none;
}

.tabs-menu li.folder>ul li a {
    border: none;
    border-radius: 0;
    width: 100%;
    padding: 0;
}

.tabs-menu li.folder>ul li a:hover {
    color: #34495e;
    border: none !important;
}

.tabs-menu li.folder>ul li a span {
    padding: 0 10px;
}

.tabs-menu li.folder:hover>ul {
    visibility: visible;
}

.tabs-menu>select {
    display: none;
}

.controller_actions_menu {
    float: right;
    position: relative;
    padding-top: 7px;
    margin-left: 10px;
}

.list_actions_menu.controller_actions_menu .dropdown-menu {
    margin-left: -170px;
}

#body .controller_actions_menu ul.menu {
    display: none;
    position: absolute;
    z-index: 1;
    width: 300px;
    right: 0;
    border: 1px solid #dfe6ed;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

#body .controller_actions_menu ul.menu li {
    padding: 3px 0;
    line-height: 16px;
}

.group_menu_title {
    background-color: #e5ebf1;
    background-image: url(../images/icons/menu.png);
    background-repeat: no-repeat;
    background-position: center right 11px;
    border-radius: 2px;
    color: #55677d;
    padding: 11px 39px 11px 16px;
    cursor: pointer;
    display: block;
}

.group_menu_title.loading {
    background-image: url(../images/loader16.gif);
}

.group_menu_title:hover,
#body .controller_actions_menu>input:checked+.group_menu_title {
    background-color: #dfe6ed;
    border-radius: 2px 2px 0 0;
}

.controller_actions_menu>input {
    display: none;
}

#body .controller_actions_menu>input:checked+label+ul.menu {
    display: block;
}

#body section .list_actions_menu .menu a {
    padding: 4px 10px;
    font-size: 14px;
}

.list_actions_menu .group_menu_title {
    padding: 0;
    display: block;
    width: 38px;
    height: 28px;
    margin: 0 0 0 10px;
}


/* Panels =================================================================== */

.gui-panel {
    background: #f0f0f0;
    border: solid 1px #f0f0f0;
    border-radius: 3px;
    margin: 20px 0;
    padding: 15px;
    box-sizing: border-box;
    clear: both;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.14);
}

.gui-panel h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.filter-panel {
    padding: 0;
}

.filter-panel .filter-link a {
    display: block;
    padding: 7px 5px;
    padding-left: 10px;
    text-decoration: none;
    color: #68809B;
}

.filter-panel .filter-link a:hover {
    background-color: #f4fafc;
}

.filter-panel .filter-link a span {
    padding-left: 20px;
    background: url("../images/icons/search.png") no-repeat left center;
}

.filter-panel .filter-container {
    padding: 15px;
    box-sizing: border-box;
    clear: both;
    position: relative;
}

.filter-close {
    font-size: 0.9em;
    line-height: 0.9em;
    position: absolute;
    top: 6px;
    right: 9px;
}

.filter-close a {
    color: #666;
}

.filter-panel .fields {
    box-sizing: border-box;
    clear: both;
}

.filter-panel .fields .title {
    color: #68809B;
    text-shadow: 0 1px 1px #fff;
    margin-bottom: 3px;
}

.filter-panel .input,
.filter-panel select {
    margin: 0;
}

.filter-panel select {
    padding: 3px 4px;
}

.filter-panel .fields .field {
    min-height: 50px;
    width: 49%;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.filter-panel .fields .field:nth-child(even) {
    float: right;
}

.filter-panel .fields .field:nth-child(odd) {
    float: left;
}

.filter-panel .input_checkbox_list {
    overflow: hidden;
}

.filter-panel .input_checkbox_list label {
    float: left;
    margin-right: 5px;
    color: #34495e;
    font-size: 12px;
}

.filter-panel .buttons {
    overflow: hidden;
    clear: both;
    margin-top: 5px;
}

.filter-panel .buttons .button-submit {
    float: left;
    padding: 8px;
}

.filter-panel .buttons .link {
    float: left;
    height: 32px;
    line-height: 32px;
    margin-left: 10px;
}

.filter-panel .buttons .link a {
    color: #34495e;
}

.filter-panel .buttons .link a:hover {
    color: #d35400;
}


/* Lists ==================================================================== */

.striped-list {}

.striped-list .item {
    padding: 15px 0;
    border-bottom: solid 1px #f0f0f0;
    clear: both;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
}

.striped-list .item:last-child {
    border: none;
}

.striped-list .item .position,
.striped-list .item .icon,
.striped-list .item .title,
.striped-list .item .title-multiline,
.striped-list .item .actions {
    float: left;
    margin-right: 15px;
}

.striped-list .item .title a {
    font-weight: 500;
}

.striped-list .item .icon img {
    display: block;
    border-radius: 100%;
}

.striped-list .item .position {
    text-align: center;
}

.striped-list .item .actions {
    float: right;
    margin-right: 0;
    color: #666;
}

.striped-list .item .actions:before {
    content: attr(data-notice_title);
    background-color: #2980b9;
    color: #FFF;
    display: inline-block;
    font-size: 12px;
    border-radius: 2px;
    padding: 0 10px;
}

.striped-list.list-16 .item {
    min-height: 16px;
    line-height: 16px;
}

.striped-list.list-32 .item {
    min-height: 32px;
    line-height: 32px;
}

.striped-list.list-48 .item {
    min-height: 48px;
    line-height: 48px;
}

.striped-list.list-64 .item {
    min-height: 64px;
    line-height: 64px;
}

.striped-list.list-32 .item .position {
    width: 16px;
    height: 32px;
}

.striped-list.list-64 .item .position {
    width: 32px;
    height: 64px;
}

.striped-list .item .title-multiline {
    line-height: 20px;
    float: none;
    padding-left: 45px;
}


/*023*/

.striped-list .item .title-multiline a {
    font-weight: 500;
}


/*023*/

.striped-list .rate_value {
    padding: 5px 10px;
    border: solid 1px #EDEDED;
    width: 40px;
    text-align: center;
    cursor: help;
}

.striped-list .rate_value.positive {
    color: green;
}

.striped-list .rate_value.negative {
    color: red;
}

.striped-list .rate_value.zero {
    color: #CCCCCC;
}

.striped-list .date-title {
    font-weight: 500;
    font-size: 14px;
}

.striped-list i {
    font-size: 18px;
    float: left;
    margin-right: 2px;
}


/* Pagination =============================================================== */

.pagebar {
    clear: both;
    font-size: 12px;
    margin-bottom: 15px;
    margin-top: 30px;
}

.pagebar_title {
    color: #34495e;
    margin: 5px;
}

.pagebar_page {
    margin: 2px;
    padding: 6px;
}

.pagebar_current {
    background-color: #34495e;
    color: #FFF;
    margin: 3px;
    padding: 6px;
}

.pagebar_nav {
    margin-right: 15px;
}

.pagebar_nav .disabled {
    color: #BDC3C7;
}

.pagebar_nav .pagebar_page:first-child {
    margin-left: 0;
    margin-right: 5px;
}

.pagebar_nav .pagebar_page {
    padding: 6px 0;
}

.pagebar_pages .pagebar_page:hover {
    background: #ecf0f1;
    text-decoration: none;
    color: #34495e;
}

.pagebar_notice {
    display: inline-block;
    font-size: 12px;
    color: #BDC3C7;
    margin-left: 20px;
}


/* Forms and Inputs ========================================================= */

form .field {
    margin-bottom: 6px;
}

form .field:last-child {
    margin-bottom: 0;
}

form fieldset {
    padding: 10px 15px 0 15px;
}

form fieldset.highlight {
    background: #F4F8FD;
}

form fieldset legend {
    /*   color:#34495e; */
    font-weight: 500;
    font-size: 15px;
    padding-top: 10px;
    margin-bottom: 0px;
}

form .label {
    padding: 5px 0;
}


/*
form .field label {
    display:block;
    padding:3px 0;
    font-size:14px;
    color:#68809B;
}*/

form .field label>input[type=checkbox] {
    position: relative;
    bottom: -1.3px;
}

.filter-panel form .field label>input[type=checkbox] {
    bottom: -1.5px;
}

form .field_error .error_text {
    font-size: 12px;
    color: #c0392b;
    float: right;
    margin-top: 8px;
}

form #f_slug.field_error .error_text {
    float: none;
}

.input {
    line-height: normal;
}

.input,
.date-input,
.city-input,
.textarea,
select {
    border: solid 1px #aaa;
    padding: 4px;
    font-size: 14px;
    box-shadow: inset 0 1px 2px #DDD;
    color: #555;
    outline: none;
    box-sizing: border-box;
    height: 27px;
    line-height: 25px;
    display: inline-block;
    font-family: inherit;
    font-size: inherit;
    transition: box-shadow ease-in-out .15s;
    border-radius: 3px;
    border-color: #d2d2d2;
    color: #555;
}

.input:focus,
.textarea:focus {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.input,
.textarea,
select {
    width: 100%;
}

.textarea {
    height: 200px;
    resize: vertical;
}

.date-input {
    width: 90px;
    margin-right: 4px;
}

.input-small {
    width: 65px !important;
}

.input-number {
    width: 110px !important;
}

.input-number-units {
    margin-left: 5px;
}

.city-input {
    display: inline-block;
    margin-bottom: 2px;
    background: #FFF;
    line-height: 18px;
    height: 26px;
    padding: 4px 2px;
}

.city-input span {
    padding-right: 20px;
    padding-left: 2px;
}

.city-input a,
.input_link_block {
    /*  background:#999;
    color:#FFF; 023*/
    text-decoration: none;
    padding: 1px 10px;
    border-radius: 3px;
}

.city-input a:hover,
.input_link_block:hover {
    background: #f0f0f0;
}

.input_link_block {
    line-height: 28px;
    display: inline-block;
    border-radius: 4px;
}

.input_link_block:hover {
    color: #FFF;
}

form .field_error .input,
form .field_error .textarea,
form .field_error .city-input,
form .field_error select {
    border: solid 1px #c0392b;
}

form input.error,
form textarea.error {
    border: solid 1px #c0392b;
}

form .hint {
    color: #999;
    font-size: 12px;
    margin-top: 0px;
}

form .input-prefix-suffix .input {
    display: inline-block;
    width: 300px;
    float: left;
    border-radius: 0;
    height: 26px;
}

form .input-prefix-suffix .prefix,
form .input-prefix-suffix .suffix {
    height: 25px;
    padding: 2px 8px;
    display: inline-block;
    float: left;
    color: #666;
    background: #f0f0f0;
    border: solid 1px #ccc;
}

form .input-prefix-suffix .prefix {
    border-radius: 5px 0 0 5px;
    /* border-right: none; 023*/
}

form .input-prefix-suffix .suffix {
    border-radius: 0 5px 5px 0;
    border-left: none;
}

form .input-prefix-suffix:after {
    clear: both;
    content: '';
    display: block;
}

input.button-submit,
input.button {
    padding: 7px 10px;
    line-height: 100%;
    border-radius: 3px;
    cursor: pointer;
    width: auto;
    font-size: 14px;
    color: #FFF;
    text-decoration: none;
    vertical-align: middle;
    background: #9c27b0;
    border: none;
    transition: background ease-in-out .15s;
}

input.button-submit:hover,
input.button:hover {
    background: #9c27b0;
}

input.button.button-cancel {
    background: #95a5a6;
}

input.button.button-cancel:hover {
    background: #7f8c8d;
}

input.button.to_draft {
    background: #8e44ad;
}

input.button.to_draft:hover {
    background: #9b59b6;
}

input.button-small {
    padding: 4px 10px;
}

form .ft_captcha {
    overflow: hidden;
    margin-bottom: 0;
}

form .ft_captcha input {
    width: 100px;
}

form .ft_captcha .captcha {
    float: left;
    margin-right: 10px;
}

form .ft_captcha .code {
    float: left;
}

form .ft_file .value {
    font-size: 14px;
    margin-top: 5px;
}

form .ft_file .value .name {
    padding-left: 20px;
    background: url("../images/icons/file.png") no-repeat;
}

form .ft_file .value .size {
    margin-left: 5px;
    font-size: 12px;
    color: #999;
}

form .ft_file .value .delete {
    margin-left: 15px;
}

form .ft_date select {
    width: 50px;
    padding: 2px;
}

form .ft_listmultiple.field_error .input_checkbox_list {
    border: solid 1px #c0392b;
}

form .ft_parent {
    overflow: hidden;
}

form .ft_parent ul.items,
form .ft_parent ul.items li {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

form .ft_parent ul.items {
    float: left;
    margin-right: 10px;
}

form .ft_parent ul.items li {
    float: left;
    margin-right: 2px;
    margin-bottom: 2px;
    display: inline-block;
    padding: 4px 8px;
    color: #68809B;
    background: #F4F8FD;
    border: solid 1px #B8D6FB;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
}

form .ft_parent ul.items li a {
    width: 16px;
    height: 12px;
    margin-right: -4px;
    display: inline-block;
    background: url(../images/icons/close.png) no-repeat left top;
}

form .ft_parent ul.items li a:hover {
    width: 16px;
    height: 12px;
    display: inline-block;
    background: url(../images/icons/close.png) no-repeat right top;
}

form .ft_parent a.add {
    height: 24px;
    line-height: 24px;
    padding-left: 20px;
    background: url("../images/icons/add.png") no-repeat left center;
    font-size: 12px;
}

.symbols_count {
    font-size: 12px;
    margin: 3px 0 0 0;
    display: none;
}

.symbols_count>span {
    display: inline-block;
    padding: 2px 5px;
    margin: 0 3px 0 0;
    color: #7f8c8d;
}

.symbols_count .symbols_num {
    background-color: #ecf0f1;
    border: 1px solid #bdc3c7;
    color: #2980b9;
    cursor: pointer;
    transition: opacity 0.3s;
}

.symbols_count .symbols_num:hover {
    opacity: 0.8;
}

.symbols_count .overflowing,
.symbols_count .overflowing_min {
    background-color: #e74c3c;
    color: #FFF;
    border-color: #c0392b;
}

.field.reguired_field>label::after {
    content: '*';
    color: #e74c3c;
    padding-left: 5px;
}

.select_deselect {
    margin: 10px 0 0 5px;
}

.select_deselect a {
    text-decoration: none;
    margin: 0 10px 0 0;
    font-size: 13px;
}

.is_collapsed {
    transition: all 0.3s ease;
}

.is_collapse {
    position: relative;
    background: #ecf0f1;
    height: 30px;
    box-sizing: border-box;
    line-height: 30px;
    cursor: pointer;
    padding-left: 10px;
}

.is_collapse>legend {
    position: absolute;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    display: block;
    left: 0;
}

.is_collapsed>legend:before {
    content: '+';
    display: inline-block;
    margin: 0 10px 0 10px;
    font-size: 16px;
}

.is_collapsed.do_expand>legend:before {
    content: '-';
}

.is_collapsed.do_expand>legend {
    cursor: pointer;
}

.is_collapse>.field {
    display: none;
}


/* ========================================================================== */

.input-users-list {
    width: auto;
    padding: 5px;
    border: solid 1px #f0f0f0;
    border-radius: 3px;
    max-height: 400px;
    overflow: auto;
}

.input-users-list ul,
.input-users-list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.input-users-list .profile {
    padding: 10px 0;
    border-bottom: solid 1px #EDEDED;
    clear: both;
    overflow: hidden;
    padding-left: 10px;
}

.input-users-list .profile .checkbox .form-check-label {
    padding-top: 3px;
}

.input-users-list .profile:last-child {
    border: none;
}

.input-users-list .profile div {
    float: left;
    height: 32px;
    line-height: 32px;
    margin: 0px 5px 0px 5px;
}

.input-users-list .profile .avatar img {
    border-radius: 100%;
}

.input-users-list .profile .name {
    height: 32px;
    line-height: 32px;
}


/* Ajax Uploader ============================================================ */

.qq-uploader {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    height: 100%;
}

.qq-upload-button {
    -moz-box-shadow: inset 0px 1px 0px 0px #FFF;
    -webkit-box-shadow: inset 0px 1px 0px 0px #FFF;
    box-shadow: inset 0px 1px 0px 0px #FFF;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #EDEDED));
    background: -moz-linear-gradient( center top, #f9f9f9 5%, #EDEDED 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#EDEDED');
    background-color: #f9f9f9;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #DDDDDD;
    display: inline-block;
    color: #666666;
    font-family: arial;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 1px 1px 0px #FFF;
}

.qq-upload-button-hover {
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #EDEDED), color-stop(1, #f9f9f9));
    background: -moz-linear-gradient( center top, #EDEDED 5%, #f9f9f9 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#EDEDED', endColorstr='#f9f9f9');
    background-color: #EDEDED;
}

.qq-upload-button-focus {
    position: relative;
    top: 1px;
}

.qq-upload-button:active {
    position: relative;
    top: 1px;
}

.qq-upload-drop-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 45px;
    z-index: 2;
    background: #2ecc71;
    text-align: center;
    color: #FFF;
    display: block;
}

.qq-upload-drop-area span {
    display: block;
    position: absolute;
    top: 50%;
    width: 100%;
    margin-top: -8px;
    font-size: 14px;
}

.upload .qq-upload-drop-area span {
    top: 12px;
    font-size: 12px;
}

.qq-upload-drop-area-active {
    background: #3498db;
}

.qq-upload-list {
    margin: 15px 0 0 0;
    padding: 0;
}

.qq-upload-list li {
    margin: 10px 0 0 0;
    padding: 0;
    line-height: 15px;
    font-size: 13px;
    list-style: none;
}

.qq-upload-file,
.qq-upload-spinner,
.qq-upload-size,
.qq-upload-cancel,
.qq-upload-failed-text {
    margin-right: 7px;
}

.qq-upload-list:empty {
    display: none;
}

.qq-upload-file {}

.qq-upload-spinner {
    display: inline-block;
    background: url("../images/loading.gif");
    width: 15px;
    height: 15px;
    vertical-align: text-bottom;
}

.qq-upload-size,
.qq-upload-cancel {
    font-size: 11px;
}

.qq-upload-failed-text {
    display: none;
}

.qq-upload-fail .qq-upload-failed-text {
    display: inline;
}


/* Rating Widget ============================================================ */

.rating_widget .arrow,
.rating_widget .score {
    float: left;
    height: 15px;
}

.rating_widget .score {
    margin: 0 10px;
    cursor: help;
    font-weight: 500;
    font-size: 12px;
    position: relative;
}

.rating_widget .score .spinner {
    width: auto;
    margin: 0;
    position: static;
    left: auto;
    top: auto;
}

.rating_widget .score .spinner>div {
    width: 6px;
    height: 6px;
    background-color: #95a5a6;
}

.rating_widget .score .positive {
    color: #27ae60;
}

.rating_widget .score .negative {
    color: #c0392b;
}

.rating_widget .score .clickable {
    cursor: pointer;
}

.rating_widget .score.loading>* {
    display: none;
}

.rating_widget .score.loading {
    padding-left: 16px;
}

.rating_widget .arrow span,
.rating_widget .arrow a {
    display: block;
    width: 18px;
}

.rating_widget .arrow a {
    cursor: pointer;
}

.rating_widget .style-svg {
    fill: #95a5a6;
}

.rating_widget .up a:hover .style-svg {
    fill: #27ae60;
}

.rating_widget .down a:hover .style-svg {
    fill: #e74c3c;
}

.rating_widget .up .disabled {
    background-position: -22px 0;
}

.rating_widget .down .disabled {
    background-position: -22px -15px;
}


/* Rating info ============================================================== */

#rating_info_window {
    padding: 20px;
}

.rating_info_list .item {
    padding: 6px 0;
    margin: 2px 0;
    border-bottom: dashed 1px #EDEDED;
    min-width: 250px;
    overflow: hidden;
}

.rating_info_list .item:last-child {
    border: none;
}

.rating_info_list .item .score {
    display: inline-block;
    float: left;
    border-radius: 4px;
    color: #FFF;
    min-width: 25px;
    text-align: center;
    margin-right: 10px;
}

.rating_info_list .item .score.positive {
    background-color: green;
}

.rating_info_list .item .score.negative {
    background-color: red;
}

.rating_info_list.loading-panel {
    background-color: #F4F8FD;
    background-position: center center;
    border-radius: 5px;
}

.rating_info_list.loading-panel .item {
    visibility: hidden;
}

.rating_info_pagination {
    margin-top: 20px;
    font-size: 12px;
}

.rating_info_pagination a {
    display: inline-block;
    padding: 0 4px;
    text-decoration: none;
    color: #34495e;
    border-radius: 4px;
}

.rating_info_pagination a:hover {
    background-color: #EDEDED;
}

.rating_info_pagination a.active,
.rating_info_pagination a.active:hover {
    color: #FFF;
    background-color: #34495e;
}


/* Comments Widget ========================================================== */

#comments_widget .bad {
    transition: all 0.5s ease;
}

#comments_widget .bad:hover {
    opacity: 1;
}

.bad6 {
    opacity: .1;
}

.bad5 {
    opacity: .2;
}

.bad4 {
    opacity: .35;
}

.bad3 {
    opacity: .5;
}

.bad2 {
    opacity: .65;
}

.bad1 {
    opacity: .8;
}

#tab-vk {
    margin: 20px 0 0 0;
}

#comments_widget {
    /* margin: 20px 0 0 0; 023*/
}

.no_comments {
    margin: 15px 0;
}

#comments_widget .track {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-bottom: 20px;
}

#comments_widget input[type=checkbox] {
    margin: 0;
}

#comments_widget .track label {
    display: block;
    line-height: 30px;
}

#comments_widget .track input {
    vertical-align: middle;
    position: relative;
    bottom: 1px;
}

.track+#comments_refresh_panel+#comments_list {
    margin: -15px 0 0 0;
}

#comments_widget #comments_add_link {
    /*  margin: 10px 0;
    padding-left:20px;
    background: url("../images/icons/comment.png") no-repeat left center; 023*/
    padding-top: 10px;
}

#comments_add_link a.reply {
    margin-left: 10px;
}

#comments_add_link a.user-image {
    margin-left: 0px;
}

#comments_add_link .user-image img {
    width: auto;
    border-radius: 100%;
}

#comments_widget #comments_add_link a {
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

#comments_widget #comments_add_form textarea {
    height: 100px;
    margin-bottom: 4px;
}

#comments_widget #comments_add_form .loading {
    display: none;
}

#comments_widget #comments_add_form .author_data {
    margin-bottom: 8px;
}

#comments_widget #comments_add_form .author_data .field {
    overflow: hidden;
}

#comments_widget #comments_add_form .author_data .field label {
    float: left;
    width: 140px;
    height: 20px;
    line-height: 20px;
}

#comments_widget #comments_add_form .author_data .field .input {
    width: 99%;
    max-width: 200px;
    min-width: 50px;
}

#comments_widget #comments_refresh_panel {
    display: block;
    width: 50px;
    height: 35px;
    position: fixed;
    z-index: 100;
    right: 0px;
    top: 45%;
    background: url("../images/loader24.gif") no-repeat center center #B3C2C9;
}

#comments_widget #comments_refresh_panel a {
    display: block;
    width: 50px;
    height: 35px;
    background: url("../images/icons32/update-black.png") no-repeat center center #B3C2C9;
}

#comments_widget #comments_refresh_panel a:hover {
    background-color: #e1ebef;
}

.no_approved {
    display: none;
}

#comments_list .comment {
    overflow: hidden;
    border-radius: 2px;
    padding: 10px 0;
    margin: 4px 0;
    border-bottom: solid 1px #f0f0f0;
}

#comments_list .comment:first-child {
    margin-top: 0;
    padding-top: 0px;
}

#comments_list .comment.selected-comment:first-child {
    margin-top: 13px;
}

#comments_list.striped-list .comment {
    /* padding-bottom: 15px; 023*/
}

#comments_list.striped-list .comment:last-child {
    border: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

#comments_list .selected-comment {
    padding-right: 10px;
    box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.14);
    border-radius: 3px;
}

#comments_list .comment .info,
#comments_list .comment .body {
    overflow: hidden;
    clear: both;
}

#comments_list .comment .info {
    /*  margin-bottom:6px; 023*/
}

#comments_list .comment .info div {
    float: left;
    margin-right: 10px;
    /* font-size:12px; 023*/
}

#comments_list .comment .info .rating {}

#comments_list .comment .info .rating .buttons {
    float: right;
    margin-left: 5px;
}

#comments_list .comment .info .rating a {
    display: inline-block;
    width: 13px;
    height: 13px;
    background: url("../images/comment_vote.png") no-repeat;
}

#comments_list .comment .info .rating .value {
    float: left;
    font-weight: 500;
}

#comments_list .comment .info .rating a.rate-up {
    background-position: 0 0;
}

#comments_list .comment .info .rating a.rate-up:hover {
    background-position: 0 -13px;
}

#comments_list .comment .info .rating a.rate-down {
    background-position: -13px 0;
}

#comments_list .comment .info .rating a.rate-down:hover {
    background-position: -13px -13px;
}

#comments_list .comment .info .name .user {
    /*color:#375D81; 023*/
    font-weight: 500;
}

#comments_list .comment .info .name .user:hover {
    /*color:#d35400; 023*/
}

#comments_list .comment.is_topic_starter .info .name .user {
    /*color:#d35400; 023*/
}

#comments_list .comment.is_topic_starter .info .name .user:hover {
    /*color:#e67e22; 023*/
}

#comments_list .comment .info .name .guest_name {
    font-weight: bold;
}

#comments_list .comment .info .name .subject {
    font-weight: 500;
}

#comments_list .comment .info .name .subject:hover {
    /*color:#d35400; 023*/
}

#comments_list .comment .info .date {
    color: #999;
}

#comments_list .comment .nav a {
    text-decoration: none;
    margin-right: 3px;
    color: #999;
}

#comments_list .comment .nav a:hover {
    /* color:#d35400; 023*/
}

#comments_list .comment .nav .scroll-down {
    display: none;
}

#comments_list .comment .body .avatar {
    float: left;
    padding-top: 3px;
    /*  padding:2px;
    border:solid 1px #999;
    position: relative 023*/
}

#comments_list .comment .body .avatar.comment_user_online {
    border-left-color: #27ae60;
    border-left-width: 2px;
}

#comments_list .comment .body .avatar img,
#comments_list .comment .body .avatar a {
    display: block;
    border-radius: 100%;
}


/*#comments_list .comment .body .avatar:after {
    display: block;
    content: "";
    position: absolute;
    width: 10px;
    height: 14px;
    background: url("../images/comment_arrow.png") no-repeat 0px 0px;
    right: -10px;
    top: 8px;
}
023 */

#comments_list .comment .content {
    color: #555;
    padding-left: 10px;
    /*   padding-top: 4px; 023*/
    position: relative;
    overflow: hidden;
}

#comments_list .comment .content .date {
    color: #999;
    font-size: 12px;
}

#comments_list .comment .content img {
    max-width: 100%;
}

#comments_list .comment .content .links {
    padding: 4px 0;
    font-size: 12px;
}

#comments_list .comment .content .links a {
    font-size: 12px;
    color: #999;
    /* border-bottom:dashed 1px #999; 023*/
    text-decoration: none;
    margin-right: 6px;
    padding: 0;
}

#comments_list .comment .content .links a:hover {
    color: #555;
}

#comments_list .comment .deleted {
    padding: 5px 15px;
    background: #F9F9F9;
    color: #666;
    font-style: italic;
    border-radius: 6px;
    margin-right: 6px;
}

#comments_widget .login_to_comment {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

#comments_list .content ul li,
#comments_list .preview_box ul li {
    list-style-type: disc;
    margin-left: 25px;
}

#comments_list .content ol,
#comments_list .preview_box ol {
    padding-left: 25px;
}

#comments_list .content ol li,
#comments_list .preview_box ol li {
    list-style-type: decimal;
}


/* Profile Wall Widget ====================================================== */

#wall_widget {
    clear: both;
    /* margin-top:15px;
    border-top:solid 1px #B3C2C9; 023*/
}

#wall_widget .title_bar {
    overflow: hidden;
}

#wall_widget .title_bar .title {
    float: left;
    margin-bottom: 0px;
}

#wall_widget .title_bar #wall_add_link {
    /*  float:right;
    margin-top: 23px; 023*/
    padding-left: 20px;
    background: url("../images/icons/edit.png") no-repeat left center;
}

#wall_widget #wall_add_form,
#comments_widget #comments_add_form {
    display: none;
    margin: 15px 0;
    background: #ecf0f1;
    padding: 15px;
    border-radius: 4px;
}

#wall_widget #wall_add_form textarea {
    height: 100px;
    margin-bottom: 4px;
}

#wall_widget #wall_add_form .preview_box,
#comments_widget #comments_add_form .preview_box {
    margin-bottom: 15px;
    padding: 10px;
    border: solid 2px #B3C2C9;
    border-radius: 4px;
    background: #FFF;
    display: none;
    transition: all 0.5s ease;
}

.preview_box.highlight {
    border-color: #2980b9 !important;
    box-shadow: 0 0 5px #2980b9;
}

#wall_widget #wall_add_form .loading {
    display: none;
}

#wall_widget #entries_list {
    margin-top: 20px;
}

#wall_widget #entries_list .entry {
    overflow: hidden;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: solid 1px #EEEEEE;
}

#wall_widget #entries_list .entry:last-child {
    border: none;
    margin-bottom: 0;
}

#wall_widget #entries_list .entry .info,
#wall_widget #entries_list .entry .body {
    overflow: hidden;
}

#wall_widget #entries_list .entry .info {
    margin-bottom: 6px;
}

#wall_widget #entries_list .entry .info div {
    float: left;
    margin-right: 10px;
    font-size: 12px;
}

#wall_widget #entries_list .entry .info a {
    /* color: #999; 023*/
}

#wall_widget #entries_list .entry .info a:hover {
    color: #9c27b0;
}

#wall_widget #entries_list .entry .info .name .user {
    /* color:#3e3947; 023*/
    font-weight: 500;
    font-size: 14px;
}

#wall_widget #entries_list .entry .info .name .user:hover {
    /* border-bottom: 1px solid #9c27b0; 023*/
}

#wall_widget #entries_list .entry .info .date {
    color: #999;
}

#wall_widget #entries_list .entry .body {}

#wall_widget #entries_list .entry .body .avatar {
    float: left;
    padding: 2px;
    /* border:solid 1px #999; 023*/
}

#wall_widget #entries_list .entry .body .avatar img {
    display: block;
    border-radius: 100%;
}

#wall_widget #entries_list .entry .content {
    color: rgb(85, 85, 85);
    padding-left: 15px;
    padding-top: 4px;
    /*  background: url("../images/comment_arrow.png") no-repeat 0px 6px; 023*/
    position: relative;
    z-index: 2;
    margin-left: 37px;
}

#wall_widget #entries_list .entry .content .text img {
    width: auto;
}

#wall_widget #entries_list .entry .links {
    font-size: 12px;
    margin-top: 10px;
}

#wall_widget #entries_list .entry .links.has_replies {
    background: url("../images/icons/comment-small.png") no-repeat left center;
    padding-left: 20px;
}

#wall_widget #entries_list .entry .links a {
    /* font-size:11px;
    color:#7f8c8d;
    border-bottom:dashed 1px #BDC3C7; */
    text-decoration: none;
    margin-right: 6px;
}

#wall_widget #entries_list .entry .links a:hover {
    color: #555;
}

#wall_widget #entries_list .entry .links a.get_replies {
    font-weight: 500;
    color: #555;
}

#wall_widget #entries_list .entry .links a.get_replies:hover {
    border-bottom: solid 1px #555;
}

#wall_widget #entries_list .replies_loading {
    margin-top: 12px;
    margin-bottom: 10px;
    color: #666;
    display: none;
}

#wall_widget #entries_list .replies {
    clear: both;
}

#wall_widget #entries_list .replies .entry {
    font-size: 14px;
    padding: 10px;
    border-left: solid 4px #ddd;
    border-bottom: none;
    margin: 0;
    margin-top: 10px;
    margin-left: 18px;
}

#wall_widget #entries_list .replies .entry:hover {
    border-left-color: #BDC3C7;
}

#wall_widget #entries_list .replies .entry:hover .avatar {
    border-color: #BDC3C7;
}

#wall_widget #entries_list .replies .entry .info {
    margin: 0;
    padding: 0;
    padding-left: 0px;
    margin-bottom: 3px;
}

#wall_widget #entries_list .replies .entry .content {
    background: none;
    margin: 0;
    padding: 0;
    max-width: 600px;
}

#wall_widget #entries_list .replies .entry .avatar {
    /* float:right;
    border:solid 1px #ddd; 023*/
    margin-right: 15px;
}

#wall_widget #entries_list .show_more {
    margin-top: -15px;
}

#wall_widget #entries_list .show_more a {
    display: block;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #EEEEEE;
    color: #ababab;
    text-decoration: none;
}

#wall_widget #entries_list .show_more a:hover {
    background: #ababab;
    color: #EEEEEE;
}


/* Private Messaging Window ================================================= */

li.markItUpButton.markItUpButton10.btnImgUpload a {
    background: url(/templates/redray/images/file-attachment.svg) no-repeat!important;
    background-size: 100% 100%;
    width: 30px;
    height: 30px;
}

.width-wrap-center{
    max-width: 1270px;
    margin-right: auto;
    margin-left: auto;
}

#pm_window .notice {
    margin: 25px 0;
    text-align: center;
    font-size: 1.3em;
}

.layout {
    box-sizing: border-box;
    overflow: hidden;
    height: 90vh;
}

#pm_window .right-panel,
#pm_window .left-panel {
    float: left;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

#pm_window .right-panel {
    max-width: 300px;
    width: 100%;
    height: 645px;
    overflow: hidden;
    background: #4C4C49;
    border: 1px solid #FF6F1D;
    border-radius: 15px;
}

#pm_window .left-panel {
    width: 74%;
    height: 645px;
    overflow: hidden;
    background: #4C4C49;
    border: 1px solid #FF6F1D;
    border-radius: 15px;
    padding: 25px;
    margin-left: 30px;
}

#pm_window .contact-arrow {
    width: 100%;
    height: 40px;
    overflow: hidden;
}
#pm_window .contact-arrow-up,
#pm_window .contact-arrow-down{
    width: 100%;
    height: 40px;
    background: url(/templates/redray/images/chat-arrow-up.svg) no-repeat;
    background-size: 38px 10px;
    background-position: center;
    cursor: pointer;
    transition: transform .2s ease-in-out;
}
#pm_window .contact-arrow-up{

}
#pm_window .contact-arrow-down{
    background: url(/templates/redray/images/chat-arrow-down.svg) no-repeat;
    background-size: 38px 10px;
    background-position: center;
}
#pm_window .contact-arrow:hover .contact-arrow-up,
#pm_window .contact-arrow:hover .contact-arrow-down{
    transform: scale(1.3);
}

#pm_window .contacts {
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    height: calc(100% - 125px);
    overflow-y: auto;
}

#pm_window .contacts .contact {
    overflow: hidden;
    height: 65px;
}

#pm_contact {
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#pm_window .contacts .contact a {
    display: block;
    overflow: hidden;
    padding: 8px 15px;
    color: #000;
    text-decoration: none;
    position: relative;
}

#pm_window .contacts .contact a .avatar{
    float: left;
    margin-right: 8px;
}
#pm_window .contacts .contact .avatar,
#pm_window .contacts .contact .avatar img{
    width: 50px;
    height: 50px;
}

#pm_window .contact-notice{
    font-family: 'Lato';
    font-weight: 400;
}
#pm_window .contact-notice .contact-nickname-wrapper{
    float: left;
    width: 78%;
    line-height: 18px;
}
#pm_window .contact-notice .contact-last-message{
    float: left;
    width: 78%;
    font-weight: 300;
    color: #fff;
    line-height: 18px;
    font-size: 15px;
}
#pm_window .contact-notice .contact-last-message img{
    height: 32px;
}
#pm_window .contact-notice .contact-nickname{
    float: left;
    font-size: 14px;
    color: #FF6F1D;
}
#pm_window .contact-notice .contact-user-online{
    float: left;
    width: 10px;
    height: 10px;
    margin-top: 4px;
    margin-left: 6px;
    background: #179e17;
    border-radius: 50%;
}
#pm_window .contact-notice .contact-user-offline{
    float: left;
    font-size: 10px;
    color: #fff;
    font-weight: 300;
    padding-left: 18px;
    background: url(/templates/redray/images/user-offline.svg) no-repeat;
    background-position: 5px 5px;
    background-size: 10px 10px;
}

#pm_window .contacts .contact img,
#pm_contact .overview a img {
    border-radius: 50%;
    display: block;
}

.peer_no_online:before {
    /*  bottom: 0;*/
    /*  right: 0;*/
    border: 2px solid #fff;
    height: 8px;
    width: 8px;
    content: '';
    position: absolute;
    border-radius: 50%;
    margin: 22px;
}

.peer_no_online:before {
    background-color: #999;
}

#pm_window .contacts .contact a:hover {
    background: #FF6F1D;
    color: #FFF;
}
#pm_window .contacts .contact a:hover .contact-nickname{
    color: #fff;
}
#pm_window .contacts .contact a:hover .contact-last-message{
    color: #000;
}

#pm_window .contacts .contact a.selected {
    background: #FF6F1D;
    color: #FFF;
}

#pm_window .contacts .contact a.selected .contact-nickname{
    color: #FFF;
}

#pm_window .contacts .contact a.selected .contact-last-message {
    color: #000000;
}

#pm_window .contacts .contact a .counter {
    height: 17px;
    line-height: 14px;
    padding: 2px 5px;
    background: #e67e22;
    border-radius: 50%;
    color: #FFF;
    font-size: 12px;
    position: absolute;
    right: 6px;
    bottom: 6px;
}


/* ========================================================================== */

#pm_contact .overview, #user_search_panel {
    overflow: hidden;
    padding: 9px;
    box-sizing: border-box;
    height: 45px;
}

#pm_contact .overview{
    display: none;
}

#user_search_panel {
    position: relative;
    padding: 10px 24px 0;
    line-height: 40px;
    background-color: #4c4c49;
    text-align: center;
    margin-top: 2px;
}

.search-private-mess-icon{
    float: left;
    background: url(/templates/redray/images/mess-search.svg) no-repeat;
    background-size: 100% 100%;
    width: 30px;
    height: 30px;
    margin-top: 3px;
}

#user_search_panel input {
    padding: 8px 12px;
    background: #4c4c49;
    height: 30px;
    color: #fff;
    box-shadow: none;
    border: 1px solid #FF6F1D;
    border-radius: 15px;
    max-width: 185px;
    margin-left: 0;
    font-family: 'Lato';
    font-weight: 300;
    font-size: 14px;
}
#user_search_panel input::placeholder{
    color: #fff;
}

#pm_contact .overview .user_date_log {
    display: inline-block;
    line-height: 32px;
    font-size: 12px;
    color: #AAA;
}

#pm_contact .overview a {
    border-left: medium none;
    border-right: medium none;
    color: #000;
    float: left;
    line-height: 32px;
    overflow: hidden;
}

#pm_contact .overview a span,
#pm_contact #contact_toggle {
    float: left;
    height: 32px;
    line-height: 32px;
    margin-right: 4px;
    overflow: hidden;
    position: relative;
}

#pm_contact #contact_toggle {
    display: none;
    background: #FF6F1D;
    color: #fff;
    height: auto!important;
    padding: 2px 12px;
    cursor: pointer;
    line-height: 25px;
    font-size: 13px;
    font-family: 'Lato';
    font-weight: 400;
    border-radius: 15px;
}

#pm_contact .actions {
    float: right;
    line-height: 28px;
}

#pm_contact .toogle-actions {
    display: none;
}

#pm_contact .composer {
    width: 887px;
    padding: 12px;
    box-sizing: border-box;
    position: absolute;
    bottom: 8px;
}
#pm_contact .composer .markItUp{
    margin: 0;
    max-width: 680px;
    width: 100%;
    overflow: hidden;
    border: 1px solid #FF6F1D;
    box-shadow: none;
    border-radius: 15px;
    height: 50px;
}

.markItUpHeader > ul {
    margin-bottom: 0!important;
}

img.emojione {
    width: 20px!important;
}

#pm_contact .composer .editor .textarea {
    background: #EBEBEB;
    height: 50px;
    resize: none;
    padding: 5px 70px 5px 55px;
    box-shadow: none;
    width: calc(100% + 15px);
}

#pm_contact .composer .buttons {
    position: absolute;
    right: 0;
    bottom: 12px;
}

.emojibutton .emojionearea-button{
    z-index: 5;
    position: absolute;
    top: 0;
    width: 30px;
    height: 30px;
    opacity: 1;
    cursor: pointer;
    -moz-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    -webkit-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}
.emojibutton .emojionearea-button>div.emojionearea-button-open {
    float: left;
    background: url(/templates/redray/images/smile.svg) no-repeat!important;
    background-size: 100% 100%;
    width: 30px;
    height: 30px;
    opacity: 1;
}
.emojibutton .emojionearea-button>div.emojionearea-button-close {
    top: 3px;
    left: 3px;
}

#pm_contact .btn {
    margin: 0;
    background: #FF6F1D;
    width: 160px;
    line-height: 36px;
    font-size: 18px;
    font-family: 'Lato';
    font-weight: 400;
    border-radius: 15px;
}
#pm_contact .btn:hover{
    box-shadow: none;
}

#error_wrap {
    position: fixed;
    right: 10px;
    bottom: 10px;
    padding: 20px;
    background: #c0392b;
    color: #FFF;
    display: none;
    z-index: 101;
}

.msg_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #333;
    opacity: 0.6;
    top: 0;
    left: 0;
}

.confirm_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 360px;
    height: 110px;
    margin: -55px 0 0 -180px;
}

.ui_message .buttons {
    margin: 10px 0 0 0;
}

.ui_message .buttons .button {
    margin: 0px 10px 0 0;
}

#pm_contact .composer .sending {
    background: url("../images/loader16.gif") no-repeat left center;
}

#pm_contact .composer .ignored_info {
    display: block;
    padding: 10px 6px;
    color: #999;
    font-style: italic;
    line-height: 97px;
}

.ctrenter_hint {
    font-size: 12px;
    color: #CCC;
    display: inline-block;
    margin: 0 10px 0 0;
}

#pm_contact .composer .ignored_info .button {
    margin-left: 10px;
}

#pm_chat .content {
    min-width: 30%;
    box-sizing: border-box;
    position: relative;
    margin-left: 50px;
    background: #ffffff;
    border-radius: 9px 15px 15px 15px;
    padding: 15px 15px;
}

#pm_chat .message-my .content {
    background: #dcf8c8;
    border-radius: 15px 9px 15px 15px;
    border: none;
}

#pm_chat .content.selected {
    border-color: #3498db !important;
    box-shadow: 0px 0px 1px #3498db;
}

.button_hide {
    display: none;
}

#pm_chat .message .content>span,
#pm_chat .message .content>span a {
    color: #AAA;
}

#pm_chat .message .content>span a:hover {
    color: #27ae60;
}

#pm_chat .message_text {
    font-size: 20px;
    font-family: 'Lato';
    font-weight: 400;
}

#pm_chat .message-my .content {
    margin-right: 60px;
    margin-left: 0;
    background: #FFF;
}

#pm_chat .content:before {
    position: absolute;
    top: 30%;
    left: -11px;
    width: 16px;
    height: 16px;
    content: '';
    background: url(/templates/redray/images/message-arrow-from.svg) no-repeat;
    background-size: 15px 15px;
    background-position: center;
}

#pm_chat .message-my .content:before {
    right: -11px;
    left: auto;
    background: url(/templates/redray/images/message-arrow-my.svg) no-repeat;
    background-size: 15px 15px;
    background-position: center;
}

.user_avatar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
}

.user_avatar img {
    border-radius: 50%;
}

.message-my .user_avatar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    text-align: right;
}

#pm_contact .chat-wrapper {
    position: relative;
    height: calc(100% - 80px);
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid #FF6F1D;
}

#pm_contact .chat {
    width: 910px;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    padding: 10px;
    line-height: 20px;
    background: #EBEBEB;
    box-sizing: border-box;
    padding-right: 20px;
}

#pm_chat h3 {
    float: left;
    width: 100%;
    margin: 5px 0 10px 0;
    font-size: 12px;
    color: #828282;
    text-align: center;
    font-family: 'Lato';
    font-weight: 400;
}

#pm_chat .show-older+h3 {
    margin-top: 0;
}

#pm_contact .chat .message {
    margin: 0 auto 20px;
    width: 90%;
    clear: both;
    position: relative;
}

#pm_contact .chat .message .user_avatar img{
    width: 25px;
    height: 25px;
}

#pm_contact .chat .message .title {
    font-size: 14px;
    margin: 0 0 0 10px;
}

#pm_chat .message_text img {
    max-width: 50px;
}

#pm_contact .chat .message .title .author {
    color: #000000;
    font-size: 14px;
    font-family: 'Lato';
    font-weight: 700;
}

#pm_contact .chat .message-my .title .author {
    color: #000;
}

#pm_contact .chat .message .date,
#pm_contact .chat .message .date-new {
    float: right;
}

#pm_contact .chat .message .date,
#pm_contact .chat .message .date-new{
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #BDB9B9;
    font-family: 'Lato';
    font-weight: 400;
}

#pm_chat .message-date{
    position: absolute;
    top: 0;
    left: 100%;
    bottom: 0;
    margin: auto;
    margin-left: 10px;
    display: flex;
    align-items: center;
}

#pm_contact .chat .message .date time{
    margin-right: 5px;
}

#pm_contact .chat .message .date-new {
    color: #BDB9B9;
}

#pm_contact .chat a.show-older {
    display: block;
    background: #bdc3c7;
    text-align: center;
    height: 25px;
    line-height: 25px;
    color: #FFF;
    text-decoration: none;
    margin-bottom: 15px;
}

#pm_contact .chat a.show-older:hover {
    background: #95a5a6;
}

#pm_contact .chat .older-loading {
    display: none;
    height: 25px;
    margin-bottom: 15px;
    background: url("../images/loader16.gif") no-repeat center center #EDEDED;
}

#pm_notices_window {
    width: 550px;
    overflow: auto;
    height: 100%;
}

#pm_notices_list {
    padding: 10px;
    overflow: hidden;
    overflow-y: auto;
}

#pm_notices_list .item {
    overflow: hidden;
    border: solid 1px #f0f0f0;
    /* background:#e1ebef; */
    padding: 5px;
    color: #34495e;
    margin-bottom: 6px;
    border-radius: 3px;
}

#pm_notices_list .item:last-child {
    margin-bottom: 0;
}

#pm_notices_list .item .date {
    color: #999;
    font-size: 12px;
    padding-left: 10px;
    padding-top: 10px;
}

#pm_notices_list .item .content {
    padding: 10px;
    padding-top: 3px;
    color: #555;
}

#pm_notices_list .item .close-button {
    float: right;
}

#pm_notices_list .item .close-button a {
    display: block;
    width: 16px;
    height: 16px;
    background: url("../images/icons/close.png") no-repeat;
}

#pm_notices_list .item .close-button a:hover {
    background-position-x: -16px;
}

#pm_notices_list .item .buttons {
    padding: 10px;
    padding-top: 0;
}

#pm_notices_list .item .buttons .button {
    border-color: #BDC3C7;
}

#pm_notices_window>input.button {
    /* border-radius: 0;
    width: 100%; */
    box-sizing: border-box;
    margin-left: 10px;
}

#pm_contact .smilepanel {
    position: absolute;
    bottom: 137px;
    background: #FFF;
    box-sizing: border-box;
    width: 80%;
    right: 0;
    border-top: 1px solid #DDD;
    border-left: 1px solid #DDD;
}


/* City Selection Window ================================================= */

#geo_window {
    padding: 15px;
    height: 170px;
    width: 300px;
    box-sizing: border-box;
}

#geo_window .wrapper {
    margin-top: auto;
    margin-bottom: auto;
    box-sizing: border-box;
}

#geo_window form>.list {
    margin: 0 0 10px 0;
}

#geo_window select {
    width: 100%;
    margin-bottom: 5px;
}

#geo_window .buttons {
    margin-top: -10px;
    text-align: center;
}


/* Login Form and Window ================================================= */

.login_form h3 {
    margin-top: 0;
}

.login_layout {
    margin: 0;
    width: 100%;
    border-collapse: collapse;
}

.login_layout td {
    padding: 0;
}

.login_layout .center_cell {
    width: 60px;
    background: url("../images/vline1px.png") no-repeat center top;
}

.login_layout .center_cell div {
    text-align: center;
    padding: 15px 0;
    background: #FFF;
    font-size: 22px;
    font-style: italic;
    color: #A3CAE0;
    margin-top: 100px;
}

.login_form .label {
    color: #68809B;
    font-size: 16px;
}

.login_form .input {
    width: 100%;
}

.login_form .input:focus {
    box-shadow: 0 0 4px #BDC3C7;
}

.login_form .options {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 13px;
    color: #68809B;
    line-height: 14px;
    vertical-align: middle;
}

.login_form .options input,
.login_form .options label {
    vertical-align: middle;
}

.login_form .submit {
    margin: 0;
}

.login_form .reg_link {
    font-size: 13px;
    padding-left: 15px;
    color: #34495e;
}

.content_multi_cats_data {
    display: none;
}

.gif_image {
    display: block;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.content_item .ft_images .gif_image {
    float: left;
    margin-right: 5px;
}

.gif_image img {
    display: block !important;
    margin: 0 !important;
}

.image_label {
    position: absolute;
    left: 4px;
    bottom: 4px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 2px;
    padding: 4px 7px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
}

.micro_image,
.micro_image>img {
    width: 32px !important;
    height: 32px !important;
}

.modal_image {
    position: relative;
    display: block;
}

.background_overlay {
    position: absolute;
    background: #000;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.3s;
    content: '';
    top: 0;
    left: 0;
}

.gif_image:hover .background_overlay {
    opacity: 0.5;
    z-index: 2;
}

.default_avatar {
    position: relative;
    font-style: normal;
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    display: block;
    background: no-repeat center;
    background-size: 1em;
}

.default_avatar img {
    opacity: 0;
    display: block;
}

.default_avatar:before {
    content: attr(data-letter);
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.default_avatar.white_avatar_text:hover:after {
    background: #000;
    opacity: 0.4;
}

.default_avatar.black_avatar_text:after,
.default_avatar.white_avatar_text:after {
    transition: all 0.5s ease;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.default_avatar.black_avatar_text:hover:after {
    background: #FFF;
    opacity: 0.2;
}

table.data_list {
    border-collapse: collapse;
    width: 100%;
}

table.data_list th {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    border-bottom: solid 1px #B3C2C9;
    text-align: left;
    background: #f0f0f0;
}

table.data_list>thead>tr>th {
    padding: 5px 8px;
}

table.data_list td {
    padding: 5px 10px;
    background: #fff;
    color: #34495e;
    height: 20px;
    transition: background ease-in-out .15s;
}

table.data_list tr:nth-child(odd) td {
    background: #f9f9f9;
}

table.data_list tr:hover td {
    background: rgb(233, 246, 253);
}

table.data_list .empty {
    color: #B3C2C9;
}

table.data_list .actions {
    width: 70px;
}

.spinner {
    width: 70px;
    height: 40px;
    margin: -20px 0 0 -35px;
    position: absolute;
    left: 50%;
    top: 50%;
}

.spinner>div {
    width: 18px;
    height: 18px;
    background-color: #3498db;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

.message span.m_green {
    background-image: url(/templates/redray/images/no-read-message.svg);
    background-size: 100% 100%;
    width: 15px;
    height: 15px;
    display: inline-block;
    background-repeat: no-repeat;
    margin-left: 5px;
}

.message span.m_blue {
    background-image: url(/templates/redray/images/read-message.svg);
    background-size: 100% 100%;
    width: 15px;
    height: 15px;
    display: inline-block;
    background-repeat: no-repeat;
    margin-left: 5px;
}

li.markItUpButton.emojibutton {
    position: absolute;
    left: 15px;
    top: 12px;
    display: block;
    opacity: 1;
}

li.markItUpButton.markItUpButton10.btnImgUpload {
    position: absolute;
    right: 15px;
    top: 10px;
    display: block;
}

@keyframes sk-bouncedelay {
    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

@media (min-width: 764px) {
    #pm_chat .content{
        float: left;
        margin-left: 0;
        padding: 12px 0;
        padding-right: 65px;
        max-width: 700px;
    }
    #pm_chat .message-my .content {
        float: left;
        margin-right: 0;
        margin-left: 0;
    }
    #pm_chat .content:before{
        display: none;
    }
}

@media (max-width: 1610px) and (min-width: 1367px) {
    .width-wrap-center{
        max-width: 990px;
        overflow: hidden;
    }

    #pm_window .left-panel{
        width: 67%;
        height: 580px;
    }
    #pm_window .right-panel{
        height: 580px;
    }

    #pm_contact .composer .markItUp{
        max-width: 425px;
        height: 40px;
    }

    #pm_contact .composer .editor .textarea {
        height: 40px;
        padding: 10px 60px 8px 45px;
    }

    .emojibutton .emojionearea-button>div.emojionearea-button-open {
        position: relative;
        background: url(/templates/redray/images/smile.svg) no-repeat!important;
        background-size: 20px 20px!important;
        width: 20px;
        height: 20px;
    }
    li.markItUpButton.markItUpButton10.btnImgUpload a {
        background-size: 20px 20px!important;
        width: 20px;
        height: 20px;
    }

    #pm_contact .composer{
        width: 622px;
        padding: 12px 0;
    }

    #pm_contact .chat{
        width: 645px;
    }

    #pm_contact .btn {
        width: 170px;
        font-size: 16px;
        line-height: 26px;
    }
}
@media (max-width: 1366px) {
    #pm_window .right-panel {
        max-width: 208px;
        height: 405px;
    }
    #pm_contact .overview, #user_search_panel {
        padding: 6px 15px 0;
        height: 30px;
    }
    .search-private-mess-icon {
        width: 22px;
        height: 22px;
        margin-top: 0;
        margin-right: 12px;
    }
    #user_search_panel input {
        float: left;
        padding: 5px 12px;
        height: 22px;
        max-width: 134px;
        margin-left: 0;
        font-size: 10px;
    }
    #pm_window .contact-arrow {
        height: 28px;
    }
    #pm_window .contact-arrow-up, #pm_window .contact-arrow-down {
        height: 28px;
        background-size: 25px 8px;
    }
    #pm_window .contact-arrow-down {
        background: url(/templates/redray/images/chat-arrow-down.svg) no-repeat;
        background-size: 25px 8px;
        background-position: center;
    }

    #pm_window .contacts {
        height: calc(100% - 88px);
    }

    #pm_window .contacts .contact {
        height: 48px;
    }
    #pm_window .contacts .contact a{
        padding: 5px 15px;
    }
    #pm_window .contacts .contact a .avatar {
        margin-right: 5px;
    }
    #pm_window .contacts .contact .avatar, #pm_window .contacts .contact .avatar img {
        width: 35px;
        height: 35px;
    }
    #pm_window .contact-notice .contact-nickname-wrapper {
        width: 75%;
        line-height: 12px;
    }
    #pm_window .contact-notice .contact-nickname {
        font-size: 10px;
    }
    #pm_window .contact-notice .contact-user-offline {
        font-size: 7px;
        padding-left: 15px;
        background-position: 5px 3px;
        background-size: 8px 8px;
        padding-top: 1px;
    }
    #pm_window .contact-notice .contact-last-message {
        width: 75%;
        line-height: 15px;
        font-size: 12px;
    }
    #pm_window .contact-notice .contact-last-message img {
        height: 18px;
    }

    #pm_window .left-panel {
        width: 68%;
        height: 405px;
        margin-left: 20px;
        padding: 15px;
    }
    .layout-mess h1 {
        font-size: 14px;
    }

    #pm_contact .chat-wrapper {
        height: calc(100% - 55px);
    }

    #pm_contact .chat {
        width: 470px;
    }
    #pm_contact .chat .message {
        margin: 0 auto 20px;
        width: 98%;
    }
    #pm_contact .chat .message .user_avatar img {
        width: 18px;
        height: 18px;
    }
    #pm_contact .chat .message .title {
        margin: 0 0 0 5px;
    }
    #pm_contact .chat .message .title .author {
        font-size: 12px;
        line-height: 25px;
    }
    #pm_chat h3 {
        font-size: 9px;
    }
    #pm_chat .message_text img {
        max-width: 35px;
    }
    #pm_chat .content {
        margin-left: 0;
        padding: 5px 0;
        padding-right: 45px;
        max-width: 430px;
    }
    #pm_chat .message_text {
        font-size: 14px;
    }
    #pm_contact .chat .message .date, #pm_contact .chat .message .date-new {
        font-size: 9px;
    }
    .message span.m_green {
        width: 10px;
        height: 10px;
    }
    .message span.m_blue {
        width: 10px;
        height: 10px;
    }
    #pm_chat .message-my .message_text {
        float: right;
    }

    #pm_contact .composer {
        width: 464px;
        padding: 12px 0;
    }

    #pm_contact .composer .markItUp {
        max-width: 320px;
        width: 100%;
        height: 30px;
    }

    li.markItUpButton.markItUpButton10.btnImgUpload {
        right: 12px;
        top: 6px;
    }
    li.markItUpButton.markItUpButton10.btnImgUpload a {
        background-size: 16px 16px!important;
        width: 16px;
        height: 16px;
    }
    li.markItUpButton.emojibutton {
        left: 10px;
        top: 8px;
    }
    .emojibutton .emojionearea-button {
        top: -2px;
        width: 16px;
        height: 16px;
    }
    .emojibutton .emojionearea-button>div.emojionearea-button-open {
        background-size: 16px 16px!important;
        width: 16px;
        height: 16px;
    }
    #pm_contact .composer .editor .textarea {
        height: 30px;
        padding: 3px 48px 5px 36px;
    }
    #pm_contact .btn {
        width: 120px;
        line-height: 16px;
        font-size: 13px;
    }
}
@media screen and (max-width: 1280px) {
    #pm_contact .chat {
        width: 102%;
    }
    #pm_contact .composer {
        width: 94%;
    }
    #pm_contact .composer .markItUp {
        max-width: 68%;
    }
}

@media screen and (max-height: 900px) {
    .layout {
        height: 595px;
    }
}



@media screen and (max-width: 800px) {
    #pm_contact #contact_toggle {
        display: block;
    }
    #pm_window .right-panel {
        width: 100%;
    }

    #geo_window{
        height: 175px;
    }
    #geo_window .btn.btn-primary{
        font-size: 12px;
        line-height: 10px;
    }
}

@media screen and (max-width: 640px) {
    #comments_widget #comments_refresh_panel {
        display: none;
    }
    #pm_contact .overview {
        position: relative;
        padding: 9px 0 9px 5px;
    }
    #pm_contact .actions {
        float: none;
        line-height: 50px;
        background-color: #fff;
        display: none;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0 0 0 10px;
        box-sizing: border-box;
    }
    #pm_contact .actions.actions-active {
        display: block;
    }
    #pm_contact .toogle-actions {
        display: block;
        position: absolute;
        right: 9px;
        top: 50%;
        width: 30px;
        height: 30px;
        margin-top: -15px;
        opacity: .7;
        background: #7f8c8d url("../images/icons32/menu-icon.svg") no-repeat center center;
        cursor: pointer;
        border-radius: 2px;
    }
    #pm_contact .toogle-actions.toogle-actions-active {
        opacity: 1;
        background-color: #d35400;
    }
    #pm_contact .overview .user_date_log {
        display: none!important;
    }
    .nyroModalMessage input.button-small {
        padding: 4px 7px;
        font-size: 12px;
    }
}
@media (max-width: 765px) and (min-width: 480px) {

    .module_messages .navbar.navbar-transparent {
        position: static;
    }

    .module_messages .phototape_block{
        display: none;
    }

    .module_messages .width-wrap-center{
        position: absolute;
        top: -10px;
        width: 100%;
    }
    .module_messages.dialog-hidden .left-panel{
        display: none;
    }
    .module_messages .main-panel>.content {
        padding: 0!important;
        min-height: calc(100vh - 50px);
    }
    .module_messages .card{
        position: unset;
    }
    .module_messages .col-md-12{
        padding: 0;
    }

    .layout-mess {
        margin-bottom: 0!important;
    }

    #pm_window .right-panel {
        width: 100%;
        max-width: 100%;
        border: none;
        border-radius: 0;
        height: calc(100vh - 40px);
    }

    #pm_window .left-panel {
        width: 100%;
        max-width: 100%;
        border: none;
        border-radius: 0;
        height: calc(100vh - 40px);
        margin: 0;
        padding: 8px;
    }

    #pm_contact .overview{
        display: block;
    }

    #user_search_panel {
        padding: 6px 15px 0;
        height: 45px;
    }
    #pm_contact .overview {
        padding: 0 15px;
        height: 36px;
    }
    #pm_contact .chat-wrapper {
        height: calc(100% - 92px);
    }
    .search-private-mess-icon {
        width: 28px;
        height: 28px;
        margin-top: 2px;
    }
    #user_search_panel input {
        max-width: 90%;
        height: 30px;
    }
    #pm_window .contacts {
        width: 101%;
        height: calc(100% - 103px);
    }

    #pm_window .contacts .contact .avatar, #pm_window .contacts .contact .avatar img {
        width: 50px;
        height: 50px;
    }

    #pm_window .contacts .contact {
        height: 60px;
        margin-bottom: 5px;
    }
    #pm_window .contacts .contact .avatar, #pm_window .contacts .contact .avatar img {
        width: 45px;
        height: 45px;
    }
    #pm_window .contact-notice .contact-nickname {
        font-size: 16px;
    }
    #pm_window .contact-notice .contact-user-offline {
        font-size: 10px;
        padding-left: 20px;
        background-size: 10px 10px;
    }
    #pm_window .contact-notice .contact-last-message {
        line-height: 17px;
        font-size: 14px;
        margin-top: 5px;
    }

    #pm_contact .chat .message {
        margin: 0 auto 20px;
        width: 98%;
        overflow: hidden;
    }
    .message-my .user_avatar {
        display: block;
        float: right;
        width: auto;
        margin: 0;
        text-align: right;
    }
    #pm_chat .message-my .content {
        float: right;
        margin-right: 20px;
        margin-left: 0;
        background: #858383;
        padding: 2px 10px;
    }
    #pm_chat .message-my .message_text {
        float: left;
        width: 100%;
    }
    #pm_contact .chat .message .title{
        display: none;
    }
    #pm_contact .chat .message .user_avatar img {
        width: 45px;
        height: 45px;
    }
    #pm_chat .message-date {
        position: static;
        float: right;
        width: 100%;
        top: 0;
        left: 100%;
        bottom: 0;
        margin: auto;
        display: block;
    }
    #pm_contact .chat .message .date, #pm_contact .chat .message .date-new {
        font-size: 12px;
        color: #626262;
    }
    #pm_contact .chat .message-my .date, #pm_contact .chat .message-my .date-new {
        color: #fff;
    }
    #pm_chat h3 {
        font-size: 12px;
    }
    .user_avatar {
        display: block;
        float: left;
        width: auto;
        margin: 0;
    }
    #pm_chat .content {
        float: left;
        margin-left: 20px;
        padding-right: 45px;
        max-width: 340px;
        background: #FFBD97;
        padding: 2px 10px;
    }

    .emojibutton .emojionearea-button>div.emojionearea-button-close {
        top: -3px;
        left: -6px;
    }
}


@media (max-width: 479px) and (min-width: 320px) {

    .module_messages{
        background-color: #4c4c49;
    }
    .module_messages .navbar.navbar-transparent {
        position: static;
    }

    .module_messages .phototape_block{
        display: none;
    }

    .module_messages .width-wrap-center{
        margin-top: -44px;
        width: 100%;
    }
    .module_messages.dialog-hidden .left-panel{
        display: none;
    }
    .module_messages .main-panel>.content {
        padding: 0!important;
        min-height: calc(100vh - 50px);
    }
    .module_messages .card{
        position: unset;
    }
    .module_messages .col-md-12{
        padding: 0;
    }

    .layout-mess {
        margin-bottom: 0!important;
    }

    #pm_window .right-panel {
        width: 100%;
        max-width: 100%;
        border: none;
        border-radius: 0;
        height: 100%;
    }

    #pm_window .left-panel {
        width: 100%;
        max-width: 100%;
        border: none;
        border-radius: 0;
        height: calc(100vh - 40px);
        margin: 0;
        padding: 8px;
    }

    #pm_contact .overview{
        display: block;
    }

    #user_search_panel {
        padding: 6px 15px 0;
        height: 45px;
    }
    #pm_contact .overview {
        padding: 0 15px;
        height: 36px;
    }

    #pm_contact{
        max-height: 550px;

    }
    #pm_contact .chat-wrapper {
        height: 460px;
    }

    #pm_contact .composer {
        position: relative;
        bottom: 0;
    }

    .search-private-mess-icon {
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }
    #user_search_panel input {
        max-width: 85%;
        height: 26px;
        font-size: 13px;
    }
    #pm_window .contacts {
        width: 101%;
        height: 100%;
    }

    #pm_window .contacts .contact .avatar, #pm_window .contacts .contact .avatar img {
        width: 50px;
        height: 50px;
    }

    #pm_window .contacts .contact {
        height: 60px;
        margin-bottom: 5px;
    }
    #pm_window .contacts .contact .avatar, #pm_window .contacts .contact .avatar img {
        width: 45px;
        height: 45px;
    }
    #pm_window .contact-notice .contact-nickname {
        font-size: 17px;
    }
    #pm_window .contact-notice .contact-user-offline {
        font-size: 13px;
        padding-left: 20px;
        background-size: 10px 10px;
    }
    #pm_window .contact-notice .contact-last-message {
        line-height: 17px;
        font-size: 17px;
        margin-top: 5px;
    }

    #pm_contact .chat .message {
        margin: 0 auto 20px;
        width: 98%;
        overflow: hidden;
    }
    .message-my .user_avatar {
        display: block;
        float: right;
        width: auto;
        margin: 0;
        text-align: right;
    }
    #pm_chat .message-my .content {
        float: right;
        margin-right: 20px;
        margin-left: 0;
        background: #858383;
        padding: 2px 10px;
    }
    #pm_chat .message-my .message_text {
        float: left;
        width: 100%;
    }
    #pm_contact .chat .message .title{
        display: none;
    }
    #pm_contact .chat .message .user_avatar img {
        width: 35px;
        height: 35px;
    }
    #pm_chat .message-date {
        position: static;
        float: right;
        width: 100%;
        top: 0;
        left: 100%;
        bottom: 0;
        margin: auto;
        display: block;
    }
    #pm_contact .chat .message .date, #pm_contact .chat .message .date-new {
        font-size: 13px;
        color: #626262;
    }
    #pm_contact .chat .message-my .date, #pm_contact .chat .message-my .date-new {
        color: #fff;
    }
    #pm_chat h3 {
        font-size: 13px;
    }
    .user_avatar {
        display: block;
        float: left;
        width: auto;
        margin: 0;
    }
    #pm_chat .content {
        float: left;
        margin-left: 10px;
        padding-right: 45px;
        max-width: 210px;
        padding: 2px 10px;
        background: #FFBD97;
    }
    #pm_chat .content:before{
        top: 12px;
    }

    .emojibutton .emojionearea-button>div.emojionearea-button-close {
        top: -3px;
        left: -6px;
    }

    #pm_contact .composer .editor .textarea {
        height: 35px;
    }
    #pm_contact .composer .markItUp {
        max-width: 85%;
        height: 35px;
        border-radius: 10px;
    }
    li.markItUpButton.emojibutton {
        left: 10px;
        top: 11px;
    }
    li.markItUpButton.markItUpButton10.btnImgUpload {
        right: 12px;
        top: 9px;
    }
    #pm_contact .btn {
        float: left;
        line-height: 16px;
        font-size: 13px;
        background: #FF6F1D url(/templates/redray/images/send-message.svg) no-repeat!important;
        background-position: center!important;
        width: 35px;
        height: 35px;
        color: transparent;
        border-radius: 10px;
    }

    #pm_chat .message_text {
        font-size: 16px;
    }
}

/* iphone X , XS, 11 Pro */
@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
    #pm_contact{
        max-height: 575px;

    }
    #pm_contact .chat-wrapper {
        height: 475px;
    }
}
