/*
Theme Name: Tassinari/Vetta
Theme URI: http://underscores.me/
Author: Martino Stenta
Author URI: http://noiza.com
Description: Il tema WP per Tassinari/Vetta
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tassinari_vetta
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Tassinari/Vetta is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
    ## Links
    ## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
    ## Comments
# Infinite scroll
# Media
    ## Captions
    ## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
    font-variant-numeric: proportional-nums;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

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

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-family: NeueHaasUnicaPro-Italic, sans-serif;
    /*font-style: italic;*/
}

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

mark {
    background: #ff0;
    color: #111;
}

small {
    font-size: 80%;
}

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

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

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

pre {
    overflow: auto;
}

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

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #111;
    font-family: NeueHaasUnicaPro-Regular, sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 21px;
    line-height: 27px;
}
body strong,
body b {
    font-family: NeueHaasUnicaPro-Bold, sans-serif;
    font-weight: normal;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: NeueHaasUnicaPro-Regular, sans-serif;
    font-weight: normal;
    font-style: normal;
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
    font-family: NeueHaasUnicaPro-Italic, sans-serif;
    /*font-style: italic;*/
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    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;
    font-size: 15px;
    font-size: 0.9375rem;
}

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

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

big {
    font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

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: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

figure {
    margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

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, .8);
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
}

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

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    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;
}

select {
    border: 1px solid #ccc;
}

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;
}

textarea {
    width: 100%;
}




/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}

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

.hentry {
    margin: 0;
}

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

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 40px 0 0;
}

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

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/*--------------------------------------------------------------
## 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-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}
.gallery-item img {
    display: block;
}

.gallery-columns-2 .gallery-item {
    max-width: calc(50% - 20px);
}
.gallery-columns-2 .gallery-item:nth-child(2n) {
    margin-left: 40px;
}

.gallery-columns-3 .gallery-item {
    max-width: calc(33.33% - 27px);
    margin-right: 40px;
}
.gallery-columns-3 .gallery-item:nth-child(3n) {
    margin-right: 0;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}
figure.gallery-item  {
    margin: 20px 0;
}


/* Custom CSS */
::-moz-selection {
  background: #ffff00;
}

::selection {
  background: #ffff00;
}

.row {
    width: 100%;
}
.row:before, .row:after {
    content: "";
    display: table;
}
.cont {
    width: 100%;
    max-width: 1600px;
    padding: 20px;
    margin: 0 auto;
}
.clear {
    clear: both;
}
.row-project-extra .cont,
.row-office .cont,
.row-page .cont {
    max-width: 1200px;
}
.row-header .cont,
.row-footer .cont,
.row-backtotop .cont {
    max-width: 100%;
    background: white;
}


.jp-carousel-info {
    display: none !important;
}
.jp-carousel {
    bottom: 0 !important;
}


a.tall,
a.square,
.tall figcaption,
.square figcaption {
    width: 60%;
    margin: 0 auto;
}
.tall figcaption 

.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #FF503A;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 2px;
}

/* Header */

body {
    /*padding-top: 125px;*/
    padding-top: 100px;
}
.row-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    /*height: 125px;*/
    height: 100px;
    color: #fff;
    padding-top: 0px;
    z-index: 1000;
    background: white;
    overflow: hidden;
    backface-visibility: hidden;
    text-align: center;
    -webkit-transition: all 0.3s cubic-bezier(0.3, 0.01, 0.3, 1) !important;
    transition: all 0.3s cubic-bezier(0.3, 0.01, 0.3, 1) !important;
    border-bottom: 2px solid #111;
}
.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
}

.main-navigation ul {
    list-style: none;
    margin: 8px 0 8px;
    padding-left: 0;
    -webkit-transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1) !important;
    transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1) !important;
}

.main-navigation li {
    float: left;
    position: relative;
}

.main-navigation a {
    display: block;
    font-size: 42px;
    line-height: 44px;
    margin-left: 40px;
}
.scrolling .row-header {
    box-shadow: 0 4px 14px 1px  rgba(0,0,0,0.15);
}
.img-project-archive img {
    box-shadow: 4px 4px 14px 1px  rgba(0,0,0,0.15);
    max-width: 375px;
}


.no-top .row-header, .no-top #responsive-menu-pro-button {
    /*top: -114px !important;*/
    /*height: 105px;*/
    height: 80px;
}
.no-top .row-header .main-navigation ul {
    margin: 0;
}
.nav-down.no-top .row-header {
    top: 0 !important;
}

.site-branding {
    float: left;
    width: 232px;
}
.main-navigation {
    float: left;
    width: calc(100% - 232px);
    clear: none;
}

h1.site-title span {
    text-indent: -9999px;
    display: block;
    height: 0;
}
h1.site-title {
    margin: 0;
}
h1.site-title,
h1.site-title svg {
    width: 232px;
    height: 57px;
    fill: #111;
}
h1.site-title,
h1.site-title svg path,
h1.site-title svg polygon,
h1.site-title svg .tv-m {
    /*-webkit-transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1) !important;
    transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1) !important;*/
}
/*h1.site-title svg .tv-m {
    fill: #111 !important;
}*/
h1.site-title a {
    background-image: none;
}
.svg-link {
    display: block;
}
.fake-link:hover {
    cursor: pointer;
}
.fake-link:hover svg {
    fill: #FF503A;
}
h1.site-title:hover svg .tv-m  {
    fill: #FF503A !important;
}
.main-navigation .menu {
    float: right;
}
.nav-down.no-top .row-header h1.site-title svg .tv-s,
.nav-up.no-top .row-header h1.site-title svg .tv-s {
    fill: white;
}

/* FFTV: animazione V logo 
@media all and (min-width: 500px) {

.nav-down.no-top .row-header h1.site-title svg .tv-h, .nav-up.no-top .row-header h1.site-title svg .tv-h    {
    transform: translateX(-520px);
    transition: transform 0.2s ease;
}

}
*/

a.cta,
label.cta {
    display: inline-block;
    border: 2px solid #111;
    text-decoration: none !important;
    padding: 3px 5px 2px;
    background-image: none !important;
    background-color: white;

}
a.cta:hover,
label.cta:hover {
    background: #111;
    color: white;
}
a.cta:active,
label.cta:active,
input:checked + label.cta {
    background: #FF503A;
    color: #fff;
    border: 2px solid #FF503A;
}
.gallery-item a:hover {
    background-image: none;
}

