/*
Theme Name:   Fondazione Agnelli
Description:  Fondazione Agnelli Child Theme
Author:       TODO
Author URI:   https://todo.to.it
Template:     salient
Version:      1.1.0
*/

:focus{
  outline: 2px solid #002f6c!important;
}

.row-dark :focus,
#slide-out-widget-area :focus, 
.activity-header .wpb_wrapper p.p1 a:focus,
.CybotCookiebotDialogBodyButton:focus  {
  outline: 2px solid #ffffff!important;
}

#skip-to-content {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10000;
  transform: translate(-50%, -100%);
  padding: 0.75rem;
  font-size: 1.4rem;
  background-color:#002f6c; 
  color: #fff;
  transition: transform .5s;
}

#skip-to-content:focus {
  transform: translate(-50%, 0);
}

header#top .sf-menu li ul li a,
header#top .sf-menu li ul li.sfHover > a {
  background-color: #fff !important;
  color: #002f6c !important;
}

header#top nav ul li a {
  color: #002f6c;
}

/* header#top nav ul li a:focus, header#top .sf-menu li ul li.sfHover > a {
  outline: none!important;
} */

html.scroll-block {
  overflow-y: hidden;
}

.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.home-en .cookie-notice {
  top: auto;
  bottom: 0;
}

.chi-siamo #menu-item-39,
.chi-siamo #menu-item-243 {
  display: none;
}

.home .scroll-down-wrap,
.home-en .scroll-down-wrap,
.home-en #footer-outer,
.home-en #header-outer {
  display: none !important;
}
/*------------------------*/

* {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Graphik Web" !important;
  font-weight: 400;
  color: #002f6c;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Graphik Web" !important;
  font-weight: 700;
}

a {
  font-family: "Graphik Web" !important;
  cursor: pointer;
}

p,
span {
  font-family: "Graphik Web" !important;
}

body .row-dark h2,
body .row-dark h3 {
  color: #fff;
}


header#top .sf-menu li ul:not(.social-main-nav) li a:hover {
  background-color: #002f6c !important;
  color: #fff !important;
}

.projects .excerpt .post-password-form p label {
  font-size: 1rem;
}

.cookie-notice {
  position: absolute;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 4rem;
  background: rgba(0, 47, 108, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 120%;
  text-align: center;
}

.cookie-notice a {
  color: #fff;
  font-weight: bold;
}

.menu-item a {
  font-weight: 500;
}

#page-header-bg h1 {
  font-family: "Graphik Web";
}

.row.page-header-no-bg {
  background-color: #002f6c;
}

.single [data-post-hs="default_minimal"] .page-header-bg-image:after,
.archive .page-header-bg-image:after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

/*.category .page-header-bg-image {
  background-image: none!important;
  background-color: #31bbac;
}*/

/*.category .page-header-bg-image:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: none;
  background-color: inherit;
  transform: skewX(22deg) translateX(-35%);
  mix-blend-mode: hard-light;
  opacity: .7;
}
*/
.wpb_row.row-alt {
  background: #f2f2f2;
}

.row.row-dark,
.wpb_row.row-dark,
.container-wrap.row-dark {
  background-color: #002f6c;
  color: #fff;
}

.flickity-slider .cell {
  opacity: 0.5;
}

.flickity-slider .cell.is-selected {
  opacity: 1;
}

strong {
  font-family: "Graphik Web";
}

body.single-post .container-wrap,
body.search .container-wrap {
  padding-bottom: 0;
  margin-top: 0;
  padding-top: 70px;
}

body:not(.woocommerce-cart) .main-content .people-board .wpb_wrapper table {
  border-top: none;
  background: none;
}
body:not(.woocommerce-cart) .main-content .people-board .wpb_wrapper table td {
  color: #002f6c;
  border: none;
}
body:not(.woocommerce-cart)
  .main-content
  .people-board
  .wpb_wrapper
  table
  td:first-child {
  text-align: right;
}
body:not(.woocommerce-cart)
  .main-content
  .people-board
  .wpb_wrapper
  table
  tr:nth-child(2n + 1) {
  background: none;
}
body .full-width-section > .col.span_12.dark h1,
.full-width-content > .col.span_12.dark h1,
body .full-width-section > .col.span_12.dark h2,
.full-width-content > .col.span_12.dark h2,
body .full-width-section > .col.span_12.dark h3,
.full-width-content > .col.span_12.dark h3,
body .full-width-section > .col.span_12.dark h4,
.full-width-content > .col.span_12.dark h4,
body .full-width-section > .col.span_12.dark h5,
.full-width-content > .col.span_12.dark h5,
body .full-width-section > .col.span_12.dark h6,
.full-width-content > .col.span_12.dark h6 {
  color: #002f6c;
}

.nectar-flickity[data-controls="material_pagination"]
  .flickity-page-dots
  .dot.is-selected:before,
.testimonial_slider[data-style="multiple_visible_minimal"]
  .flickity-page-dots
  .dot.is-selected:before {
  box-shadow: inset 0 0 0 1px #002f6c;
}
.nectar-flickity[data-controls="material_pagination"]
  .flickity-page-dots
  .dot:before,
.testimonial_slider[data-style="multiple_visible_minimal"]
  .flickity-page-dots
  .dot:before {
  box-shadow: inset 0 0 0 5px #002f6c;
}

.wpb_wrapper > .divider,
.wpb_wrapper > .divider-border,
.wpb_wrapper > .divider-small-border,
.wpb_text_column > .wpb_wrapper > *:last-child,
.wpb_wrapper > .divider-wrap {
  margin-bottom: 20px;
  margin-top: 20px;
}



.portfolio-wrap .col img.no-img {
  opacity: 0;
}

body .portfolio-wrap .col:not(.tribe_events) .inner-wrap {
  background-color: #002f6c;
}
.full-width-section .faw-team-img-blue .team-member:before,
body .portfolio-wrap .col.news .inner-wrap,
body .portfolio-wrap .col.social .inner-wrap {
  background-color: #00b5cc;
}
.full-width-section .faw-team-img-teal .team-member:before,
body .portfolio-wrap .col.articles .inner-wrap {
  background-color: #31bbac;
}
.full-width-section .faw-team-img-purple .team-member:before,
body .portfolio-wrap .col.presentations .inner-wrap {
  background-color: #8b4cbf;
}
.full-width-section .faw-team-img-yellow .team-member:before,
body .portfolio-wrap .col.papers .inner-wrap {
  background-color: #f0c24c;
}
.full-width-section .faw-team-img-red .team-member:before,
body .portfolio-wrap .col.portfolio .inner-wrap,
body .portfolio-wrap .col.projects .inner-wrap {
  background-color: #e95263;
}
body .portfolio-wrap .col.tribe_events h3 {
  color: #002f6c;
}

