/*
Theme Name: Good Bites Home
Template: qwery
Theme URI: https://atomicastudio.com/
Description: Good Bites Home Theme
Author: Atomicast
Author URI: https://atomicastudio.com/
Version: 1.4
Tested up to: 6.6
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: qwery
*/

h1, h2, h3, h4, h5, h6, p {
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
   word-break: normal;
   overflow-wrap: normal;
   text-wrap: balance;
}

body {
  overflow-x: hidden;
}

/* ------------------- TYPOGRAPHY -------------------- */


/* mobile */
.sc_item_subtitle.sc_title_subtitle {
	font-size: 13px;
	text-transform: none;
	font-weight: 500;
	line-height: 14px !important;
	letter-spacing: 1px;
}

.sc_portfolio_item_content .post_title {
  font-size: 10px !important;
  line-height: 14px !important;
}

.sc_item_descr p {
    font-size: 16px !important;
    line-height: 22.8px !important;
  }

/* h3.slide_title {
  font-size: 16px !important;
  line-height: 18px !important;
}

.metodo_slider_text {
    font-size: 12.75px !important;
    line-height: 17.85px !important;
  } */

/* h4.sc_team_item_title.entry-title {
  font-size: 12px !important;
  line-height: 14.4px !important;
} */


/* tablet */
@media (min-width: 768px) {
  .sc_item_subtitle.sc_title_subtitle {
    font-size: 15px !important;
    line-height: 21px !important;
  }

  .sc_portfolio_item_content .post_title {
    font-size: 15px !important;
    line-height: 21px !important;
  }
  .sc_item_descr p {
    font-size: 16px !important;
    line-height: 22.8px !important;
  }

  /* h3.slide_title {
    font-size: 15px !important;
    line-height: 18px !important;
  }

  .metodo_slider_text {
    font-size: 12.75px !important;
    line-height: 17.85px !important;
  } */

  /* h4.sc_team_item_title.entry-title {
    font-size: 18px !important;
    line-height: 21.6px !important;
  } */
}

/* desktop */
@media (min-width: 1024px) {
  .sc_item_subtitle.sc_title_subtitle {
    font-size: 20px !important;
    line-height: 28px !important;
  }

  .sc_portfolio_item_content .post_title {
    font-size: 20px !important;
    line-height: 28px !important;
  }

.sc_item_descr p {
    font-size: 17px !important;
    line-height: 23.8px !important;
  }

  h3.slide_title {
    font-size: 20px !important;
    line-height: 24px !important;
  }

  .metodo_slider_text {
  font-size: 17px !important;
  line-height: 23.8px !important;
}

h4.sc_team_item_title.entry-title {
  font-size: 24px !important;
  line-height: 28.8px !important;
}

}


/* ---------------------------------------------------- */

/* HEADER */
.elementor-column-gap-extended {
  display: flex !important;
  justify-content: space-between !important;
}

.elementor-container.elementor-column-gap-default{
  display: flex !important;
  justify-content: space-between !important;
}

/* Button */
.wpcf7 .wpcf7-submit-style .submit-style-in:before {
	content:'';
}
.wpcf7 .wpcf7-submit-style .wpcf7-submit.gb-button {
	padding: 22px 44px !important;
}
.wpcf7 .wpcf7-submit-style .submit-style-in {
	border-radius: 0px !important;
	background: #8B6F55;
}
input:not([type=submit]):not([type=radio]):not([type=checkbox]) {
	border-bottom: 1px solid #4F3631 !important;
}

select.wpcf7-form-control {
  border-bottom: 1px solid #4F3631 !important;
  color: #4F3631 !important;
}

.wpcf7-form-control::placeholder {
	color: #4F3631 !important;
}
input[type=checkbox] + .wpcf7-list-item-label:before {
  border-radius: 0;
	border: 1px solid #4F3631;
}
.wpcf7-acceptance span.wpcf7-list-item-label {
	margin-top: 36px;
}
#gb-form-b.gb-center {
  text-align: center;
}
#gb-form-b.gb-center label,
#gb-form-b.gb-center input[type="email"] {
  display: block;
  margin: 60px auto 70px auto;
  text-align: center;
}
#gb-form-b.gb-center .gb-button,
#gb-form-b.gb-center .elementor-button,
#gb-form-b.gb-center .wpcf7-acceptance {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}
#gb-form-b.gb-center input::placeholder {
  text-align: left;
}

.gb-form-disabled {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(100%) brightness(1.3);
  transition: opacity 0.3s ease;
}
.gb-form-disabled::after {
  content: none !important;
  display: none !important;
}