/* Typo */

h2 {
    font-size: 42px;
    line-height: 44px;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #111;
    text-decoration: none;
    background-image: linear-gradient(to bottom,rgba(17,17,17,1) 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 105%;
}

a:visited {
    color: #111;
}

a:hover {
    text-decoration: none;
    background-image: none;

}

a:active {
    color: #FF503A;
}

a:focus {
    outline: none;
}

a:active {
    outline: 0;
}
.tabs ul li a {
    text-decoration: none;
    background-image: none;

}
.site-footer div a,
.tabs ul li.active a,
.tabs ul li a:hover {
    text-decoration: none;
    background-image: linear-gradient(to bottom,rgba(17,17,17,1) 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 105%;
}
.tabs ul li.active a:active,
.tabs ul li a:active {
    text-decoration: none;
    background-image: linear-gradient(to bottom,#FF503A 50%,rgba(0,0,0,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 105%;
}

.site-footer div a:hover {
    background-image: none;
}

.main-navigation a {
    background-image: none;
}
.main-navigation a:hover {
    text-decoration: none;
    background-image: linear-gradient(to bottom,rgba(17,17,17,1) 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px .1em;
    background-position: 0 105%;
}
.main-navigation a:active {
    text-decoration: none;
    background-image: linear-gradient(to bottom,#FF503A 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px .1em;
    background-position: 0 105%;
}
.gallery-item a {
    background-image: none;
    display: block;

}
.main-navigation .current_page_item a {
    color: #FF503A;
}
.main-navigation .current_page_item a:hover {
    text-decoration: none;
    background-image: linear-gradient(to bottom,#FF503A 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px .1em;
    background-position: 0 105%;
}

/* Footer */

.row-backtotop {
    text-align: center;
    margin-top: 40px;
}
.row-backtotop .cont {
    padding-top: 0;
    padding-bottom: 0;
}
.row-backtotop {
    text-align: right;
}
/*.page-template-page-archive #return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}*/
#return-to-top {
    width: auto !important;
    visibility: hidden;
}


.over-1k a#return-to-top {
    visibility: visible;
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 4px 14px 1px  rgba(0,0,0,0.15);
    background-color: #fff;
}
@media (hover: hover) {

    .over-1k a#return-to-top:hover {
        background-color: #111;
        color: #fff;
    }
    .over-1k a#return-to-top:active {
        background-color: #FF503A;
        color: #fff;
    }
}

.over-1k #return-to-top.b2t-end {
    position: relative;
    box-shadow:none;
    bottom: 0;
    right: 0;
    
}
.row-footer {
    border-top: 2px solid #111;
    margin-top: 20px;
}

.site-footer div {
    float: left;
}

.site-footer div.social-buttons {
    float: right;
    width: 140px;
    text-align: right;
}
.site-footer div.social-buttons a {
    margin-bottom: 8px;
}

.site-info {
    width: 33.3%;
}
.copy-info {
    width: calc(66.3% - 140px);
}

.cli-plugin-button, .cli-plugin-button:visited {
    border: none;
    border-radius: 0;
    text-shadow: none !important;
    margin: 0;

}
#cookie-law-info-bar {
    padding: 20px;
    font-size: 21px;
    line-height: 27px;
    text-align: left;
    position: relative;
    background-color: #111 !important;
}
#cookie_action_close_header {
    float: right;
    font-size: 21px;
    line-height: 31px;
    font-weight: normal;
    padding: 4px 5px 3px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
