/* CSS ОСНОВА */
@media (max-width: 575px) {
    @-ms-viewport {
        width: 520px;
    }
}
* {
    /*font-family: "Roboto Condensed", sans-serif !important;*/
    
}
:root {
    --page-selection-color: #30b888;
    --color-white: #f3ede0;
    --color-red: #b83330;
    --color-red-dark: #a4090d;
    --color-yellow: #fcc450;
    --color-green: #98b344;
}
html, body {
    height: 100%;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
    color: #27231f;
    background-color: #fbfbfd;
}
body {
    min-width: 520px;
}
body.account {
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100vh;
}
.body-holder {
    min-height: 100vh;
    overflow: auto;
}
div, header, footer, article {
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
}
input, select, textarea, button {
    font-family: "Roboto Condensed", sans-serif;
}
div img {
    max-width: 100%;
}
figure {
    display: inline-block;
    margin: 0;
    font-size: 0;
    line-height: 0;
}
figure svg {
    width: 100%;
    height: 100%;
}
hr {
    border-top: 1px dashed rgba(160, 0, 0, .5);
    border-bottom: 1px solid rgba(0, 0, 0, 0);
}
pre {
    font-size: 12px;
}
h1, h2, h3, h4, h5, h6, p {
    margin: 10px 0;
}
h1 {
    font-size: 160%;
}
h2 {
    font-size: 150%;
}
h3 {
    font-size: 140%;
}
h4 {
    margin-bottom: 20px;
    font-size: 130%;
}
h5 {
    font-size: 120%;
}
h6 {
    font-size: 110%;
}
p {
    margin: 10px 0;
}
p:last-child {
    margin-bottom: 0;
}
b {
    font-weight: 700;
}
i {
    font-style: italic;
}
a {
    color: #7f993f;
}
a:hover {
    color: #b83330;
}
input[type='file'] {
    display: none;
}
[contenteditable=true]:empty:before {
    content: attr(placeholder);
    display: block;
    color: rgba(0, 0, 0, .3);
}
::placeholder {
    color: rgba(0, 0, 0, .3);
}
::-ms-input-placeholder {
    color: rgba(0, 0, 0, .3);
}
:-ms-input-placeholder {
    color: rgba(0, 0, 0, .3);
}
::-webkit-input-placeholder {
    color: rgba(0, 0, 0, .3);
}
.input, .select, .button {
    display: block;
    position: relative;
    margin: 5px 0 20px 0;
    padding: 8px 10px;
    width: 100%;
    line-height: 26px;
    font-size: 20px;
    color: #333333;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    /*transition: padding ease-in-out .2s, border ease-in-out .2s;*/
    transition: border-color linear .2s;
}
.input.inline, .button.inline {
    display: inline-block;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
    width: auto;
}
.input.sm, .select.sm, .button.sm {
    padding: 7px 8px;
    line-height: 21px;
    font-size: 16px;
}
.input.lg {
    min-height: 130px;
    line-height: 23px;
    font-size: 16px;
}
.input.lg.tribune {
    top: -2px;
    margin-top: 0;
    margin-bottom: 30px;
    min-height: 175px;
    max-height: 640px;
    resize: vertical;
    overflow: auto;
}
.input:hover, .input:focus, .select:hover, .select:focus {
    padding-bottom: 7px;
    font-size: 20px;
    border-bottom-width: 2px;
    border-bottom-color: #b83330;
}
.input.sm:hover, .input.sm:focus, .select.sm:focus, .select.sm:hover {
    padding-bottom: 6px;
    font-size: 16px;
}
.input.lg:hover, .input.lg:focus { 
    font-size: 16px;
}
.input.checkmark {
    padding-right: 30px;
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px 16px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDk3LjYxOSA5Ny42MTgiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDk3LjYxOSA5Ny42MTg7IiB4bWw6c3BhY2U9InByZXNlcnZlIiBjbGFzcz0iIj48ZyB0cmFuc2Zvcm09Im1hdHJpeCgwLjcxNzU4NyAwIDAgMC43MTc1ODcgMS42Mzg1MSAxMy43ODQzKSI+PGc+Cgk8cGF0aCBkPSJNOTYuOTM5LDE3LjM1OEw4My45NjgsNS45NTljLTAuMzk4LTAuMzUyLTAuOTI3LTAuNTMxLTEuNDQ5LTAuNDk0QzgxLjk5LDUuNSw4MS40OTYsNS43NDMsODEuMTQ2LDYuMTQyTDM0LjEsNTkuNjg4ICAgTDE3LjM3MiwzNy41NDdjLTAuMzE5LTAuNDIyLTAuNzk0LTAuNzAxLTEuMzE5LTAuNzczYy0wLjUyNC0wLjA3OC0xLjA1OSwwLjA2NC0xLjQ4MSwwLjM4NUwwLjc5NCw0Ny41NjcgICBjLTAuODgxLDAuNjY2LTEuMDU2LDEuOTItMC4zOSwyLjgwMWwzMC45NzQsNDAuOTk2YzAuMzYyLDAuNDc5LDAuOTIyLDAuNzcxLDEuNTIyLDAuNzkzYzAuMDI0LDAsMC4wNDksMCwwLjA3MywwICAgYzAuNTc0LDAsMS4xMjItMC4yNDYsMS41MDMtMC42OGw2Mi42NDQtNzEuMjk3Qzk3Ljg1LDE5LjM1MSw5Ny43NjksMTguMDg2LDk2LjkzOSwxNy4zNTh6IiBkYXRhLW9yaWdpbmFsPSIjMDAwMDAwIiBjbGFzcz0iYWN0aXZlLXBhdGgiIHN0eWxlPSJmaWxsOiM3Rjk5M0YiIGRhdGEtb2xkX2NvbG9yPSIjN2Y5OTNmIj48L3BhdGg+CjwvZz48L2c+IDwvc3ZnPg==");
}

