/* Footer responsive */
@media (max-width: 502px) {
  .wrapper-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 425px) {
  footer nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
/* Footer off */

/* Our advantages */

@media (max-width: 1155px) {
  .our-advantages ul {
    padding: 0 15px 0 15px;
    max-width: 1000px;
    justify-content: space-around;
  }
}

@media (max-width: 768px) {
  .our-advantages ul {
    padding: 0 15px;
  }
}

@media (max-width: 760px) {
  .our-advantages ul li {
    max-width: 320px;
  }
  .img-advantages img {
    width: 100%;
  }
  .our-advantages ul {
    justify-content: space-around;
  }
}

@media (max-width: 660px) {
  .our-advantages ul li {
    max-width: 400px;
  }
}
@media (max-width: 600px) {
  .our-advantages ul li {
    max-width: 350px;
  }
}

@media (max-width: 500px) {
  .our-advantages ul li {
    max-width: 350px;
  }

  h1 {
    font-size: 36px;
    max-width: 300px;
    padding: 50px 0 50px 0;
  }

}

@media (max-width: 320px) {
  h1 {
    font-size: 32px;
    max-width: 270px;
  }
}


@media (max-width: 1060px) {
  .wrapper-form {
    max-width: 450px;
  }
  .wrapper-recording img {
    width: 45%;
  }
}
@media (max-width: 860px) {
  .wrapper-form {
    max-width: 350px;
  }
  #recording-forms {
    align-items: center;
    max-width: 300px;
  }
  #recording-forms input {
    max-width: 260px;
  }
  #recording-forms select {
    max-width: 280px;
  }
}

@media (max-width: 700px) {
  .wrapper-recording {
    flex-direction: column;
    align-items: center;
  }
  .wrapper-recording img {
    width: 100%;
  }
  .wrapper-form {
    max-width: 490px;
    display: flex;
    justify-content: center;
    margin: 30px 0 30px 0;
  }
  .custom_forms button {
    margin-bottom: 30px;
  }
}

@media (max-width: 500px) {
  .wrapper-form {
    max-width: 100%;
    margin: 0;
  }
}


/* Header   */

@media (max-width: 1160px) {
  .logo-menu, .logo-menu-ru{
    margin-left: 20px;
  }
  #btnRecord {
    width: 150px;
    height: 40px;
    font-size: 13px;
  }
  .wrapper-header nav > ul {
    justify-content: space-around;
  }
  .contact-part-1 {
    justify-content: space-around;
    box-sizing: border-box;
  }
  .contact-part-1 a,
  .contact-part-1 p {
    font-size: 14px;
    width: 100%;
  }
  .contact-part-2 p {
    font-size: 14px;
  }
}

@media (max-width: 1000px) {
  .logo-menu, .logo-menu-ru{
    display: none;
  }
  .contact-part-2{max-width: 450px;}
}

@media (max-width: 768px) {
  .wrapper-number{max-width: 285px;}
  .wrapper-header nav img {
    display: none;
  }
}
@media (max-width: 750px) {
  .contact-nav,
  .wrapper-header {
    display: none;
  }
  header {
    min-height: 70px !important;
    background-size: 100% 100%;
    display: flex;
  }
  .logo-menu, .logo-menu-ru{display: block;}
}

@media (min-width: 750px) {
  #mobile-menu {
    display: none;
  }
}
@media(max-width:360px){
  .burger{margin-left: 10px;}
  .mobile-change__lang{margin-right: 10px;}
}

/* Header OFF */

/* List services */
@media (max-width: 1440px) {
  .list-services ul li a {
    font-size: 20px;
  }
}
@media (max-width: 1024px) {
  .list-services ul li {
    height: 150px;
  }
  .list-services {
    min-height: 100%;
  }
}

@media (max-width: 768px) {
  .list-services ul li {
    width: 20%;
    height: 135px;
  }
  .list-services ul li a {
    font-size: 14px;
  }
  .sub-diagnostic a {
    margin-top: 5px;
  }
}

@media (max-width: 600px) {
.list-services ul li a {
    font-size: 10px;
}
}
@media (max-width: 500px) {
  .list-services ul li {
    width: 50%;
  }
}
@media (max-width: 375px) {
  .list-services ul li {
    width: 187px;
  }
}

@media (max-width: 320px) {
  .list-services ul li {
    width: 160px;
    height: 105px;
  }
}

/* video-review" */

