@font-face {
  font-family: 'tahoma';
  src: url("../font/tahoma__regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: 'georgia';
  src: url("../font/georgia__bold.ttf");
  src: url("../font/georgia__regular.ttf");
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: 'georgia';
  line-height: 1;
}
@media (min-width: 900px) {
  .header {
    height: 120px !important;
  }
}
.header {
  width: 100%;
  max-width: 900px;
  /*max-height: 100%;*/
  margin: 0 auto;
  padding: 18px 20px;
  height: 13.2vw;
  background: url("../image/header__bg.png") no-repeat center;
  background-size: 100% 100%;
}

.navbar {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.navbar > ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          #justify-content: space-between;
  width: 100%;
}

@media (max-width: 900px) {
  .navbar > ul {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[5];
        grid-template-columns: repeat(5, 1fr);
    grid-gap: 1px;
  }
}

@media (max-width: 520px) {
  .navbar > ul {
    -ms-grid-columns: (1fr)[3];
        grid-template-columns: repeat(3, 1fr);
    background: -webkit-gradient(linear, left top, left bottom, from(#fee8c7), to(#eeb570));
    background: linear-gradient(#fee8c7, #eeb570);
  }
  .navbar > ul > li:last-child {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2 / 3;
  }
}

@media (max-width: 360px) {
  .navbar > ul {
    -ms-grid-columns: (1fr)[2];
        grid-template-columns: repeat(2, 1fr);
    background: none;
  }
}
a {
    text-decoration: none;
    color: #344a58;
    -webkit-transition: .2s;
    transition: .2s;
	
}
a:hover {
    opacity: .7;
}

a.gdz {
	
	color: #344a58;
	font-weight: bold;
	font-size: 24px;
	margin-right: 22px;
	margin-left: 22px;
	margin-bottom: 20px;
	display: inline-block;
}
.navbar ul {
  list-style-type: none;
}

.navbar ul li:hover {
  background: -webkit-gradient(linear, left top, left bottom, from(#fff7eb), to(#ffd8a8));
  background: linear-gradient(#fff7eb, #ffd8a8);
}

.navbar a {
  text-decoration: none;
  color: #000;
  #font-size: 14px;
}
.navbar li ul li {
	
	padding: 10px;
	min-width: auto;
	white-space: nowrap;
}
.navbar li {
  position: relative;
  background: -webkit-gradient(linear, left top, left bottom, from(#fee8c7), to(#eeb570));
  background: linear-gradient(#fee8c7, #eeb570);
  font-size: 16px;
  font-weight: bold;
  display: block;
  padding: 10px 17.94px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .navbar li {
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .navbar li {
    border: 1px solid #e7e7e7;
  }
}

@media (max-width: 360px) {
  .navbar li {
    border: none;
  }
}

.navbar li ul {
  position: absolute;
  z-index: 1090;
  top: 36px;
  left: 0;
  -webkit-transition: .3s;
  transition: .3s;
  height: 0;
  overflow: hidden;
}

.navbar li:nth-child(1) ul {
  width: 180px;
}

.navbar li:nth-child(2) ul, .navbar li:nth-child(3) ul, .navbar li:nth-child(5) ul, .navbar li:nth-child(6) ul, .navbar li:nth-child(7) ul {
  width: auto;
}

.navbar li:nth-child(4) ul {
  width: auto;
  min-width: 210px;
}

.navbar li:nth-child(8) ul {
  width: auto;
}

.navbar li:nth-child(10) ul {
  left: 0;
  width: 180px;
}

.navbar .drop-1:hover > ul {
  height: 72px;
  overflow: visible;
}

.navbar .drop-2:hover > ul {
  height: auto;
}

.navbar .drop-3:hover > ul {
  height: auto;
}

.navbar .drop-4:hover > ul {
  height: auto;
}

.navbar .drop-5:hover > ul {
  height: auto;
}

.navbar .drop-6:hover > ul {
  height: auto;
}

.navbar .drop-7:hover > ul {
  height: auto;
}

.navbar .drop-8:hover > ul {
  height: auto;
}

.social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 30px;
}

@media (max-width: 730px) {
  .social {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-bottom: 0;
  }
}

.social a {
  text-decoration: none;
}

.social a img {
  display: block;
}

@media (max-width: 900px) {
  .social a img {
    width: 400px;
  }
}

@media (max-width: 840px) {
  .social a img {
    width: 380px;
  }
}

@media (max-width: 790px) {
  .social a img {
    width: 350px;
  }
}

@media (max-width: 730px) {
  .social a img {
    width: 70%;
    margin: 0 auto 20px;
  }
}

@media (max-width: 582px) {
  .social a img {
    width: 100%;
    max-width: 432px;
  }
}

.content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: url("../image/content__bg.png") no-repeat center;
  background-size: cover;
  padding: 20px 10px;
  min-height: 400px;
}

.content h1 {
  color: #1f3f58;
  font-weight: bold;
  font-size: 28px;
  line-height: 32px;
}

@media (max-width: 582px) {
  .content h1 {
    font-size: 24px;
    line-height: 28px;
  }
}

.content h2 {
  color: #1f3f58;
  font-weight: 400;
  font-size: 24px;
  line-height: 28px;
  margin: 5px;

}

@media (max-width: 582px) {
  .content h2 {
    font-size: 20px;
    line-height: 24px;
  }
}

.content div:last-child p {
  margin-bottom: 20px;
  font-size: 18px;
}

@media (max-width: 582px) {
  .content div:last-child p {
    font-size: 16px;
  }
}

.footer {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.footer > div {
  padding: 20px 0;
  background: #3c5363;
}

.footer > div p {
  color: #fff;
  text-align: center;
  font-weight: 400;
  font-size: 18px;
}

@media (max-width: 650px) {
  .footer > div p {
    font-size: 16px;
  }
}

.footer > article {
  padding: 20px 0;
  background: #334959;
}

@media (max-width: 670px) {
  .footer > article {
    padding: 20px 15px;
  }
}

.footer > article > div {
  width: 100%;
  max-width: 644px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media (max-width: 582px) {
  .footer > article > div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.footer > article > div p {
  font-size: 18px;
  color: #fff;
  font-weight: 400;
  margin-right: 15px;
}

@media (max-width: 650px) {
  .footer > article > div p {
    font-size: 15px;
    margin-right: 10px;
  }
}

.footer > article .footer__social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 582px) {
  .footer > article .footer__social {
    margin: 0 auto 15px;
  }
}

.footer > article .footer__social img {
  width: 32px;
  display: block;
  height: 32px;
  margin-right: 10px;
}

.footer > article .footer__social div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.footer > article .footer__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media (max-width: 582px) {
  .footer > article .footer__right {
    margin: 0 auto;
  }
}

.footer > article .footer__right img {
  display: block;
  width: 90px;
}

.content__mathem {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: url("../image/content__bg.png") repeat center;
  padding: 20px 10px;
}
article > h3 {
	
	margin-bottom: 20px;
}
#lesson > h1 {
	margin-bottom: 20px;
}
#vk_comments {
	
	margin-top: 20px;
}
.content__mathem article {
  margin-bottom: 60px;
}

.content__mathem article h3 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 45px;
}
#lesson{
  text-align: center;
}

.content__mathem article h1 {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #344a58;
  text-align: center;
}
.content__mathem article h3 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #344a58;
  text-align: left;
}
.content__mathem article span {
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: bold;
  color: #344a58;
  text-align: center;
}
.content__mathem article iframe {
  margin-top: 20px;
  
}

@media (max-width: 768px) {
  .content__mathem article h1 {
    font-size: 24px;
    line-height: 28px;
  }
}
.content {
	
	background: url(../image/content__bg.png) repeat center !important;
	background-size: contain !important;
}
@media (max-width: 582px) {
  .content__mathem article h1 {
    font-size: 19px;
    margin-bottom: 15px;
  }
}

.content__mathem article h2 {
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .content__mathem article h2 {
    font-size: 20px;
    line-height: 24px;
  }
}

@media (max-width: 582px) {
  .content__mathem article h2 {
    font-size: 18px;
  }
}

.content__mathem article h2 a {
  text-decoration: none;
  color: #344a58;
  -webkit-transition: .2s;
  transition: .2s;
  #font-weight: bold;
}

.content__mathem article h2 a:hover {
  opacity: .7;
}
/*# sourceMappingURL=style.css.map */