@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600|Roboto:400,500&subset=cyrillic");
.header_top {
  background-color: white;
}
  .header_top-row {
    padding: 5px 0 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.header_logo {
  display: flex;
  width: 25%;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}
  .header_logo-img {
    height: 120px;
    width: 120px;
    margin: auto;
    background-image: url(../img/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.3s;
}
  .header_logo-text {
    font-family: Georgia, serif;
    font-size: 18px;
    color: #5086c2;
    text-align: center;
    text-transform: uppercase;
    transition: color 0.3s;
}
  .header_logo:hover .header_logo-img {
    background-image: url(../img/logo2.png);
}
  .header_logo:hover .header_logo-text {
    color: #72b0cf;
}
.header_info {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 37%;
}
  .header_info-text {
    font-size: 36px;
    font-weight: 500;
    color: #4f86c2;
}
  .header_info-adress {
    align-items: center;
    display: flex;
    color: #666;
  }
  .header_info-adress p
  {
    margin-left: 10px;
  }
.header_search {
  /*width: 25%;*/
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
  .header_search-btn {
    /*background-size: auto 200%;*/
    width: 75%;
    color: white;
    text-decoration: none;
    align-content: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    box-shadow: 0 0 20px #eee;
    padding: 10px 15px;
    align-items: center;
    display: flex;
    background-position: center bottom;
    background-image: linear-gradient(to bottom, #8fbfff 0%, #5487c8 100%);
    transition: .3s;
}
    .header_search-btn:hover {
      background-position: center top;
}
  .header_search-text {
    margin-right: auto;
}
.header_tel {
  /*font-size: 22px;*/
  font-weight: 500;
  align-items: center;
  margin: 20px 0;
  display: flex;
}
.header_mail {
  font-size: 18px;
  align-items: center;
  display: flex;
}
.header_tel,
.header_mail
{
  color: #666;
  text-decoration: none;
  transition: .3s color;
}
.header_tel:hover,
.header_mail:hover
{
  color: #8fbfff;
}
.header_tel p span
{
  font-size: 22px;
}
.header_tel p,
.header_mail p
{
  margin-left: 10px;
}
.header_nav {
  background-image: linear-gradient(to bottom, #8fbfff 0%, #5487c8 100%);
}
  .header_nav-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
  .header_nav-link {
    display: flex;
    background-size: auto 200%;
    color: white;
    text-decoration: none;
    align-content: center;
    vertical-align: middle;
    justify-content: center;
    transition: 0.3s;
    padding: 20px;
}
    .header_nav-link:hover {
      background-color: rgba(0, 0, 0, 0.5);
}
.header_nav-item
{
  margin: auto;
}
.header_dropdown {
  text-align: center;
  width: 25%;
  display: flex;
  cursor: pointer;
  background-size: auto 200%;
  color: white;
  text-decoration: none;
  align-content: center;
  vertical-align: middle;
  justify-content: center;
  transition: 0.3s;
  position: relative;
}
  .header_dropdown-title {
    width: calc(100% - 40px);
    transition: background-color 0.3s;
    padding: 20px;
}
    .header_dropdown-title.active{
      background-color: rgba(0, 0, 0, 0.75);
    }
    .header_dropdown-title:hover {
      background-color: rgba(0, 0, 0, 0.5);
}
  .header_dropdown-menu {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    top: 59px;
    z-index: 1000;
    width: 100%;
    display: none;
}
  .header_dropdown-link {
    transition: 0.3s;
    padding: 20px 20px;
    color: white;
    text-decoration: none;
    display: table;
    margin: auto;
    width: calc(100% - 40px);
}
    .header_dropdown-link:hover {
      background-color: rgba(0, 0, 0, 0.7);
}

.footer {
  background-color: rgba(68, 68, 68, 0.6);
  color: white;
}
  .footer_row {
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
  .footer_list {
    width: 33%;
}
  .footer_item {
    padding: 10px 0;
    align-items: center;
    display: flex;
}
    .footer_item > i {
      margin-right: 10px;
}
  .footer_link {
    align-items: center;
    display: flex;
    transition: 0.3s;
    padding: 10px 0;
    color: white;
    text-decoration: none;
}
    .footer_link > i {
      margin-right: 10px;
}
    .footer_link:hover {
      color: #8fbfff;
}

body {
  font-family: "Roboto", serif;
  color: #333;
  background-color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
}
a {
  color: #fff;
}
.container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
  width: calc(100% - 30px);
}

.landing_bg {
  height: 680px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background-image: url(../img/bg1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /*background-attachment: fixed;*/
}
.landing_text {
  padding: 70px 35px;
  font-size: 120px;
  color: white;
  background-color: rgba(108, 141, 184, 0.5);
}

.gradient_bg {
  /*background: linear-gradient(-45deg, #8fbfff, #5487c8, #27333f, #4d4d4d);
  background-size: 400% 400%;
  -webkit-animation: Gradient 10s ease infinite;
  -moz-animation: Gradient 10s ease infinite;
  animation: Gradient 10s ease infinite;*/
  background-image: url(../img/back.png);
  background-size: cover;
}
.gradient_bg > .container{
  min-height: 50vh;
  height: 100%;
}
@-webkit-keyframes Gradient {
  0% {
    background-position: 0% 50%;
}
  50% {
    background-position: 100% 50%;
}
  100% {
    background-position: 0% 50%;
}
}
@-moz-keyframes Gradient {
  0% {
    background-position: 0% 50%;
}
  50% {
    background-position: 100% 50%;
}
  100% {
    background-position: 0% 50%;
}
}
@keyframes Gradient {
  0% {
    background-position: 0% 50%;
}
  50% {
    background-position: 100% 50%;
}
  100% {
    background-position: 0% 50%;
}
}
.title {
  font-size: 32px;
  width: 100%;
  font-weight: 500;
}
  .title-alt {
    font-size: 24px;
    font-weight: 500;
}
    .title-alt:nth-child(2) {
      margin-top: 20px;
}

.welcome {
  display: flex;
  padding: 60px 0 30px;
  border-bottom: 1px solid white;
}
  .welcome_text {
    width: 50%;
    color: white;
}
  .welcome_icon {
    height: 440px;
    margin: auto;
    width: 440px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../img/house.svg);
}

.paragraph {
  margin: 20px 0;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.news {
  padding: 40px 0;
  color: white;
}
  .news_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
  .news_item {
    margin: 20px 0;
    width: 48%;
}
  .news_link {
    color: white;
    font-size: 16px;
    transition: 0.3s;
}
    .news_link:hover {
      color: lightgrey;
}
  .news_img {
    width: 100%;
    height: 265px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(http://via.placeholder.com/350x150);
    margin-top: 20px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.7);
}

.about {
  display: flex;
  justify-content: space-between;
  min-height: 400px;
}
  .about_text {
    padding: 100px 0;
    color: white;
    width: 100%;
}
  .about_sert {
    background-image: url(../img/license-img.png);
    width: 367px;
    height: 430px;
    background-position: center;
    background-repeat: no-repeat;
    margin: auto 0;
    background-size: contain;
}

.ipu {
  display: flex;
  justify-content: space-between;
}
  .ipu_text {
    padding: 100px 0;
    color: white;
}
  .ipu_sert {
    background-image: url(../img/ipu-img.png);
    width: 682px;
    height: 420px;
    background-position: center;
    background-repeat: no-repeat;
    margin: auto 0;
    background-size: contain;
}
.question-block
{
  width: 50%;
  background: rgba(255,255,255,.2);
  margin: 20px 0;
}
.question-name
{
  width: 95%;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; 
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-inline-box;
}
.question-title
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 30px);
  background: rgba(96, 147, 212,.3);
  padding: 10px 15px;
  cursor: pointer;
  transition: .3s background;
}
.question-toggle
{
  /*border: 2px solid #fff;
  border-radius: 20px;*/
  width: 25px;
  height: 25px;
  font-size: 20px;
  text-align: center;
  transition: .3s transform;
}
.question-block.active .question-title 
{
  background: rgba(255,255,255,.2);
}
.question-block.active .question-title:hover,
.question-title:hover
{
  /*transform: rotate(45deg);*/
  background: rgba(96, 147, 212,.2);
}

.question-block.active .question-title .question-toggle
{
  transform: rotate(45deg);
}
.answer-block{
  display: none;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  padding: 15px;
}

@media screen and (max-width: 1000px) {
    * {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
  }
    .title {
      font-size: 22px;
  }
  .about_text
  {
    display: flex;
    flex-direction: column;
  }
  .question-block
  {
    width: 100%;
  }

    .adaptive-hide {
      display: none;
  }
    .adaptive-show {
      display: block;
  }
    .header_top-row {
      flex-direction: column;
  }
    .header_nav-row {
      flex-direction: column;
      padding: 0;
      width: 100%;
  }
  .header_dropdown
  {
    flex-direction: column;
  }
  .header_dropdown-menu
  {
    position: relative;
    top: 0;
  }
    .header_nav-link {
      width: calc(100% - 60px);
  }
    .header_dropdown {
      width: 100%;
  }
    .header_logo {
      width: 100%;
  }
    .header_search {
      width: 100%;
  }
    .header_search {
      margin: 20px auto;
  }
    .landing_bg {
      height: 370px;
  }
    .landing_text {
      margin: 0;
  }
    .landing_text .container {
      font-size: 22px !important;
  }
    .welcome {
      flex-wrap: wrap;
  }
      .welcome_text {
        width: 90%;
  }

    .footer_list {
      width: 100%;
  }

    .news_item {
      width: 100%;
  }

    .footer_link {
      text-align: center;
  }
      .footer_link i {
        margin: 0 10px;
  }
  .header_tel
  {
    margin-left: auto;
    margin-right: auto;
  }
  .footer_link,
  .footer_item
  {
      justify-content: center;
  }
    .footer_item i {
      margin: 0 10px;
  }

}