@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,500;1,300;1,500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,300;0,500;1,300;1,500&display=swap');

/*!
Theme Name: cnfbn
Version: 1.0.0
*/

/* Normalize
--------------------------------------------- */

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}


body {
    margin: 0;
}

main {
    display: block;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    color: #000;
    font-size: 1rem;
    line-height: 1.3em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation li.IconFind {
    width: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' width='32' height='32' viewBox='0,0,256,256' style='fill:%23fff;'%3E%3Cg fill='%23fff' fill-rule='nonzero' stroke='none' stroke-width='1' stroke-linecap='butt' stroke-linejoin='miter' stroke-miterlimit='10' stroke-dasharray='' stroke-dashoffset='0' font-family='none' font-weight='none' font-size='none' text-anchor='none' style='mix-blend-mode: normal'%3E%3Cg transform='scale(8,8)'%3E%3Cpath d='M19,3c-5.51172,0 -10,4.48828 -10,10c0,2.39453 0.83984,4.58984 2.25,6.3125l-7.96875,7.96875l1.4375,1.4375l7.96875,-7.96875c1.72266,1.41016 3.91797,2.25 6.3125,2.25c5.51172,0 10,-4.48828 10,-10c0,-5.51172 -4.48828,-10 -10,-10zM19,5c4.42969,0 8,3.57031 8,8c0,4.42969 -3.57031,8 -8,8c-4.42969,0 -8,-3.57031 -8,-8c0,-4.42969 3.57031,-8 8,-8z'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: contain;
}

.main-navigation li.IconFind a {
    color: transparent;
}

.main-navigation a:before,
.sub-menu a:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.1rem;
    width: 100%;
    height: 0.05rem;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .15s cubic-bezier(.215, .61, .355, 1);
    background-color: currentColor;
}

.sub-menu .sub-menu {
    display: none !important;
}

.main-navigation a:hover:before,
.sub-menu a:hover:before {
    transform: scaleX(1);
}

.main-navigation ul li > ul {
    z-index: 99999;
    display: none;
    position: absolute;
    width: 250px;
    flex-flow: column;
    margin: 0;
    padding: 36px 0 0 0;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    display: flex;
}

.main-navigation ul.menu > li.menu-item-has-children::after {
    border-color: #fff;
    border-style: solid;
    border-width: 0.1em 0.1em 0 0;
    content: '';
    display: inline-block;
    height: 0.45em;
    right: -10px;
    top: 8px;
    transition: all 0.35s;
    transform: rotate(135deg);
    vertical-align: top;
    width: 0.45em;
    position: absolute;
}

.main-navigation ul.menu > li.menu-item-has-children:hover:after {
    top: 8px;
    transform: rotate(-45deg);
}

.main-navigation ul li > ul li {
    margin: 0;
    background: #004289;
    padding: 20px 20px 10px;
}

.main-navigation ul li > ul li:last-child {
    padding-bottom: 20px;
}

.site-header.affix .main-navigation ul li > ul {
    padding-top: 16px;
}

.main-navigation ul ul li:last-child {
    margin-bottom: 0;
}

.main-navigation ul ul li a {
    color: #fff;
    position: relative;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul#primary-menu {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }

    .sub-menu {
        display: none;
    }
}


button.menu-toggle {
    border: none;
    background: none;
    line-height: 1;
    padding: 0;
    z-index: 999999;
}

button.menu-toggle:hover,
button.menu-toggle:active,
button.menu-toggle:focus {
    border: none;
}

.btnmenu {
    width: 30px;
}

.btnmenu:before,
.btnmenu:after,
.btnmenu div {
    background: #fff;
    content: "";
    display: block;
    height: 3px;
    margin: 5px 0;
    transition: 0.5s;
}

.main-navigation.toggled .btnmenu:before {
    transform: translateY(6px) rotate(135deg);
}

.main-navigation.toggled .btnmenu:after {
    transform: translateY(-12px) rotate(-135deg);
}

.main-navigation.toggled .btnmenu div {
    transform: scale(0);
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
}

.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
    display: block;
}


.updated:not(.published) {
    display: none;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}


/* Widgets
--------------------------------------------- */
.widget select {
    max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
    margin-bottom: 1.5em;
    display: grid;
    grid-gap: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
    grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
    grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
    grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
    display: block;
}

/* Style
--------------------------------------------- */
body {
    color: #000;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.4em;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3em;
    clear: both;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1rem;
}

h2,
h3,
h4 {
    color: #004289;
}

.BgBlu h2,
.BgBlu h3,
.BgBlu h4,
.BgBlu h5,
.BgBlu h6 {
    color: #fff
}

a {
    color: #004289;
    text-decoration: none;
}

a:visited {
    color: #004289;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: rgba(0, 66, 137, 0.59);
}

a:focus,
a:hover,
a:active {
    outline: 0;
}

.SectionContainer,
.wp-block-group__inner-container,
h1.entry-title {
    width: 1200px;
    margin: 0 auto;
}

.SectionFull,
.SectionFull .wp-block-group__inner-container,
.wp-block-group__inner-container .wp-block-group__inner-container {
    width: 100%;
}

.SectionFull > .wp-block-group__inner-container,
.SectionFull > .SectionContainer {
    padding: 0 2rem;
}

/*Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {

    .SectionContainer,
    .wp-block-group__inner-container,
    h1.entry-title {
        width: 1000px;
    }
}

@media (max-width: 999.98px) {

    .SectionContainer,
    .wp-block-group__inner-container,
    h1.entry-title {
        width: 900px;
    }
}

/* Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {

    .SectionContainer,
    .wp-block-group__inner-container,
    h1.entry-title {
        width: 100%;
    }
}



/*HEADER*/
.site-header {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 66, 137, 0.8);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s;
}

.site-header.affix {
    height: 60px;
}

.site-header.affix .menu-topbar-menu-container {
    display: none;
}

.site-header .wp-block-columns {
    margin-bottom: 0;
}

.wp-logo {
    flex-basis: 10% !important;
}

.wp-logo svg#Logo {
    fill: #fff;
    height: 50px;
    width: auto;
    transition: all 0.35s;
}

.site-header.affix .wp-logo svg#Logo {
    height: 40px;
}

.wp-menu {
    flex-basis: 90% !important;
    position: relative;
    display: flex;
    align-items: center;
}

.menu-topbar-menu-container ul {
    justify-content: flex-end;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.menu-menu-principale-container ul {
    justify-content: flex-end;
    text-transform: uppercase;
}

.menu-menu-principale-container ul li {
    margin-right: 0.8rem;
    font-size: 1rem;
}

.menu-menu-principale-container ul.menu > li.menu-item-has-children {
    margin-right: 1.6rem;
}

.menu-menu-principale-container ul li:last-child {
    margin-right: 0;
}

#topbar {
    position: absolute;
    top: -33px;
    width: 100%;
}

