/* ----------------main block---------------- */
.cm {
    background: url("/CorpImages/Custom/china_military/basic/chess.jpg") #fff;
    background-attachment: fixed;
    margin-bottom: 30px;
}

.cm .layout {
    background-color: transparent;
}

/* ----------------content---------------- */
.cm_section {
    position: relative;
}

/* title */
.cm__subtitle {
    font-weight: bold;
    font-family: inherit;
    color: #666;
}

.cm__subtitle.cm__subtitle--top_indent {
    margin-top: 12px;
}

.cm__heading {
    font-weight: bold;
    font-family: inherit;
}

/* list */
.cm .cm__list {
    padding-left: 35px;
}

.cm__list_item {
    color: #666;
    margin-bottom: 8px;
    position: relative;
}

.cm__list .cm__list_item::before {
    background-color: #ce1126;
}

.cm__list_item .vicon {
    position: absolute;
    top: 8px;
    left: -25px;
}


/* ---------------doc_media slider--------------- */
.cm_media_slider .doc_media__item {
    padding-bottom: 0;
}

.cm .doc_media__text {
    margin-bottom: 11px;
}

.cm_media_photo .photo--free {
    background-color: transparent;
}

.cm_media_slider .doc_media__nav_button {
    top: calc(50% - 20px);
    margin-top: 0;
}

.cm_media_slider .doc_media__counter {
    top: auto;
    margin-top: auto;
}


/* ----------------cm slider---------------- */
/* quote */
.cm__quote {
    font: 0/0 a;
    font-family: inherit;
    margin: 20px 0;
    text-align: right;
}

.cm__quote_text {
    font: italic 16px/1 a;
    font-family: inherit;
    color: #ce1126;
    margin: 15px 0;
    padding-right: 60px;
}

.cm__quote_text--author {
    font-size: 12px;
    border-top: 1px solid #ce1126;
    padding-top: 15px;
    position: relative;
}

.cm__quote_face {
    border-radius: 50%;
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    position: absolute;
    top: -25px;
    right: 0;
    overflow: hidden;
}

.cm__quote_img {
    display: block;
    width: 100%;
    height: 100%;
}

/* photo */
.cm__photo {
    height: 0;
    position: relative;
    padding-bottom: 56.25%;
}

.cm__photo--big {
    padding-bottom: 89.29%;
}

.cm__img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: 50% 50%;
}

/* slider */
.cm_slider {
    font: 0/0 a;
    font-family: inherit;
}

.cm_slider .doc__text {
    margin-top: 0;
}

.cm_slider__canvas {
    background-color: #ececee;
    box-sizing: border-box;
    border-radius: 3px;
    height: 70vh;
    padding: 15px 30px 15px 0;
    position: relative;
    overflow: hidden;
}

.cm_slider__item {
    display: inline-block;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    margin-right: -100%;
    padding: 0 10px 0 30px;
    position: relative;
    vertical-align: top;
}

.cm_slider__curtain {
    height: 40px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #ececee;
}

