.demo-wrap {
    margin: 0 1px;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

/* Override legacy style.css rules that force underlines in item/list meta rows */
.div_with_back table tr td small,
.div_without_back table tr td small,
.div_with_back table tr td small small,
.div_without_back table tr td small small,
.div_with_back table tr td small a,
.div_without_back table tr td small a {
    text-decoration: none !important;
}

/* Keep links clean in V2 without globally overriding all elements. */
.main a,
.main a:link,
.main a:visited,
.main a:hover,
.main a:active {
    text-decoration: none;
}

/* Legacy-like rendering for link-buttons in both patterns:
   1) <a class="input_submit">...</a>
   2) <a><div class="input_submit">...</div></a> */
.main a.input_submit,
.main a.buy_submit,
.main a .input_submit,
.main a .buy_submit {
    display: block;
    text-align: center;
    color: #2C1F12 !important;
    line-height: 1.2;
}

/* Normalize real form controls that use legacy .input_submit skin. */
.main button.input_submit,
.main input.input_submit {
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    color: #2C1F12;
    line-height: 1.2;
}

.main button.input_submit::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.demo-panel {
    background-color: #19120d;
    border-style: solid;
    border-width: 12px 0 12px;
    border-image: url(/images/new_dis/quest.png) 13 0 13 repeat round;
}

.input_submit_big {
    border: 2px solid #000;
    border-radius: 8px;
    margin: 2px;
    padding: 4px 2px;
    text-align: center;
    background: #161616;
    min-height: 56px;
}

.save_submit {
    margin: 2px;
    border: 1px solid #336600;
    border-radius: 2px;
    background: #4b7b17;
    color: #ccff66;
    text-align: center;
    padding: 6px 8px;
    font-size: 14px;
    line-height: 1.2;
}

.head-money img {
    width: 8px;
    margin-top: -2px;
    margin-right: 1px;
}

.demo-mini {
    color: #8a8a8a;
    font-size: 12px;
}

.demo-footer {
    text-align: center;
    color: gray;
    margin: 2px 0 8px;
    line-height: 1.35;
}

.demo-footer a {
    color: gray;
    text-decoration: none;
}

.profile-more-wrap {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.25s ease;
}

.profile-more-wrap > .div_with_back,
.profile-more-wrap > .div_without_back {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.profile-more-wrap.is-open {
    max-height: 1200px;
    opacity: 1;
}

.profile-more-wrap.is-open > .div_with_back,
.profile-more-wrap.is-open > .div_without_back {
    opacity: 1;
    transform: translateY(0);
}

.profile-more-wrap.is-open > :nth-child(1) { transition-delay: 0.02s; }
.profile-more-wrap.is-open > :nth-child(2) { transition-delay: 0.04s; }
.profile-more-wrap.is-open > :nth-child(3) { transition-delay: 0.06s; }
.profile-more-wrap.is-open > :nth-child(4) { transition-delay: 0.08s; }
.profile-more-wrap.is-open > :nth-child(5) { transition-delay: 0.10s; }
.profile-more-wrap.is-open > :nth-child(6) { transition-delay: 0.12s; }
.profile-more-wrap.is-open > :nth-child(7) { transition-delay: 0.14s; }
.profile-more-wrap.is-open > :nth-child(8) { transition-delay: 0.16s; }
.profile-more-wrap.is-open > :nth-child(9) { transition-delay: 0.18s; }
.profile-more-wrap.is-open > :nth-child(10) { transition-delay: 0.20s; }
.profile-more-wrap.is-open > :nth-child(11) { transition-delay: 0.22s; }
.profile-more-wrap.is-open > :nth-child(12) { transition-delay: 0.24s; }