#cookie-law-info-bar span {
    padding: 6px 0 5px;
    display: block;
    margin-right: 50px;
}
.cli-plugin-main-link {
    background-image: linear-gradient(to bottom,rgba(255,255,255,1) 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 100%;
    text-decoration: none;
}
/* Office */

.row-office .tabs {
    padding-top: 20px;
}
.row-office .tabs.tabs2 {
    padding-top: 0;
}

h1,
h2 {
    font-size: 42px;
    line-height: 44px;		/* FFTV: era line-height: 50px; */
}
.office-text {
    font-size: 42px;
    line-height: 50px;
}

.office-text p {
    margin: 10px 0;
}
.office-photo {
    margin: 40px 0;
}
.office-photo img {
    float: left;
    width: calc(50% - 20px);
}
.office-photo img:first-child {
    margin-right: 40px;
}
.office-left,
.office-right {
    float: left;
    width: calc(50% - 20px);
}
.office-info h2 {
    margin-top: 0;
    padding-top: 40px;
}
.office-left {
    margin-right: 40px;
}
.collab p {
    margin-top: 0;
}
.collab a {
    cursor: pointer;
}

.office-left a.cta {
    margin-right: 10px;
}
.office-text-small p {
    margin-bottom: 0;
}
.social-link {
    margin-bottom: 40px;
    display: block;
}

/* Tabs lang */
.tabs ul {
    list-style-type: none;
    margin: 0 0 5px 0;     /* FFTV: era margin: 0; */
    padding: 0;
}
.tabs ul li {
    display: inline-block;
}

.tabs ul li + li:before {
    display: inline-block;
    content: '/';
    padding-right: 2px;
}

/* Project Page */

.row-project-hero .cont {
    padding: 0;
    max-width: 100%;
    height: calc(100vh - 100px); /* FF: era height: 70vh; */
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
}
.project-text-left,
.project-text-right {
    float: left;
    width: calc(50% - 20px);
}
.project-text-left {
    margin-right: 40px;
}
.project-text-left h2 {
    margin-top: 0;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #111;
}
.project-text-right p {
    margin: 0 0 20px;       /* FFTV: era margin: 0 0 40px; */
}
.project-spec {
    width: 100%;
    font-size: 21px;
    line-height: 30px;      /* FFTV: era 34px; */
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #111;
    float: left;
}
.project-spec-line {
    float: left;
    width: 100%;
    margin-top: 8px;        /* FFTV: aggiunta */ 
}
.project-spec-line:first-child  {
    margin-top: 0px;        /* FFTV: aggiunta */
}
.project-label {
    float: left;
    width: 120px;
}
.project-data {
    float: left;
    width: calc(100% - 120px);
}
.project-extra {
    padding-bottom: 10px;
    border-bottom: 2px solid #111;
}
.project-extra p {
    margin: 0;
}

.row-project-extra .cont {
    padding-top: 0;
    padding-bottom: 0;
}
.wp-caption-text {
    font-size: 10px;
    line-height: 14px;
    text-align: left;
    
}

.embed-container { 
    position: relative; 
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-area {
    margin: 20px 0;
}
.embed-container:not(:last-child) {
    margin-bottom: 40px;
}

.related-projects {
    background: #111;
    color: white;
    margin-top: 20px;
}
.related-projects .cont {
    max-width: 1200px;
}
.related-projects a h3 {
    color: white;
    margin-top: 0;
    font-size: 21px;
    line-height: 27px;
}
.related-posts a h4 {
    color: white;
    margin: 10px 0 0;
    padding: 0;
    font-size: 21px;
    line-height: 27px;
}
.related-posts li a:active h3,
.related-posts li a:active h4 {
    color: #FF503A;
}
.related-posts li a:hover h3 span, .related-posts li a:hover h4 span {
    background-image: linear-gradient(to bottom,rgb(255,255,255) 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 105%;
}
.related-posts li a:active h3 span, .related-posts li a:active h4 span {
    background-image: linear-gradient(to bottom,#FF503A 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 105%;
}
.single-progetto .row-backtotop {
    display: none;
}
.single-progetto .row-backtotop.row-backtotop-sp {
    display: block;
}
.single-progetto .row-footer {
    margin-top: 0;
}
.related-posts img {
    display: block;
}

.related-posts ul li {
    float: left;
    width: 100%;
    margin-left: 40px;
}
.related-posts ul li {
    width: calc(33.33% - 27px);
}

.related-projects h2 {
    margin-top: 15px;
}

/* Menu mobile */

.row-menu-mobile,
.menu-slide-button {
    display: none;
}

.hamburger {
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
    outline: none;
}

.hamburger-box {
    width: 30px;
    height: 22px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 2px;
    background-color: #111;
    border-radius: 0;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}
.hamburger:hover .hamburger-inner,
.hamburger:hover .hamburger-inner::before,
.hamburger:hover .hamburger-inner::after {
    background-color: #FF503A;
}
.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before {
    top: -10px;
}
  .hamburger-inner::after {
    bottom: -10px;
}

/* * Squeeze */
.hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}
.hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--squeeze.is-active .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}
.hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}



/* Archive Page */

.row-archive .cont {
    max-width: 100%;
    padding: 20px;
}
.archive-table {
    /*border-collapse:separate;*/
    border-spacing:10px 0;
    font-size: 21px;
    line-height: 34px;
    margin-bottom: 20px;
}
.archive-table td {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}
.archive-table thead th  {
    /*border-bottom: 2px solid #111;*/
    text-align: left;
    cursor: pointer;
    font-weight: 400;
}
.archive-table thead th span {
    border-bottom: 2px solid #111;
    display: block;
    width: calc(100% - 10px);
}
.archive-table thead th.headerSortUp span {
    background-image: url(img/DOWN_BIG.svg);
    background-repeat: no-repeat;
    background-position: center right;
    -webkit-background-size: 17px auto;
    background-size: 17px auto;
}
.archive-table thead th.headerSortDown span {
    background-image: url(img/UP_BIG.svg);
    background-repeat: no-repeat;
    background-position: center right;
    -webkit-background-size: 17px auto;
    background-size: 17px auto;
    
}

.archive-table thead th.archive-client span {
    width: 100%;
}
.archive-table thead th.spacer {
    width: 10px;
    border-bottom: none;
}
.archive-date {
    width: 5%;
}
.archive-title{
    width: 27%;
}
.archive-subject {
    width: 27%;
}
.archive-client {
    width: 14%;
}
.archive-category {
    width: 27%;
}

.archive-table a {
    background-image: none;
    font-family: NeueHaasUnicaPro-Bold, sans-serif;
    font-weight: normal;
    font-style: normal;
}
.archive-table tr.active-row:hover {
    cursor: pointer;
}
.archive-table tr.active-row a {
    line-height: 30px;
}
.archive-table tr.active-row span {
    text-decoration: none;
   /* background-image: linear-gradient(to bottom,rgba(17,17,17,1) 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;*/
    /*background-size: 2px 2px;
    background-position: 0 105%;*/
    background-size: 2px 4px;
    background-position: 0 100%;
}
.archive-table tr.active-row:active span {
    /*background-image: linear-gradient(to bottom,#FF503A 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;*/
    /*background-size: 2px 2px;
    background-position: 0 105%;*/
    background-size: 2px 4px;
    background-position: 0 100%;
    color: #FF503A;
}
.img-project-archive {
    position: absolute;
    display: none;
}
.archive-table tr:hover .img-project-archive {
    display: block;
}
.archive-table tr .img-project-archive:hover {
    display: none !important;
}

.archive-table thead tr th span {
    margin-bottom: 10px;
}


/* News Page */

.row-news .cont,
.row-project-extra .cont {
    max-width: 1200px;
}
.row-project-intro .cont {
    max-width: 100%;
}
.all-news {
    margin: 20px 0;
}
.news-box {
    border: 2px solid #111;
    margin-bottom: 20px;
    margin-top: 20px;
}


.news-date {
    background: #111;
    color: #fff;
    padding: 0 10px;
}
.news-inner {
    padding: 20px;
}
.news-inner p {
    margin: 0 0 20px;       /* FFTV: era margin: 0 0 40px; */
}
.external-link {
    margin-bottom: 30px;
}
.external-link a {
    border: 2px solid #FF503A;
    text-decoration: none;
    background-image: none;
    color: #FF503A;
    display: inline-block;
    line-height: 33px;
    padding: 0 5px;
    margin-bottom: 10px;
}
.external-link a:hover {
    background-color: #FF503A;
    color: white;
}
.external-link a:active {
    background-color: #111;
    color: white;
    border-color: #111;
}
.external-link .single-link:not(:last-child) {
    margin-right: 8px;
}
.single-link {
    display: inline-block;
}
.news-date {
    line-height: 35px;
}
.news-box h2 {
    margin: 0;
    font-size: 42px;
    line-height: 44px;
    padding: 20px;
}
.news-inner img {
    display: block;
    width: 100%;
}
.news-body-img,
.news-img {
    width: calc(50% - 20px);
}
.news-img-mobile {
    display: none;
}
.news-img {
    float: right;
}
.news-body-img {
    float: left;
    margin-right: 40px;
}

.news-inner input[type=checkbox] {
   display: none;
}


/* Default State */
.share-news-link {
    opacity: 0;
    /*-webkit-transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1) !important;
    transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1) !important;*/
}

/* Toggled State */
.news-inner input[type=checkbox]:checked ~ .share-news-link {
    opacity: 1;
}

label.cta {
    margin-right: 18px;
    cursor: pointer;
}

.share-news-link a:first-child {
    margin-right: 8px;
}

/*.fancybox-toolbar {
    display: none;
}*/
.fancybox-arrow {
    width: 39px !important;
}
.fancybox-arrow:after {
    background-image: url(img/SLIDE_DX.svg) !important;
    background-color: transparent !important;
    -webkit-background-size: 14px 23px !important;
    background-size: 14px 23px !important;

}
.fancybox-bg {
    background-color: white !important;
}
.fancybox-is-open .fancybox-bg {
    opacity: .85 !important;
}
.fancybox-button {
    background-color: transparent !important;
    background-image: url(img/CLOSE_BIG.svg) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}
.fancybox-button:before,
.fancybox-button:after {
    display: none !important;
}
.fancybox-show-nav .fancybox-arrow {
    opacity: 1 !important;
}
.back-to-news {
    text-align: right;
}

/* Filtri */

.row-search-bar .cont,
.row-filters .cont {
    max-width: 100%;
}
.filters {
    position: relative;
}
.filters label {
    vertical-align: top;
}

.filters input[type=checkbox] {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
.filter-buttons {
    display: none;
}
.filters input[type=checkbox]:checked ~ .filter-buttons {
    display: inline-block;
    vertical-align: top;
}
.filter-buttons div {
    display: inline-block;
    vertical-align: top;
    margin-right: 8px;
}
.filter-buttons ul {
    display: none;
    left: 0;
    top: 50px;
    margin: 0;
    list-style-type: none;
    padding: 0 0 20px;
    position: absolute;
}
.filters input[type=checkbox]:checked ~ .filter-buttons input[type=checkbox]:checked ~ ul {
    display: block;
}

.filters-options div {
    display: none;
}
.filters-options {
    clear: both;
}
.filters-options div.categorie {
    /*margin-left: 96px;*/
    margin-left: 89px;
}
.filters-options div.clients {
    /*margin-left: 221px;*/
    margin-left: 214px;
}
.filters-options div.subjects {
    /*margin-left: 308px;*/
    margin-left: 301px;
}
.filters-options div.location {
    margin-left: 413px;
}
.filters-options div ul {
    margin: 0;
    padding: 20px 0 0;
    list-style-type: none;
    font-size: 21px;/*
    line-height: 34px;*/
    line-height: 27px;
}
.filters-options div ul li {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
    text-decoration: none !important;
    background-image: none !important;
    background-color: white;
}
/*.filters-options div ul li:first-child {
    display: none;
}*/
.filters-options div ul span {
    display: block;
    padding: 3px 5px 2px;
    border: 2px solid #111;
}
.filters-options div ul span,
.filter-buttons a {
    cursor: pointer;
}
.filter-buttons a.cta.active {
    background: #FF503A;
    color: #fff;
    border: 2px solid #FF503A;
}


a#reset {
    border: 2px solid #FF503A;
    text-decoration: none;
    background-image: none;
    color: #FF503A;
    display: inline-block;
    padding: 3px 8px 2px;
    margin-left: 8px;
    vertical-align: top;
    cursor: pointer;
}
 a#reset:hover {
    background-color: #FF503A;
    color: white;
}

