/* Theme Name: Fondazione per l'architettura / Torino
Author: Flavio N Quercia // flavio@quattrolinee.it
Author URI: www.quattrolinee.it
Version: 10/2016 */

body {
    background: #fff;
    font-family: 'ClanOffc-NarrBook';
    font-weight: 400;
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: #968a81;
}

body b,
body strong {
    font-weight: 500;
}

body i,
body em {
    font-style: italic;
}

body.overflow {
    overflow: hidden;
}


/** stili **/

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
}

h1 {
    color: #009bde;
    font-weight: 400;
}

h2 {
    font-size: 145%;
    font-weight: 900;
    color: #009bde;
}

h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #616161;
    text-transform: uppercase;
    font-size: 100%;
}

h3:after {
    content: "—";
    display: block;
}

h4 {
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 2.5em;
    font-size: 165%;
    color: #009bde;
}

h5 {
    font-size: 100%;
    font-weight: 700;
}

p {
    margin: 0;
    padding: 0;
}

a {
    color: #009bde;
    text-decoration: none;
}

a:hover {
    color: #009bde;
}

a.link_blue {
    color: #009bde;
}

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

.content p a {
    color: #009bde;
}

section .content p a {
    text-decoration: none;
    font-weight: 400;
}

.uppercase{
    text-transform: uppercase;
}

.dark-grey-bg{
    background-color: #e3e3e3;
}

/***
 NAVBAR
 ***/

#navbar {
    background: #eee;
    line-height: 1;
    z-index: 1000;
}

.navbar_1,
.social {
    padding: 1.5em 1.5em 1.5em 2.5em;
}

.social a {
    display: inline-block;
    height: 18px;
}

.social a.linkedin {
    width: 18px;
    background: url(files/ico-linkedin.png) center;
}

.social a.linkedin:hover {
    background: url(files/ico-linkedin_hover.png) center;
}

.social a.facebook {
    width: 9px;
    background: url(files/ico-fb.png) center;
}

.social a.facebook:hover {
    background: url(files/ico-fb_hover.png) center;
}

.social a.twitter {
    width: 20px;
    background: url(files/ico-tw.png) center;
}

.social a.twitter:hover {
    background: url(files/ico-tw_hover.png) center;
}

.social a.youtube {
    width: 24px;
    background: url(files/ico-yt.png) center;
}

.social a.youtube:hover {
    background: url(files/ico-yt_hover.png) center;
}

.social a.pinterest {
    width: 14px;
    background: url(files/ico-pin.png) center;
}

.social a.pinterest:hover {
    background: url(files/ico-pin_hover.png) center;
}

.social a.instagram {
    width: 17px;
    background: url(files/ico-insta.png) center;
    background-repeat: no-repeat;
}

.social a.instagram:hover {
    background: url(files/ico-insta_hover.png) center;
    background-repeat: no-repeat;
}

.social a.newsletter {
    width: 22px;
    height: 22px;
    background: url(files/newsletter.svg) no-repeat center;
    background-position: 0 2px;
}

.social a.newsletter:hover {
    background: url(files/newsletter-hover.svg) no-repeat center;
    background-position: 0 2px;
}

#navbar .navbar_1,
#navbar .navbar_2 {
    background: #eee;
}

#navbar .navbar_2 {
    z-index: 1000;
}

#navbar .logo {
    float: left;
    display: block;
    height: 100px;
    width: 100px;
    background: url(files/logo.svg) no-repeat left;
    background-size: contain;
    margin: 0;
    padding: 0;
}

#navbar .menuIcon {
    display: block;
    width: 36px;
    height: 36px;
    background: url(files/ico-menu.svg) no-repeat center;
}

#navbar .menuIcon.on {
    background: url(files/ico-close.svg) no-repeat center;
}

#navbar ul {
    list-style: none;
    border-top: 2px #fff solid;
}

#navbar li {
    font-weight: 500;
}

#navbar li a {
    color: #616161;
    text-decoration: none;
    text-transform: uppercase;
}

#navbar li a:hover,
#navbar li.current-page-ancestor>a,
#navbar li.current-menu-parent>a,
#navbar li.current-menu-item a,
#navbar li.current-corsi-ancestor a {
    color: #009bde;
}

#navbar li.menu-item-bh a:hover,
#navbar li.menu-item-bh.current-page-ancestor>a,
#navbar li.menu-item-bh.current-menu-parent>a,
#navbar li.menu-item-bh.current-menu-item a,
#navbar li.menu-item-bh.current-corsi-ancestor a,
#navbar li.menu-item-bh .current-page-ancestor>a,
#navbar li.menu-item-bh .current-menu-parent>a,
#navbar li.menu-item-bh .current-menu-item a,
#navbar li.menu-item-bh .current-corsi-ancestor a {
    color: #D8592B; 
}
#navbar li.current-menu-item a