body .portfolio-items .col .work-item.style-2 .work-info {
  opacity: 1 !important;
}

body .portfolio-items .col .work-item .work-info .vert-center {
  max-height: 75%;
  overflow: auto;
  z-index: 50;
  padding-bottom: 5px;
  padding-top: 15px;
  bottom: 15px;
}

body .portfolio-items .col.calendar-tile .work-item .work-info .vert-center {
  bottom: 10px;
  max-height: 80%;
}

body .portfolio-items .next-arrow {
  bottom: 0!important;
}

body .portfolio-items .line {
  bottom: 13px!important;
}

.portfolio-items .tile-description {
  padding-left: 30px;
  position: absolute;
  top: 20px;
  left: 0;
  line-height: 125%;
}

body .portfolio-items .col .work-item.style-2 .vert-center * {
  opacity: 1 !important;
}

*.bg-color * {
  color: #fff;
}

*.bg-color.news {
  background-color: #00b5cc;
}
*.bg-color.articles,
*.bg-color.themes {
  background-color: #31bbac;
}
*.bg-color.presentations {
  background-color: #8b4cbf;
}
*.bg-color.papers {
  background-color: #f0c24c;
}
*.bg-color.portfolio,
*.bg-color.projects {
  background-color: #e95263;
}
*.text-color.news {
  color: #00b5cc;
}
*.text-color.articles {
  color: #31bbac;
}
*.text-color.presentations {
  color: #8b4cbf;
}
*.text-color.papers {
  color: #f0c24c;
}
*.text-color.portfolio,
*.text-color.projects {
  color: #e95263;
}

body .portfolio-wrap p.calendar-tile-date {
  font-weight: bold;
  font-size: 3.2rem;
  line-height: 4rem;
  color: #002f6c;
}

body .portfolio-wrap .calendar-tile .nectar-cta .link_text {
  color: #002f6c;
  margin-right: 0;
  max-width: 100%!important;
}

.single #page-header-wrap {
  margin-top: 0px !important;
}

body .portfolio-wrap .col .inner-wrap {
  height: 100%;
}
body .portfolio-wrap .col {
  overflow: hidden;
}
body .portfolio-wrap .col .inner-wrap .work-item {
  background-color: inherit;
}
body .portfolio-wrap .col .inner-wrap .work-item::after,
.content-related-tile::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  transform: skew(22deg) translateX(-30%);
  background-color: inherit;
  opacity: 0.7;
  mix-blend-mode: hard-light;
}

.content-related > .container h3 {
  display: none;
}

/*body .portfolio-wrap .col .inner-wrap .work-item.has-img::after, .content-related-tile::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  transform: skew(22deg) translateX(-45%);
  background-color: inherit;
  opacity: 1;
  mix-blend-mode: normal;
}

body .portfolio-wrap .col .inner-wrap .work-item.has-img::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  transform: skew(22deg) translateX(60%);
  background-color: inherit;
  opacity: .3;
  mix-blend-mode: normal;
  z-index: 2;
}*/

body .portfolio-wrap .col.tall .inner-wrap .work-item::after {
  transform: skew(22deg) translateX(-50%);
  width: 150%;
}

body .portfolio-wrap .col.fa_instagram .inner-wrap .work-item::after {
  mix-blend-mode: normal !important;
}

body
  .portfolio-wrap
  .col.presentations
  .inner-wrap
  .work-item:not(.has-img)::after,
.content-related-tile.presentations::after {
  mix-blend-mode: screen;
  opacity: 0.3;
}

body .portfolio-wrap .col .inner-wrap .work-item.has-img::after,
.content-related-tile.has-img::after {
  mix-blend-mode: normal;
}

body .portfolio-wrap .col.wide .inner-wrap .work-item::after {
  transform: skew(22deg) translateX(-45%);
}

body .portfolio-wrap .col.wide_tall .inner-wrap .work-item::after {
  transform: skew(22deg) translateX(-60%);
}

.row.search-options .select2-container .select2-choice > .select2-chosen,
#search-outer #search .row.search-options span {
  margin-top: 0;
  line-height: normal;
}

body.ascend #search-outer #search .row.search-options input[type="text"] {
  color: #000 !important;
  height: auto !important;
  font-size: 14px !important;
  text-align: left !important;
  border: 1px solid #ccc;
  border-radius: 3px;
  line-height: normal;
  margin-top: 12px;
  text-transform: none;
  letter-spacing: 0;
  padding: 5px !important;
  padding-left: 12px;
  padding-bottom: 4px;
  font-weight: normal;
}

#search-outer .row.search-options .ui-widget-content {
  background-color: rgba(255, 255, 255, 0.8);
  padding-top: 0.5rem;
  border: #ccc !important;
}

#search-outer .row.search-options .ui-widget-content.ui-autocomplete {
  max-height: 72px;
  overflow-y: auto;
}

#search-outer .row.search-options .ui-widget-content li {
  line-height: 18px;
  padding: 0.5rem;
}

#search-outer .row.search-options .ui-widget-content li:hover,
.ui-widget-content .ui-state-focus {
  background-color: #002f6c;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

#search-outer .row.search-options .selection-list li {
  display: inline-block;
  margin: 0 0.2rem;
  cursor: pointer;
}

#search-outer .row.search-options .selection-list li::after {
  content: ",";
}

#search-outer .row.search-options .selection-list li:last-child::after {
  content: "";
}

#search {
  padding-top: 1rem;
}

#overlay-search-results {
  position: relative;
  min-height: 10rem;
}

#search-outer .ui-widget-content {
  background: #fff;
}

.mobile-search-container .search-not-found {
  font-size: 120%;
  font-weight: 500;
}

.search-loader {
  display: none;
}

.row.search {
  background-color: #002f6c;
  color: #fff;
}

.wpb_row.home-header .wpb_wrapper > div {
  margin-bottom: 0;
}

.home-header .row-bg-wrap {
  display: none;
}

.wpb_row.home-header .wpb_wrapper {
  height: 100%;
}

.page[class*="home"] .container-wrap {
  padding-bottom: 0;
}

