/* cyrillic */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    src: url('fonts/oswald_cyr.woff') format('woff');
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    src: url('fonts/oswald_latin_ext.woff') format('woff');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    src: url('fonts/oswald_latin.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215;
}

/* cyrillic */
@font-face {
    font-family: 'PTSansNarrow';
    font-style: normal;
    src: url('fonts/PTSansNarrow.woff') format('woff');
}


:root::view-transition-old(*) {
    animation: 1s ease-in-out both slideOut;
}

:root::view-transition-new(*) {
    animation: 1s ease-in-out both zoomIn;
}



*, *:before, *:after, a {
    box-sizing: border-box;
    outline: none;
}

html {
    font-size: 100%;
}

body {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    color: #ffffff;
    background: #000000;
    font-family: 'PTSansNarrow';
    font-size: 100%;
    -webkit-text-size-adjust: none;
}


a:link, a:visited, a:focus, a:hover {
    outline: none;
    text-decoration: none;
}

input, textarea, button, select {
    outline: none;
    font-family: 'PTSansNarrow';
    font-size: 100%;
    -webkit-appearance: none;
    border-radius: 0;
}

h1 {
    font-size: 150%;
    font-style: normal;
    font-weight: normal;
    margin: 0;
    padding: 0
}

h2 {
    font-size: 120%;
    font-style: normal;
    font-weight: normal;
    margin: 0;
    padding: 0
}

h3, h4, h5, h6 {
    font-size: 130%;
    font-style: normal;
    font-weight: normal;
    padding: 0;
    margin: 0
}

img, td, tr {
    padding: 0;
    margin: 0;
    border: none;
}

table {
    border-collapse: collapse;
    padding: 0;
    margin: 0;
    border: none;
}

li {
    list-style: square
}

strong {
    font-style: normal;
    font-weight: normal;
}

blockquote {
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
}

figure {
    padding: 0;
    margin: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
}





/* общие */
.center_1200_to_320 {
    margin: 0 auto;
    display: block;
    width: 100%;
    min-width: 280px;
    max-width: 1200px;
}

.center_960_to_320 {
    margin: 0 auto;
    display: block;
    width: 100%;
    min-width: 280px;
    max-width: 960px;
}

.center_800_to_320 {
    margin: 0 auto;
    display: block;
    width: 100%;
    min-width: 280px;
    max-width: 800px
}

.center_600_to_320 {
    margin: 0 auto;
    display: block;
    width: 100%;
    min-width: 280px;
    max-width: 600px
}

.center_640_to_320 {
    margin: 0 auto;
    display: block;
    width: 100%;
    min-width: 280px;
    max-width: 640px
}

.font_size_100 { font-size: 100%; }
.font_size_110 { font-size: 110%; }
.font_size_120 { font-size: 120%; }
.font_size_130 { font-size: 130%; }
.font_size_140 { font-size: 140%; }
.font_size_150 { font-size: 150%; }
.font_size_160 { font-size: 160%; }
.font_size_170 { font-size: 170%; }
.font_size_180 { font-size: 180%; }
.font_size_190 { font-size: 190%; }
.font_size_200 { font-size: 200%; }
.font_size_210 { font-size: 210%; }
.font_size_220 { font-size: 220%; }
.font_size_230 { font-size: 230%; }
.font_size_240 { font-size: 240%; }
.font_size_250 { font-size: 250%; }
.font_size_260 { font-size: 260%; }
.font_size_270 { font-size: 270%; }
.font_size_280 { font-size: 280%; }
.font_size_290 { font-size: 290%; }
.font_size_300 { font-size: 300%; }

.delimeter_1rem { display: block; width: 100%; height: 1rem; }
.delimeter_2rem { display: block; width: 100%; height: 2rem; }
.delimeter_3rem { display: block; width: 100%; height: 3rem; }
.delimeter_4rem { display: block; width: 100%; height: 4rem; }
.delimeter_20rem { display: block; width: 100%; height: 20rem; }
.delimeter_25rem { display: block; width: 100%; height: 25rem; }