nav>ul>li.current-menu-parent>a {
    border-left: 3px #009bde solid;
}


/* primo livello */

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

ul.menu>li {
    margin: 0;
    padding: 0;
    border-bottom: 2px #fff solid;
}

/* ul.menu>li.external {
    /*background: url(files/ico-arrow-diagonal-right.png) no-repeat center right 2em;
} */

ul.menu>li.external a {
    font-weight: 400;
}

ul.menu>li>a {
    display: inline-block;
    margin: 0;
    padding: 0.7em 2.5em;
    font-weight: 900;
}

ul.sub-menu {
    background: #f5f5f5;
    padding: 2em 4em;
    margin: 0;
    line-height: 1.8;
    border-top: 2px #fff solid;
    /*display:none;*/
}

li:not(.current-menu-parent)>ul.sub-menu {
    display: none;
}

ul.sub-menu li {
    font-size: 70%;
}

#navbar .social a {
    margin-right: 12px;
    text-decoration: none;
}

form {
    margin: 0;
    display: flex;
    flex-flow: row nowrap;
    border-bottom: 2px #fff solid;
    cursor: pointer;
    padding: 0.7em 2.5em;
}

form.on {
    background: #f5f5f5;
}

form>div {
    background: url(files/search.png) no-repeat left;
}

form>div>div {
    height: 24px;
    line-height: 24px;
    display: flex;
    flex-flow: row nowrap;
    position: relative;
    margin-left: 34px;
}

form input[type="text"] {
    display: inline;
    background: none;
    border: none;
    font-size: 14px;
    color: #616161;
    border-bottom: 1px #eee solid;
}

form input[type="submit"] {
    display: block;
    height: 24px;
    width: 24px;
    border: none;
    background: url(files/ico-grey-right.svg) no-repeat center;
    background-size: 24px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background: url(files/ico-blue-right.svg) no-repeat center;
    background-size: 32px;
    transition: all 0.2s linear;
}

form input:focus {
    border-bottom: 1px #616161 solid;
}

form span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #eee;
}

form.on span {
    left: 100%;
    background: #f5f5f5;
    transition: background 0s, left ease-in-out 0.15s;
}


/***
 CONTAINER
 ***/


/*.page-template-page-agenda .container {
    background: #daeaf8;
}*/


/***
 ARTICLE 
 ***/

.entry-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: start;
    /* justify-content: space-between; */
}

.entry-list article {
    margin-bottom: 2.9em;
    padding: 0 1em;
}


/* Post format: Status (Twitter) */

article.format-status {
    /*padding-top: calc(1.25em + 16px);  */
    position: relative;
    color: #009bde;
}

article.format-status img {
    margin-bottom: 0.8em;
}

article.format-status>a {
    color: #009bde;
    text-decoration: none;
    font-size: 150%;
    font-weight: 400;
}


/*article.format-status > a strong {
    color: #968a81;
}*/

article .wp-caption {
    max-width: 600px;
}

article .wp-caption img {
    width: 100%;
    margin-bottom: 5px;
}

article .wp-caption-text {
    font-family: 'Roboto', sans-serif;
    font-size: 80%;
}

a.read-more,
input.more {
    color: #009bde;
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}

a.read-more {
    background: url(files/ico-blue-right-more.svg) no-repeat right center;
    background-size: 12px 12px;
    padding-right: 2em;
    text-transform: lowercase;
    letter-spacing: 0.06em;
    font-size: 70% !important;
    margin-top: 1.5em;
}

.home a.read-more {
    text-transform: uppercase;
    background: url(files/ico-blue-right.svg) no-repeat right center;
    letter-spacing: 0.2em;
}

input.more {
    text-transform: uppercase;
    border: 1px #009bde solid;
    padding: 1em 5em 1em 2em;
    border-radius: 2em;
    cursor: pointer;
    letter-spacing: 0.2em;
    background: url(files/ico-blue-right.svg) no-repeat right 2em center;
    background-size: 2em;
    font-size: 60%;
}

a.more:hover,
input.more:hover {
    background: #009bde url(files/ico-white-right.svg) no-repeat right 1em center;
    background-size: 2em;
    color: #fff;
    transition: background 0.25s linear;
}

a.more {
    text-transform: uppercase;
    border: 1px #009bde solid;
    color: #fff;
    padding: 1em 5em 0.7em 2em;
    border-radius: 2em;
    cursor: pointer;
    letter-spacing: 0.2em;
    background: #009bde url(files/ico-white-right.svg) no-repeat right 2em center;
    background-size: 2em;
    font-size: 75%;
    font-weight: 700;
}

a.more:hover {
    background: #fff url(files/ico-blue-right.svg) no-repeat right 1em center;
    color: #009bde;
    background-size: 2em;
}

input.more {
    background: url(files/ico-blue-bottom.svg) no-repeat right 2em center;
    background-size: 2em;
}

