/* ------ Medium and large devices (laptops and dekstops , 992px and up) -----*/
@media (min-width: 1200px) {
  .container {
    max-width: 1152px;
  }
}


/* ------ Medium and large devices (laptops and dekstops , 992px and up) -----*/
@media (min-width: 1280px) {
  .container_xl {
    max-width: 1200px;
  }
}

/* ------ Medium and large devices (laptops and dekstops , 992px and up) -----*/
@media (min-width: 992px) and (max-width: 1199.99px) {
  html {
    font-size: 45%;
  }

  .container {
    max-width: 960px;
  }
}

/* ------ Medium and large devices (laptops and dekstops , 992px and up) -----*/
@media (min-width: 992px) {
  .inner_hero {
    background-size: 100% !important;
  }

  .primary_menu_wrap {
    height: 100%;
  }
}

/* ------ Medium devices (tablets, 991px and down) -----*/
@media (max-width: 991px) {
  html {
    font-size: 50%;
  }

  br {
    display: none;
  }

  /* =========== Contact area =========== */
  .pl_75 {
    padding-left: 4.5rem;
  }

  /* ================== Mobile area ==================== */
  .site_header {
    height: 7rem;
  }

  /* 
  .mobile_menu {
    position: fixed;
    width: 100%;
    left: -100%;
    height: 100vh;
    top: 0;
    background: #ffffff;
    z-index: 999999;
    padding: 2.4rem 0;
    pointer-events: none;
    opacity: 0;
    transition: 0.35s ease;
  }

  .menu_active .mobile_menu {
    opacity: 1;
    left: 0;
    pointer-events: all;
  } */

  .mobile_menu_logo img {
    width: 12rem;
  }

  .mobile_menu_top {
    align-items: flex-start !important;
  }

  /* .primary_menu {
    flex-direction: column;
    display: flex;
    gap: 0;
    padding: 5rem 0;
  } */

  /* .menu_link {
    height: 7rem !important;
    display: flex;
    align-items: center;
    font-size: 2.4rem;
    border-bottom: 0.1rem solid #545454;
    justify-content: flex-start;
    width: 100%;
  } */

  .mobile_menu .container {
    height: 100%;
    display: grid;
    align-content: space-between;
  }

  .menu_link::before {
    height: 0.2rem;
  }

  .menu_link.active {
    padding: 0 2rem;
    background: #f1f1f1;
  }

  .menu_link:hover {
    color: #000;
  }

  .menu_link:not(.active):hover:before {
    width: 0;
  }

  .primary_menu_wrap {
    background: #fff;
    position: absolute;
    width: 100%;
    top: 11.9rem;
    transition: 0.35s ease;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }

  .home_nav_wrap .primary_menu_wrap {
    top: 7rem;
  }

  .navbar-toggler {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .navbar {
    position: relative;
  }

  .primary_menu {
    gap: 0;
    padding: 0 0 1.5rem 0;
  }

  .menu_link {
    height: 5rem !important;
    justify-content: flex-start;
    padding: 0 2rem;
    font-size: 2rem;
  }

  .menu_sticky .primary_menu_wrap {
    opacity: 0;
    pointer-events: none;
  }

  .navbar-toggler:not(.collapsed) .close_btn {
    display: block !important;
  }

  .navbar-toggler:not(.collapsed) .menu_hamburger {
    display: none !important;
  }

  /* ============== Footer area ============ */
  .footer_col {
    padding-right: 3.5rem;
  }

  .footer_boxes {
    padding-left: 2rem;
  }

  /* ============== Brand area ============ */
  .brans_list {
    grid-template-columns: repeat(4, 1fr);
    height: auto;
    gap: 3rem;
  }

  /* ============== service_area ============ */
  .service_area .row {
    --bs-gutter-y: 4rem;
  }

  /* ================= sm_nav ================== */
  .navigation_area {
    height: 6rem;
  }

  .nav_list a p {
    display: none;
  }

  /* ================ nav_wrap ================ */
  main {
    margin-top: 11.9rem;
  }

  body.home main.main_content {
    margin-top: 7rem;
  }

  /* ================= hero_content ================= */
  .hero_content .text_sm {
    padding-bottom: 0;
    font-size: 1.2rem;
  }

  /* ================= Items area ================= */
  .item .row {
    --bs-gutter-y: 3.5rem;
    flex-direction: column-reverse;
  }

  .items_list {
    gap: 8rem;
  }

  .items_specs {
    margin-bottom: 3rem;
  }

  .item.v2 .specs {
    padding-right: 0;
  }
}

/*----- xs devices (landscape phones, 767px and down) -----*/
@media (max-width: 767px) {
  html {
    font-size: 45%;
  }

  .services_list {
    width: 100%;
    justify-content: center;
    gap: 1rem 5rem;
  }

  .hero_area {
    max-height: 100%;
  }

  .pb_65 {
    padding-bottom: 5rem;
  }

  .pt_65 {
    padding-top: 5rem;
  }

  .solar_area img {
    height: 24rem;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .section_top .title_20 {
    line-height: 1.35;
    letter-spacing: 0.4rem;
  }

  .service_img {
    width: 4.8rem;
    height: 4.8rem;
  }

  .service_img img {
    width: 4.8rem;
  }

  .brans_list {
    gap: 2rem;
  }

  .footer_section .row {
    --bs-gutter-y: 3rem;
  }

  .footer_boxes {
    padding-left: 0;
    gap: 2.5rem 0;
    flex-wrap: wrap;
  }

  .footer_box ul li,
  .footer_box p {
    font-size: 1.8rem;
  }

  .footer_box p:last-child {
    padding-top: 2.5rem;
  }

  .footer_section .col-lg-3 {
    display: flex;
  }

  .contact_bottom {
    flex-direction: column;
    gap: 3rem;
    align-items: flex-start;
  }

  .cb_right {
    width: 100%;
  }

  .cb_right button {
    width: 100%;
  }

  .contact_area .row.pb_60 {
    padding-bottom: 3rem;
  }

  .contact_area form .row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
  }

  .section_top.pt_60 {
    padding-top: 5rem;
  }

  .section_top.pb_60 {
    padding-bottom: 3.5rem;
  }

  .section_top.pb_80 {
    padding-bottom: 4rem;
  }

  .section_top_bar {
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
  }

  .title_40 {
    font-size: 3.2rem;
    line-height: 1.25;
    letter-spacing: -0.002em;
  }

  .pt_148 {
    padding-bottom: 9rem;
  }

  .pb_148 {
    padding-top: 9rem;
  }

  .estamos_top .p1 {
    padding: 1rem 0 2.5rem;
  }

  .estamos_top {
    padding-bottom: 2rem;
  }

  .estamos_area .row {
    flex-direction: column-reverse;
    gap: 2.6rem;
  }

  .map_img,
  .section_img {
    height: 35rem;
  }

  /* ================= navigation_area ================= */
  .navigation_area .container-fluid {
    padding: 0;
  }

  .nav_list {
    grid-template-columns: repeat(8, 1fr);
  }

  /* ================= items_area ================= */
  .solar_img {
    width: 52rem;
    top: auto;
    bottom: 0;
  }

  .item_main {
    height: 38rem;
  }

  .item_main_left {
    height: 32rem;
    margin: 3rem 0 3rem 3rem;
    width: 25rem;
  }

  .item_main_left h4 {
    font-size: 2rem;
    line-height: 1.25;
  }

  .green_logo {
    width: 8rem;
  }

  .inner_hero .pb_50 {
    padding-bottom: 3rem;
  }

  .inner_hero {
    height: 20rem;
  }

  .items_area {
    padding: 8rem 0 8rem;
  }

  .hero_area:not(.inner_hero) {
    background: url(https://esolar.saltoki.com/wp-content/themes/e-solar/assets/img/hero_bg.png) no-repeat fixed top center !important;
    height: calc(100vh - 7rem);
  }

  .pb_70 {
    padding-bottom: 4.5rem;
  }

  .byd {
    width: 8rem;
  }

  .greenheiss {
    width: 15rem;
  }

  .huawei {
    width: 15rem;
  }

  .sungrow {
    width: 15rem;
  }

  .sungrow2 {
    width: 17rem;
  }

  .beeplanet {
    width: 14rem;
  }

  .partners {
    flex-wrap: wrap;
    gap: 2rem 4rem;
    justify-content: center !important;
  }
}

/*----- xs devices (landscape phones, 575px and down) -----*/
@media (max-width: 575px) {
  html {
    font-size: 2.32vw;
  }

  main {
    overflow: hidden;
  }

  .container {
    padding: 0 2rem;
    max-width: 100%;
  }

  .brans_list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer_boxes {
    flex-direction: column;
  }

  /* =========== item area =========== */
  .item_main_left {
    width: 100%;
    height: auto;
    display: flex;
    margin: 0;
    padding: 2rem;
    align-items: center;
    gap: 2rem;
  }

  .solar_img {
    width: 100%;
  }

  .item_main_left h4 {
    font-size: 1.7rem;
  }

  .green_logo {
    width: 6rem;
  }

  .items_list {
    gap: 5rem;
  }

  .solar_img.solar_img1 {
    width: 100%;
  }

  .solar_img3 {
    right: 0;
  }
}