.content_block {
    width: 100%;
}

.padding_1 { padding: 1rem; }
.padding_2 { padding: 2rem; }
.padding_3 { padding: 3rem; }
.padding_4 { padding: 4rem; }

.scroll_up_button {
    width: 3rem;
    height: 3rem;
    background-color: #35536E;
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    background-image: url(images/ico_up.svg);
    background-size: 1.5rem 1.5rem;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.call_now_button {
    width: 3rem;
    height: 3rem;
    position: fixed;
    left: 2rem;
    bottom: 2rem;
    background-image: url(images/ico_call.svg);
    background-size: 3rem 3rem;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

#global_container {
    min-width: 100%;
    min-height: 100vh;
    transition: all 400ms;
}


.red_button {
    height: 3rem;
    line-height: 3rem;
    background: #BB3F27;
    color: #ffffff;
    font-family: 'Oswald';
    font-size: 90%;
    border-radius: 4px;
    cursor: pointer;
}

/* шапка */
#internal_top_block {
    width: 100%;
    height: 15rem;
    background-image: url(images/camera_back.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow:0 0 0 2000px rgba(0, 0, 0, 0.7) inset;
}

#internal_top_logo {
    background-image: url(images/pandafilm_logo_hor.svg);
    background-size: auto 10rem;
    background-position: center 5rem;
    background-repeat: no-repeat;
    width: 100%;
    height: 15rem;
    display: block;
}

.page_header_block {
    width: 100%;
    text-align: center;
    background: #000000;
    border-bottom: 2px solid #BB3F27;
    color: #ffffff;
    padding: 1rem;
    font-family: 'Oswald';
    font-size: 120%;
}


/* главная */
#main_video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100vh;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    transition: 1s opacity;

    background-image: url(images/panda_video.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#main_screen {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    width: 100%;
    height: 100vh;
}

.block_center_table {
    width: 100%;
    height: 100%;
    display: table;
}

.block_center_row {
    width: 100%;
    height: 100%;
    display: table-row;
}

.block_center_cell {
    width: 100%;
    height: 100%;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.block_center_inline {
    width: 100%;
}

.block_center_grid {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;

    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    width: 100%;
    padding-top: 1rem;
}

.block_center_left {
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    width: 30%;
}

.block_center_logo {
    width: 30%;
}

.block_center_right {
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    width: 30%;
}

#main_screen_logo {
    width: 80%;
    height: auto;
}

.block_center_textlogo {
    width: 100%;
}

.block_center_textlogo img {
    width: auto;
    height: 4rem;
}

.block_center_ul {
    width: 100%;
    margin: 0;
    padding: 0;
}

.block_center_ul li {
    list-style: none;
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #B8B8B8;
}

.block_center_ul li h2 {
    font-family: 'Oswald';
    font-size: 150%;
    color: #ffffff;
}

.block_center_ul li h2:hover {
    color: #BB3F27;
}

.align_right {
    text-align: right;
}

.align_left {
    text-align: left;
}

.block_center_li_left {
    padding-right: 4rem;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 3rem 3rem;
}

.block_center_li_right {
    padding-left: 4rem;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 3rem 3rem;
}

.block_center_teach { background-image: url(images/ico_teach.svg); }
.block_center_people { background-image: url(images/ico_people.svg); }
.block_center_corp { background-image: url(images/ico_corp.svg); }
.block_center_video { background-image: url(images/ico_video.svg); }
.block_center_rek { background-image: url(images/ico_rek.svg); }
.block_center_screen { background-image: url(images/ico_screen.svg); }
/* BB3F27 */

.block_center_call_line {
    width: 100%;
    text-align: center;
}

#block_center_call_button {
    margin: 0 auto;
    margin-top: 1rem;
    width: 15rem;
}

/* анимация на главной */
.block_center_animation_container {
    width: 100%;
    margin: 0 auto;
    max-width: 95vw;
    min-height: 6rem;
    overflow: hidden;
}