input.more:hover {
    background: #009bde url(files/ico-white-bottom.svg) no-repeat right 1em center;
    background-size: 2em;
}

div.pix-wrapper {
    margin-top: 0 !important;
}


/*** 
 ENTRY 
 ***/

.codice-corso{
    color: #009bde;
}
.entry-title,
.entry-title a {
    color: #009bde;
    font-weight: 900;
    text-decoration: none;
    margin-bottom: 0.8em;
    /*font-size:100%;*/
}
.course-title{
    margin-bottom: 0.5em;
    margin-right: 1em;
}
.course-tags{
    margin-top: 0.5em;
}
.course-tags .single-tag{
    position: relative;
    text-transform: uppercase;
    font-size: 0.8em;
}
.course-tags .single-tag::after{
    position: relative;
    content: ', ';
    right: 0;
}
.course-tags .single-tag:last-child::after{
    content: '';
}

.entry-title:before {
    content: "—";
    display: block;
}

.oef-org-label {
    display: inline-block;
    width: max-content;
    color: #009bde;
    font-size: 0.7em;
    font-weight: 300;
    border: 1px solid #009bde;
    padding: 7px 10px 5px 10px;
    margin-right: 0.5em;
    margin-bottom: 1em;
}

.format-status .entry-title:before {
    font-size: 145%;
}

.entry-thumbnail {
    width: 100%;
    height: auto;
    margin-bottom: 1em;
    background: #f5f5f5;
}

.entry-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
}

.entry-date {
    font-weight: 900;
    margin: 0;
}

.tagline {
    color: #009bde;
    font-size: 185%;
    font-weight: 400;
    margin-bottom: 2.9em;
}


/*** 
 SECTIONS
 ***/