.filters-options div ul span:hover {
    /*text-decoration: none;
    background-image: linear-gradient(to bottom,rgba(17,17,17,1) 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 105%;
    display: inline;*/
    background: #111;
    color: white;
}
.filters-options div ul span:active,
.filters-options div ul span.active-filter {
    background: #FF503A;
    color: #fff;
    border: 2px solid #FF503A;
}
.filters-options div ul span:active,
.filters-options div ul span.active-filter {
    /*background-image: linear-gradient(to bottom,#FF503A 50%,rgba(0,0,0,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 105%;
    background-position: 0 105%;
    color: #FF503A;*/
}

.row-search-bar {
    border-bottom: 2px solid #111;
}
.row-search-bar .cont {
    padding: 10px 20px;
}

/* FFTV: search bar sticky */

.row-search-bar {
    position: sticky;
    top: 100px;
    background-color: white;
    z-index: 1000;
    -webkit-transition: all 0.3s cubic-bezier(0.3, 0.01, 0.3, 1) !important;
    -ms-transition: all 0.3s cubic-bezier(0.3, 0.01, 0.3, 1) !important;
    transition: all 0.3s cubic-bezier(0.3, 0.01, 0.3, 1) !important;
}
.nav-down.no-top .row-search-bar, 
.nav-up.no-top .row-search-bar {
    top: 80px;
}
.scrolling .row-search-bar {
    box-shadow: 0 4px 14px 1px  rgba(0,0,0,0.15);
}

/* FFTV: fine search bar sticky */

input#search-key {
    border: none;
    color: #FF503A;
    border-radius: 0;
    width: 100%;
    text-align: center;
    outline: none;
    font-size: 42px;
    line-height: 44px;
}
input#search-key::-webkit-input-placeholder {
    color: #DCE1DC;
}
input#search-key::-moz-placeholder { 
    color: #DCE1DC;  
    opacity: 1;
}
input#search-key:-moz-placeholder { 
    color: #DCE1DC; 
    opacity: 1;
}

input:focus#search-key::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0);
}
input:focus#search-key::-moz-placeholder { 
    color: rgba(255, 255, 255, 0);
}
input:focus#search-key:-moz-placeholder { 
    color: rgba(255, 255, 255, 0);
}

@media not all and (min-resolution:.001dpcm) { @media {

    .row-search-bar .cont {
        padding: 6px 20px;
    }

    input#search-key { 
        line-height: normal; 

    }
}}
.filters .location {
    display: none;
}

