body {
    color: #222;
    font-family: 'Segoe UI', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
    font-size: .9em;
}
body a {
    text-decoration: none;
}
@media only screen and (min-width: 960px) and (max-width: 1370px) { 
    #page {
        width: 960px;
        padding: 10px 10px;
        margin: 0 auto;
        min-height: 600px;
    }
    #prefooter {
        width: 960px;
        padding: 0 10px;
        margin: 0 auto;
    }
    #footer {
        width: 960px;
        padding: 0 10px 10px 10px;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 1371px) {
    #page {
        width: 80%;
        padding: 10px 10px;
        margin: 0 auto;
        min-height: 800px;
    }
    #prefooter {
        width: 80%;
        padding: 0 10px;
        margin: 0 auto;
    }
    #footer {
        width: 80%;
        padding: 0 10px 10px 10px;
        margin: 0 auto;
    }
    body {
        font-size: 1em;
        /*font-size: 15px;*/
    }
}


th, td {
    border-bottom: 1px solid #eeeeee;
    padding: 0.25em 0.5em;
}
h1 {
    letter-spacing: 0.00em;
    font-size: 22pt;
    font-family: "wf_SegoeUILight", "wf_SegoeUI", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe", "Segoe WP", 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
}
h2 {
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.01em;
    font-weight: 200;
    font-size: 20pt;
    font-size: 16pt;
    font-family: "wf_SegoeUILight", "wf_SegoeUI", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe", "Segoe WP", 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
    line-height: 24pt;
    line-height: 24px;
}
h3 {
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.01em;
    font-weight: 200;
    font-size: 20pt;
    font-size: 16pt;
    font-family: "wf_SegoeUILight", "wf_SegoeUI", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe", "Segoe WP", 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
    line-height: 24pt;
    line-height: 24px;
}
h4 {
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.01em;
    font-weight: 200;
    font-size: 20pt;
    font-size: 16pt;
    font-family: "wf_SegoeUILight", "wf_SegoeUI", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe", "Segoe WP", 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
    line-height: 24pt;
    line-height: 24px;
}
strong {
    color: rgb(78, 78, 78);
    font-family: "wf_SegoeUI", "Segoe WP Light", "Segoe UI", "Segoe", "Segoe WP", 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
}
ins {
    background-color: transparent;
}

.vk_contact_us_wrapper {
    width: 135px;
    margin: 20px auto;
}

#breadcrumbs {
    /*margin-top: 4px;*/
    padding-left: 1em;
    height: 1.2em;
    line-height: 1.3em;
    color: #999;
    vertical-align: bottom;
    /*font-size: .8em;*/
}
#breadcrumbs a {
    color: #f09609;
}
.home-h1 {
    text-shadow: 2px 2px 1px rgba(100, 50, 50, .8);
}
.padding-05 {
    padding: .5em;
}
.eighter {
    width: 12.5%;
    float: left;
}
.types-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
#img-logo {
    float: left;
    width: 37px;
}

.user-list-item {
    display: inline-block;
    margin-right: 3px;
    margin-bottom: 3px;
    border: solid 2px #fff;
}

.dating-text {
    border: solid thin #ddd;
    margin-bottom: 10px;
    padding: 4px;
}

.vip2-user-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
    margin-bottom: 10px;
}

.vip2-user-list-item {
    background-size: cover;
    position: relative;
    height: 5vw;
}


.vip-user-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
}

.vip-user-list-item {
    background-size: cover;
    position: relative;
    height: 9vw;
}

.join-to-vip {
    background-color: #fff3ed;
    padding: 10px;
    justify-content: center;
    align-content: center;
    display: flex;
    align-items: center;
    justify-items: center;
    color: #ff00b3;
    border: solid thin #eee;
    text-align: center;
}

.join-to-vip:hover {
    text-decoration: underline;
}

.vip-user-list-stype {
    background-color: rgba(179, 29, 126, 0.7);
    color: #fff;
    position: absolute;
    width: 100%;
    bottom: 0;
    font-size: .7em;
    padding:2px 4px;
}

.vip-user-list-city {
    background-color: rgba(31, 156, 0, 0.8);
    color: #fff;
    position: absolute;
    text-align: right;
    top: 0;
    right: 0;
    font-size: .7em;
    padding:2px 4px;
}

.vip2-user-list-stype {
    background-color: rgba(179, 29, 126, 0.7);
    color: #fff;
    position: absolute;
    width: 100%;
    bottom: 0;
    font-size: .7em;
    padding:2px 4px;
}

.vip2-user-list-city {
    background-color: rgba(31, 156, 0, 0.8);
    color: #fff;
    position: absolute;
    text-align: right;
    top: 0;
    right: 0;
    font-size: .7em;
    padding:2px 4px;
}

@media only screen and (max-width: 767px) {
    .user-list {
        text-align: center;
    }

    .vip-user-list {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .vip-user-list-item {
        height: 32vw;
    }

    .vip2-user-list {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }

    .vip2-user-list-item {
        height: 16vw;
    }

    .vip2-user-list-stype {
        font-size: .6em;
    }
}

.thumb-img {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.attention-alert {
    background-color: rgba(248,242,40,.65);
}

#text-logo {
    float: left;
    width: auto;
}

.typer-item {
    display: grid;
    grid-template-columns: 1fr 6fr;
    grid-gap: 1em;
}

.types-list .l-item {
    margin: .3em 0;
    padding: .5em;
    min-height: 3em;
    background-color: #393;
    /* rgb(38, 150, 76); /*  #00cc45; */
    color: white;
}
.types-list .l-item-d {
    margin: .3em 0;
    padding: .5em;
    min-height: 3em;
    background-color: #999;
    /* rgb(38, 150, 76); /*  #00cc45; */
    color: white;
}
.types-list .b-item {
    margin: .3em 0;
    padding: .5em;
    min-height: 3em;
    background-color: #1ba1e2;
}
.types-list .l-item:hover {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .7);
}
.types-list a {
    color: white;
    text-decoration: none;
}
.types-list header h4 {
    margin-bottom: .1em;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.01em;
    font-weight: 200;
    font-size: 16pt;
    font-family: "wf_SegoeUILight", "wf_SegoeUI", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe", "Segoe WP", 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
    line-height: 24px;
}
article header h1 {
    padding-right: 1em;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.01em;
    font-weight: 400;
    font-size: 20pt;
    font-family: "wf_SegoeUILight", "wf_SegoeUI", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe", "Segoe WP", 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
    line-height: 24px;
}
.overlay {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(178, 209, 237, .35);
    background: url(data:;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAABl0RVh0U29mdHdhcmUAUGFpbnQuTkVUIHYzLjUuNUmK/OAAAAATSURBVBhXY2RgYNgHxGAAYuwDAA78AjwwRoQYAAAAAElFTkSuQmCC) repeat scroll transparent\9;
    /* ie fallback png background image */
    z-index: 9999;
    color: white;
}
.rel-descr header h1 {
    font-weight: 400;
}
.type-sign {
    color: #ddd;
    font-size: .8em;
}
.type-sign2 {
    color: #ddd;
    text-align: right;
    font-size: .65em;
}
.f-type-sign {
    color: #aaa;
    font-size: smaller;
}
.type-sign .push-right {
    color: #bbb;
    font-size: .8em;
}
.type-rel {
    color: #ddd;
    font-size: smaller;
}
.l-mar {
    margin-left: .2em;
}
#need-cookie a {
    color: red;
    text-decoration: underline;
    font-style: italic;
}
.home-act-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.home-act-list li {
    margin: .3em;
    padding: .5em;
    min-height: 3em;
    background-color: rgba(100, 0, 0, .9);
}
.home-act-list a {
    color: white;
    text-decoration: none;
}
#home-list {
    list-style: disc;
}
.text-right {
    text-align: right;
}

#chat-users {
    background-color: #5d7; 
    /* color: #5d7; */
    font-size: .8em;
}

