@media (min-width: 320px) and (max-width: 1023px) { 
 
  .first{
    order: 1;
  }
   .second{
    order: 2;
  }
  .desktop{
  display: none;
}
.mobile{
  display: block;
}
  .wpcf7-not-valid-tip {
   
    font-size: 11px;
    top: 0px;
}
}

@media (min-width: 320px) and (max-width: 991px) { 
 .table-wrap{
   overflow: scroll;
  }
 .pag_text{
   display: none;
  }
  .pagination {

    margin: 40px auto 0px auto;
  }
  .article-item .content .excerpt {
    max-width: 100%;
}
  .article-item .content h2 {
    font-size: 20px;
    line-height: 120%;
    margin-top: 20px;
}
  a.more {
 
    font-size: 12px;
  }
  .pagination > li > a, .pagination > li > span {
    width: 40px;
    height: 40px;
    font-size: 13px;
}


}


@media (min-width: 320px) and (max-width: 1023px) { 
    .container {
    width: 100%;
    max-width: 540px;
}
   .navbar {
   display: none;
}
  h1 {
    font-size: 32px;
}
   h2 {
    font-size: 32px;
    line-height: 140%;
}
  .hentry h3 {
    font-size: 30px;
}
  .hentry h4 {
    font-size: 28px;
}
  .hentry h5 {
    font-size: 24px;
}
  .hentry h6 {
    font-size: 20px;
}
  .hentry h2 {
    font-size: 32px;
    line-height: 140%;
}
  p {
    font-size: 13px;
  line-height: 130%;
}
   .hentry p {
    font-size: 13px;
  line-height: 130%;
}
  .hentry ul li {
    font-size: 13px;
  }
  .hentry ol li {

    font-size: 13px;
  }
  section {
    padding: 25px 0px;
}
  footer {
  margin-top: 30px;
    background: url(/wp-content/uploads/2023/10/rectangle-33-1.webp), linear-gradient(0deg, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.80) 100%)no-repeat;
   background-size: cover;
}
 footer .header_container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 0px 0px 0px;
    align-content: center;
    height: 100%;
    flex-direction: column;
}
  footer .header_container .item {
    height: 100%;
    display: flex;
    align-content: flex-start;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
}
  .bottom-menu {
    display: flex;
    gap: 30px;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 505px;
    align-items: center;
    margin: 50px 0px;
}
  footer img.logo {
    max-width: 194px;
    margin: 0px 0px 0px 0px;
}
  header img.logo {
    max-width:80px;
    margin: 0px 0px 0px 0px;
}
  header .header_container .item_contact {
    margin-left: auto;
    display: none;
}
  .home header {
    background: transparent;
    box-shadow: none;
    padding: 6px 0px;
}
   .home header.scr {
  background: #060606;
 
}
  
    header {
  position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: none;
    padding: 6px 0px;
}
  
  .wrapper {
      padding-top: 70px;
    overflow-x: hidden;
    margin-top: 0px;
}
  .home .wrapper {
      padding-top: 60px;
    overflow-x: hidden;
    margin-top: -70px;
}
  
  footer p {
     line-height: 130%;
    font-size: 13px;
}
  .modal-dialog {
    max-width: 90%;
    margin: 30px auto;
}
  .modal-title {
    margin-bottom: 20px;
    font-size: 20px;
}
  .modal-subtitle {
    font-size: 14px;
}

  .f1 {
    margin-top: 0px;
    margin-bottom: 20px;
    font-size: 14px;
}
  .mt-5 {
    margin-top: 2rem!important;
}
  .wpcf7-form-control.btn {
    font-size: 14px;
}
  p.accept {
    font-size: 10px;
    margin-top: 0px;
}
  #map {
    width: 100%;
    height: 500px;
    margin-top: 0;
}
  section.section_page {
    padding-top: 25px;
}
  p#breadcrumbs {
    padding: 0px 0px 20px 0px;
    font-size: 13px;
  }
  .archive h1, .single h1, .page-template-default h1 {
    font-size: 32px;
    margin-bottom: 25px;
}
#offer .title, #offer .title h1 {
    font-size: 32px;
}
  #offer .text p {
    font-size: 14px;
    line-height: 160%;
}
  #offer .btn {
    margin-top: 24px;
