/*
Theme Name: Westbridge Foods
Theme URI: https://raddy.dev/
Author: Raddy
Author URI: https://raddy.dev/
Description: Custom Westbridge Foods theme.
Requires at least: 5.9
Tested up to: 6.1
Requires PHP: 5.6
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: westbridge
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Westbridge WordPress Theme, (C) 2021 WordPress.org
Westbridge is distributed under the terms of the GNU GPL.
*/

html {
  scroll-behavior: smooth;
}

/*------ Global Reusable Styles ------*/
.border-radius {
  border-radius: var(--wp--custom--card-rounded-corners);
  overflow: hidden;
}

.section-desc-max-width {
  max-width: 640px!important;
}

.paragraph-line {
  padding-left: 2rem;
  margin-left: 0!important;
  max-width: 640px!important;
  border-left: 2px solid var(--wp--preset--color--primary);
}




/*------ Search Input ------*/
.wp-block-search__input {
    height: 40px;
    padding-left: 20px;
}

/*------ Main Menu Selected Item ------*/
.header-custom-styles {
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.25);
}

.is-layout-flow.entry-content.wp-block-post-content {
    margin-block-start: 0;
}


/*------ Header ------*/
.header__search-icon {
  line-height: 0;
}

.header__search-contact {
  display: none!important;
}

.wp-block-navigation__responsive-container-open svg {
  width: 32px;
  height: 32px;
}

/*------ Selected Menu Item ------*/
.nav-primary--desktop a:hover:before {
  left: 0;
  right: 0;
}

.nav-primary--desktop a:before {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -4px;
  background: #1DA1AD;
  height: 3px;
  transition-duration: .2s;
  transition-timing-function: ease-out;
}

.nav-primary--desktop > ul > .current-menu-item > a:first-child:before {
  content: "";
  left: 0;
  right: 0;
  height: 3px;
  transition-property: left,right;
  background-color: var(--wp--preset--color--primary);
  position: absolute;
  bottom: -4px;
}

.nav-primary--mobile .current-menu-item > a {
  font-weight: bold;
}

@media only screen and (min-width: 992px) {
  .header__search-contact {
    display: flex!important;
  }
}

@media (min-width: 782px) {
  .wp-block-navigation.nav-primary--mobile {
    display: none;
  }
} 

@media (max-width: 783px) {
  .wp-block-navigation.nav-primary--desktop {
    display: none;
  }
}


/*------ Button Fix ------*/
.no-border-button .wp-element-button{
  border: 2px transparent!important;
}


/*------ News Button ------*/
.btn-read-article {
  width: 100%;
  text-align: center;
  display: flex;
  gap: 1rem;
}

.btn-read-article img {
  transition: all .2s ease-in-out;
  width: 100%;
  align-self: center;
}

.btn-read-article:hover img {
  transition: all .2s ease-in-out;
  margin-left: 0.6rem;
}


/*------ Outlined Button ------*/
.wp-block-button.is-style-outline>.wp-block-button__link, .wp-block-button .wp-block-button__link.is-style-outline {
  padding-top: 1.4em;
  padding-right: 3.4em;
  padding-bottom: 1.4em;
  padding-left: 3.4em;
  backdrop-filter: blur(2px);
  transition: all 0.3s;
}

.white-ghost-button a:hover  {
  background-color: var(--wp--preset--color--primary)!important;
}

.btn-hover-blue a:hover {
  color: #fff!important;
  background: var(--wp--preset--color--primary)!important;
  border: 2px solid var(--wp--preset--color--primary)!important;
}


.no-border-button img {
  transition: all .2s ease-in-out;
}
.no-border-button:hover img {
  transition: all .2s ease-in-out;
  margin-left: 0.6rem;
}


/*------ Home Hero ------*/
.hero-desc {
  max-width: 640px!important;
}

.btn-find-what-we-do a {
  margin-top: 1rem;
  padding-left: 0!important;
}


@media (min-width: 460px) {
  .btn-find-what-we-do a {
    margin-top: 0;
    padding-left: 3.4em!important;
  }
}


/*------ Hero Blog ------*/

.hero-blog {
  max-width: 640px!important;
  margin: 0 auto;
  margin-bottom: 20px;
}

/*------ Footer Company Desc ------*/
.footer-company-desc {
  max-width: 380px;
}


/*------ Under Fold 3 Cols ------*/
.fold-column {
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
  border-radius: 25px;
  overflow: hidden;
  padding-bottom: 0.8rem!important;
}

.fold-column .wp-block-buttons {
  justify-content: center;
}
 
.under-fold-section {
  margin-top: -70px!important;
  z-index: 1;
  position: relative;
  display: grid;
}

