/* cyrillic */
@font-face {
    font-family: 'Raleway-Bold';
    font-style: normal;
    src: url('fonts/raleway-bold.woff') format('woff');
}

/* cyrillic */
@font-face {
    font-family: 'Raleway-Regular';
    font-style: normal;
    src: url('fonts/raleway-regular.woff') format('woff');
}

/* cyrillic */
@font-face {
    font-family: 'PTSansNarrow';
    font-style: normal;
    src: url('fonts/PTSansNarrow.woff') format('woff');
}


*, *: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: #041E42;
    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; }

#global_container {
    min-width: 100%;
    min-height: 100vh;
    transition: all 400ms;
}

.red_button {
    height: 3rem;
    line-height: 3rem;
    background: #8FDBFF;
    color: #ffffff;
    font-family: 'Raleway-Bold';
    font-size: 90%;
    border-radius: 4px;
    cursor: pointer;
}

.color_main {
    color: #8FDBFF;
}



/* шапка */
#int_video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);

    background-image: url(images/peoplebest.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#int_screen {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -50;
    background: rgba(24, 29, 58, 0.3);
    color: white;
    width: 100%;
    min-height: 100vh;
}


#internal_top_logo {
    background-image: url(images/uspeh77_logo.svg);
    background-size: auto 5rem;
    background-position: center bottom;
    background-repeat: no-repeat;
    width: 100%;
    height: 12rem;
    display: block;
    margin-bottom: 1rem;
}

#internal_top_slogan {
    width: 100%;
    text-align: center;
    font-family: 'Raleway-Bold';
    font-size: 150%;
    margin-bottom: 4rem;
}


#top_block_gap {
    width: 100%;
    height: 15rem;
}

.page_line_block {
    width: 100%;
    height: 1rem;
    border-top: 2px solid #8FDBFF;
}

.page_header_block {
    width: 100%;
    text-align: center;
    color: #8FDBFF;
    padding: 1rem;
    font-family: 'Raleway-Bold';
    font-size: 200%;
}


/* главная */
#main_video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100vh;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);

    background-image: url(images/peoplebest.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#main_screen {
    color: white;
    width: 100%;
    min-height: 100vh;
}

.block_center_table {
    width: 100%;
    min-height: 100vh;
    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_logo {
    width: 100%;
    height: 14vh;
}

#main_screen_logo {
    width: auto;
    height: 100%;
}

.block_center_slogan {
    width: 100%;
    text-align: center;
    font-family: 'Raleway-Bold';
    font-size: 250%;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.block_center_tel {
    width: 100%;
    text-align: center;
    font-family: 'Raleway-Bold';
    font-size: 170%;
}

.block_center_text {
    width: 100%;
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    font-size: 150%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
}


/* о компании */
.about_block {
    font-size: 130%;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.about_block img {
    width: 100%;
    border-radius: 1rem;
}

.about_block_top {
    width: 100%;
    font-family: 'Raleway-Bold';
    font-size: 120%;
    margin-bottom: 2rem;
}


/* футер */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.3);
    color: #DEDEDE;
}

.footer_gap {
    width: 100%;
    height: 10rem;
}

/* Основное меню */
#menu_line {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    height: 4rem;
    border-bottom: 2px solid rgba(255, 255, 255, 1);
    transition: all 500ms;
}

#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: 0.7rem;
    padding-right: 0.7rem;
    color: #ffffff;
    cursor: pointer;
    font-size: 90%;
    font-family: 'Raleway-Regular';
}

.main_menu_item:hover {
    background-color: #8FDBFF;
}

.menu_item_selected {
    border-bottom: 2px solid #8FDBFF;
}

#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;
}

#main_menu_item_youtube {
    width: 4.6rem;
    height: 4rem;
    background-image: url(images/ico_youtube.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 1rem;
}

#main_menu_item_facebook {
    width: 5.2rem;
    height: 4rem;
    background-image: url(images/ico_facebook.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 1rem;
}


/* мобильное меню */
#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;
    overflow-y: auto;
    -webkit-overflow-scrolling:touch;
    transition: all 400ms;
}

.panel_menu {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 6, 0.3);
}

.panel_menu a {
    color: #ffffff
}

.mob_menu_item {
    display: block;
    padding: 0.8rem;
    padding-left: 1rem;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    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;
}

#mob_menu_item_youtube {
    width: 4.6rem;
    height: 2rem;
    background-image: url(images/ico_youtube.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 1rem;
}

#mob_menu_item_facebook {
    width: 5.2rem;
    height: 2rem;
    background-image: url(images/ico_facebook.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 1rem;
}


/* чёрный чекбокс */
.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: 'Raleway-Bold';
    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: 'Raleway-Bold';
}

.dialog_blue_button { background-color: #1e98ff; color: #ffffff; }
.dialog_black_button { background-color: #8FDBFF; color: #ffffff; }
.dialog_red_button { background-color: #8FDBFF; color: #ffffff; }



/* контакты */
.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;
}

.contacts_block_left {
    width: 50%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 0rem;
    padding-right: 2rem;
}

.contacts_block_right {
    width: 50%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left: 2rem;
    padding-right: 0rem;
}

.contact_teltext {
    font-family: 'Raleway-Bold';
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 120%;
}

.contact_teltext a {
    color: #ffffff;
}

.contact_label {
    font-size: 90%;
    color: #ffffff;
}

.contact_input {
    width: 100%;
    margin-bottom: 0.5rem;
}

.contact_input input {
    border: none;
    background: rgba(255,255,255,0.1);
    width: 100%;
    padding: 0.5rem;
    color: #ffffff;
    border-radius: 4px;
}

.contact_input textarea {
    border: none;
    background: rgba(255,255,255,0.1);
    width: 100%;
    padding: 0.5rem;
    height: 10rem;
    max-width: 100%;
    min-height: 5rem;
    max-height: 20rem;
    border-radius: 4px;
    color: #ffffff;
}

.contact_button {
    width: 100%;
    background-color: #8FDBFF;
    color: #ffffff;
    text-align: center;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Raleway-Bold';
}

#contact_map_area {
    width: 100%;
    height: 326px;
    opacity: 0.7;
}

.contact_map_marker {
    width: 30px;
    margin-left: -15px;
    margin-top: -15px;
}

#contact_social_block {
    width: 100%;
    text-align: left;
}


#contact_social_youtube {
    display: inline-block;
    width: 7rem;
    height: 3rem;
    background-image: url(images/ico_youtube.svg);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: auto 1.5rem;
    margin-right: 1rem;
}

#contact_social_facebook {
    display: inline-block;
    width: 8rem;
    height: 3rem;
    background-image: url(images/ico_facebook.svg);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: auto 1.5rem;
}


/* Партнёры */
.partners_block {
    width: 100%;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;

    -webkit-justify-content: space-between;
    justify-content: space-between;

    margin-top: 2rem;
}

.partner_item {
    width: 23%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 2rem;
}

.partner_logo {
    width: 100%;
    margin-bottom: 1rem;
}

.partner_logo img {
    width: 100%;
    margin-bottom: 1rem;
}

.partner_text {
    text-align: left;
}


/* Услуги */
.service_header {
    font-size: 150%;
    font-family: 'Raleway-Bold';
    margin-bottom: 1rem;
}

.service_text {
    text-align: left;
    font-size: 140%;
}
