@media (max-width: 1600px) {
  .site-header .logo {
    width: 200px;
  }

  .slider-home .slide {
    height: calc(100vh - 118px);
  }

  .page-ban__content .services-list ul li:nth-child(1),
  .page-ban__content .services-list ul li:nth-child(2),
  .page-ban__content .services-list ul li:nth-child(3),
  .page-ban__content .services-list ul li:nth-child(4),
  .page-ban__content .services-list ul li:nth-child(5) {
    display: none;
  }

  .services-list ul li {
    width: 50%;
  }

  #primary-menu li a, .header-content_top__address, .header-content_top__mail a {
    font-size: 14px;
  }

  .services-list {
    width: 1024px;
  }

  .header-content_top__contacts a {
    font-size: 16px;
  }

  .header-content {
    padding: 0 35px;
  }

  .about-container_home {
    padding: 0 15px;
  }

  .footer-right {
    margin-right: 20px;
  }

  .footer-left {
    margin-left: 20px;
  }

  .contact-name {
    font-size: 24px;
  }

  .contact-content__right, .contact-content__right a {
    font-size: 18px;
  }

  .contact-facebook {
    font-size: 40px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-content__right, .contact-content__left {
    width: 470px;
    height: 260px;
  }

  .contact-content__right {
    margin-left: 200px;
  }

  .contact-content__right {
    padding: 35px 20px 0 20px;
  }

  .diploma-title{
      margin: 40px 0 22px 0;
  }
}

@media (max-width: 1360px) {
  .header-content_top__consult button {
    font-size: 14px;
    line-height: 11px;
    height: 30px;
    width: 160px;
  }
}

@media (max-width: 1280px) {
  .header-content_top__contacts a:nth-child(2), .footer-container {
    display: none;
  }

  .slider-home .slide img {
    width: 100%;
    height: auto;
  }

  .slider-home .slide {
    height: auto;
  }

  .mobile-footer-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
  }

  .mobile-footer-container ul {
    margin: 0;
    padding: 0;
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: space-between;
  }

  .mobile-footer-container ul li a {
    color: #fff;
    text-decoration: none;
  }

  .mobile-footer-logo {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #F6F6F6;
    margin-bottom: 20px;
  }

  .footer-after-logo-mobile {
    color: #fff;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .coop-advocat {
    width: 100%;
    text-align: center;
    margin-top: 22px;
    padding-bottom: 13px;
    border-bottom: 1px solid #A1A1A1;
  }

  .footer-address {
    margin-bottom: 10px;
  }

  a.footer-tel {
    color: #fff;
    font-size: 14px;
  }

  .header-content_top__contacts i {
    margin-right: 4px;
  }

  .footer-after-logo-mobile_right a i {
    color: #C8042B;
    font-size: 24px;
  }

  .fa-phone {
    font-size: 14px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 1200px) {
  #primary-menu li a, .header-content_top__address, .header-content_top__mail a, .header-content_top__contacts a {
    font-size: 12px;
  }

  .services-list ul li a {
    font-size: 16px;
  }

  .services-list ul li {
    margin-bottom: 7px;
  }

  .contact-name {
    font-size: 20px;
  }

  .service-page .page-ban img {
    min-height: 270px;
  }

  .services-list {
    width: 900px;
  }

  .contact-content__left img {
    width: 200px;
  }

  .contact-content__right, .contact-content__left {
    width: 420px;
    height: 200px;
  }

  .contact-title {
    font-size: 20px;
  }

  .contact-content__right {
    margin-left: 130px;
  }

  .contact-facebook {
    font-size: 30px;
  }

  .contact-content__right {
    padding: 20px;
  }

  .contact-content__right .fa-viber, .contact-content__right .fa-phone {
    font-size: 14px;
  }

  .contact-content__right, .contact-content__right a {
    font-size: 16px;
  }

  .header-content_top__lang ul li span {
    font-size: 14px;
  }

  .header-content_top__lang i {
    top: 25%;
  }

  .header-content_top__consult button {
    font-size: 12px;
    line-height: 12px;
  }

  .header-content_top__consult button {
    width: 125px;
  }

  .about-container__content__text p {
    font-size: 16px !important;
  }

  .about-container__content__button button {
    font-size: 16px;
    width: 200px;
    height: 35px;
  }

  .about-container__content__title {
    font-size: 22px;
  }

  .about-container__content {
    margin-left: 10px;
  }

  .about-container__content {
    max-width: 530px;
  }
}