/* Ingredienti */
.slider_width_auto .sc_portfolio.sc_portfolio_extra .sc_portfolio_slider .slider_container .slider-wrapper .swiper-slide:nth-child(odd) {
  width: calc(60% - 30px) !important;

}

.slider_width_auto .sc_portfolio.sc_portfolio_extra .sc_portfolio_slider .slider_container .slider-wrapper .swiper-slide:nth-child(even) {
      width: 40% !important;
}

/* Portfolio */
.sc_portfolio_item_content .post_title {
	color: #2D2926 !important;
	font-weight: 500 !important;
}
.sc_portfolio_item_content .post_excerpt {
	color: #4F3631;
	font-size: calc(11px + (3 * ((100vw - 375px) / (1440 - 375))));
	font-weight: 400;
	line-height: 1.4;
}
.sc_portfolio_item .post_meta_categories.keep-for-layout,
.sc_portfolio_item .post-more-link.keep-for-layout {
    display: none !important;
}
.sc_portfolio.sc_portfolio_qw-case .sc_portfolio_item .sc_portfolio_item_inner {
	height: 680px;
}
@media (max-width: 1279px) {
    .sc_portfolio.sc_portfolio_qw-case .sc_portfolio_item .sc_portfolio_item_inner {
        height: 500px;
    }
}
@media (max-width: 1023px) {
    .sc_portfolio.sc_portfolio_qw-case .sc_portfolio_item .sc_portfolio_item_inner {
        height: 400px;
    }
}
@media (max-width: 932px) {
    .sc_portfolio.sc_portfolio_qw-case .sc_portfolio_item .sc_portfolio_item_inner {
        height: 420px;
    }
}
@media (max-width: 852px) {
    .sc_portfolio.sc_portfolio_qw-case .sc_portfolio_item .sc_portfolio_item_inner {
        height: 450px;
    }
}
@media (max-width: 798px) {
    .sc_portfolio.sc_portfolio_qw-case .sc_portfolio_item .sc_portfolio_item_inner {
        height: 480px;
    }
}
@media (max-width: 767px) {
    body .sc_portfolio.sc_portfolio_qw-case .sc_portfolio_item,
    body .sc_portfolio.sc_portfolio_qw-case .sc_portfolio_item.is-active {
      width: 100% !important;
    }
}

/* Typography */
p,
footer.footer_wrap .widget ul,
footer.footer_wrap .widget ol {
  font-size: 17px;
}
.elementor-heading-title {
  word-break: auto-phrase;
}
@media (min-width: 1024px) {
  .gb-subtitle-pe .sc_item_descr {
    padding-right: 25%;
  }
}
@media (min-width: 1920px) {
  p,
  footer.footer_wrap .widget ul,
  footer.footer_wrap .widget ol {
    font-size: 17px;
  }
}

/* Footer */
.gb-form-footer input:not([type=submit]):not([type=radio]):not([type=checkbox]) {
  border-color: #FDF6EE99 !important;
}
.gb-form-footer .wpcf7-form-control::placeholder {
	color: #FDF6EE99 !important;
}
.gb-form-footer__arrow {
  position:absolute;
  top: 0;
  right: 0;
}
.wpcf7 .gb-form-footer__arrow .wpcf7-submit-style .wpcf7-submit {
  width: 50px;
  height: 40px;
  padding: 0 !important;
  text-indent: -999px;
}
.gb-form-footer__arrow .submit-style-in {
  width: 50px;
  background-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.3185 7.7H0V6.3H11.3185L6.00203 0.983501L7 0L14 7L7 14L6.00203 13.0165L11.3185 7.7Z" fill="%23FDF6EE"/></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
  background-size: 14px 14px !important;
  background-color: transparent !important;
}
.gb-form-footer div.wpcf7 .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate3d(-50%, -50%, 0);
}
.gb-form-footer .wpcf7-acceptance span.wpcf7-list-item-label {
  margin-top: 0;
}
.gb-form-footer input[type=checkbox] + .wpcf7-list-item-label:before {
  border-color: #FDF6EE99;
}

.widget_custom_links ul>li.custom_links_list_item .custom_links_list_item_title:after {
  background-color: #FDF6EE99;
}

/* .sc_item_subtitle_above {
  margin-bottom: 0px !important;
} */

/* --------- HOME ---------- */
.sc_team_3d .sc_team_item_info .trx_addons_hover_team {
	position: static !important;
	top: auto !important;
	left: auto !important;
	transform: none !important;
	width: auto !important;
	text-align: left !important;
	padding: 0 !important;
	margin-top: 10px !important;
	z-index: auto !important;
}
 