.block_center_animation {
    width: 100%;
    position: relative;
    text-align: center;
    margin-top: 1rem;
}

.block_center_animation h2 {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    font-family: 'Oswald';
    font-size: 300%;
    text-align: center;
    color: transparent;
    -webkit-animation: blurFadeInOut 3s ease-in backwards;
    -moz-animation: blurFadeInOut 3s ease-in backwards;
    -ms-animation: blurFadeInOut 3s ease-in backwards;
    animation: blurFadeInOut 3s ease-in backwards;
}

.block_center_animation h2.frame-1 {
    -webkit-animation-delay: 0s;
    -moz-animation-delay: 0s;
    -ms-animation-delay: 0s;
    animation-delay: 0s;
}
.block_center_animation h2.frame-2 {
    -webkit-animation-delay: 3s;
    -moz-animation-delay: 3s;
    -ms-animation-delay: 3s;
    animation-delay: 3s;
}
.block_center_animation h2.frame-3 {
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    -ms-animation-delay: 6s;
    animation-delay: 6s;
}
.block_center_animation h2.frame-4 {
    -webkit-animation-delay: 9s;
    -moz-animation-delay: 9s;
    -ms-animation-delay: 9s;
    animation-delay: 9s;
}
.block_center_animation h2.frame-5 {
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    animation: none;
    color: transparent;
    text-shadow: 0px 0px 1px #fff;
}
.block_center_animation h2.frame-5 span {
    -webkit-animation: blurFadeIn 3s ease-in 12s backwards;
    -moz-animation: blurFadeIn 1s ease-in 12s backwards;
    -ms-animation: blurFadeIn 3s ease-in 12s backwards;
    animation: blurFadeIn 3s ease-in 12s backwards;
    color: transparent;
    text-shadow: 0px 0px 1px #fff;
}
.block_center_animation h2.frame-5 span:nth-child(2) {
    -webkit-animation-delay: 13s;
    -moz-animation-delay: 13s;
    -ms-animation-delay: 13s;
    animation-delay: 13s;
}
.block_center_animation h2.frame-5 span:nth-child(3) {
    -webkit-animation-delay: 14s;
    -moz-animation-delay: 14s;
    -ms-animation-delay: 14s;
    animation-delay: 14s;
}



@-webkit-keyframes blurFadeInOut {
    0% {
        opacity: 0;
        text-shadow: 0px 0px 40px #fff;
        -webkit-transform: scale(1.3);
    }
    20%, 75% {
        opacity: 1;
        text-shadow: 0px 0px 1px #fff;
        -webkit-transform: scale(1);
    }
    100% {
        opacity: 0;
        text-shadow: 0px 0px 50px #fff;
        -webkit-transform: scale(0);
    }
}
@-webkit-keyframes blurFadeIn {
    0% {
        opacity: 0;
        text-shadow: 0px 0px 40px #fff;
        -webkit-transform: scale(1.3);
    }
    50% {
        opacity: 0.5;
        text-shadow: 0px 0px 10px #fff;
        -webkit-transform: scale(1.1);
    }
    100% {
        opacity: 1;
        text-shadow: 0px 0px 1px #fff;
        -webkit-transform: scale(1);
    }
}
@-webkit-keyframes fadeInBack {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
    }
    50% {
        opacity: 0.4;
        -webkit-transform: scale(2);
    }
    100% {
        opacity: 0.2;
        -webkit-transform: scale(5);
    }
}
@-webkit-keyframes fadeInRotate {
    0% {
        opacity: 0;
        -webkit-transform: scale(0) rotate(360deg);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1) rotate(0deg);
    }
}


