html, body {
    width: 100%; height: 100%;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}

.wrap { margin: auto 5%; }

h1, h2, h3, h4, h5, h6 { font-family: 'Roboto', sans-serif; }

h1 {
    position: relative;
    font-size: 45px;
    line-height: 90px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

h2 { font-size: 40px; line-height: 70px; }
h3 { font-size: 35px; line-height: 60px; }
h4 { font-size: 30px; line-height: 50px; }
h5 { font-size: 20px; line-height: 30px; }
h6 { font-size: 15px; line-height: 30px; }

.box_about,
.box_about_job,
.box_advantages,
.box_services,
.box_licenses,
.box_contacts {
    color: #0e1230;
    background: #fff;
    border-top: #b33434 solid 90px;
}

.h1_right {
    width: 540px;
    margin: -90px 0 0 auto;
}

.h1_left { 
    width: 540px;
    margin: -90px auto 0 0; 
}

.h1_right::after,
.h1_left::after {
    content: "";
    position: absolute;
    top: 90px; left: 0;
    border-top: 80px solid #b33434;
	border-left: 270px solid transparent;
	border-right: 270px solid transparent;
}

.red_form {
    background: #b33434;
    text-align: center;
    padding: 15px 0 25px;
}

.red_form p { font-size: 12px; line-height: 16px; margin-top: 30px; }

/*** ЗАГРУЗКА И УВЕДОМЛЕНИЯ ***/
#loadBar { display: inline-block; }

#loadBar .load {
    font-weight: 100;
    display: flex;
	justify-content: center;
	align-items: center;
    flex-wrap: wrap;
    align-content: space-between;
    margin: 10px 20px;
    padding: 5px 35px;
    border-radius: 3px;
}

#loadBar .load .errors { width: 100%; }

#loadBar .load span { font-weight: 300; }

.spinner {
    /* Size and position */
    font-size: 25px;
    /* 1em */
    width: 1em;
    height: 1em;
    margin-right: 15px;
    position: relative;
    /* Styles */
    list-style: none;
    border-radius: 50%;
    border: .01em solid rgba(150, 150, 150, 0.1);
    /* Линия по которой катаются круги */
}

.spinner li {
    width: .2em;
    height: .2em;
    position: absolute;
    border-radius: 50%;
}

.spinner li:nth-child(1) {
    background: #40C4FF;
    /* Blue */
    top: 0;
    left: 50%;
    margin-left: -.1em;
    /* Width/2 */
    transform-origin: 50% 250%;
    animation: rota 1.13s linear infinite,
    opa 3.67s ease-in-out infinite alternate;
}

.spinner li:nth-child(2) {
    background: #EEFF41;
    /* Red */
    top: 50%;
    right: 0;
    margin-top: -.1em;
    /* Height/2 */
    transform-origin: -150% 50%;
    animation: rota 1.86s linear infinite,
    opa 4.29s ease-in-out infinite alternate;
}

.spinner li:nth-child(3) {
    background: #FFAB40;
    /* Yellow */
    bottom: 0;
    left: 50%;
    margin-left: -.1em;
    /* Width/2 */
    transform-origin: 50% -150%;
    animation: rota 1.45s linear infinite,
    opa 5.12s ease-in-out infinite alternate;
}

.spinner li:nth-child(4) {
    background: #88C100;
    /* Green */
    top: 50%;
    left 0;
    margin-top -.1em;
    /* Height/2 */
    transform-origin: 250% 50%;
    animation: rota 1.72s linear infinite,
    opa 5.25s ease-in-out infinite alternate;
}


@keyframes rota {
    to { transform: rotate(360deg); }
}

@keyframes opa {
    12.0% { opacity: 0.80; }
    19.5% { opacity: 0.88; }
    37.2% { opacity: 0.64; }
    40.5% { opacity: 0.52; }
    52.7% { opacity: 0.69; }
    60.2% { opacity: 0.60; }
    66.6% { opacity: 0.52; }
    70.0% { opacity: 0.63; }
    79.9% { opacity: 0.60; }
    84.2% { opacity: 0.75; }
    91.0% { opacity: 0.87; }
}