.wpb_row.bottom-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.full-width-section .team-member {
  overflow-x: hidden;
}

.full-width-section .team-member:hover:before {
  overflow-x: hidden;
  transform: skew(22deg) translateX(-20%);
}

.full-width-section .team-member:before {
  content: "";
  height: 260px;
  width: 100%;
  display: block;
  background-color: #e95263;
  transform: skew(22deg) translateX(-70%);
  transition: transform 0.5s;
}

.full-width-section .team-member img {
  position: absolute;
  top: 7px;
  height: 260px;
  left: 50%;
  transform: translateX(-50%);
}

.full-width-section .team-member h4 {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1rem;
}

.full-width-section .team-member .position {
  font-weight: bold;
  font-size: 0.75rem;
  color: #002f6c;
}

.full-width-section .team-member .social {
  margin-top: 1rem;
  border-top: 1px solid #ccc;
  padding-top: 0.5rem;
}

.search-list-pointer {
  height: 0.85rem;
  vertical-align: baseline;
  margin-right: 0.5rem;
  display: inline-block;
}

.msie .search-list-pointer {
  display: inline-block;
  width: 1rem;
}

.search-results .projects h3 .search-list-pointer {
  fill: #e95263;
}
.search-results .papers h3 .search-list-pointer {
  fill: #f0c24c;
}
.search-results .news h3 .search-list-pointer {
  fill: #00b5cc;
}
.search-results .presentations h3 .search-list-pointer {
  fill: #8b4cbf;
}
.search-results .articles h3 .search-list-pointer {
  fill: #31bbac;
}

.main-content .faw-about-social ul,
.main-content .faw-about-social li {
  margin-left: 0;
  list-style: none;
}

.faw-about-contacts h4 {
  color: #e95263;
}

.faw-about-contacts .wpb_text_column > .wpb_wrapper > *:last-child {
  margin-top: 0;
}

.faw-about-social li {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 1rem;
  cursor: pointer;
}

.faw-about-social li:before {
  content: "";
  width: 2.5rem;
  height: 2.5rem;
  display: inline-block;
  margin-right: 1rem;
  background-image: url(img/social-icon-fb.svg);
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
}

.faw-about-social li.faw-social-tw:before {
  background-image: url(img/social-icon-tw.svg);
}
.faw-about-social li.faw-social-ig:before {
  background-image: url(img/social-icon-ig.svg);
}
.faw-about-social li.faw-social-yt:before {
  background-image: url(img/social-icon-yt.svg);
}
.faw-about-social li.faw-social-in:before {
  background-image: url(img/social-icon-in.svg);
}

#to-top.dark {
  background-color: rgba(255, 255, 255, 0.7);
}

#to-top.dark .fa-angle-up:before {
  color: #002f6c;
}

.page #to-top.dark:hover {
  background-color: rgba(255, 255, 255, 1) !important;
}
.faw-footer-links {
  text-align: center;
}
.faw-footer-links.todo {
  text-align: right;
}

.faw-footer-link {
  position: relative;
  margin-right: 1rem;
}
.faw-footer-link.legal {
  position: relative;
  margin-left: 1rem;
}
.faw-footer-link:hover::after {
  content: "";
  position: absolute;
  bottom: -0.2rem;
  left: 0;
  width: 100%;
  height: 0.1rem;
  border-top: 0.05rem solid #fff;
}
.about-header p {
  font-size: 120%;
}

.about-images-copyright em {
  font-size: 12px;
}

.wpb_text_column > .wpb_wrapper > *:last-child {
  margin-top: 0;
}

/*  WALL  */
body .portfolio-items[data-ps="8"] .col.element.activities-tile h3 {
  max-width: 100%;
}

.tile-date {
  text-transform: initial;
  display: none;
  font-size: 1rem;
}

html[lang="it-IT"] .tile-date {
  text-transform: lowercase;
}

.tile-content-info {
  color: #fff;
  font-weight: 500;
}

.tile-content-info .content-author,
.tile-content-info .content-newspaper {
  font-style: italic;
}

.news .tile-date,
.articles .tile-date,
.social .tile-date,
.presentations .tile-date {
  display: block;
}
.portfolio-wrap .portfolio-items .col .work-info h3, .portfolio-wrap .portfolio-items .col .work-info h3 > a {
  font-size: 2rem;
  line-height: 110%;
  font-weight: 600;
  color: rgb(255, 255, 255);
}
body .portfolio-wrap .portfolio-items .col .work-info h4 {
  color: #fff;
  font-size: 120%;
}
body .portfolio-items[data-ps="8"] .col.element h3,
body .portfolio-items[data-ps="8"] .col.element p {
  max-width: 90%;
}

body
  .portfolio-items[data-ps="8"]
  .col[data-default-color="true"]
  .work-item:not(.style-3)
  .work-info-bg {
  background-color: rgba(0, 0, 0, 0.4) !important;
}


.work-info-bg-img,
.content-related-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  height: 100%;
  width: 100%;
}
.work-info-bg-img.has-img:after,
.content-related-bg-img.has-img:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  height: 100%;
  width: 100%;
}

.calendar-tile {
  cursor: pointer;
}

.calendar-tile a:hover {
  color: #002f6c;
}

.calendar-tile-day {
  font-size: 6rem;
}

.calendar-tile .tile-description {
  color: #002f6c;
}

.tile-description {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #fff;
}

.social-tile-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 100;
}

body .portfolio-items .col .work-info .social-tile-icon i {
  font-size: 225%;
  opacity: 1;
}

body .portfolio-wrap .col.fa_tweet .inner-wrap .work-item::after {
  display: none;
}

.tile-social-text, .tile-social-text > a {
  font-family: "Graphik Web";
  color: #fff;
}

.portfolio-items .col .work-item .work-info h3 a, .portfolio-items .col .work-item .work-info a {
  position: static!important;
  display: inline!important;
}



.ascend .calendar-tile .mfp-arrow-right,
.ascend .activities-tile .mfp-arrow-right {
  position: relative;
  min-width: 40px;
  color: #e95263;
  border: 2px solid #e95263;
  left: 1rem;
  top: 0.3rem;
  display: inline-block;
}


body .portfolio-items .col.activities-tile .work-item .work-info .vert-center {
  max-height: 100%;
}