@-moz-keyframes blurFadeInOut {
    0% {
        opacity: 0;
        text-shadow: 0px 0px 40px #fff;
        -moz-transform: scale(1.3);
    }
    20%, 75% {
        opacity: 1;
        text-shadow: 0px 0px 1px #fff;
        -moz-transform: scale(1);
    }
    100% {
        opacity: 0;
        text-shadow: 0px 0px 50px #fff;
        -moz-transform: scale(0);
    }
}
@-moz-keyframes blurFadeIn {
    0% {
        opacity: 0;
        text-shadow: 0px 0px 40px #fff;
        -moz-transform: scale(1.3);
    }
    100% {
        opacity: 1;
        text-shadow: 0px 0px 1px #fff;
        -moz-transform: scale(1);
    }
}
@-moz-keyframes fadeInBack {
    0% {
        opacity: 0;
        -moz-transform: scale(0);
    }
    50% {
        opacity: 0.4;
        -moz-transform: scale(2);
    }
    100% {
        opacity: 0.2;
        -moz-transform: scale(5);
    }
}
@-moz-keyframes fadeInRotate {
    0% {
        opacity: 0;
        -moz-transform: scale(0) rotate(360deg);
    }
    100% {
        opacity: 1;
        -moz-transform: scale(1) rotate(0deg);
    }
}


@keyframes blurFadeInOut {
    0% {
        opacity: 0;
        text-shadow: 0px 0px 40px #fff;
        transform: scale(1.3);
    }
    20%, 75% {
        opacity: 1;
        text-shadow: 0px 0px 1px #fff;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        text-shadow: 0px 0px 50px #fff;
        transform: scale(0);
    }
}
@keyframes blurFadeIn {
    0% {
        opacity: 0;
        text-shadow: 0px 0px 40px #fff;
        transform: scale(1.3);
    }
    50% {
        opacity: 0.5;
        text-shadow: 0px 0px 10px #fff;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        text-shadow: 0px 0px 1px #fff;
        transform: scale(1);
    }
}
@keyframes fadeInBack {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 0.4;
        transform: scale(2);
    }
    100% {
        opacity: 0.2;
        transform: scale(5);
    }
}
@keyframes fadeInRotate {
    0% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}


#main_works {
    width: 100%;

    padding: 2rem;
    background: #000 url(images/jobs.png) repeat;
    border-top: 1px solid #BB3F27;
}

.main_works_block {
    width: 100%;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.main_works_item {
    width: 30%;
}

.main_works_item img {
    width: 100%;

    -webkit-filter: grayscale(80%);
    -moz-filter: grayscale(80%);
    -ms-filter: grayscale(80%);
    -o-filter: grayscale(80%);
    filter: grayscale(80%);
}

.main_works_item img:hover {
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: grayscale(0%);
    transition: all 200ms;
}

.main_works_item h2 {
    width: 100%;
    text-align: center;
    font-family: 'Oswald';
}

.main_works_link {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.main_works_link a {
    color: #BB3F27;
    font-family: 'Oswald';
    font-size: 120%;
    text-decoration: underline;
}

#main_video_block {
    width: 100%;

    padding: 2rem;
    background: #000 url(images/jobs.png) repeat;
    border-top: 1px solid #BB3F27;
}

#main_promo_video {
    border: 1px solid #737373;
}

#main_choose {
    width: 100%;

    padding: 2rem;
    background: #1C1C1C;
    border-top: 1px solid #BB3F27;
}

.main_choose_header {
    width: 100%;
    color: #BB3F27;
    font-family: 'Oswald';
    font-size: 120%;
    text-align: center;
}

.main_choose_item_list li {
    margin-bottom: 1rem;
}

.main_choose_item_header {
    font-family: 'Oswald';
    font-size: 120%;
}

.main_choose_item_text {
    color: #B8B8B8;
}


#main_describe {
    width: 100%;
    background-image: url(images/camera_back.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.8) inset;
    border-top: 1px solid #BB3F27;
    padding: 2rem;

    font-size: 120%;
    color: #DEDEDE;
}

#main_describe h1 {
    color: #BB3F27;
    font-family: 'Oswald';
    font-size: 150%;
    width: 100%;
    text-align: center;
}

#main_describe h2 {
    color: #BB3F27;
    font-family: 'Oswald';
    font-size: 120%;
    width: 100%;
}

/* футер */
footer {
    width: 100%;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.4);
    color: #DEDEDE;
}

