/*!
Theme Name: Outgrid Child
Theme URI: https://uicore.co
Description: Multi-Purpose Elementor WordPress Theme
Author: UiCore
Author URI: https://uicore.co
Template: outgrid
Version: 1.0.0
Text Domain: outgrid
*/

/* Add your custom style here */

.custom-directions-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
  padding: 0 10px;
}

.custom-direction-link {
  background: #f4f5f7;
  color: #444;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.3s;
}

.custom-direction-link:hover {
  background: #e2e4e8;
  color: #000;
}

.custom-direction-count {
  color: #ba0c2e;
  margin-left: 10px;
  font-size: 14px;
  font-weight: 500;
}

.custom-manufacturers-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  padding: 0 10px;
}

.custom-manufacturer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #000;
  transition: opacity 0.3s;
}

.custom-manufacturer-link:hover {
  opacity: 0.7;
}

.custom-manufacturer-link img {
  max-height: 45px;
  max-width: 150px;
  object-fit: contain;
}

.custom-manufacturer-text {
  font-weight: bold;
  font-size: 16px;
  padding: 10px;
  background: #f4f5f7;
  border-radius: 5px;
}

@media (min-width: 1024px) {
  .uicore-navbar:not(.uicore-left-menu) .uicore-branding {
    padding-right: 0px !important;
  }
}

.region-change {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 16px;
  position: relative;
}

.region-change span {
  margin-right: 10px;
}

.region-change a {
  margin-left: 5px;
  color: #000;
  text-decoration: underline;
}

.region-change a.lang-active {
  background: #ba0c2e;
  color: #fff;
  padding: 2px 5px;
  border-radius: 5px;
  text-decoration: none;
  pointer-events: none;
}

.region-change a:hover {
  text-decoration: none;
}

.current-region {
  cursor: pointer;
}

.current-region:hover {
  text-decoration: underline;
}

.region-chosen-popup {
  background: #fff;
  top: 55px;
  padding: 25px 20px;
  width: 320px;
  left: 0px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, .15);
  z-index: 9999;
  font-size: 16px;
  color: #000;
}

div.tags-links.blog-tags-container a {
  font-size: 16px !important;
}

.custom-pagination-wrapper {
  margin-top: 60px;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

@media screen and (min-width: 1025px) {
  .region-chosen-popup {
    position: absolute;
  }

  .region-chosen-popup::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 40px;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
  }
}

.region-chosen-question {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.region-chosen-question button {
  padding: 10px 15px;
  cursor: pointer;
  min-width: 130px;
}

.region-chosen-question .region-yes {
  background: #ba0c2e;
  color: #fff;
}

.region-chosen-question .region-yes:hover {
  background: #000;
}

.region-chosen-question button span {
  margin: 0px;
}

.region-overlay,
.region-popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.region-modal {
  background: #fff;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.region-popup-header {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #000;
}

.region-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.region-list li {
  margin: 10px 0;
}

.region-list a {
  text-decoration: none;
  font-weight: 500;
  margin-left: 0px;
  color: #070707;
  font-size: 16px;
}

.region-list a:hover {
  text-decoration: underline;
}

.close-region-modal {
  margin-top: 20px;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  background: #ba0c2e;
  color: #fff;
}

.close-region-modal:hover {
  background: #000;
}

body.modal-open {
  overflow: hidden;
}

.uicore-nav-menu .elementor-animation-flip .ui-btn-anim-wrapp .elementor-button-text,
.uicore-nav-menu .uicore-cta-wrapper .elementor-button-text {
  color: #fff;
}

#breadcrumbs a {
  opacity: .6;
}

.tax-project_directions .uicore-page-title h1.uicore-title,
.uicore-blog.single .uicore-page-title p,
.uicore-blog.single .uicore-page-title h1.uicore-title {
  max-width: 100% !important;
}

.uicore-blog #main.uicore {
  background: #fff;
}

.single-post.uicore-narow .uicore-post-content:not(.uicore-related) {
  max-width: 100% !important;
}

.uicore-blog .uicore-post-content:not(.uicore-archive) .entry-content {
  color: #070707;
}