.ascend .activities-tile .nectar-cta {
  margin-top: 2rem;
}
.ascend .activities-tile .mfp-arrow-right {
  color: #ffffff;
  border: 2px solid #ffffff;
}
.ascend .activities-tile .link_wrap {
  color: #ffffff;
}
.ascend .calendar-tile .mfp-arrow-right.active:not(:hover) {
  background: #e95263;
  color: #fff;
}
.ascend .calendar-tile .mfp-arrow-right.active:not(:hover):before {
  color: #fff;
}
.ascend .calendar-tile .mfp-arrow-right:before {
  color: #e95263;
}
.ascend .calendar-tile .mfp-arrow-right:after {
  background-color: #e95263;
}

.calendar-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 47, 108, 0.92);
  padding: 5rem;
  display: none;
  opacity: 0;
  overflow: auto;
  z-index: 99999;
}

.tribe-events-month-event-title {
  display: none;
}

.calendar-overlay h3,
.calendar-overlay h2,
.calendar-overlay a {
  color: #fff;
}

.tribe-events-calendar a {
  color: #e95263;
}

.tribe-events-ajax-loading {
  display: none;
}

body:not(.woocommerce-cart) table.tribe-events-calendar,
body:not(.woocommerce-cart) table.tribe-events-calendar tr:nth-child(2n + 1) {
  background: none;
  color: #fff;
}

body:not(.woocommerce-cart) table.tribe-events-calendar tr td,
body:not(.woocommerce-cart) table.tribe-events-calendar th {
  border: none;
  padding: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

body:not(.woocommerce-cart) table.tribe-events-calendar {
  table-layout: fixed;
  border: none;
}

.calendar-wrapper {
  width:82%;
  margin: auto;
}

#tribe-events-content.loading {
  pointer-events: none;
  opacity: .66;
}
.tribe-events-calendar th .day-name-short {
  display: none;
}
.calendar-wrapper p, .calendar-wrapper .event-description {
  color: #fff;
}
@media only screen and (max-width: 470px) {
  .tribe-events-calendar th .day-name-long {
    display: none;
  }
  .tribe-events-calendar th .day-name-short {
    display: inline;
    text-transform: capitalize;
  }
}
table.tribe-events-calendar tr {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

#tribe-events .tribe-events-sub-nav,
#tribe-events .screen-reader-text,
.tribe-events-ical {
  display: none;
}

body ul.tribe-events-sub-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
  font-size: 1.5rem;
  float: right;
}

body ul.tribe-events-sub-nav li.tribe-events-nav-previous {
  float: left;
  text-align: left;
}
#tribe-events-footer .tribe-events-sub-nav {
  display: block;
  width: 100%;
  overflow: hidden;
}
#tribe-events-footer .tribe-events-sub-nav:after {
  clear: both;
}
#tribe-events thead tr {
  border-top: none;
}
.tribe-events-calendar .tribe-events-has-events {
  cursor: pointer;
}
.tribe-events-calendar .tribe-events-has-events,
#tribe-events .tribe-events-has-events,
body:not(.woocommerce-cart)
  table.tribe-events-calendar
  tr
  td.tribe-events-present.tribe-events-has-events
  > div {
  color: #e95263;
}
table.tribe-events-calendar {
  width: 100%;
}
body:not(.woocommerce-cart)
  table.tribe-events-calendar
  tr
  td.tribe-events-present {
  padding: 0.5rem;
}

.tribe-events-present > div:not(.hentry) {
  background: #fff;
  color: #002f6c;
  display: inline-block;
  width: 2.75rem;
  padding: 0.5rem;
  height: 2.75rem;
  border-radius: 100%;
}

.tribe-events-othermonth {
  opacity: 0.5;
  pointer-events: none;
}

.event-data {
  border-top: 0.05rem solid #fff;
  margin-top: 1rem;
}

.event-data p {
  padding-bottom: 0.5rem;
}

.event-data .event-date {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #e95263;
}

.tribe-events-page-title {
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid #fff;
  text-transform: capitalize;
}
body .calendar-close.icon-close {
  background-color: transparent !important;
}
.icon-close {
  width: 2rem;
  height: 2rem;
  background: url(img/icon-close.svg);
  cursor: pointer;
}
.icon-close.calendar-close {
  right: 5rem;
  position: absolute;
}
.icon-close.theme-search-close {
  right: 1rem;
  top: 1rem;
  position: fixed;
  z-index: 999;
}

.activity-header .wpb_wrapper p.p1 {
  font-size: 200%;
  line-height: 130%;
  margin-bottom: 1;
}



.cosa-facciamo h2 {
  font-size: 350%;
  font-weight: 500;
  color: #002f6c;
  margin-bottom: 3rem;
}

.cosa-facciamo a.color-themes,
.cosa-facciamo a.color-projects {
  font-weight: bold;
}

.activity-themes-head h2 {
  color: #31bbac !important;
}
.activity-projects-head h2 {
  color: #e95263 !important;
}

.main-content .themes-list,
.main-content ul.projects-list {
  margin-left: 0;
  padding-left: 0;
}

.main-content ul.projects-list {
  margin-bottom: 0;
}

.activity-themes .theme-cards-list {
  margin-bottom: 1rem;
}

.themes-list li,
.projects-list li {
  list-style: none;
  padding: 2rem 0 2rem;
  display: flex;
  align-items: flex-start;
  border-bottom: 0.05rem solid rgba(0, 0, 0, 0.3);
}

.projects-list li a .col p {
  color: #676767;
}

.projects-list li {
  border-bottom: 0;
}

.themes-list li.hidden,
.themes-list .theme-card.hidden,
.projects-list li.hidden {
  display: none;
}

.themes-list li:not(.hidden):last-child {
  border-bottom: 0;
}

.themes-list li .themes-list-number {
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
  z-index: 2;
  display: none;
}

.themes-list li .themes-list-img {
  margin-right: 6vw;
  height: 8vw;
  width: 8vw;
  min-width: 8vw;
  overflow: hidden;
  background-color: #31bbac;
  position: relative;
}

.themes-list li .themes-list-img a {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.category .search-area {
  background-color: #2cb3a3;
  padding: 4rem 1rem;
  margin-bottom: 0;
}

.category .nectar-cta h4 {
  font-size: 3rem;
  line-height: 100%;
}
.category .nectar-cta h4 .link_text {
  color: #fff;
}

.category .nectar-cta .link_wrap {
  display: inline-block;
}

.category .nectar-cta h4 button {
  right: 0;
  top: 25%;
  transform: translateX(150%);
  border: 2px solid #fff;
}

html body[data-bg-header="true"] .container-wrap.theme {
  padding-bottom: 0;
}
/* INIT HEADER FIX */

body.category #header-outer[data-transparent-header="true"].transparent,
body.page-template-page-report
  #header-outer[data-transparent-header="true"].transparent {
  opacity: 1 !important;
  background-color: #fff !important;
}