@media (max-width: 1900px) {
  .wrapper-youtube {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
    margin: 0 auto;
    padding-bottom: 30px;
  }
  .wrapper-youtube div {
    margin: 15px 15px 0 15px;
  }
}
@media (max-width: 1169px) {
  .wrapper-youtube div:last-child {
    margin-bottom: 30px;
  }
  .youtube .play {
    bottom: 20%;
  }
}

@media (max-width: 768px) {
  .wrapper-youtube div {
    max-width: 320px;
  }
}

@media (max-width: 700px) {
  .wrapper-youtube div {
    max-width: 450px;
    height: 300px;
  }
  .youtube .play {
    bottom: 32%;
  }
}

@media (max-width: 475px) {
  .video-review h4 {
    font-size: 35px;
  }
  .wrapper-youtube div {
    max-width: 380px;
    height: 250px;
  }
  h4::before {
    width: 120px;
    right: 60px;
    margin-top: 12px;
  }
}

@media (max-width: 475px) {
  h4::before {
    right: 64px;
  }
}
@media (max-width: 320px) {
  .wrapper-youtube div {
    height: 200px;
  }
  h4::before {
    right: 24px;
  }
}

/* about us PROVIDERS*/

@media (max-width: 1100px) {
  .providers li {
    max-width: 300px;
  }
  .providers {
    justify-content: space-around;
  }
}

@media (max-width: 768px) {
  .providers li {
    max-width: 235px;
  }
}

@media (max-width: 720px) {
  .providers li {
    max-width: 330px;
  }
}

@media (max-width: 660px) {
  .providers {
    flex-direction: column;
    align-items: center;
  }
  .providers li {
    max-width: 400px;
    margin-top: 15px;
  }
  .providers li:last-child {
    margin-bottom: 35px;
  }
}

@media (max-width: 480px){
  .our-providers h3::before {
    width: 125px;
    height: 15px;
    right: 80px;
    margin-top: 10px;
  }
}
@media (max-width: 425px) {
  .providers li {
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .our-providers h3::before {
    right: 60px;
  }
}

@media (max-width: 320px) {
  .providers li {
    max-width: 290px;
  }
  h2 {
    font-size: 40px;
    padding: 20px 0 50px 0;
  }
  .our-providers h3::before {
    right: 35px;
  }
}

/* ABOUT US */

@media (max-width: 1124px) {
  .description--center {
    max-width: 400px;
  }
  .about-center {
    justify-content: space-around;
  }
  .castom-header{
    min-height: 450px;
  }
}

@media (max-width: 900px) {
  .about-center {
    flex-direction: column;
  }
  .wrapper-photo {
    margin-bottom: 20px;
  }
  .description--center {
    max-width: 100%;
    padding: 30px 0 30px 0;
  }
  .description--center p:first-child {
    text-align: center;
    margin-top: 30px;
  }
  .description--center p:last-child {
    padding: 0 10px 0 10px;
    text-align: center;
}
}

@media (max-width: 500px) {
  .wrapper-photo {
    width: 390px;
    height: 180px;
  }
  .wrapper-photo::after {
    width: 320px;
    height: 220px;
    background-size: 100%;
  }
  .about-us {
    padding: 0;
  }
  .description--center p {
    padding: 0 15px 0 15px;
  }
}

@media (max-width: 420px) {
  .wrapper-photo {
    width: 330px;
    height: 120px;
  }
  .wrapper-photo::after {
    width: 300px;
    height: 170px;
    background-size: 100% 100%;
  }
}

@media (max-width: 350px) {
  .wrapper-photo {
    width: 300px;
    height: 115px;
  }
  .wrapper-photo::after {
    width: 270px;
    height: 160px;
  }
}

/* OFF */

/* Document */

@media (max-width: 1055px) {
  .documents ul {
    max-width: 788px;
    justify-content: space-around;
    margin-bottom: 50px;
  }
}

@media (max-width: 500px) {
  h2 {
    font-size: 28px;
    padding: 50px 0 50px 0;
  }
  .documents ul li p {
    text-align: center;
  }
}

@media (max-width: 320px) {
  h2 {
    font-size: 24px;
  }
}

/*gMaps-and-form bootom-form*/
@media (max-width: 1200px) {
  .custom_forms .bottom-input {
    max-width: 360px;
  }
  .custom_forms .bottom-select {
    max-width: 390px;
  }
  .custom_forms #bootom-legend {
    font-size: 35px;
  }
  .custom_forms {
    max-width: 400px;
  }
}