.subclass-stypes {
    font-size: .8em;
    font-style: italic;
}

/* new-home */

.home-bg {
    background: -webkit-linear-gradient(#3498db, #E0F8D8);
    background: -o-linear-gradient(#3498db, #E0F8D8);
    background: -moz-linear-gradient(#3498db, #E0F8D8);
    background: linear-gradient(#3498db, #E0F8D8);
    /*background-color: #F3F4F6;*/
    background-image: url(/static/images/test/allfons.ru_16009_2.jpg);
    background-size: 100%;
}
.home-bg-a {
    background: -webkit-linear-gradient(#3498db, #E0F8D8);
    background: -o-linear-gradient(#3498db, #E0F8D8);
    background: -moz-linear-gradient(#3498db, #E0F8D8);
    background: linear-gradient(#3498db, #E0F8D8);
    background-size: 100%;
}
.home-bg-a1 {
    background: -webkit-linear-gradient(#3498db, #E0F8D8);
    background: -o-linear-gradient(#3498db, #E0F8D8);
    background: -moz-linear-gradient(#3498db, #E0F8D8);
    background: linear-gradient(#3498db, #E0F8D8);
    /*background-color: #F3F4F6;*/
    background-image: url(/static/images/test/allfons.ru_16009_2.jpg);
    background-size: 100%;
}
.home-layer {
    background-color: rgba(0, 0, 0, 0);
    padding: 1em;
}
.home-jh {
    height: 560px;
}
.home-feed-photo {
    height: 50px;
    width: 50px;
}
.home-block {
    padding: .5em 1em 0 1em;
    background-color: rgba(255, 255, 255, .3);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}
.home-event {
    line-height: 1em;
    overflow: hidden;
    height: 1em;
    padding-bottom: .2em;
}
.home-event-img {
    width: 95%;
}
.home-block > header {
    margin-top: .3em;
}
.home-block > div {
    /*border-left: solid thin #eee;*/
}
.home-feed-sdesc {
    margin-top: .3em;
    color: #888;
    font-size: .9em;
    line-height: 1.4em;
}
.home-sdesc {
    color: #888;
    font-size: .9em;
}
.home-stype-desc {
    line-height: 1.3em;
}
.home-counter {
    color: #555;
    font-size: .6em;
}
.home-sdesc-small {
    color: #555;
    font-size: .8em;
    line-height: 1em;
    overflow: hidden;
}
.home-mstr {
    margin-bottom: .4em;
    padding: .4em;
}
.home-mstr-t {
    line-height: 1em;
}
.home-stype {
    height: 10em;
    padding: .5em;
}
.home-stype img {
    width: 100%;
}

.home-btn {
    background-color: rgba(255, 255, 255, .3);
    /*border: solid thin rgba(255,255,255,.5);*/
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    min-height: 2em;
    margin-right: 1em;
    margin-bottom: .5em;
    padding: .3em;
    color: #336699;
}
.home-btn:hover {
    cursor: pointer;
    color: #19334d;
}

.mini-ob {
    background-color: #AFF99F;
    margin-bottom: 10px;
    /*padding-left: 5px;*/
    padding-bottom: 3px;
    text-align: center;
}

.lg-home-btn {
    background-color: rgba(34,255,34, .7);
    color: #fff;
    font-weight: bold;
}

.p-hover {
    cursor: pointer;
}

.home-b-btn {
    background-color: rgba(255,255,255,.3);
    box-shadow: 0 1px 1px rgba(0, 200, 0, .5);
    min-height: 2.5em;
    margin-right: 1em;
    margin-bottom: .5em;
    padding: .3em;
    color: #336699;
    /*text-align: center;*/
    font-size: 1.2em;
}
.home-b-btn:hover {
    cursor: pointer;
    color: #19334d;
}


.home-alert-btn {
    background-color: rgba(6, 218, 13, 0.65);
    /*border: solid thin rgba(255,255,255,.5);*/
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    min-height: 2em;
    margin-right: 1em;
    margin-bottom: .5em;
    padding: .7em;
    padding-top: 1em;
}
.home-a-counter {
    position: relative;
    top: 39px;
    font-size: .8em;
    line-height: 1em;
    color: #3c3;
    text-align: right;
    background-color: rgba(0, 0, 0, .4);
}
.home-test-alert {
    color: #fff;
    font-size: 2em;
    margin-bottom: 10px;
}

.f-selector {
  color: #336699;
  cursor: pointer;
}

.f-selector:hover {
  color: #19334d;
}

.vk-link {
    
}

#vk-link-img {
    text-align: right;
    width: 200px;
    
}

ul+.poll {
    margin: 0;
}

.poll {
    margin: 0;
    padding: 0;
    background-color: #ff5;
    font-size: .8em;
}

.poll li {
    display: inline-block;   
}

.poll a:hover {
    text-decoration: underline;
}

.pb-ins {
    margin-bottom: .5em;
}

#gid-input {
    text-align: right;
}

#gid-input-0 {
    text-align: center;
}

#gid-input-0 input {
    width: 50%;
}

.gstat-logo {
    margin-right: 3px;
}

#unauth-warn {
    width: 100%;
    background-color: #fec;
    text-align: center;
    margin-bottom: 7px;
}

.fg-skip-cont {
    padding-top: 1em;
    text-align: center;
}

.fg-btn {
    width: 88%;
    margin-right: 5px;
    margin-bottom: 5px;
    height: 30px;
    padding: .3em;
    background-color: #1ba1e2;
    color: white;
}

.fg-btn:hover {
    /*background-color: #ddd;   */
    cursor: pointer;    
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .7);
}

.trunc {
    overflow: hidden;
    height: 1.1em;
}
.trunc-2 {
    overflow: hidden;
    height: 2.6em;
}

#live-subpromo {
    margin-top: 5px;
    margin-bottom: 10px;
    background-color: #9FFDA0;
    padding: .5em;
    text-align: center;
    min-height: 2.5em;
}

#live-subpromo input {
    width: 50%;
}

.live-sub-form {
    margin-top: .3em;
    margin-bottom: 1em;
}


#live-promo {
    margin-top: 5px;
    margin-bottom: 10px;
    background-color: #9FFDA0;
}

#live-promo a {
    color: rgb(22, 130, 161);
    font-weight: 500;
}

#live-promo a:hover {
    text-decoration: underline;
}



.main-tile {
    padding: 1em;
    /* background-color: #f09609; /* rgb(180, 90, 0); /* rgb(180, 57, 0); /* rgb(15, 112, 112) */
    height: 11em;
    background-color: rgba(0, 0, 0, .3);
    color: white;
}
.main-tile:hover {
    /* box-shadow: 4px 4px 4px rgba(0,0,0,.7) */
    background-color: rgba(0, 0, 0, .4);
}
.main-tile .m-text {
    height: 10em;
}
.f-text {
    float: left;
    margin-right: .3em;
    margin-bottom: .2em;
    color: #ccc;
    font-size: 3em;
    /* font-weight: bold; */
    font-family: "wf_SegoeUILight", "wf_SegoeUI", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe", "Segoe WP", 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
}
.f-text-r {
    color: #ccc;
    text-align: right;
    font-weight: bold;
    font-size: 3em;
}
.main-tile .d-text {
    color: #ccc;
    font-size: .9em;
}
.a-tile {
    color: white;
    text-decoration: none;
}
.authors-list {
    margin: .3em;
    list-style: none;
}
.authors-list li {
    padding: .5em;
    min-height: 3em;
    background-color: #00cc45;
}
.authors-list a {
    color: white;
    text-decoration: none;
}
.f-l-img {
    height: 49.6px;
}
#main .active-item {
    background-color: #f09609;
    /* rgb(180, 90, 0); /* rgb(180, 57, 0); /* #a02020; */
}
#main .active-item2 {
    background-color: #1ba1e2;
    /* #0088aa;  */
}
#main .middle-item {
    background-color: #dc2;
}
#main .low-item {
    background-color: #aaa;
}
.sub-panel {
    margin-bottom: .3em;
    text-align: right;
}
.sub-panel span:hover {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .7);
}
.sub-panel span {
    margin: .3em;
    padding: .3em 1em;
    background-color: #999;
}
.a-head-nav {
    margin-top: .3em;
    padding: .3em;
    color: #fff;
}
.ttl h4 {
    margin-bottom: .1em;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.01em;
    font-weight: 200;
    font-size: 16pt;
    font-family: "wf_SegoeUILight", "wf_SegoeUI", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe", "Segoe WP", 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
    line-height: 24px;
}
.ttl h4 a {
    color: #557;
    font-family: 'Segoe UI', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
}
.h-firstname {
    text-align: right;
    font-size: 1.1em;
    line-height: 1.2em;
}
.h-lastname {
    text-align: right;
    font-size: .8em;
    line-height: 1.2em;
}
.ajax-links a {
    text-decoration: none;
}
.f-right {
    float: right;
}
.illustr img {
    margin-bottom: 1em;
    width: 150px;
    height: 200px;
    border: thin solid #ccc;
}
.illustr img:hover {
    border: thin solid #1ba1e2;
}
.test-alert {
    color: #4FF169;
    font-size: 1.5em;
}
#stype-image {
    border: thin solid #fff;
}
#stype-image:hover {
    border: thin solid #1ba1e2;
}
.stype-image {
    border: thin solid #fff;
}
.stype-image:hover {
    border: thin solid #1ba1e2;
}
.stype-rel-port-image {
    padding-top: .85em;
    padding-right: 3px;
    vertical-align: text-bottom;
}
#test-desc-2 {
    padding: .4em;
    height: 135px;
    background-color: #63615F;
    color: #fff;
}
.tq-2 {
    margin: .1em;
    margin-bottom: .5em;
    padding: .5em;
    min-height: 4em;
    background-color: #1ba1e2;
    color: white;
    font-size: 1.4em;
}
.test-ad-text {
    position: relative;
    top: -45px;
    padding: 0 .2em;
    height: 45px;
    background-color: rgba(0, 0, 0, .6);
    color: #fff;
}
.lg-tile {
    margin: .1em;
    padding: .4em;
    min-height: 3em;
    background-color: #8CBF26;
    color: white;
}
.lg-tile-o {
    margin: .1em;
    padding: .4em;
    min-height: 3em;
    border: thin solid rgba(255, 255, 255, .3);
    background-color: rgba(140, 191, 38, .4);
    color: white;
}
.b-tile {
    margin: .1em;
    padding: .4em;
    min-height: 3em;
    background-color: #1ba1e2;
    color: white;
}
.b-tile-o {
    margin: .1em;
    padding: .4em;
    min-height: 3em;
    border: thin solid rgba(255, 255, 255, .3);
    background-color: rgba(83, 27, 226, 0.4);
    color: white;
}
.o-tile {
    margin: .1em;
    padding: .4em;
    min-height: 3em;
    background-color: #f09609;
    color: white;
}
.o-tile-o {
    margin: .1em;
    padding: .4em;
    min-height: 3em;
    border: thin solid rgba(255, 255, 255, .3);
    background-color: rgba(192, 184, 0, 0.48);
    color: white;
}
.g-tile {
    margin: .1em;
    padding: .4em;
    min-height: 3em;
    background-color: #393;
    color: white;
}
.g-tile-o {
    margin: .1em;
    padding: .4em;
    min-height: 3em;
    border: thin solid rgba(255, 255, 255, .3);
    background-color: rgba(51, 153, 51, .6);
    color: white;
}
.gr-tile {
    margin: .1em;
    padding: .4em;
    min-height: 3em;
    background-color: #aaa;
    color: white;
}
.crop {
    overflow: hidden;
    height: 1.5em;
    text-overflow: ellipsis;
    word-wrap: normal;
}
.big-text {
    padding-top: 5px;
    font-size: 3em;
}
.gb-tile {
    margin: .1em;
    padding: .4em;
    min-height: 3em;
    /* background-color: rgb(143, 179, 184);*/
    border: thin solid #ddd;
    /* color: white;*/
}
.gb-tile-o {
    margin: .1em;
    padding: .4em;
    min-height: 3em;
    border: thin solid rgba(255, 255, 255, .3);
    background-color: rgba(0, 0, 0, .3);
    /* color: white;*/
}
#a-msg {
    padding-bottom: .5em;
    padding-left: .6em;
    height: 21px;
    text-decoration: underline;
    font-size: 1.1em;
}
.a-head-nav a {
    color: #fff;
    text-decoration: none;
}
.b-links a {
    color: #336699;
}
.s-hover {
    cursor: pointer;
}
.s-hover:hover {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .7);
}
.s-hover:active {
    box-shadow: 0px 0px 2px rgba(0, 0, 0, .7);
}