.input-form {
}
.input-form label {
    display: block;
    position: relative;
    margin-bottom: 20px;
    padding: 10px 10px 10px 40px;
    line-height: 20px;
    vertical-align: top;
    background-color: #f0f0f0;
    cursor: pointer;
}
.input-form label:hover {
    background-color: #d0d0d0;
}
.input-form label input[type='checkbox'] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
    width: 20px;
    height: 20px;
    -webkit-appearance: checkbox;
}
.input-controls {
    padding-left: 5px;
    width: 100%;
    height: 40px;
    font-size: 0;
    background-color: #f3ede0;
    border: 1px solid #e0e0e0;
    border-bottom: 0;
}
.input-control {
    float: left;
    padding: 11px;
    width: 40px;
    height: 100%;
    cursor: pointer;
}
.input-control figure {
    fill: #cfc5ae;
}
.input-control.attach {
    margin: 0;
    background-color: transparent;
}
.input-control.attach:hover {
    background-color: #cfc5ae;
}
@media (max-width: 767px) {
    .input-control {
        width: 38px;
    }
}
.input-control.mm {
    padding: 10px;
}
.input-control.sm {
    padding: 9px;
}
.input-control:hover,
.input-control:hover figure {
    background-color: #cfc5ae;
    fill: #b83330;
}
.input-control.br {
    margin: 10px 5px;
    padding: 0;
    width: 1px;
    height: 20px;
    border-left: 1px solid #e0e0e0;
    background-color: transparent;
}
.input-preview {
    display: none;
    margin: -20px 0 20px 0;
    padding: 10px 12px;
    font-size: 16px;
    background-color: #f0f0f0;
}
/*
@media (max-width: 576px) {
    .input, .input.sm, .select, .select.sm,
    .input:hover, .input:focus, .select:hover, .select:focus,
    .input.sm:hover, .input.sm:focus, .select.sm:focus, .select.sm:hover {
        line-height: 24px;
        font-size: 24px;
    }
    .select, .select.sm {
        line-height: 28px !important;
    }
}
*/
.button {
    padding: 6px 20px;
    line-height: 30px;
    color: #f3ede0;
    text-align: center;
    background-color: #b83330;
    border: 0;
    cursor: pointer;
}
.button.sm {
    padding: 7px 20px;
    line-height: 22px;
}
.button:hover {
    color: #f3ede0;
    background-color: #a4090d;
}
.select-box::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    margin: auto;
    width: 12px;
    height: 12px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI1NSAyNTUiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDI1NSAyNTU7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPGc+Cgk8ZyBpZD0iYXJyb3ctZHJvcC1kb3duIj4KCQk8cG9seWdvbiBwb2ludHM9IjAsNjMuNzUgMTI3LjUsMTkxLjI1IDI1NSw2My43NSAgICIgZmlsbD0iIzAwMDAwMCIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=");
    opacity: .2;
}
:disabled,
:disabled:hover {
    background-color: #808080;
    opacity: .5;
    cursor: default;
}
.header-button {
    position: absolute;
    top: 0;
    right: 30px;
}
.header-button.bottom {
    top: auto;
    bottom: 0;
}
.header-button button,
.header-button .button {
    margin: 0;
}