section {
    font-weight: 400;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

section strong,
section b {
    font-weight: 500;
}

section h2 {
    margin-right: 2.5em;
    margin-bottom: 1em;
    font-size: 125%;
}

section h2:after {
    content: "—";
    display: block;
}

body:not(.page-template-default) section h2 {
    text-transform: uppercase;
}

section p,
section ul,
section ol {
    font-size: 85%;
    margin-bottom: 1em;
}

section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

section ul li {
    margin: 0 0 1em 0;
    padding: 0 0 0 2em;
    position: relative;
}

section ul li:before {
    content: ">";
    position: absolute;
    left: 0;
}

section ul li a {
    color: #009bde;
}

section ol {
    list-style-position: inside;
    margin: 0;
    padding: 0;
}

section ol li {
    margin: 0;
    padding: 0;
}

section.blocco_azzurro,
section.blocco_bianco,
section.youtube {
    padding: 2.9em 2.5em;
}

section a.link,
section a.download {
    color: #009bde;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}

section a.download {
    text-transform: uppercase;
    border: 1px #009bde solid;
    padding: 1em 5em 1em 2em;
    border-radius: 2em;
    cursor: pointer;
    letter-spacing: 0.2em;
    background: url(files/ico-blue-right.svg) no-repeat right 2em center;
    background-size: 2em;
    font-size: 50%;
}

section a.download:hover {
    color: #fff;
    background: #009bde url(files/ico-white-right.svg) no-repeat right 1em center;
    background-size: 2em;
    transition: background 0.25s linear;
}

section a.link {
    font-size: 1.25em;
}


/* blocco azzurro */

section.blocco_azzurro {
    background: #ecf4fb;
    color: #616161;
}

section.blocco_azzurro.col_1 h2 {
    width: 15%;
}

section.blocco_azzurro.col_1 div {
    width: 85%;
}


/* blocco bianco 2 col*/

section.blocco_bianco.col_2 p {
    margin-bottom: 1em;
    /*padding-left:2em;*/
}


/* blocco bianco 4 col*/

section.blocco_bianco.col_4 {
    font-family: 'Roboto', sans-serif;
}

section.blocco_bianco.col_4>div {
    font-size: 90%;
}

section.blocco_bianco.col_4>div,
section.blocco_bianco.col_4>div>div {
    margin-bottom: 1em;
}


/* slideshow */

section.slideshow {
    max-width: 100%;
    background: #fff;
}

section.slideshow .slides {
    margin: 2.9em 0;
    width: 100%;
}

section.slideshow .slides img {
    display: block;
    height: 100%;
    width: auto;
    margin: 0 auto;
}


/* youtube */

section.youtube {
    background: #fafafa;
    padding-bottom: 2.9em;
}

section.youtube iframe {
    width: 100%;
    max-width: 640px;
    height: auto;
    min-height: 360px;
}


/*** 
 SINGLE
 ***/

.single-back {
    padding: 3.3em 2.5em;
}

.single-back a {
    display: block;
    width: 24px;
    height: 24px;
    text-decoration: none;
    border-radius: 50%;
    border: 1px #968a81 solid;
    color: #968a81;
    text-align: center;
    background: url(files/ico-grey-left.svg) no-repeat center;
}

.single-back a:hover {
    background: url(files/ico-blue-left.svg) no-repeat center;
    border-color: #009bde;
}

.single-back a.clicked {
    background: url(files/loading-spin.gif) no-repeat center;
}

.post_date {
    padding: 0 2.5em;
    font-family: 'Roboto', sans-serif;
    color: #009bde;
}

.post_date span {
    font-size: 75%;
    position: relative;
}

.post_date span:before {
    content: "";
    width: 75px;
    height: 1px;
    position: absolute;
    top: -12px;
    left: 0;
    background: #009bde;
}

.single-header {
    padding: 3.3em 2.5em 1.7em 2.5em;
}

.single-header h1 {
    text-transform: uppercase;
    margin-bottom: 0.8em;
    font-weight: 700;
    font-size: 200%;
    position: relative;
    display: inline-block;
    margin-right: 2.5em;
}

.single-content {
    padding: 2.9em 2.5em;
}

.single-content a {
    color: #009bde;
    text-decoration: none;
}


.single-thumbnail {
    display: flex;
    justify-content: center;
    margin-top: 35px;
    margin-bottom: 70px;
}
.single-thumbnail img {
    width: auto;
    height: 700px;
    margin: 0 auto;
    max-width: 100%;
    object-fit: cover;
}



.course-content{
    margin-right: 5em;
    margin-bottom: 2.5em;
}

.single-pagination {
    padding: 0.75em 2.5em;
    line-height: 1.5;
    background: #f5f5f5;
    margin-bottom: 1px;
}

.single-pagination span {
    display: inline-block;
    font-size: 80%;
    font: 'Roboto', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.single-pagination>div {
    padding: 0.75em 0;
    font-size: 90%;
}

.single-pagination .prev span {
    background: url(files/ico-grey-left-more.svg) no-repeat left top;
    background-size: 12px 12px;
    padding-left: 2em;
}

.single-pagination .next span {
    background: url(files/ico-grey-right-more.svg) no-repeat right top;
    padding-right: 2em;
    background-size: 12px;
}

#iscrizione {
    margin-bottom: 4.7em;
    /* margin-bottom: 0; */
}

a.iscrizione {
    font-family: 'Roboto', sans-serif;
    display: inline-block;
    font-size: 13px;
    padding: 15px 100px 15px 25px;
    letter-spacing: 0.1em;
    color: #009bde;
    border: 1px #009bde solid;
    border-radius: 45px;
    text-decoration: none;
    text-transform: uppercase;
    background: url(files/ico-blue-right.svg) no-repeat center right 25px;
    background-size: 2em;
    margin: 0 2em 2em 0;
}

a.iscrizione:hover {
    background: #009bde url(files/ico-white-right.svg) no-repeat center right 1em;
    background-size: 2em;
    transition: background 0.2s linear;
    color: #fff;
}

/* Sezione Obiettivi sostenibilità */
#obiettivi {
    display: flex;
    justify-content: start;
    margin-top: 3.7em;
    margin-bottom: 1em;
}
#obiettivi .section-label{
    color: #009bde;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 1em;
}
#obiettivi img.sdg-icon{
    height: 100%;
    max-height: 4em;
    width: auto;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 1em;
}

@media (max-width: 991px){
    #obiettivi {
        display: block;
    }
    #obiettivi .section-label{
        margin-bottom: 0.5em;
    }
}

.dettagli_corso {
    color: #009bde;
    font-weight: 900;
}
.dettagli_corso .side-tags{
    font-weight: 300;
    font-size: 100%;
    margin-top: 1.3em;
    padding-top: 1.5em;
    border-top: 1px solid #968a8182;
}

.dettagli_corso .side-tags .single-tag{
    text-transform: uppercase;
}

.dettagli_corso h4 {
    font-weight: 300;
    margin-bottom: 0;
    font-size: 100%;
}
.dettagli_corso .oef-org-label{
    display: inline-block;
    min-width: 16em;
    text-align: center;
}

/*** 
 ARCHIVE
 ***/

.archive-header {
    background: #dceaf8;
    color: #009bde;
    padding: 3.3em 2.5em 1.7em 2.5em;
    text-transform: uppercase;
}

.archive-header div {
    margin-bottom: 0.8em;
    font-weight: 700;
    font-size: 200%;
    position: relative;
    display: inline-block;
}

.archive-header div:before {
    content: "";
    width: 50%;
    height: 1px;
    position: absolute;
    top: -0.7em;
    left: 0;
    background: #009bde;
}

.archive-header h1:before {
    content: "/ "
}

.archive-content,
.tagline-content {
    padding: 2.9em 2.5em;
}

.archive-content:nth-child(odd) {
    background: #fafafa;
}

.tagline-content .tagline {
    margin: 0;
}