.ah-ir {
    color: #eee;
    font-size: .8em;
}

.eight {
    width: 12.5%;
    float: left;
}

.no-bottom {
    margin-bottom: .3em;
}
.bottom-01 {
    margin-bottom: .2em;
}
.null-bottom {
    margin-bottom: 0;
}
.t-trunc {
    overflow: hidden;
}
#rel-cnt-block {
    margin-top: 10px;
    margin-bottom: 10px;
}
.rel-cnt {
    margin: 1px 1px 0 0;
    padding: 4px;
    background-color: #8cc;
}
.rel-cnt:hover {
    background-color: #499;
}
.rel-cnt a {
    color: #fff;
}
.rf-hdr {
    padding: 3px;
    min-height: 3em;
    background-color: #499;
    color: #fff;
}
.tb-margin {
    margin-top: .3em;
    margin-bottom: .3em;
}
.margin-small {
    margin: .5em;
}
.ctrd {
    text-align: center;
}
.head-btn:hover {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .7);
}
.prop-label {
    color: rgba(0, 0, 0, .6);
}
.a-header a {
    /*color: white;*/
    text-decoration: none;
}

.h-2-test-btn {
    min-height: 100px;
    background-image: url('/static/images/start-test.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 3em;
    font-weight: bold;
    padding: 1em;    
}

a .h-2-test-btn {
    color: #5c5;
}

a:hover .h-2-test-btn {
    color: #5d5;
}


.h-2-app-btn {
    min-height: 100px;
    background-image: url('/static/images/vk3-1.jpg');
    background-size: cover;
    font-size: 3em;
    line-height: 1em;
    padding: 1em;    
}

.h-2-stype {
    height: 120px;
    background-size: cover;
    vertical-align: bottom;
}

.h-2-st {
    background-color: rgba(0,0,0,.5);
    /*text-align: center;*/
    color: #fff;
    position: relative;
    top: 97px;
    padding: 1px 3px;
    background-image: url("/static/images/list-open.gif");
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: 85px;
    cursor: pointer;
}

.h-2-st:hover {
    background-color: rgba(0,100,50,.5);
}

.alg-tile {
  margin: .1em;
  padding: .4em;
  min-height: 3em;
  background-color: #8bc34a;
  color: white;
  overflow-x: hidden;
  overflow-y: hidden;
}

.mt-no {
  background-color: #e1f5fe;
}

.mt-s {
  float: left;
  width: 100%;
  cursor: pointer;
}

.mt-s-info {
  float: left;
  width: 0;
  cursor: pointer;
  display: none;
}

.mt-s div {
  padding: .2em;
}

.mt-s:hover {
  background-color: #4FC3F7;
  box-shadow: 1px 1px 1px rgba(0,0,0,.7);
}

.mt-s-info div {
  padding: .2em;
}


.mt-s-info div:hover {
  box-shadow: 1px 1px 1px rgba(0,0,0,.7);
}

.ab-tile .mt-s:hover {
  background-color: #4FC3F7;
}

.ab-tile .mt-s-info:hover {
  background-color: #4FC3F7;
}


.ao-tile .mt-s:hover {
  background-color: #FFB300;
}

.ao-tile .mt-s-info:hover {
  background-color: #FFB300;
}


.ab-st-tile {
  margin-top: .2em;
  padding: .2em;
  /*min-height: 3em;*/
  line-height: 1.4em;
  background-color: #29b6f6;
  color: white;
  overflow-x: hidden;
  overflow-y: hidden; 
}

.ab-s-tile {
  margin: .2em;
  line-height: 1.4em;
  background-color: #29b6f6;
  color: white;
  overflow-x: hidden;
  overflow-y: hidden; 
}


.ab-tile {
  margin: .2em 0;
  padding: .2em;
  /*min-height: 3em;*/
  line-height: 1.4em;
  background-color: #29b6f6;
  color: white;
  overflow-x: hidden;
  overflow-y: hidden; 
}

.ao-tile {
  /*margin: .1em;*/
  padding: .3em;
  /*min-height: 3em;*/
  line-height: 1.4em;
  background-color: #ffa000;
  color: white;
  overflow-x: hidden;
  overflow-y: hidden; 
}

.ar-s-tile {
  margin: .2em;
  padding: .3em;
  min-height: 4.3em;
  line-height: 1.4em;
  background-color: #81D4FA;
  color: white;
  overflow-x: hidden;
  overflow-y: hidden; 
}

.mt-mark1 {
    border-left: thick solid #F44336;
}

.mt-mark2 {
    border-right: thick solid #F44336;
}



.mt-t {
    cursor: pointer;
    text-align: center;
    line-height: 1.2em;
    font-weight: bold;
    color: #444;
}

.mt-t:hover {
    color: #29b6f6;
}

.mt-t1 {
    border-bottom: solid 2px red;
}

#mtype-content #page {
    width: auto;
}