.current-filter a,
.current-filter a:hover {
    cursor: default;
    background: #FF503A;
    color: #fff;
    border-color: #FF503A;
}

/* Homepage */

.row-boxes .cont {
    /*max-width: 1220px;*/
    max-width: 2000px;
    padding: 20px 10px;
}
.home-boxes {
    /*display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;*/
    /*max-width: 1220px;*/
    max-width: 2000px;
    margin: 10px auto;
    vertical-align:top;
}
.home-box {
    padding: 10px;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    margin-right: -4px;
}
.home-box .outer-block {
    border: 2px solid #111;
    width: 100%;
}

.home-box-size-1,
.home-twitter,
.home-news {
    width: 25%;
}
.home-box-size-2 {
    width: 50%;
}
.home-box-size-3 {
    width: 75%;
}
.home-box-size-1 .home-box-footer {
    padding: 0;
}
.home-box-size-1 .home-box-footer a {
    display: none;
}
.home-box-size-1.home-news .home-box-footer,
.home-box-size-1.home-twitter .home-box-footer {
    padding-top: 20px;
}
.home-box-size-1.home-news .home-box-footer a,
.home-box-size-1.home-twitter .home-box-footer a {
    display: inline-block;
}

.home-twitter h2 {
    line-height: 40px;
    font-size: 21px;
    color: #111;
    background: white;
}
.home-twitter .inner-block {
    background: #111;
    color: white;
    word-wrap: break-word;
}
.text-twitter {
    margin-top: 25px;
}
.home-twitter a {
    background-size: 2px 2px;
    background-image: linear-gradient(to bottom,rgb(255, 255, 255) 50%,rgba(0,0,0,0) 50%);
    color: white;
    background-color: #111;
}
.home-twitter a:hover,
.home-twitter a:active {
    background-image: linear-gradient(to bottom,#FF503A 50%,rgba(0,0,0,0) 50%);
    color: #FF503A;
}
.home-box li a:hover h3 span,
.home-box li a:hover h4 span  {
    background-size: 2px 2px;
    background-image: linear-gradient(to bottom,rgb(17,17,17) 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 105%;
}
.home-box li a:active h3 span,
.home-box li a:active h4 span {
    background-image: linear-gradient(to bottom,#FF503A 50%,rgba(0,0,0,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 105%;
}

.home-box h2 {
    margin: 0;
    background: #111;
    color: white;
    line-height: 44px;
    padding-left: 20px;
}

.home-box.home-box-size-3 h2, .home-box.home-box-size-2 h2 {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 20px;
}

.home-box.home-box-size-1 h2 {
    line-height: 28px;
    font-size: 21px;
    padding-top: 4px;
    padding-bottom: 3px;
    padding-right: 10px;
}

.inner-block {
    padding: 20px;
}
.inner-block ul,
.related-posts ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
.inner-block ul li {
    float: left;
    width: 100%;
    margin-left: 20px;
}
.inner-block ul li:first-child,
.related-posts ul li:first-child {
    margin-left: 0;
}
.home-box-size-2 .inner-block ul li {
    width: calc(50% - 10px);
}
.home-box-size-3 .inner-block ul li {
    width: calc(33.33% - 13.33px);
}

.home-box-footer {
    clear: both;
    text-align: right;
    padding-top: 20px;
}

.home-box h3 {
    margin: 0;
    padding: 0;
    font-size: 21px;
    line-height: 27px;
}

.home-box h4 {
    margin: 00;
    padding: 0;
    font-size: 21px;
    line-height: 27px;
}
h4.new-project {
    color: #FF503A;
}
.home-box.home-news h3 {
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 25px;
}
.home-box.home-box-size-1 h2,
.home-box.home-news h2,
.home-box.home-twitter h2 {
    padding-left: 10px;
}
.home-box.home-news h2,
.home-box.home-twitter h2 {
    background: white;
    color: #111;
}

.home-box.home-news h2 {
    border-bottom: 2px solid #111;
}
.home-news p {
    margin: 10px 0 0;
}

.home-twitter a.cta {
    border: 2px solid white;
}
.home-twitter a.cta:hover {
    background: white;
    color: #111;
}
.home-twitter a.cta:active {
    color: white;
    background: #FF503A;
    border-color: #FF503A;
}

.home-news li a {
    display: block;
}

.img-project-home img {
    width: 100%;
}

/*.home-news li a:hover span {
    background-size: 2px 2px;
    background-image: linear-gradient(to bottom,rgb(17,17,17) 50%,rgba(17,17,17,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 105%;

}

.home-news li a:active span {
    background-image: linear-gradient(to bottom,#FF503A 50%,rgba(0,0,0,0) 50%);
    background-repeat: repeat-x;
    background-size: 2px 2px;
    background-position: 0 105%;
}
.home-news li a:hover h3 span,
.home-news li a:active h3 span {
    background-position: 0 100%;
}*/

/* 404 */

.error-404 h1 {
    text-align: center;
}
.wrapper-404 {
    background: url(img/red_px.jpg) repeat;
}


.error404 .row-backtotop {
    display: none;
}
.error404 .row-backtotop.row-backtotop-404 {
    /*display: block;
    padding-bottom: 20px;*/
}
.error404 .row-footer {
    margin-top: 0;
}
.row-404 .cont {
    max-width: 1200px;
}

/* Privacy */

h2.border-top {
    border-top: 2px solid #111;
    margin-top: 40px;
    padding-top: 10px;
}


/* BETA */
.beta-version {
    background: #FFFF00;
    color: #111;
    font-size: 15px;
    line-height: 25px;
    text-transform: uppercase;
}
.beta-version .slider{
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0;
}
.slider .edge {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position:absolute;
    height: 100%;
    display:block;
}

.slider ul {
    overflow:hidden;
    width: 1000%;
    margin: 0;
    z-index: 1001;
}
.slider li {
    list-style: none;
    display: block;
    padding: 0 100px;
    color: #111;
    float: left;
}

.page-takeover-subtitle,
.page-takeover-subtitle p {
    margin: 0;
    font-size: clamp(2.625rem, -3.4688rem + 19.5vw, 7.5rem);
    line-height: clamp(2.625rem, -3.4688rem + 19.5vw, 7.5rem);
}

.page-takeover #page-takeover-subtitle-inner {
    font-family: NeueHaasUnicaPro-Regular, sans-serif !important;
}
.page-takeover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    top: 0;
    bottom: auto !important;
    background: linear-gradient(to bottom, #005bbb 50%, #fad403 50%) !important;
    background-image: none;
}
.page-takeover-container {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
}
#page-takeover-title,
#page-takeover-decline {
    display: none !important;
}


/* Media queries */


@media all and (max-width: 1599px) {
    .cont {
        max-width: 1200px;
    }

}

@media all and (max-width: 1199px) {
    .cont {
        max-width: 1000px;
    }
    .archive-date {
        width: 12%;
    }
    .archive-title {
        width: 34%;
    }
    .archive-client,
    .archive-category {
        width: 27%;
    }
    .archive-subject {
        display: none;
    }
    .home-box-size-1,
    .home-twitter,
    .home-news {
        width: 33.33%;
    }
    .home-box-size-2 {
        width: 66.66%;
    }
    .home-box-size-3 {
        width: 100%;
    }
    
}

@media all and (max-width: 999px) {
    .cont {
        max-width: 768px;
    }

    h2,
    .news-box h2,
    h1 {
        font-size: 36px;
        line-height: 40px;
    }
    .main-navigation a,
	.office-text {
        font-size: 36px;
        line-height: 42px;
    }	
    .site-info,
    .copy-info {
        width: 50%;
    }
    .site-footer div.social-buttons {
        clear: both;
        float: left;
        text-align:left;
        margin-top: 40px;
    }
    .project-text-left, .project-text-right {
        width: 100%;
        margin-right: 0;
    }
    .project-text-left {
        margin-bottom: 20px;
    }
    .gallery-columns-2 .gallery-item {
        max-width: calc(50% - 10px);
    }
    .gallery-columns-2 .gallery-item:nth-child(2n) {
        margin-left: 20px;
    }
    .gallery-columns-3 .gallery-item {
        max-width: calc(33.39% - 14px);
        margin-right: 20px;
    }
    .related-posts ul li {
        width: calc(33.39% - 14px);
        margin-left: 20px;
    }
    .gallery-columns-3 .gallery-item:nth-child(3n) {
        margin-right: 0;
    }
    figure.gallery-item,
    .video-area  {
        margin: 10px 0;
    }
    .embed-container:not(:last-child) {
        margin-bottom: 20px;
    }
    .main-navigation {
        display: none;
    }
    .hamburger {
        padding: 20px 10px 0 0;
        -webkit-transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1) !important;
        transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1) !important;
    }
    .no-top .hamburger {
        padding: 10px 10px 0 0;
    }
    .menu-slide-button {
        display: block;
        float: right;
    }
    .row-menu-mobile {
        display: block;
        position: fixed;
        top: 100px;
        -webkit-transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1) !important;
        transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1) !important;
        z-index: 2;
    }
    .no-top .row-menu-mobile {
        /*top: 80px;*/
        top: 80px;
    }
    .nav-up .row-menu-mobile {
        /*top: -248px;*/
    }
    .row-menu-mobile .cont {
        padding: 0;
        max-width: 100%;
    }
    .row-menu-mobile .menu-menu-principale-container ul {
        padding: 0;
        margin: 0;
    }
    .row-menu-mobile .menu-menu-principale-container ul li {
        list-style: none;
        padding: 0;
        margin: 0px 0;
        border-bottom: 2px solid white;
    }

    .row-menu-mobile .menu-menu-principale-container ul li:last-child {
        list-style: none;
        padding: 0;
        margin: 0px 0;
        border-bottom: 0;
    }

    .row-menu-mobile .menu-menu-principale-container ul li a {
        color: white;
        font-size: 36px;
        line-height: 50px;
        display: block;
        padding: 10px 0;
    }
    .row-menu-mobile .menu-menu-principale-container ul li a:hover span {
        text-decoration: none;
        background-image: linear-gradient(to bottom,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 50%);
        background-repeat: repeat-x;
        background-size: 2px 2px;
        background-position: 0 95%;
    }
    .row-menu-mobile .menu-menu-principale-container ul li a:active {
        color: #FF503A;
    }
    .row-menu-mobile .menu-menu-principale-container ul li a:active span {
         background-image: linear-gradient(to bottom,rgba(255,80,58,1) 50%,rgba(255,80,58,0) 50%);
    }
	
    .row-menu-mobile .menu-menu-principale-container ul li.current_page_item a {
        color: #FF503A;
    }
    .row-menu-mobile .menu-menu-principale-container ul li.current_page_item a:hover span {
        text-decoration: none;
        background-image: linear-gradient(to bottom,rgba(255,80,58,1) 50%,rgba(255,80,58,0) 50%);
        background-repeat: repeat-x;
        background-size: 2px 2px;
        background-position: 0 95%;
    }	
	
    .row-menu-mobile .menu-menu-principale-container {
        max-height: 0;
        overflow: hidden;
        float: none;
        text-align: center;
        width: 100%;
        -webkit-transition: max-height 0.5s;
        -moz-transition: max-height 0.5s;
        transition: max-height 0.5s;
        background: #111;
        color: #fff;
    }
    .row-menu-mobile .menu-menu-principale-container.menuOpen {
        max-height: 220px;
        -webkit-transition: max-height 0.5s;
        -moz-transition: max-height 0.5s;
        transition: max-height 0.5s;
        box-shadow: 0px 4px 14px 1px  rgba(0,0,0,0.15);
    }
    .archive-date {
        width: 15%;
    }
    .archive-title {
        width: 45%;
    }
    .archive-category {
        width: 40%;
    }
    .archive-client,
    .archive-subject {
        display: none;
    }
    .img-project-archive img {
        max-width: 250px;       /* FFTV: era max-width: 210px; */
    }
    input#search-key {
        font-size: 36px;
        line-height: 30px;
    }
    .row-search-bar .cont {
        padding: 5px 20px;
    }