.archive-content h3 {
    font-family: 'ClanOffc-NarrBook';
    color: #616161;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 100%;
    font-weight: 900;
    margin-bottom: 2em;
}

.archive-content h3:before {
    content: "▼";
    margin-right: 0.2em;
}

.archive-content h3:after {
    display: none;
}


/*** 
 PAGE
 ***/

.page-header {
    position: relative;
    /*overflow: hidden;*/
    padding: 3.3em 2.5em 0 2.5em;
    /*margin-bottom:100%;*/
}

.page-header>div {
    margin-bottom: 0.8em;
    font-weight: 400;
    font-size: 200%;
    color: #009bde;
    position: relative;
    z-index: 10;
}

.page-template-default .page-header {
    padding: 3.3em 2.5em 1.7em 2.5em;
    background: #daeaf8;
}

.page-header h1 {
    margin-bottom: 0.8em;
    font-weight: 900;
    font-size: 390%;
    position: relative;
    /*display: inline-block;*/
    z-index: 10;
}

.page-template-default .page-header h1 {
    font-size: 200%;
}

.page-header h1:before {
    content: "";
    width: 33%;
    height: 1px;
    position: absolute;
    top: -0.3em;
    left: 0;
    background: #009bde;
}

.page-header .thumb {
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-header .thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-content {
    padding: 2.9em 2.5em;
}


/* contenuto della pagina */

.page-content .content,
.single-content .content {
    font-weight: 400;
}

.page-content .content p,
.single-content .content p {
    margin: 0 0 1em 0;
}

.single-content p.sponsor {
    font-family: 'Roboto', sans-serif;
    color: #009bde;
    font-size: 75%;
}

.single-content p.sponsor span {
    display: inline-block;
    padding-top: 0.5em;
    margin-bottom: 1em;
    border-top: 1px #009bde solid;
}

.single-content p.sponsor a {
    margin: 0 10px 10px 0;
}

.single-content p.sponsor a img {
    height: 25px;
    width: auto;
}

.page-content .content ul {
    list-style: none;
    margin: 0 0 2em 1em;
    padding: 0;
}

.page-content .content ul li {
    margin: 0 0 0.5em 0;
    position: relative;
}

.page-content .content ul li:before {
    content: ">";
    position: absolute;
    left: -1.2em;
}

.page-content .tagline {
    font-size: 125%;
}

page-content .content p:last-of-type {
    margin-bottom: 0;
}


/* contenuto governance */

.governance-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.governance-list>div {
    margin-bottom: 2em;
}

.governance-list>div:first-child {
    margin-right: 5em;
}

.governance-list>div:last-of-type span {
    font-size: 80%;
    display: block;
    margin-top: 0.8em;
}

.share {
    font-family: 'Roboto', sans-serif;
    color: #009bde;
    height: 24px;
    line-height: 24px;
    margin-top: 72px;
}

.share span {
    font-size: 16px;
    padding-top: 17px;
    border-top: 1px #009bde solid;
    text-transform: uppercase;
}

.share a {
    margin-left: 1em;
    display: inline-block;
    height: 18px;
    width: 18px;
    position: relative;
}

.share a:hover:after {
    content: "";
    display: block;
    position: absolute;
    top: -15px;
    width: 18px;
    height: 1px;
    background: #009bde;
}

.share a.ln {
    background: url(files/ico-social-linkedin.png) no-repeat;
    background-size: cover;
}

.share a.fb {
    background: url(files/ico-social-facebook.png) no-repeat;
    background-size: cover;
}

.share a.tw {
    background: url(files/ico-social-twitter.png) no-repeat;
    background-size: cover;
}

.share a.ig {
    background: url(files/ico-social-instagram.png) no-repeat;
    background-size: cover;
}

.share a.gg {
    background: url(files/ico-social-google.png) no-repeat;
    background-size: cover;
}


/* HOMEPAGE */

.home main {
    background: #eeeeee;
    color: #7d7168;
}

.home .news {
    line-height: 1.5;
}

.news_pinnato,
.news_latest>div,
.featured_element {
    padding: 1em;
}
.featured_element:first-child h2{
    margin-top: 1em !important;
}
.featured_element:not(:last-child){
    border-bottom:1px #fff solid;
}

.home .news a.goto {
    font-size: 80%;
}

.home .agenda {
    padding: 1em;
}

.home .category {
    font-size: 70%;
    text-transform: uppercase;
}

.agenda .category {
    color: #009bde;
    font-family: 'Roboto', sans-serif;
}

.home .category a,
.home h2 a {
    color: #009bde;
    text-decoration: none;
}

.home .category a {
    text-transform: uppercase;
}

.home h2 {
    margin: 0.5em 0 0.25em 0;
}

.home a.goto {
    display: inline-block;
    margin-top: 1em;
    border-bottom: 1px #fff solid;
    text-decoration: none;
    color: #424242;
    padding-bottom: 0.5em;
}

.language-block{
    display: none;
    width: auto;
    padding: 0 1.5em 1.5em 2.5em;
}

.language-switcher{
    display: flex;
    flex-flow: row;
}

.language-switcher a,
.language-switcher p{
    width: 10%;
}

.language-switcher p{
    color: #000;
}

.language-switcher a p{
    width: 100%;
    color: #968a81;
}

/***
 AGENDA 
 ***/


/*body.page-id-545 {
    background: #daeaf8;
}*/

.agenda {
    clear: both;
}

.agenda ul {
    list-style: none;
}

.agenda a {
    text-decoration: none;
}

.agenda a.ical {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    background: url(files/ico-ical.svg) no-repeat left center;
    background-size: 16px 16px;
    padding-left: 21px;
    margin: 0.5em 0;
}

.agenda a.ical:hover {
    background: url(files/ico-ical_hover.svg) no-repeat left center;
    background-size: 16px 16px;
}


/* agenda settimana */

body:not(.home) .settimana .calendario,
body:not(.home) .settimana .appuntamenti {
    font-size: 70%;
}

.settimana h2 {
    text-transform: capitalize;
    margin-bottom: 15px;
}

.settimana h2:not(.active),
.settimana .appuntamenti ul:not(.active) {
    display: none;
}


/* agenda mese */

.agenda.mese h2 a {
    border: none;
}

.agenda.mese h4 {
    margin-bottom: 0.5em;
}


/* CALENDARIO */

.calendario {
    font-family: 'Roboto', sans-serif;
}

.calendario .content>div:not(.current) {
    display: none;
}

.calendario ul {
    list-style: none;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-content: flex-start;
    /*justify-content: center;
    align-items:flex-start*/
    margin: 1em 0;
    padding: 0;
}

.calendario li {
    /*    display: inline-block;*/
    width: 14%;
    padding: 0 10px;
    margin: 0;
    box-sizing: border-box;
    height: 30px;
    line-height: 30px;
    text-align: center;
}

.calendario li a {
    display: block;
    width: 30px;
    min-height: 30px;
    border-radius: 50%;
    margin: 0 auto;
    cursor: pointer;
}

.calendario li.active a {
    background: #fff;
    border-radius: 50%;
}

.calendario li.past {
    color: #fff;
}

.calendario li.event {
    display: flex;
    justify-content: space-around;
}

.calendario li.today span,
.calendario li.today a {
    display: block;
    border: 1px #fff solid;
    border-radius: 50%;
    width: 30px;
    min-height: 30px;
    margin: 0 auto;
}

.calendario li.event {
    position: relative;
}

.calendario li.event:after {
    content: " ";
    display: block;
    width: 4px;
    height: 4px;
    background: #009bde;
    position: absolute;
    left: 50%;
    top: -7px;
    margin-left: -2px;
    border-radius: 50%;
}


/* CALENDARIO mese */

.mese .calendario {
    padding: 2.9em 2.5em;
    background: #daeaf8;
}

.mese .calendario .content {
    max-width: 640px;
}

.mese .month {
    padding-bottom: 1em;
    border-bottom: 1px #fff solid;
    text-transform: uppercase;
}

.mese .month div:nth-of-type(1) {
    float: left;
}

.mese .month div:nth-of-type(2) {
    float: right;
}

.mese .month div a {
    border: none;
    margin-left: 15px;
    cursor: pointer;
}


/* CALENDARIO settimana */

.settimana .calendario {
    margin: 1.5em 0;
}


/* APPUNTAMENTI */

.appuntamenti {
    position: relative;
}

.appuntamenti ul,
.appuntamenti li {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* CALENDARIO settimana */

.settimana .appuntamenti li {
    margin-bottom: 1.5em;
}

.settimana .time {
    color: #009bde;
}

.settimana strong {
    display: inline-block;
    font-weight: 500;
}

.settimana .appuntamenti li {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
}

.settimana .appuntamenti span:first-child {
    margin-right: 2em;
}

.settimana p {
    margin: 0;
    padding: 0;
}


/* CALENDARIO mese */

.mese .appuntamenti {
    padding: 2.9em 2.5em;
    /*max-width:640px;*/
}

.mese .appuntamenti .time {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.mese .appuntamenti h2 {
    color: #009bde;
    font-weight: 900;
    text-decoration-line: none;
    text-decoration-style: solid;
    margin-bottom: 0.8em;
    font-size: 100%;
}

.mese .appuntamenti h2:after {
    content: "—";
    display: block;
}

.mese .appuntamenti article {
    margin-bottom: 2em;
}


/*** 
 FOOTER
 ***/

footer {
    font-family: 'Roboto', sans-serif;
    padding: 2.9em 2.5em;
}

.home footer {
    padding: 1.8em 1em 1.8em 1em;
}

footer div {
    font-size: 70%;
}

body:not(.home) footer {
    background: #f0f8ff;
}

footer div img {
    margin: .5rem 1rem 0 0;
}

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

.pre-footer img {
    display: block;
    width: 100%;
    height: auto;
}
.pre-footer .banner-mobile {
    display: block;
}
.pre-footer .banner-desktop {
    display: none;
}



/***  SLIDESHOW  ***/


/* slideshow */

.slideshow {
    position: relative;
}

.slides .caption {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-flow: column;
    justify-content: center;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    padding: 0 86px;
    width: 50%;
}

.caption span {
    display: block;
}

.caption span.c_occhiello {
    font-family: 'Roboto', sans-serif;
    font-size: 85%;
    margin-bottom: 10px;
}

.caption span.c_title {
    font-weight: 700;
    font-size: 300%;
    position: relative;
}

.caption span.c_title:before {
    content: "";
    display: block;
    height: 1px;
    width: 2em;
    position: absolute;
    background: #fff;
    top: -0.5em;
    left: 0;
}

.slides .photo_credit {
    color: #009bde;
    font-family: 'Roboto', sans-serif;
    /*font-weight: 400;*/
    padding: 0.5em;
    text-align: center;
}

.slideshow a.navigation {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    position: absolute;
    top: 50%;
    color: #000;
    border: 1px #009bde solid;
    /*margin-top: -12px;*/
    z-index: 10;
    border-radius: 50%;
    cursor: pointer;
    background-color: #009bde;
}

.slideshow a.navigation.prev {
    left: 2.5em;
    background: url(files/ico-blue-left.svg) no-repeat center;
}

.slideshow a.navigation.next {
    right: 2.5em;
    background: url(files/ico-blue-right.svg) no-repeat center;
}


/* slideshow homepage */

.home .slideshow {
    background: #000;
}

.home .slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    vertical-align: middle;
}

.home .slideshow a.navigation {
    border-color: #fff;
    margin-top: -12px;
}

.home .slideshow a.navigation.prev {
    background: url(files/ico-white-left.svg) no-repeat center;
}

.home .slideshow a.navigation.next {
    background: url(files/ico-white-right.svg) no-repeat center;
}


/*** taonews **/

.page-id-7108 h1 {
    text-transform: capitalize;
}

.display_archive {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

.campaign {
    margin-bottom: 2.9em;
    font-family: 'Roboto', sans-serif;
    width: 100%;
}

.campaign a {
    display: block;
    color: #009bde;
    font-weight: 900;
    text-decoration: none;
    font-size: 145%;
    font-family: 'ClanOffc-NarrBook';
}

.campaign img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1rem;
}

a.tooltip {
    position: relative;
}

a.tooltip span {
    display: none;
}

a.tooltip:hover span {
    display: inline;
    position: absolute;
    top: -1rem;
    transform: translateY(-100%);
    border: 2px solid #FFF;
}

.archive-y a.collapse {
    display: block;
    font-weight: 700;
    cursor: pointer;
}

.archive-y a.collapse span {
    font-weight: 400;
}

.page-template-tpl-taonews .archive-content {
    padding: 2.9em 1em 0;
}

.archive-y {
    background: #fafafa;
    padding: 2em 1em;
    margin-bottom: 1px;
}

.archive-y a.collapse:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('files/plus.svg') no-repeat center;
    background-size: contain;
    position: absolute;
    right: 1em;
}

.archive-y a.collapsed:after {
    background: url('files/minus.svg') no-repeat center;
    background-size: contain;
}

.archive-y .display_archive {
    display: none;
    line-height: 1.5;
    margin-top: 1em;
}

.archive-y .campaign {
    width: 100%;
    margin-bottom: .5em;
}

.archive-y .campaign a {
    font-size: 100%;
    color: #968a81;
    display: inline;
    margin-right: 1rem;
}

.archive-y .campaign a:hover {
    color: #009bde;
}

.archive-y .campaign a br {
    display: none;
}


/* */

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: inline-block;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

 .accordions .accordion{
    width: 100%;
}

.accordion b {
    display: block;
    font-size: 100%;
    font-weight: 500;
    padding-bottom: 7px;
    border-bottom: 1px #009bde solid;
    color:#009bde;
    position: relative;
    cursor: pointer;
    margin-bottom: 25px;
}
.accordion b:after{
     content: none
    } 

.accordion b span.open,
.accordion b span.close {
    width: 16px;
    height: 16px;
    position: absolute;
    right: 0;
    bottom: 9px;
}

.accordion b span.open {
    background: url("files/ico-arrow-down.png") no-repeat right bottom;
}

.accordion b span.close {
    background: url("files/ico-arrow-top.png") no-repeat right bottom;
    display: none;
}
.accordion .content {
    display: inline;
}

.accordion>div {
    display: none;
}

/* FILTRI FORMAZIONE */
#filter-container{
    opacity: 1;
    height: auto;
}
#filter-container.closed{
    display: none;
    opacity: 0;
    height: 0;
}