@media (max-width: 900px) {
  .gMaps-and-form {
    flex-direction: column;
    min-height: 100%;
  }
  .gMaps-and-form iframe {
    order: 2;
  }
  .custom_forms .bottom-input {
    max-width: 520px;
  }
  .custom_forms .bottom-select {
    max-width: 552px;
  }
  #top-btn {
    margin-bottom: 30px;
  }
}

@media (max-width: 600px) {
  .custom_forms .bottom-input {
    max-width: 350px;
  }
  .custom_forms .bottom-select {
    max-width: 380px;
  }
  .gMaps-and-form iframe {
    display: none;
  }
  .mobile-maps {
    display: block;
  }
}

@media (max-width: 375px) {
  .custom_forms .bottom-input {
    max-width: 240px;
  }
  .custom_forms .bottom-select {
    max-width: 270px;
  }
  .custom_forms {
    max-width: 270px;
  }
  .custom_forms #bootom-legend {
    font-size: 32px;
  }
  .mobile-maps {
    min-height: 300px;
  }
}

/* News */

@media (max-width: 1480px) {
  .list-news {
    max-width: 1000px;
    flex-wrap: wrap;
  }
  .news-item {
    margin-top: 30px;
  }
  h3{
    padding: 50px 0 50px 0;
    font-size:28px;
  }
}

@media (max-width: 740px) {
  .news-item {
    max-width: 280px;
  }
  .pub-information{
    margin: 20px 0 20px 0;
  }
}

@media (max-width: 600px) {
  .list-news {
    align-items: center;
  }
  /* .news-item {
    max-width: 400px;
  } */
}

@media (max-width: 420px) {
  /* .news-item {
    max-width: 350px;
  } */
}

@media (max-width: 420px) {
  /* .news-item {
    max-width: 300px;
  } */
}

/* slider */
@media (max-width: 1600px) {
  .slider {
    height: 400px;
  }
  .slide figure figcaption {
    top: 7%;
  }
  .slider-description {
    font-size: 20px;
  }
  .slider-name {
    font-size: 45px;
  }
}

@media (max-width: 1440px) {
  .slide figure figcaption {
    left: 28%;
  }
}

@media (max-width: 1024px) {
  .slide figure figcaption {
    left: 18%;
    top: 14%;
  }
}

@media (max-width: 768px) {
  .slider-arrows {
    display: none;
  }
  .slide figure figcaption {
    left: 7%;
    top: 19%;
  }
}

@media (max-width: 715px) {
  .slider {
    display: none;
  }
}

/* FIX MOBILE ABOUT-US MENU */
@media (max-width: 750px) {
  header {
    background: url(/media/bg-header.png) no-repeat;
    background-size: 100% 100%;
  }
}
/* FIX OFF */

/* Price */



@media (max-width: 500px) {
  .wrapper-category__prices li .item-category::before{
    font-size: 22px;
  }
}
@media (max-width: 550px) {
  tbody tr td:nth-last-child(2) {
    padding-left: 0;
    text-align: center;
    box-sizing: border-box;
    padding: 0 10px 0 10px;
    justify-content: center;
  }
  table tbody tr td {
    font-size: 13px;
  }
  #castom-price__h1 {
    max-width: 265px;
    font-size: 28px;
  }

  input[type="search"] {
    width: 220px;
  }
  table thead tr td {
    font-size: 15px;
  }
}

/* Price OFF */

/* category */