/* FFTV: reset search bar sticky */

.row-search-bar {
    position: initial;
}
.nav-down.no-top .row-search-bar, 
.nav-up.no-top .row-search-bar {
    top: initial;
}
.scrolling .row-search-bar {
    box-shadow: initial;
}

/* FFTV: fine reset search bar sticky */

.home-box h2 {
    font-size: 36px;
    line-height: 40px;
}
.home-box.home-box-size-3 h2, .home-box.home-box-size-2 h2 {
    padding-top: 9px;
    padding-bottom: 9px;
    padding-right: 20px;
}
.home-box.home-news h3 {
    font-size: 24px;
    line-height: 26px;
}

.home-box.home-news.home-box-size-1 h3  {
    margin-bottom: 20px;
}

.text-twitter, .meta-twitter    {
    font-size: 17px;
    line-height: 21px;
}

.text-twitter {
    margin-top: 20px;
}
    
@media not all and (min-resolution:.001dpcm) { @media {

        .row-search-bar .cont {
            padding: 5px 20px;
        }

        input#search-key { 
            line-height: normal; 

        }
    }}
    .home-boxes p,
    .home-box h3,
    .home-boxes h4,
    .home-boxes a,
    .related-projects a h3,
    .related-posts a h4 {
        font-size: 17px;
        line-height: 21px;
    }
    .related-projects h2 {
        margin-top: 10px;
    }


}