[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}

.fl-left {
    float: left;
}

.fl-right {
    float: right;
}

.reinin-group {
    /*height: 20em;*/
}

.rn-stype {
    font-weight: bold;
}

.rn-err {
    font-size: .8em;
    color: #f00;
}

#menu {
    /*background-color: #999;*/
    background-color: #EFEFEF;
    height: 2.2em;
    line-height: 2em;
    padding: 0;
}
#menu div {
    margin: 0 0 0 0;
    padding: .1em 1em;
    /*background-color: #999;*/
    /*  #ccc  */
    color: #4F4F4F;
}
#menu #my-res {
    background-color: #8CBF26;
}
#adv {
    text-align: center;
    font-size: 1.1em;
}
#adv a {
    color: #fff;
    text-decoration: underline;
}
a #my-res {
    color: #8CBF26;
    ;
}
#menu div:hover {
    /*box-shadow: 2px 2px 2px rgba(0, 0, 0, .5);*/
    /*text-decoration: underline;*/
    background-color: #AFF99F;
    color: #444;
}
#menu a {
    text-decoration: none;
}
#steps {
    margin-bottom: 1.5em;
    text-align: left;
}
#steps span {
    margin: 0 0 0 0;
    padding: .2em 1em;
    background-color: #ccc;
    color: #fff;
}
.form-field {
    margin-bottom: .5em;
}
#q-dialog {
    min-height: 18em;
}
.vk-test-header {
    padding-top: 1em;
    color: #fff;
}
.cq {
    margin: .5em;
    padding: 1em;
    min-height: 3em;
    background-color: #8CBF26;
    color: #fff;
}
.tq {
    margin: 1em 2em;
    padding: 1em;
    min-height: 3em;
    background-color: rgba(16, 1, 54, .4);
    color: #fff;
    font-size: 1.4em;
}
#test2-desc {
    padding: 1em 4em;
    background-color: rgba(0, 0, 0, .4);
    color: #fff;
}
.no-select {
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
}
.tq:hover {
    background-color: rgba(65, 0, 95, .7);
}
.top-hr {
    margin-top: .1em;
}
.bottom-hr {
    margin: .3em;
}
.footer-text {
    color: #555;
    font-size: .8em;
}
.footer-text a {
    text-decoration: none;
}
#home-landing {
    /* background: #980E2F;*/
    background: #980e2f;
    /* Old browsers */
    background: -moz-linear-gradient(-45deg, #980e2f 12%, #f49404 48%, #980e2f 82%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right bottom, color-stop(12%, #980e2f), color-stop(48%, #f49404), color-stop(82%, #980e2f));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(-45deg, #980e2f 12%, #f49404 48%, #980e2f 82%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(-45deg, #980e2f 12%, #f49404 48%, #980e2f 82%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(-45deg, #980e2f 12%, #f49404 48%, #980e2f 82%);
    /* IE10+ */
    background: linear-gradient(135deg, #980e2f 12%, #f49404 48%, #980e2f 82%);
    /* W3C */
    color: white;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#980e2f', endColorstr='#980e2f', GradientType=1);
    /* IE6-9 fallback on horizontal gradient */
}
#hl-tex {
    min-height: 500px;
    background-image: url(/static/images/bg-tex.jpg);
}
.home-desc {
    padding: 1em;
    background-color: rgba(0, 0, 0, .15);
    color: #eee;
    font-size: .9em;
}
#site-title {
    margin: 0;
    padding: 0;
    font-size: 3em;
    line-height: 1em;
}
#site-header {
    /*margin-bottom: .5em;*/
}
#site-header a {
    color: #557;
    text-decoration: none;
}
#logo {
    margin-top: 5px;
    margin-right: .1em;
    padding: 0;
    width: 37px;
    height: 37px;
    vertical-align: top;
}
#st-text {
    /*font-family: 'Segoe UI Light', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;*/
    font-family: "wf_SegoeUILight", "wf_SegoeUI", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe", "Segoe WP", 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
    line-height: 1em;
}
.a-header {
    margin-bottom: 1em;
    padding: .3em;
    /* background-color: #eee;  */
    border-left: solid thin #ccc;
}
.a-header h1 {
    color: #555;
    font-size: 1.7em;
}
.null-bottom {
    margin-bottom: 0;
}
.home-block1 {
    margin-bottom: 1em;
}

#us-photo {
    width: 40%
}

#us-id {
    width: 60%   
}

#us-menu {
    position: fixed;
    border: thin solid #333;
    background-color: white;
}
#us-menu div {
    padding: 0 .3em;
}
#us-menu div:hover {
    background-color: #1ba1e2;
    color: white;
}
#us-menu a {
    color: #333;
    text-decoration: none;
}
#toc-list li {
    margin-bottom: .2em;
}
.two-line-list li {
    min-height: 3em;
}
#toc-list li a {
    text-decoration: none;
}
.test-qbox {
    margin-bottom: 1em;
    padding: 1em;
    border-bottom: solid thin #ccc;
}
#search-params select {
    width: 100%;
}
.test-abox {
    margin-bottom: .3em;
    padding: .3em;
    cursor: pointer;
}
.test-abox label {
    cursor: pointer;
}
.test-abox:hover {
    /*background-color: #1ba1e2;
  color: white;*/
    color: #1A7068;
}
.hidden {
    visibility: hidden;
    height: 0;
    display: none;
}
.go-btn {
    padding: .5em;
    min-height: 3em;
    background-color: #00cc45;
    margin: .3em;
    color: white;
}
.go-btn a {
    color: white;
    text-decoration: none;
}
.type-percent {
    float: right;
    color: #ddd;
    font-size: .8em;
}
.quest-tile {
    margin: .1em;
    height: 10em;
    background-color: #eee;
}
.qt-main {
    height: 8em;
}
.qt-text {
    padding: 0.5em .5em;
    background-color: #ccc;
    line-height: 1em;
}
.sc-desc {
    /*text-align: justify;*/
}