width: 100%;
}
  #offer .owl-dots {
    bottom: -150px;
    left: 0;
    width: 100%;
}
  #offer {
    padding: 120px 0px 92px 0px;
    background-size: cover;
    margin-bottom: 20px;
}
  
  .home section h2{
    text-align: center;
  }
  #about .img:before {
   display: none;
}
  #about .img {
    margin-top: 20px;
    margin-bottom: 0px;
    width: 100%;
}
  .services {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 25px;
}
  .services a {
    width: 48.4%;
}
  .services .item p.title {
    font-size: 12px;
  }
  .services .item img {
    width: 37px;
}
  .services .item {

    border-radius: 20px;
    border: 2px solid #F79900;
    padding: 20px 7px 7px 7px;
    height: 104px;
  }
  .services a.all_services {
    display: flex;
    align-items: baseline;
    width: 100%;
    justify-content: center;
    margin-top: 17px;
}
   .services a.all_services .btn{
     width: 100%;
  }
  #cta {
    padding: 50px 0px 50px 0px;
    margin-top: 20px;
    margin-bottom: 20px;
        background-size: contain;
}
  #cta h2{
   text-align: left;
    line-height: 100%;
}
  .form_cta {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0px;
    margin-top: 30px;
    flex-direction: column;
}
  .form_cta .f1 {
    width: 100%;
}
  .form_cta .btn {
    width: 100%;
  
}
  .item_respond img {
    margin-right: 20px;
    width: 98px!important;
    height: 98px;
    float: left;
}

  .faq_columns {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}
  
  .faq {
      width: 100%;
  margin-top: 30px;
}
  .faq__item {
   
    margin: 0 0 0em;
    width: 100%;
}
  .faq__question {
 
    padding: 10px 10px 10px 47px;
    font-size: 14px;
    line-height: 23px;
    border-radius: 30px;
    margin-bottom: 20px;
    height: auto;
    min-height: 82px;
}
  .faq__answer p {
    font-size: 14px!important;
}
  .faq__answer {
    padding: 0px 0px 30px 10px;
}
  .bg_grey {
    padding: 30px 0px 30px 0px;
}
  .form_wrap_img {
    display: none;
}
}

@media (min-width: 600px) and (max-width: 991px) { 
  .form_cta .btn {
    width: 220px;
    border: 0;
}
   .form_cta .wpcf7-form-control-wrap {
    position: relative;
    width: 100%;
}
  .form_cta {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    flex-direction: row;
    flex-wrap: nowrap;
}
}

@media (min-width: 768px) and (max-width: 1023px) { 

 .home section h2 {
    text-align: left;
}
  
}

@media (min-width: 960px) and (max-width: 991px) { 

  .container {
    width: 100%;
    max-width: 720px;
}
}

@media (min-width: 992px) and (max-width: 1023px) { 

  .container {
    width: 100%;
    max-width: 720px;
}
   .navbar {
   display: none;
}
  
   header img.logo {
    max-width:80px;
    margin: 0px 0px 0px 0px;
}
  header .header_container .item_contact {
    margin-left: auto;
    display: none;
}
  .home header {
    background: transparent;
    box-shadow: none;
    padding: 6px 0px;
}
   .home header.scr {
  background: #060606;
 
}
  
    header {
  position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    box-shadow: none;
    padding: 6px 0px;
}
  
  .wrapper {
      padding-top: 70px;
    overflow-x: hidden;
    margin-top: 0px;
}
  .home .wrapper {
      padding-top: 60px;
    overflow-x: hidden;
    margin-top: -70px;
}
  #offer {
    padding: 120px 0px 92px 0px;
    background-size: cover;
    margin-bottom: 20px;
}
  .services {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 25px;
}
  
  .services a {
    width: 32%;
}
  .services .item p.title {
    font-size: 16px;
  }
  .mobile_img {
    display: flex;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}
  .item_respond p.name {
    margin-left: 0px;
    margin-top: 20px;
}
  h2 {
    font-size: 42px;

}
  #respond  h2 {
   margin-left: 90px;

}
  
  .form_wrap_img {
    margin-top: -100px;
    margin-left: 100px;
}
  .form_cta {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-direction: row;
}
  
}

@media (min-width: 1024px) and (max-width: 1199px) { 
  .navbar-nav>li>a {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 11px;
}
  img.logo {
    max-width: 104px;
    margin: 10px 38px 10px 0px;
}
  .messenger {
    margin-top: 15px;
    display: flex;
    gap: 12px;
}
   .messenger img {
  width: 30px;
}
  .header_container .item a.phone {
   
    font-size: 15px;
   
}
  .services {
    display: flex;
    gap: 30px
  }
  .services a {
    width: 22.5%;
}
  .services a.all_services {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}
  .services .item p.title {
    font-size: 16px;
  }
  .form_wrap_img {
    margin-top: -100px;
    margin-left: 110px;
}
}