@media all and (max-width: 767px) {
    body {
        /*padding-top: 80px;*/
        padding-top: 60px;
    }
    .cont {
        max-width: 500px;
        padding: 10px;
    }
    .project-label {
        width: 95px;
    }
    .project-data {
        width: calc(100% - 95px);
    }   
    #cookie-law-info-bar {
        padding: 10px;
    }
    #cookie_action_close_header {
        right: 10px;
    }
    .row-header {
        border-bottom-width: 1px;
    }
    .row-footer {
        border-top-width: 1px;
        margin-top: 20px;
    }
    .news-box {
        margin-bottom: 20px;        /* FFTV: era margin-bottom: 20px; */
        margin-top: 10px;
    }
    .row-header {
        /*height: 80px;*/
        height: 60px;
    }
    .no-top .row-header {
        /*height: 68px;*/
        height: 48px;
    }
    .beta-version {
        font-size: 12px;
        line-height: 20px;
    }
    h1.site-title, h1.site-title svg {
        height: 40px;
        width: 163px;
    }
    a.cta {
        border-width: 1px;
    }
    body,
    #cookie-law-info-bar,
    #cookie_action_close_header {
        font-size: 17px;
        line-height: 21px;
    }
    .tabs2 p {
        margin-bottom: 20px;
    }
    .office-text,
    h2,
    h1 {
        font-size: 24px;
        line-height: 28px;

    }
    .office-photo {
        margin: 20px 0;
    }
    .office-photo img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .office-left, .office-right {
        width: 100%;
        margin-right: 0;
    }
    .office-right {
        padding-top: 20px;
    }
    .site-info,
    .copy-info {
        width: 100%;
        margin: 10px 0;
    }
    .site-footer div.social-buttons {
        clear: both;
        float: left;
        text-align:left;
        margin-top: 30px;
    }
    .project-spec {
        font-size: 17px;
        line-height: 23px;      /* FFTV: era 28px; */
    }
    .project-spec-line  {
        margin-top: 10px;       /* FFTV: aggiunto */
    }
    .project-spec-line:first-child  {
        margin-top: 0px;     /* FFTV: aggiunto */
    }
    .gallery-columns-2 .gallery-item {
        max-width: calc(50% - 10px);
    }
    .gallery-columns-2 .gallery-item:nth-child(2n) {
        margin-left: 20px;
    }
    .gallery-columns-3 .gallery-item {
        max-width: calc(50% - 10px);
        margin-right: 0;
    }
    .gallery-columns-3 .gallery-item:nth-child(2n) {
        margin-left: 20px;
    }
    .row-menu-mobile {
        /*top: 80px;*/
        top: 60px;
    }
    figure.gallery-item,
    .video-area  {
        margin: 10px 0;
    }
    .embed-container:not(:last-child) {
        margin-bottom: 10px;
    }  
    .hamburger {
        padding: 10px 10px;
        -webkit-transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1) !important;
        transition: all 0.3s cubic-bezier(0.7, 0.01, 0.3, 1) !important;
    }
    .no-top .hamburger {
        padding: 4px 10px;
    }
    .no-top .row-menu-mobile {
        /*top: 68px;*/
        top: 48px;
    }
    .row-menu-mobile .menu-menu-principale-container ul li a {
        font-size: 24px;
        line-height: 40px;
    }
    .row-menu-mobile .menu-menu-principale-container ul li {
        border-bottom: 1px solid white;
    }
    a.cta:active, label.cta:active, input:checked + label.cta,
    a.cta, label.cta,
    .external-link a,
    .news-box,
    .project-extra,
    .project-spec,
    .project-text-left h2,
    .filter-buttons a.cta.active,
    .archive-table thead th span,
    a#reset,
    .row-search-bar,
    .home-box .outer-block,
    .home-box.home-news h2,
    .home-twitter a.cta {
        border-width: 1px;
    }
    .external-link {
         margin-bottom: 20px;
    }
    .news-img-mobile {
        display: block;
        margin-top: 20px;

    }
    .news-img {
        display: none;
    }
    .news-body-img {
        width: 100%;
        margin: 0;
    }
    .news-inner,
    .news-box h2 {
        padding: 10px;
    }
    .news-inner p {
        margin-bottom: 15px;        /* FFTV: era margin-bottom: 20px; */
    }
    .row-archive .cont {
        padding: 10px;
    }
    .archive-table {
        font-size: 17px;
        line-height: 28px;
    }
    .filters-options div ul {
        font-size: 17px;
        line-height: 21px;
    }
    .filters-options div ul {
        padding-top: 14px;
    }

    .filters-options div ul li {
        float: left;
        margin-right: 7px;
        margin-bottom: 7px;
        display: inline-block;
        text-decoration: none !important;
        background-image: none !important;
        background-color: white;
    }
    .filters-options div ul li:first-child {
        display: none;
    }
    .filters-options div ul span {
        display: block;
        padding: 3px 5px 2px;
        border: 1px solid #111;
    }

    .filter-buttons a.cta.active {

        border: 1px solid #FF503A;
    }

    .filters-options div ul span:active,
    .filters-options div ul span.active-filter {
        border: 1px solid #FF503A;
    }

    .archive-table thead th {
        border-width: 1px;
        text-align: left;
    }
    .archive-table tr.active-row a {
        line-height: 17px;
    }
    .row-backtotop,
    .all-news {
        margin-top: 40px;       /* FFTV: era margin-top: 10px; */
    }
    .all-news {
        margin-top: 10px; 
    }
    
    /*
    .img-project-archive {
        display: none !important;       FFTV: togliere commento per disattivare anteprime mobile
    }
    */  
    .img-project-archive img {
        max-width: 200px;       /* FFTV: eliminare per disattivare anteprime mobile */
    }
    
    .home-boxes {
        margin-top: 0;
    }
    .row-office .tabs {
        padding-top: 10px;
    }
    .office-info h2 {
        padding-top: 0;
    }
    .project-text-right {
        margin-bottom: 20px;
    }
    .project-text-right p {
        margin-bottom: 0;
    }
    .project-text-right p:not(:last-child) {
        margin-bottom: 15px;        /* FFTV: era margin-bottom: 25px; */
    }
    .wp-caption-text {
        font-size: 8px; /* FFTV: era font-size: 10px; */
        line-height: 12px;  /* FFTV: era line-height: 14px; */
    }
    .page-content, .entry-content, .entry-summary {
        margin-top: 20px;
    }
    .news-box h2 {
        font-size: 24px;
        line-height: 28px;
    }
    .external-link a {
        line-height: 29px;
    }
    .news-date {
        line-height: 30px;
    }
    .external-link .single-link:not(:last-child),
    .share-news-link a:first-child {
        margin-right: 6px;
    }
    label.cta {
        margin-right: 14px;
    }
    .site-footer div.social-buttons a {
        margin-bottom: 6px;
    }
    .filter-buttons div {
        margin-right: 6px;
    }
    .filters-options div.categorie {
        /*margin-left: 79px;*/
        margin-left: 73px;
    }
    .filters-options div.clients {
        /*margin-left: 180px;*/
        margin-left: 174px;
    }
    .filters-options div.subjects {
        /*margin-left: 250px;*/
        margin-left: 244px;
    }
    .filters-options div.location {
        margin-left: 336px;
    }
    input#search-key {
        font-size: 24px;
        line-height: 30px;
    }
    .row-search-bar .cont {
        padding: 2px 20px;
    }
    .archive-table thead th.headerSortUp span {
        background-image: url(img/DOWN_SMALL.svg);
    }
    .archive-table thead th.headerSortDown span {
        background-image: url(img/UP_SMALL.svg);
        
    }
    .home-box-size-1,
    .home-twitter,
    .home-news {
        width: 50%;
    }
    .home-box-size-2 {
        width: 100%;
    }
    .home-box-size-3 {
        width: 100%;
    }
    .home-box-size-3 .inner-block ul li {
        width: calc(50% - 5px);
    }
    .inner-block ul li:nth-child(odd) {
        margin-left: 0;

    }
    .home-box h2 {
        font-size: 24px;
        line-height: 28px;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .inner-block {
        padding: 10px;
    }
    .home-box-size-2 .inner-block ul li {
        width: calc(50% - 5px);
    }
    .inner-block ul li {
        margin-left: 10px;
    }
    .home-box-size-3 .inner-block ul li:not(:last-child) {
        margin-bottom: 15px;
    }
    .row-boxes .cont {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .home-box {
        padding: 10px 5px;
    }
.home-box.home-box-size-1 h2 {
        font-size: 24px;
        line-height: 28px;
        padding-top: 6px;
        padding-bottom: 6px;
}
.home-box.home-box-size-3 h2, .home-box.home-box-size-2 h2 {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 10px;
}
.home-box-size-3 ul li:last-child {
        clear: both;
}

.home-box.home-news.home-box-size-1 h3  {
        margin-bottom: 16px;
}
    
.text-twitter {
        margin-top: 16px;
}
    .related-posts ul li {
        float: none;
        width: 100%;
        margin: 0 0 30px;
    }
    .row-project-hero .cont {
        height: calc(100vh - 60px);  /* FF: non presente in origine  */
    }
    .over-1k #return-to-top {
        bottom: 20px;
        right: 10px;
    }

h2.border-top {
    border-top: 1px solid #111;     /* FF: non presente in origine  */
}   
    
}