@media (max-width: 1024px) {
  .page-content {
    margin: 0 20px;
  }

  #primary-menu li a{
    font-size: 16px
  }

  #primary-menu li ul li a{
    font-size: 14px;
    font-weight: 400;
    text-align: center;
  }

  #primary-menu li ul li{
    padding-bottom: 20px
  }

  .header-content_top__lang i{
    font-size: 15px;
    top: 15%;
  }

  .services-list {
    display: none;
  }

  .services-page-services{
    display: block;
  }

  .service-page .page-ban img {
    min-height: auto;
  }

  .header-mobile {
    background: url(images/header-bg.jpg);
    background-size: cover;
    background-position: center;
    padding: 0 15px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    display: block;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
  }

  #page {
    padding-top: 52px;
  }

  .contact-facebook {
    display: none;
  }

  .contact-content__left {
    display: none;
  }

  .contact-content {
    position: relative;
  }

  .contact-content__right {
    margin-left: 0;
    width: 100%;
    background-size: cover;
    border-radius: 0;
    align-items: center;
  }

  .header-mobile-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .site-header {
    display: none;
  }

  .header-mobile__logo img {
    width: 95px;
  }

  .header-content_top__lang ul li span{
    font-size: 24px
  }

  .header-mobile__phone {
    position: absolute;
    height: 100%;
    left: 15px;
    display: flex;
    align-items: center;
  }

  .header-mobile__right {
    position: absolute;
    height: 100%;
    right: 15px;
    display: flex;
    align-items: center;
  }

  .header-mobile__phone a {
    color: #000;
    padding-bottom: 4px;
    padding-left: 5px;
  }

  .burger {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-left: 14px;
    z-index: 2;
  }

  .burger-line {
    width: 22px;
    height: 1.7px;
    background: #000;
    border-radius: 5px;
    transition: .3s;
  }

  .burger-line:nth-child(2) {
    margin: 5px 0;
  }

  .header-content_top__lang i {
    left: 35px;
  }

  .burger.active .burger-line:nth-child(2) {
    opacity: 0;
  }

  .burger.active .burger-line:nth-child(1) {
    transform: rotate(-45deg);
    position: relative;
    top: 7px;
  }

  .burger.active .burger-line:nth-child(3) {
    transform: rotate(45deg);
    position: relative;
    bottom: 6.5px;
  }

  .mobile-menu {
    min-height: 100%;
    display: block;
    width: 100%;
    z-index: 50;
    position: fixed;
    background: rgb(242,216,177);
    background: linear-gradient(180deg, rgba(242,216,177,1) 55%, rgba(255,255,255,1) 100%);
    top: 50px;
    left: 100%;
    height: auto;
    padding: 0px 20px 40px 20px;
    transition: .5s;
    max-height: 95%;
    overflow: scroll;
  }

  #primary-menu {
    flex-direction: column;
    padding-top: 5px
  }

  #primary-menu li:hover {
    background: none;
  }

  #primary-menu li:hover a {
    color: #000;
  }

  #primary-menu li {
    padding: 17px 0;
    width: 100%;
    border: 1px solid #C3032A;
    border-width: 0 0 1px 0;
  }

  .mobile-button-header {
    text-align: center;
    margin-top: 30px;
  }

  .mobile-button-header button {
    border-radius: 22px;
    width: 187px;
    height: 40px;
    background-image: url("images/button.jpg");
    background-size: cover;
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    color: #FFFFFF;
    text-transform: uppercase;
    padding-bottom: 15px;
    outline: none;
  }

  .mobile-email-header {
    text-align: center;
    margin-top: 25px;
  }

  .mobile-email-header a {
    font-weight: bold;
    font-size: 16px;
    color: #184D47;
  }

  .sub-menu {
    margin: 0;
    padding: 0;
  }

  .menu-item-has-children {
    flex-direction: column;
  }

  .sub-menu li {
    border: 0 !important;
    padding-top: 0 !important;
  }

  .sub-menu {
    padding-top: 22px;
  }

  .sub-menu li a {
    font-size: 14px;
    line-height: 17px;
    color: #184D47 !important;
    text-decoration: none !important;
  }

  .menu-item-has-children a {
    text-decoration-line: underline !important;
    color: #AA0B2E !important;
    position: relative;
  }

  .menu-item-has-children a:after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f077';
    position: absolute;
    width: 50px;
    right: -50px;
    padding-right: 15px;
    text-align: center;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: #184D47;
    font-size: 16px;
    padding-top: 7px;
  }

  .activeMenu .sub-menu {
    display: block;
  }

  .activeMenu li a:after {
    display: none;
  }

  .activeMenu a:after {
    content: '\f078';
  }

  .arrow-slider {
    width: 40px;
    height: 40px;
  }

  .slide-title {
    font-size: 30px;
    padding: 16px;
    bottom: 40px;
  }

  .about-container_home {
    flex-direction: column;
    align-items: center;
  }

  .about-container__image, .about-container__image img {
    width: 100%;
  }

  .about-container__content__button {
    display: flex;
    justify-content: center;
  }

  .title.big, .title.small {
    text-align: center;
    font-size: 20px;
  }

  .preims .arrow-slider {
    display: flex !important;
    background: #CD0E39;
  }

  .preim_item_content img {
    width: 100%;
  }

  .arrow-slider {
    width: 30px;
    height: 30px;
  }

  .arrow-slider i {
    font-size: 10px;
  }

  .arrow-slider__prev {
    left: 20px;
  }

  .arrow-slider__next {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .preim_item {
    margin: 0 60px;
  }

  .publications-list__item__name a{
    font-size: 22px;
  }

  #preim {
    padding-bottom: 50px;
  }

  .preim_item_title {
    margin-bottom: 0;
  }

  .page-content figure.alignleft {
    margin: 0;
  }

  .page-ban h1 {
    font-size: 26px;
  }

  .page-ban .page-ban__content {
    padding-top: 10px;
  }

  .page-content h2 {
    font-size: 24px;
  }
   .popup-form__content{
    overflow: hidden;
    overflow-y: scroll;
    max-height: auto;
  }
}