body.category #header-outer.transparent header {
  opacity: 1;
  pointer-events: all;
}

body.category #header-outer.transparent header#top nav > ul > li > a {
  color: #002f6c !important;
  opacity: 1 !important;
}

@media only screen and (min-width: 1001px) {
  body.category
    #header-outer[data-transparent-header="true"].transparent
    > header
    #logo
    img.dark-version,
  #header-outer[data-transparent-header="true"].light-text
    > header
    #logo
    img.dark-version {
    opacity: 1 !important;
  }
}

/*******************/
.themes-list li .themes-list-img:after {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #31bbac;
  mix-blend-mode: normal;
  width: 100%;
  height: 100%;
  content: "";
  transform: skewX(22deg) translateX(-55%);
  display: none;
}

.themes-list li .themes-list-img-bg {
  background-position: center;
  background-size: cover;
  height: 100%;
  width: 100%;
  transition: all 0.6s cubic-bezier(0.24, 1, 0.3, 1);
  -webkit-transition: all 0.6s cubic-bezier(0.24, 1, 0.3, 1);
}
.themes-list li:hover .themes-list-img-bg {
  /*  transform: scale(1.13);
  -webkit-transform: scale(1.13);*/
}

.row .themes-list li h3 {
  font-size: 200%;
  font-weight: 500;
  margin-bottom: 1rem;
}

.themes-list li .nectar-cta a {
  font-weight: 500;
}

.themes-list .more-link {
  color: #31bbac;
}
.themes-list .more-link span:before {
  background-color: #31bbac;
}
.projects-list .more-link {
  color: #e95263;
}
.projects-list .more-link span:before {
  background-color: #e95263;
}

.show-more {
  display: inline-block;
  padding: 1rem;
  border: 0.1rem solid #002f6c;
  border-radius: 1rem;
  font-size: 150%;
  font-weight: 500;
  color: #002f6c;
  background-color: transparent;
}

.activity-themes .show-more {
  border: 0.1rem solid #31bbac;
  color: #31bbac;
}

.activity-projects {
  padding-bottom: 1rem;
}

.activity-projects .show-more {
  border: 0.1rem solid #e95263;
  color: #e95263;
}

.projects-list li:nth-child(even) .vc_col-sm-8 {
  float: right;
}

.project-preview-img {
  min-height: 255px;
  overflow: hidden;
}

.project-preview-bg {
  transition: all 0.6s cubic-bezier(0.24, 1, 0.3, 1);
  -webkit-transition: all 0.6s cubic-bezier(0.24, 1, 0.3, 1);
  min-height: 255px;
  width: 100%;
  height: 100%;
  background-position: top center;
  background-size: cover;
}

.projects-list li:hover .project-preview-bg {
  transform: scale(1.13);
  -webkit-transform: scale(1.13);
}

.projects-list .blog-recent[data-style="minimal"] .readmore {
  text-transform: unset !important;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: bold;
  margin-top: 0.5rem;
  color: #e95263 !important;
}

.projects-list-category {
  display: flex;
  font-size: 90%;
  align-items: center;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
  line-height: 150%;
}

.projects-list-pointer {
  height: 0.8rem;
  fill: #e95263;
  margin-right: 0.5rem;
}

#search-box ul {
  margin-left: 0;
}

#search-box .filters h2 {
font-size: 22px;
line-height: 34px;
margin-bottom: 8px;
}

#search-box li {
  list-style: none;
  font-size: 130%;
  line-height: 160%;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0s;
}

#search-box li input {
  opacity: 0;
  width:0 ;
  height:0 ;
  margin: 0;
  padding: 0;
}

#search-box li input:focus {
  opacity: 1;
  width: auto;
  height: auto;
  margin-right: 6px;
}

#search-box li label {
  cursor: pointer;
}

#search-box li.active {
  opacity: 1;
  font-weight: bold;
}
#search-box .tags li label:before {
  content: "#";
}

#search-box .tags li {
  display: inline-block;
  margin-right: 0.5rem;
}
#search-box input#free-search {
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 0.1rem solid #002f6c;
  color: #002f6c;
  margin-bottom: 1rem;
}

.row-dark #search-box input#free-search {
  border-bottom: 0.1rem solid #fff;
  color: #fff;
}

#search-box input#free-search::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.7;
}

#search-box input#free-search::-ms-input-placeholder {
  color: inherit;
  opacity: 1;
}

.search-show-results {
  position: fixed;
  z-index: 999;
  bottom: 0;
  width: 100%;
  background: #fff;
  left: 50%;
  transform: translate(-50%, 100%);
  opacity: 0;
  color: #002f6c;
  padding: 1.5rem;
  text-align: center;
  font-size: 150%;
  pointer-events: none;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.24, 1, 0.3, 1);
}

.search-show-results.active {
  pointer-events: all;
  opacity: 1;
  display: block;
  transform: translate(-50%, 0%);
}

.search-show-results .search-loader.spinner {
  margin: 0 auto;
}

.search-show-results p {
  margin: 0.45rem;
  padding-bottom: 0;
}

.theme-search-tools .search-not-found,
.theme-search-tools .show-results,
.theme-search-tools .show-results strong {
  color: #31bbac;
}
.theme-search-tools .search-loader.spinner div {
  background: #31bbac;
}

.row-dark #search-box input#free-search::-webkit-input-placeholder,
.row-dark #search-box input#free-search::-ms-input-placeholder {
  color: #fff;
}

.search-results h2 {
  margin-bottom: 2rem;
}

.search-results ul li {
  list-style: none;
  width: 20%;
  margin-right: 5%;
}

.search-results li.hidden {
  display: none;
}

.search-results ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.search-results h3 {
  color: #002f6c;
  font-weight: 500;
}

.search-results h4 {
  font-size: 110%;
  line-height: 120%;
  text-align: center;
}

.search-results p {
  text-align: center;
}

.search-results .search-result-thumb {
  height: 8rem;
  width: 8rem;
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  margin: 1rem auto;
  border: 0.15rem solid;
}

.search-results .search-result-date {
  font-size: 90%;
  border-bottom: 0.05rem solid;
  width: 60%;
  margin: 0 auto 1rem;
  padding-bottom: 0.5rem;
}

