/*
Theme Name:     Betheme Child Osa
Theme URI:      http://themes.muffingroup.com/betheme
Author:         Muffin group
Author URI:     http://muffingroup.com
Description:    Child Theme for Betheme - Premium WordPress Theme
Template:       betheme
Version:        1.7.2
Notes:          CSS rivisto da Luca Di Mauro il 02/12/2026 per OsaComunicare.it
                Fix definitivo: rimosso border-layout sul body e
                rimosso override globale su .section_wrapper che
                forzava tutte le sezioni a full-width.
                Compatibile Betheme 29.x + PHP 8.5.
*/

/* ============================================================
   1) GLOBAL RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }

/* ============================================================
   2) BORDO PAGINA — versione non-invasiva
   Il vecchio `body { border: 8px }` alterava il layout di 16px
   e causava l'effetto "scalini" (alcune sezioni dentro, alcune
   fuori). Lo sostituiamo con un overlay FIXED trasparente che
   disegna lo stesso bordo visivo SENZA toccare il layout.
   ============================================================ */
body { border: none !important; }

body::after {
    content: "";
    position: fixed;
    inset: 0;
    border: 8px solid #3c3c3b;
    pointer-events: none;
    z-index: 9999;
}

/* ============================================================
   3) NIENTE OVERRIDE SU .section_wrapper
   La vecchia regola:
       @media (min-width: 1240px) { .section_wrapper { max-width: none !important; } }
   è stata RIMOSSA. Era la causa per cui `carosuel-home`,
   `quarta-fascia` e altre sezioni boxed diventavano full-width.
   Ora Betheme gestisce correttamente boxed/full-width in base
   alle impostazioni del Muffin Builder (Row → "Full width").
   ============================================================ */

/* ============================================================
   4) HEADER / TOP BAR
   ============================================================ */
body:not(.template-slider) #Header { min-height: 25px; }

#Top_bar .menu_wrapper { float: right; }
#search_button { display: none !important; }
#Top_bar .menu > li.current-menu-item > a,
#Top_bar .menu > li.current_page_item > a { color: #3c3c3b !important; }

.page-id-2809 #Top_bar:not(.is-sticky) { top: 0 !important; background: none !important; }
.tr-menu.header-classic #Top_bar:not(.is-sticky) { top: 0 !important; background: #fff; }