/* Основное меню */
#menu_line {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 4rem;
}

#menu_block {
    margin: 0 auto;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
}

.main_menu_item {
    height: 4rem;
    line-height: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
    color: #ffffff;
    cursor: pointer;
    font-size: 90%;
    font-family: 'Oswald';
}

.main_menu_item:hover {
    background-color: #bb3f27;
}

#main_menu_item_home {
    width: 2rem;
    height: 4rem;
    background-image: url(images/ico_home.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 1.5rem auto;
}

.menu_item_selected {
    border-bottom: 2px solid #BB3F27;
}

/* мобильное меню */
#mob_menu_button {
    display: none;
    width: 3rem;
    height: 3rem;
    background-image: url(images/menu_icon_white.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 60%;
    cursor: pointer;
    position: fixed;
    z-index: 1000;
    top: 0px;
    left: 0px;
    transition: all 400ms;
}

#left_menu {
    width: 150px;
    height: 100%;
    position: fixed;
    top: 0px;
    left: -150px;
    overflow-x: hidden;
    background: #BB3F27;
    overflow-y: auto;
    -webkit-overflow-scrolling:touch;
    transition: all 400ms;
}

.panel_menu {
    width: 100%;
    height: 100%;
    background: #BB3F27;
}

.panel_menu a {
    color: #ffffff
}

.mob_menu_item {
    display: block;
    padding: 0.8rem;
    padding-left: 1rem;
    color: #ffffff;
    background: #BB3F27;
    border-bottom: 1px solid #D2482D;
    cursor: pointer;
    font-size: 100%;
}

.mob_menu_subitems {
    display: none;
    width: 100%;
    background-color: #35536E;
}

.mob_menu_subitem {
    display: block;
    width: 100%;
    font-size: 80%;
    padding: 0.5rem;
    padding-left: 3rem;
    border-bottom: 1px solid #3C5E7C;
}

#mob_menu_item_home {
    width: 2rem;
    height: 3rem;
    background-image: url(images/ico_home.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 1.5rem auto;
}


/* чёрный чекбокс */
.black_checkbox {
    height: 2rem;
    line-height: 2rem;
    padding-left: 2rem;
    cursor: pointer;
    color: #000000;
    font-size: 90%;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 1.5rem 1.5rem;
}

.black_checkbox.checkbox_unchecked {
    background-image: url(images/ico_unchecked_b.svg)
}

.black_checkbox.checkbox_checked {
    background-image: url(images/ico_checked_b.svg)
}


/* диалог */
#dialog_overlay {
    width:100%;
    height:100%;
    position:fixed;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.5);
    z-index: 5000;
}

#dialog_window {
    position: relative;
    width: 90%;
    max-width: 30rem;
    margin: 0 auto;
    background-color: #ffffff;
    z-index: 10000;
}

#dialog_text {
    padding: 2rem;
    text-align: center;
    font-size: 100%;
    color: #000000;
}

.dialog_header {
    font-size: 120%;
    font-family: 'Oswald';
    margin-bottom: 0.5rem;
}

#dialog_body {
    text-align: center;
}

#dialog_buttons {
    position: relative;
    left: 0px;
    bottom: 0px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;

}

.dialog_button {
    height: 3rem;
    line-height: 3rem;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    flex-grow: 1;
    font-family: 'Oswald';
}