.site-contents {
    position: absolute;
    z-index: 1;
    top: 70px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #292929;
    overflow: auto;
    outline: none;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
.site-contents-inner {
    min-height: 550px;
}

.header {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 70px;
    background-color: #b83330;
    border-bottom: 3px solid #a4090d;
}
@media(max-width: 1199px) {
    .header {
        z-index: 1001;
    }
}
.header-holder {
    margin: 0 auto;
    height: 100%;
    max-width: 1920px;
}
.header-user {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
}
.header-user svg {
    width: 100%;
}

.header-logo {
    position: absolute;
    top: 2px;
    bottom: 0;
    left: 100px;
    margin: auto;
    height: 43px;
}

.header-buttons {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    height: 70px;
    font-size: 0;
}
.header-buttons div {
    display: inline-block;
    width: 60px;
    height: 67px;
    border-right: 1px solid #b83330;
    cursor: pointer;
}
.header-buttons div.active {
    background-color: #a4090d;
}
.header-buttons div:hover {
    background-color: #bf4543;
}
.header-buttons div.active ins {
    background-color: #bf4543;
}
.header-buttons div figure {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 28px;
    height: 28px;
    fill: rgba(243, 237, 224, 1);
}
@media (max-width: 1199px) {
    .header-buttons {
        right: 0;
    }
    .header-buttons div {
        width: 50px;
    }
    .header-buttons div figure {
        width: 22px;
        height: 22px;
    }
}


.header-modal {
    display: none;
    position: absolute;
    top: 75px;
    right: 10px;
    width: 220px;
    background-color: #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    border: 1px solid rgba(0, 0, 0, .2);

}
.header-modal-wb {
    position: absolute;
    z-index: 1;
    top: -10px;
    right: 20px;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: dashed dashed solid;
    border-width: 0 9px 9px;
    border-bottom-color: #ccc;
    border-bottom-color: rgba(0, 0, 0, .2);
    
}
.header-modal-vb {
    position: absolute;
    z-index: 1;
    top: -9px;
    right: 20px;
    width: 0;
    height: 0;
    border-color: transparent;
    border-bottom-color: #f0f0f0;
    border-style: dashed dashed solid;
    border-width: 0 9px 9px;
}
@media (max-width: 1199px) {
    .header-modal-wb,
    .header-modal-vb {
        right: 4px;
    }
}



.page {
    display: table;
    width: 100%;
    min-height: 30px;
}
.page-tokens {
    display: block;
    position: relative;
    z-index: +1;
    font-size: 0;
    background-color: #f3ede0;
}
.page-tokens a {
    display: block;
}
.page-tokens div,
.page-tokens span {
    display: inline-block;
    padding: 20px 0 14px 0;
    width: 80px;
    height: 62px;
    vertical-align: top;
}
.page-tokens div figure {
    width: 80px;
    height: 32px;
    fill: #98b344;
}
.page-tokens span {
    line-height: 32px;
    font-size: 20px;
    font-weight: bold;
    color: #98b344;
}
.page-tokens b {
    display: none;
    position: absolute;
    top: 20px;
    right: 15px;
}
.page-tokens b a {
    padding: 2px 7px 2px 5px;
    height: 32px;
    line-height: 30px;
    font-size: 12px;
    background-color: #98b344;
    border-radius: 1px;
    opacity: .75;
}
.page-tokens b a:hover {
    opacity: 1;
}
.page-tokens b a span {
    font-size: 12px;
    padding: 0;
    width: auto;
    height: 28px;
    line-height: 28px;
    font-weight: 400;
    color: #f0f0f0;
}
.page-tokens b a figure {
    display: inline-block;
    margin-right: 5px;
    padding: 2px;
    width: 24px;
    height: 28px;
    fill: #f0f0f0;
}
@media (max-width: 1199px) {
    .page-tokens div,
    .page-tokens span {
        padding: 20px 0 10px 0;
        height: auto;
    }
    .page-tokens span {
        padding: 0 0 5px 0;
        line-height: normal;
        font-size: 16px;
        text-align: center;
    }
    .page-tokens b {
        display: none !important;
    }
}
.page-menu:hover .page-tokens b {
    display: block;
    color: #b83330;
}
.page-menu {
    display: table-cell;
    z-index: +1;
    width: 280px;
    max-height: calc(100vh - 70px);
    font-size: 0;
    background-color: #f3ede0;
    vertical-align: top;
}
.page-menu ul {
    font-size: 0;
}
.page-menu ul li {
    position: relative;
    display: block;
    height: 50px;
    font-size: 15px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.page-menu ul li.between {
    margin: 3px 20px 2px 20px;
    height: 1px;
    border-top: 1px dashed rgba(221, 212, 192, .75);
}
.page-menu ul li:first-child {
    /*margin-top: 15px;*/
}
.page-menu ul li:first-child::before {
    display: none;
}
.page-menu ul li a {
    position: relative;
    display: block;
    padding-left: 77px;
    width: 100%;
    height: 50px;
    line-height: 52px;
    color: #242424;
    text-decoration: none;
    border-left: 3px solid transparent;
}
.page-menu ul li a span {
    display: inline-block;
    height: 50px;
    max-height: 50px;
    overflow: hidden;
}
.page-menu ul li a div {
    position: absolute;
    top: 0;
    left: -3px;
    width: 80px;
    height: 50px;
}
.page-menu ul li a div figure {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 28px;
    height: 28px;
    fill: rgba(184, 50, 50, .75);
}
.page-menu ul li a::after {
    content: '';
    display: none;
    position: absolute;
    top: 0;
    right: -10px;
    width: 0; 
    height: 0; 
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 10px solid #ddd4c0;
}

/* Menu Element Active */
.page-menu ul li a.active {
    color: #242424;
    background-color: #ddd4c0;
    border-left: 3px solid #a4090d;
}
.page-menu ul li a.active::after {
    display: block;
    border-left: 10px solid #ddd4c0;
}

/* Top Menu Element Active */
.page-menu ul li a.dating.active {
    background-color: #f3ede0;
}
.page-menu ul li a.dating.active::after {
    display: block;
    border-left: 10px solid #f3ede0;
}

/* Menu Element Hover */
.page-menu ul li a:hover {
    background-color: #cfc5ae;
}
.page-menu ul li a:hover::after {
    display: block;
    border-left: 10px solid #cfc5ae;
}

/* Top Menu Element Hover */
.page-menu ul li a.dating:hover {
    background-color: #cfc5ae;
}
.page-menu ul li a.dating:hover::after {
    display: block;
    border-left: 10px solid #cfc5ae;
}


/* Top and Menu Badges */
.header-buttons div ins,
.page-menu ul li ins,
.chat-session-image ins,
.photo-viewer-likes ins {
    display: none;
    position: absolute;
    bottom: 6px;
    right: 12px;
    padding: 1px 5px 1px 4px;
    line-height: 14px;
    font-size: 12px;
    font-weight: bold;
    color: #f0f0f0;
    text-decoration: none;
    background-color: #a4090d;
    border-radius: 2px;
}
.header-buttons div ins {
    bottom: 16px;
    right: 2px;
}
.chat-session-image ins {
    z-index: +1;
    bottom: 0;
    right: -12px;
}
.photo-viewer-likes ins {
    display: block;
}

.page-body {
    display: table-cell;
    padding-left: 20px;
    padding-right: 400px;
    background-color: #ffffff;
    vertical-align: top;
}
.page-right {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    /*background-color: #98b344;*/
    background-color: #ecf0f3;
}
.page-right:hover {
    background-color: #c9d8e6;
}

@media (max-width: 1699px) {
    .page-body {
        padding-right: 250px;
    }
    .page-right {
        width: 250px;
    }
}
@media (max-width: 1199px) {
    .page-menu {
        width: 80px;
    }   
    .page-menu ul li a {
        position: relative;
        display: block;
        width: 80px;
        height: 50px;
    }
    .page-menu ul li a span {
        display: none;
    }
}
@media (max-width: 991px) {
    .page-body {
        padding-right: 50px;
    }
    .page-right {
        width: 50px;
    }
}
@media (max-width: 768px) {
}
@media (max-width: 575px) {
    
}

/* Inner Page Containers */
.page-crumbs {
    margin: 0 0 0 -20px;
    padding: 10px 30px;
    background-color: #a0a0a0;
}

.page-warning {
    margin: 0 0 0 -20px;
    padding: 10px 30px;
    color: #444444;
    background-color: #fcc450;
}
.page-warning-item {
    margin-bottom: 10px;
}
.page-warning-item a {
    color: #b83330;
}
.page-warning-item a:hover {
    color: #7f993f;
}

.page-heading {
    margin: 0 0 0 -20px;
    padding: 10px 30px 5px 30px;
    background-color: #f5f5f5;
    border-bottom: 1px solid rgba(0, 0, 0, .01);
}
.page-content {
    padding: 20px 30px 20px 10px;
}
.page-content p,
.page-content ul,
.page-content li {
    line-height: 20px;
    font-size: 16px;
}
.page-attachments {
    margin-bottom: 20px;
    font-size: 0;
}
.page-attachment {
    display: inline-block;
    padding: 10px;
    width: 20%;
    background-color: #f0f0f0;
}
.page-attachment:after {
    content: '';
    display: block;
    padding-top: 80%;
}
@media (max-width: 767px) {
    .page-attachment {
        width: 33.333333333%;
    }
}

/*
.photo-item {
    display: inline-block;
    margin: 0 10px 20px 10px;
    width: calc(25% - 20px);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
div.photo-item {
    cursor: zoom-in;
}
.photo-item:after {
    content: '';
    display: block;
    padding-top: 70%;
}
@media (max-width: 1365px) {
    .photo-item {
        width: calc(33.333333333% - 20px);
    }
}
@media (max-width: 767px) {
    .photo-item {
        width: calc(50% - 20px);
    }
}
*/

/* Blocks */
.page-blocks {
    margin: 0 -10px;
    font-size: 0;
}
.page-block {
    display: inline-block;
    margin: 0 10px 20px 10px;
    width: calc(50% - 20px);
    font-size: 18px;
    vertical-align: top;
}
.page-block.big {
    width: calc(100% - 20px);
}
.page-block.small,
.page-block.photo {
    width: calc(25% - 20px);
}
.page-block.card {
    width: calc(16.666666666% - 20px);
}
.page-block.no-title {
    padding-top: 18px;
}
@media (max-width: 1699px) {
    .page-block.card {
        width: calc(20% - 20px);
    }
}
@media (max-width: 1365px) {
    .page-block.photo {
        width: calc(33.333333333% - 20px);
    }
    .page-block.card {
        width: calc(25% - 20px);
    }
}
@media (max-width: 767px) {
    .page-block {
        display: block;
        width: calc(100% - 20px);
    }
    .page-block.small,
    .page-block.photo {
        display: inline-block;
        width: calc(50% - 20px);
    }
    .page-block.card {
        display: inline-block;
        width: calc(33.333333333% - 20px);
    }
}
@media (max-width: 575px) {
    .page-block.card {
        width: calc(50% - 20px);
    }
}
.page-block label {
    display: block;
    margin-bottom: 7px;
    transition: color linear .2s;
}
.page-block span {
    display: inline-block;
    padding: 5px 10px;
}

.page-block-error {
    display: inline-block;
    margin-bottom: 20px;
    padding-top: 20px;
    width: 100%;
    height: 90px;
    font-size: 16px;
    line-height: 14px;
    text-align: center;
    border: 1px dashed rgba(125, 125, 125, .7);
    color: rgba(125, 125, 125, .7);
}
.page-block-error.ajax {
    margin-left: 10px;
    width: calc(100% - 20px);
}

.page-block-actions {
    position: absolute;
    top: 5px;
    right: 0;
    height: 30px;
    text-align: right;
}
.page-block-action {
    display: inline-block;
    margin-right: 5px;
    padding: 8px;
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, .5);
    cursor: pointer;
}
.page-block-action figure {
    width: 20px;
    height: 20px;
    fill: #f0f0f0;
}
.page-block-action:hover,
.page-block-action:hover figure {
    background-color: rgba(0, 0, 0, 1);
    fill: #b83330;
}

/* Gifts */
.gift-item {
    padding-bottom: 10px;
    width: 100%;
    text-align: center;
}
.gift-item img {
    margin-bottom: 5px;
}
.gift-price {
    display: inline-block;
    padding: 5px 10px 5px 8px;
    background-color: #f3ede0;
    border-radius: 2px;
}
.gift-price div,
.gift-price span {
    display: inline-block;
    padding: 0;
    height: 20px;
    line-height: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #98b344;
    text-decoration: none;
    vertical-align: top;
}
.gift-price div figure {
    width: 20px;
    height: 20px;
    fill: #98b344;
}
.gift-item:hover > .gift-price {
    background-color: #a00000;
}


/* Favorites */
.favorite-item {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #f0f0f0;
    background-color: rgba(0, 0, 0, .1);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
}
.favorite-item:after {
    content: '';
    display: block;
    padding-top: 150%;
}
.favorite-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 40px 4px 10px;
    line-height: 15px;
    font-size: 12px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, .5);
}
.favorite-icon {
    position: absolute;
    bottom: -7px;
    right: -7px;
    padding: 11px;
    width: 44px;
    height: 44px;
    background-color: #d0d0d0;
    border-radius: 50%;
    border: 1px solid #f0f0f0;
}
.favorite-icon figure {
    fill: #f0f0f0;
}
.favorite-item:hover .favorite-icon,
.favorite-item:hover .favorite-icon figure {
    border-color: #98b344;
    background-color: #98b344;
    fill: #ffffff;
}