table.tablesorter thead tr .header {
	background-image: url(/static/images/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}

table.tablesorter thead tr .headerSortUp {
	background-image: url(/static/images/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(/static/images/desc.gif);
}

.vk-chat-info {
    border: thin solid lightgray;
    padding: 5px;
    margin-bottom: 10px;
}

.vk-chat-ava-photo {
    margin-right: 5px;
}

.centered {
    text-align: center;
}
#test-descr {
    padding-top: .4em;
}
#test-content {
    padding-top: .4em;
    color: #eee;
}
#ya-site-form0 table {
    margin: 0;
}
#ya-site-form0 td {
    margin: 0;
    border: 0;
}
.del-sub {
    text-align: right;
}
.del-sub:hover {
    text-decoration: underline;
    cursor: pointer;
}
.app-banner {
    margin: .1em;
    padding: .4em;
    min-height: 3em;
    background-color: #1ba1e2;
    color: white;
}
#f-top-bar {
    background-color: #eeb;
    /*background-color: rgba(255,255,255,.2);*/
    margin-bottom: 1em;
    height: 60px;
    text-align: center;
}

#f-top-bar .num {
    margin-top: 5px;
    font-size: 3em;
}
#f-progress {
    text-align: left;
    padding: 4px;
    margin-top: 3px;
    background-color: #FBFF91;
    /*background-color: rgba(57, 102, 83, 0.1);*/
    height: 46px;
    margin-left: 3px;
}

#f-progress span {
    width: 25px;
    background-color: rgb(0, 255, 113);
    /*background-color: rgb(1, 187, 90);*/
    margin-right: 2px;
    list-style: none;
    display: inline-block;
    height: 100%;
}

.fg-bg {
    min-height: 600px;
}

.fg-me-row {
    vertical-align: top;
    border: solid thin #ddd;
    margin-bottom: 7px;
    padding: 5px;
}

.fg-show-btn {
    font-weight: bold;
    color: #99f;
    text-align: right;
    cursor: pointer;
}

.illustr .app-logo {
    margin-bottom: 0;
    margin-left: 50px;
    width: 100px;
    height: 100px;
}
#event-list .event-row {
    padding: .5em;
    border-right: solid thin lightgray;
    border-bottom: solid thin lightgray;
    border-left: solid thin lightgray;
}

.event-title {
    font-weight: bolder;
}
.el-row {
    padding: .5em;
    border: solid thin lightgray;
    background-color: #fafafa;
}
.ill-img {
    width: 150px;
    height: 200px;
}
#menu #search-icon {
    padding: .1em .3em .1em .3em;
}
.m-sign {
    color: #fff;
}
.m-sign div {} .m-s-item {
    margin: .1em;
    padding: .3em;
    height: 3em;
    background-color: #393;
    cursor: pointer;
}
.m-s-item:hover {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .6);
}
.m-s-item-active {
    margin: .1em;
    padding: .3em;
    height: 3em;
    background-color: #f09609;
    cursor: pointer;
}
.m-s-item-active:hover {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .6);
}
#mini-photo-list {
    height: 80px;
}
#adv2 img {
    height: 150px;
}
.t-src-4, .t-src-5, .t-src-6, .t-src-7, .t-src-9 {
    font-weight: bold;
    color: #080;
}
.t-src-2, .t-src-3, .t-src-8 {
    font-weight: bold;
}
.rank {
    width: 12px;
    height: 18px;
    position: relative;
    top: -50px;
    left: 35px;
    padding-bottom: 3px;
    padding-left: 3px;
    color: gold;
    background-color: rgba(0, 0, 0, .3);
}
.rank-1 {
    width: 20px;
    height: 24px;
    left: 20px;
    background: url('/static/images/rank.gif') -20px 0;
}
.rank-2 {
    width: 22px;
    height: 24px;
    left: 44px;
    background: url('/static/images/rank.gif') -44px 0;
}
.rank-3 {
    width: 20px;
    height: 24px;
    left: 66px;
    background: url('/static/images/rank.gif') -66px 0;
}
.mini-page {} .m-page {
    margin: 3px;
    padding: .4em;
    cursor: pointer;
}
.mini-page a {
    color: #222;
    text-decoration: none;
}
.m-page:hover {
    background-color: #1ba1e2;
    color: white;
}
.m-page h3 {
    color: #336699;
}
.m-page:hover h3 {
    color: white;
}
.m-page .h32 {
    color: rgba(0, 0, 0, 0.6);
    font-family: 'Segoe UI', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
}
#t-matrix {
    margin: 1.5em 0 0 2em;
    /*font-family: 'Segoe UI Light', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;*/
}
#t-matrix a {
    color: #fff;
    text-decoration: none;
}
.port-header {
    min-height: 155px;
}
#add-man {
    padding: 1em;
}
.gr-ok {
    color: green;
    font-weight: bold;
}
#tg-matrix {
    margin: 0 1em 0 0;
    color: #fff;
    /*font-family: 'Segoe UI Light', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;*/
}
#tg-matrix a {
    color: #fff;
    text-decoration: none;
}
.know-tim {
    margin: .1em;
    padding: .3em;
    height: 2em;
    background-color: rgba(0, 0, 0, .2);
    text-align: center;
    font-size: .8em;
    line-height: 2em;
    cursor: pointer;
}
.know-tim:hover {
    background-color: rgba(0, 0, 0, .3);
}
a .no-v-link {
    color: #000;
}
.partner-block:hover {
    background-color: #eee;
}
.white-all {
    color: #fff;
}
.white-all a {
    color: #fff;
}
.t-q-g {
    margin: .1em;
    height: 4em;
    background-color: #1ba1e2;
    text-align: center;
    font-size: .8em;
    line-height: 4em;
}
.t-q-g:hover {
    background-color: #f09609;
    cursor: pointer;
}
#q-num {
    cursor: pointer;
}
.kb-bg {
    padding: 1em;
    min-height: 500px;
}
.kb-answers-list {
    min-height: 300px;
    max-height: 600px;
    overflow-y: auto;
}
#kb-q-cont {
    /*background-color: #f0f0f0;*/
    background-color: rgba(255, 255, 255, .3);
    padding: .5em;
    padding-left: .7em;
    margin-bottom: .5em;
    height: 6em;
}
.kb-a-cap {
    min-height: 2.5em;
}
#kb-q {
    font-style: italic;
}
#kb-q-cont-2 {
    font-size: 1.2em;
    min-height: 3em;
    padding: 0 .5em;
}
#kb-answers {
    /*  padding: .5em; 
  border: solid thin #f0f0f0; */
}
.kb-answer {
    border: solid thin #eee;
    padding: .5em .5em 0 .5em;
    margin-bottom: .5em;
}
.strike {
    text-decoration: line-through;
    color: #777;
}
.kb-answer-red {
    border: solid thin #f99;
    padding: .5em .5em 0 .5em;
    margin-bottom: .5em;
}
#alpha-hint {
    color: #292;
    font-size: .4em;
    font-weight: bold;
}
.f-feed-msg {
    border: solid thin #eee;
    padding: .5em .5em 0 .5em;
    margin-bottom: .5em;
}
.f-and-me-cont {
    font-size: .9em;
    text-align: right;
}
.f-and-me {
    color: #44f;
}
.f-and-me:hover {
    cursor: pointer;
    text-decoration: underline;
}
.width-30 {
    width: 30%;
}
.width-25 {
    width: 25%;
}

.friend-container {
    margin-left: 1em;
}

#friend-name {
    font-weight: bold;
    font-size: 1.1em;
    color: #FF8500;
    margin-bottom: .3em;
}

.mobile-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 10px;
    margin: 0 10px
}

.mobile-footer-title {
    margin: 8px 0;
    font-weight: bold;
    color: #666;
}

.mobile-footer-row {
    margin: 8px 0;
}

.select-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
}

.select-profile-stypes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 24px;
}

@media only screen and (max-width: 768px) {
    .select-profile {
        display: block;
        margin-bottom: 20px;
    }
    .select-profile-stypes {
        grid-gap: 12px;
        margin-bottom: 20px;
    }
}


