@import url('https://fonts.googleapis.com/css?family=Oswald|Roboto&display=swap');

@import url('https://fonts.googleapis.com/css?family=Rubik:300,400&display=swap');

@import url('https://fonts.googleapis.com/css?family=Comfortaa&display=swap');

@import url('https://fonts.googleapis.com/css?family=Cuprum&display=swap');

/*----------- Общие настройки -----------*/

body {
    font-family: "Comfortaa";
    font-weight: 300;
    font-size: 12px;
    color: #000;
    background-color: #fcfcfc;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touth;
}

a {
    text-decoration: none;
}

a:hover {
    font-family: "Comfortaa";
    text-decoration: none;
}

p {
    font-family: "Rubik";
    font-weight: 100;
    font-size: 16px;
    margin: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cuprum";
    letter-spacing: 2px;
    text-align: center;
    padding: 0px;
    margin: 0px;
}

h2 {
    font-size: 42px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 22px;
}

/*transition: all 0.3s ease;*/


/*
.si-1 {
    background: url(../img/aq11.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}
*/
/*

color: #e50078;
color: #17a8e1;
*/


/*----------------*/

.block-home {
    overflow: hidden;
    position: relative;
    min-height: 740px;
    width: 100%;
}

.block-home > video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.overlay {
    /*    background: rgba(23, 168, 225, 0.4);*/
    background: linear-gradient(to top left, rgba(23, 168, 225, 0.5), rgba(0, 0, 0, 0.9));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.box-home {
    width: 100%;
    min-height: 600px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: flex-start;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    z-index: 100;
}

.home-header {
    width: 100%;
    min-height: 60px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 6px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #fff;
}

.header-item {
    max-width: 900px;
    min-height: 60px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

nav > a {
    margin-left: 16px;
    margin-right: 16px;
    font-size: 16px;
    color: #17a8e1;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.3s ease;
    z-index: 10;
}

nav > a:hover {
    color: #e50078;
}

.home-contact {
    width: 300px;
    min-height: 60px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: flex-end;
    align-items: flex-end;
    flex-wrap: wrap;
}

.home-contact > span {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-end;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.home-contact > span > i {
    font-size: 16px;
    color: #e50078;
    margin-right: 10px;
}

.home-contact > span > p {
    font-size: 14px;
    color: #000;
}


.home-content {
    width: 100%;
    min-height: 600px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.home-content > h1 {
    font-size: 86px;
    color: #fff;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}

.home-content > h1 > span {
    color: #e50078;
}

.home-content > p {
    font-size: 28px;
    color: #fff;
    margin-bottom: 40px;
}

.home-content > a {
    width: 240px;
    min-height: 52px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 18px;
    color: #fff;
    background-color: #e50078;
    margin-left: 30px;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.home-content > a:hover {
    background-color: #17a8e1;
}


.sub_title {
    margin-top: 32px;
    color: #fff;
    font-size: 16px;
}

/*------- ng_banner --------*/

.ng_banner {
    width: 100%;
    min-height: 300px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;

    padding-left: 32px;
    padding-right: 32px;

    background: url(../img/ng.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.ng_banner > h3 {
    margin-top: 32px;
}

.ng_banner > a {
    width: 240px;
    min-height: 52px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 18px;
    color: #fff;
    background-color: #e50078;
    margin-left: 30px;
    margin-right: 20px;
    transition: all 0.3s ease;
    margin-top: 32px;
}

/*---------------*/

.block-about {
    width: 100%;
    min-height: 600px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    background-color: #efefef;
}

.block-about-item {
    width: 40%;
    min-height: 400px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: flex-start;
    align-items: flex-start;
    padding: 10px;
}

.block-about-item > h2 {
    font-size: 48px;
    text-align: left;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
}

.block-about-item > p {
    font-size: 18px;
    text-align: left;
    color: #656565;
    margin-bottom: 30px;
}


.block-about-item > a {
    width: 60%;
    min-height: 60px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;

    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background-color: #17a8e1;
    border-radius: 30px;
    transition: all 0.5s ease;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.block-about-item > a:hover {
    background-color: #e50078;
}

.about-pic {
    width: 100%;
    min-height: 400px;
    background: url(../img/222.png) no-repeat;
    background-size: cover;
    background-position: center;
}


/*---------------*/

.block-serv-first {
    width: 100%;
    min-height: 600px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.block-serv-first-item {
    width: 33.3%;
    min-height: 600px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.block-serv-first-item-tonir {
    width: 100%;
    min-height: 600px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    transition: all 0.5s ease;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.4);
}

.block-serv-first-item-tonir:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.block-serv-first-item-tonir > h3 {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.5;
}

.block-serv-first-item-tonir > p {
    width: 80%;
    text-align: center;
    color: #fff;
}

.block-serv-first-item-tonir > a {
    width: 240px;
    min-height: 48px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
    color: #fff;
    border: 2px solid #fff;
    margin-top: 20px;
    transition: all 0.5s ease;
}

.block-serv-first-item-1 {
    background: url(../img/serv-fon-1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.block-serv-first-item-2 {
    background: url(../img/serv-fon-2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.block-serv-first-item-3 {
    background: url(../img/serv-fon-3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}


/*--------------------*/

.block-command {
    width: 100%;
    min-height: 600px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    background: url(../img/command-fon-1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


.block-command-tonir {
    width: 100%;
    min-height: 600px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.95);
}

.block-command-tonir > h2 {
    width: 80%;
    font-size: 42px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.block-command-tonir > p {
    width: 80%;
    font-size: 22px;
    text-align: left;
}

/*---------------------*/


.name-gallery {
    width: 100%;
    min-height: 160px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.name-gallery > h2 {
    font-size: 300%;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 0 2px rgba(0, 0, 0, .3);
}

h2 .span-color-1 {
    color: #17a8e1;
}

h2 .span-color-2 {
    color: #e50078;
}

.block-gallery {
    width: 100%;
    min-height: 200px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.gallery-bottom {
    width: 100%;
    min-height: 160px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
}

.gallery-bottom > a {
    width: 300px;
    min-height: 60px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    text-transform: uppercase;
    letter-spacing: 2px;

    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background-color: #17a8e1;
    border-radius: 30px;
    transition: all 0.5s ease;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.gallery-bottom > a:hover {
    background-color: #e50078;
}


.popup-gallery {
    width: 100%;
    min-height: 200px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.gallery-item {
    width: 25%;
    min-height: 300px;
    transition: all 0.5s ease;
}

.gallery-item:hover {
    opacity: 0.7;
}

.g-t-1 {
    background: url(../img/tim/1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-2 {
    background: url(../img/tim/2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-3 {
    background: url(../img/tim/3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-4 {
    background: url(../img/tim/4.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-5 {
    background: url(../img/tim/5.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-6 {
    background: url(../img/tim/6.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-7 {
    background: url(../img/tim/7.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-8 {
    background: url(../img/tim/8.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-9 {
    background: url(../img/tim/9.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-10 {
    background: url(../img/tim/10.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-11 {
    background: url(../img/tim/11.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-12 {
    background: url(../img/tim/12.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-13 {
    background: url(../img/tim/13.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-14 {
    background: url(../img/tim/14.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-15 {
    background: url(../img/tim/15.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-t-16 {
    background: url(../img/tim/16.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

/*-------------------------------------*/

.g-p-1 {
    background: url(../img/pr/1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-p-2 {
    background: url(../img/pr/2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-p-3 {
    background: url(../img/pr/3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-p-4 {
    background: url(../img/pr/4.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}


/*-------------------------------------*/


.g-d-1 {
    background: url(../img/deti/1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-d-2 {
    background: url(../img/deti/2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-d-3 {
    background: url(../img/deti/3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-d-4 {
    background: url(../img/deti/4.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-d-5 {
    background: url(../img/deti/5.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-d-6 {
    background: url(../img/deti/6.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-d-7 {
    background: url(../img/deti/7.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.g-d-8 {
    background: url(../img/deti/8.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

/*-----------------------*/

.block-scheme {
    width: 100%;
    min-height: 800px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    background: url(../img/scheme-fon-2.jpg) repeat;
    background-size: contain;
    background-position: center;
    background-attachment: fixed;
}

.block-scheme-tonir {
    width: 100%;
    min-height: 800px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    padding-top: 160px;
    padding-bottom: 120px;
    background: linear-gradient(to top, rgba(229, 0, 120, 0.8), rgba(23, 168, 225, 0.8));
}

.block-scheme-tonir > h2 {
    width: 60%;
    text-align: left;
    font-weight: 600;
    font-size: 52px;
    color: #fff;
    margin-bottom: 120px;
}

.box-scheme {
    width: 60%;
    min-height: 800px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: flex-start;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #fff;
}

.box-scheme-item {
    width: 100%;
    min-height: 200px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #fff;
}

.scheme-namber {
    width: 20%;
    min-height: 200px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-start;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    margin-right: 20px;
}

.scheme-namber > span {
    font-size: 54px;
    color: #fff;
    letter-spacing: 5px;
    font-family: "Cuprum";
}

.scheme-content {
    width: 70%;
    min-height: 200px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.scheme-content > h4 {
    font-size: 32px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
}

.scheme-content > p {
    text-align: left;
    font-size: 18px;
    color: #fff;
}

/*-------------------*/

.block-mail {
    width: 100%;
    min-height: 480px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    background: linear-gradient(to top left, rgba(229, 0, 120, 0.8), rgba(23, 168, 225, 0.8));
    /*
    transform: skewY(2deg);
    margin-top: 40px;
    margin-bottom: 40px;
*/
}

.block-mail-item {
    width: 40%;
    min-height: 600px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.block-mail-item > h2 {
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 54px;
    text-transform: uppercase;
}

.block-mail-item > form {
    width: 100%;
    min-height: 480px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
}

.block-mail-item > form > input {
    width: 60%;
    min-height: 48px;
    margin-bottom: 20px;
    border-radius: 20px;
    border: none;
    padding: 4px;
    padding-left: 10px;
    font-size: 16px;
}

.block-mail-item > form > span {
    width: 60%;
    min-height: 48px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #fff;
}

.block-mail-item > form > button {
    width: 60%;
    min-height: 40px;
    border-radius: 20px;
    border: none;
    padding: 4px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0);
    color: #fff;
    border: 2px solid #e50078;
    transition: all 0.2s ease;
}

.block-mail-item > form > button:hover {
    border: 2px solid #17a8e1;
}

/*--------------------*/

.block-contact {
    width: 100%;
    min-height: 480px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.block-contact-item {
    width: 50%;
    min-height: 480px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    background-color: #17a8e1;
}

.bci2 {
    padding-left: 120px;
}

.block-contact-item > h2 {
    text-align: left;
    font-weight: 600;
    font-size: 42px;
    color: #fff;
}

.block-contact-item > hr {
    width: 100px;
    border-top: 6px solid #fff;
    margin: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.block-contact-item > span {
    text-align: left;
    font-size: 22px;
    color: #fff;
    margin-bottom: 10px;
}

.block-contact-item > p {
    text-align: left;
    color: #fff;
}

/*--------------*/

footer {
    width: 100%;
    min-height: 30px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-end;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding-right: 20px;
}


/*---------- Serv ----------*/

.header-second {
    width: 100%;
    min-height: 60px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 6px;
    padding-right: 40px;
    padding-left: 40px;
    background-color: rgba(255, 255, 255, 0.99);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
}

.nav-second > a {
    margin-right: 10px;
    margin-left: 10px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    color: #17a8e1;
    letter-spacing: 2px;
}

.block-serv-home {
    width: 100%;
    min-height: 480px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;

    background: url(../img/scheme-fon-2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 40px;
}


.block-serv-home-tonir {
    width: 100%;
    min-height: 480px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    background: linear-gradient(to top, rgba(229, 0, 120, 0.5), rgba(23, 168, 225, 0.9));
}

.block-serv-home-tonir > h2 {
    font-size: 42px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 30px;
    border: 1px solid #fff;
    color: #fff;
    padding: 30px;
}

.block-serv-home-tonir > p {
    width: 80%;
    font-size: 22px;
    text-align: center;
    color: #fff;
}

.pr-g-1 {
    background: url(../img/pr-1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.pr-g-2 {
    background: url(../img/pr-2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.pr-g-3 {
    background: url(../img/pr-3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.pr-g-4 {
    background: url(../img/pr-4.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.pr-g-5 {
    background: url(../img/br-1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.pr-g-6 {
    background: url(../img/br-2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.pr-g-7 {
    background: url(../img/br-3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.pr-g-8 {
    background: url(../img/br-4.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}



/*--------------------------*/

.team-g-1 {
    background: url(../img/team-1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.team-g-2 {
    background: url(../img/team-2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.team-g-3 {
    background: url(../img/team-3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.team-g-4 {
    background: url(../img/team-4.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.team-g-5 {
    background: url(../img/korp-1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.team-g-6 {
    background: url(../img/korp-2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.team-g-7 {
    background: url(../img/korp-3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.team-g-8 {
    background: url(../img/korp-4.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}



/*--------------------------*/

.deti-g-1 {
    background: url(../img/deti-1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.deti-g-2 {
    background: url(../img/deti-2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.deti-g-3 {
    background: url(../img/deti-3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.deti-g-4 {
    background: url(../img/deti-4.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.deti-g-5 {
    background: url(../img/deti-5.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.deti-g-6 {
    background: url(../img/deti-6.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.deti-g-7 {
    background: url(../img/deti-7.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.deti-g-8 {
    background: url(../img/deti-8.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.portfolio-content {
    width: 100%;
    min-height: 300px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;

    padding: 10px;
    padding-top: 140px;
}

.portfolio-content > h2 {
    font-size: 36px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    color: #17a8e1;
}

.portfolio-box {
    width: 100%;
    min-height: 200px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 40px;
    padding-bottom: 60px;
}

.portfolio-box-item {
    width: 300px;
    min-height: 300px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    margin: 20px;
    border: 2px solid #17a8e1;
    transition: all 0.3s ease-out;
}

.portfolio-box-item:hover {
    border: 2px solid #e50078;
}

.p-box-prew {
    width: 100%;
    height: 240px;
}

.p-box-info {
    width: 100%;
    height: 60px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: inset 2px 2px 5px rgba(154, 147, 140, 0.5), 1px 1px 5px rgba(255, 255, 255, 1);
}

.p-box-info > h5 {
    text-transform: uppercase;
    color: #17a8e1;
    font-size: 18px;
    letter-spacing: 1px;
}

.p-box-prew-1 {
    background: url(../img/serv-fon-1.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.p-box-prew-2 {
    background: url(../img/serv-fon-2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

.p-box-prew-3 {
    background: url(../img/serv-fon-3.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 800px) {
    .block-serv-home-tonir > h2 {
        font-size: 24px;
    }

    .block-serv-home-tonir > p {
        width: 90%;
        font-size: 16px;
    }

    .block-mail {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .block-mail-item {
        width: 100%;
        min-height: 100px;
    }

    .block-mail-item > h2 {
        font-size: 28px;
    }

    .block-mail-item > form {
        min-height: 100px;
    }

    .block-contact {
        -webkit-flex-direction: column-reverse;
        -moz-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
        -o-flex-direction: column-reverse;
        flex-direction: column-reverse;
        padding: 0;
    }

    .block-contact-item {
        width: 100%;
    }

    .bci2 {
        padding-left: 20px;
    }

    .block-contact-item > h2 {
        font-size: 24px;
    }

    .block-contact-item > span {
        font-size: 16px;
    }

    .block-mail-item > form > input {
        width: 90%;
    }

    .block-mail-item > form > span {
        width: 90%;
    }

    .block-mail-item > form > button {
        width: 90%;
    }

    .gallery-item {
        width: 50%;
        min-height: 180px;
    }

    .block-serv-home-tonir > h2 {
        text-align: center;
        padding: 10px;
    }
}

@media screen and (max-width: 400px) {
    .block-serv-home-tonir > p {
        font-size: 14px;
    }
}

@media screen and (max-width: 900px) {
    .home-header {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        justify-content: center;
    }

    .block-home {
        min-height: 500px;
    }

    .box-home {
        min-height: 500px;
    }

    .home-content {
        min-height: 300px;
    }

    .home-content > h1 {
        font-size: 24px;
        text-align: center;
    }

    .home-content > p {
        font-size: 18px;
        text-align: center;
    }

    .home-header > img {
        margin-bottom: 20px;
    }

    video {
        display: none;
    }

    .header-item {
        display: none;
    }

    .block-about {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        min-height: 460px;
    }

    .block-about-item {
        width: 100%;
    }

    .block-about-item > a {
        width: 96%;
    }

    .block-about-item > p {
        font-size: 16px;
    }

    .block-about-item-hid {
        display: none;
    }

    .block-serv-first {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }

    .block-serv-first-item {
        width: 100%;
    }

    .block-command-tonir > p {
        width: 90%;
        font-size: 16px;
    }

    .block-scheme-tonir {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .block-scheme-tonir > h2 {
        width: 90%;
        margin-bottom: 20px;
        font-size: 36px;
    }

    .box-scheme {
        width: 90%;
    }

    .scheme-content > p {
        display: none;
    }

    .box-scheme-item {
        min-height: 100px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .scheme-namber {
        min-height: 100px;
    }

    .scheme-content {
        min-height: 100px;
    }

    .scheme-content > h4 {
        font-size: 18px;
    }

    .scheme-namber > span {
        font-size: 36px;
    }

    .home-contact {
        width: 100%;
    }
}