/* Profile Editor */
.profile {
    display: table;
    margin: -20px -20px 0 -30px;
    padding: 20px 30px;
    width: calc(100% + 60px);
    font-size: 18px;
}
.profile-left {
    display: table-cell;
    width: 223px;
    vertical-align: top;
}
.profile-right {
    display: table-cell;
    padding-left: 20px;
    vertical-align: top;
}

/*
.profile-blocks {
    font-size: 0;
}
.profile-block {
    display: inline-block;
    margin-right: 20px;
    width: calc(50% - 10px);
    font-size: 18px;
    vertical-align: bottom;
}
.profile-block:last-child {
    margin-right: 0;
}
.profile-block.big {
    width: 100%
}
.profile-block.small {
    width: calc(25% - 15px);
}
@media (max-width: 767px) {
    .profile-block {
        display: block;
        margin: 0;
        width: 100%;
    }
    .profile-block.small,
    .profile-block.bd {
        display: inline-block;
        margin-right: 20px;
        width: calc(50% - 10px);
    }
    .profile-block.small:nth-child(2),
    .profile-block.small:last-child,
    .profile-block.bd:last-child {
        margin-right: 0;
    }
}
.profile-block label {
    transition: color linear .2s;
}
.profile-block span {
    display: inline-block;
    padding: 5px 10px;
}
*/

.profile-photo {
    margin-bottom: 20px;
    width: 100%;
    height: auto;
    cursor: pointer;
}
.profile-photo::after {
    content: '';
    display: block;
    padding-top: 125%;
}

.profile-photo-icon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 15px;
}
.profile-photo-icon-text {
    display: none;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    text-align: right;
    color: #ffffff;
}
.profile-photo-icon figure {
    float: left;
    width: 30px;
    height: 30px;
    fill: rgba(255, 255, 255, .8);
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,.4));
}
.profile-photo:hover .profile-photo-icon {
    background-color: rgba(0, 0, 0, .5);
}
.profile-photo:hover .profile-photo-icon-text {
    display: block;
}
.profile-photo-bg {
    position: absolute;
    top: 0;
    bottom: 20px;
    left: 0;
    right: 0;
    background-image: url('/assets/images/faces.jpg');
    opacity: .75;
}
.profile-field,
.profile-data-field {
    margin-bottom: 0;
}
.profile-data-field.shine {
    box-shadow: 0 0 5px 2px var(--color-red);
}
.profile-info {
    margin-bottom: 20px;
    width: 100%;
    background-color: #ddd4c0;
    vertical-align: top;
}
.profile-info.line {
    /*display: none;*/
}
.profile-info.chart {
    display: none;
    padding: 0;
    width: 200px;
    height: 200px;
    background-color: #ffffff;
}
.profile-info.chart canvas {
    max-width: 100%;
    max-height: 100%;
}
.profile-percent {
    width: 100%;
    background-color: #ddd4c0;
    vertical-align: top;
}
.profile-percent-box {
    width: 0;
    height: 35px;
    transition: width linear .5s;
}
.profile-percent-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    text-align: center;
}
@media (max-width: 575px) {
    .profile {
        display: block;
    }
    .profile-left,
    .profile-right {
        display: block;
        padding-left: 0;
        width: auto;
    }
    .profile-info.line {
        /*display: block;*/
    }
    .profile-info.chart {
        /*display: none;*/
    }
}

