@media (max-width: 1440px) {

  .custom_grid .grid_item {
    width: calc(25% - 30px);
  }

}

@media (max-width: 1199px) {

  .site_detailed_card .card_pic {
    height: 40vw;
  }

}

@media (max-width: 991px) {

  h2, .h2,
  .content-section-text .title {
    font-size: 2.2em;
    line-height: 1.2;
  }

  h3, .h3 {
    font-size: 2em;
    line-height: 1.2;
  }

  .site_detailed_card .card_pic {
    height: 40vw;
  }

  .detailed_card .card_pic {
    height: 27vw;
  }

  .detailed_card .card_pic {
    height: 60vw;
  }

  .filters ul {
    width: 100%;
  }

}

@media (max-width: 959px) {

  .section_card  {
    flex-direction: column;
  }

  .section_card .card_pic {
    height: 50vw;
  }

  .section_card .card_pic,
  .section_card .card_content {
    width: 100%;
  }

  .section_card:nth-child(even) .card_pic {
    order: 1;
  }

  .section_card:nth-child(even) .card_content {
    order: 2;
  }

  .custom_grid .card_name {
    font-size: 1.2em;
  }

}

@media (max-width: 768px) {

  .slide_pic {
    height: 16vw;
  }

  .detailed_card .card_pic {
    height: 35vw;
  }

  .detailed_card .card_pic {
    height: 70vw;
  }

  .custom_grid .card_name {
    min-height: 40px;
  }

}

@media (max-width: 767px) {

  .detailed_card .card_pic {
    height: auto;
  }

  .detailed_card .card_pic img {
    width: 100%;
  }

  .card_name {
    min-height: inherit;
  }

  .detailed_card .image_bg {
    height: 50vw;
  }

  .custom_grid .grid_item {
    width: calc(33% - 30px);
  }

}

@media (max-width: 599px) {

  .text_section .wrapper .row {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .text_section .wrapper .row .col-xs-12 {
    width: 100%;
    flex: 1;
    max-width: 100%;
  }

  .text_section .card_name {
    margin-bottom: 30px;
  }

  .text_card .card_text {
    padding-left: 0;
    border-left: 0;
  }

  .text_card {
    margin-bottom: 15px;
  }

  .card.text_card {
    border-left: 0;
  }

  .title {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 8vw!important;
  }

  .title_wrapper {
    text-align: center;
    width: 100%;
  }

  .text_title_card .card_name {
    text-align: center;
  }

  .slide_pic {
    height: 22vw;
  }

  .col-xs-12 {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .h2 {
    font-size: 1.6em;
    font-weight: normal;
  }

  .detailed_card {
    flex-direction: column;
  }

  .detailed_card .card_pic {
    height: 50vw;
    width: 100%;
  }

  .site_detailed_card .card_content {
    margin-top: 15px;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .intro_section {
    padding-top: 0;
    padding-bottom: 0;
  }

  .grid_top {
    align-items: flex-start;
  }

  .grid_icon {
    width: 36px;
    height: 36px;
  }

  .grid_row {
    flex-direction: column;
  }

  .half_width .grid_item {
    width: calc(100% - 30px);
  }

  .pop {
    width: calc(100% - 30px);
  }

  .contacts_stats_row {
    display: flex;
    flex-direction: column;
  }

  .contacts_stats_row .col-sm-12:nth-child(odd) {
    order: 2;
  }

  .contacts_stats_row .col-sm-12:nth-child(even) {
    order: 1;
  }

  .contacts_info_card {
    margin-top: 30px;
  }

}

@media (max-width: 480px) {

  .section_card .card_name {
    font-size: 1.6em;
  }

  .card_list a {
    font-size: 1.2em;
  }

  .card_text p {
    font-size: 14px;
  }

  .section_card .card_content {
    padding: 15px;
  }

  .info_card {
    flex-direction: column;
  }

  .info_card .right {
    order: 1;
    width: 100%;
  }

  .info_card .right .card_content {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 30px;
  }

  .info_card .left {
    order: 2;
    width: 100%;
  }

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

  .main_part .btn_wrapper {
    margin-top: 0;
  }

  .info_card {
    margin-bottom: 50px;
  }

  .detailed_card .image_bg {
    height: 75vw;
  }

  .site_detailed_card {
    padding: 15px;
  }

  .custom_grid .grid_item {
    width: calc(50% - 30px);
  }

  .custom_grid .detailed_card .card_pic {
    height: 20vw;
  }

  .filters_wrapper {
    width: calc(100% - 30px);
  }

}

@media (max-width: 375px) {

  .slide_pic {
    height: 40vw;
  }

  .main_part {
    flex-direction: column;
  }

  .main_part .btn_wrapper {
    margin-top: 15px;
  }

  .title {
    font-size: 1.4em;
    line-height: 1em;
  }

}

@media (max-width: 320px) {

  .main_tab {
    font-size: 14px;
  }

  .custom_grid .grid_item {
    width: calc(100% - 30px);
  }

  .custom_grid .detailed_card .card_pic {
    height: 40vw;
  }

}