.safari .search-results .search-result-date {
  border-bottom: 0.1rem solid;
}

.search-results .projects .search-result-date {
  border-color: #e95263;
}
.search-results .articles .search-result-date {
  border-color: #31bbac;
}
.search-results .news .search-result-date {
  border-color: #00b5cc;
}
.search-results .papers .search-result-date {
  border-color: #f0c24c;
}
.search-results .presentations .search-result-date {
  border-color: #8b4cbf;
}

.search-results .projects .search-result-thumb {
  background-image: url("img/icon-projects.svg");
}
.search-results .articles .search-result-thumb {
  background-image: url("img/icon-articles.svg");
}
.search-results .news .search-result-thumb {
  background-image: url("img/icon-news.svg");
}
.search-results .papers .search-result-thumb {
  background-image: url("img/icon-papers.svg");
}
.search-results .presentations .search-result-thumb {
  background-image: url("img/icon-presentations.svg");
}

.search-results .show-more {
  padding: 0.5rem;
  height: 3rem;
  width: 3rem;
  font-size: 160%;
  border-radius: 100%;
  transition: color 0.3s, background-color 0.3s;
}

.search-results .show-more:hover {
  color: #fff;
  background-color: #002f6c;
}

.search-results .more.center-text {
  display: flex;
  align-items: center;
}
.search-results .more.center-text:before,
.search-results .more.center-text:after {
  height: 0.1rem;
  content: "";
  display: block;
  flex: 1;
  border-bottom: 0.05rem solid #002f6c;
}

.safari .search-results .more.center-text:before,
.safari .search-results .more.center-text:after {
  border-bottom: 0.1rem solid #002f6c;
}

.category .search-results {
  padding-top: 2rem;
}

.category .search-archive {
  display: none;
}

.theme-search-tools.wpb_row {
  margin-top: 2rem;
  margin-bottom: 0;
}

.search-result-info {
  font-size: 90%;
  line-height: 120%;
}

.search-result-author,
.search-result-newspaper {
  font-style: oblique;
}

.theme-search-tools {
  padding: 2rem 0;
}

.project-preview-bg {
  background-color: #e95263;
  background-image: url(img/icon-projects-w.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8rem;
}

#infscr-loading {
  border-radius: 16px;
  border-color: #002f6c;
}

#infscr-loading div {
  text-transform: none;
  letter-spacing: 0.01rem;
  font-weight: bold !important;
  font-size: 120%;
  color: #002f6c;
  font-family: "Graphik Web";
}

body:not(.mobile) .mobile-search-container {
  display: none;
}

.desktop-search h2 {
  margin-bottom: 2rem;
}

.search-results-container:not(.active):not(.fixed) {
  display: none;
}

.search-archive {
  margin-top: 1rem;
  font-size: 120%;
  font-weight: 300;
  padding-bottom: 0 !important;
}

.search-archive a {
  font-weight: bold;
  color: #fff;
}

.mobile-search-container {
  position: relative;
}

.mobile-search-container .col h3 {
  padding: 2rem 2rem 2rem;
  color: #fff;
  background-color: #002f6c;
  margin-bottom: 0;
}

.mobile-search-container .col {
  background-color: rgba(0, 47, 108, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  margin-bottom: 0;
}

.mobile-search-container form ul {
  display: none;
  padding: 1rem 2rem;
}

.mobile-search-container .row {
  padding-bottom: 0;
}

.mobile-search-container .row:last-child {
  background-color: #002f6c;
  color: #fff;
}

.mobile-search-container #search-box input#free-search {
  color: #fff;
  padding: 2rem 2rem !important;
  background-color: rgba(0, 47, 108, 0.85) !important;
  margin-bottom: 0;
}

.mobile-search-container #search-box {
  margin-bottom: 0;
}

.mobile-search-container .search-archive {
  margin-top: 0;
  padding: 1rem 2rem 2rem;
  padding-bottom: 1rem !important;
}

.mobile-show-results {
  position: fixed;
  z-index: 9999;
  width: 100%;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh;
  padding: 1rem 0;
  background: #fff;
}

.mobile-show-results:not(.visible) {
  display: none;
}

.mobile-show-results.loading p,
.search-show-results.loading p {
  display: none;
}

.mobile-show-results:not(.notfound) p.search-not-found,
.search-show-results:not(.notfound) p.search-not-found {
  display: none;
}
.mobile-show-results.notfound p.show-results,
.search-show-results.notfound p.show-results {
  display: none;
}

.mobile-show-results p {
  padding: 0.5rem;
  border: 0.1rem solid #002f6c;
  display: inline-block;
}
.mobile-search-container #search-results {
  visibility: visible;
  padding: 2rem;
}
.mobile-search-container.overlay.hidden {
  display: none;
}
.mobile-search-container.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 9999;
  overflow: auto;
}
.mobile-search-container.overlay #search-box input#free-search {
  border-bottom: none;
  background-color: #31bbac;
  font-size: 120%;
}
.mobile-search-container.overlay .search-themes {
  display: none;
}

.mobile-search-container.overlay .col {
  background-color: rgba(49, 187, 172, 0.75);
}

.mobile-search-container.overlay .col h3 {
  background-color: #31bbac;
}

#slide-out-widget-area .menuwrapper li {
  margin-bottom: 1rem;
}
#slide-out-widget-area .inner .off-canvas-menu-container li a {
  font-size: 30px;
}
#page-header-wrap.fullscreen-header {
  background-color: #fff;
}
.page[class*="home"] .page-header-bg-gradient {
  display: none;
}

.page[class*="home"] .fullscreen-header > .container > .row:first-child {
  top: 0 !important;
}

.language-switch > a:after {
  -ms-transition: -webkit-transform 0.3s ease-out, border-color 0.3s ease-out;
  -webkit-transition: -webkit-transform 0.3s ease-out,
    border-color 0.3s ease-out;
  transition: transform 0.3s ease-out, border-color 0.3s ease-out;
  position: absolute;
  display: block;
  bottom: -6px;
  left: 0;
  width: 100%;
  -ms-transform: scaleX(0);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  border-top: 2px solid #000;
  content: "";
  padding-bottom: inherit;
}

.language-switch > a.active:after {
  -ms-transform: scaleX(1) !important;
  -webkit-transform: scaleX(1) !important;
  transform: scaleX(1) !important;
}

.off-canvas-menu-container .lang-item {
  display: none !important;
}