.t-q {
    margin: .1em;
    height: 4em;
    background-color: rgba(0, 0, 0, .1);
    text-align: center;
    font-size: .8em;
    line-height: 4em;
}
.t-q:hover {
    background-color: rgba(0, 0, 0, .3);
}
.t-q-u {
    margin: .1em;
    padding: .3em;
    background-color: rgba(0, 0, 0, .2);
}
.t-q-u:hover {
    background-color: rgba(0, 0, 0, .3);
}
.f-count {
    color: #cce;
    font-weight: bold;
}

.k-hint {
    background-color: #afa;
    margin: .5em 0;
    padding: .5em;
    
    cursor: pointer;
}

.k-hint:hover {
    
    background-color: #8f8;
}

.go-vk {
    text-align: center;
    font-weight: bolder;
    font-size: 1.1em;
}
.go-vk a {
    /*color: #40A030;*/
    color: #1DC007;
}
.go-vk a:hover {
    text-decoration: underline;
}
#guess-cash {
    margin-bottom: 3px;
    color: #437C8A;
    font-weight: bolder;
    font-size: 2em;
    font-family: "wf_SegoeUILight", "wf_SegoeUI", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe", "Segoe WP", 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
}
#cash {
    color: rgb(0, 179, 0);
    ;
}
#guess-adv-info {
    font-size: .7em;
}
#text-source {
    margin-top: 1em;
    color: #777;
    font-style: italic;
}
#ad-top a {
    color: #29B30F;
    font-size: 1.1em;
}
table.c-hovered tbody tr:hover td, table.c-hovered thead tr:hover th {
    background-color: #e6e6f6;
}
#m-nav {
    margin-bottom: .5em;
}
#m-nav .third {
    float: left;
    margin: 1px;
    padding: .5em;
    width: 27%;
    height: 2em;
    background-color: #1ba1e2;
    color: white;
    cursor: pointer;
}
#m-nav .third:hover {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .7);
}
.evt-photo {
    width: 100px;
    height: 100px;
}
.no-m-left {
    margin-left: 0;
}
.m-left {
    margin-left: 3.1914893617021276%;
}
.st-sel-cont {
    /*position: relative;
  top: 130px;*/
    /*padding-top: 93px;*/
}
.st-sel-wrapper {
    /*position: relative;
  top: 130px;*/
    height: 61px;
}

.st-rel {
    text-align: right;
}

.st-rel img {
    height: 32px;
    background-color: rgba(0,0,0,.7);
}

.st-sel {
    height: 120px;
    background-size: cover;
}
.st-sel:hover {} .st-sel-img {
    height: 130px;
    /*border: thin solid white; */
}
.st-sel-img:hover {
    /*border: thin solid #1ba1e2;  */
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .7);
}
.st-sel-cap {
    overflow: hidden;
    padding: .2em;
    height: 1.9em;
    background-color: rgba(0, 0, 0, .7);
    color: #fff;
}

table.small-cells tbody td, table .small-cells tbody th {
    padding: 4px 2px;
}

.good-city {
    color: #0d0;
}

#s-funcs header {
    margin: .2em;
    color: rgba(0, 0, 0, .6);
    text-align: right;
    letter-spacing: 0.01em;
    font-weight: 200;
    font-size: 10pt;
    font-family: 'Segoe UI', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;
}
.s-funcs {
    margin: .1em;
    padding: .1em;
    height: 2.5em;
    background-color: rgb(139, 190, 197);
    color: white;
    /* #1ba1e2; */
    font-size: .8em;
    line-height: 1em;
}
.s-funcs a {
    color: white;
    /* #1ba1e2; */
}
.s-funcs-h {
    margin: .1em;
    padding: .1em;
    background-color: #1ba1e2;
    color: white;
}
.dhtmlx-error {
    font-weight: bold;
    color: white;
    background-color: red;
}
/** initial setup **/