.uicore-blog .uicore-post-content img {
  margin: 0px auto;
}

.custom-section {
  background: #fff;
  padding-bottom: 50px;
  padding-top: 50px;
}

.custom-section-gray {
  background: #f8f8f8;
}

.custom-section-header {
  text-align: center;
  color: #070707;
  font-size: 28px;
  margin-bottom: 0px;
  font-weight: 500;
  padding-bottom: 50px;
}

.custom-projects img {
  max-width: 100%;
}

.custom-projects .elementor-widget-container p {
  color: #070707;
  font-size: 16px;
  margin-bottom: 0px;
}

.custom-projects .elementor-container.elementor-column-gap-default {
  align-content: center;
  align-items: center;
  gap: 80px;
}

.custom-projects .elementor-container.elementor-column-gap-default div {
  padding: 0px 10px;
}

.custom-projects-list {
  display: grid !important;
  column-count: 3 !important;
  grid-template-columns: repeat(3, 1fr) !important;
  background: #fff;
  gap: 25px;
}

.custom-section-gray .custom-projects-list {
  background: #f8f8f8;
}

.custom-projects-item {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #f3f3f3;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  background: #fff;
}

.custom-projects-item img {
  max-width: 70%;
  padding: 15px;
}

.custom-projects-item p {
  font-size: 16px;
  color: #8a8a8a;
}

.custom-projects-item p {
  font-size: 16px;
  color: #8a8a8a;
  margin: 0px !important;
}

p.custom-projects-item-name {
  font-size: 24px;
  color: #070707;
}

.custom-posts-list {
  display: grid !important;
  column-count: 4 !important;
  grid-template-columns: repeat(4, 1fr) !important;
  background: #fff;
  gap: 25px;
  padding: 0px 0px 0px;
}

.custom-post-item {
  display: flex;
  justify-content: center;
  /*    align-items: center; */
  padding: 20px;
  border-radius: 10px;
  background: #f8f8f8;
  color: #070707;
  font-weight: 500;
}

.custom-projects-item:hover,
.custom-post-item:hover {
  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
}

.custom-post-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.custom-post-date-first {
  display: grid;
  text-align: left;
}

.custom-post-date-first .custom-post-day {
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
}

.custom-post-date-first .custom-post-month {
  font-size: 12px;
  text-transform: capitalize;
}

.custom-post-item:nth-child(1) {
  background: #BA0C2E;
}

.custom-post-item a {
  color: #070707;
}

.custom-post-item:nth-child(1) a {
  color: #fff;
}

.custom-post-item .custom-post-name {
  line-height: 1.2;
}

.custom-post-item .custom-post-excerpt {
  font-size: 14px;
  opacity: .9;
}

.custom-post-item:not(:nth-child(1)) .custom-post-year,
.custom-post-item:not(:nth-child(1)) .custom-post-excerpt,
.custom-post-item:not(:nth-child(1)) .custom-post-manufacturer {
  opacity: .5;
}

.filter-container {
  margin-bottom: 50px;
}

.filter-container select {
  border: none;
  cursor: pointer;
}

#projects-container p {
  color: #070707;
}

.popmake form p {
  font-size: 14px;
}

.popmake .popmake-title {
  margin-bottom: 20px;
}

.popmake form input {
  margin-top: 10px;
}

.popmake form input[type=submit] {
  color: #fff;
}

.popmake form .wpcf7-spinner {
  display: none;
}

@media screen and (max-width:1024px) {
  .custom-posts-list {
    column-count: 3 !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }

  #wrapper-navbar~#content header.uicore {
    padding-top: 0px !important;
  }
}

@media screen and (max-width:768px) {
  .custom-projects .elementor-container.elementor-column-gap-default {
    gap: 0px;
  }

  .custom-projects-list {
    column-count: 2 !important;
    grid-template-columns: repeat(2, 1fr) !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .custom-posts-list {
    column-count: 2 !important;
    grid-template-columns: repeat(2, 1fr) !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

@media screen and (max-width:480px) {
  .custom-projects-list {
    column-count: 1 !important;
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .custom-posts-list {
    column-count: 12 !important;
    grid-template-columns: repeat(1, 1fr) !important;
  }
}