.menu-menu-principale-container ul li a {
    color: #fff;
}

/*FOOTER*/
.site-footer {
    background: #004289;
    padding: 40px 0;
    font-size: 0.8rem;
    color: #fff;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer h4 {
    color: #53D6FF;
    font-size: 1rem;
}

.site-footer .wp-block-column {}

.site-footer .wp-block-column.column-address {
    flex-basis: 40% !important;
}

.site-footer .wp-block-column.column-menu {
    flex-basis: 60% !important;
}

.site-footer .wp-block-column.column-address img {
    width: 100%;
    max-width: 250px;
    margin-bottom: 1rem;
}

.site-footer .searchform {
    margin-bottom: 2rem;
}

.site-footer .WrapFormSearch {
    display: flex;
    justify-content: space-between;
    width: 100%;
}


.site-footer .searchform input[type="text"] {
    border: 1px solid #004289;
    border-radius: 0;
    padding: 5px 10px;
    color: #000;
    width: 90%;

}

.site-footer .searchform input[type="submit"] {
    border: 1px solid #004289;
    border-radius: 0px;
    background: #53D6FF;
    color: #004289;
    line-height: 1;
    padding: 8px 10px;
    height: 35px;
    width: 10%;
    min-width: 150px;
}

.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu li {
    font-size: 0.8rem;
}

.footer-menu li a {
    color: #fff;
    text-decoration: none;
}

.footer-menu li a:hover {
    text-decoration: underline;
}

.wrapcredits {
    text-align: center;
    font-size: 0.8rem;
    font-style: italic;
}

.wrapcredits svg {
    position: relative;
    top: 4px;
    left: 3px;
}

/* BTN*/
.wp-block-button__link {
    display: flex;
    min-height: 60px;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    line-height: 1.2em;
    background: rgba(0, 66, 137, 0);
    border-radius: 0;
    border: 1px solid #004289;
    color: #004289;
    position: relative;
    transition: all 0.35s;
    padding-right: 40px;
}

.BgBlu a {
    color: #fff;
    text-decoration: none;
}

.BgBlu a:hover {
    text-decoration: underline;
}

.BgBlu .wp-block-button__link {
    border-color: #fff;
    background: rgba(255, 255, 255, 0);
    color: #fff;
}

.wp-block-button__link:visited {
    background: rgba(0, 66, 137, 0);
    border: 1px solid #004289;
    color: #004289;
}

.BgBlu .wp-block-button__link:visited {
    border-color: #fff;
    background: rgba(255, 255, 255, 0);
    color: #fff;
}

.wp-block-button__link::after {
    display: block;
    content: '';
    position: absolute;
    border-color: #004289;
    border-style: solid;
    border-width: 0.15em 0.15em 0 0;
    height: 0.6em;
    width: 0.6em;
    right: 20px;
    top: calc(50% - 0.3em);
    transform: rotate(45deg);
}

.BgBlu .wp-block-button__link::after {
    border-color: #fff;
}

.wp-block-button__link:hover {
    background: rgba(0, 66, 137, 100);
    color: #fff;
}

.BgBlu .wp-block-button__link:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 100);
    color: #004289;
}

.wp-block-button__link:hover:after {
    border-color: #fff;
}

/* Pages styles */
.entry-header {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    max-height: 40vh;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.entry-header:after {
    display: block;
    position: absolute;
    bottom: 0;
    content: ' ';
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
    height: 300px;
    z-index: 0;
}

.entry-header h1 {
    color: #fff;
    margin-bottom: 2rem !important;
    z-index: 99;
}

.wp-block-image {
    margin-bottom: 0;
}

.tabs {
    overflow: hidden;
    display: flex;
    flex-flow: column;
}

.tab {
    width: 100%;
    overflow: hidden;
}

.tab input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.tab-label {
    position: relative;
    padding: 1em;
    cursor: pointer;
    width: 100%;
    display: block;
}


.tab-label:after {
    position: absolute;
    right: 0;
    top: calc(50% - 0.5em);
    border-color: #004289;
    border-style: solid;
    border-width: 0.1em 0.1em 0 0;
    content: '';
    display: inline-block;
    height: 0.8em;
    transition: all 0.35s;
    transform: rotate(135deg);
    vertical-align: top;
    width: 0.8em;
}

.NoBio .tab-label:after {
    display: none;
}

.tab-content {
    display: none;
    max-height: 0;
    padding: 0 1em;
    transition: all 0.35s;
    font-size: 1rem;
}

.tab-close {
    display: flex;
    justify-content: flex-end;
    padding: 1em;
    font-size: 0.75em;
    cursor: pointer;
}

.tab-close:hover {}

input:checked + .tab-label {}

input:checked + .tab-label::after {
    transform: rotate(-45deg);
}

input:checked ~ .tab-content {
    max-height: 200vh;
    display: block;
}

.wp-block-embed__wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
}

