/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


/* Layout */
body {background-color:var(--bg-color);}
.fullwidth {width:100%;}
.width50 {width:50%;}
/*.brxe-container {width:80%; max-width:1600px;}*/



/* Menu */
.main-menu{width:100%;display:flex;justify-content:space-between}
#menu-main-menu.bricks-nav-menu > li:first-of-type{margin-left:0}
#menu-main-menu.bricks-nav-menu > li > a {padding:20px 0;}

/* Colors */
.blubg {background-color:var(--blu); color:#ffffff;}

.logo{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
h1,h2,h3,h4,h5,h6{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:700;}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;line-height:1.6;}

/* Typo */
footer a {text-decoration: none; color: inherit; background-image: linear-gradient(currentColor, currentColor); background-position: 0 100%; background-size: 0% 2px; background-repeat: no-repeat; transition: background-size 0.35s cubic-bezier(.4,0,.2,1);}
footer a:hover {background-size: 100% 2px;}


.highlight {font-size:clamp(16px,2vw,24px);}
.boxed {background-color:#DEE0F7; padding:2vw 2vw; margin:2vw 0; border-radius:5px;}

/* Read more custom component css */
.readmore__more{display:none;}
.readmore.is-open .readmore__more{display:block;}
.readmore__toggle{margin-top:clamp(12px, 0.8vw, 16px);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;font:inherit;}
.readmore__toggle:hover{opacity:.8;}
.readmore__toggle:focus-visible{outline:2px solid currentColor;outline-offset:3px;}

/* Buttons */
.button-content:first-child {margin-top:0 !important;}
.button-content-blu {margin-top:3vw !important; background-color:var(--verylight-blu) !important;}

/* Table */
table.tabella {width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; border-radius: 12px; overflow: hidden; background: #ffffff; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin:2vw auto calc(2vw + 1.2em) auto;}
table.tabella caption {position: absolute; left: -9999px;}
table.tabella thead {background-color:var(--verylight-blu);}
table.tabella th {text-align: left; padding: 14px 16px; font-weight: 600; color: var(--blu); border-bottom: 1px solid #e5e7eb;}
table.tabella td {padding: 14px 16px; border-bottom: 1px solid #e5e7eb; color: var(--blu);}
table.tabella th:first-child, table.tabella td:first-child {border-right: 1px solid #e5e7eb; width:50%;}
table.tabella tbody tr:last-child td {border-bottom: none;}
table.tabella tbody tr:nth-child(even) {background: #fafafa;}
table.tabella tbody tr:hover {background: #f9fafb; transition: background 0.2s ease;}

@media (max-width: 768px) {
  table.tabella th, .tabella-separazione td {padding: 10px;font-size: 14px;}
}

/* Footer */
footer h4 {color:var(--bg-color); font-size: 1.2em; margin-bottom: 0.6em;}