
@font-face {
    font-display: swap; 
   font-family: 'morpheusregular';
    src: url('../fonts/morpheus-webfont.woff2') format('woff2'),
         url('../fonts/morpheus-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* dm-sans-regular - latin */
@font-face {
    font-display: swap; 
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/dm-sans-v15-latin-regular.woff2') format('woff2'); 
  }
  /* dm-sans-italic - latin */
  @font-face {
    font-display: swap; 
    font-family: 'DM Sans';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/dm-sans-v15-latin-italic.woff2') format('woff2'); 
  }
  /* dm-sans-800 - latin */
  @font-face {
    font-display: swap; 
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/dm-sans-v15-latin-800.woff2') format('woff2'); 
  }
  /* dm-sans-800italic - latin */
  @font-face {
    font-display: swap; 
    font-family: 'DM Sans';
    font-style: italic;
    font-weight: 800;
    src: url('../fonts/dm-sans-v15-latin-800italic.woff2') format('woff2'); 
  }
  
  body { overflow-x:hidden; margin:0px; padding:0px; background-color: #000; color:#fff;
    font-family: 'DM Sans', sans-serif; font-weight: 400; font-size:20px; line-height: 30px;
}

    *:focus {
        outline: none;
    }
    html{   scroll-behavior: smooth; }
    a { color: #fff; }
    .has-medium-font-size { font-size: 28px !important; line-height: 1.2em;}
/* TOP */
#top #logo { max-width:400px; display:block; margin: 0 auto; }

#top { position: fixed; top:0px; left:0px; width:100%; background-color: #000; padding-top:60px; transition: all .7s; z-index:100; }
#top.active { padding-top: 20px; padding-bottom: 20px; border-bottom:1px solid #fff; }
#top .mobile { display: none; opacity:0; transition: all .3s; position: relative; top: -10px;}
#top.active .mobile { display: block; opacity:1; top:0px; }

#top .desktop { display: block; opacity:1; transition: all; position: relative; top: 0px;}
#top.active .desktop { display: none; opacity:0; top:10px; }
#top.active #main-navigation { margin-top: 10px; }

#wrapper, footer { width: calc( 100% - 80px ); max-width: 1240px; margin:0 auto; padding: 0 40px;}
#wrapper { padding-top: 450px;}

#main-navigation { text-align: center; margin-top: 30px; }
#main-navigation ul, #main-navigation li { margin:0px; padding:0px; list-style: none; display:inline-block; }
#main-navigation a { color:#fff; text-decoration: none;display:inline-block; padding: 5px 40px;  }
#main-navigation a:hover { color:#000; }
#main-navigation li,  #main-navigation button,  #main-navigation #book {display: inline-block; color: #fff; border:1px solid; line-height: 30px; border-radius: 20px; margin: 0 10px; transition: all .3s; }
#main-navigation li:hover, #main-navigation li.current-menu-item,  #main-navigation button:hover,  #main-navigation #book:hover { background-color: #f0b50f; border-color: #f0b50f; color: #000;}

#main-navigation button { cursor:pointer; height: 40px; width: 40px; padding: 0px; vertical-align: middle; background-color: #fff; position: relative; }
.navbar-toggler-icon { display:block; width:100%; height: 0px; border-top:2px solid #000; transition: border-top .3s; }
.navbar-toggler span { display: block; position: absolute; height: 0px; width: 60%; opacity: 1; left: 20%; -webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg); -webkit-transition: .25s ease-in-out; -moz-transition: .25s ease-in-out; -o-transition: .25s ease-in-out; transition: .25s ease-in-out; }
.navbar-toggler span:nth-child(1) {  top: 12px;}
.navbar-toggler span:nth-child(2) { top:19px; }
.navbar-toggler span:nth-child(3) { top:26px; }
.navbar-toggler.open span:nth-child(1) { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg);top:18px; }
.navbar-toggler.open span:nth-child(2), .navbar-toggler.open span:nth-child(3) { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg);top:18px;  }
.navbar-toggler.open .navbar-toggler-icon { border-top:3px solid #000; }
 
#navbarNav { max-height: 0px; overflow: hidden; transition: all .3s; }
#navbarNav.open { max-height: 500px; }
#navbarNav ul { padding: 120px 0px 60px 0px; text-align: center; margin: 0px; list-style: none; font-size: 30px; line-height: 1.5em;}
#navbarNav ul a { color: #fff; text-decoration: none; border-bottom: 1px solid #000; }
#navbarNav ul a:hover { color: #f0b50f; border-bottom: 1px solid #f0b50f; }

#navbarNav ul.social { padding:0px; padding-top: 60px;}
.social li { display: inline-block; margin: 0 5px;}
.social a { display: inline-block; width:42px;height: 42px; background-color: #fff; transition: background-color .3s; }
.social a:hover { background-color:#f0b50f ;}

/* slide menu */
.slide-img { display: none; }
.slide-img .slide { width:200px; height: 200px; position: relative; margin-right: 20px; }
.slide-img .slide p { position: absolute; bottom:10px; left: 20px; margin:0px; font-weight: 800; }
.slide-img .slide img { object-fit: cover; width: 100%; height: 100%; border-radius: 20px; }

.page-interna h1 { font-family: 'morpheusregular', Helvetica, sans-serif; font-size: 60px; letter-spacing: .1em; font-weight: normal; 
  -webkit-text-stroke-width: 1px; color:#000;
    -webkit-text-stroke-color: white;
      text-align: center; }

      #menu-container  { max-width: 800px; margin: 0 auto;}
#menu-container h2, #menu-container .date-time, #menu-container .pagination-container { display:none; }
#menu-container .ut-menu .menu-info { border:none; }
#menu-container .ut-menu {font-family: 'DM Sans', sans-serif !important;  }
.ut-menu-standard .menu-items-container .menu-item .item .item-label { width:100px; max-width: 100px;}
.ut-menu-standard .menu-items-container .menu-item .item .item-details { width: calc( 100% - 100px ); }

.page-interna h2 { margin-top: 120px;}
.wp-block-table table td { border:none; border-bottom:1px solid #f0b50f; padding: 10px 0;  }

#book-footer { transition: all .3s; display: block; padding: 5px 40px;  width:200px; margin: 20px auto; text-align: center; color: #fff;   line-height: 30px;   background-color: #f0b50f; text-decoration: none;border-radius: 20px; font-weight: 800; margin-bottom: 60px; text-transform: uppercase; }
#book-footer:hover { background-color: #fff; color: #000;}
#allergeni { border-top: double 5px; border-bottom: double 5px; font-size: 18px; padding-bottom: 30px;}
#allergeni ul { margin:0px; padding: 0px; list-style: none; }
#allergeni ul li { margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px solid #232323; }
#allergeni ul span.num { width:20px; height: 20px; display: inline-block; text-align: center; line-height: 20px; border:1px solid; border-radius: 50%; margin-right:10px; font-size: 16px;}
#allergeni ul span.desc { display: inline-block; width: calc( 100% - 40px ); vertical-align: top; }

footer { font-size: 14px; line-height: 1.2em; margin-bottom:60px; margin-top:60px;}
footer .social { text-align: center;}
#aw_transp { float:right; margin-top:20px;}
footer .social { padding-left:0px;}

.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer { position:fixed; top: 70px; right:40px; z-index:100; margin:0px; }
.wpml-ls-legacy-list-horizontal .wpml-ls-item { width:42px; height: 42px;}
.wpml-ls-statics-footer a { padding: 0px; display: block; height: 42px; width: 42px; border-radius: 50%; overflow: hidden;}
.wpml-ls-statics-footer a img { object-fit: cover; width: 100%; height: 100%; }

@media screen and (max-width:1024px) {
  #wrapper { width: calc( 100% - 40px ); padding: 0 20px; padding-top: 300px;}
  body { font-size: 16px; line-height: 1.2em;}


    .slide-img { display: flex; flex-wrap: nowrap; overflow-x: auto; margin-bottom: 30px; overflow-y: hidden; height: 200px; }
    .slide-img .slide { flex-shrink: 0; }
    .menu-section:has(.img-0) .slide-img{ display: none;}
    .menu-section:has(.img-1) .slide{ width: 100%;}
    .menu-section:has(.img-2) .slide{ width: calc( 100% - 20px );}
    ::-webkit-scrollbar {
        -webkit-appearance: none;
        display: none;
      }


      #top #logo { max-width: 250px;}
      #top.active #logo { max-width: 300px;}
      #top { padding-top:30px;}
      #main-navigation { padding: 0px 20px; display: flex; flex-wrap: wrap; }
      #main-navigation .menu { margin-bottom: 10px; width: calc( 100% - 52px );display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:10px;}
      #main-navigation #book { order:3; flex-basis: 100%; }
      #main-navigation li, #main-navigation button, #main-navigation #book { margin:0px;}
      #main-navigation a { padding-left:0px; padding-right: 0px;}
      #main-navigation button { margin-left: auto;}
      
       #main-navigation li.piatti a, 
       #main-navigation li.birre a, 
       #main-navigation #book { transition: all .3s;}
      
      #top.active #main-navigation li.piatti a { -webkit-mask-image: url('../images/taverna-piatti.svg');}
      #top.active #main-navigation li.birre a  { -webkit-mask-image: url('../images/taverna-birra.svg');}
      #top.active #main-navigation #book::after  { -webkit-mask-image: url('../images/taverna-telefono.svg');}

      #top.active #main-navigation li.piatti a, 
      #top.active #main-navigation li.birre a, 
      #top.active #main-navigation #book { font-size:1px; display:inline-block; background-color: #fff; width:42px;}

#top.active #main-navigation { display: block; text-align: left;}
#top.active #main-navigation .menu { display: inline-block; width: auto; margin-bottom: 0px; }

#top.active #main-navigation li.piatti,
#top.active #main-navigation li.birre { margin: 0 5px; width: 42px; height: 42px; text-align: center;}
#top.active #main-navigation li.piatti a, 
#top.active #main-navigation li.birre a { width: 34px; height: 34px; padding:0px; -webkit-mask-repeat:no-repeat; position: relative; top: -3px; }
#top.active #main-navigation #book::after { -webkit-mask-size:34px; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center; border:1px solid #fff; }
#top.active #main-navigation #book { background-color: #000; position: relative; }
#top.active #main-navigation #book::after{ position: absolute; top:3px; left:3px;content:''; width:34px; height: 34px; display: block; background-color: #fff;}
#top.active #main-navigation button { position: relative; top: 5px; margin-left: 3px;}
#navbarNav { padding: 0 20px;}
#navbarNav ul { font-size: 20px; padding-top: 60px; padding-bottom: 0px;}

#dati-aziendali .wp-block-columns .wp-block-column:nth-child(2) { order:2;}
#dati-aziendali #aw_transp { float:none !important; margin: 0 auto;  !important}
#dati-aziendali .wp-block-columns .wp-block-column:first-child { order:3;}
#dati-aziendali .wp-block-columns .wp-block-column:first-child { text-align: center;}

#allergeni { font-size: 15px;}

.page-interna h1  { font-size: 40px;}
#book-footer { width:100%; padding: 5px 0px; font-size: 20px; }

.has-medium-font-size { font-size: 24px !important; line-height: 1.2em;}
.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer { top:25px; right:10px; transition: all .3s;}
.active .wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer { top:55px; }
}