 /*
Theme Name: tavolo
Author: INDIGO srls
Version: 1.1.5
Text Domain: tavolo
*/

body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-variation-settings: "wdth" 100;
    line-height: 2.2rem;
    font-size: 1.6rem;
    color: #3E3E3E;
}
a {
    color: #006B92;
}
a:hover {
    color: #3E3E3E;
}

a:focus,
button:focus,
input:focus {
	border-radius: 5px !important;
	outline: 1px dotted #3E3E3E !important;
}
@media (prefers-reduced-motion: no-preference) {
	:focus {
		background-color: inherit;
		color: inherit;
	}
}


h1,
h2,
h3 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: #006B92;
}
h1 {
    font-size: 3.6rem;
    line-height: 4.3rem;
    margin: 20px 0;
}
body:not(.home) h1 {
  font-size: 5.6rem;
  line-height: 6.3rem;
}
h2 {
    font-size: 2.6rem;
    line-height: 3.3rem;
    margin: 20px 0;
}


.btn {
    line-height: 2.2rem;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
    border-radius: 0;
    color: #006B92;
    background: #fff;
    padding: 9px 30px;
    min-width: 200px;
    box-sizing: border-box;
    margin: 10px 0;
    border: 1px solid #006B92;
  border-radius: 999px;
  font-size: 1.4rem;
}
.btn:hover {
    background: #006B92;
    color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 3px 7px rgba(0,0,0,.3);
}


blockquote {
    margin: 32px 0;
    padding: 20px 54px;
    border-left: 4px solid #006B92;
    background: #f5f8fa;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #2a2a2a;
    position: relative;
    font-family: "Open Sans", sans-serif;
  text-align: left;
}

blockquote p {
    margin: 0;
}

blockquote::before {
    content: "“";
    font-size: 48px;
    position: absolute;
    top: 8px;
    left: 12px;
    color: rgba(11, 110, 142, 0.15);
    font-family: serif;
}

blockquote::after {
    content: "”";
    font-size: 48px;
    position: absolute;
    bottom: -10px;
    right: 12px;
    color: rgba(11, 110, 142, 0.15);
    font-family: serif;
}




#masthead {
    height: 100px;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 9;
}

#masthead .contentInside,
#masthead .column3-3 {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    height: 100%;
}

#masthead .column3-3 {
    min-width: 0;
    width: 100%;
}


#page {
    padding-top: 100px;
}

#logoLink {
    flex: 0 0 auto;
}
#logo {
    display: block;
    width: 300px;
    height: auto;
}

#navigation {
    margin-left: auto;
}


#menuPrincipale {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    font-weight: 40;
    font-size: 1.4rem;
    text-transform: uppercase;
}
#menuPrincipale li {
    margin: 0;
    display: inline-block;
    position: relative;
}
#menuPrincipale li a {
    margin-left: 12px;
    text-decoration: none;
    display: block;
    color: #3E3E3E;
}
#menuPrincipale li.current-menu-ancestor > a,
#menuPrincipale li.current-menu-item > a,
#menuPrincipale li a:hover {
    color: #006B92;
}
#menuPrincipale ul {
    display: none;
    position: absolute;
    width: 320px;
    text-align: center;
    text-transform: none;
    border-top: 9px solid #F3A601;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    top: 30px;
    left: calc(50% - 140px);
}
#menuPrincipale ul li {
    display: block;
    margin-bottom: 10px;
}
#menuPrincipale ul li a {
    margin: 0;
    padding: 10px 0;
}


#menuPrincipale > li.menu-item-has-children {
    position: relative;
}

#menuPrincipale > li.menu-item-has-children > a {
    padding-right: 30px;
}



.submenu-toggle {
    position: absolute;
    right: 10px;
    top: 12px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    cursor: pointer;

    background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5' stroke='%230b6e8e' stroke-width='2' fill='none' stroke-linecap='round'/></svg>") no-repeat center;
    background-size: contain;

    transition: transform 0.2s ease;
}

#menuPrincipale > li.active .submenu-toggle {
    transform: translateY(-50%) rotate(180deg);
}


.facebook-link {
    align-items: center;
    background: #1877F2;
    border-radius: 50%;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
}

.facebook-link img {
    display: block;
}

.facebook-link--header {
    flex: 0 0 36px;
    height: 36px;
    margin-left: 18px;
    width: 36px;
}

.facebook-link--header:hover,
.facebook-link--header:focus {
    background: #006B92;
}


#colophon {
    background: #3E3E3E;
    color: #fff;
}
#colophon a {
    color: #fff;
    text-decoration: none;
}
#colophon a:hover {
    color: #006B92;
}

.facebook-link--footer {
    background: transparent;
    border-radius: 0;
    color: #fff;
    gap: 9px;
    line-height: 1.4;
    margin-bottom: 10px;
    padding: 0;
}