.dialog_blue_button { background-color: #1e98ff; color: #ffffff; }
.dialog_black_button { background-color: #BB3F27; color: #ffffff; }
.dialog_red_button { background-color: #BB3F27; color: #ffffff; }



/* видео */
.video_filter_block {
    width: 100%;
    text-align: center;
    background: #000000;
    border-bottom: 2px solid #BB3F27;
}

.video_filter_item {
    display: inline-block;
    padding: 1rem;
    cursor: pointer;
    font-family: 'Oswald';
    font-size: 90%;
}

.video_filter_item:hover {
    text-decoration: underline;
}

.video_filter_selected {
    background-color: #BB3F27;
}



.video_block {
    width: 100%;
    min-height: 100vh;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;

    padding: 2rem;
    background: #000 url(images/jobs.png) repeat;
}

.video_item {
    width: 25%;
    padding: 2rem;
}



.video_item_pad {
    position: relative;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;

    border: 1px solid #1C1C1C;

    /*
    -webkit-box-shadow: 0px 0px 50px 0px rgba(255, 255, 255, 0.2);
    -moz-box-shadow:    0px 0px 50px 0px rgba(255, 255, 255, 0.2);
    box-shadow:         0px 0px 50px 0px rgba(255, 255, 255, 0.2);
    */
}

.video_item_pad:hover .video_overlay {
    bottom: 0;
    height: 100%;
}

.video_image {
    display: block;
    width: 100%;
    height: auto;
    -webkit-transition: .5s;
    transition: .5s;
}

.video_overlay {
    background-color: #bb3f27;
    color: #ffffff;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    height:0;
    transition: .5s ease;
}

.video_caption {
    width: 100%;
    padding: 2rem;
    text-align: center;
    font-family: 'Oswald';
}

#video_slider_overlay {
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0,0,0,0.9);
    z-index: 50000;
    display: none;
}

.video_slider_header h2 {
    font-size: 120%;
    font-family: 'Oswald';
    color: #BB3F27;
    padding: 1rem;
}

#video_slider_table { display: table; padding: 0; margin: 0; width: 100%; }
#video_slider_row { display: table-row; padding: 0; margin: 0; width: 100%; }
#video_slider_cell {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 100%; height: 100vh;
    position: relative;
    padding: 0;
    margin: 0;

    padding-right: 4rem;
    padding-left: 4rem;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.video_slider_block {
    display: inline-block;
    width: 100%;
    height: 100%;
    position: relative;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

#video_slider_text {
    width: 100%;
    color: #ffffff;

    -webkit-order: 0;
    -ms-flex-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    -ms-flex-item-align: auto;
    align-self: auto;
}

#video_slider_screen {
    width: 100%;
    min-height: 260px;
}

#video_slider_screen iframe {
    width: 100%;
    height: 100%;
}

#video_slider_close_button {
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    top: 1rem;
    right: 1rem;
    background-image: url(images/ico_close.svg);
    background-size: 2rem 2rem;
    background-position: right top;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 35000;
}



/* контакты */
.contact_block {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;

    background-image: url(images/contacts.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 100vh;
}

.contacts_form {
    width: 48%;
    padding: 4rem;
    padding-left: 3rem;
    padding-right: 3rem;
}

.contact_teltext {
    font-family: 'Oswald';
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 120%;
}

.contact_teltext a {
    color: #ffffff;
}

.contact_label {
    font-size: 90%;
    color: #737373;
}

.contact_input {
    width: 100%;
    margin-bottom: 0.5rem;
}

.contact_input input {
    border: none;
    background: none;
    width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #3D3D3D;
    color: #ffffff;
}

.contact_input textarea {
    border: none;
    background: none;
    width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    height: 10rem;
    max-width: 100%;
    min-height: 5rem;
    max-height: 20rem;
    border-bottom: 1px solid #3D3D3D;
    color: #ffffff;
}

.contact_button {
    width: 100%;
    background-color: #BB3F27;
    color: #ffffff;
    text-align: center;
    padding: 0.5rem;
    cursor: pointer;
}

#contact_map_area {
    width: 50%;
    padding: 4rem;
}





/* окно обратного звонка */
#window_call_overlay {
    left: 0;
    top: 0;
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 4000;
    display: none;
}

#window_call_overlay_table {
    width: 100%;
    display: table;
}

#window_call_overlay_tr {
    display: table-row;
}

#window_call_overlay_td {
    display: table-cell;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    vertical-align: middle;
    text-align: center;
}

#window_call {
    display: inline-block;
    background: #ffffff;
    width: 90%;
    max-width: 540px;
    max-height: 90vh;
    padding: 20px;
    border-radius: 4px;
}