/*****  ОБЩИЕ ШАПКА И ПОДВАЛ  *****/
/***  ШАПКА  ***/
.empty_header { height: 110px; background: #b33434; }

header {
    height: 110px;
    width: 100%;
    z-index: 1000;
    color: #fff;
    position: fixed;
    transition: all 0.5s ease;
}

header.sticky {
    color: #0e1230;
    background: rgba(255, 255, 255, .95);
    transition: all 0.5s ease;
}

header .wrap {
    height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

header .logo_img {
    width: 80px; height: 86px;
    background: url(../images/logo.svg) center center no-repeat;
    background-size: cover;
}

header .logo_name {
    margin-left: 10px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 22px;
    font-weight: 500;
}

header ul.menu li { display: inline-block; }

header ul.menu li a { 
    padding: 7px 20px; 
    margin: 0 5px; 
    border-bottom: 2px solid rgba(0,0,0,0);
}
header ul.menu li a:hover,
header ul.menu li a.active { color: #fff; border-bottom: 2px solid #fff; }

header.sticky ul.menu li a:hover,
header.sticky ul.menu li a.active { color: #0e1230; border-bottom: 2px solid #0e1230; }

header ul.info li {
    text-align: center;
    line-height: 25px;
}

header ul.info li:nth-child(2) { font-size: 20px; font-weight: 500; }
header ul.info li:nth-child(3) { font-size: 14px; }

header #open_menu,
header #close_menu {
    display: none;
    font-size: 30px;
    padding: 15px;
}

/* МОБИЛЬНОЕ МЕНЮ */
#blackout {
    display: none;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(14, 18, 48, .97);
    z-index: 888;
    overflow: auto;
}

#window {
    display: none;
    z-index: 999;
    width: 100%;
    position: fixed;
    top: 150px; left: 0;
    text-align: center;
}

#window .menu li a {
    display: block;
    padding: 12px 15px;
    margin: 10px 30%;
    font-size: 22px;
    border-bottom: 1px solid rgba(0,0,0,0);
}

#window .menu li a:hover,
#window .menu li a.active { color: #b33434; font-weight: 500; }


/***  ПОДВАЛ  ***/
footer {
    background: #0e1230;
    padding: 35px 0;
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    align-content: space-between;
}

footer .fa { margin-right: 10px; }

footer .logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer .logo_img {
    width: 110px; height: 118px;
    background: url(../images/logo.svg) center center no-repeat;
    background-size: cover;
}

footer .logo_name {
    font-weight: 500;
    margin-top: 10px;
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
    text-align: center;
}