/* Photo Albums */
.photo-albums {
    margin: -10px -10px 20px -10px;
    
    font-size: 0;
}
.photo-album-item {
    position: relative;
    display: inline-block;
    margin: 10px;
    width: calc(25% - 20px);
    font-size: 16px;
    vertical-align: top;
    cursor: pointer;
}
@media (max-width: 1365px) {
    .photo-album-item {
        width: calc(33.333333333% - 20px);
    }
}
@media (max-width: 767px) {
    .photo-album-item {
        width: calc(50% - 20px);
        font-size: 14px;
    }
}
.photo-album-item:after {
    content: '';
    display: block;
    padding-top: 110%;
}
.photo-album-item-thumbnail {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.photo-album-item-name {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px 15px;
    width: 100%;
    height: 50px;
    line-height: 32px;
    font-size: 14px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, .5);
    overflow: hidden;
}
.photo-album-title {
    display: table;
    padding-bottom: 20px;
    width: 100%;
}
.photo-album-title-image {
    display: table-cell;
    width: 80px;
    height: 80px;
    vertical-align: top;
}
.photo-album-title-data {
    display: table-cell;
    padding-left: 20px;
    vertical-align: top;
}

.photo-item {
    display: block;
    width: 100%;
    height: auto;
    background-color: rgba(0, 0, 0, .1);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
div.photo-item {
    cursor: zoom-in;
}
.photo-item:after {
    content: '';
    display: block;
    padding-top: 70%;
}

.photo-upload-area {
    display: inline-block;
    margin-bottom: 20px;
    padding-top: 30px;
    width: 100%;
    height: 110px;
    line-height: 14px;
    text-align: center;
    border: 2px dashed #98b344;
    cursor: pointer;
}
.photo-upload-area:hover,
.photo-upload-area.dragover {
    color: #b83330;
    border-color: #b83330;
}

.photo-viewer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #151515;
    overflow: hidden;
}
.photo-viewer-image {
    height: calc(100% - 60px);
    text-align: center;
}
.photo-viewer-image img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.photo-viewer-likes {
    position: absolute;
    z-index: +1;
    top: 20px;
    left: 20px;
    padding: 10px;
    width: 60px;
    height: 50px;
    background-color: rgba(0, 0, 0, .3);
}
.photo-viewer-likes figure {
    width: 30px;
    height: 30px;
    fill: rgba(255, 255, 255, .75);
}

.photo-viewer-nav {
    position: absolute;
    z-index: +2;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 50%;
    cursor: pointer;
}
.photo-viewer-nav.touch {
    width: 90px;
    height: 60px;
}
.photo-viewer-nav.prev {
    left: 0;
}
.photo-viewer-nav.next {
    right: 0;
}
.photo-viewer-nav figure {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 60px;
    height: 60px;
    /*fill: rgba(255, 255, 255, .1);*/
    fill: #98b344;
    opacity: .01;
}
.photo-viewer-nav.prev figure {
    left: 30px;
}
.photo-viewer-nav.next figure {
    right: 30px;
}
.photo-viewer-nav:hover {
    /*background-color: rgba(0, 0, 0, .1);*/
    /*background-color: rgba(0, 0, 0, .5);*/
}

.photo-viewer-nav:hover figure {
    fill: #98b344;
    opacity: 1;
}
.photo-viewer-nav.touch:hover figure {
    opacity: .01;
}

.photo-viewer-nav-active figure {
    opacity: 1;
}
.photo-viewer-caption {
    position: absolute;
    z-index: +3;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 20px;
    font-size: 16px;
    text-align: left;
}
.photo-viewer-caption.owner {
    padding-right: 50px;
    color: #444444;
    background-color: #f0f0f0;
}
.photo-viewer-caption.viewer {
    padding: 10px 20px;
    color: #f0f0f0;
    background-color: rgba(0, 0, 0, .5);
}
.photo-viewer-caption-edit {
    padding: 20px;
}

.photo-viewer-panel {
    display: table;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    max-height: 60px;
    background-color: #f3ede0;
    overflow: hidden;
}
.photo-viewer-panel-button {
    display: table-cell;
    height: 60px;
    text-align: center;
    vertical-align: middle;
    border-top: 1px dashed rgba(221, 212, 192, .75);
    border-right: 1px dashed rgba(221, 212, 192, .75);
    cursor: pointer;
}
.photo-viewer-panel-button:last-child {
    border-right: 0;
}
.photo-viewer-panel-button figure {
    width: 28px;
    height: 28px;
    fill: rgba(184, 50, 50, .75);
}
.photo-viewer-panel-button:hover {
    background-color: #cfc5ae;
}
@media(max-width: 767px) {
    .photo-viewer-panel-button figure {
        width: 22px;
        height: 22px;
    }
}
.photo-viewer-panel-button.do,
.photo-viewer-panel-button.do figure {
    fill: rgba(221, 212, 192, .75) !important;
    cursor: default;
}
.photo-viewer-panel-button.active,
.photo-viewer-panel-button.active figure {
    fill: #98b344;
}


/* Tribune */
.tribune-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 14px;
    color: rgba(184, 50, 50, .55);
}
.tribune-saved {
    position: absolute;
    bottom: -15px;
    right: 0;
    font-size: 12px;
    color: #98b344;
}
.tribune-saved span {
    color: #a0a0a0;
}

.tribune-attachments {
    margin-bottom: 20px;
    padding: 5px;
    width: 100%;
    font-size: 0;
    background-color: #f0f0f0;
}
.tribune-attachment {
    margin: 5px;
    display: inline-block;
    width: calc(16.666666666% - 10px);
}
.tribune-attachment:after {
    content: '';
    display: block;
    padding-top: 80%;
}
@media (max-width: 1365px) {
    .tribune-attachment {
        width: calc(20% - 10px);
    }
}
@media(max-width: 767px) {
    .tribune-attachment {
        width: calc(33.333333333% - 10px);
    }
}


/* Tokens */
.tokens {
}
.tokens-count {
    font-size: 32px;
    font-weight: bold;
    color: #98b344;
}


/* Footer Area */
.footer {
}
.footer-above {
    padding: 20px;
    color: #292929;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .05);
    border-bottom: none;
}
.footer-below {
    padding: 20px;
    height: 120px;
    color: #f0f0f0;
    background: #292929;
}