.fold-column, .fold-column-image {
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

@media (min-width: 781px) {
  .under-fold-section {
    grid-template-columns: repeat(3, 1fr);
  }

  .fold-column {
    height: 100%;
  }

}

@media (min-width: 992px) {
  .fold-column .fold-column-image .wp-block-buttons {
    justify-content: left!important;
    text-align: left;
  }

  .fold-column {
    flex-direction: row;
    text-align: left;
  }

  .fold-column .wp-block-buttons {
    justify-content: left;
  }
}


/*------ Title Line Text ------*/
.custom-subtitle {
  position: relative;
  padding-left: 50px;
  color: var(--wp--preset--color--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.custom-subtitle:after {
  content: "";
  width: 30px;
  height: 2px;
  background-color: var(--wp--preset--color--gray);
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -1px;
}

.custom-subtitle-white:after {
  content: "";
  width: 30px;
  height: 2px;
  background-color: var(--wp--preset--color--white);
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -1px;
}


/*------ Our Food Section ------*/
.service-section-max-width {
  max-width: 1250px!important;
}

.trust-column-relative {
  position: relative;
}

.trust-circle {
  display: none;
  position: absolute;
  top: 0;
  right: 75px;
  -webkit-animation: spin 25s linear infinite;
  -moz-animation: spin 25s linear infinite;
  animation: spin 25s linear infinite;
}

@media (min-width: 781px) {
  .trust-circle {
    display: block;
  }
}

@-moz-keyframes spin { 
  100% { -moz-transform: rotate(360deg); } 
}

@-webkit-keyframes spin { 
  100% { -webkit-transform: rotate(360deg); } 
}

@keyframes spin { 
  100% { 
      -webkit-transform: rotate(360deg); 
      transform:rotate(360deg); 
  } 
}


/*------ Contact Page ------*/

.contact-details-icon img {
  top: -6px;
  position: relative; 
}


/*------ Resets Footer Margin Top ------*/
.footer.wp-block-template-part { 
  margin-block-start: 0!important;
}


/*------ News Columns ------*/
.front-page-news {
  overflow: hidden;
  border-radius: 25px;
  position: relative;
  align-items: self-end;
}

.front-page-news time {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  border-radius: 60px;
  padding: 6px 16px;
  position: absolute;
  top: 10px;
  left: 10px;
}


/*------ Columns Responsive Fix ------*/
@media (min-width: 781px) {
  .columns-grid {
    display: grid!important;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .columns-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1192px) {
  .columns-grid {
    grid-template-columns: repeat(4, 1fr) ;
  }
}

.columns-grid img {
  width: 100%;
}

.columns-grid a:hover {
  background: rgba(14, 79, 129, 0.273)!important;
}

.modern-slavery-act {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0em 0em 1.65em 0.2em rgb(0 0 0 / 20%);
}

.modern-slavery-act:hover {
  box-shadow: 0em 0em 1.65em 0.2em rgb(0 0 0 / 10%);
}


/*------ Footer ------*/
.footer a {
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}


/*------ Patterns ------*/
.bg-fixed {
  background-attachment: fixed;
}

.pattern-1 {
  background-image: url("assets/images/food-pattern.png");
}

.pattern-2 {
  background-image: url("assets/images/food-pattern-2.png");
}

.pattern-3 {
  background-image: url("assets/images/westbridge-bridge.svg");
  background-position: center;
  background-size: cover;
}


.product img {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  width: 180px;
  background-color: #ffffff;
  padding: 6px;
  outline: 2px solid #9FB9CD;
  outline-style: solid;
}

.columns-grid-5 .product-col:hover .product img {
  outline: 2px solid var(--wp--preset--color--primary);
  text-decoration: underline;
}

.columns-grid-5 .product-col a {
  text-decoration: none;
}

.columns-grid-5 .product-col a:hover {
  text-decoration: underline;
}

.columns-grid-5 {
  display: flex;
  flex-wrap: nowrap!important;
  justify-content: center;
}

.wp-block-columns.is-not-stacked-on-mobile.columns-grid-5 {
  display: flex;
  flex-wrap: wrap!important;
}

.columns-grid-5 .product-col {
  flex-basis: calc(100% / 2)!important;
  margin-bottom: 2rem;
  flex-grow: 0!important;
}

@media (min-width: 481px) {
  .columns-grid-5 .product-col {
    flex-basis: calc(100% / 3)!important;
  }
}

@media (min-width: 992px) {
  .columns-grid-5 .product-col {
    flex-basis: calc(100% / 4)!important;
  }
}

@media (min-width: 1192px) {
  .columns-grid-5 {
    gap: 40px!important;
  }
  .columns-grid-5 .product-col {
    flex-basis: calc(100% / 6)!important;
    margin-bottom: 1rem;
  }
}


/*------ Complainz ------*/
#cmplz-document p, #cmplz-document li, #cmplz-document td, #cmplz-document {
  font-size: 1.4rem;
}

#cmplz-document {
  max-width: 1180px;
}


.ml2 {
  
}