.wp-block-embed__wrapper.wrap11 {
    padding-top: 100%;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.SectionTab h3 {
    text-align: center;
}

.pt-0 {
    padding-top: 0px !important;
}

/*SECTION GLOBAL*/
.HiddenDesktop {
    display: none;
}

.SectionConf {
    padding: 4rem 0;
}

.SectionConf h2,
.SectionConf h3,
.SectionConf h4 {
    margin-top: 0;
}

.BgBlu {
    background: #004289;
    color: #fff;
}


.BgGrey {
    background: #F6F6F6;
}

.BgGrey .wp-block-columns:last-child {}

.SectionBig {
    font-size: 1.5rem;
    line-height: 1.3em;
    text-align: center;
}

.SectionBig h2 {
    text-align: center;
}

.SectionBig p {}

.SectionBig .wp-block-button__link {
    font-size: 1rem !important;
}

.SectionConf .wp-block-buttons {
    display: flex;
    justify-content: center;
}


.SectionDownload,
.SectionDownload h2 {
    text-align: center;
}

.SectionDownload .wp-block-buttons > .wp-block-button {
    margin: 1rem;
}

.SectionDownload .wp-block-button__link {
    padding: 10px 40px 10px 10px !important;
}

.SectionDownload .wp-block-button__link::after {
    border: 0;
    content: url('data:image/svg+xml; utf8, <svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd"><path d="M16.965 2.381c3.593 1.946 6.035 5.749 6.035 10.119 0 6.347-5.153 11.5-11.5 11.5s-11.5-5.153-11.5-11.5c0-4.37 2.442-8.173 6.035-10.119l.608.809c-3.353 1.755-5.643 5.267-5.643 9.31 0 5.795 4.705 10.5 10.5 10.5s10.5-4.705 10.5-10.5c0-4.043-2.29-7.555-5.643-9.31l.608-.809zm-4.965-2.381v14.826l3.747-4.604.753.666-5 6.112-5-6.101.737-.679 3.763 4.608v-14.828h1z"/></svg>');
    width: auto;
    right: 10px;
    top: calc(50% - 12px);
    transform: rotate(0deg);
}

.SectionDownload .wp-block-button__link:hover {
    background: none;
    color: #004289;
    text-decoration: underline;
}

.SectionCTA .wp-block-button__link {
    font-size: 1.4rem;
    font-weight: 500;
}

/*PAGINA RICERCA*/
.SectionSearch .wp-row {
    margin-bottom: 1em;
}

/*CATEGORIE*/
.WrapCatPost {
    position: relative;
}

.WrapCatPost h4 a {
    text-decoration: none;
}

.WrapPagination {
    display: flex;
    justify-content: center;
    padding: 3rem 0 3rem;
}

.WrapPagination a {
    text-decoration: none;
}

.WrapPagination .page-numbers {
    display: inline-block;
    background: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    margin: 0 4px;
}

.ImgSquare {
    object-fit: cover;
    width: 250px !important;
    height: 250px !important;
}

.SectionArticles .wp-block-media-text {
    background: #fff;
}

.SectionArticles .wp-block-media-text .wp-block-media-text__content {
    padding: 30px 30px 0 0 !important;
    align-self: flex-start;
}

.SectionArticles .wp-block-media-text .wp-block-media-text__content .wp-block-buttons {
    display: block;
}

.SectionArticles .wp-block-media-text h4 {
    font-size: 1.2rem;
    margin: 0 0 20px;
    font-weight: 500;
}

.SectionArticles .wp-block-media-text h4 a {
    text-decoration: none;
    color: #004289;
}

.SectionArticles .wp-block-media-text h4 a:hover {
    color: #004289;
    text-decoration: underline;
}

/*HOME PAGE*/
.SectionConf.SectionHome.SectionAbout {
    padding: 6rem 0;
}

.SectionConf.SectionHome.SectionAbout h2 {
    margin: 0;
    padding-bottom: 3rem;
    font-weight: 300;
}

.SectionConf.SectionHome.SectionAbout .SectionBig {
    padding-bottom: 6rem;
}

.SectionConf.SectionHome.SectionAbout .SectionGruppi h3 {
    margin: 0;
    text-align: center;
    padding-bottom: 1rem;
}

.SectionGruppi a {
    display: block;
    text-align: right;
    text-decoration: none;
    color: #fff;
    position: relative;
    padding-right: 20px;
}

.SectionGruppi a:hover {
    text-decoration: underline;
}

.SectionGruppi a:after {
    display: block;
    content: '';
    position: absolute;
    border-color: #fff;
    border-style: solid;
    border-width: 0.1em 0.1em 0 0;
    height: 0.6em;
    width: 0.6em;
    right: 0px;
    top: calc(50% - 0.3em);
    transform: rotate(45deg);
}

.SectionConf.SectionHome.SectionServizi {
    padding-bottom: 0;
}

.SectionConf.SectionHome.SectionServizi .wp-block-column {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    transition: all 0.35s;
    background: #fff;
    padding: 20px 20px 5px;
}

.SectionConf.SectionHome.SectionServizi .wp-block-column:hover {
    background: #F6F6F6;
}

.SectionConf.SectionHome.SectionServizi .wp-block-column figure {
    margin-bottom: 1rem;
}

.SectionConf.SectionHome.SectionServizi .wp-block-column h4 a {
    text-decoration: none;
    margin: 0;
}

.SectionConf.SectionHome .wp-block-latest-posts.is-grid {
    margin: 0;
}

.SectionConf.SectionHome .wp-block-latest-posts.is-grid li {
    display: flex;
    background: #fff;
    align-items: center;
    position: relative;
    padding-right: 30px;
}

.SectionConf.SectionHome.SectionBacheca {}

.SectionConf.SectionHome.SectionBacheca .HeaderColumns {
    margin-right: 2rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2rem;
}

.SectionConf.SectionHome .BlockAltro .BlockNews {
    padding: 2rem 0 0 2rem;
}

.SectionConf.SectionHome .BlockNews h3 {
    margin-bottom: 0;
}

.SectionConf.SectionHome .BlockNews .wp-block-post-template.is-flex-container {
    margin: 0;
}

.SectionConf.SectionHome .BlockNews .wp-block-post-template.is-flex-container li {
    background: #fff;
    min-height: 250px;
}

.SectionConf.SectionHome .BlockNews .wp-block-post-template.is-flex-container li .wp-block-columns {
    margin-bottom: 0;
}

.SectionConf.SectionHome .BlockNews .wp-block-post-template.is-flex-container li .wp-block-post-featured-image {
    margin: 0;
}

.SectionConf.SectionHome .BlockNews .wp-block-post-template.is-flex-container li .wp-block-post-featured-image img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    max-width: 250px;
    max-height: 250px;
    margin-bottom: -5px;
}

.SectionConf.SectionHome .BlockNews .wp-block-post-template.is-flex-container li a {
    text-decoration: none;
}

.SectionConf.SectionHome .BlockNews .wp-block-post-template.is-flex-container li time {
    font-size: 0.8rem;
    font-weight: 500;
    display: block;
}

.SectionConf.SectionHome .BlockNews .wp-block-post-template.is-flex-container li h4 {
    margin: 0 1rem 0 0;
}

.SectionConf.SectionHome .BlockNews .wp-block-latest-posts.is-grid li {
    margin: 0 2rem 2rem 0;
}

.SectionConf.SectionHome .BlockNews .wp-block-latest-posts.columns-3 li {
    width: calc(33.33333% - 2rem);
}

.SectionConf.SectionHome .BlockAltro .wp-block-columns {
    margin-bottom: 0;
}

.SectionConf.SectionHome .BlockAltro .BlockNews.BgGrey {
    background: #fff;
    border: 1px solid #ccc;
    border-top: 4px solid #53D6FF;
}

.SectionConf.SectionHome .BlockAltro .BlockNews .wp-block-post-template {
    margin: 2rem 0 0;
    padding: 0 2rem 2rem 0;
}

.SectionNumbers h5 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.SectionNumbers {
    text-align: center;
    font-size: 2rem;
}

.SectionConf.SectionHome.SectionJobMosaika {
    padding-bottom: 0;
}