a.vc_carousel-control { color: #4B3D2A !important; }

/* ============================================================
   5) CONTENT — pagine singole birre (full width + no padding top)
   ============================================================ */
.page-id-389  #Content,
.page-id-1252 #Content,
.page-id-1269 #Content,
.page-id-1274 #Content,
.page-id-1225 #Content,
.page-id-1328 #Content,
.page-id-1346 #Content,
.page-id-1365 #Content,
.page-id-1500 #Content,
.page-id-1553 #Content,
.page-id-1537 #Content,
.page-id-1559 #Content,
.page-id-1531 #Content,
.page-id-858  #Content,
.page-id-875  #Content { width: 100%; padding-top: 0 !important; }

#Content .slider { padding-top: 0 !important; margin-top: -30px; }

/* ============================================================
   6) BOTTONI CUSTOM
   ============================================================ */
p.custom-btn {
    background-color: #bbd034;
    color: #3c3c3b;
    float: right;
    border: 2px solid transparent;
    padding: 5px 10px;
    margin-right: 20px;
    margin-top: 15px;
    font-family: "Roboto Slab", Arial, Tahoma, sans-serif;
}
p.custom-btn > a { color: #3c3c3b; }
p.custom-btn > a:hover { text-decoration: none; color: #bbd034; }
p.custom-btn:hover { background-color: #3c3c3b; color: #fff; }

p.custom-btn-mobile > a { color: #3c3c3b; }
p.custom-btn-mobile > a:hover { text-decoration: none; }

p.pre-ftr-btn { background-color: #3c3c3b; }
p.pre-ftr-btn > a { color: #fff; }
p.pre-ftr-btn > a:hover { text-decoration: none; color: #bbd034; }

p.custom-btn-beer > a { color: #fff; }
p.custom-btn-beer > a:hover { text-decoration: none; }
p.custom-btn-all  > a { color: #fff; }
p.custom-btn-all  > a:hover { text-decoration: none; }

a#back_to_top { color: #fff !important; font-size: 35px !important; }

.furgone { margin-bottom: -35px !important; margin-top: 100px !important; }
#box-dati .wpb_wrapper > div { margin-bottom: 0; padding-bottom: 20px; }

/* ============================================================
   7) HOME
   ============================================================ */
.seconda-fascia     { margin-top: -25px; }
.scfa-img-uno       { margin-top: -100px; }
.seconda-fascia-uno { margin-bottom: -35px !important; }
.fourth-row-txt-dx  { margin-top: 200px; }
.quarta-fascia      { margin-bottom: -45px; }
.quinta-fascia      { margin-bottom: -45px; }
.fifth-row-txt-sx   { margin-top: 100px; }
.sesta-fascia       { margin-top: 50px; }
.ultima-fascia      { margin-top: -50px; overflow: visible !important; }

.vc_images_carousel .vc_carousel-control .icon-next { margin-left: 10px !important; }
.vc_images_carousel .vc_carousel-control .icon-prev { margin-left: -40px !important; }

/* ============================================================
   8) PAGINA — IL BIRRIFICIO
   ============================================================ */
.gbx-title           { font-weight: 600; }
.gbx-text-cont-btm   { float: right; }
.gbx-text            { font-size: 20px; }
.gbx-linea-cont      { margin-top: -15px; }
.pgbi-scndrw-txt     { text-align: left; padding-left: 45px; padding-top: 45px; }
.pgbi-trdrw-txt      { margin-top: 80px; padding-right: 45px; float: right; }
.pgbi-trdrw-txt-btm  { margin-top: 0; padding-right: 45px; float: right; }
.top-prima-inner > .wpd_wrapper > div { margin-bottom: 0 !important; }

.middle-prima-inner,
.middel-second-inner,
.bottom-prima-inner  { margin-top: -105px; }

.linea-gbx    { background-color: #fff; margin-left: -29px; width: 230px; height: 2px; }
.lna-gbx-btm  { float: right; margin-right: -30px; }

.btn-grn-cont    { float: right; margin-top: 25px; }
.custom-btn-grn  { border: 2px solid #3c3c3b; padding: 5px 10px; width: 100px; text-align: center; }
.custom-btn-grn:hover { border: 2px solid transparent; background-color: #3c3c3b; color: #fff; text-align: center; }

h2.origini-title,
h2.evoluzioni-title,
h2.natab-title { font-size: 50px; line-height: 48px; }

/* ============================================================
   9) PAGINA — TEAM
   ============================================================ */
.page-id-2785 img.logo-main       { display: none; }
.page-id-2785 .birri-primo-titolo { margin-top: -15px; }

.staff-second-row,
.staff-terza-row,
.staff-quarta-row,
.staff-quinta-row,
.staff-sesta-row { margin-top: -105px; }

/* ============================================================
   10) PAGINA — AGRIPUB
   ============================================================ */
.agri-info                     { text-align: left; padding: 90px 0 0 40px; }
.agri-contact,
.informazioni-agri             { text-align: left; padding: 35px 40px 60px 40px; }

.page-id-2809 #Top_bar .menu > li > a,
.page-id-2809 #Top_bar #menu ul li.submenu .menu-toggle { color: #fff; }
.page-id-2809 #Top_bar.is-sticky .menu > li > a,
.page-id-2809 #Top_bar.is-sticky .menu > li > a span { color: #3C3C3B; }

/* ============================================================
   11) SHOP / WOOCOMMERCE
   ============================================================ */
a#header_cart { display: none !important; }
.page-id-2809 a#header_cart,
.page-id-3666 a#header_cart,
.postid-3679 a#header_cart { display: block !important; }
.postid-3679 ul.woocommerce-breadcrumb { display: block !important; }
.postid-3679 #Content,
.page-id-3667 #Content { padding-top: 150px !important; }

#Top_bar a#header_cart span { background-color: #bbd034 !important; }

.gift-card-content-editor.step-content h5 { margin-top: 1em; }
.ywgc-empty-recipient-note { font-size: 13px; float: right; width: 100%; text-align: right; padding-top: 0; font-weight: 600; }
.ywgc-predefined-amount-button.selected_button { background-color: #bbd034; }
.gift-cards-list button              { border: 1px solid #bbd034; }
.woocommerce button.button.alt       { background-color: #bbd034 !important; }
.alert_info                          { background: #bbd034; color: #fff; }
.alert_icon                          { background: #fff !important; border: 1px solid; }

.woocommerce #respond input#submit.disabled,
.woocommerce #respond input#submit:disabled,
.woocommerce #respond input#submit[disabled]:disabled,
.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce a.button[disabled]:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button:disabled   { background-color: #bbd034 !important; color: #fff; }

.ywgc-form-preview-amount  { float: right; font-size: 36px !important; font-weight: 600; white-space: nowrap; }
.ywgc-form-preview-title   { font-weight: 600; font-size: 21px; }
.woocommerce a.button      { background-color: #bbd034 !important; }

/* ============================================================
   12) BIRRE
   ============================================================ */
.tipo-bicchiere { font-size: 45px; }

.beer-taste          { margin-top: 200px; }
.beer-taste > ul > li{ list-style-type: none; }
h2.beer-golden       { color: #F28E0F; font-size: 50px; margin-left: -2px; }

p.custom-btn-beer {
    float: right;
    border: 2px solid transparent;
    padding: 10px;
    margin-top: 15px;
    font-family: "Roboto Slab", Arial, Tahoma, sans-serif;
    font-size: 20px;
    background-color: #bbd034;
    color: #fff;
}
p.custom-btn-beer:hover { border: 2px solid transparent; background-color: #3c3c3b; color: #bbd034; }

/* L'evoluzione */
.custom-btn-all { border: 2px solid transparent; text-align: center; padding: 5px 10px; display: inline-block; background-color: #bbd034; color: #3c3c3b; }
.custom-btn-all:hover { border: 2px solid transparent; background-color: #3c3c3b; color: #bbd034; }
.image-floatting,
.text-allbeer-floating { float: right; }
.page-id-2041 p.custom-btn-all > a { color: #fff !important; }

/* Nature Terraviva */
.blocco-sotto-btgl { margin-top: -62px; }
p.text-allbeer     { text-align: right; }

/* ============================================================
   13) FOOTER
   ============================================================ */
p.footer-title  { text-align: center; font-size: 30px; font-weight: 800; font-family: "Roboto Slab", Arial, Tahoma, sans-serif; }
p.footer-text-sx,
p.indirizzo     { text-align: center; }
.menu-footer    { text-align: center; }
.menu-footer > a { font-family: "Roboto Slab", Arial, Tahoma, sans-serif; }

/* ============================================================
   14) RESPONSIVE
   ============================================================ */

@media screen and (max-width: 1440px) {
    .staff-second-row,
    .staff-terza-row,
    .staff-quarta-row,
    .staff-quinta-row,
    .staff-sesta-row { margin-top: -67px; }
}

@media screen and (max-width: 1380px) {
    #Top_bar .menu_wrapper { margin-right: 135px; }
    .fourth-row-txt-dx,
    .fifth-row-txt-sx     { margin-top: 50px; }
    .pgbi-cont-title      { margin-top: -27px; }
    .pgbi-trdrw-txt       { margin-top: -19px; }
    .pgbi-trdrw-txt-btm   { margin-top: -107px; padding-left: 0; }
    p.custom-btn          { margin-right: 0; }
    .staff-second-row,
    .staff-terza-row,
    .staff-quarta-row,
    .staff-quinta-row,
    .staff-sesta-row      { margin-top: -37px; }
}

@media screen and (max-width: 1280px) {
    .menu-wrapper            { margin-right: 90px; }
    .scnd-fascia-inneresp    { margin-top: -44px; }
    .fourth-row-txt-dx       { margin-top: 0; }
    .middle-prima-inner      { padding-top: 18px; }
    .pgbi-cont-title         { margin-top: -44px; }
    .gbx-title-cont > h2     { font-size: 45px !important; }
    .page-id-228 .custom-btn { margin-top: 2px; }
    .quinta-fascia           { margin-bottom: 25px; }
    .quinta-bis-fascia       { margin-top: -70px; }
    .quarta-fascia           { margin-bottom: -45px; }
    .agri-info               { text-align: left; padding: 47px 0 0 40px; }
    .agri-contact            { text-align: left; padding: 0 40px 60px 40px; }
    .informazioni-agri       { text-align: left; padding: 0 40px 60px 40px; margin-top: -24px; }
    .staff-second-row,
    .staff-terza-row,
    .staff-quarta-row,
    .staff-quinta-row,
    .staff-sesta-row         { margin-top: -7px; }

    h2.origini-title,
    h2.evoluzioni-title,
    h2.natab-title           { font-size: 30px; line-height: 28px; }
    p.evoluzioni-text,
    p.origni-text,
    p.natab-text             { font-size: 14px; line-height: 21px; }
}

@media screen and (max-width: 1200px) {
    .fifth-row-txt-sx     { margin-top: 50px; }
    .middle-prima-inner   { padding-top: 0; }
    .home-sottotitolo-sx  { font-size: 38px; line-height: 40px; }
}

@media screen and (max-width: 1024px) {
    .tr-menu.header-classic #Top_bar { position: static; }

    .home-sottotitolo-sx   { font-size: 31px; line-height: 40px; }
    .pgbi-cont-title       { margin-top: 17px; padding-top: 0 !important; }
    .birri-sotto-titolo    { font-size: 35px; line-height: 36px; }
    .birri-titolo-dx       { font-size: 27px; line-height: 36px; }
    .birri-sottotitolo-dx  { font-size: 25px; line-height: 32px; }
    .birri-titolo-sx       { font-size: 30px; line-height: 32px; }
    .pgbi-trdrw-txt-btm    { padding-left: 113px; }
    .origini-title-dx      { font-size: 18px; line-height: 21px; }
    .evoluzioni-title-sx   { font-size: 18px; line-height: 21px; }

    h2.origini-title,
    h2.evoluzioni-title,
    h2.natab-title         { font-size: 30px !important; line-height: 28px !important; }
    p.evoluzioni-text,
    p.origni-text,
    p.natab-text           { font-size: 14px !important; line-height: 21px !important; }

    .natab-title-cnt  { font-size: 18px; line-height: 21px; }
    .evoluzioni-text  { font-size: 12px; line-height: 18px; }
    .pgbi-scndrw-txt  { padding-left: 12px; padding-top: 32px; }
    .gbx-title-cont > h2 { font-size: 35px !important; }
}

@media screen and (max-width: 991px) {
    #furgone-desk    { display: none; }
    .furgone         { margin-bottom: 65px !important; margin-top: 0 !important; }
    #smartphone      { display: none; }
    .quarta-fascia   { margin-bottom: -45px; }
}

@media screen and (max-width: 800px) {
    .furgone { margin-bottom: -35px !important; }

    body:not(.template-slider):not(.header-simple) #Header { min-height: 0; }

    .page-id-389  #Content,
    .page-id-1252 #Content,
    .page-id-1269 #Content,
    .page-id-1274 #Content,
    .page-id-1225 #Content,
    .page-id-1328 #Content,
    .page-id-1346 #Content,
    .page-id-1365 #Content,
    .page-id-1500 #Content,
    .page-id-1553 #Content,
    .page-id-1537 #Content,
    .page-id-1559 #Content,
    .page-id-1531 #Content,
    .page-id-858  #Content,
    .page-id-875  #Content { width: 100%; padding-top: 0 !important; }

    .page-id-11 .linee-mobile { margin-top: 88px; }
    .home-sottotitolo-sx      { font-size: 22px; line-height: 25px; }
    .ultima-fascia            { margin-top: 0; }
    .birri-sotto-titolo       { font-size: 22px; line-height: 26px; }
    .birri-titolo-dx          { font-size: 20px; line-height: 22px; }
    .birri-sottotitolo-dx     { font-size: 20px; line-height: 22px; padding-right: 12px; }
    .birri-titolo-sx          { font-size: 25px; line-height: 27px; }
    .pgbi-cont-title          { padding-top: 0 !important; }
    .pgbi-cont-title > h5     { font-size: 24px; line-height: 27px; }
    .pgbi-scndrw-txt          { text-align: left; padding-left: 45px; padding-top: 22px; padding-bottom: 100px; }
    .linee-mobile             { margin-top: 0; }
    .specifiche-mobile        { margin-top: -35px; }

    .prima-birre          { margin: -100px 0 -20px 0; }
    .descrizione-birra-1  { margin-top: -40px; }
    .tris-birre           { margin-top: -40px; }
    .descrizione-birra-2  { margin-top: -120px; }

    p.custom-btn-beer {
        float: none !important;
        text-align: center;
        border: 2px solid transparent;
        padding: 10px;
        margin-top: 15px;
        font-family: "Roboto Slab", Arial, Tahoma, sans-serif;
        font-size: 20px;
        background-color: #bbd034;
        color: #fff;
    }
    .colore-birre     { text-align: center; }
    .le-nostre-linee  { margin-top: 30px; }
}

@media screen and (max-width: 767px) {
    p.custom-btn {
        float: left;
        border: 2px solid transparent;
        padding: 5px 10px;
        margin-right: 20px;
        margin-top: 15px;
        font-family: "Roboto Slab", Arial, Tahoma, sans-serif;
    }
    #smartphone                          { display: contents; }
    .il-birrificio-home-txt              { padding-right: 75px !important; }
    #il-birrificio-txt p.custom-btn      { margin-right: 15px !important; float: right; }
    .wpb_single_image img                { width: 1200px !important; }
    .mobile-tb-center #Top_bar .top_bar_right { text-align: center; display: none !important; }
    .page-id-2785 #Top_bar #logo img.logo-mobile { display: none; }
    .descrizione-birra-1, .descrizione-birra-2 { text-align: center !important; }
    .descrizione-birra-1                 { margin-top: 20px; }
    .pre-ftr-title  { font-size: 40px !important; line-height: 42px !important; text-align: center !important; }
    .pre-ftr-btn    { margin-right: 44% !important; float: right !important; }
    .pre-ftr-text   { padding: 0 40px; margin: 0 !important; text-align: center !important; }
    .quinta-bis-fascia { text-align: center; }
    .scarica-birre  { margin: -40px 0 40px 0; }
}

@media screen and (max-width: 500px) {
    .il-birrificio-home-txt          { padding-right: 35px !important; }
    #il-birrificio-txt p.custom-btn  { margin-right: 45px !important; }
    .scnd-fascia-inneresp            { padding-right: 45px; }
    .custom-btn-mobile               { margin-right: 0 !important; }
    .home-img-resp                   { margin-top: -71px; padding-bottom: 35px; }
    .pre-ftr-title  { font-size: 40px !important; line-height: 42px !important; text-align: center !important; }
    .pre-ftr-btn    { margin-right: 40% !important; float: right !important; }
    .pgbi-scndrw-txt   { text-align: left; padding-left: 26px; padding-top: 0; }
    .pgbi-trdrw-txt    { margin-top: 0; padding-right: 26px; }
    .pgbi-cont-title > h5 { padding-bottom: 15px; }
    p.text-birrificio  { padding-top: 12px; }
    .birri-primo-titolo { padding-bottom: 20px; }
    .birri-sottotitolo-dx { padding-bottom: 20px; }
    .pgbi-trdrw-txt-btm { padding-right: 26px; padding-bottom: 30px; }
    .linee-mobile      { margin-top: 0; }

    body:not(.template-slider):not(.header-simple) #Header { min-height: 0; }

    .page-id-389  #Content,
    .page-id-1252 #Content,
    .page-id-1269 #Content,
    .page-id-1274 #Content,
    .page-id-1225 #Content,
    .page-id-1328 #Content,
    .page-id-1346 #Content,
    .page-id-1365 #Content,
    .page-id-1500 #Content,
    .page-id-1553 #Content,
    .page-id-1537 #Content,
    .page-id-1559 #Content,
    .page-id-1531 #Content,
    .page-id-858  #Content,
    .page-id-875  #Content { width: 100%; padding-top: 0 !important; }

    h2.beer-golden               { line-height: 52px; }
    .postid-3679 #Content        { padding-top: 20px !important; }
    .ywgc-form-preview-amount    { float: right; font-size: 26px !important; font-weight: 600; white-space: nowrap; }
    .ywgc-form-preview-title     { font-weight: 600; font-size: 16px; }
}


/* ============================================================
   RIMOZIONE BORDO/OMBRA HEADER E SLIDER
   ============================================================ */
#Top_bar,
#Header,
#Header .header-wrapper,
#Header .header-stack,
#Action_bar,
.rev_slider_wrapper,
.rev_slider,
rs-module-wrap,
rs-module,
#Content .slider {
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Se la linea è il bordo superiore del logo stesso */
#Header #logo,
#Header #logo img {
    border: 0 !important;
    box-shadow: none !important;
}