#colophon .facebook-link--footer:hover,
#colophon .facebook-link--footer:focus {
    background: transparent;
    color: #fff;
}

.facebook-link__icon {
    align-items: center;
    background: #1877F2;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 32px;
    height: 32px;
    justify-content: center;
    width: 32px;
}

#colophon .facebook-link--footer:hover .facebook-link__icon,
#colophon .facebook-link--footer:focus .facebook-link__icon {
    background: #006B92;
}


#menuFooter {
    list-style: none;
    margin: 10px 0;
    padding: 0;
    text-align: right;
    font-size: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: right;
}
#menuFooter li {
    margin: 0 0px;
}
#menuFooter li a {
    display: block;
    text-decoration: none;
}
#menuFooter li.current-menu-item a {
    color: #006B92;
}


/* WP-PageNavi: styles retained after removing the abandoned add-on. */
body .wp-pagenavi {
    clear: both;
}

body .wp-pagenavi a,
body .wp-pagenavi span.current,
body .wp-pagenavi span.extend {
    border: 1px solid #006B92;
    box-sizing: border-box;
    color: #000;
    display: inline-block;
    font-size: 12px;
    line-height: normal !important;
    margin: 2px 3px 2px 2px;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}

body .wp-pagenavi .pages {
    border: 0;
    color: #000;
    font-size: 12px;
    line-height: normal !important;
    margin: 2px;
    padding: 3px 5px;
}

body .wp-pagenavi span.current {
    background: #006B92;
    border-color: #006B92;
    color: #fff;
}

body .wp-pagenavi a:hover,
body .wp-pagenavi a:focus {
    background: #006B92;
    border-color: #006B92;
    color: #d1d1d1;
}



.introSec .dTable {
    min-height: 450px;
}
.introSec .immagine {
    width: 60%;
}
.introSec .contenuto {
    width: 40%;
    background: #006B92;
    color: #fff;
}
.introSec .contenuto h2 {
    color: #fff;
}
.introSec .contenuto h1 {
    color: #fff;
}
.contenutoBox {
    max-width: 430px;
    margin: 0 auto;
    padding: 10px;
  font-size: 1.8rem;
  line-height: 2.4rem;
}

.contenutoBox .btn {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.contenutoBox .btn:hover {
    color: #006B92;
    background: #fff;
}







#content .caroselloLoghi {
    margin: 0;
    background: transparent;
    border: 0;
    position: relative;
    zoom: 1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 0;
    -webkit-box-shadow: inherit;
    -moz-box-shadow: inherit;
    -o-box-shadow: inherit;
    box-shadow: inherit;
}
#content .caroselloLoghi .slides li {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 150px;
    padding: 10px;
    box-sizing: border-box;
    background: #fff;
}
#content .caroselloLoghi .slides li img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: 0.3s ease;
}

#content .caroselloLoghi .slides li:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
#content .caroselloLoghi .slides li::after {
    content: "";
    width: 1px;
    background: #DDDDDD;
    height: 100%;
    position: absolute;
    right: -2px;
    top: 0;
}
#content .caroselloLoghi .flex-direction-nav a {
  width: 50px;
  height: 50px;
  margin: 0;
  top: calc(50% - 25px);
}
#content .caroselloLoghi .flex-direction-nav a::before {
  font-family: inherit;
  content: "▸";
  font-size: 40px;
  line-height: 50px;
  text-align: center;
  width: 50px;
  height: 50px;
}
#content .caroselloLoghi .flex-direction-nav .flex-nav-prev a::before {
    transform: rotate(180deg);
}
#content .caroselloLoghi.flexslider:hover .flex-direction-nav .flex-next {
  right: -40px !important;
}
#content .caroselloLoghi.flexslider:hover .flex-direction-nav .flex-prev {
  left: -40px !important;
}


input, textarea {
    border: 0;
    background: #E6E6E6;
}
.wpcf7 p {
    margin: 7px 0;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.7rem;
    width: 100%;
    float: none;
}

.wpcf7 .wpcf7-submit {
    float: right;
    min-width: 200px;
    border-color: #006B92;
    background: #006B92;
    color: #fff;
    font-weight: 700;
    margin: 10px 0;
}




.antNewsSec {
    background: #f0f0f0;
    padding: 40px 0 20px;
}
.antNews {
    aspect-ratio: 1 / 1.05;
    position: relative;
    display: block;
}
.antNews .testo {
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 0;
    padding: 30px;
    background: rgba(0, 107, 146,0.84);
    box-sizing: border-box;
	transition: all 0.5s;
	-moz-transition: all 0.5s; /* Firefox 4 */
	-webkit-transition: all 0.5s; /* Safari and Chrome */
	-o-transition: all 0.5s; /* Opera */
  min-height: 140px;
}
.antNews .testo h1,
.antNews .testo h3 {
    margin: 0;
    padding: 0;
    color: #fff;
  font-size: 1.8rem;
  line-height: 2rem;
}
.antNews:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transform: translateY(-10px);
}
.antNews:hover .testo {
    padding-bottom: 50px;
}



