.header_bg {
    max-width: 1024px;
    height: 76px;
    background: white;
    color: #0c4299;
    position: relative;
    margin: 0 auto;
}
.header_bg h2 {
    color: #0c4299;
    font-size: 16px;
    MARGIN: 0 auto;
    width: 370px;
    font-weight: 700;
    top: 32px;
    position: inherit;
}
.header_bg p {
    color: #0c4299;
    font-family: Lato;
    right: 0;
    position: absolute;
}
.header_bg a {
    color: #0c4299;
}
.number {
    top: 20px;
}
.adress {
    top: 44px;
    margin-bottom: 0px;
}
.logo {
    float: left;
}
.soc {
    float: right;
    margin-top: 16px;
    margin-left: 20px;
    height: 20px;
}
#top_nav {
    /*высота шапки в пикселях*/
    /* position: fixed; */
    position: fixed;
    z-index: 1000;
    width: 100%;
    background-color: #06409b;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
}
.li_item {
    display: inline-block;
    padding: 0 40px 0 40px;
    margin-top: 16px;
}
.li_item a {
    color: white;
    font-family: lato;
    font-size: 16px;
}
.main {
    width: 100%;
    background-color: #2e6da4;
    height: auto;
    margin: 0 auto;
    margin-top: 0;
    max-width: 1920;
    position: relative;
    font-size: 25px;
}
.main h2,
.main p {
    font-family: lato;
    font-size: 1.3vw;
    line-height: 1.6vw;
    color: white;
    margin-top: 0px;
    position: absolute;
}
.main p {
    font-size: 1.3vw;
    line-height: 1.3vw;
}
@font-face {
    font-family: Lato;
    /* Гарнитура шрифта */
    src: url(font/Lato-Regular.ttf);
    /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: Lato-Light;
    /* Гарнитура шрифта */
    src: url(font/Lato-Light.ttf);
    /* Путь к файлу со шрифтом */
}
@font-face {
    font-family: 'Intro';
    src: url('font/intro.ttf');
    font-weight: 400;
    font-style: normal;
}
.page_cont {
    width: 60.41vw;
    margin: 0 auto;
}
.subjects,
.teachers,
.why {
    width: 100%;
}
.subjects h2,
.teachers h2,
.why h2 {
    font-family: Intro;
    font-size: 24px;
    color: #06409b;
}
.page_subjects,
.page_teacher,
.page_why {
    width: 890px;
    height: 595px;
    margin: 0 auto;
    background: white;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
}
.row_item {
    float: left;
    width: 210px;
    color: white;
    height: 210px;
    margin: 0 12px 12px 0;
}
.row_item img,
.table_row_item img {
    margin: 44px 0 17px 0;
    width: 100px;
    height: 100px;
}
.table_row_item {
    float: left;
    color: white;
    margin: 0 12px 12px 0;
    padding: 30px;
}
.contact {
    height: 570px;
}
.item_title {
    font-family: Intro;
    color: #06409b;
    font-size: 1.13em;
}
.item_text {
    margin-top: 1em;
    font-family: Roboto, serif;
    font-weight: 300;
    /* color: #666; */
    font-size: 1.34em;
    line-height: 1.45;
}
.box_items {
    width: 900px;
    margin: 0 auto;
    max-height: 1000px;
    border: 5px solid #e6e6e6;
    position: relative;
    padding: 40px 40px 20px 40px;
    background: rgba(255, 255, 255, 0.68);
    top: 25%;
}
.price {
    width: 100%;
    background-color: #06409b;
    position: relative;
    height: 542px;
}
.page_price {
    width: 960px;
    height: 542px;
    margin: 0 auto;
}
.page_price img {
    height: 100%;
    float: left;
}
.page_price h2 {
    font-family: Intro;
    color: #fff;
    font-size: 22px;
}
.box {
    margin-top: 40px;
    width: 500px;
    height: 180px;
    float: right;
    padding-left: 32px;
}
.box p,
.why p {
    font-family: Lato;
    font-size: 18px;
}
.box p {
    color: #fff;
    top: 100px;
}
.teachers,
.page_teacher {
    background-color: #e8e8e8;
    height: 340px;
}
.page_teacher,
.page_main,
.page_why {
    padding: 24px;
}
.why_box {
    float: left;
    width: 33%;
    padding: 30px;
    color: #06409b;
}
.why2 {
    width: 100%;
    background-color: #06409b;
    height: 337px;
    position: relative;
}
.page_why2 {
    width: 960px;
    margin: 0 auto;
}
.page_why2 img {
    height: 100%;
    float: left;
    position: absolute;
    width: 460px;
}
.why2 .page_why2 .box h2 {
    font-family: intro;
    font-size: 22px;
    color: #fff;
    margin-top: 0;
}
.logo {
    float: left;
}
.btn-warning {
    background-image: linear-gradient(to bottom, rgb(255, 102, 0) 0, rgba(255, 102, 0, 0.92) 100%);
    border-color: rgb(255, 102, 0);
    background-repeat-y: repeat;
}
footer {
    width: 100%;
    height: 48px;
    background-color: #06409b;
}
.page_subjects table td p {
    font-size: 16px;
    text-indent: 25px;
    word-wrap: break-word;
    text-align: justify;
    padding: 0px;
}
.page_subjects table H2 {
    text-align: center;
}
.foot {
    color: white;
    text-align: center;
    padding-top: 15px;
    font-size: 15px;
}