footer ul.menu li a {
    display: block;
    padding: 7px 12px;
}
footer ul.menu li a:hover, .author:hover { color: #b33434; }

footer ul.info li { line-height: 25px; }

footer .map {
    width: 420px; height: 200px;
    background: #fff;
    margin-left: -100px;
}










/*****  СТРАНИЦА INDEX.PHP  *****/
/***  ИНФОРМАЦИЯ  ***/
.box_welcome {
    width: 100%; height: 100%; min-height: 700px; 
    overflow: hidden;
}

.box_welcome video { 
    position: fixed; 
    top: 0; right: 0; bottom: 0; left: 0;
    height: 150%;
    z-index: -1; 
}

.box_info {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(14,18,48,.8);
    width: 100%; height: 100%; min-height: 700px; 
}

.box_info .info {
    position: absolute;
    top: 110px; left: 0;
    width: 60%; height: calc(100% - 110px);
    padding-left: 11%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box_info .name,
.box_info .text,
.box_info .buttons {
    margin: 30px 0;
    width: 100%;
}

.box_info .name {
    font-weight: 500;
    font-size: 60px;
    line-height: 70px;
}

.box_info .name span {
    font-size: 90px;
    line-height: 100px;
}

.box_info .text {
    font-size: 20px;
    line-height: 30px;
}

.buttons { 
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    align-content: space-between; 
}

.upload { justify-content: center !important; align-items: center !important; }

.upload span {
    font-size: 14px;
    line-height: 16px;
    width: 50%;
    margin: 5px;
}

.box_info .client_btn,
.box_info .job_btn {
    padding: 12px 0;
    width: 262px;
    text-align: center;
    margin: 10px 0;
}

.box_info .client_btn {
    color: #0E1230;
    background: #fff;
    border: #fff solid 2px; 
}
.box_info .client_btn:hover {
    color: #fff;
    background: #b33434;
    border: #b33434 solid 2px;
}

.box_info .job_btn { border: #fff solid 2px; }
.box_info .job_btn:hover {
    background: #b33434;
    border: #b33434 solid 2px;
}


.cont{ position: relative; top: calc(100% + 20px); }

.mouse {
    border: 2px solid #ffffff;
    border-radius: 13px;
    bottom: 40px;
    display: block;
    height: 46px;
    left: 50%;
    margin: 0 auto 0 -26px;
    position: absolute;
    width: 26px;
    opacity: .3;
}

.mouse span {
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-name: scroll;
    background: none repeat scroll 0 0 #ffffff;
    border: 1px solid transparent;
    border-radius: 4px;
    display: block;
    height: 4px;
    margin: 6px auto;
    width: 4px;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0px);
    }
    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}





/***  О НАС  ***/
.box_about { border-top-color: #0e1230; }

.box_about h1::after { border-top-color: #0e1230; }

.box_about .text,
.box_about_job .text {
    font-size: 18px;
    line-height: 28px;
    padding: 90px 0;
}

.box_about p,
.box_about_job p { margin: 10px 0; }


/***  ПРЕИМУЩЕСТВА  ***/
.box_advantages h1::after {
    top: -80px;
    border-top: none;
    border-bottom: 80px solid #b33434;
}

.box_advantages .tasks { padding: 50px 0; }

.box_advantages .task {
    text-align: center; 
    padding: 10px; 
}

.box_advantages .task .icon { 
    margin: 0 auto 15px; 
    width: 80px; height: 80px; 
}

.box_advantages .task .icon1 { background: url(../images/icon_1.svg) center center no-repeat; background-size: cover; }
.box_advantages .task .icon2 { background: url(../images/icon_2.svg) center center no-repeat; background-size: cover; }
.box_advantages .task .icon3 { background: url(../images/icon_3.svg) center center no-repeat; background-size: cover; }
.box_advantages .task .icon4 { background: url(../images/icon_4.svg) center center no-repeat; background-size: cover; }
.box_advantages .task .icon5 { background: url(../images/icon_5.svg) center center no-repeat; background-size: cover; }
.box_advantages .task .icon6 { background: url(../images/icon_6.svg) center center no-repeat; background-size: cover; }
.box_advantages .task .icon7 { background: url(../images/icon_7.svg) center center no-repeat; background-size: cover; }
.box_advantages .task .icon8 { background: url(../images/icon_8.svg) center center no-repeat; background-size: cover; }

.box_advantages .task p { line-height: 20px; }










/*****  СТРАНИЦА SERVICES.PHP  *****/
/***  УСЛУГИ  ***/
.box_services .services {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: space-between;
    padding-top: 100px;
}

.box_services .service {
    width: 25%;
    text-align: center;
    padding: 10px 5px 40px;
}

.box_services .services li {
    font-size: 14px;
    line-height: 18px;
}

.box_services .services .icon { 
    margin: 0 auto 15px; 
    width: 80px; height: 80px; 
}

.box_services .services .icon9 { background: url(../images/icon_9.svg) center center no-repeat; background-size: cover; }
.box_services .services .icon10 { background: url(../images/icon_10.svg) center center no-repeat; background-size: cover; }
.box_services .services .icon11 { background: url(../images/icon_11.svg) center center no-repeat; background-size: cover; }
.box_services .services .icon12 { background: url(../images/icon_12.svg) center center no-repeat; background-size: cover; }
.box_services .services .icon13 { background: url(../images/icon_13.svg) center center no-repeat; background-size: cover; }
.box_services .services .icon14 { background: url(../images/icon_14.svg) center center no-repeat; background-size: cover; }
.box_services .services .icon15 { background: url(../images/icon_15.svg) center center no-repeat; background-size: cover; }
.box_services .services .icon16 { background: url(../images/icon_16.svg) center center no-repeat; background-size: cover; }

.box_services .box_principles {
    text-align: center;
    background: #0e1230;
    color: #fff;
    padding: 25px 0;
}

.box_services .box_principles h2 {
    display: inline-block;
    text-transform: uppercase;
}

.box_services .principles {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: space-between;
}

.box_services .principles .task {
    line-height: 23px;
    text-align: center;
    width: 25%;
    padding: 25px 10px;
}


.box_services .task .icon { 
    background: #fff;
    margin: 0 auto 15px; 
    width: 80px; height: 80px;
    border-radius: 50%;
    position: relative;
}

.box_services .task .icon1::after,
.box_services .task .icon2::after,
.box_services .task .icon3::after,
.box_services .task .icon4::after {
    color: #0e1230;
    position: absolute;
    top: 0; left: 0;
    line-height: 80px;
    width: 80px; height: 80px;
    font-size: 60px;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
}

.box_services .task .icon1::after { content: "1"; }
.box_services .task .icon2::after { content: "2"; }
.box_services .task .icon3::after { content: "3"; }
.box_services .task .icon4::after { content: "4"; }

.box_services .task p { margin-top: 15px; }










/*****  СТРАНИЦА LICENSES.PHP  *****/
/***  ЛИЦЕНЗИИ  ***/
.box_licenses .licenses {
    padding: 90px 25% 90px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    align-content: space-between;
}

.box_licenses .licenses img { width: 49%; margin: 40px 0 0 0;}










/*****  СТРАНИЦА CONTACTS.PHP  *****/
/***  КОНТАКТЫ  ***/
.box_contacts span { font-weight: 500; }

.box_contacts .map { height: 400px; }

.box_contacts .main_adress {
    text-align: center;
    background: #b33434;
    color: #fff;
    padding: 25px 0;
}

.box_contacts .main_adress h2 {
    display: inline-block;
    text-transform: uppercase;
}

 .box_contacts .info_adress {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-content: space-between;
    padding: 25px 0 20px;
}

.box_contacts .info_adress ul {
    line-height: 23px;
    text-align: left;
    margin: 0 20px;
}

.box_contacts .extra_adress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    align-content: space-between;
    padding: 40px 0;
}

.box_contacts .extra_adress li {
    font-size: 15px;
    line-height: 22px;
}










/************ АДАПТИВНЫЕ СТИЛИ ************/

/***** ДЛЯ ЭКРАНОВ МЕНЬШЕ 1440px *****/
@media screen and (max-width:1439px) {

    .wrap { margin: auto 4%; }
    
    /***  ШАПКА  ***/
    .empty_header { height: 100px; }
    header ul.menu li a { padding: 7px 14px; }
    header { height: 100px; }
    
    /***  ИНФОРМАЦИЯ  ***/
    .box_info .info { width: 75%; top: 100px; height: calc(100% - 100px); }
    .box_info .name, .box_info .text, .box_info .buttons { margin: 20px 0; }
    .box_info .name { font-size: 55px; line-height: 65px; }
    .box_info .name span { font-size: 80px; line-height: 90px; }
    .box_info .text { font-size: 18px; line-height: 25px; }
    
    /***  КОНТАКТЫ  ***/
    .box_contacts .extra_adress li { font-size: 14px; }
    
    /***  ПОДВАЛ  ***/
    footer .fa { margin-right: 7px; }
    footer .map { width: 330px; margin-left: -20px; }
    
}




/***** ДЛЯ ЭКРАНОВ МЕНЬШЕ 1024px *****/
@media screen and (max-width:1023px) {
    
    h1 { font-size: 42px; line-height: 84px; }
    h2 { font-size: 37px; line-height: 64px; }
    h3 { font-size: 32px; line-height: 54px; }
    h4 { font-size: 27px; line-height: 44px; }
    .h1_right { margin: -84px 0 0 auto; }
    .h1_left { margin: -84px auto 0 0; }
    .h1_right::after, .h1_left::after { top: 84px; }
    
    /***  ШАПКА  ***/
    .empty_header { height: 80px; }
    header ul.info { display: none;}
    header .logo_img { width: 60px; height: 65px; }
    header .logo_name { font-size: 14px; line-height: 18px; }
    header { height: 80px; }
    
    /***  ИНФОРМАЦИЯ  ***/
    .box_welcome, .box_info { min-height: 550px; }
    .box_info .info { top: 80px; width: 100%; height: calc(100% - 80px); padding-right: 11%; }
    .box_info .name { font-size: 50px; line-height: 60px; }
    .box_info .name span { font-size: 70px; line-height: 80px; }
    
    /***  О НАС  ***/
    .box_about .text, .box_about .text_job { font-size: 17px; line-height: 25px; }    
    
    /***  ПРЕИМУЩЕСТВА  ***/
    .box_advantages .tasks { padding: 30px 0; }
    
    /***  УСЛУГИ  ***/
    .box_services .service, .box_services .principles .task { width: 50%; }
    
    /*** ЛИЦЕНЗИИ  ***/
    .box_licenses .licenses { padding-right: 15%; }
    
    /***  КОНТАКТЫ  ***/
    .box_contacts .map { height: 350px; }
    .box_contacts .info_adress ul { font-size: 15px; line-height: 22px; }
    .box_contacts .extra_adress { padding: 30px 0; }
    .box_contacts .adress { width: 50%; text-align: center; margin: 15px 0; }
    
    /***  ПОДВАЛ  ***/
    footer { padding: 25px 0; }
    footer .map { display: none; }
    
}


/***** ДЛЯ ЭКРАНОВ МЕНЬШЕ 768px *****/
@media screen and (max-width:767px) {
    
    .wrap { margin: auto 5%; }
    h1 { font-size: 40px; line-height: 80px; }
    h2 { font-size: 35px; line-height: 60px; }
    h3 { font-size: 30px; line-height: 50px; }
    h4 { font-size: 25px; line-height: 40px; }
    h5 { font-size: 18px; line-height: 27px; }
    h6 { font-size: 13px; line-height: 20px; }
    .h1_right { width: 320px; margin: -80px 0 0 auto; }
    .h1_left { width: 320px; margin: -80px auto 0 0; }
    .h1_right::after, .h1_left::after { top: 80px; border-left-width: 160px; border-right-width: 160px; border-top-width: 50px; }
    #loadBar .load { margin: 10px; padding: 5px 20px; }
    .red_form { padding: 20px 0; }
    .red_form h1 { line-height: 50px; }
    .red_form p { margin-top: 20px; }
    
    /***  ШАПКА  ***/
    header ul.menu { display: none; }
    header #open_menu { display: block; }
    
    /***  ИНФОРМАЦИЯ  ***/
    .box_welcome, .box_info { min-height: 800px; }
    .box_welcome .box_info .video { position: fixed; top: 0; left 0; width: 100%; height: 100%; z-index: -1; background: url(../images/bg.png) center center no-repeat; background-size: cover; }
    .box_welcome video { display: none; }
    .box_info .name { font-size: 45px; line-height: 55px; }
    .box_info .name span { font-size: 65px; line-height: 75px; }
    .box_info .text { font-size: 16px; line-height: 23px; }
    .cont { display: none; }
    
    /***  О НАС  ***/
    .box_about .text, .box_about_job .text { padding: 60px 1%; font-size: 16px; }  
    
     /***  ПРЕИМУЩЕСТВА  ***/
    .box_advantages h1::after { top: -60px; border-bottom-width: 50px; }
    .box_advantages .task p, .box_principles .task p { font-size: 14px; line-height: 18px; }
    
    /***  УСЛУГИ  ***/
    .box_services .service, .box_services .principles .task { width: 100%; }
    
    /***  ЛИЦЕНЗИИ  ***/
    .box_licenses .licenses { padding: 60px 0; text-align: center; justify-content: center; } 
    .box_licenses .licenses img { width: 80%; margin: 25px 0 0;}
    
    /***  КОНТАКТЫ  ***/
    .box_contacts .map { height: 300px; }
    .box_contacts .main_adress { padding: 15px 0; }
    .box_contacts .info_adress { padding: 10px 0 5px; }
    .box_contacts .info_adress ul { text-align: center; margin: 10px; }
    .box_contacts .extra_adress { padding: 20px 0; }
    .box_contacts .adress { width: 100%; }
    
    /***  ПОДВАЛ  ***/
    footer { padding: 15px 0; }
    footer .wrap { justify-content: space-around; }
    footer a.logo, footer ul { margin: 15px 0; }
    footer ul.info li { text-align: center; }
    
}