.sc_team_item_content {
  margin-top: 10px ;
}
.sc_team_3d .sc_team_item_info .trx_addons_hover_team .sc_team_item_socials .social_item .social_icon {
    color: #2D2926 !important;
    background-color: transparent !important;
    width: 18px !important;
    margin-right: 20px !important;
}

.sc_services_cool .sc_services_item.with_image .sc_services_item_content:after {
    display: none !important;
}

.sc_services_cool .sc_services_item_title {
    font-size: 20px !important;
}


.sc_services_cool .sc_services_item_text {
    max-height: 0 !important;
    opacity: 0 !important;
    margin-top: 0 !important;
    overflow: hidden !important;
    transition: max-height .35s ease, opacity .35s ease, margin-top .35s ease !important;
}

.sc_services_cool .sc_services_item:hover .sc_services_item_text {
    max-height: 12em !important;
    opacity: 1 !important;
    margin-top: 0.55em !important;
}

  .sc_services_cool .sc_services_item:hover .sc_services_item_text {
      max-height: 12em !important;
      opacity: 1 !important;
      margin-top: 0.55em !important;
  }
 


/* BUTTON CONTATTI HOME */

.wpcf7-submit-style {
margin-top: 70px !important;
}


@media (max-width: 1024px) {
  .wpcf7-submit-style {
    margin-top: 52px !important;
  }
}


@media (max-width: 767px) {
  .wpcf7-submit-style {
    margin-top: 35px !important;
  }
}

/* CONTACT FORM */


.nome_cognome_form_contatti  p{
display: flex;
gap: 24px;
justify-content: space-between;
}

.button_acceptance_box_contatti p{
  display: flex;
  gap: 18px;
  align-items: end;
}

.button_acceptance_box_contatti p .wpcf7-form-control-wrap {
  margin-bottom: 20px;
}

.button_acceptance_box_servizi p {
    display: flex;
    flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.button_acceptance_box_servizi .wpcf7-submit-style {
  min-width: 400px ;
  display: flex;
  justify-content: center;
}

.button_acceptance_box_servizi .wpcf7-form-control-wrap {
  margin-top: -40px;
}

.nome_cognome_form_contatti span {
  width: 100% !important;
}

.wpcf7 textarea  {
  border-bottom: 1px solid #4F3631;
}

.form_contatti_inner p {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .nome_cognome_form_contatti  p {
   flex-direction: column;
   gap:0px;
  }
}

@media (max-width: 767px) {
     .button_acceptance_box_contatti p{
    flex-direction: column-reverse;
    gap: 0px;
    align-items: start;

  }

  .nome_cognome_form_contatti p {
    margin-bottom: 25px !important;
  }
  
}

select {
  appearance: none; 
  padding-left: 14px;
}

/* ABOUT PAGE */

.metodo_slider_text {
  color: #4F3631;
}

#metodo_slider_main_sc_swiper .slider-wrapper .slider-slide img {
  width: 100% !important;
  height: 288px !important;
  object-fit: cover;
}

#metodo_slider_main_sc_swiper .slider-wrapper .slider-slide {
  display: flex;
  flex-direction: column;
  justify-content: start;
}

#metodo_slider_main_sc_swiper .slider-wrapper .slider-slide .slide_info.slide_info_large {
  margin-top: 30px;
}

.sc_team_columns_wrap .trx_addons_column-1_4 {
  padding: 0 24px 72px 0 !important;
}

@media (max-width: 767px) {
    .sc_team_3d .sc_team_item_info .trx_addons_hover_team .sc_team_item_socials .social_item {
        opacity: 1 !important;
        top: 0 !important;
    }
}


/*  B2B PAGE */

#slider_b2b .slider-wrapper .slider-slide .slide_info {
  color: #2D2926 !important;
  background: #EDE1D5 !important;
  margin-top: 30px !important;
}

#slider_b2b .slider-wrapper .slider-slide .slide_content p {
  color: #4F3631 !important;
}

#slider_b2b .slider-wrapper {
  align-items: baseline !important;
}



/* CONTACT PAGE */
.maps_box {
       background-color: #4F3631 !important;
    }
    
    iframe {
  mix-blend-mode: luminosity;
  opacity: 0.9;
}

.gmnoprint, .gm-style-cc {
	display: none !important;
}

a[title="Visualizza questa zona in Google Maps (in una nuova finestra)"] {
    display: none !important;
}

button[title="Attiva/disattiva vista schermo intero"] {
	display: none !important;
}

.gb-form-footer input:not([type=submit]) {
    -webkit-text-fill-color: snow;
}