.cm_slider__curtain::before {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(236, 236, 236, .01)), to(#ececee));
    background-image: linear-gradient(180deg, rgba(236, 236, 236, .01), #ececee);
}

.cm_slider__more {
    font: 13px/1.2 a;
    font-family: inherit;
    position: absolute;
    left: 30px;
    bottom: 0;
    z-index: 1;
    margin: 0;
    text-transform: uppercase;
    visibility: visible;
    opacity: 1;
    transition: visibility .25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s,
        opacity .25s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0s;
    will-change: transform, opacity;
}

.cm_slider__arrow {
    margin-left: 10px;
    font-size: 14px;
}

/* nav */
.cm_gallery__nav {
    font: 0/0 a;
    font-family: inherit;
    background-color: rgba(0, 0, 0, .3);
    height: 40px;
    width: 40px;
    position: absolute;
    top: 50%;
    bottom: 0;
    text-align: center;
    transform: translateY(-50%);
    -webkit-transition: background-color .25s cubic-bezier(.0, .0, .2, 1) 0s;
    transition: background-color .25s cubic-bezier(.0, .0, .2, 1) 0s;
    z-index: 1;
}

.cm_gallery__nav--red {
    background-color: rgba(206, 17, 38, .3);
    height: 120px;
}

.cm_gallery__nav--prev {
    left: 0;
}

.cm_gallery__nav--next {
    right: 0;
}

.cm_gallery__nav:hover {
    background-color: rgba(0, 0, 0, .6);
}

.cm_gallery__nav--red:hover {
    background-color: rgba(206, 17, 38, .6);
}

.cm_gallery__nav.slider-inactive,
.cm_gallery__nav.slider-inactive:hover {
    background-color: transparent;
    opacity: .25;
}

.cm_gallery__link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cm_gallery__link,
.cm_gallery__link:focus {
    outline: none;
}

.cm_gallery__vicon {
    font: 30px/1 a;
    font-family: inherit;
    fill: #fff;
    display: block;
    margin: auto;
    height: 30px;
    width: 30px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: rotate(-90deg);
}


/* ---------------nano-scroll--------------- */
.cm .nano {
    height: 100%;
    margin-right: 8px;
    overflow: hidden;
}

.cm .nano-content {
    box-sizing: border-box;
    height: 100%;
    padding: 0 12px 0 0;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

.cm_slider .nano-content {
    overflow: hidden;
}

.cm .nano>.nano-content::-webkit-scrollbar {
    display: none;
}

.cm .has-scrollbar>.nano-content::-webkit-scrollbar {
    display: block;
}

.cm .nano-content.content-scrollable {
    overflow-y: scroll;
}

.cm_slider .has-scrollbar .nano-content {
    overflow-y: scroll;
}

.cm .nano-pane {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    position: absolute;
    width: 8px;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: .01;
    transition: .2s;
}

.cm .nano-slider {
    background-color: #ccc;
    border-radius: 4px;
}

.nano:hover>.nano-pane,
.nano-pane.active,
.nano-pane.flashed {
    opacity: 0.99;
}

.cm__media_indent {
    margin: 24px 0 35px;
}

@media only screen and (min-width: 1198px) {
    .cm__media_indent {
        margin-bottom: 45px;
    }
}


/* ----------------infographics---------------- */
/* people and engine - china, ru, usa */
.cm_column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.cm_column__item:not(:first-child) {
    margin-top: 10px;
}

@media only screen and (min-width: 1198px) {
    .cm_column {
        flex-flow: row wrap;
        align-items: flex-end;
        justify-content: space-between;
    }
    .cm_column__item:not(:first-child) {
        width: calc(50% - 20px);
    }
}

.cm_column__name {
    font: 18px/1.2 a;
    font-family: inherit;
    color: #666;
    padding-bottom: 8px;
}

.cm_column__text {
    font: 18px/1.2 a;
    font-family: inherit;
    color: #ce1126;
}

.cm_column__text--normal {
    line-height: 1.2;
    text-transform: initial;
}

.cm_column__info {
    display: flex;
    align-items: center;
}

.cm_column__icon {
    width: 90px;
    height: 90px;
}

.cm_column__list--indent {
    margin-left: 15px;
}

.cm_column__list--align_right {
    margin-left: auto;
    text-align: right;
}

/* military leaders - round border */
.cm_chart {
    margin-bottom: 15px;
}

.cm_chart__item {
    display: flex;
    flex-direction: column;
}

.cm_chart__name {
    flex-basis: 100%;
    font: 16px/18px a;
    font-family: inherit;
    color: #ce1126;
    background-color: #fcd116;
    box-sizing: border-box;
    padding: 8px 10px;
    margin: 0 0 25px;
    text-transform: uppercase;
}

.cm_chart__info {
    margin-bottom: 25px;
}

@media only screen and (min-width: 1198px) {
    .cm_chart__item {
        flex-flow: row wrap;
        align-items: flex-start;
        justify-content: space-between;
    }
    .cm_chart__info {
        width: calc(50% - 20px);
    }
}

.cm_chart__person {
    display: block;
    margin: 0 auto 5px;
    width: 120px;
    height: 120px;
    border: 4px solid #ce1126;
    border-radius: 50%;
    box-sizing: border-box;
    overflow: hidden;
}

.cm_chart__img {
    display: block;
    width: 100%;
    height: 100%;
}

.cm_chart__text {
    font: 16px/1.25 a;
    font-family: inherit;
    color: #333;
}

.cm_chart__text--indent {
    margin-top: 10px;
}


/* ---------------extension----------------- */
.vicon--star {
    fill: #ce1126;
    font-size: 12px;
}

.vicon.cm__vicon--big {
    font-size: 30px;
}

.vicon.cm__vicon--grey {
    fill: #999;
}

.vicon.cm__vicon--white {
    fill: #fff;
}

.vicon.cm__vicon--white:focus,
.vicon.cm__vicon--white:hover {
    fill: #ccc;
}

.cm__text--black {
    color: #000;
}

.cm__text--dark {
    color: #666;
}

.cm__text--grey {
    color: #999;
}

.cm__text--white {
    color: #fff;
}


/* ---------------animation--------------- */
/* tanks */
.cm_tank {
    position: absolute;
    overflow: hidden;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cm_tank2 {
    position: relative;
    width: 85px;
    height: 220px;
    margin-right: -15px;
    float: right;
}

.cm_tank2__inner {
    background: url(/CorpImages/Custom/china_military/render/tank2-1x.png) no-repeat left top;
    background-size: auto 218px;
    position: absolute;
    top: 0;
    right: -45px;
    width: 124px;
    height: 218px;
}

@media only screen and (min-width: 1198px) {
    .cm_tank2 {
        position: absolute;
        top: 190px;
        right: 0;
        width: 150px;
    }

    .cm_tank2__inner {
        position: absolute;
        left: 0;
    }
}

@media only screen and (min-resolution: 1.25dppx) {
    .cm_tank2__inner {
        background-image: url(/CorpImages/Custom/china_military/render/tank2-2x.png);
    }
}

.cm_tank3 {
    top: -70px;
    right: 0;
    width: 190px;
    height: 190px;
    z-index: 1;
}

.cm_tank3__inner {
    background: url(/CorpImages/Custom/china_military/render/tank3-1x.png) no-repeat left top;
    background-size: auto 182px;
    position: absolute;
    top: 0;
    right: -50px;
    width: 180px;
    height: 182px;
}

@media only screen and (min-resolution: 1.25dppx) {
    .cm_tank3__inner {
        background-image: url(/CorpImages/Custom/china_military/render/tank3-2x.png);
    }
}

/* animated tank */
.cm_tank1 {
    top: 0;
    left: 0;
    width: 250px;
    height: 220px;
}

.cm_tank1__inner {
    background: url(/CorpImages/Custom/china_military/render/tank1-1x.png) no-repeat left top;
    background-size: auto 220px;
    position: absolute;
    top: 0;
    left: 35px;
    width: 180px;
    height: 220px;
    transform: translate(-60px, -221px);
    transition: transform 1000ms cubic-bezier(0.55, 0.085, 0.68, 0.53);
    will-change: transform;
}

@media only screen and (min-resolution: 1.25dppx) {
    .cm_tank1__inner {
        background-image: url(/CorpImages/Custom/china_military/render/tank1-2x.png);
    }
}

.cm_tank1.is_forward .cm_tank1__inner {
    transform: translate(0px, 0px);
    transition: transform 1500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: tank1forward 400ms steps(4, end) 1300ms forwards;
}

.cm_tank1.is_backward .cm_tank1__inner {
    animation: tank1backward 266.667ms steps(4, start) forwards;
}

@keyframes tank1forward {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -720px 0;
    }
}

@keyframes tank1backward {
    from {
        background-position: -720px 0;
    }

    to {
        background-position: 0 0;
    }
}

/* animated helicopter */
.cm_helicopter {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 262px;
    overflow: hidden;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cm_helicopter__inner {
    width: 300px;
    height: 262px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: url(/CorpImages/Custom/china_military/render/helicopter-1x.png) no-repeat left top;
    background-size: auto 262px;
    animation: helicopter 400ms steps(12) infinite;
}

@media only screen and (min-resolution: 1.25dppx) {
    .cm_helicopter__inner {
        background-image: url(/CorpImages/Custom/china_military/render/helicopter-2x.png);
    }
}

@keyframes helicopter {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -3600px 0;
    }
}

/* animated plane */
.cm_fighter {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cm_fighter__inner {
    position: fixed;
    z-index: 10;
    visibility: hidden;
    will-change: transform;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cm_fighter--1 .cm_fighter__inner {
    width: 550px;
    height: 550px;
    left: 0;
    bottom: 0;
    background: url(/CorpImages/Custom/china_military/render/fighter1-1x.png) no-repeat left top;
    background-size: auto 550px;
}

.cm_fighter--2 .cm_fighter__inner {
    width: 550px;
    height: 550px;
    right: 0;
    top: 0;
    background: url(/CorpImages/Custom/china_military/render/fighter2-1x.png) no-repeat left top;
    background-size: auto 550px;
}

@media only screen and (min-resolution: 1.25dppx) {
    .cm_fighter--1 .cm_fighter__inner {
        background-image: url(/CorpImages/Custom/china_military/render/fighter1-2x.png);
    }

    .cm_fighter--2 .cm_fighter__inner {
        background-image: url(/CorpImages/Custom/china_military/render/fighter2-2x.png);
    }
}

.cm_fighter.is_animated .cm_fighter__inner {
    visibility: visible;
    transition: transform 2000ms linear;
}