.window_call_header {
    color: #BB3F27;
    text-align: left;
    font-size: 100%;
    font-family: 'Oswald';
}

.window_call_label {
    width: 100%;
    text-align: left;
    margin-top: 20px;
    color: #737373;
}

.window_call_input {
    width: 100%;
    text-align: left;
    border: solid 1px #DEDEDE;
    border-radius: 4px;
    height: 52px;
    line-height: 52px;
    padding-left: 14px;
    font-size: 120%;
    color: #3D3D3D;
}

.window_call_textarea {
    width: 100%;
    text-align: left;
    border: solid 1px #d3dce6;
    border-radius: 4px;
    height: 80px;
    padding-left: 14px;
    font-size: 100%;
    color: #465262;
}

.window_call_buttons {
    width: 100%;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;

    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;


    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    margin-top: 32px;
}

#window_call_send {
    border-radius: 5px;
    background-color: #BB3F27;
    padding: 15px;
    padding-left: 60px;
    padding-right: 60px;
    text-align: center;
    color: #ffffff;
    font-size: 90%;
    font-family: 'Oswald';
    float: left;
    cursor: pointer;
}

#window_call_close {
    width: 24px;
    height: 24px;
    background-image: url(images/call_close.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 22px auto;
    cursor: pointer;
}


/* модальная форма */
.dark_overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    background: none;
    z-index: 5000;
    background-color: rgba(0, 0, 0, 0.5);
    display: none
}

.modal_form {
    position: fixed;
    width: 90%;
    max-width: 30rem;
    z-index: 10000;
    background-color: #F7F7F7;
    border-radius: 4px;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none
}

.modal_form_body {
    padding: 2rem
}

.modal_form_label {
    width: 100%;
    font-size: 90%;
}

.modal_form_line {
    margin-bottom: 1rem
}

.modal_form_flexline {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 1rem
}

.modal_form_flexline_label {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    text-align: right;
}

.modal_form_param {
    width: 30%;
    min-width: 8rem;
    padding-right: 1rem;
}

.modal_form_value {
    width: 70%;
}

.modal_form_value_noedit {
    width: 100%;
    height: 2.5rem;
    line-height: 2.5rem;
    border-radius: 4px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border: 1px solid #CCCCCC
}

.modal_form_input {
    width: 100%;
    height: 2.5rem;
    line-height: 2.5rem;
    border-radius: 4px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border: 1px solid #CCCCCC
}

.modal_form_textarea {
    width: 100%;
    height: 4rem;
    border-radius: 4px;
    padding: 0.5rem;
    border: 1px solid #CCCCCC
}

.modal_form_textarea_noedit {
    width: 100%;
    border-radius: 4px;
    padding: 0.5rem;
    border: 1px solid #CCCCCC
}


/* Клиенты */
.clients_block {
    width: 100%;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;


    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    background: #000 url(images/jobs.png) repeat;
    padding: 3rem;
}

.clients_item {
    width: 25%;
    padding: 1rem;
    text-align: center;
}

.clients_item img {
    max-height: 10rem;
    width: auto;
    max-width: 80%;
    margin: 0 auto;
}


/* Отзывы */
.feedback_block {
    width: 100%;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;


    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;

    background: #000 url(images/jobs.png) repeat;
    padding: 3rem;
}

.feedback_item {
    width: 25%;
    padding: 1rem;
}

.feedback_item img {
    width: 100%;
}

.clients_text {
    margin-top: 1rem;
    font-size: 120%;
    color: #DEDEDE;
}

/* виды деятельности */
.internal_page_block {
    width: 100%;
    padding: 2rem;
    background: #000 url(images/jobs.png) repeat;
    border-top: 1px solid #BB3F27;
    font-size: 120%;
    color: #DEDEDE;
}

.internal_page_block h1 {
    font-size: 200%;
    line-height: 100%;
    color: #BB3F27;
}

.internal_page_block h2 {
    font-size: 130%;
    line-height: 100%;
    color: #BB3F27;
}