/*
Theme Name: Global Minerals Theme
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.header-main {
  background-color: #207956;
  border-top: 1px solid #37d396;
  #logo {
    img {
      filter: brightness(0) invert(1);
    }
  }
  .logo_name {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.5em;
    color: #fff;
    text-align: center;
  }
}
.header-bottom {
  .flex-left {
    .header-nav {
      > li {
        &::before,
        &::after {
          display: none;
        }
        &:first-child {
          > a {
            font-size: 0;
            img {
              font-size: initial;
              width: 20px;
              height: 20px;
              filter: brightness(0) invert(1);
              margin: 0;
            }
          }
        }
      }
      .sub-menu {
        background: #996600e6;
        border: none;
        padding: 0;
        > li {
          transition: all 0.3s ease;
          &:hover {
            background-color: rgba(102, 51, 0, 0.5);
            color: #f9d236;
          }
          > a {
            font-size: 0.9em;
            border: none;
            color: #fff;
          }
        }
      }
    }
  }
  background-color: #209a6a !important;
  border-top: 1px solid #37d396;
  .header-nav {
    gap: 15px;
    > li {
      > a {
        color: #fff;
        font-weight: 500;
        text-transform: uppercase;
        > svg {
          color: #fff;
        }
      }
    }
  }
}
.home_banner {
  border-top: 5px solid #deb200;
  border-bottom: 5px solid #deb200;
  .flickity-button {
    background: #e6e6e6;
    opacity: 1;
    &.previous {
      left: -15%;
    }
    &.next {
      left: unset;
      right: -15%;
    }
  }
}
.home_blog {
  .flickity-button {
    z-index: 99;
    background: #207956;
    margin-top: unset !important;
    width: 26px;
    height: 26px;
    min-height: unset;
    opacity: 1;
    top: -50px;

    transform: unset !important;
    svg {
      color: #fff !important;
    }
    &.previous {
      right: 45px;
      left: unset;
    }
    &.next {
      left: unset;
      right: 15px;
    }
  }
  .section-title-container {
    margin-bottom: 20px;
    .section-title {
      margin: 0;
      border-bottom: 1px solid #207956;
      .section-title-main {
        border: none;
      }
    }
  }
  .flickity-viewport {
    position: relative;
    &:after {
      position: absolute;
      content: "";
      width: 2px;
      height: 100%;
      background-color: #fff;
      right: -1px;
      top: 0;
      bottom: 0;
      z-index: 1;
      pointer-events: none;
    }
  }
  .post-item {
    border-right: 1px solid #ccc;
    .box {
      box-shadow: 0px 3px 10px 1px #c2c3c385;
      padding: 8px;
      .box-image {
        border-top: 3px solid #207956;
      }
      .box-text {
        height: 200px;
        overflow: hidden;
      }
    }
    .is-divider {
      display: none;
    }
    .post-title {
      margin-bottom: 8px;
      > a {
        font-weight: 500;
        font-size: 0.9em;
        color: #333;
      }
    }
    .from_the_blog_excerpt {
      font-size: 0.8em;
      color: #666666;

      &:hover {
        height: 120px;
        overflow-y: auto;
      }

      /* Scrollbar */
      &::-webkit-scrollbar {
        width: 10px;
      }

      /* Track */
      &::-webkit-scrollbar-track {
        background: #ef943e;
        border-radius: 10px;
      }

      /* Thumb */
      &::-webkit-scrollbar-thumb {
        background: #ef943e;
        border-radius: 10px;
      }

      &::-webkit-scrollbar-thumb:hover {
        background: #ef943e;
      }

      /* Firefox */
      scrollbar-width: thin;
      scrollbar-color: #ef943e transparent;
    }
  }
}
.home_lienket {
  border-top: 5px solid #deb200;
  border-bottom: 5px solid #deb200;
  .section-bg {
    background: url("/wp-content/uploads/2026/06/bg-content1.png") repeat;
  }
  .section-title-container {
    margin-bottom: 20px;
    .section-title {
      margin: 0;
      border-bottom: 1px solid #00cccc;
      .section-title-main {
        border: none;
        color: #fff;
      }
    }
  }
}
.home_product {
  .section-title-container {
    margin-bottom: 20px;
    .section-title {
      margin: 0;
      border-bottom: 1px solid #207956;
      .section-title-main {
        border: none;
      }
    }
  }
  .flickity-viewport {
    position: relative;
    &:after {
      position: absolute;
      content: "";
      width: 2px;
      height: 100%;
      background-color: #fff;
      right: -1px;
      top: 0;
      bottom: 0;
      z-index: 1;
      pointer-events: none;
    }
  }
  .product {
    border-right: 1px solid #ccc;

    .box {
      border: none;
      border-radius: 0;
      border-top: 3px solid #207956;
      box-shadow: 0px 3px 10px 1px #c2c3c385;
      .box-text {
        background-color: #f5f5f5;
        margin: 5px;
        width: calc(100% - 10px);
        min-height: 78px;
        padding: 5px;
        .product-title {
          > a {
            color: #000;
          }
        }
      }
      .box-image {
        img {
          aspect-ratio: 4/3;
          object-fit: contain;
        }
      }
    }
  }
}
.footer_partner {
  .sss-wrapper {
    height: auto !important;
    padding: 5px 0;
  }
  .section-title-container {
    margin-bottom: 20px;
    .section-title {
      margin: 0;
      border-bottom: 1px solid #207956;
      .section-title-main {
        border: none;
      }
    }
  }
  .sss-item {
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255);
    box-shadow: rgb(194, 195, 195) 0px 0px 5px 1px;
  }
}
.absolute-footer {
  display: none;
}
.footer_center {
  font-size: 0.9em;
  p {
    margin: 0;
  }
}
.page_title {
  &.section-title-container {
    margin-bottom: 20px;
    .section-title {
      margin: 0;
      border-bottom: 1px dashed #ccc;
      .section-title-main {
        text-transform: uppercase;
        border: none;
        color: #207956;
      }
    }
  }
}
.product {
  .box {
    border: 1px solid #ccc;
    border-radius: 4px;
    .box-image {
      img {
        aspect-ratio: 4/3;
        object-fit: contain;
      }
    }
    .box-text {
      background-color: #f5f5f5;
      margin: 5px;
      width: calc(100% - 10px);
      padding: 5px;
      .product-title {
        > a {
          color: #000;
        }
      }
    }
  }
}
.related {
  border: none;
  .product-section-title {
    border-bottom: 1px solid #207956;
    margin-bottom: 30px;
  }
}
.contact_main {
  .note {
    margin: 0;
    min-height: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    font-size: 0.9em;
    p {
      margin: 0;
    }
  }
  .icon-box {
    display: flex;
    align-items: center;
    .icon {
      img {
        padding: 0;
      }
    }
    .icon-box-img {
      margin: 0;
    }
    .icon-box-text {
      padding-left: 10px;
      font-size: 0.9em;
    }
  }
  .evf-field-container {
    .evf-field {
      input,
      textarea {
        min-height: 32px;
        &:focus {
          border-color: #207956 !important;
          box-shadow: none !important;
        }
      }
    }
  }
  .evf-submit-container {
    .evf-submit {
      color: #fff !important;
      margin: 0;
      background-color: #207956 !important;
      border: none !important;
      height: 32px !important;
      padding: 0 20px !important;
    }
  }
}
.searchform {
  .ux-search-submit {
    background-color: #207956 !important;
  }
}