/* Modal Windows */
.overlay,
.modal,
.loader {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .6);
}
.modal,
.loader {
    z-index: 1100;
}
.loader {
    /*display: block;*/
    background: rgba(255, 255, 255, .6);
}
.overlay-body,
.modal-body {
    position: fixed;
    z-index: 2000;
    top: 40px;
    bottom: 40px;
    left: 60px;
    right: 60px;
    margin: auto;
    max-width: 1400px;
    background-color: #ffffff;
}
.overlay-body.small {
    bottom: auto;
    min-height: 480px;
    max-width: 640px;
    max-height: 480px;
}
.overlay-spinner,
.modal-spinner {
    display: none;
    position: absolute;
    z-index: 2010;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fbfbfd;
}
.overlay-close,
.modal-close {
    position: absolute;
    top: 0;
    right: -40px;
    width: 40px;
    height: 40px;
    background-color: #a4090d;
    cursor: pointer;
}
.modal-close {
    z-index: 2011;
    right: 0;
}
.overlay-close.small {
    z-index: 2011;
}
.overlay-close:hover,
.modal-close:hover {
    background-color: #cfc5ae;
}
.overlay-close figure,
.modal-close figure {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    fill: #ffffff;
}
@media (max-width: 1199px) {
    .overlay-body {
        top: 70px;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .modal-body {
        top: 20px;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    .overlay-body.small {
        top: 40px;
        left: 40px;
        right: 40px;
    }
    .overlay-close {
        display: none;
    }
    .overlay-close.small {
        display: block;
    }
}
@media (max-width: 767px) {
    .modal-body {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .overlay-close.small {
        right: 0;
    }
}
@media (max-width: 576px) {
    .overlay-body.small {
        top: 20px;
        bottom: 20px;
        left: 20px;
        right: 20px;
        min-height: 0;
        max-width: none;
        max-height: none;
    }
}
.overlay-content,
.modal-content {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 0;
    background-color: #ffffff;
    overflow: auto;
}
.overlay-content iframe {
    width: 100%;
    height: 100%;
}

.overlay-menu {
    display: none;
    position: fixed;
    z-index: +9;
    min-width: 200px;
    background-color: #f0f0f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    border: 1px solid rgba(0, 0, 0, .2);
}




/* Modal Menu Inner */
.modal-menu {
}
.modal-menu ul {
}
.modal-menu ul li {
    height: 50px;
    font-size: 15px;
}
.modal-menu ul li.between {
    margin: 3px 20px 2px 20px;
    height: 1px;
    border-top: 1px dashed rgba(221, 212, 192, .75);
}
.modal-menu ul li a,
.modal-menu ul li label {
    position: relative;
    display: block;
    padding-left: 50px;
    padding-right: 20px;
    width: 100%;
    height: 100%;
    color: #242424;
    text-decoration: none;
    cursor: pointer;
}
.modal-menu ul li a:hover,
.modal-menu ul li label:hover {
    background-color: #e0e0e0;
}
.modal-menu ul li a div,
.modal-menu ul li label div {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
}
.modal-menu ul li a div figure,
.modal-menu ul li label div figure {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 20px;
    height: 20px;
    fill: rgba(184, 50, 50, .75);
}
.modal-menu ul li a span,
.modal-menu ul li label span {
    line-height: 50px;
}


/* Error Modals */
.errors {
    position: fixed;
    z-index: 9999;
    bottom: 20px;
    right: 20px;
    padding-right: 10px;
    width: 340px;
    max-height: calc(100% - 110px);
    overflow: auto;
}
.error {
    display: none;
    margin-bottom: 20px;
    height: 100px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    border: 1px solid #e0e0e0;
}
.error:last-child {
    margin-bottom: 0;
}
.error-header {
    padding: 0 30px 0 10px;
    line-height: 34px;
    font-weight: bold;
    color: #f0f0f0;
    background-color: #b83330;
}
.error-text {
    padding: 10px;
}
.error-close {
    position: absolute;
    z-index: +1;
    top: 0;
    right: 0;
    width: 34px;
    height: 34px;
    background-color: #cfc5ae;
    cursor: pointer;
}
.error-close:hover {
    background-color: #a4090d;
}
.error-close figure {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 15px;
    height: 15px;
    fill: #ffffff;
}

/* Modal Chat, Events and Notifications */
.chat,
.events,
.notifications {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
}
.chat-header,
.events-header,
.notifications-header {
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 25px;
    width: 300px;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
    background-color: #f3ede0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    overflow: hidden;
}
.chat-sessions,
.events-sessions,
.notifications-sessions {
    position: absolute;
    top: 60px;
    bottom: 0;
    left: 0;
    width: 300px;
    background-color: #f3ede0;
    overflow: auto;
}
.chat-body,
.events-body,
.notifications-body {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 300px;
    right: 0;
}
.notifications-item {
    min-height: 60px;
    line-height: 20px;
    font-size: 16px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    cursor: pointer;
}
.notifications-item.active {
    background-color: #ddd4c0;
    border-left: 3px solid #a4090d;
}
.notifications-item:hover {
    background-color: #cfc5ae;
}
.notifications-item-image {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.notifications-item-data {
    padding: 15px 30px 15px 75px;
}
.notifications-item-data span {
    display: block;
    font-size: 13px;
}
.notifications-item-status {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    margin: auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-red-dark);
}
.notifications-item-status.read-1 {
    background-color: transparent;
}
.notifications-report {
    font-size: 24px;
    color: #444444;
}

.chat-session {
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    cursor: pointer;
}
.chat-session.active {
    background-color: #ddd4c0;
    border-left: 3px solid #a4090d;
}
.chat-session:hover {
    background-color: #cfc5ae;
}
.chat-session-image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 15px;
    margin: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.chat-session-name {
    margin-left: 75px;
    margin-right: 15px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .chat-search,
    .chat-sessions {
        width: 80px;
    }
    .chat-body {
        left: 80px;
    }
    .chat-session-image {
    }
    .chat-session-name {
        display: none;
    }
}

.chat-user,
.notifications-user {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 20px;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
    background: #eeeeee;
    border-left: 1px solid rgba(0, 0, 0, .07);
    border-bottom: 1px solid rgba(0, 0, 0, .04);
}
.chat-user-avatar {
    position: absolute;
    z-index: +1;
    top: 0;
    right: 0;
    width: 60px;
    height: 70px;
}
.chat-user-avatar svg {
    width: 100%;
}

.chat-user-name {
}

.chat-buttons {
    display: none;
    position: absolute;
    z-index: +1;
    top: 10px;
    right: 80px;
    height: 40px;
}
.chat-buttons-item {
    display: inline-block;
    
    margin-left: 10px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}
.chat-buttons-item figure {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    fill: #9b9b9b;
}
.chat-buttons-item figure:hover {
    fill: #808080;
}

.chat-main,
.notifications-main {
    position: absolute;
    top: 60px;
    bottom: 70px;
    left: 0;
    right: 0;
    padding-top: 12px;
    background: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, .09);
    overflow: auto;
}
.notifications-main {
    bottom: 0;
}
.chat-main::after {
    content: '';
    display: block;
    height: 12px;
}
.chat-input {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    min-height: 70px;
    background: #f5f1ee;
    border-left: 1px solid rgba(0, 0, 0, .07);
}
.chat-input-area {
    padding: 10px 10px 8px 10px;
    width: calc(100% - 60px);
    min-height: 40px;
    max-height: 104px;
    line-height: 20px;
    font-size: 18px;
    background-color: #ffffff;
    border-bottom: 2px solid #ffffff;
    /*transition: padding ease-in-out .2s, border ease-in-out .2s;*/
    transition: border-color linear .2s;
    
    white-space: pre-line;
    overflow-x: hidden;
    overflow-y: auto;
}
.chat-input-area:hover, .chat-input-area:focus {
    font-size: 18px;
    border-bottom-color: #b83330;
}
/*
@media (max-width: 576px) {
    .chat-input-area, .chat-input-area:hover, .chat-input-area:focus {
        line-height: 24px;
        font-size: 22px;
    }
}
*/
.chat-input button {
    position: absolute;
    bottom: 15px;
    right: 12px;
    margin: 0;
    padding: 0;
    width: 50px;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    color: #f0f0f0;
    text-align: center;
    text-transform: uppercase;
    background-color: transparent;
    cursor: pointer;
}
.chat-input button figure {
    padding: 7px;
    width: 50px;
    height: 40px;
    fill: #808080;
}
.chat-input button figure:hover {
    fill: #b83330;
}
.chat-input button:disabled {
    opacity: .5;
    cursor: default;
}

.chat-message {
    margin-bottom: 12px;
    padding: 0 8%;
    font-size: 16px; 
    color: #333333;
}
.chat-message.small {
    margin-bottom: 2px;
}

.chat-message-bubble {
    padding: 12px 17px 10px 17px;
    min-width: 110px;
    max-width: 75%;
    background: #ffffff;
    border-radius: 5px;
}
.chat-message-bubble.in {
    float: left;
    background: #f3ede0;
}
.chat-message-bubble.out {
    float: right;
    background: #ececec;
}
.chat-message::after {
    display: block;
    content: '';
    clear: both;
}

.chat-message-bubble-text {
    line-height: 18px;
}
.chat-message-bubble-text::after {
    content: " \00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0";
    display: inline;
}

.chat-message-bubble-info {
    position: absolute;
    right: 10px;
    bottom: 5px;
    font-size: 11px;
    color: rgba(0, 0, 0, .45);
}
.chat-message-bubble-info.out {
    padding-right: 14px;
}

.chat-message-bubble-info.out figure {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 14px;
    height: 14px;
    fill: #b83330;
    opacity: .6;
}
.chat-message-bubble-info.out.unread figure {
    fill: #263238;
    opacity: .4;
}




/* Account Modal */
.account-header {
    padding: 10px 20px;
    height: 70px;
    line-height: 50px;
    font-size: 24px;
    color: #f3ede0;
    background-color: #b83330;
}
.account-form {
    padding: 20px;
    font-size: 18px;
}
.account-form a,
.account-form span {
    line-height: 22px;
    color: #b83330;
    text-decoration: none;
    cursor: pointer;
}
.account-form a:hover,
.account-form span:hover {
    color: #a4090d;
}
.account-form a::after,
.account-form span::after {
    content: '›';
    display: inline-block;
    margin-left: 3px;
    font-size: 136%;
}
.account-message {  
    position: absolute;  
    top: 30%;
    left: 50%;
    padding: 20px;
    width: 100%;
    transform: translate(-50%,-50%);
    color: #444444;
}
.account-form label {
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
    padding-left: 30px;
    line-height: 20px;
    vertical-align: top;
}
.account-form label input[type='checkbox'] {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    -webkit-appearance: checkbox;
}

/* Zodiac Icons */
.zodiac-icons {
    margin-bottom: 10px;
    font-size: 0;
    text-align: center;
}
.zodiac-cell {
    display: inline-block;
    margin-bottom: 20px;
    width: 8.333333333%;
}
@media (max-width: 1365px) {
    .zodiac-cell {
        width: 16.666666666%;
    }
}
@media (max-width: 575px) {
    .zodiac-cell {
        width: 25%;
    }
}
.zodiac-icon {
    display: inline-block;
    padding: 14px;
    width: 50px;
    height: 50px;
    background-color: #d0d0d0;
    border-radius: 50%;
    transition: background-color linear .5s,
                opacity linear .5s;
    opacity: .5;
}
.zodiac-icon.active {
    background-color: #98b344;
    transition: background-color linear .5s,
                opacity linear .5s;
    opacity: 1;
}
.zodiac-icon figure {
    width: 100%;
    height: 100%;
    fill: #f0f0f0;
}


/* Administrative */
#svg-icons-cache {
    display: none;
}
#addon-dimensions {
    /*display: none;*/
    position: fixed;
    z-index: 99999999;
    bottom: 0;
    left: 0;
    /*right: 0;*/
    padding: 5px;
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    background: rgba(0, 0, 0, .8) none repeat scroll 0 0;
}