@media (max-width: 1024px) {
  .wrapper_category_img {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .wrapper_category_img p:first-child {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .category_img {
    min-height: 220px;
  }
  .wrapper_category_img {
    text-align: center;
  }

  .wrapper_category_img p:first-child {
    font-size: 36px;
    width: 100%;
  }
  .wrapper_category_img p:last-child {
    font-size: 16px;
  }
}

@media (max-width: 425px) {
  .wrapper_category_img p:first-child {
    font-size: 32px;
    width: 100%;
  }
  .wrapper_category_img p:last-child {
    font-size: 14px;
  }
  .wrapper_category_img{
    box-sizing: border-box;
    padding: 0 5px 0 5px;
  }
}

@media (max-width: 1900px){
  .mrt-img {
    background: url(../img/categories/mrt/mrt.jpg) no-repeat;
  }
}




@media (max-width: 375px) {
  .wrapper_category_img p:first-child{
    margin-bottom: 10px;
    margin-top: 10px;
  }
}

/* information departament */
@media(max-width: 1150px){
  .wrapper-about__block{
        flex-direction: column;
        align-items: center;
  }
  .description-category__center{
    padding: 0 20px 0 20px;
    box-sizing: border-box;
    max-width: 100%;
  }
  .about-text{
    margin-top: 0;
  }
  .description-category__center p:first-child{
    margin-top: 40px;
    text-align: center;
  }

  .advanteges{
    display: flex;
    flex-direction: column;
    padding: 0;
    align-items: center;
    padding: 0 10px 0 10px;
  }

  .advanteges li{
    list-style: square;
    max-width: 380px;
    width: 100%;
    text-align: center;
  }
}

@media(max-width: 625px){
  .category-h1{
    font-size: 22px;
    max-width: 300px;
  }

}

@media(max-width: 900px){
  .wrapper-number div a, .contact-part-1 a, .contact-part-1 p {
    font-size: 12px;
    width: 100%;
  }
  .single-about h1 {
    padding: 50px 10px;
    width: auto;
  }
}
@media(max-width: 340px){
  .category-h1 {
    font-size: 22px;
    max-width: 280px;
  }
}


/* department-services */

@media(max-width:768px){
  .wrapper-list__service{
    align-items: center;
    flex-direction: column;
  }
  .wrapper-list__service ul{
    width: 100%;
    padding: 0 10px 0 10px;
    box-sizing: border-box;
  }
  .wrapper-list__service ul li:last-child {
    margin-bottom: 0;
  }
}

@media(max-width:600px){
  .choice-service p{
    font-size: 16px;
  }
  .wrapper-list__service ul li{
    min-width: 400px;
  }
  .category-h1{
    padding: 30px 0 0px 0;
    line-height: 1;
  }
  .category-h2{
    font-size: 22px;
    max-width: 215px;
  }
  .category-h2::before{
    width: 100px;
    height: 15px;
    margin-top: 10px;
  }
  
}

@media(max-width:460px){
  .wrapper-list__service ul li {
      min-width: 300px;
  }
  .choice-service p{
    width: 60%;
  }
}

@media(max-width:320px){
  .choice-service p,
  .price-of_service div
  {
    margin-left: 0;
  }
}

@media(max-width: 340px){
  .category-h2::before {
      width: 110px;
  }
  .category-h2 {
    font-size: 22px;
    max-width: 280px;
  }
}
/* bootom-form */
@media(max-width:1000px){
  .description-category__bottom{
    padding: 20px 0 5px 0px;
  }
  .headline-category__bottom{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 10px 0 10px;
  }
    .description-category__bottom{
    justify-content: center;
  }
    #category__p::after{
    width: 100%;
  }
}

@media(max-width:420px){
  #category__p{
    text-align: center;
    font-size: 40px;
  }
}

@media(max-width:320px){
  #category__p{
    margin-top: 15px;
  }
}

/* Price */

@media(max-width:600px){
  .wrapper-category__prices li .item-category{
    height: 70px;
  }
  table thead tr, table tbody tr{
    height: 100%;
  }
  tbody tr td:first-child,
  .td-cod{
        width: 27%
  }
  tbody tr td:nth-last-child(2),
  .td-services{
    width: 43%;
    padding: 10px 0 10px 0;
  }
  tbody tr td:last-child,
  .td-prices{
    width: 23%;
  }

  .castom-thead tr .td-cod{
    width: 10%;
  }
  .castom-thead tr .td-services{
    width: 55%;
  }
  .castom-thead tr .td-day{
    width: 25%;
  }
  .castom-thead tr .td-prices{
    width: 10%; 
  }

  table .castom-thead tr td{
      font-size: 14px;
  }


  .castom-tbody td:nth-child(1){
    width: 10%;
  }
  .castom-tbody tr td:nth-child(2){
    width: 53%;
    box-sizing: border-box;
  }
  .castom-tbody tr td:nth-child(3){
    width: 25%;
  }
  .castom-tbody tr td:nth-child(4){
    width: 10%; 
  }

  .large-tr{
        height: 100%;
  }
}

@media(max-width:360px){
  table .castom-thead tr td{
        font-size: 12px;
  }
}

/* page news */
@media(max-width:1200px){
  .wrapper-news{
    justify-content: space-around;
  }
}