/* #filter-container form {
    margin: 0;
    display: flex;
    flex-flow: column nowrap;
    border-bottom: none;
    padding: 0.7em 2.5em;
} */

#filter-container form>div>div {
    all: initial;
}

/* #filter-container form.on {
    background: #f5f5f5;
}

#filter-container form>div {
    background: none;
} */
/* #filter-container form input[type="text"] {
    display: inline;
    background: none;
    border: none;
    font-size: 14px;
    color: #616161;
    border-bottom: 1px #eee solid;
} */

/* #filter-container form input[type="submit"] {
    display: block;
    height: 24px;
    width: 24px;
    border: none;
    background: none;
    background-size: 24px;
    cursor: pointer;
    background-color: red;
}

#filter-container form input[type="submit"]:hover {
    background: none;
    background-size: 32px;
    transition: all 0.2s linear;
}

#filter-container form input:focus {
    border-bottom: 1px #616161 solid;
} */

/* #filter-container form span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #eee;
}

#filter-container form.on span {
    left: 100%;
    background: #f5f5f5;
} */

.hidden {
    position: absolute;
    visibility: hidden;
    opacity: 0;
}

#filter-container .filter-title{
    font-size: 14px;
    clear: both;
    white-space: nowrap;
    padding-right: 2em;
}