/* Warnings */
.warning_cookie {
    display: none;
    position: fixed;
    z-index: 99999999;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 0;
    color: #d0d0d0;
    background-color: #222222;
}
.warning_cookie div {
    margin: 0 auto;
    max-width: 1240px;
}
.warning_cookie div div {
    display: table-cell;
    font-size: 14px;
    vertical-align: middle;
}
.warning_cookie_text {
    padding: 20px 5px 20px 15px;
}
.warning_cookie_button {
    display: inline-block;
    margin-right: 15px;
    padding: 10px;
    width: 18px;
    height: 18px;
    box-sizing: content-box;
    cursor: pointer;
}
.warning_cookie_button:hover {
    background-color: #444444;
}
.warning_cookie_button svg {
    fill: #444444;
}
.warning_cookie_button:hover svg {
    fill: #7f993f;
}

/* Globals */
.holder {
    margin: 0 auto !important;
    max-width: 1920px !important;
}
.highlight {
    margin: 0 -30px 20px -30px;
    padding: 20px 30px 1px 30px;
    background-color: #f9f9f9;
}
.highlight.inner {
    margin: 0 -10px 20px -10px;
}
@media (max-width: 767px) {
    .highlight.inner {
        padding: 20px 20px 1px 20px;
    }
}
.bubble {
    display: none;
}
.hidden {
    display: none !important;
}
.overflow {
    overflow: auto !important;
}
.no-overflow {
    overflow: visible !important;
}
.no-padding {
    padding: 0 !important;
}
.no-margin {
    margin: 0 !important;
}
.no-bg {
    background: none !important;
}
.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.clear {
    clear: both !important;
}
.uppercase {
    text-transform: uppercase !important;
}
.text-center {
    text-align: center !important;
}

