html, body, .hero div, .pistol div, .embed, .rotateportrait, .back {
    margin: 0;
    width: 100%;
    height: 100%;
}
.back {
    background-image: url(../images/back.png);
    background-size: auto 100%;
    background-position: center center;
    background-repeat: no-repeat;
}
.title {
    background-image: url(../images/title.png);
    background-size: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    width: 940px;
    height: 595px;
    max-width: 100%;
}
.card {
    width: 100%;
    min-height: 100%;
}
.layout * {
    vertical-align: top;
}
html, body, #ig {
    max-width: 100% !important;
    margin: 0;
}
#ig .card, #ig .layout {
    overflow-x: hidden;
}
body {
    -webkit-overflow-scrolling: touch;
}
.video img, .video-empty img {
    width: 100%;
}
.card, #content, a.open, .popup, #ig, .layout, .row, h2, .half, .video {
    position: relative;
}
.centered {
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}
.back, .card, .card div, .layout {
}
.if-mobile {
    display: none;
}
.if-mobile img {
    margin-top: 2rem;
}
.centered.title {
    margin-top: -23rem;
    top: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
}
.centered, .grid, h1, .shadow, .static, .fill, .info, hr, .back, .scroll span u, .scroll span u:after,
.scroll, .title, .title p, .ear, .ear:after, .video .seats, .stage, .stage i, h2 span, .seats:after {
    position: absolute;
}
.ear {
    top: 0;
    bottom: 0;
    background-image: url(../images/svg/pattern_invert.svg);
    background-size: 10rem auto;
}
.seats {
    top: 100%;
    left: 0;
    width: 112%;
    height: 10rem;
    margin-top: 1rem;
    background-image: url(../images/svg/seats.svg);
    background-size: 50% auto;
}
.stage {
    top: 100%;
    left: 0;
    width: 100%;
    height: 10rem;
    margin-top: 1rem;
    background-image: url(../images/svg/stage.svg);
    background-size: 100%;
    background-repeat: no-repeat;
}
.stage i {
    left: 0;
    right: 0;
    transform: scale(.95) translateY(.3rem);
}
.ear.right {
    right: 0;
    left: 50%;
    margin-left: 25rem;
    background-position: 0px 0;
    background-attachment: right top;
    mask-image: linear-gradient(to right, rgba(255,255,255,0) 0%, #fff 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(255,255,255,0) 0%, #fff 100%);
}
.ear.left {
    left: 0;
    right: 50%;
    margin-right: 25rem;
    background-position: 10px 0;
    mask-image: linear-gradient(to right, #fff 0%,rgba(255,255,255,0) 100%);
    -webkit-mask-image: linear-gradient(to right, #fff 0%,rgba(255,255,255,0) 100%);
}
.ear:after {
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.seats:after {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*.ear.left:after {
    background: linear-gradient(to right, rgba(255,255,255,0) 0%,#fff 100%);
}
.ear.right:after {
    background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}*/

.card.full {
    height: 100vh;
}
.back, .card.full .layout, .card, .row, .scroll span u, .layout {
    overflow: hidden;
}
.scroll span u {
    left: 50%;
    top: 15px;
    height: 14px;
    width: 4px;
    margin-left: -2px;
    border-radius: 2px;
    
}
.scroll span u:after {
    content: '';
    top: -40px;
    bottom: 0%;
    left: 0;
    width: 100%;
    animation: scroll 3s ease-in-out infinite;
    background-image: linear-gradient(to bottom,#fff 50%, rgba(255,255,255,0) 50%);
    background-size: 100% 4px;
}
@keyframes scroll {
    0% { transform: translateY(0); }
    40% { transform: translateY(24px); }
    100% { transform: translateY(24px); }
}
.dance {
    animation: move 30s ease-in-out infinite;
}
@keyframes move {
    0% { background-position: 0 center; }
    50% { background-position: 100% center; }
    100% { background-position: 0 center; }
}

.half hr {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    border: none;
    margin-top: -1px;
}
.half h2 {
    padding-right: 1rem;
}

.nav a {
    width: 1rem;
    height: 1rem;
    border-radius: 100%;
    border-width: 2px;
    border-style: solid;
}

h2:before {
    content: '';
    left: 1rem;
    width: 24rem;
    height: 3px;
}
h3, .nav a, h2, .half, small {
    display: inline-block;
}

.pic, .video {
    background-image: url(../images/empty.svg);
    background-size: 100% 100%;
    margin-left: 1rem;
}
.pic {
    min-height: 16rem;
    width: 22rem;
    border: none;
}
.video {
    min-height: 16rem;
    width: 22rem;
    margin-top: 3rem;
    top: 0;
}
.article-visual-black .video {
    margin-top: 5rem;
}
video {
    width: 100%;
}

.turn {
    height: 10rem;
}

.fixed, .grid, .back {
    top: 0;
}
.fixed {
    position: fixed;
}
.half {
    width: 50%;
}
.half h2 {
    width: auto;
    min-width: 10%;
}
.half-fixed {
    left: 50%;
    width: 27rem;
    top: 50%;
    margin-top: -20rem;
    height: 40rem;
}
.nav {
    top: 50%;
    right: 50%;
    margin-right: 27rem;
    width: 1rem;
    transform: translateY(-50%);
}

.rotateportrait {
    /*background-image: url(../images/rotate.svg);*/
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    height: 120%;
    z-index: 99;
}

.info {
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
    border: 2px solid;
    bottom: 5rem;
    right: 3rem;
}

/* Z */
h2:after, .half hr {
    z-index: 0;
}
h2 span, .card.full, .half-fixed, .half h2, .ear {
    z-index: 1;
}

h1 {
    top: 50%;
    left: 50%;
    margin-top: -6rem;
    margin-left: -7rem;
}

.scroll {
    bottom: 4rem;
    left: 50%;
    width: 3rem;
    margin-left: -1.5rem;
    line-height: 1rem;
}
.scroll span {
    width: 2.4rem;
    height: 3.6rem;
    display: inline-block;
    border-radius: 2rem;
    margin-bottom: 2rem;
    border-style: solid;
    border-width: 3px;
}
.scroll i {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: .75rem .5rem 0 .5rem;
    border-color: #fff transparent transparent transparent;
    display: block;
    margin: 0 1rem .25rem 1rem;
}

/* LAYOUT */
.back, .rotateportrait {
    top: 0;
    bottom: 0;
}

.card.static {
    z-index: -1;
}
.wrap {
    z-index: 1;
}
.card.front, .grid {
    z-index: 2;
}

#ig {
    overflow: auto;
}

#content {
    cursor: move;
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}
a, .full {
    cursor: pointer;
}
.dance {
    margin-top: 2rem;
    height: 10rem;
    width: 100%;
    background-image: url(../images/gif/dance-2.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100%;
}
.dance.gif20 {
    background-image: url(../images/gif/20.gif);
}
.dance.gif40 {
    background-image: url(../images/gif/40.gif);
}
#content, p {
    user-select: none;
    -webkit-user-select: none;
    
}
#ig, .shadow {
    min-width: 100%;
}
.row {
    padding-top: 1rem;
}
#content {
    min-width: 100%;
}
.layout {
    white-space: normal
}
.card.double {
    width: 82rem;
    text-align: right;
}
.card {
    display: block;
}
.grid, .layout, .row {
    left: 50%;
    margin-left: -25rem;
}
.card .layout, .nav a {
    box-sizing: border-box;
}
.card .layout {
    min-height: 40rem;
    margin-left: -25rem;
    left: 50%;
    padding-bottom: 6rem;
}

.bubble, .info, .scroll, .stage {
    text-align: center;
}
p {
    text-align: left;
}

.structure svg {
    width: 104%;
    margin-left: 14px;
    margin-left: -15px;
    overflow: visible;
    margin-bottom: 0rem;
    margin-top: 2rem;
}
.row .structure svg {
    width: 26rem;
    margin-top: 0;
    display: block;
    margin-left: -1.65rem;
}
.row small {
    margin-left: 0rem;
    width: auto;
    margin-bottom: 4rem;
}

.grid, .shadow, .number, .hero, img {
    pointer-events: none;
}
.hidden, #ig .grid, .if-mobile {
    display: none;
}
#ig .layout, #ig .half-fixed {
    outline: none;
}

.layout, .row, #ig {
    width: 100%;
    max-width: 50rem;
}