@media (max-width: 575px) {
  .header-mobile__phone a {
    font-size: 14px;
    padding-bottom: 0;
  }

  .page-ban img.mobile{
  	display: block!important;
  }

  .page-template-about-php .page-ban .page-ban__content{
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	padding-top: 0;
  }

  .page-template-about-php .page-ban .page-ban__content h1{
  	margin: 0
  }

  .page-template-about-php .page-ban img, .page-ban img.page-ban-desctop{
  	display: none;
  }

  .contact-title {
    top: 25%;
    font-size: 18px;
  }

  .page-content h2 {
    font-size: 16px;
    width: 100%;
    justify-content: center;
    padding: 10px;
    margin-bottom: 7px;
    margin-top: 7px;
  }

  .contact-name {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .contact-content__right, .contact-content__right a {
    font-size: 14px;
  }

  .contact-mail {
    margin: 0;
  }

  .contact-content__right {
    height: auto;
  }

  .page-content p {
    margin-bottom: 10px;
  }

  .diploma {
    margin-bottom: 60px;
  }

  .diploma .arrow-slider {
    display: flex !important;
  }

  .diploms .diplom-item {
    margin: 0 60px;
  }

  .diploma-title {
    font-size: 18px;
    margin: 20px 0 15px 0;
    background-size: contain;
    height: 90px;
  }

  .page-ban h1 {
    font-size: 24px;
    line-height: 1;
  }

  .page-content p {
    font-size: 14px;
    line-height: 150%;
  }

  .header-mobile {
    padding: 0;
  }

  .arrow-slider {
    display: none !important;
  }

  .slide-title {
    bottom: 23px;
    font-size: 16px;
    padding: 8px;
  }

  .slide-title {
    left: 12px;
  }

  .learn-more a {
    width: 130px;
    height: 35px;
    font-size: 12px;
  }

  .section .title {
    margin: 25px 0 25px 0;
    font-size: 14px;
    height: 70px;
    background-size: contain !important;
  }

  .service-title {
    font-size: 18px;
    height: 60px;
  }

  .go-top {
    width: 30px;
    height: 30px;
  }

  .go-top i {
    font-size: 10px;
  }

  .about-container__content__title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .about-container__content__text p {
    font-size: 14px !important;
    line-height: 21px !important;
  }

  .about-container__content__button button {
    font-size: 14px;
    width: 166px;
    height: 32px;
  }

  #preim .title {
    padding: 75px 0;
    background-color: #F9F9F9;
  }

  .section .title.big {
    background-size: 90% 75% !important;
    margin-bottom: 20px !important;
  }

  .mobile-footer-logo img {
    width: 109px;
  }

  .site-footer {
    padding: 27px 0 20px 0;
  }

  .mobile-footer-container ul li a {
    font-size: 14px;
  }

  .mobile-footer-container {
    max-width: 100%;
    margin: 0 13px;
  }

  .footer-address, a.footer-tel {
    font-size: 12px;
  }

  .footer-contacts i {
    font-size: 14px;
  }

  .footer-contacts i {
    margin-right: 4px;
  }

  .footer-contacts i.fa-phone {
    font-size: 12px;
  }

  .coop-advocat {
    font-size: 10px;
  }

  .spekter-coop {
    font-size: 10px;
    line-height: 12px;
    padding-top: 13px;
  }

  .spekter-coop img {
    width: 80px;
  }

  .service-page .page-ban__content h1 {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
  }
  .service-page figure.alignright, .page-template-default figure.alignright{
    width: 50%;
  }
  .service-page figure.alignleft, , .page-template-default figure.alignleft{
    width: 50%;
  }
  .load-more-services{
    display: block;
    text-align: center;
    margin-bottom: 40px;
  }
  .load-more-services button{
    width: 161px;
    height: 32px;
    border-radius: 7px;
    background-image: url("images/button.jpg");
    background-size: cover;
    border: 0;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    outline: none;
  }
  #services .service-item{
    display: none;
  }
  #services .service-item:nth-child(-n+3){
    display: block;
  }
  .fa-phone {
    font-size: 20px;
  }

  .language-dropdown{
    padding-top: 7px!important;
  }
  .header-content_top__lang ul li span{
  	font-weight: 300;
  }
  .burger{
  	margin-left: 20px
  }
  .header-content_top__lang ul li span{
    font-size: 18px
  }
  .header-content_top__lang i {
    left: 25px;
  }
}

@media (max-width: 420px) {
  .header-mobile__phone a{
    font-size: 12px
  }
  .popup-form__content{
    width: 100%;
    margin: 0 10px
  }
  .wpcf7 form p{
    margin-bottom: 10px
  }
  .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output{
    margin-top: 0;
  }
}

@media (max-width: 375px) {
  .section .title {
    margin: 25px 0 25px 0;
    font-size: 14px;
    height: 45px;
    background-size: contain !important;
  }

  .page-ban h1 {
    font-size: 16px;
  }

  .fa-phone {
    font-size: 15px;
  }

  .service-page .page-ban__content h1 {
    font-size: 16px;
  }

  .contact-content__right {
    align-items: flex-start;
  }

  .contact-title {
    top: 20%;
  }
  .header-mobile__phone a {
    font-size: 11px;
  }
}