#filter-container input[type=checkbox]+label,
#filter-container input[type=radio]+label {
    display: inline-block;
    text-transform: uppercase;
    border: 1px solid #968a81;
    color: #968a81;
    padding: 0.35em 1em 0.2em 1em;
    border-radius: 2em;
    cursor: pointer;
    background: #fff;
    font-family: 'ClanOffc-NarrBook';
    font-weight: 400;
    font-size: 0.8em;
    /* margin-left: 0.5em; */
    margin-right: 0.5em;
    margin-bottom: 10px;
}

#filter-container input[type=checkbox]:checked+label,
#filter-container input[type=radio]:checked+label {
    background: #009bde;
    border: 1px solid #009bde;
    color: #fff;
    background-size: 2em;
}

/* .filter-row{
    min-height: 2.5em;
} */
#filters-table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: calc(100% - 8px);
    margin-bottom: 1em;
    cursor: default;
}
#filters-table tr td{
    width: auto;
    height: auto;
}
#filters-table td{
    border-bottom: 1px solid #dddddd;
    text-align: left;
    padding-top: 1em;
    padding-bottom: 1em;
}

.section-title.filter{
    position: relative;
    background-color: #dceaf8;
    color: #009bde;
    border: 1px solid #dceaf8;
    padding: 0.8em 2em;
    border-radius: 2em;
    margin: 0.7em 2.5em;
    cursor: pointer;
    font-weight: 500;
    transition: all .2s ease-in-out;
}
.section-title.filter:after{
    content: "";
    position: absolute;
    right: 2em;
    bottom: 0.85em;
    width: 1.2em;
    height: 1.2em;
    background: url(files/ico-white-right.svg) no-repeat center;
    filter: invert(63%) sepia(77%) saturate(6011%) hue-rotate(171deg) brightness(99%) contrast(102%);
    transform: rotate(90deg);
    transition: all .2s ease-in-out;
}
.section-title.closed:after{
    background: url(files/ico-white-right.svg) no-repeat center;
    transform: rotate(-90deg);
}
.section-title.filter:hover{
    border: 1px solid #009bde;
    box-shadow: 0px 2px 8px 2px rgb(0 0 0 / 10%);   
}

#show-response{
    margin: 3em 2.5em;
}
#show-response .entry-title:before{
    display: none !important;
}

.content-loader{
    margin: 3em 2.5em;
}

/* Loader spinner */
.half-circle-spinner, .half-circle-spinner * {
    box-sizing: border-box;
  }

  .half-circle-spinner {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    position: relative;
  }

  .half-circle-spinner .circle {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: calc(40px / 10) solid transparent;
  }

  .half-circle-spinner .circle.circle-1 {
    border-top-color: #009bde;
    animation: half-circle-spinner-animation 1s infinite;
  }

  .half-circle-spinner .circle.circle-2 {
    border-bottom-color: #009bde;
    animation: half-circle-spinner-animation 1s infinite alternate;
  }

  @keyframes half-circle-spinner-animation {
    0% {
      transform: rotate(0deg);

    }
    100%{
      transform: rotate(360deg);
    }
}

#reset-filters{
    cursor: pointer;
    text-decoration: underline;
}

.fruition .fruit-tag{
    position: relative;
}
.fruition .fruit-tag::after{
    position: relative;
    content: ', ';
    right: 0;
}
.fruition .fruit-tag:last-child::after{
    content: '';
}

.entry-excerpt .divisor:last-child{
    display: none;
}