.SectionJobMosaika .BgGrey {
    padding: 6rem;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.3em;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.SectionConf.SectionHome.SectionFeatured h2 {
    text-align: center;
}

.SectionConf.SectionHome.SectionFeatured .wp-block-column {
    padding: 20px;
    transition: all 0.35s;
    border: 1px solid #fff;
}

.SectionConf.SectionHome.SectionFeatured .wp-block-column:hover {
    border: 1px solid #004289;
}

.SectionConf.SectionHome.SectionFeatured h4 {
    position: absolute;
    text-align: center;
    margin: 0;
    width: 100%;
    bottom: 0px;
}

.SectionConf.SectionHome.SectionFeatured h4 a {
    text-decoration: none;
}

.SectionConf.SectionHome.SectionFeatured h4 a:hover {
    text-decoration: underline;
}

.SectionConf.SectionHome.SectionFeatured .category-imprese-associate {
    position: relative;
}

.SectionConf.SectionHome.SectionFeatured figure {
    height: 100%;
}

.SectionConf.SectionHome.SectionFeatured figure a {
    display: flex !important;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 20px;
}


/*PAGINA CHI SIAMO*/
.SectionChiSiamo.SectionPresidenti h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.SectionChiSiamo.SectionPresidenti strong,
.SectionStaff.SectionOldDir strong {
    display: block;
}

.SectionChiSiamo.SectionPresidenti .WrapPress,
.SectionStaff.SectionOldDir .WrapPress {
    max-width: 50%;
    background: #fff;
    padding: 20px;
    margin: 0 auto 6rem;
}

.SectionChiSiamo.SectionPresidenti .WrapPress .wp-block-column:last-child,
.SectionStaff.SectionOldDir .WrapPress .wp-block-column:last-child {
    display: flex;
    align-items: center;
}

.SectionChiSiamo.SectionPresidenti .wp-block-media-text,
.SectionStaff.SectionOldDir .wp-block-media-text {
    background: #fff;
}

.SectionChiSiamo.SectionPresidenti p,
.SectionStaff.SectionOldDir p {
    margin: 0;
    font-size: 1rem !important;
}

.SectionChiSiamo.SectionPresidenti p + p,
.SectionStaff.SectionOldDir p + p {
    color: #004289;
    font-size: 12px !important;
    margin-top: 18px;
}

/*ORGANI*/
.WrapMembers {
    background: #fff;
    padding: 20px;
    margin-bottom: 1rem;
}

.WrapMembers .FotoMembers {
    flex-basis: 15% !important;
}

.WrapMembers .FotoMembers figure {
    margin: 0;
}

.WrapMembers .FotoMembers figure img {}

.WrapMembers .InfoMembers {
    flex-basis: 85% !important;
    padding-left: 20px;
}

.WrapMembers .InfoMembers .tab-label {
    display: flex;
    align-items: center;
    min-height: 150px;
}

.SectionStaff .WrapMembers .InfoMembers .tab-label {
    flex-flow: column;
    align-items: flex-start;
    justify-content: center;
}

.SectionStaff .WrapMembers .InfoMembers .tab-label p {
    margin-bottom: 0;
}

.SectionStaff .WrapMembers .InfoMembers .tab-label a {
    text-decoration: none;
}

.InfoMembers h4 {
    font-weight: lighter;
    margin: 0;
}

.InfoMembers h4 strong {
    font-weight: bold;
}

.InfoMembers h4 span {
    display: block;
    font-style: italic;
    font-size: 0.8em;
}

.WrapCollegate h4 {
    font-weight: 500;
    margin-bottom: 1rem;
}

.WrapCollegate a {
    color: #004289;
    display: inline-block;
    font-size: 1rem;
    line-height: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    background: #53d6ff;
    padding: 4px 8px 5px;
    margin-bottom: 0.5px;
    letter-spacing: 0.3px;
    border-radius: 2px;
    margin-right: 8px;
}

.WrapCollegate a:hover {
    color: rgba(0, 66, 137, 0.59);
}

.WrapCollegate span {
    margin-right: 1rem;
    display: inline-flex;
    align-items: center;
    color: #004289;
}

.WrapCollegate span strong {
    margin-left: 0.2rem;
}

.WrapCollegate span img {
    width: 50px;
    height: 50px;
    margin-right: 0.8rem;
}


.WrapCollegate .WrapMembers {
    padding: 0 !important;
}

.WrapCollegate .WrapMembers .FotoMembers {
    flex: 0 0 120px !important;
    margin: 0 !important;
}

.WrapCollegate .WrapMembers .FotoMembers img {
    max-width: 100px;
}

.WrapCollegate .WrapMembers .InfoMembers {
    flex: 0 0 70% !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

.WrapCollegate .WrapMembers .InfoMembers h4 {
    font-weight: lighter !important;
}

.WrapMemebers small {
    color: #004289;
    font-size: 12px !important;
    margin-top: 18px;
}

.ColumnsMember {
    flex-wrap: wrap !important;
    justify-content: flex-start;
    margin-left: -1em;
}

.ColumnMember {
    flex: 0 0 calc(33.333% - 1em) !important;
    margin-left: 1em;
}

.SectionConsiglio .SectionTab,
.SectionOrgani .SectionTab {
    padding-top: 0;
}

.SectionGenerale h3 {
    text-align: center;
    margin-top: 6rem;
}

.SectionGenerale + h3 {
    margin-top: 0;
}

.BgNone {
    background: none !important;
}

/*STORIA*/
.SectionStoria.SectionIntro {}

/*IMPRESE ASSOCIATE*/
.SectionConf.SectionFilter {
    padding: 0 !important;
    background: #004289;
}

.SectionConf.SectionFilter .widget_wpc_filters_widget {
    margin: 0;
    padding: 2rem 0;

}

.SectionConf.SectionFilter .wpc-filter-content select {
    margin: 0;
    background: #fff;
}

.category-job-market .SectionConf.SectionFilter .wpc-filters-widget-wrapper {
    display: flex;
    width: 100%;
}

.SectionConf.SectionFilter .wpc-filters-widget-main-wrapper li.wpc-term-item input[type="checkbox"] {}

.SectionConf.SectionFilter .wpc-filters-section {
    position: relative;
    padding: 0;
    flex-basis: calc(25% - 2rem);
    margin: 0 1rem;
}

.WrapCatImpresa img {
    max-height: 360px;
}

.SectionConf.SectionFilter .wpc-filter-content select {
    background-color: #fff;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yMy4yNDUgNGwtMTEuMjQ1IDE0LjM3NC0xMS4yMTktMTQuMzc0LS43ODEuNjE5IDEyIDE1LjM4MSAxMi0xNS4zOTEtLjc1NS0uNjA5eiIvPjwvc3ZnPg==);
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: auto 50%;
    border-radius: 2px;
    border: none;
    color: #000 !important;
    font-weight: 700;
    padding: 10px 30px 10px 10px;
    outline: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    font-family: 'Noto Sans', sans-serif;
}

.SectionConf.SectionFilter .wpc-filter-content select::-ms-expand {
    display: none;
}

@-moz-document url-prefix() {
    .SectionConf.SectionFilter .wpc-filter-content select {
        color: rgba(0, 0, 0, 0);
        text-shadow: 0 0 0 #ffffff;
    }
}


.SectionConf.SectionFilter ul.wpc-filters-ul-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    overflow: hidden;
    justify-content: space-between;
    max-height: auto;
}

.SectionConf.SectionFilter .wpc-filter-header {
    display: none;
}

.SectionConf.SectionFilter .wpc-edit-filter-set {
    display: none;
}

.SectionConf.SectionFilter .wpc-filters-widget-main-wrapper li.wpc-term-item {
    margin: 0;
}

.SectionConf.SectionFilter .wpc-filters-widget-main-wrapper li.wpc-term-item a {
    color: #fff;
}

.category-imprese-associate .SectionArticles {
    background: #F6F6F6;
}

.post.category-imprese-associate {
    width: 100%;
    height: 100%;
}


.SectionCatImprese-associate .wp-row > .wp-block-column {
    flex: 0 0 calc(33.33% - 2rem) !important;
    margin-left: 2rem;
    margin-bottom: 2rem;
    background: #fff;
    display: flex;
    align-items: center;
}

.SectionCatImprese-associate .wp-row .post {
    height: 100%;
    width: 100%;
    min-height: 350px;
}

@media (min-width: 1400px) {
    .SectionCatImprese-associate .wp-row > .wp-block-column:nth-child(3n+1) {
        margin-left: 0 !important;
    }
}

@media (max-width: 1399.98px) {
    .SectionCatImprese-associate .wp-row > .wp-block-column {
        flex: 0 0 calc(50% - 2rem) !important;
    }

    .SectionCatImprese-associate .wp-row > .wp-block-column:nth-child(2n+1) {
        margin-left: 0 !important;
    }

    .SectionCatImprese-associate .wp-row > .wp-block-column:nth-child(3n+1) {
        margin-left: 2rem;
    }
}

@media (max-width: 900px) {
    .SectionCatImprese-associate .wp-row > .wp-block-column {
        flex: 0 0 100% !important;
        margin-left: 0 !important;
    }
}

.post.category-imprese-associate .WrapCatPost {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 40px;
}

.category-imprese-associate .WrapCatPost h4 {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 0px;
    width: 100%;
    font-size: 1rem;
    font-weight: normal;
}

.wp-row .post.category-imprese-associate figure {
    margin: 0;
}

.wp-row .post.category-imprese-associate figure a {
    display: block;
}

/*MISSION*/
.SectionConf.SectionMission.SectionIntro,
.SectionConf.SectionMission.SectionColonne_2 {
    padding-bottom: 0;
}

.SectionConf.SectionMission.SectionPresenzaEsterni .SectionBig {
    margin-bottom: 6rem;
}

.SectionConf.SectionValoriMission {
    padding: 0 !important;
}

.Chess p {
    font-size: 1.5rem;
    line-height: 1.3em;
    margin: 6rem 0;
}

.Chess h2 + p {
    margin: 0;
}

.SectionConf.SectionMission.SectionPresenzaEsterni .BgGrey {
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

.SectionConf.SectionMission.SectionPresenzaEsterni .BgGrey h4 {
    margin: 0 0 16px;
    text-align: center;
}

.SectionConf.SectionMission.SectionPresenzaEsterni .BgGrey p {
    margin: 0;
    text-align: center;
}

.SectionConf.SectionMission.SectionPresenzaEsterni .BgGrey + .BgGrey {
    margin-top: 1rem;
}

.SectionConf.SectionMission.SectionPresenzaEsterni figure {
    text-align: center;
}

.SectionConf.SectionMission.SectionPresenzaEsterni figure img {
    max-height: 350px;
    width: auto;
}

/*STAFF*/
.SectionConf.SectionStaff h2 {
    text-align: center;
}

.SectionStaff.SectionDir {
    padding-top: 0;
}

/*IMPRESE ASSOCIATE*/
.HeaderImprese {
    position: relative;
}

.HeaderImprese h1 {
    position: absolute;
    background: #fff;
    border: 10px solid #F6F6F6;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px;
    margin: 0 0 -150px !important;
    padding: 20px;
    bottom: 0;
}

.HeaderImprese h1 img {
    width: 100%;
}

.WrapCompany .WrapDettails {
    flex-basis: 25% !important;
    padding-right: 32px;
}

.WrapCompany .WrapInfo h4:first-child,
.WrapCompany .WrapDettails h4:first-child {
    margin-top: 0;
}

.WrapCompany .WrapInfo {
    padding: 0;
    flex-basis: calc(75% - 32px) !important;
}

.WrapCompany .WrapInfo .wp-block-columns {
    flex-wrap: wrap !important;
}

.WrapCompany .WrapInfo .wp-block-columns .wp-block-column {
    flex: 0 0 48%;
    margin: 0 2% 0 0;
}

.WrapCompany .WrapInfo .WrapSocial {
    margin-top: -12px;
}

.WrapCompany .WrapInfo .WrapSocial a {
    display: inline-block;
    padding: 5px;
}

.WrapCompany .WrapInfo .WrapSocial a:hover {
    opacity: 0.8;
}

.WrapCompany .WrapInfo .WrapSocial a img {
    max-width: 26px;
}

.SectionPost.SectionConf.SectionImprese {
    padding-top: 180px;
}

.SectionPost.SectionConf.SectionImprese h4 {
    margin-bottom: 18px;
}

/*ANCE*/
.SectionAnce.SectionCol2 {
    padding-top: 0;
}

/*GIOVANI*/
.SectionGI.SectionConsiglio {
    padding-top: 0;
}

/*PICCOLA*/
.SectionPI.SectionConsiglio {
    padding-top: 0;
}

/*CATEGORIE*/
.wp-row {
    flex-wrap: wrap !important;
    margin-right: -2rem;
    margin-bottom: 0;
}

.wp-block-button-readmore {
    text-align: right;
    margin: 0;
}

.wp-block-button-readmore a {
    display: block;
    text-align: right;
    text-decoration: none;
    color: #004289;
    position: relative;
    padding-right: 20px;
}

.wp-block-button-readmore a:hover {
    text-decoration: underline;
}

.wp-block-button-readmore a:after {
    display: block;
    content: '';
    position: absolute;
    border-color: #004289;
    border-style: solid;
    border-width: 0.1em 0.1em 0 0;
    height: 0.6em;
    width: 0.6em;
    right: 0px;
    top: calc(50% - 0.3em);
    transform: rotate(45deg);
}


/*NEWS*/
.category-job-market .SectionArticles,
.category-news .SectionArticles,
.category-lista-convenzioni .SectionArticles,
.category-press .SectionArticles,
.category-centro-studi .SectionArticles,
.category-comunicati .SectionArticles,
.category-press .SectionArticles,
.category-eventi .SectionArticles {
    background: #F6F6F6;
}

.SectionCatNews .wp-block-group__inner-container,
.SectionCatComunicati .wp-block-group__inner-container,
.SectionCatLista-convenzioni .wp-block-group__inner-container,
.SectionCatEventi .wp-block-group__inner-container {
    width: 100%;
    padding: 0 2rem;
}

.SectionBacheca .wp-row > .wp-block-column {
    flex: 0 0 calc(33.33% - 2rem) !important;
    margin-left: 2rem;
    margin-bottom: 2rem;
    background: #fff;
    display: flex;
    align-items: center;
}

.SectionBacheca .wp-row .post {
    height: 100%;
    width: 100%;
}

@media (min-width: 1400px) {
    .SectionBacheca .wp-row > .wp-block-column:nth-child(3n+1) {
        margin-left: 0 !important;
    }
}

@media (max-width: 1399.98px) {
    .SectionBacheca .wp-row > .wp-block-column {
        flex: 0 0 calc(50% - 2rem) !important;
    }

    .SectionBacheca .wp-row > .wp-block-column:nth-child(2n+1) {
        margin-left: 0 !important;
    }

    .SectionBacheca .wp-row > .wp-block-column:nth-child(3n+1) {
        margin-left: 2rem;
    }
}

@media (max-width: 900px) {
    .SectionBacheca .wp-row > .wp-block-column {
        flex: 0 0 100% !important;
        margin-left: 0 !important;
    }
}

.SectionCatPress .wp-row > .wp-block-column,
.SectionCatCentro-studi .wp-row > .wp-block-column {
    flex: 0 0 100% !important;
    margin-left: 0 !important;
}


.SectionBacheca .WrapItem {
    margin-bottom: 0;
    height: 100%;
    width: 100%;
}

.SectionBacheca .SectionImg {
    flex: 0 0 40% !important;
    background-position: center;
    background-size: cover;
    min-height: 250px;
}

.SectionBacheca .SectionImg figure {
    margin: 0 0 -4px;
}

.SectionBacheca .SectionContent {
    flex: 0 0 60% !important;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    padding: 30px;
}

@media (min-width: 1400px) {

    .SectionBacheca .SectionContent,
    .SectionBacheca .SectionImg {
        flex: 0 0 50% !important;
    }

}

.SectionBacheca .SectionContent h4 a {
    text-decoration: none;
}

.SectionBacheca time {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 10px;
    display: block;
}

.SectionBacheca .WrapContent {
    margin-bottom: 1rem;
}

.SectionBacheca .WrapServizi {}

.WrapServizi span {
    color: #004289;
    display: inline-block;
    font-size: 0.6rem;
    line-height: 0.8rem;
    text-transform: uppercase;
    font-weight: 500;
    background: #53d6ff;
    padding: 3px 6px 2px;
    margin-bottom: 0.5px;
    letter-spacing: 0.3px;
    border-radius: 2px;
    margin-right: 8px;
}

h1 .WrapServizi span {
    font-size: 0.8rem;
    line-height: 1rem;
}

.SectionConf.SectionPost h3,
.SectionConf.SectionPost h4 {
    margin-top: 2em;
    color: #000;
}

blockquote {
    background: url(inc/quote_icon.png) no-repeat top left;
    background-size: 30px;
    background-position: 0 0px;
    margin: 0;
    padding: 0 0 0px 50px;
    font-style: italic;
}

blockquote cite {
    font-size: 0.8em;
}

.IntroP {
    margin-top: 0;
    font-style: italic;
    line-height: 1.3em;
    font-size: 1.5rem;
    letter-spacing: 0.3px;
    margin-bottom: 3rem;
}

.IntroP p {
    margin: 0;
}

/*EVENTI*/
.WrapEvents {
    background: #fff;
}

.WrapEvents h4 {
    font-size: 1rem;
    margin: 0px 0px 20px;
}

.WrapEvents h4 a {
    text-decoration: none;
    color: #000;
}

.WrapEvents h4 a:hover {
    color: #004289
}

.WrapEvents .WrapDettaglio {
    color: #fff;
    background: #004289;
    padding: 20px;
}

.WrapEventi .wp-block-buttons {
    margin-top: 20px;
}

.WrapInfo {
    padding: 20px;
}

.WrapInfo figure {
    margin-top: 0;
}

.WrapDettaglio dl {
    padding: 0;
}

.DetailsEvents span {
    display: block;
}

.DetailsEvents svg {}

.WrapEventi .wp-block-embed__wrapper {
    margin-bottom: 20px;
}

ul.InfoEventi {
    margin: 0;
    padding: 0;
}

ul.InfoEventi li {
    list-style: none;
}

ul.InfoEventi li strong {
    font-size: 0.8em;
}

/*CENTRO STUDI e PRESS*/
.WrapOnline {
    background: #fff;
    padding: 20px;
    margin-bottom: 0;
}

.WrapOnline .SectionTitle {
    flex-basis: calc(75% - 32px) !important;
    display: flex;
    align-items: center;
}

.WrapOnline .SectionTitle h4 {
    margin: 0;
}

.WrapOnline .SectionDownload {
    flex-basis: 25% !important;
}

.WrapOnline .SectionDownload .wp-block-buttons > .wp-block-button {
    margin: 0;
    width: 100%;
}

/*Job Market*/


.SectionCatJob-market .wp-row > .wp-block-column {
    flex: 0 0 calc(50% - 2rem) !important;
    margin-bottom: 2rem;
}

.SectionCatJob-market .wp-row > .wp-block-column:nth-child(2n+1) {
    margin-left: 0 !important;
}

@media (max-width: 900px) {
    .SectionCatJob-market .wp-row > .wp-block-column {
        flex: 0 0 100% !important;
        margin-left: 0 !important;
    }
}

.post.category-job-market {
    height: 100%;
}

.WrapJob {
    height: 100%;
    padding: 20px;
    background: #fff;
}

.WrapJob .wp-block-columns {
    margin: 0;
    height: 100%;
}

.WrapJob h4 {
    margin: 0;
}

.WrapJob h4 small {
    display: block;
    color: #888;
    font-weight: lighter;
    margin-bottom: 10px;
}

.WrapJob h4 a {
    text-decoration: none;
}

.WrapJob h4 a:hover {
    text-decoration: underline;
}

.WrapJob .SectionDettagli {
    display: flex;
    align-items: center;
    justify-items: stretch;
}

.WrapJob .SectionDettagli .wp-block-buttons {
    width: 100%;
}

.WrapJob .SectionDettagli .wp-block-buttons > .wp-block-button {
    margin: 0;
    width: 100%;
}

.category-job-market .wp-row > .wp-block-column {
    flex: 0 0 calc(50% - 1em) !important;
    margin-left: 2rem;
}

/*SERVIZI*/
.SectionCorrelati .wp-block-columns {
    flex-wrap: wrap !important;
}

.SectionCorrelati .wp-block-columns .wp-block-column {
    flex: 0 0 calc(50% - 1em) !important;
    margin-bottom: 2rem;
}

.SectionCorrelati .wp-block-columns .wp-block-column:nth-child(2n+1) {
    margin-left: 0;
}

.SectionCorrelati .wp-block-columns .wp-block-column .wp-block-media-text {
    background: #fff;
}

.SectionCorrelati .wp-block-columns .wp-block-column .wp-block-media-text .wp-block-media-text__content {
    padding: 30px 30px 0 0 !important;
}

.SectionCorrelati .wp-block-columns .wp-block-column .wp-block-media-text .wp-block-media-text__content .wp-block-buttons {
    display: block;
}

.SectionCorrelati .wp-block-columns .wp-block-column h3 {
    margin: 0px;
}

.SectionCorrelati .wp-block-columns .wp-block-column .wp-block-media-text h4 {
    font-size: 1rem;
    margin: 0 0 20px;
}

.SectionCorrelati .wp-block-columns .wp-block-column h3 a {
    color: #004289;
    text-decoration: none;
}

.SectionCorrelati .wp-block-columns .wp-block-column .wp-block-media-text h4 a {
    text-decoration: none;
    color: #000;
}

.SectionCorrelati .wp-block-columns .wp-block-column h3 a:hover,
.SectionCorrelati .wp-block-columns .wp-block-column .wp-block-media-text h4 a:hover {
    color: #004289;
}

.SectionCorrelati .wp-block-columns .wp-block-column.Link {
    background: #fff;
}

.SectionCorrelati .wp-block-columns .wp-block-column.Link .wp-block-columns {
    margin-bottom: 0;
    padding: 20px;
    align-items: center;
}

.SectionCorrelati .wp-block-columns .wp-block-column.Link .wp-block-column {
    margin-bottom: 0;
}

.SectionCorrelati .wp-block-columns .wp-block-column.Link .wp-block-buttons {
    display: flex;
    justify-content: flex-end;
}

.SectionCor h3 {
    text-align: center;
}

.wp-block-table {
    border: 1px solid #ddd;
    padding: 20px;
}

.wp-block-table table th,
.wp-block-table table td {
    padding: 15px;
}

/*ASSOCIATI*/

.SectionForm .wp-block-group__inner-container {
    border: 1px solid #ccc;
    padding: 2rem 2rem 0;
}

.SectionForm .forminator-row-last .forminator-field {
    text-align: right;
}

.SectionForm button.forminator-button {
    border: 1px solid #004289 !important;
}

/*CONTATTI*/
.SectionContact.SectionColonne_3 .wp-block-columns:last-child {
    margin-bottom: 0;
}

.SectionContact.SectionColonne_3 .wp-block-columns:last-child .wp-block-column:last-child {
    background: none;
}

.SectionContact.SectionColonne_3 p {
    margin: 0;
}

.SectionContact.SectionColonne_3 .wp-block-column {
    padding: 20px;
    background: #fff;
}

.SectionContact.SectionColonne_3 .wp-block-column h4 {
    font-weight: 300;
    margin-top: 0.6rem;
}

.SectionContact.SectionColonne_3 .wp-block-column h4 strong {
    font-weight: 500;
}

.SectionConf.SectionRef h4 {
    font-size: 2rem;
    padding: 2rem 0 !important;
}

.SectionConf.SectionRef em {
    font-size: 0.8em;
    font-weight: normal;
    color: #999;
}

/*SERVIZI NEW*/
.parent-pageid-517 .SectionColonne_2,
.parent-pageid-517 .SectionColonne_3 {
    text-align: center;
}

.SectionCorsi .wp-block-column {
    padding: 4rem;
}

.SectionTable .tab-label h3 {
    margin: 0;
}

.SectionTable .tab-label::after {
    right: 15px;
}

/*MODAL SEARCH*/
.searchwp-modal-form.is-open {
    position: fixed;
    display: flex !important;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.searchwp-modal-form-default {
    max-width: 800px;
    width: 100% !important;
}

.searchwp-modal-form-default form.search-form {
    display: flex;
    justify-content: stretch;
}

.searchwp-modal-form-default label {
    flex-basis: 80%;
}

.searchwp-modal-form-default input[type="search"] {
    border: 1px solid #004289;
    border-radius: 0;
    padding: 10px;
    color: #000;
    width: 100%;
}

.searchwp-modal-form-default input[type="submit"] {
    border: 1px solid #004289;
    border-radius: 0px;
    background: #53D6FF;
    color: #004289;
    line-height: 1;
    padding: 10px;
}

.searchwp-modal-form__footer {}

.searchwp-modal-form__footer button {
    border: none !important;
    background: none !important;
    color: #fff;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 22px;
    opacity: 0.5;
}

.searchwp-modal-form__footer button:hover {
    opacity: 1;
}

.searchwp-modal-form__footer button:before,
.searchwp-modal-form__footer button:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #fff;
}

.searchwp-modal-form__footer button:before {
    transform: rotate(45deg);
}

.searchwp-modal-form__footer button:after {
    transform: rotate(-45deg);
}

h1.entry-title time {
    display: block;
    font-size: 0.6em;
    margin-top: 12px;
    line-height: 1em;
}

/*FORM CAND SPONTANEA*/

.BTN_FORM{
	float:right;
}

/*MOBILE*/
@media only screen and (max-width: 768px) {

    /*HEADER*/
    .site-header,
    .site-header.affix {
        display: flex;
        height: 60px;
        box-sizing: border-box;
        background: rgba(0, 66, 137, 0.9);
    }

    .site-header .wp-block-group,
    .site-header .wp-block-columns {
        width: 100%;
    }

    .site-header .wp-block-columns .wp-logo {
        flex-basis: 60% !important;
    }

    .site-header .wp-block-columns .wp-logo svg#Logo {
        height: 40px;

    }

    .site-header .wp-block-columns .wp-menu {
        flex-basis: 40% !important;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .site-header .wp-block-columns .wp-menu .main-navigation {
        width: auto;
    }

    .main-navigation.toggled .btnmenu::before {
        transform: translateY(4px) rotate(135deg);
    }

    .main-navigation.toggled ul#primary-menu {
        background: rgba(0, 66, 137, 0.9);
        padding: 20px;
        position: fixed;
        top: 60px;
        left: 0px;
        width: 100%;
        height: calc(100% - 80px);
        line-height: 2em;
    }

    .main-navigation ul li > ul {
        margin: 0;
        position: static;
        padding: 10px 0 0 20px;
        width: 100%;
    }

    .main-navigation ul li > ul li {
        background: none;
        padding: 0;
    }

    /*FOOTER*/
    .site-footer {
        text-align: center;
        padding: 0px;
    }

    .site-footer .wp-block-columns .wp-block-column {
        flex-basis: 50% !important;
    }

    .site-footer .wp-block-columns .wp-block-column.column-address,
    .site-footer .wp-block-columns .wp-block-column.column-menu {
        flex-basis: 100% !important;
    }

    .site-footer .wp-block-columns .wp-block-column.column-address figure {
        margin: 40px 0;
    }

    .site-footer .wp-block-columns .wp-block-column.column-address figure img {
        max-width: 180px;
    }

    /*GLOBAL*/
    .HiddenMobile {
        display: none;
    }

    .HiddenDesktop {
        display: block;
    }

    ul,
    ol {
        margin: 0 0 10px 0px;
        padding: 0 0 0 20px;
    }

    .SectionFull .wp-block-group__inner-container,
    .wp-block-group__inner-container .wp-block-group__inner-container,
    .SectionFull > .wp-block-group__inner-container,
    .wp-block-group__inner-container,
    h1.entry-title {
        width: 100%;
        padding: 0 20px;
    }

    .wp-block-group__inner-container .wp-block-group__inner-container {
        padding: 0;
    }

    .SectionConf {
        padding: 3rem 0;
    }

    .SectionChiSiamo.SectionPresidenti .WrapPress,
    .SectionStaff.SectionOldDir .WrapPress {
        max-width: 100%;
        padding: 20px;
        margin: 0 auto 6rem;
    }

    .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 50% !important;
    }

    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {
        grid-column: 1;
        grid-row: 1;
    }

    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        grid-column: 2;
        grid-row: 1;
    }

    .wp-row {
        margin: 0;
    }

    .Chess p {
        margin: 3rem 0;
    }

    h1.entry-title {
        text-align: center;
    }

    .SectionDownload h2 {
        font-size: 1.5rem;
    }

    .SectionDownload .wp-block-buttons {
        flex-flow: column;
    }

    .SectionDownload .wp-block-button {
        margin: 0 0 20px;
    }

    .SectionBig {
        font-size: 1rem;
    }

    /*HOME*/

    #rev_slider_6_1_wrapper .hermes.tp-bullets {
        display: none;
    }

    .SectionConf.SectionHome.SectionAbout {
        padding: 3rem 0;
    }

    .SectionConf.SectionHome.SectionAbout h2 {
        font-size: 1.5rem;
    }

    .SectionJobMosaika .BgGrey {
        padding: 3rem 2rem;
    }

    .SectionHome.SectionMission .wp-block-image {
        margin: 0 0 60px;
    }

    .SectionHome.SectionMission .wp-block-image img {
        max-width: 180px;
    }

    .SectionNumbers {
        font-size: 1.4rem;
    }

    .SectionNumbers .wp-block-column {
        margin-bottom: 20px;
    }

    .SectionNumbers h5 {
        font-size: 2.5rem;
        margin: 0 0 20px;
    }

    /*MISSION*/
    .SectionConf.SectionMission.SectionPresenzaEsterni figure img {
        max-height: 180px;
    }

    .SectionConf.SectionMission .Chess .wp-block-column {
        display: flex;
        flex-flow: column;
    }

    .SectionConf.SectionMission .Chess .wp-block-column figure {
        order: -1;
    }

    .SectionConf.SectionMission.SectionAsset img {
        max-width: 180px;
    }

    /*ORGANI*/
    .WrapMembers .InfoMembers {
        padding: 0;
    }

    .InfoMembers h4 {
        margin-top: 20px;
        text-align: center;
        width: 100%;
    }

    .ColumnMember {
        margin: 0;
    }

    .tab-label::after {
        top: 20px;
    }

    .SectionStaff .WrapMembers .InfoMembers .tab-label p {
        text-align: center;
    }

    /*IMPRESE*/
    .category-imprese-associate .WrapCatPost h4 {
        padding: 0 10px;
    }

    .WrapCollegate .WrapMembers {
        padding: 20px;
    }

    .WrapCollegate .WrapMembers .FotoMembers,
    .WrapCollegate .WrapMembers .InfoMembers {
        flex: 0 0 100% !important;
        padding: 0;
        text-align: center;
    }

    .WrapCollegate .WrapMembers .FotoMembers img {
        width: 100%;
        max-width: 100%;
    }

    .WrapCollegate .WrapMembers .InfoMembers h4 {
        width: 100%;
        text-align: center;
    }

    /*SERVIZI*/
    .SectionCTA .WrapMembers .InfoMembers {
        padding: 0;
        text-align: center;
        font-size: 1rem;
    }

    /*PRESS*/
    .WrapOnline .SectionTitle h4 {
        text-align: center;
        margin-bottom: 20px;
        width: 100%;
    }

    /*ASSOCIATI*/
    .SectionAssociati.SectionCTA {
        font-size: 1rem;
    }

    /*JOB MARKET*/
    .category-job-market .SectionConf.SectionFilter .wpc-filters-widget-wrapper {
        flex-flow: column;
    }

    .SectionConf.SectionFilter .wpc-filters-section {
        flex-basis: 100%;
        margin: 0 0 1rem 0;
    }

    .SectionCat.SectionCatJob-market.SectionArticles .wp-row {
        flex-flow: column;
    }

    .WrapJob h4 {
        margin-bottom: 20px;
        width: 100%;
        text-align: center;
    }

    .category-job-market h1 {
        font-size: 1.8rem
    }

    /*MOSAIKA*/
    .SectionMosaika.SectionFasi .wp-block-media-text {
        margin-bottom: 40px;
    }

    .SectionMosaika.SectionFasi.Chess h2 {
        margin-top: 20px;
        font-size: 1.5rem;
    }

    .SectionMosaika.SectionFasi.Chess p {
        font-size: 1.2rem;
        margin: 0;
    }

    .SectionMosaika.SectionFasi .wp-block-media-text.is-stacked-on-mobile {
        grid-template-columns: 100% !important;
    }

    .SectionMosaika.SectionFasi .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        grid-column: 1;
        grid-row: 2;
    }

    /*CONTATTI*/
    .SectionContact.SectionColonne_3 .wp-block-column {
        text-align: center;
        font-size: 1rem;
    }
}