.off-canvas-menu-container .language-switch {
  transform: translateY(-10vh);
  font-size: 150%;
}
.off-canvas-menu-container .language-switch a {
  margin-right: 0.5rem;
}
.off-canvas-menu-container .language-switch a:last-child {
  margin-left: 0.5rem;
}
.off-canvas-menu-container .language-switch a.active {
  font-weight: bold;
}
.off-canvas-menu-container .language-switch a:after {
  border-top: 0;
}

header#top nav > ul > li.language-switch {
  margin-right: 2rem;
}

header#top nav > ul > li.language-switch > a {
  display: inline-block;
  margin-left: 4px !important;
  margin-right: 4px !important;
}

body #page-header-bg h1,
body #page-header-bg .subheader,
body .nectar-box-roll .overlaid-content h1,
body .nectar-box-roll .overlaid-content .subheader,
body #page-header-bg #portfolio-nav a i,
body body .section-title #portfolio-nav a:hover i,
body .page-header-no-bg h1,
body .page-header-no-bg span,
body #page-header-bg #portfolio-nav a i,
body #page-header-bg span {
  color: #ffffff !important;
}

html[lang="en-GB"]
  .page-template-page-search
  .search-item[data-key="articles"] {
  display: none;
}

body .bottom_controls {
  margin-top: 0;
}

.wpb_row .span_12 > .col.padding-1-percent.project-description {
  padding-top: 0;
}

.col.padding-1-percent.project-description
  .blog-recent[data-style="minimal"]
  .col {
  padding-top: 0;
}

.project-img > a {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.event-description a {
  color: #e95263;
  font-weight: bold;
}

.row .col.section-title .content-info span {
  display: inline !important;
}

.single-portfolio .row .col.section-title h1 {
  text-align: left;
}

body[data-bg-header="true"].single-portfolio .container-wrap {
  padding-bottom: 0;
}

.project-related-contents {
  padding-bottom: 1rem;
}

.sr-only {
  display: none!important;
}

@media screen and (max-width: 1000px) {
  .col.span_4.tags {
    margin-bottom: 0;
  }
  .search .container-wrap {
    padding-top: 74px;
  }
  .container-wrap,
  .project-title {
    padding-top: 0;
    margin-top: 0;
  }
  .page[class*="home"] .vc_row.vc_row-flex > .span_12 > .vc_column_container {
    display: flex;
  }
  .wpb_row .span_12 > .col.padding-5-percent {
    padding: 0;
  }
  body .portfolio-items .col .work-item.style-2 .work-info-bg {
    display: none !important;
  }

  body:not(.home-en) .faw-launch-logo {
    display: none;
  }
  .calendar-overlay {
    padding: 1rem;
  }
  .calendar-wrapper {
    width: 100%;
  }
  .calendar-close {
    width: 1.5rem;
    height: 1.5rem;
    right: 1rem;
  }
  body:not(.woocommerce-cart) table.tribe-events-calendar tr td,
  body:not(.woocommerce-cart) table.tribe-events-calendar th {
    padding: 0.5rem;
    font-size: 1.25rem;
  }
  #tribe-mobile-container {
    display: none;
  }
  .event-data {
    margin-top: 1rem;
    padding-left: 1rem;
  }
  .portfolio-items .col .work-item .work-info a.link_text {
    display: block;
    position: static;
    margin: 0px;
    width: 100%;
    height: 100%;
    opacity: 1 !important;
    text-indent: 0;
  }
  .themes-list li {
    flex-direction: column;
  }
  .themes-list li .themes-list-img {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1rem;
  }
  .slide-out-from-right .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .activity-header .wpb_wrapper p.p1 {
    margin: 1rem auto;
  }
  .search-results ul li {
    padding: 0;
    width: 100%;
    margin-bottom: 1rem;
    margin-right: 0;
  }
  .search-results ul li a {
    display: flex;
  }
  .search-results ul li .search-result-thumb {
    height: 10vh;
    width: 10vh;
    margin-right: 1rem;
  }
  .search-results ul li .search-result-info {
    flex: 1;
    text-align: left;
  }
  .search-results ul li .search-result-date {
    margin: 0;
    padding-bottom: 0;
    margin-bottom: 1rem;
    text-align: left;
  }
  .search-results ul li h4 {
    margin: 0;
    text-align: left;
    width: 100%;
  }
  .main-content .project-related-contents ul {
    margin: 0;
  }
  body #header-space[data-header-mobile-fixed="1"] {
    /*display: none!important;*/
  }
  #header-outer:not([data-permanent-transparent="1"]) {
    /*padding-bottom: 18px;*/
  }
  .content-related ul {
    flex-wrap: wrap;
  }
  li.content-related-tile {
    width: 100%;
  }
  .content-related > .container h3 {
    display: block;
  }
}

#header-outer[data-lhe="animated_underline"]
  header#top
  nav
  > ul
  > li.lang-item {
  margin: 0;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  position: relative;
}

#header-outer[data-lhe="animated_underline"]
  header#top
  nav
  > ul
  > li.lang-item
  > a {
  margin: 0;
  padding: 0;
  position: relative;
}

#header-outer[data-lhe="animated_underline"]
  header#top
  nav
  > ul
  > li.lang-item.lang-item-first::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 22.5%;
  height: 25%;
  border-right: 1px solid #002f6c;
}

.activity-themes .content-preview .box-bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

html #header-outer #social-in-menu a:hover i {
  transform: translateY(-2px);
}

#social-in-menu > a i.fa.fa-instagram::before {
  transform: translateY(2px);
}

header#top .sf-menu #social-in-menu > ul {
  position: static;
  width: auto;
  display: flex!important;
  box-shadow: none;
  background-color: transparent;
}
header#top .sf-menu #social-in-menu > ul > li {
  background-color: transparent!important;
}

header#top .sf-menu #social-in-menu > ul > li > a {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 28px;
  padding-top: 12px;
  background-color: transparent!important;
}

html #header-outer #social-in-menu [class*="fa-"]:after,
html #header-outer #social-in-menu i:after {
  display: none;
}

/* i.fa.fa-instagram::before {
  color: transparent !important;
  background-repeat: no-repeat;
  background-size: 60%;
  background-position: 50%;
  height: 100%;
  width: 100%;
  background-image: url(img/social-icon-ig.svg);
  display: block;
} */

.activity-themes .content-preview .box-bg:after {
  background-color: #000;
  opacity: 0.33;
}