.nano {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.nano > .nano-content {
    position: absolute;
    overflow: scroll;
    overflow-x: hidden;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.nano > .nano-content:focus {
    outline: thin dotted;
}
.nano > .nano-content::-webkit-scrollbar {
    visibility: hidden;
}
.has-scrollbar > .nano-content::-webkit-scrollbar {
    visibility: visible;
}
.nano > .nano-pane {
    background: rgba(0, 0, 0, .25);
    position: absolute;
    width: 10px;
    right: 0;
    top: 0;
    bottom: 0;
    visibility: hidden\9;
    /* Target only IE7 and IE8 with this hack */
    opacity: .01;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
.nano > .nano-pane > .nano-slider {
    background: #444;
    background: rgba(0, 0, 0, .5);
    position: relative;
    margin: 0 1px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.nano:hover > .nano-pane, .nano-pane.active, .nano-pane.flashed {
    visibility: visible\9;
    /* Target only IE7 and IE8 with this hack */
    opacity: 0.99;
}
.lines-4 {
    height: 4em;
}
.right-link {
    text-align: right;
    line-height: 1em;
}
.right-link a {
    color: white;
    text-decoration: underline;
}
.border-hover {
    padding: 10px;
    border: 2px white solid;
}
.border-hover:hover {
    border: 2px #ccf solid;
}
.h-add {
    color: #ccc;
    font-size: .6em;
}
.home-friends {
    padding: .3em 0;
    background: rgba(0, 0, 0, .2);
}
.b-hover {
    padding: .2em .5em;
}
.b-hover:hover {
    background: rgba(0, 0, 0, .2);
}
.OzonRev table {
    margin: 0;
    padding: 0;
    border: none;
}
.OzonRev tbody {
    margin: 0;
    padding: 0;
    border: none;
}
#OzonRev .OzonRev_colorLine {
    background-image: none;
}
/* --- Stars --- */

.star-rating {
    font-size: 0;
    white-space: nowrap;
    display: inline-block;
    width: 250px;
    height: 50px;
    overflow: hidden;
    position: relative;
    background: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjREREREREIiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');
    background-size: contain;
}
.star-rating i {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 20%;
    z-index: 1;
    background: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMjBweCIgaGVpZ2h0PSIyMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWdvbiBmaWxsPSIjRkZERjg4IiBwb2ludHM9IjEwLDAgMTMuMDksNi41ODMgMjAsNy42MzkgMTUsMTIuNzY0IDE2LjE4LDIwIDEwLDE2LjU4MyAzLjgyLDIwIDUsMTIuNzY0IDAsNy42MzkgNi45MSw2LjU4MyAiLz48L3N2Zz4=');
    background-size: contain;
}
.star-rating input {
    -moz-appearance: none;
    -webkit-appearance: none;
    opacity: 0;
    display: inline-block;
    width: 20%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 2;
    position: relative;
}
.star-rating input:hover + i, .star-rating input:checked + i {
    opacity: 1;
}
.star-rating i ~ i {
    width: 40%;
}
.star-rating i ~ i ~ i {
    width: 60%;
}
.star-rating i ~ i ~ i ~ i {
    width: 80%;
}
.star-rating i ~ i ~ i ~ i ~ i {
    width: 100%;
}
.rate, ::after, ::before {
    height: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    vertical-align: middle;
}
.rate {
    margin-bottom: 1em;
}
.rate::before {
    height: 100%;
    width: 0;
    background: red;
    vertical-align: middle;
    display: inline-block;
}
/* --- TopVK --- */

#topvk span {
    margin: 0 31px 0 15px;
    padding: 0px 20px;
    height: 14px;
    background: url(/static/images/vk_up_back.gif) no-repeat left 3px;
    /*font-weight:bold;
  font-family:tahoma,arial,verdana,sans-serif,Lucida Sans;*/
    font-size: 11px;
    opacity: 0.3;
    -webkit-transition-duration: 200ms;
    -moz-transition-duration: 200ms;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
}
#topvk:hover nobr {
    margin: 0 31px 0 15px;
    padding: 0px 20px;
    height: 14px;
    background: url(/static/images/vk_up_back.gif) no-repeat left 3px;
    opacity: 1;
}
#topvk {
    position: fixed;
    top: 0px;
    left: 0px;
    display: none;
    padding: 13px 0 13px;
    height: 100%;
    cursor: pointer;
    cursor: pointer;
    -webkit-transition-duration: 200ms;
    -moz-transition-duration: 200ms;
    -webkit-transition-property: background;
    -moz-transition-property: background;
}
#topvk:hover {
    background: #eee;
}
@media only screen and (min-width: 1040px) {
    .full-side {
        position: fixed;
        top: 0;
    }
    .full-side .l-item {
        margin: 0;
        min-height: 0;
        width: 100%;
        background-color: transparent;
        color: #e0e0e0;
        line-height: 1em;
    }
    .full-side .l-item-d {
        margin: 0;
        min-height: 0;
        width: 100%;
        background-color: transparent;
        color: #ddd;
        line-height: 1em;
    }
    .full-side a {
        color: #e0e0e0;
    }
    .full-side:hover a {
        color: #444;
    }
    .full-side:hover .l-item {
        color: #444;
    }
    .full-side:hover .l-item-d {
        color: #444;
    }
    .full-side .l-item:hover {
        box-shadow: none;
        font-weight: bold;
    }
    .full-side header h4 {
        visibility: hidden;
        height: 0;
    }
    #main .full-side .active-item {
        background-color: transparent;
        color: #e0e0e0;
    }
    #main .full-side .active-item2 {
        background-color: transparent;
        color: #e0e0e0;
    }
    .full-side .type-sign {
        visibility: hidden;
        height: 0;
    }
    .full-side .type-sign2 {
        visibility: hidden;
        height: 0;
    }
    .full-side .type-rel {
        visibility: hidden;
        height: 0;
    }
    .full-side .l-item:hover .hs-i {
        background-image: url(/static/images/hs-b.png);
        background-size: 20px;
        background-repeat: no-repeat;
    }
    .full-side .l-item:hover .hs-i:hover {
        background-image: url(/static/images/hs-a.png);
        background-size: 20px;
        background-repeat: no-repeat;
    }
}
@media only screen and (min-width: 768px) {
    .l-item:hover .hs-i {
        background-image: url(/static/images/hs.png);
        background-size: 32px;
        background-repeat: no-repeat;
    }
    .l-item:hover .hs-i:hover {
        background-image: url(/static/images/hs-a.png);
        background-size: 32px;
        background-repeat: no-repeat;
    }
}
@media only screen and (max-width: 767px) {
    .l-item .hs-i {
        background-image: url(/static/images/hs.png);
        background-size: 32px;
        background-repeat: no-repeat;
    }
    .hs-i + .type-sign {
        font-size: .7em;
    }

    .row.event-desc {
        margin-left: .5em;
    }

    .event-date div {
        display: inline-block;
    }

}
@media only screen and (min-width: 1160px) {
    #topvk {
        width: 100px;
        color: #777;
    }
}
@media only screen and (min-width: 1040px) and (max-width: 1159px) {
    #topvk {
        overflow: hidden;
        width: 50px;
    }
    #topvk span {
        color: rgba(0, 0, 0, 0);
    }
}
@media only screen and (max-width: 1039px) {
    #topvk {
        width: 50px;
        color: rgba(0, 0, 0, 0);
    }

    .notablet {
        display: none;
    }
}
@media only screen and (max-width: 1039px) {
    #topvk {
        width: 50px;
        color: rgba(0, 0, 0, 0);
    }
}
@media only screen and (min-width: 767px) {
    .showmobile {
        display: none;
    }
}
@media only screen and (max-width: 767px) {
    #page {
        padding: 5px;
    }
    .m-view {
        font-size: 1.3em;
    }
    .m-page {
        font-size: 1.3em;
    }
    .nomobile {
        display: none;
    }
    .showmobile {
        display: block;
    }
    span.showmobile {
        display: inline-block;
    }
    .tq {
        margin: 1em 0;
        font-size: 1.1em;
    }
    .tq:hover {
        font-size: 1.1em;
    }
    .tq-2 {
        min-height: 7em;
        font-size: 1.1em;
    }
    #test2-desc {
        padding: 1em 1em;
    }
    .mi-content {
        position: fixed;
        top: 40px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        z-index: 10;
        background-attachment: scroll;
        overflow-y: scroll;
    }


    .m-rtile {
      line-height: 1.2em;
      min-height: 4em;
      padding: .1em;
    }

    .m-rst {
        max-height: 1.3em;
        overflow: hidden;
        width: 150%;
    }

    .mt-s {
      float: left;
      width: 90%;
      cursor: pointer;
    }

    .mt-s-info {
      float: left;
      width: 10%;
      cursor: pointer;
      display: block;
    }



    .types-list .l-item {
        float: left;
        margin: 1px;
        width: 42%;
    }
    .types-list .l-item-d {
        float: left;
        margin: 1px;
        width: 42%;
    }
    .for-mobile .half {
        float: left;
        margin: 0;
        width: 50%; 
      }

     .for-mobile .third {
        float: left;
        margin: 1px;
        width: 30%; 
      }

    .for-mobile .threequarter {
        float: left;
        margin: 1px;
        width: 72%;
    }
    .for-mobile .quarter {
        float: left;
        margin: 1px;
        width: 24%;
    }
    .for-mobile .sixth {
        float: left;
        margin: 1px;
        width: 17%;
    }
    .for-mobile .twothird {
        float: left;
        margin: 1px;
        width: 60%;
    }

    .for-mobile .fourfifth {
        float: left;
        /*margin: 1px;*/
        width: 80%;
    }

    .for-mobile .fifth {
        float: left;
        /*margin: 1px;*/
        width: 20%;
    }


      .row .half-mobile {
        float: left;
        margin: 0;
        width: 50%; 
      }

      .row .quarter-mobile {
        float: left;
        margin: 0;
        width: 25%; 
      }

      .row .threequarter-mobile {
        float: left;
        margin: 0;
        width: 75%;  
      }

    .row .third-mobile {
        float: left;
        margin: 0;
        width: 33.3%;  
      }

    .row .twothird-mobile {
        float: left;
        margin: 0;
        width: 66.6%;  
      }




    #m-menu-cont {
        height: 40px;
        z-index: 20;
    }
    #m-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }
    #m-menu-photo {
        height: 30px;
        width: 30px;
        text-align: right;
    }
    #m-menu-row {
        height: 40px;
        width: 100%;
        background-color: gray;
        color: white;
        text-align: center;
    }
    .m-mi-0 {
        float: left;
        width: 20%;
        padding-top: 10px;
        cursor: pointer;
        height: 30px;
    }
    .m-mi-0:hover {
        background-color: rgba(0, 0, 0, .2);
    }
    .m-mi {
        float: left;
        width: 40%;
        height: 30px;
        padding-top: 10px;
        cursor: pointer;
    }
    .m-mi:hover {
        background-color: rgba(0, 0, 0, .2);
    }
    #mi-main {
        background-color: gray;
        color: white;
        width: 60%;
        height: 100%;
        z-index: 20;
    }
    #mi-main a {
        color: white;
    }
    #mi-main div {
        border-top: white solid thin;
        height: 40px;
        padding: 5px;
    }
    .collapsed {
        display: none;
    }
    #mi-main div:hover {
        background-color: rgba(0, 0, 0, .2);
    }
    .for-mobile .m-half {
        float: left;
        margin: 1px;
        width: 45%;
    }
    .for-mobile .lg-tile {
        min-height: 4.5em;
    }
    #text-logo {
        max-width: 60%;
        line-height: 1em;
    }
    #st-text {
        vertical-align: middle;
        font-size: 17pt;
    }
}
/* ArcticModal  */