.m-top-zero {
    margin-top: 0 !important;
}
.m-bottom-zero {
    margin-bottom: 0 !important;
}
.p-top-zero {
    padding-top: 0 !important;
}
.p-bottom-zero {
    padding-bottom: 0 !important;
}

.c-black, .c-black path {
    color: #111111 !important;
    fill: #111111 !important;
}
.c-white, .c-white path {
    color: #ffffff !important;
    fill: #ffffff !important;
}
.c-yellow, .c-yellow path {
    color: #fcc450 !important;
    fill: #fcc450 !important;
}
.c-red, .c-red path {
    color: #b83330 !important;
    fill: #b83330 !important;
}
.c-gray, .c-gray path {
    color: #808080 !important;
    fill: #808080 !important;
}

.markdown {
    line-height: 0;
    font-size: 0;
}
.markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5, .markdown h6, .markdown p, .markdown ul, .markdown ol, .markdown pre {
    margin-top: 16px;
    margin-bottom: 16px;
}
.markdown p, .markdown ul, .markdown ol, .markdown li, .markdown pre {
    margin-top: 16px;
    margin-bottom: 16px;
    line-height: 18px;
    font-size: 16px;
}
.markdown ul, .markdown ol {
    margin-left: 20px;
}
.markdown ul li {
    margin-left: 20px;
    list-style: initial;
}
.markdown ul li li {
    list-style: circle;
}
.markdown ol li {
    margin-left: 20px;
    list-style: decimal;
}
.markdown ol li li {
    list-style: square;
}
.markdown h1:first-child, .markdown h2:first-child, .markdown h3:first-child, .markdown h4:first-child, .markdown h5:first-child, .markdown h6:first-child, .markdown p:first-child, .markdown ul:first-child, .markdown ol:first-child, .markdown pre:first-child {
    margin-top: 0;
}
.markdown h1:last-child, .markdown h2:last-child, .markdown h3:last-child, .markdown h4:last-child, .markdown h5:last-child, .markdown h6:last-child, .markdown p:last-child, .markdown ul:last-child, .markdown ol:last-child, .markdown pre:last-child {
    margin-bottom: 2px;
}
.markdown h1 {
    line-height: 26px;
    font-size: 24px;
}
.markdown h2 {
    line-height: 25px;
    font-size: 23px;
}
.markdown h3 {
    line-height: 24px;
    font-size: 22px;
}
.markdown h4 {
    line-height: 23px;
    font-size: 21px;
}
.markdown h5 {
    line-height: 22px;
    font-size: 20px;
}
.markdown h6 {
    line-height: 21px;
    font-size: 19px;
}
.markdown em,
.markdown-chat em {
    font-style: oblique;
}
.markdown strong,
.markdown-chat strong {
    font-weight: bold;
}
.markdown code {
    padding: 3px 6px;
    font-family: monospace !important;
    font-size: 12px;
    color: #333333;
    background-color: rgba(0, 0, 0, .1);
}
.markdown pre,
.markdown-chat pre {
    padding: 3px 6px;
    background-color: rgba(0, 0, 0, .1);
}
.markdown pre code,
.markdown-chat pre code {
    padding: 0;
    background-color: transparent;
}
.markdown blockquote,
.markdown-chat blockquote {
    margin-top: 16px;
    margin-bottom: 16px;
    padding: 10px;
    border-left: 3px solid #777;
    color: #777;
    background-color: rgba(0, 0, 0, .05);
}
.markdown img {
    max-width: 100%;
}
@media (min-width: 992px) {
    .desktop-only {
        display: block !important;
    }
}
@media (max-width: 991px) {
    .mobile-only {
        display: block !important;
    }
    .desktop-only {
        display: none !important;
    }
}

/* Fixers */
/*
::selection { background-color: #b83330; color: #ffffff; }
::-moz-selection { background-color: #b83330; color: #ffffff; }
*/
::selection {
    color: #ffffff;
    background-color: var(--page-selection-color);
}
::-moz-selection {
    color: #ffffff;
    background-color: var(--page-selection-color);
}

.spinner div div {
    background: #b83330 !important;
}

/* Scroll Bar */
.scroller {
    scrollbar-width: thin;
    scrollbar-color: rgba(213, 182, 144, .6) rgba(213, 182, 144, .6);
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
.scroller::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
}
.scroller::-webkit-scrollbar-thumb {
    background-color: rgba(213, 182, 144, .6);
}
.scroller::-webkit-scrollbar-track {
    background-color: rgba(213, 182, 144, .6);
}
/* Image Selector */
.imgareaselect-border1 {
    background: url('/assets/images/border-v.gif') repeat-y left top;
}
.imgareaselect-border2 {
    background: url('/assets/images/border-h.gif') repeat-x left top;
}
.imgareaselect-border3 {
    background: url('/assets/images/border-v.gif') repeat-y right top;
}
.imgareaselect-border4 {
    background: url('/assets/images/border-h.gif') repeat-x left bottom;
}
.imgareaselect-border1, .imgareaselect-border2,
.imgareaselect-border3, .imgareaselect-border4 {
    filter: alpha(opacity=50);
    opacity: 0.5;
}
.imgareaselect-handle {
    background-color: #fff;
    border: solid 1px #000;
    filter: alpha(opacity=50);
    opacity: 0.5;
}
.imgareaselect-outer {
    background-color: #000;
    filter: alpha(opacity=50);
    opacity: 0.5;
}
.imgareaselect-selection {  
}