.page-template-page-about
  .vc_col-sm-12.wpb_column.column_container.vc_column_container.col {
  margin-left: 0 !important;
  color: #002f6c !important;
}

.page-template-page-about .main-content h3 {
  font-size: 19px;
  line-height: 32px;
}

.page-template-page-about .main-content h4 {
  font-size: 19px;
}

.page-template-page-about .main-content .nectar-cta h2 {
  font-size: 22px;
  line-height: 34px;
}

.page-template-page-about .main-content .nectar-cta .link_text {
  color: #fff;
  font-size: 18px;
  line-height: 32px;
}

.page-template-page-about .main-content .nectar-flickity[data-controls="material_pagination"] .flickity-page-dots .dot, .testimonial_slider[data-style="multiple_visible_minimal"] .flickity-page-dots .dot {
  width: 30px;
  margin: 0px;
  opacity: 0.85;
}

.flickity-slider a.entire-slide-link:focus 
{
  border: 2px solid #002f6c!important;
}

.page-template-page-about table ul, 
.page-template-page-about table li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-template-page-report,
.page-template-page-report .container-wrap,
.page-template-page-report #header-outer {
  background-color: #ffffff !important;
}
.page-template-page-report .container-wrap {
  padding-top: 24px;
}
@media only screen and (max-width: 470px) {
  .page-template-page-report .container-wrap {
    padding-top: 0px;
  }
}

.page-template-page-report .full-page-inner-wrap-outer {
  /* padding-top: 93px; */
}

body.page-template-page-report .container-wrap {
  padding-bottom: 0 !important;
  flex: 1!important;
  position: relative;
  z-index: 10;
  padding-top: 0!important;
  padding-bottom: 0!important;
  margin-top: 0!important;
}

body.page-template-page-report {
  display: flex !important;
  flex-direction: column !important;
}

body.page-template-page-report .at-content {
  flex: 1 !important;
  height: auto !important;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
}

body.page-template-page-report #header-space {
  max-height: 78px !important;
}

body.page-template-page-report #footer-outer {
  display: none !important;
}

.page-template-page-report #nectar_fullscreen_rows {
  background-color: #ffffff;
}

.page-template-page-report #header-outer[data-permanent-transparent="false"] {
  height: 78px;
  padding-top: 16px !important;
  background-color: #ffffff;
}

.page-template-page-report
  #header-outer.transparent.dark-slide
  > header#top
  nav
  > ul
  > li
  > a {
  color: #002f6c !important;
}

html[data-template="report"] {
  height: 100% !important;
}

.page-template-page-report,
.page-template-page-report .at-content,
.page-template-page-report .container-wrap,
.page-template-page-report .report-container {
  background-color: #ffffff;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

header#top .sf-menu li ul:not(.social-main-nav) li.sfHover > a:focus {
  background-color: #002f6c !important;
  color: #fff !important;
  outline: 0;
}

@supports (-webkit-touch-callout: none) {
  .page-template-page-report #frame-container {
    -webkit-overflow-scrolling: none;
    overflow: hidden;
  }
}

@media only screen and (max-width: 470px) {
  .icon-close.calendar-close {
    right: 1rem;
    position: absolute;
  }
  body .row.portfolio-items.masonry-items.infinite_scroll {
    margin-left: 0;
    left: 0;
    width: 100vw;
  }

}

@media only screen and (min-width: 690px) and (max-width: 1000px) {
  .col.span_4.search-themes,
  .col.span_4.content {
    width: 48%;
  }
}
@media only screen and (max-width: 690px) {
  .faw-footer-link {
    position: relative;
    margin-right: 0;
  }
  .faw-footer-link.legal {
    position: relative;
    margin-left: 0;
  }
  #footer-outer p {
    text-align: center;
  }
  #footer-outer .col {
    margin-bottom: 15px;
  }
  .faw-footer-links.todo {
    text-align: center;
  }
  .projects .excerpt p {
    font-size: 200%;
    line-height: 150%;
  }
  .cosa-facciamo .search-show-results {
    display: none !important;
  }
  /*   .themes-list-img {
  display: none;
} */
  #themes .divider-wrap:first-child,
  #projects .divider-wrap:first-child {
    display: none !important;
  }
  #themes.wpb_row {
    margin-bottom: 0;
  }
  body.single-portfolio #page-header-bg:not(.fullscreen-header) {
    min-height: 140px !important;
  }
  body .vc_row-fluid .wpb_column.project-img {
    width: 100%;
    margin-right: 0px !important;
    margin-left: 0px;
    margin-bottom: 5px;
  }
  .projects-list li {
    padding-top: 0;
    padding-bottom: 0;
  }
  .wpb_row .span_12 > .col.padding-1-percent.project-description {
    padding: 0 !important;
  }
  body .portfolio-items .col.elastic-portfolio-item.regular .inner-wrap:before {
    content: "";
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding-bottom: 100%;
  }
  body.single-post .container-wrap,
  body.search .container-wrap {
    padding-bottom: 0;
    margin-top: 0;
    padding-top: 0px;
  }
}

@media only screen and (max-width: 320px) {
  .portfolio-items .tile-description {
    padding-left: 15px;
    top: 15px;
  }
  body .portfolio-items[data-ps="8"] .col .work-info .vert-center {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
  }
  .calendar-tile-day {
    font-size: 6rem;
  }
}
@media screen and (min-width: 1000px) {
  .bilancio-sociale #header-outer.transparent header {
    opacity: 1;
    pointer-events: all;
  }
  #header-outer.transparent header {
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
  }
  #header-outer.transparent {
    pointer-events: none;
  }
  body.single-post #header-space,
  body.single-portfolio #header-space {
    display: block;
  }
  html body.single-portfolio #sidebar.fixed-sidebar, html body.single-portfolio #sidebar {
    width: 25.5%;
    max-width: 292px;
  }
}
@media only screen and (max-width: 1300px) and (min-width: 1000px) {
  body .portfolio-items:not(.carousel) .col .work-item.style-2 i {
    line-height: 100% !important;
    height: auto !important;
    width: auto !important;
    font-size: 250% !important;
  }
}
@media screen and (min-width: 1600px) and (max-width: 1700px) {
  body .portfolio-wrap p.calendar-tile-date {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 470px) {
  body .portfolio-items .elastic-portfolio-item img,
  .masonry.meta_overlaid
    article.post.wide_tall
    .content-inner
    .post-featured-img
    img {
    min-height: 345px !important;
  }
}