@media all and (max-width: 499px) {

    .cont {
        max-width: 320px;
    }
    .no-top .row-header, .no-top #responsive-menu-pro-button {
        top: -114px !important;
    }
    .no-top.nav-up .row-menu-mobile {
        top: -248px;
    }
    .archive-date {
        width: 25%;
    }
    .archive-title {
        width: 75%;
    }
    .archive-category,
    .archive-client,
    .archive-subject {
        display: none;
    }
    .filter-buttons {
        
    }
    .filter-buttons div {
        display: block;
    }
    .filter-buttons div {
        margin-bottom: 6px;
        margin-right: 0;
    }
    a#reset {
        margin-left: 0;
        position: absolute;
        top: 0;
        right: 0;
    }
    .filters-options div {
        margin-left: 0 !important
    }
    .filters-options div ul {
        padding-top: 14px;
    }
    
    .archive-table thead th.archive-title span {
        width: 100%;
    }
    .filters-options {
        /*margin-left: 79px;*/
        margin-left: 73px;
    }
    .home-box-size-1,
    .home-twitter,
    .home-news {
        width: 100%;
    }
    .home-box-size-3 .inner-block ul li,
    .home-box-size-2 .inner-block ul li {
        width: 100%;
        margin: 0;
    }
    .img-project-home img {
        width: 100%;
    }
    .home-box-size-2 .inner-block ul li:first-child {
        margin-bottom: 15px;
    }



}

@media (hover: none) {
    .hamburger:hover .hamburger-inner, .hamburger:hover .hamburger-inner::before, .hamburger:hover .hamburger-inner::after {
        background-color: #111 !important;
    }
    .hamburger:active .hamburger-inner, .hamburger:active .hamburger-inner::before, .hamburger:active .hamburger-inner::after {
        background-color: #FF503A !important;
    }
    a.cta:hover, label.cta:hover {
        background: transparent;
        color: #111;

    }
    a.cta:active, label.cta:active {
        background: #111;
        color: white;
        border-color: #111;
    }
    .external-link a:hover {
        background: transparent;
        color: #FF503A;
    }
    .external-link a:active {
        background-color: #FF503A;
        color: white;
        border-color: #FF503A;
    }
}