.partnerBox .contentFlex {
    align-items: center;
}
.partnerBox .partnerBoxItem {
  padding: 50px 0;
  border-bottom: 1px solid #f2f2f2;
}
.partnerBox .partnerBoxItem .columnFlex.columnFlex4 img {
  mix-blend-mode: multiply;
}
.partnerBox .partnerBoxItem:nth-child(even) {
  background: #f9f9f9;
}


.bgBottoneSec {
    padding: 50px 0 250px;
}





.ambiti_sec {
    margin: 0 0;
}

.ambiti_sec__title {
    margin-bottom: 32px;
    text-align: center;
}

.ambiti_sec__grid {
    gap: 24px;
}

.ambiti_sec__card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
  border-radius: 30px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
  text-align: center;
}

.ambiti_sec__card:hover {
    border-color: var(--color-primary, #0b6e8e);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.ambiti_sec__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px auto;
    border-radius: 50%;
    background: rgba(11, 110, 142, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ambiti_sec__icon img {
    width: 64px;
    height: 64px;
}

.ambiti_sec__card_title {
    margin-bottom: 24px;
    color: var(--color-primary, #0b6e8e);
  margin-top: 12px;
}

.ambiti_sec__card_text {
    line-height: 1.5;
    margin-bottom: 20px;
}
.ambiti_sec__card_text p {
  margin: 0;
}

.ambiti_sec__btn {
    align-self: flex-start;
    padding: 8px 16px;
    border: 1px solid var(--color-primary, #0b6e8e);
    color: var(--color-primary, #0b6e8e);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.2s ease;
  margin: 0 auto;
}

.ambiti_sec__btn:hover {
    background: var(--color-primary, #0b6e8e);
    color: #fff;
}
@media (max-width: 790px) {
    .ambiti_sec__col {
        width: 100%;
        flex: inherit !important;
    }
}





    
@media screen and (max-width: 1150px) {

    #logo {
        /* Keep the enlarged logo alongside the social link and menu button. */
        width: min(300px, calc(100vw - 122px));
    }

    #burger {
        display: block;
        width: 30px;
        height: 30px;
        flex: 0 0 30px;
        margin-left: 16px;
        position: relative;
        z-index: 100;
    }
    #burger .close {
        display: none;
    }
    #burger.active .open {
        display: none;
    }
    #burger.active .close {
        display: block;
    }
    
    #navigation {
        display: none;
        position: absolute;
        background: rgba(256,256,256,0.97);
        top: 100px;
        width: 100vw;
        right: 0;
        box-sizing: border-box;
        padding: 10px 20px 20px;
        z-index: 99;
    }
    
    #menuPrincipale {
        margin: 0;
        display: block;
    }
    #menuPrincipale li {
        display: block;
        margin: 20px 0;
    }
    
    .introSec .contenuto,
    .introSec .immagine {
        display: block;
        clear: both;
        width: 100%;
    }
    .introSec .immagine {
        min-height: 300px;
    }
    .contenutoBox {
        max-width: inherit;
        margin: 0 auto;
        padding: 20px calc(5% + 15px) 30px;
    }
    #menuPrincipale ul {
        position: relative;
        width: 100%;
        left: inherit;
        top: inherit;
        margin-left: 30px;
        text-align: left;
        padding: 0;
        border: 0;
        margin-bottom: 40px;
        background: transparent;
    }
    #menuPrincipale ul li {
      margin-bottom: 0 !important;
    }

    .facebook-link--header {
        margin-left: auto;
    }
  
  
  
    h1 {
        font-size: 2.8rem;
        line-height: 3.3rem;
    }
    body:not(.home) h1 {
        font-size: 3.6rem;
        line-height: 4.3rem;
    }
    
    
}

/* Fit the logo and both controls within the actual mobile header width. */
@media screen and (max-width: 600px) {
    #masthead .contentInside {
        width: 100%;
        padding-inline: 16px;
        margin-inline: 0;
    }

    #masthead .column3-3 {
        padding: 0;
        margin: 0;
        gap: 12px;
    }

    #logoLink {
        flex: 0 1 220px;
        min-width: 0;
        margin-right: auto;
    }

    .facebook-link--header {
        display: inline-flex;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        margin-left: 0;
    }

    #logo {
        width: 100%;
        max-width: 220px;
        height: auto;
    }

    #burger {
        margin-left: 0;
        flex: 0 0 33px;
        width: 33px;
    }
}

@media screen and (min-width: 1151px) {
    #burger {
        display: none;
    }
}
