/*
Theme Name: Ilex
Author: DoTe
Theme URI: https://dotecsa.altervista.org/thema-ilex
Author URI: https://dotecsa.altervista.org/
Description: Minimal theme created for a secular ilex wood website, it can be adapted to different use.
Two-column theme, with primary menu (two level), social menu and footer, 
full-width template, sidebar right, align-wide support for full-width template, excerpt support,
mobile version, sub-menu mobile scrollabile, translation-ready, color customization, localized in Italian.
Version: 2.4.3
Requires at least: 5.5
Tested up to: 7.0
Requires PHP: 5.6
Tested up to: PHP 8.5
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: ilex
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready

All files, unless otherwise stated, are released under the GNU General Public
License version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/
/* root */
:root {--ilex_primary_color:#ad541c;--ilex_link_color: #ad541c;--ilex_link_color_hover: #d50000;--ilex_submenu_bg:#ffffff;--ilex_submenu_color:#555;--ilex_container_width:1400px;--ilex_article_width:800px;--ilex_button_bg:#d30000;--ilex_button_bg_hover:#bc0000;--ilex_button_color:#fff}

/* ! css-reset */
body, html {font-size: 1rem;line-height:1.6; box-sizing: border-box; margin: 0;padding: 0;}
body {-ms-word-wrap: break-word;word-wrap: break-word; font-family:-apple-system, BlinkMacSystemFont, 'Work Sans', 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;}
*, *:before, *:after {box-sizing: border-box;}
h1, h2, h3, h4, h5, h6, p, ol, ul { margin: 0;padding: 0;}
h1, h2, .site-title {font-family: system-ui, 'Helvetica Neue', sans-serif;}
h3, h4, h5, h6, p, ol, ul {font-family: 'Work Sans', 'Helvetica Neue', system-ui, sans-serif;}
img {height: auto;width: auto;}

/* ! essential */

/* Screen Reader Text ------------------------ */
.screen-reader-text {border: 0;clip: rect(1px, 1px, 1px, 1px);-webkit-clip-path: inset(50%); clip-path: inset(50%);height: 1px; margin: -1px;overflow: hidden;padding: 0;position: absolute !important;width: 1px;word-wrap: normal !important;word-break: normal;}
.screen-reader-text:focus {background-color: #f1f1f1;border-radius: 3px;box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);clip: auto !important;-webkit-clip-path: none;clip-path: none;
    color: #21759b;display: block;font-size: 0.875rem;font-weight: 700;height: auto;right: 5px;line-height: normal;padding: 15px 23px 14px;text-decoration: none;top: 5px;width: auto;z-index: 100000;}

/* Skip Link --------------------------------- */
.skip-link {position: absolute;left: -9999rem;top: 2.5rem;z-index: 999999999;text-decoration: underline; background: #fefefe}
.skip-link:focus {display: block;left: 6px;top: 7px;font-size: 14px;font-weight: 600;text-decoration: none;line-height: normal;padding: 15px 23px 14px;z-index: 100000;right: auto;}

/* sticky --------------------------------- */
.sticky .post-sticky {color: inherit;}

/* figcaption --------------------------------- */
figcaption,
.wp-caption-text {color: #6d6d6d;display: block;font-size: .9rem;font-weight: 500;line-height: 1.2;font-style: italic;}
figcaption a, .wp-caption-text a {color: inherit;}
figure {max-width: 100%;}


/* GALLERIES */
.gallery {display: flex;flex-wrap: wrap;margin: 3em 0 3em -0.8em;width: calc(100% + 1.6em);}
.gallery-item {margin: 0.8em 0; padding: 0 0.8em;width: 100%;}
.gallery-caption {display: block;margin-top: 0.8em;}

/* author */
.bypostauthor .comment-footer-meta .by-post-author {display: block;}

/* # Alignments */
.alignleft {float: left;margin-right: 20px;margin-bottom: 10px;display: inline;text-align: left;}
.alignright {float:right;margin-left: 20px;margin-bottom: 10px;display: inline;text-align: right;}
.aligncenter {clear: both; display: block;margin-left: auto;margin-right: auto;text-align: center;}
.left {display:flex; align-items:center;}
.right {display:flex; align-items:center;justify-content:right;}
.center {clear: both; display: block;margin-left: auto;margin-right: auto;text-align: center;}


/* ! base */
article, .page .col-70 article, .single .col-70 article{max-width:var(--ilex_article_width); width:100%;margin:0 auto;/*padding-bottom:100px;*//*padding:1%;*/}
.col-70{width: 66.33%;}
aside.col-20{max-width:400px;width: 30.00%;/*padding:3%;*/font-size:14px;}
.container, aside.col-19 {max-width: var(--ilex_container_width);width:100%;margin:0 auto;}
.container{padding:10px; position:relative;}
body>.grid-between.container, body>.grid-top.container {margin: 100px auto;margin-bottom:80px;overflow-x: hidden;min-height: 58vh;}
.container.full {max-width: 100%;width:100%;margin: 100px auto;margin-bottom:0px;overflow: hidden;}
.header {height: 100px;}
img.custom-logo {max-width: 250px;max-height: 80px;aspect-ratio: auto;height: auto;  width: auto;}
body.is-scrolled .header{height: 60px;padding: 5px 10px;}
.branding{display: block;max-width: 250px; width: 100%;}


body {color: #444;}
h1, h2, h3, h4, h5, h6 {color: #333; margin-bottom: 20px; line-height: 1;font-weight: 600;}
h1 {font-size: clamp(36px, 7vw, 56px);text-align:center;}
h2 {font-size: clamp(20px, 4vw, 25px);}
h3 {font-size: clamp(18px, 3vw, 22px);}
h4 {font-size: clamp(17px, 2.5vw, 20px);}
p {line-height: 1.5;font-size: .95rem;}
.mb-1 {margin-bottom: 20px}
.mb-2 {margin-bottom: 40px}
.mb-3 {margin-bottom: 30px}
.mt-1 {margin-top: 20px}
.mt-2 {margin-top: 30px;}
a {text-decoration: none;color: var(--ilex_link_color);}
a:hover {color: var(--ilex_link_color_hover)}
iframe {max-width: 100%;}
hr {border: 0;border-bottom: 1px solid #767676;}
html {scroll-behavior: smooth;}
:target {
    margin-top: -100px;
    padding-top: 100px;
}

/* ! layout */

.animate {-moz-transition: all 0.5s ease-in-out;-o-transition: all 0.5s ease-in-out;transition: all 0.5s ease-in-out;}
.grid-center {display: flex;align-items: center;justify-content: space-between;}
.grid-top {display: flex;flex-wrap: wrap;align-items: flex-start;justify-content: space-between;}
.grid-between {display: flex; flex-wrap: wrap;justify-content: space-between;align-items: flex-start;}
.header-image {width: 100%;height: 400px}
.col-33 {width: 33.33%;padding: 10px;padding-bottom: 20px; }
.col-100 {width: 100%;}
.spacer {height: 30px;}
/* ! aside */
aside.col-20 {margin-top:100px; animation-name: example;animation-duration: 1.5s;animation-timing-function: ease-in-out;}
body:not(.page, .single) article h2{margin-bottom:5px!important} 

@media (max-width: 1200px) {
	#site-content .col-33 {width: 50%}
}
@media (max-width: 1024px) {

}
@media (max-width: 768px) {
/*	.container {padding: 1vw;}*/
	#site-content .col-33 { width: 100%; padding: 0px;padding-bottom: 30px;}
	.grid-center .col-33.alignleft, .grid-center .col-33.aligncenter, .grid-center .col-33.alignright {text-align: center;}
}
@media (max-width: 600px) {
	.page .col-70, .single .col-70, .col-70 { width: 100%;margin:0 auto}
	#site-content .col-33 {width: 100% }
	.grid-top, .grid-center, .grid-between { display: block; }
	.col-33 {width: 100%; padding: 0}
	body>.grid-between.container, body>.grid-top.container { min-height: calc(100vh - 450px);margin: 150px 0 80px 0 }
    .mb-3.mt-2 { margin-top: 20px;margin-bottom: 20px}
	    /* ! aside */
    aside.col-20{margin-top: 50px;width: 100%;padding-left: 0;}
}

@media (max-width: 500px) {
    .col-20, .col-70, .single .col-70, .page .col-70  {width: 100%;}
}

/* ! .header */
#site-header {margin: 0 auto;background-color: #ffffff; position: fixed;width: 100%; top:0;z-index:99;}
body.is-scrolled #site-header { box-shadow: 0 5px 20px rgb(0 0 0 / 5%);}
.header {display: flex;justify-content: space-between;flex-wrap: nowrap;align-items: center;height:100px; position: relative;transition:all .5s cubic-bezier(.215, .61, .355, 1);}
body.is-scrolled .header.container {transition: all .5s cubic-bezier(.215, .61, .355, 1);height:60px}

img.custom-logo {max-width: 250px; max-height: 80px;aspect-ratio: auto;height: auto;width: auto;transition: all .5s cubic-bezier(.215, .61, .355, 1);}
a.custom-logo-link {max-height: 80px;display: block; transition: all .5s cubic-bezier(.215, .61, .355, 1);}
body.is-scrolled img.custom-logo{max-height:50px; max-width: 250px;transition: all .5s cubic-bezier(.215, .61, .355, 1);} 
body.is-scrolled a.custom-logo-link {max-height: 50px;}
/* allinea immagine e link del logo */
a.custom-logo-link .custom-logo {display: flex;align-items:center ;}

body.admin-bar #site-header, body.is-scrolled.admin-bar #site-header {top: 32px}


.site-title {font-size: 26px;font-weight: 700;padding: 0 7px;color: #a94100;display: flex;align-items: center;line-height: 1;}
.site-description {line-height: 1.2;margin-bottom: 0;color: #a94100;padding-left: 10px;}



/* div-search */
div.search, form.search-form{text-align:right}
.branding, div.search { min-width: 120px;}
.page div.search {text-align: right;}
input.search-field, .wp-block-search__input, .error404 .search-field {background: #ededed url(img/search_bg.png) no-repeat 0px 50%;background-size: contain;/*padding: 5px 0px;*/border-radius: 3px;border: 1px solid #767676!important;}
input.search-field:focus, .wp-block-search__input:focus {background:#fff;}

/*button*/
button.contact, .search-submit, .submit, .wpcf7-submit, .wp-block-search__button { padding: 0.6em 1em;border-radius: 3px;background: var(--ilex_button_bg);font-size: 14px;text-transform: uppercase;color: var(--ilex_button_color);border: 1px solid #767676!important;}
button.contact a, .submit a, .wpcf7-submit a {color: var(--ilex_button_color);}
button.contact:hover, .submit:hover, .wpcf7-submit:hover, .wp-block-search__button:hover, .search-submit:hover {background: var(--ilex_button_bg_hover);transition: all 0.25s ease-in-out;cursor: pointer;}
input.search-field {padding: 0.667em 1em;}
input.search-field::placeholder {opacity:0}
@media (max-width: 1200px) {
	.header{max-height:100%;}
	.branding, div.search {min-width: 250px;}
	.branding {display:flex;align-items:center;max-width:250px;height:90px}
	body.is-scrolled .branding {height: 50px;}
	.site-description {padding-left: 0px;padding:3px 0}
}
@media (max-width: 1024px) {
	form .wp-block-search__inside-wrapper{display:block!important;}
}
@media (max-width: 768px) {
    body.admin-bar #site-header, 
    body.is-scrolled.admin-bar #site-header {top: 46px}
	.site-description{padding:0;}

}
@media (max-width: 600px) {
	.header div.search {position: relative;top: 0%;right: 0px;}
    button.contact, .submit, .wpcf7-submit, .wp-block-search__button {padding: 0.6em; font-size: 12px;}
    button.contact {margin: 10px;}
	body.is-scrolled.admin-bar #site-header {top: 0;}
    body.is-scrolled #site-header .menu.grid-center {padding: 0; }
	.header {flex-wrap: wrap;}
    div.search{width:100%;display: flex;justify-content: center;}
    .header-title.grid-center {display: flex;justify-content: flex-start; flex-wrap: wrap }
    body.is-scrolled div.search{display: none;}
	.header {height:auto;}
}

/* ! article */
body:not(.page, .single) .img-res{max-height: 200px;height: 200px;width: 100%;object-fit: cover;padding-bottom:0}

.content-blog p {margin-bottom: 0;}
figure.wp-block-media-text__media img { width: 100%;}
pre {white-space: pre-wrap;word-wrap: break-word;}
.header-title {width: auto;}
/*.entry-content {max-width: 800px;margin: 0 auto}*/
.entry-content-bottom {clear: both;padding-top: 20px;font-size: .9em;}
.entry-content ul{margin-bottom:20px;margin-left: 3rem;}
.entry-content ol {list-style-position: inside;margin-bottom:0px;margin-left: 1.5rem;}
.entry-content ul li {list-style-type: disc;list-style-position: inside;padding:0.22rem 0;/*line-height: 1.5;*/}
.entry-content p {font-size: 1rem;line-height: 1.6;}
.img-res {width: 100%;height: auto;padding-bottom: 20px;}
.entry-content a, .entry-content a:hover { text-decoration: underline;}

p.post-nav-links {padding-bottom: 10px;}
.small { font-size: 12px; font-style: italic;}
p.small { font-size: 14px; font-style: italic;}
.comments p, .comments a { font-size: 14px; }
p.small.aligncenter {margin-top: -55px;margin-bottom: 60px;}
@media (max-width: 1200px) {
	
}
@media (max-width: 1024px) {
	
}
@media (max-width: 550px) {
	main#site-content {min-height: 50px; }
	.blog article, .archive article, .category article, div.search article, article {width: 100%;margin-bottom: 20px}
    .wp-block-media-text__media img {width: auto;height: auto }
    .grid-top {display: block;}
}

/* ! comment */
ol.comment-list {list-style: decimal;list-style-position: outside;margin-left: 15px;}
ol.children {padding-left: 30px;border-left: 3px solid #ddd;margin-top: 20px;}
textarea#comment {width: 100%;}
.comment-form-author, .comment-form-email, .comment-form-url {width: 50%}
input#author, input#email, input#url {width: 100%}
footer.comment-meta img {width: auto;}
.comment-content {padding: 10px 0;}
ol.comment-list li {padding-bottom: 20px;}
ol.wp-block-latest-comments li {line-height: 1.2;margin-bottom: 5px;}
.comment-metadata {padding-top: 10px;}

/* ! pagination*/
.pagination.clearfix {padding-top: 20px;font-size: 15px; font-style: italic;}

/* ! post navigation */
.nav-links {display: flex;justify-content: space-between;}
.nav-previous, .nav-next {position: relative;overflow: hidden;}
.nav-next span.nav-title, .nav-previous span.nav-title {display:flex; align-items:center}
.nav-next span.nav-title {justify-content:right}
.nav-next span.nav-title svg {position: relative;transform: rotate(-90deg);width: 25px;right: 0;}
.nav-previous span.nav-title svg {position: relative; transform: rotate(90deg); width: 25px;left: 0; }
@media (max-width: 768px) {
	.nav-links { display: block;}
} 

/* ! widget*/
.widget-title {margin-bottom: 10px}
.widget article {margin-bottom: 0;}
.widget input.search-field,
.error404 input.search-field {width: auto;}
.widget h2 {font-style: italic;font-weight: 600; margin-bottom: 0px; font-size: 22px;}
.widget, .correlated {margin-bottom: 30px;}
.widget_search {padding: 20px 0;}
.widget ol, .related ul,.widget ul {margin: 10px 0;}
.widget ol li, .related ul li, .widget ul li {list-style-position: inside;padding:0;}
/* widget search */
form .wp-block-search__inside-wrapper {max-width:500px;width: 100%;}

/* ! footer */
ul#footer-menu {display: flex;justify-content: center;flex-wrap: wrap;list-style: none;}
ul#footer-menu li a {padding: 0 5px;font-weight: 500;font-size: 14px}
ul#social-menu li a:hover {/*padding: 0;*/background: none;display: flex;list-style: none;}
ul#footer-menu .sub-menu {display: block;width: auto;box-shadow: none}
ul#footer-menu .sub-menu li a {padding: 0;padding-left: 10px;overflow-x: auto;white-space: nowrap;box-shadow: 0 0 0}
ul#social-menu {display: flex;/*justify-content: flex-start;*/list-style: none;}
ul#social-menu li {margin: 0 5px;cursor:pointer}
ul#social-menu li:hover { transform: scale(1.1);transition: transform .1s ease;}
.footer a:hover{text-decoration:underline}
.footer p, .footer ol, .footer ul {margin-bottom: 0px;}
.footer .col-33 {padding: 20px 0}
.footer p.site-description {color: inherit}
.footer img.custom-logo {    max-width: 150px !important; max-height: 50px !important;height: auto;width: auto;margin: 0 auto;}
.footer .col-33.alignleft {display: flex;align-items: center;flex-wrap: wrap;}
@media (max-width: 1200px) {
	ul#footer-menu{display: block;text-align:center}
	.left {display: block;}
	.footer img.custom-logo  {margin: 0;}
	.footer .col-33.alignleft{display:block}
	.footer .col-33.alignright{float:none}
}
@media (max-width: 1024px) {
	ul#footer-menu, .footer .col-33.alignleft {display: block;/*margin-right: 10px */}
}
@media (max-width: 768px) {
	.footer .grid-center {display: block;text-align: center;}
	.footer img.custom-logo  {margin: 0 auto;}
	.footer .col-33 {width:100%;text-align: center;} 
	.menu {margin-right:0;padding-left:0!important;}	
	.right  {display: block; margin:0 auto }
	ul#footer-menu{text-align: center;}
	form.search-form {text-align: center!important;)}
	ul#social-menu {justify-content: center;}
}
@media (max-width: 550px) {
	p.small.aligncenter {margin-top: -20px; margin-bottom: 20px;}
}


/* alignfull */
.alignfull {margin-left: calc(50% - 50vw);margin-right: calc(50% - 50vw);width: auto;max-width: 1000%;}
.alignwide {margin-left: calc(25% - 25vw);margin-right: calc(25% - 25vw); width: auto;max-width: 1000%;}
.alignwide img, .alignfull img { display: block; margin: 0 auto;}

/* ! icone span o menu-social*/
.facebook {width: 24px; height: 24px;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctitle%3ELogo Facebook%3C/title%3E%3Cpath fill='rgb(8, 102, 255)' d='M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z'/%3E%3C/svg%3E");}
.twitter {width: 24px; height: 24px;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(142 142 142)' d='M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z'/%3E%3C/svg%3E");}
.instagram {width: 24px; height: 24px;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ctitle%3ELogo Instagram%3C/title%3E%3Cpath fill='rgb(240, 0, 117)' d='M12,4.622c2.403,0,2.688,0.009,3.637,0.052c0.877,0.04,1.354,0.187,1.671,0.31c0.42,0.163,0.72,0.358,1.035,0.673 c0.315,0.315,0.51,0.615,0.673,1.035c0.123,0.317,0.27,0.794,0.31,1.671c0.043,0.949,0.052,1.234,0.052,3.637 s-0.009,2.688-0.052,3.637c-0.04,0.877-0.187,1.354-0.31,1.671c-0.163,0.42-0.358,0.72-0.673,1.035 c-0.315,0.315-0.615,0.51-1.035,0.673c-0.317,0.123-0.794,0.27-1.671,0.31c-0.949,0.043-1.233,0.052-3.637,0.052 s-2.688-0.009-3.637-0.052c-0.877-0.04-1.354-0.187-1.671-0.31c-0.42-0.163-0.72-0.358-1.035-0.673 c-0.315-0.315-0.51-0.615-0.673-1.035c-0.123-0.317-0.27-0.794-0.31-1.671C4.631,14.688,4.622,14.403,4.622,12 s0.009-2.688,0.052-3.637c0.04-0.877,0.187-1.354,0.31-1.671c0.163-0.42,0.358-0.72,0.673-1.035 c0.315-0.315,0.615-0.51,1.035-0.673c0.317-0.123,0.794-0.27,1.671-0.31C9.312,4.631,9.597,4.622,12,4.622 M12,3 C9.556,3,9.249,3.01,8.289,3.054C7.331,3.098,6.677,3.25,6.105,3.472C5.513,3.702,5.011,4.01,4.511,4.511 c-0.5,0.5-0.808,1.002-1.038,1.594C3.25,6.677,3.098,7.331,3.054,8.289C3.01,9.249,3,9.556,3,12c0,2.444,0.01,2.751,0.054,3.711 c0.044,0.958,0.196,1.612,0.418,2.185c0.23,0.592,0.538,1.094,1.038,1.594c0.5,0.5,1.002,0.808,1.594,1.038 c0.572,0.222,1.227,0.375,2.185,0.418C9.249,20.99,9.556,21,12,21s2.751-0.01,3.711-0.054c0.958-0.044,1.612-0.196,2.185-0.418 c0.592-0.23,1.094-0.538,1.594-1.038c0.5-0.5,0.808-1.002,1.038-1.594c0.222-0.572,0.375-1.227,0.418-2.185 C20.99,14.751,21,14.444,21,12s-0.01-2.751-0.054-3.711c-0.044-0.958-0.196-1.612-0.418-2.185c-0.23-0.592-0.538-1.094-1.038-1.594 c-0.5-0.5-1.002-0.808-1.594-1.038c-0.572-0.222-1.227-0.375-2.185-0.418C14.751,3.01,14.444,3,12,3L12,3z M12,7.378 c-2.552,0-4.622,2.069-4.622,4.622S9.448,16.622,12,16.622s4.622-2.069,4.622-4.622S14.552,7.378,12,7.378z M12,15 c-1.657,0-3-1.343-3-3s1.343-3,3-3s3,1.343,3,3S13.657,15,12,15z M16.804,6.116c-0.596,0-1.08,0.484-1.08,1.08 s0.484,1.08,1.08,1.08c0.596,0,1.08-0.484,1.08-1.08S17.401,6.116,16.804,6.116z'/%3E%3C/svg%3E");}
.youtube {width: 24px;height: 24px;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctitle%3ELogo Youtube%3C/title%3E%3Cpath fill='rgb(255, 0, 0)' d='M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z'/%3E%3C/svg%3E"); }
.linkedin {width: 24px; height: 24px;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ctitle%3ELogo Linkedin%3C/title%3E%3Cpath fill='rgb(13, 102, 194)' d='M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z'/%3E%3C/svg%3E");}
.tiktok {width: 24px; height: 24px;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 32 32'%3E%3Ctitle%3ELogo Linkedin%3C/title%3E%3Cpath fill='rgb(142 142 142)' d='M16.708 0.027c1.745-0.027 3.48-0.011 5.213-0.027 0.105 2.041 0.839 4.12 2.333 5.563 1.491 1.479 3.6 2.156 5.652 2.385v5.369c-1.923-0.063-3.855-0.463-5.6-1.291-0.76-0.344-1.468-0.787-2.161-1.24-0.009 3.896 0.016 7.787-0.025 11.667-0.104 1.864-0.719 3.719-1.803 5.255-1.744 2.557-4.771 4.224-7.88 4.276-1.907 0.109-3.812-0.411-5.437-1.369-2.693-1.588-4.588-4.495-4.864-7.615-0.032-0.667-0.043-1.333-0.016-1.984 0.24-2.537 1.495-4.964 3.443-6.615 2.208-1.923 5.301-2.839 8.197-2.297 0.027 1.975-0.052 3.948-0.052 5.923-1.323-0.428-2.869-0.308-4.025 0.495-0.844 0.547-1.485 1.385-1.819 2.333-0.276 0.676-0.197 1.427-0.181 2.145 0.317 2.188 2.421 4.027 4.667 3.828 1.489-0.016 2.916-0.88 3.692-2.145 0.251-0.443 0.532-0.896 0.547-1.417 0.131-2.385 0.079-4.76 0.095-7.145 0.011-5.375-0.016-10.735 0.025-16.093z'/%3E%3C/svg%3E");}
.pinterest {width: 24px; height: 24px;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ctitle%3ELogo Pinterest%3C/title%3E%3Cpath fill='rgb(230, 1, 34)' d='M12.289,2C6.617,2,3.606,5.648,3.606,9.622c0,1.846,1.025,4.146,2.666,4.878c0.25,0.111,0.381,0.063,0.439-0.169 c0.044-0.175,0.267-1.029,0.365-1.428c0.032-0.128,0.017-0.237-0.091-0.362C6.445,11.911,6.01,10.75,6.01,9.668 c0-2.777,2.194-5.464,5.933-5.464c3.23,0,5.49,2.108,5.49,5.122c0,3.407-1.794,5.768-4.13,5.768c-1.291,0-2.257-1.021-1.948-2.277 c0.372-1.495,1.089-3.112,1.089-4.191c0-0.967-0.542-1.775-1.663-1.775c-1.319,0-2.379,1.309-2.379,3.059 c0,1.115,0.394,1.869,0.394,1.869s-1.302,5.279-1.54,6.261c-0.405,1.666,0.053,4.368,0.094,4.604 c0.021,0.126,0.167,0.169,0.25,0.063c0.129-0.165,1.699-2.419,2.142-4.051c0.158-0.59,0.817-2.995,0.817-2.995 c0.43,0.784,1.681,1.446,3.013,1.446c3.963,0,6.822-3.494,6.822-7.833C20.394,5.112,16.849,2,12.289,2'/%3E%3C/svg%3E");}
.whatsapp {width: 24px;4height: 24px;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ctitle%3ELogo Whatsapp%3C/title%3E%3Cpath fill='rgb(37, 211, 102)' d='M 12.011719 2 C 6.5057187 2 2.0234844 6.478375 2.0214844 11.984375 C 2.0204844 13.744375 2.4814687 15.462563 3.3554688 16.976562 L 2 22 L 7.2324219 20.763672 C 8.6914219 21.559672 10.333859 21.977516 12.005859 21.978516 L 12.009766 21.978516 C 17.514766 21.978516 21.995047 17.499141 21.998047 11.994141 C 22.000047 9.3251406 20.962172 6.8157344 19.076172 4.9277344 C 17.190172 3.0407344 14.683719 2.001 12.011719 2 z M 12.009766 4 C 14.145766 4.001 16.153109 4.8337969 17.662109 6.3417969 C 19.171109 7.8517969 20.000047 9.8581875 19.998047 11.992188 C 19.996047 16.396187 16.413812 19.978516 12.007812 19.978516 C 10.674812 19.977516 9.3544062 19.642812 8.1914062 19.007812 L 7.5175781 18.640625 L 6.7734375 18.816406 L 4.8046875 19.28125 L 5.2851562 17.496094 L 5.5019531 16.695312 L 5.0878906 15.976562 C 4.3898906 14.768562 4.0204844 13.387375 4.0214844 11.984375 C 4.0234844 7.582375 7.6067656 4 12.009766 4 z M 8.4765625 7.375 C 8.3095625 7.375 8.0395469 7.4375 7.8105469 7.6875 C 7.5815469 7.9365 6.9355469 8.5395781 6.9355469 9.7675781 C 6.9355469 10.995578 7.8300781 12.182609 7.9550781 12.349609 C 8.0790781 12.515609 9.68175 15.115234 12.21875 16.115234 C 14.32675 16.946234 14.754891 16.782234 15.212891 16.740234 C 15.670891 16.699234 16.690438 16.137687 16.898438 15.554688 C 17.106437 14.971687 17.106922 14.470187 17.044922 14.367188 C 16.982922 14.263188 16.816406 14.201172 16.566406 14.076172 C 16.317406 13.951172 15.090328 13.348625 14.861328 13.265625 C 14.632328 13.182625 14.464828 13.140625 14.298828 13.390625 C 14.132828 13.640625 13.655766 14.201187 13.509766 14.367188 C 13.363766 14.534188 13.21875 14.556641 12.96875 14.431641 C 12.71875 14.305641 11.914938 14.041406 10.960938 13.191406 C 10.218937 12.530406 9.7182656 11.714844 9.5722656 11.464844 C 9.4272656 11.215844 9.5585938 11.079078 9.6835938 10.955078 C 9.7955938 10.843078 9.9316406 10.663578 10.056641 10.517578 C 10.180641 10.371578 10.223641 10.267562 10.306641 10.101562 C 10.389641 9.9355625 10.347156 9.7890625 10.285156 9.6640625 C 10.223156 9.5390625 9.737625 8.3065 9.515625 7.8125 C 9.328625 7.3975 9.131125 7.3878594 8.953125 7.3808594 C 8.808125 7.3748594 8.6425625 7.375 8.4765625 7.375 z'/%3E%3C/svg%3E");}
.email {width: 24px;height: 24px;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctitle%3ELogo Email%3C/title%3E%3Cpath fill='rgb(142 142 142)' d='M19,5H5c-1.1,0-2,.9-2,2v10c0,1.1.9,2,2,2h14c1.1,0,2-.9,2-2V7c0-1.1-.9-2-2-2zm.5,12c0,.3-.2.5-.5.5H5c-.3,0-.5-.2-.5-.5V9.8l7.5,5.6,7.5-5.6V17zm0-9.1L12,13.6,4.5,7.9V7c0-.3.2-.5.5-.5h14c.3,0,.5.2.5.5v.9z'/%3E%3C/svg%3E");}
.telegram {width: 24px;height: 24px;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'%3E%3Ctitle%3ELogo Telegram%3C/title%3E%3Cpath fill='rgb(42, 171, 238)' d='M28.9700376,63.3244248 C47.6273373,55.1957357 60.0684594,49.8368063 66.2934036,47.2476366 C84.0668845,39.855031 87.7600616,38.5708563 90.1672227,38.528 C90.6966555,38.5191258 91.8804274,38.6503351 92.6472251,39.2725385 C93.294694,39.7979149 93.4728387,40.5076237 93.5580865,41.0057381 C93.6433345,41.5038525 93.7494885,42.63857 93.6651041,43.5252052 C92.7019529,53.6451182 88.5344133,78.2034783 86.4142057,89.5379542 C85.5170662,94.3339958 83.750571,95.9420841 82.0403991,96.0994568 C78.3237996,96.4414641 75.5015827,93.6432685 71.9018743,91.2836143 C66.2690414,87.5912212 63.0868492,85.2926952 57.6192095,81.6896017 C51.3004058,77.5256038 55.3966232,75.2369981 58.9976911,71.4967761 C59.9401076,70.5179421 76.3155302,55.6232293 76.6324771,54.2720454 C76.6721165,54.1030573 76.7089039,53.4731496 76.3346867,53.1405352 C75.9604695,52.8079208 75.4081573,52.921662 75.0095933,53.0121213 C74.444641,53.1403447 65.4461175,59.0880351 48.0140228,70.8551922 C45.4598218,72.6091037 43.1463059,73.4636682 41.0734751,73.4188859 C38.7883453,73.3695169 34.3926725,72.1268388 31.1249416,71.0646282 C27.1169366,69.7617838 23.931454,69.0729605 24.208838,66.8603276 C24.3533167,65.7078514 25.9403832,64.5292172 28.9700376,63.3244248 Z'/%3E%3C/svg%3E")}
.telephone {width: 24px;height: 24px;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctitle%3ELogo Telefono%3C/title%3E%3Cpath fill='rgb(142 142 142)' d='M5.84 9.856a17.216 17.216 0 0 0 8.922 8.663l.012.005.764.34a2.25 2.25 0 0 0 2.74-.737l1.274-1.763a.25.25 0 0 0-.046-.341l-2.224-1.795a.25.25 0 0 0-.358.046l-.866 1.168a.75.75 0 0 1-.912.237 13.387 13.387 0 0 1-6.67-6.67.75.75 0 0 1 .237-.912L9.88 7.23a.25.25 0 0 0 .046-.358L8.132 4.648a.25.25 0 0 0-.341-.046l-1.773 1.28a2.25 2.25 0 0 0-.732 2.756l.554 1.217v.001Zm8.33 10.041a18.716 18.716 0 0 1-9.694-9.416v-.002l-.555-1.22A3.75 3.75 0 0 1 5.14 4.666l1.773-1.28a1.75 1.75 0 0 1 2.386.32l1.795 2.225a1.75 1.75 0 0 1-.32 2.505l-.67.496a11.891 11.891 0 0 0 5.118 5.118l.497-.67a1.75 1.75 0 0 1 2.504-.32l2.225 1.795a1.75 1.75 0 0 1 .32 2.387l-1.275 1.764a3.75 3.75 0 0 1-4.565 1.229l-.758-.338Z'/%3E%3C/svg%3E");}
/*.facebook{background-color: #ccc; border-radius: 50%;}*/

/* Navigation
--------------------------------------------- */

@keyframes example {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

/*navigation comuni*/
#primary-menu, #primary-menu ul {margin: 0;position: relative;}
#primary-menu li {display: inline-block;position: relative;}
#primary-menu li a {display: block;padding: 18px 14px;font-size: 14px;font-weight: 600;text-transform: uppercase;color: var(--ilex_link_color);border: 1px solid transparent}
#primary-menu li a:hover {color:var(--ilex_submenu_color);}
#primary-menu .sub-menu li a {padding: 6px 16px 6px 6px;font-size: 13px;text-transform: capitalize;}
#primary-menu>li>ul  {display: none;min-width: 220px;position: absolute;left: 0;padding: 10px;border-radius: 0 0 5px 5px;height: auto;height: 0%;border: 1px solid #999;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);animation-name: example;animation-duration: .5s;animation-timing-function: ease-out;background-color: var(--ilex_submenu_bg);}
button.menu-toggle {display: none;}
#primary-menu li.open>ul{visibility: visible;height: auto;}
.sub-menu {padding-left: 1em;background-color: var(--ilex_submenu_bg);}
#primary-menu>li:hover>ul{visibility: visible;display: block;height: auto;}
#primary-menu li:focus-within ul {visibility: visible;display: block;height: auto;}
#primary-menu li ul li {clear: both;width: 100%;margin:0;}
#primary-menu li:hover, #primary-menu li.open {color: var(--ilex_submenu_color);background: #dedede;transition: all .5s cubic-bezier(.215, .61, .355, 1);}

#primary-menu li span.icon,
#primary-menu li.open span.icon {width: 15px;height: 15px;right: -2px;background-size: 15px 15px;position: absolute;top: 18px;color:#000;}
#primary-menu li:hover span.icon path, .primary-open #primary-menu span.icon path { fill:var(--ilex_submenu_color);  }
.sub-menu li span.icon {display: none}
#primary-menu li:hover a,
.sub-menu li a {color: var(--ilex_submenu_color);}

#primary-menu .sub-menu li:hover a {color: var(--ilex_submenu_color);}
#primary-menu .sub-menu li:hover a:hover {color: var(--ilex_link_color_hover);}
@media (max-width: 1200px) {
	/* toggle-menu */
    button.menu-toggle {background: transparent;border: 0;color: var(--ilex_link_color);display: block;width: 40px;padding:0;min-height:40px;margin:0 auto;}	
    .icon-hamburger {height: 15px;}
    .icon-hamburger span{width: 30px;margin: 0 auto;position: relative;display: block;margin-top:10px;height: 2px;border-radius: 2px;}
    .primary-open .icon-hamburger span:nth-child(1) {transform: translateY(2px) rotate(45deg);transition: all .5s cubic-bezier(.215, .61, .355, 1);}
    .primary-open .icon-hamburger span:nth-child(2){transform: translateY(0px) rotate(-45deg);margin-top: 0px;transition: all .5s cubic-bezier(.215, .61, .355, 1);} 
    /* menu */
    #primary-menu {padding-left:0;position: absolute;top: 100px;min-width: 100%;overflow: auto;background: #fff;height: 100vh;height: 0vh;left:0;right:0;transition: all .5s cubic-bezier(.215, .61, .355, 1);}
	.primary-open #primary-menu{padding-top:50px;padding-bottom:100px;height:100vh;transition: all .5s cubic-bezier(.215, .61, .355, 1);}
	body.is-scrolled #primary-menu {top:60px}
	#primary-menu li{width: 96%;margin: 0 2%; border-bottom: 1px solid #ccc;position:relative;}
	.primary-open #primary-menu li a{color:var(--ilex_submenu_color)}
	#primary-menu ul li, #primary-menu li.open{border-bottom: 0px;}
	#primary-menu > li > ul{position:relative}
	#primary-menu, #primary-menu ul{margin: 0;display:block;}
	.primary-open #primary-menu li>ul, .primary-open #primary-menu li>ul ul{position: relative;height:0;display:none;}	
	.primary-open #primary-menu li.open>ul{position: relative;height:auto;display:block;overflow:hidden}
	.primary-open #primary-menu li.open>ul ul{position: relative;height:auto;display:block;}
	.primary-open #primary-menu li span.icon {	width: 39px;height: 39px;display: block;right: 0.5em;background-size: 40px 40px;border: 2px solid var(--ilex_submenu_color);border-radius: 3px;	position: absolute;	top: 10px;transition:all .5s cubic-bezier(.215, .61, .355, 1);}
	.primary-open #primary-menu li.open span.icon {transform: rotate(180deg);}
	.primary-open #primary-menu ul li span.icon {display: none;}
	.primary-open #primary-menu > li:last-child{margin-bottom: 150px;position: relative;}
	#primary-menu li:not(.open) {background: transparent;transition: all .8s cubic-bezier(.215, .61, .355, 1);}
	aside.col-20{padding:0}
}
@media (max-width: 1024px) {
	
}
@media (max-width: 768px) {
	
}
@media (max-width: 600px) {
	button.menu-toggle {margin-right:0;}	
    #primary-menu {top: 150px;}
	body.is-scrolled #primary-menu {top: 60px;}
}


/*block_styles*/
.is-style-ilex-1 {background: #efefef;cursor: pointer;border: 2px solid #ccc;border-radius: 10px;transform: scale(1);text-transform: uppercase;transition: all .5s cubic-bezier(.215, .61, .355, 1);padding: calc(.667em + 2px) calc(1.333em + 2px);}
.is-style-ilex-1:hover {background: #000;color: #fff; transform: scale(.98); transition: all .5s cubic-bezier(.215, .61, .355, 1);}
.wp-block-search__input, .wp-block-search__button {border-radius: 3px;/*border: 2px solid #000;*/min-width: 70px;}



/* ! mobile -------------------------- */
@media (max-width: 1200px) {
	/* focus-within */
	#primary-menu:focus-within{display:block;overflow:visible; height:100vh}
	#primary-menu li:focus-within ul{position:relative; }
	
	/* fixed nel caso di logo più alto */
	body.primary-open {overflow: hidden}
	body.primary-open nav .menu {position: absolute;}
	body.is-scrolled.primary-open {position: absolute;overflow:hidden}
}
@media (max-width: 1024px) {
 
}

@media (max-width: 768px) {

}

@media (max-width: 550px) {

}
/* focus-within */	
nav .menu li:focus-within nav .menu{height: 100vh;}
nav .menu li:focus-within ul li ul {position:static!important}
nav .menu > li:hover > ul, nav .menu > li > ul:hover {padding-left: 10px;}
/*.primary-open nav .menu li:focus-within ul li ul { padding: 20px 5px!important;  }	*/

/*
.container {border:1px solid red}
.col-33, .page .col-70 article, .single .col-70 article, .widget {border: 1px solid brown}
.col-70, .page .col-70, .single .col-70, aside.col-20 {border: 1px solid green;}
.branding { border: 1px solid #ccc;}*/

/* customization */
.info-article { }


/*.container.full {margin:100px auto;}*/
.post-template-template-regolar-width-sidebar-bottom .grid-top.container{width:var(--ilex_article_width);}
.post-template-template-full-width-menu-trasparent #site-header {background-color: transparent;}
aside.col-19 {display:flex; justify-content:space-between;font-size: 14px;padding:1vw;}
aside.col-19 .widget, aside.col-19 .correlated{width:24%;padding:1%}
@media (max-width: 1024px) {
aside.col-19 {width:100%;display:block; max-width:450px}
aside.col-19 .widget, aside.col-19 .correlated{width:100%;}
}
@media (max-width: 550px) {
.container.full {margin:180px auto;margin-bottom: 50px;}
aside.col-19 {max-width:100%}
}