.arcticmodal-overlay, .arcticmodal-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
}
.arcticmodal-container {
    overflow: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: collapse;
}
*:first-child+html .arcticmodal-container {
    height: 100%;
}
.arcticmodal-container_i {
    margin: 0 auto;
    height: 100%;
}
.arcticmodal-container_i2 {
    margin: 0;
    padding: 24px;
    padding-top: 10em;
    border: 0;
    /* vertical-align: middle; */
}
.arcticmodal-error {
    padding: 20px;
    border-radius: 10px;
    background: #000;
    color: #fff;
}
.arcticmodal-loading {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: #000 url(loading.gif) no-repeat 50% 50%;
}
.box-modal {
    position: relative;
    padding: 16px;
    width: 600px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 0 0 6px rgba(153, 153, 153, .3);
    color: #3c3c3c;
    font: 14px/18px Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
}
.box-modal_close {
    position: absolute;
    top: 6px;
    right: 10px;
    color: #999;
    font-size: 11px;
    line-height: 15px;
    cursor: pointer;
}
.box-modal_close:hover {
    color: #666;
}


/*  ----------  DHTMLX message ------------- */
.dhtmlx_message_area{
    position:fixed;
    right:5px;
    width:250px;
    z-index:1000;
}

.dhtmlx-info{
    min-width: 120px;
    padding:4px 4px 4px 20px;
    font-family:Tahoma;
    z-index: 10000;

    margin:5px;
    margin-bottom:10px;

    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}
.dhtmlx-info.hidden{
    height:0px;
    padding:0px;
    border-width:0px;
    margin:0px;
    overflow:hidden;
}

.dhtmlx_modal_box{
    overflow:hidden;
    display: inline-block;
    min-width: 300px;
    width: 300px;
    text-align: center;
    position:fixed;

    background-color: #fff;
    background:-webkit-linear-gradient(top, #ffffff 1%, #d0d0d0 99%);
    background:-moz-linear-gradient(top, #ffffff 1%, #d0d0d0 99%);
    box-shadow: 0px 0px 14px #888;

    font-family: Tahoma;

    z-index:20000;

    border-radius:6px;
    border: 1px solid #ffffff;
}

.dhtmlx_popup_title{
    border-top-left-radius:5px;
    border-top-right-radius:5px;

    border-width:0px;
    
    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAoCAMAAAAIaGBFAAAAhFBMVEVwcHBubm5sbGxqampoaGhmZmZlZWVjY2NhYWFfX19dXV1bW1taWlpYWFhWVlZUVFRSUlJRUVFPT09NTU1LS0tJSUlHR0dGRkZERERCQkJAQEA+Pj49PT09PT0+Pj5AQEBBQUFDQ0NERERGRkZHR0dJSUlKSkpMTExMTEw5OTk5OTk5OTkny8YEAAAAQklEQVQImQXBCRJCAAAAwKVSQqdyjSPXNP7/QLsIhA6OTiJnF7GrRCpzc/fw9PKW+/gqlCq1RqvTG/yMJrPF6m/bAVEhAxxnHG0oAAAAAElFTkSuQmCC);
    background-image: -webkit-linear-gradient(top, #707070 1%, #3d3d3d 70%, #4c4c4c 97%, #393939 97%);
    background-image: -moz-linear-gradient(top, #707070 1%, #3d3d3d 70%, #4c4c4c 97%, #393939 97%);
}

.dhtmlx-info, .dhtmlx_popup_button, .dhtmlx_button{
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select:-moz-none;

    cursor:pointer;
}

.dhtmlx_popup_text{
    overflow:hidden;
}

.dhtmlx_popup_controls{
    border-radius:6px;
    padding:5px;
}

.dhtmlx_popup_button, .dhtmlx_button{
    height: 30px;
    line-height:30px;

    display: inline-block;
    margin: 0 5px;
    border-radius: 6px;

    color:#FFF;
}
.dhtmlx_popup_button{
    min-width: 120px;
}

div.dhx_modal_cover {
    background-color:#000;
    cursor:default;

    filter:alpha(opacity = 20);
    opacity: 0.2;

    position: fixed;
    z-index:19999;
    left: 0px;      top: 0px;
    width: 100%;    height: 100%;

    border: none;
    zoom: 1;
}

.dhtmlx-info img, .dhtmlx_modal_box img{
    float:left;
    margin-right:20px;
}

.dhtmlx-alert-error .dhtmlx_popup_title, .dhtmlx-confirm-error .dhtmlx_popup_title{
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAsCAIAAAArRUU2AAAATklEQVR4nIWLuw2AMBBDjVuQiBT2oWbRDATrnB0KQOJoqPzRe3BrHI6dcBASYREKovtK6/6DsDOX+stN+3H1YX9ciRgnYq5EWYhS2dftBIuLT4JyIrPCAAAAAElFTkSuQmCC);
}
.dhtmlx-alert-error, .dhtmlx-confirm-error {
    border: 1px solid #ff0000;
}

/*Skin section*/
.dhtmlx_button, .dhtmlx_popup_button{
    box-shadow: 0px 0px 4px #888;
    border:1px solid #838383;
}
.dhtmlx_button input, .dhtmlx_popup_button div{
    border:1px solid #FFF;
    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAeCAMAAADaS4T1AAAAYFBMVEVwcHBtbW1ra2toaGhmZmZjY2NhYWFeXl5cXFxaWlpXV1dVVVVSUlJQUFBNTU1LS0tJSUlGRkZERERBQUE/Pz88PDw9PT0+Pj5AQEBCQkJDQ0NFRUVHR0dISEhKSkpMTEzqthaMAAAAMklEQVQImQXBhQ2AMAAAsOIMlwWH/8+kRSKVyRVKlVrQaHV6g9FktlhFm93hdLk9Xt8PIfgBvdUqyskAAAAASUVORK5CYII=);
    background-image: -webkit-linear-gradient(top, #707070 1%, #3d3d3d 70%, #4c4c4c 99%);
    background-image: -moz-linear-gradient(top, #707070 1%, #3d3d3d 70%, #4c4c4c 99%);

    border-radius:6px;
    font-size:15px;
    font-weight:normal; 
    -moz-box-sizing:content-box;
    box-sizing:content-box;

    color:#fff; padding:0px; margin:0px;
    vertical-align:top;

    height:28px;
    line-height:28px;
}

.dhtmlx_button input:focus, .dhtmlx_button input:active, .dhtmlx_popup_button div:active, .dhtmlx_popup_button div:focus{

    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAeCAMAAADaS4T1AAAAXVBMVEVwcHBubm5tbW1sbGxra2tpaWloaGhnZ2dmZmZlZWVjY2NiYmJhYWFgYGBfX19dXV1cXFxbW1taWlpZWVlXV1dWVlZVVVVUVFRTU1NRUVFQUFBPT09OTk5NTU1LS0tT9SY0AAAAMUlEQVQImQXBhQGAMAAAIGxnx2z9/00BiVQmVyhVakGj1ekNRpPZYhVtdofT5fZ4fT8hpwG05JjexgAAAABJRU5ErkJggg==);
    background-image: -webkit-linear-gradient(top, #707070 1%, #4c4c4c 99%);
    background-image: -moz-linear-gradient(top, #707070 1%, #4c4c4c 99%);   
}
.dhtmlx_popup_title{
    color:#fff;
    text-shadow: 1px 1px #000;
    height:40px; line-height:40px;
    font-size:20px;
}
.dhtmlx_popup_text{
    margin:15px 15px 5px 15px;
    font-size:14px;
    color:#000;
    min-height:30px;
    border-radius:6px;
}


.dhtmlx-info, .dhtmlx-error{
    font-size:14px;
    color:#000;
    box-shadow: 0px 0px 10px #888;
    
    padding:0px;
    
    background-color:#FFF;
    border-radius:3px;
    border:1px solid #ffffff;
}
.dhtmlx-info div{
    padding:5px 10px 5px 10px;
    background-color: #fff;

    border-radius:3px;
    border:1px solid #B8B8B8;
}
.dhtmlx-error{
    background-color: #d81b1b;
    border:1px solid #ff3c3c;
    box-shadow: 0px 0px 10px #000;
}
.dhtmlx-error div{
    background-color: #d81b1b;  
    border:1px solid #940000;
    color:#FFF;
}



.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }
