/*=================================================================*/
/*                      RESPONSIVE SETTINGS
/*=================================================================*/
@media (max-width: 1200px) and (min-width: 991px) {
  .site-wrapper {
    max-width: 970px;
  }

  main.content {
    width: 675px;
  }

  /* ---------------------------------------------------------------------- */

  #home .part-1 h1 {
    font-size: 80px;
  }

  #home .part-1 p {
    font-size: 38px;
  }

  /* --------------------------------------------------------------------------------- */

  #home .part-2 {
    /* position: absolute; */
    bottom: 30px;
  }

}


@media only screen and (max-width: 991px) {
  .site-wrapper {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  header.left {
    top: 25px;
    float: none !important;
    -webkit-transform: translateX(-380px);
    -moz-transform: translateX(-380px);
    -ms-transform: translateX(-380px);
    -o-transform: translateX(-380px);
    transform: translateX(-380px);
    top: 78px;
  }

  header.left.open {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }

  header.left button.close {
    display: block;
  }

  .mobile-header {
    display: block;
  }

  main.content {
    margin-top: 20px;
    float: none !important;
    width: 100%;
  }
}



@media (max-width: 768px) and (min-width: 670px) {

  .fact-item {
    margin: 20px 0;
  }

  .blog-item {
    margin: 15px 0;
  }

  /* ---------------------------------------------------------------------- */

  #home .part-1 h1 {
    font-size: 80px;
  }

  #home .part-1 p {
    font-size: 38px;
  }

  /* --------------------------------------------------------------------------------- */

  #home .part-2 {
    /* position: absolute; */
    bottom: 30px;
  }
}


@media (max-width:670px) and (min-width: 576px) {

  /* ---------------------------------------------------------------------- */

  .price-item {
    height: 164px;
  }

  /* ---------------------------------------------------------------------- */

  #home .part-1 h1 {
    font-size: 65px;
  }

  #home .part-1 p {
    font-size: 28px;
  }

  /* --------------------------------------------------------------------------------- */

  #home .part-2 {
    /* position: absolute; */
    bottom: 20px;
  }

  #home .btn-lg {
    padding: 5px 10px;
    font-size: 13px;
  }
}

@media (max-width:576px) and (min-width: 540px) {

  /* ---------------------------------------------------------------------- */

  .price-item {
    height: auto;
    padding: 30px 10px 0;
  }

  /* ---------------------------------------------------------------------- */

  #home .part-1 h1 {
    font-size: 65px;
  }

  #home .part-1 p {
    font-size: 28px;
  }

  /* --------------------------------------------------------------------------------- */

  #home .part-2 {
    /* position: absolute; */
    bottom: 20px;
  }

  #home .btn-lg {
    padding: 5px 10px;
    font-size: 13px;
  }
}

@media (max-width: 540px) and (min-width: 415px) {

  #home .part-1 h1 {
    font-size: 60px;
  }

  #home .part-1 p {
    font-size: 25px;
  }

  /* ---------------------------------------------------------------------- */

  .price-item {
    height: auto;
    padding: 30px 10px 0;
  }

  /* --------------------------------------------------------------------------------- */

  #home .part-2 {
    /* position: absolute; */
    bottom: 20px;
  }

  #home .part-2 p {
    font-size: 12px;
  }

  #home .btn-lg {
    padding: 5px 10px;
    font-size: 13px;
  }

  /* --------------------------------------------------------------------------------- */

  .service-item h4 {
    font-size: 16px;
    margin: 10px 0;
  }

  .service-item p {
    margin: 10px 0;
  }
}

@media (max-width: 415px) and (min-width: 376px) {

  #home .part-1 h1 {
    font-size: 30px;
  }

  #home .part-1 p {
    font-size: 14px;
  }

  /* ---------------------------------------------------------------------- */

  .price-item {
    height: auto;
    padding: 30px 10px 0;
  }

  /* --------------------------------------------------------------------------------- */

  section.padding {
    padding: 20px 15px;
  }

  .service-item h4 {
    font-size: 16px;
    margin: 10px 0;
  }

  .service-item p {
    margin: 10px 0;
  }

  /* --------------------------------------------------------------------------------- */

  #home .part-2 {
    /* position: absolute; */
    bottom: 5px;
  }

  #home .part-2 img {
    max-width: 20%;
    margin: 10px 0;
  }

  #home .part-2 p {
    font-size: 10px;
  }

  #home .btn-lg {
    padding: 5px 10px;
    font-size: 10px;
  }
}

@media (max-width: 376px) and (min-width: 320px) {

  #home .part-1 h1 {
    font-size: 30px;
  }

  #home .part-1 p {
    font-size: 14px;
  }

  /* ---------------------------------------------------------------------- */

  .price-item {
    height: auto;
    padding: 30px 10px 0;
  }

  /* --------------------------------------------------------------------------------- */
  section.padding {
    padding: 20px 15px;
  }

  .service-item h4 {
    font-size: 13px;
    margin: 10px 0;
  }

  .service-item p {
    margin: 10px 0;
    font-size: 10px;
  }

  /* --------------------------------------------------------------------------------- */

  #home .part-2 {
    /* position: absolute; */
    bottom: 5px;
  }

  #home .part-2 img {
    max-width: 20%;
    margin: 8px 0;
  }

  #home .part-2 p {
    font-size: 10px;
    line-height: 1.5;
  }

  #home .btn-lg {
    padding: 4px 6px;
    font-size: 9px;
    margin: 6px 0;
  }
}

@media (max-width: 320px) and (min-width: 280px) {

  #home .part-1 h1 {
    font-size: 25px;
  }

  #home .part-1 p {
    font-size: 15px;
  }

  /* ---------------------------------------------------------------------- */

  .price-item {
    height: auto;
    padding: 30px 10px 0;
  }

  /* --------------------------------------------------------------------------------- */

  section.padding {
    padding: 20px 15px;
  }

  .service-item h4 {
    font-size: 11px;
    margin: 10px 0;
  }

  .service-item p {
    margin: 10px 0;
    font-size: 9px;
  }

  /* --------------------------------------------------------------------------------- */

  #home .part-2 {
    /* position: absolute; */
    bottom: 5px;
  }

  #home .part-2 img {
    margin: 5px 0;
  }

  #home .part-2 p {
    font-size: 9px;
  }

  #home .btn-lg {
    padding: 5px 10px;
    font-size: 7px;
    margin: 7px 0;
  }
}




/* max-width:280px */

@media (max-width: 280px) {

  #home .part-1 h1 {
    font-size: 25px;
  }

  #home .part-1 p {
    font-size: 15px;
  }

  /* --------------------------------------------------------------------------------- */

  #home .part-2 {
    /* position: absolute; */
    bottom: 20px;
  }

  #home .part-2 img {
    margin: 5px 0;
  }

  #home .part-2 p {
    font-size: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  #home .btn-lg {
    padding: 5px 10px;
    font-size: 6px;
    margin: 5px 0;
  }

  #about .btn {
    font-size: 12px;
  }
}



/* -------------------------------- */


@media only screen and (max-width: 515px) {
  .pf-filter-wrapper {
    display: block;
  }

  .portfolio-filter {
    display: none;
  }

  .hero .cta h1 {
    font-size: 36px;
  }
}

@media only screen and (max-height: 610px) {
  header.left {
    height: calc(100vh - 50px);
    min-height: calc(100vh - 50px);
    max-height: calc(100vh - 50px);
  }

  header.left .footer {
    margin-top: 22px !important;
  }
}



/* gallery responsive  */
@media screen and (max-width:1200px) {
  .gallery-item {
    width: 25% !important;
  }
    
  .certificates-items .gallery-item{
    width: 33.33%;
  }
}


@media screen and (max-width:992px) {
  .gallery-item {
    width: 33.3% !important;
  }

      
  .certificates-items .gallery-item{
    width: 33.33%;
  }
}


@media screen and (max-width:768px) {
  .gallery-item {
    width: 50% !important;
  }
      
  .certificates-items .gallery-item{
    width: 50%;
  }
  
  .news-bx {
    /* flex-direction: column; */
    width: 100%;
    justify-content: flex-start;
  }
  
  .news-bx img {
    margin-bottom: 15px;
  }
}
@media screen and (max-width:408px) {
  .news-bx h5 {
    font-size: 14px;
  }
}

@media screen and (max-width:340px) {
  .gallery-item {
    width: 50% !important;
  }
}