.authors i {
    display: inline-block;
    width: 8rem;
}

.half>br {
    display: none;
}

@media screen and (max-width: 899px) {
    .half>br {
        display: block;
        height: 0;
    }
    .if-mobile {
        display: inline-block;
    }
    .grid, .layout, .row, .card .layout {
        left: 0;
        margin-left: 0;
    }
    .pic {
        min-height: auto;
    }
    .layout .half:first-child {
        display: none;
    }
    .layout .half, .break {
        width: 100%;
        text-align: center;
    }
    h3, h4, h5, p, h6, small, img, .break .half h2, .row {
        position: relative;
        display: inline-block;
        text-align: left;
        max-width: 100% !important;
    }
    h3, h4, h5, p, h6, small {
        padding-right: 1rem;
        box-sizing: border-box;
    }
    .structure {
        width: 22rem;
        max-width: 90%;
        display: inline-block;
    }
    .structure svg {
        margin-left: 0rem;
    }
    .row .half {
        display: inline-block;
        width: auto;
        
    }
    .row .half h2 {
        display: inline;
        background: none;
    }
    .row {
        width: 23rem;
        display: inline-block;
    }
    .row h2 {
        padding-left: 1rem;
        padding-right: 0;
    }
    .row hr {
        display: none;
    }
}

@media screen and (max-width: 414px) {
    body {
        max-width: 100% !important;
        min-width: 100% !important;
    }
    .half, #ig * {
        max-width: 100% !important;
    }
    h2:before, .ear,
    .scroll span {
        display: none;
    }
    .authors {
        max-width: 100%;
    }
    .authors i {
        width: 40%;
    }
    .pic {
        margin-left: 0 !important;
    }
    .title {
        /* background-image: url(../images/title_s.png); */
    }
    .scroll {
        bottom: 6rem;
    }
    .scrollwrap {
        transform: scale(.75);
    }
    .dance {
        height: 6rem;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .structure svg {
        margin-left: -2rem;
    }
}

/* RIA.RU */
.article-visual-black {
    padding-top: 0;
}
body.mode-adaptive {
    height: auto;
}
.b-top-bar.m-visual-black {
    font-size: 16px;
}