:focus {
    outline: unset !important;
} 
body {
    font-family: 'Montserrat', sans-serif;
}
.grecaptcha-badge {
    display: none !important;
}
/* FONTS
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
h4 {
    margin-bottom: 20px;
}
p, #main ul:not(.slick-dots) li {
    font-weight: 500;
    line-height: 2.2;
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}
p:last-child, 
#main ul li:last-child, 
#bfs-contacts-info.cell .cell-container-inner .left-bord p, 
.event-name h3,
#all-personalized-stand p,
#intro-sample-stand li {
    margin-bottom: 0;
}
h4, a {
    font-weight: 600;
}
strong {
    font-weight: 800;
}
sup {
    vertical-align: super !important;
    font-size: smaller !important;
}
/* Sizes
--------------------------------------------*/
.lesser-font p,
 #main .lesser-font ul li {
    font-size: 14px;
} 
.italic {
    font-style: italic;
}
.def-line-h {
    line-height: 1.6;
}
.small-fonts p,
.small-fonts a{
    font-size: 12px;
    line-height: 1.6;
}
.big-font {
    font-size: 72px;
    line-height: 1;
}
h1 {
    font-size: 60px;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 20px;
}
h3 {
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 0.5em;
    font-weight: 300;
}
.home h1, h2 {
    font-weight: 300;
    color: #373a36;
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.small-boxes h2 {
    font-size: 22px;
    color: #8f8f8f;
    font-weight: 700;
    text-transform: lowercase;
    margin-bottom: 10px;
}
.pretitle {
    font-size: 22px;
    margin-bottom: 1em;
    color: #acacac;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 5px;
}
.info-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: initial;
    margin-bottom: 10px;
}
.stand-zone-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #acacac;
}
.small-title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: initial;
    line-height: 1.4;
    margin-bottom: 0;
}
/* Colors and Font classes
--------------------------------------------*/
.small-fonts p {
    color: #757575;
}
a.standard-color {
    color: initial;
}
.blue-color {
    color: #005587;
}
.white-color h1,
.white-color h2,
.white-color h3,
.white-color h4,
.white-color h5,
.white-color p,
.white-color a {
    color: #fff;
}
.blue-color p {
    color: #005587;
}
.italic-font p {
    font-style: italic;
    font-weight: 400;
}
/* Font Weight
--------------------------------------------*/
.extra-bold {
    font-weight: 900;
}
.bold {
    font-weight: 700;
}
/* Custom Fonts
--------------------------------------------*/
#bfs-works h3.fair-name { /* Home */
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 0;
    margin-bottom: 0;
}
#bfs-works .fair-date p { /* Home */
    text-align: right;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
}
#bfs-services h4 {
    margin-bottom: 0;
    text-transform: uppercase;
    line-height: 1.3;
}
#bfs-services .square-flip p {
    font-size: 14px;
    line-height: 1.6;
}
#last-news .info-title {
    font-size: 24px;
}
#single-news p {
    text-align: justify;
}
/* IUBENDA BUTTON
----------------------------------------------*/
a.iubenda-cs-preferences-link {
    position: fixed;
    top: 50%;
    z-index: 99;
    left: -78px !important;
    border: 1px solid #82898d;
    min-width: 125px;
    background: #82898d !important;
    color: #fff !important;
    padding: 12px 25px;
    font-size: 14px;
    display: inline-block;
    transform: rotate(270deg);
    text-align: center;
    letter-spacing: 1px;
    text-decoration: none !important;
}
/* GENERAL RULES
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
.stripe-container {
    max-width: 1172px;
    margin: 0 auto;
}
.small-container {
    max-width: 960px;
    margin: 0 auto;
}
.align-end {
    display: flex;
    align-items: flex-end;
}
.align-c {
    display: flex;
    align-items: center;
}
.centered-text {
    text-align: center;
}
/* Positions
--------------------------------------------*/
.abs-p {
    position: absolute;
}
.rel-p {
    position: relative;
}
.inh-p {
    position: inherit;
}
.ini-p {
    position: initial;
}
.sti-p {
    position: sticky;
}
.sta-p {
    position: static;
}
.fix-p {
    position: fixed;
}
/* Display
--------------------------------------------*/
.d-block {
    display: block;
}
.d-in-block {
    display: inline-block;
}
.d-flex {
    display: flex;
}
.d-flex-w {
    display: flex;
    flex-flow: wrap;
}
.d-in-flex {
    display: inline-flex;
}
.d-table {
    display: table;
}
.d-none {
    display: none;
}
.d-inh {
    display: inherit;
}
/* Flex position
--------------------------------------------*/
.all-centered {
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}
.just-center {
    justify-content: center;
}
.auto-margin {
    margin: 0 auto;
}
/* Backgrounds
--------------------------------------------*/
.bfs-background {
    background-image: url("https://www.bfservizi.it/wp-content/uploads/background-bfs.jpg");
    background-repeat: no-repeat;
}
.bk-left {
    background-position: left;
}
.bk-center {
    background-position: center;
}
.bk-right {
    background-position: right;
}
.bk-top-right {
    background-position: top-right;
}
.bk-cover {
    background-size: cover;
}
.bk-contain {
    background-size: contain;
}
/* General Structure with divider
--------------------------------------------*/
.divider {
    width: 15%;
    height: 2px;
    margin-top: .8em;
    background-color: #373a36;
}
.with-separator .content-description {
    width: 85%;
    padding-left: 3em;
}
.cell-right .with-separator .content-description {
    padding-left: 0;
    padding-right: 3em;
}
.with-separator.small-boxes .content-description {
    width: 80%;
    padding-left: 1.5em;
}
.small-boxes .divider {
    margin-top: .5em;
    width: 20%;
    height: 3px;
    background-color: #005587;
}
.divider.white-divider {
    background-color: #fff;
}
.cell-content.small-boxes {
    margin-top: 3em;
}

/* Lines spacing
--------------------------------------------*/
.small-spacing {
    padding: 60px 0;
}
.half-spacing {
    padding: 80px 0;
}
.default-spacing {
    padding: 160px 0 0 0;
}
.default-top-spacing {
    padding-top: 160px;
}
.default-spacing-bk {
    padding: 160px 0;
}
.half-spacing-bk {
    padding: 80px 0;
}
.half-top-spacing {
    padding-top: 80px;
}
.half-bottom-spacing {
    padding-bottom: 80px;
}
.small-top-spacing {
    padding-top: 60px;
}
.small-bottom-spacing {
    padding-bottom: 60px;
}
.no-bottom-spacing {
    padding-bottom: 0;
}
.xs-spacing {
    margin-top: 2em;
}
.default-top-margin {
    margin-top: 160px;
}
section:first-of-type {
    margin-top: -26px;
}
.page-template-template-marketing-fieristico section:first-of-type,
.page-template-template-dateci-spazio section:first-of-type  {
    margin-top: 0;
}
/* Widths
--------------------------------------------*/
.half-width {
    max-width: 55%;
}
.half-width-plus {
    max-width: 70%;
}
.half-width-plus-plus {
    max-width: 85%;
}
/* Cell Grids
--------------------------------------------*/
.cell-container {
    position: relative;
}
.cell.wd-60 {
    width: 60% !important;
}
.cell.wd-40 {
    width: 40% !important;
}
.cell.wd-70 {
    width: 70% !important;
}
.cell.wd-30 {
    width: 30% !important;
}
.cell.text-cell.cell-left {
    padding-right: 2em;
}
.cell.text-cell.cell-right {
    padding-left: 2em;
    text-align: right;
}
.double-img .first-img {
    height: 600px;
    width: 75%;
}
.double-img .second-img {
    height: 400px;
    position: absolute;
    bottom: -130px;
    width: 45%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.double-img.cell-img-left .second-img {
    right: 3em;
}
.double-img.cell-img-right .second-img {
    left: 3em;
}
.double-img.cell-img-right .first-img {
    margin-left: 25%;
}
.cell.image-cell .cell-container, 
.cell.image-cell .cell-container-inner, 
.cell.image-cell .cell-content {
    height: 100%;
}
.cell.image-cell img {
    min-height: 30em;
    height: 105%;
}
/* Images
--------------------------------------------*/
.img-fit {
    width: 100%;
    height: 100%;
    object-position: center;
}
.img-fit-cover {
    object-fit: cover;
}
.img-fit-contain {
    object-fit: contain;
}
/* Overlay
--------------------------------------------*/
.overlay {
    position: relative;
}
.overlay:before {
    content: "";
    background-color: #1E212A;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: block;
    opacity: 0.8;
}
/* Rating star
--------------------------------------------*/
.star-rating .star-full:before {
    content: "\f005";
    font-weight: 700;
}
.star-rating .star-half:before {
    content: "\f089";
}
.star-rating .star-empty:before {
    content: "\f005";
}
.star-rating .star {
    color: #FEB40D;
    display: inline-block;
    font-family: 'font awesome 5 free';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-decoration: inherit;
    vertical-align: top;
    width: 20px;
    -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(250, 250, 250, 0.2)));
}
.star-rating .screen-reader-text{
    display: none;
}
/* Buttons
--------------------------------------------*/
.default-button {
    margin-top: 30px;
}
.default-button a {
    display: inline-block;
    color: #fff;
    padding: 1em 2em;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #005587;
    border: 1px solid #005587;
    min-width: 250px;
    text-align: center;
}
.default-button a.btn-transparent {
    background-color: transparent;
    border: 1px solid #fff;
}
/* Hover and current menu items
--------------------------------------------*/
header .menu:not(#bfservizi-contattaci-button) > li > a:hover, 
header .bf-shop:hover a, 
header .menu > .current-menu-item > a, 
header .current-menu-ancestor > a {
    color: #39b2f9 !important;
}
header .current-menu-ancestor .current-menu-item,
header .menu-item-has-children li:hover {
    background-color: #005587 !important;
}
header .menu > .current-menu-item > a:after, 
header .current-menu-ancestor > a:after,
header .menu-item-has-children > a:hover:after {
    border-top-color: #39b2f9 !important;
}
header .current-menu-ancestor .current-menu-item > a,
header .menu-item-has-children li:hover > a {
    color: #fff !important;
}
.default-button a:hover {
    background-color: #fff;
    color: #005587;
}
a.btn.empty-button:hover {
    background-color: #005587;
    color: #fff;
    border-color: #005587 !important;
}
a.btn, a.btn-transparent {
    transition: 0.2s all ease-in-out;
}
/* Borders
--------------------------------------------*/
.left-bord {
    border-left: 15px solid #005587;
    padding: 2em;
    border-top: 1px solid #dadada;
    border-right: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
}
/* Select input
--------------------------------------------*/
select {
    cursor: pointer;
}
.newsletter-select:before,
.triangle:after,
.main-menu-navigation .menu-item-has-children > a:after {
    display: inline-block;
    cursor: pointer;
    width: 0px;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    position: absolute;
    right: 1em;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
}
.main-menu-navigation .menu-item-has-children > a:after {
    border-top-color: #fff;
    right: unset;
}
/* Scroll to top button
--------------------------------------------*/
button.scroll-to-top {
    position: fixed;
    bottom: -1px;
    right: 1em;
    background: none;
    border: none;
    z-index: 999;
}
button.scroll-to-top .fa {
    color: #fff;
    background: #383836;
    padding: 1em 1.2em;
    font-size: 1.5em;
    box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5);
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}
button.scroll-to-top .fa:hover {
    background: #636363;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.fa-chevron-circle-up:before {
    content: "\f106" !important;
}
/* Slider Dots */
#entry-slider ul.slick-dots {
    max-width: 1172px;
    -webkit-transform: translatex(-50%);
    -moz-transform: translatex(-50%);
    transform: translatex(-50%);
    left: 50%;
    text-align: left;
    bottom: 100px;
}
body .slick-dots li button {
    padding: 0;
    width: 45px;
    height: 8px;
}
body .slick-dots li.slick-active button:before {
    opacity: 1;
    height: 8px;
    margin-top: 0;
}
body .slick-dots li button:before {
    height: 1px;
    background-color: #005587;
    margin-top: 7px;
    width: 45px;
    line-height: unset;
    content: '';
    font-family: unset;
}
body #entry-slider .slick-dots li button:before {
    background-color: #fff;
}
body .slick-dots li {
    width: 45px;
    height: 8px;
    margin-left: 0;
    margin-right: 8px;
}
/* Custom Height */
.full-height {
    height: 100vh !important;
}
/* Cta */
.cta {
    background-size: cover;
    background-position: center;
}
/* Social Share */
.social-share-title h4 {
    margin-bottom: 10px;
}
.social-share-buttons li a {
    font-size: 18px;
    color: #fff;
    background: #383836;
    width: 40px;
    height: 40px;
    margin-right: 0.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}
.social-share-buttons li a:hover {
    opacity: 1;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
li.facebook a {
    background: #3b5998;
}
li.twitter a {
    background: #55acee;
}
li.pinterest a {
    background: #bd081c;
}
li.reddit a {
    background: #ff4500;
}
li.delicious a {
    background: #3399ff;
}
li.stumble-upon a {
    background: #eb4924;
}
li.linkedin a {
    background: #0077b5;
}
li.tumblr a {
    background: #00405d;
}
li.newsvine a {
    background: #00b488;
}
li.evernote a {
    background: #2dbe60;
}
li.mail a {
    background: #ea4335;
}

/* Pagination */
nav.navigation.pagination .page-numbers {
    padding: 10px 10px 0px 10px;
}
nav.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    color: #005587;
    padding-top: 30px;
}
/* AJAX LOADING */
#ajax-section.loading .grid-md-4:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1;
    opacity: 0.6;
    top: 0;
    left: 0;
}
#ajax-section.loading  .grid-md-4{
    position: relative;
}
#ajax-section.loading #filter-block:after {
    content: "";
    background: url(https://www.bfservizi.it/wp-content/uploads/BFS-Loading.gif);
    display: block;
    height: 19px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-top: 20px;
}
/* HEADER
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
header ul li.menu-item { /* Menu Items -> Main Menu and top menu General  */
    align-items: center;
    height: 100%;
    display: inline-flex;
    padding-right: 2.8em;
}
.site-header-container {
    max-width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}
header.site-header a {
    color: #fff;
}
.header-container { /* Default Header Internal Pages */
    background-repeat: no-repeat;
    height: 650px;
    margin-top: -102px;
}
.header-text {
    position: relative;
    margin-top: 30px;
}
/* Top bar
--------------------------------------------*/
.top-bar-navigation {
    display: flex;
}
.menu-top-bar-container,
.menu-top-bar-eng-container,
.menu-pl-top-bar-container,
.menu-top-bar-es-container {
    flex-grow: 1;
    text-align: right;
}
#bfservizi-top-bar {
    height: 100%;
}
#bfservizi-top-bar a {
    font-size: 12px;
}
.bf-shop {
    display: flex;
    align-items: center;
}
.page-template-template-marketing-fieristico i.fas.fa-shopping-cart {
    color: #fff;
}
.wpml-ls-legacy-list-horizontal {
    padding: 0 7px !important;
}
.wpml-ls-legacy-list-horizontal a {
    padding: 0 10px !important;
}
.top-bar {
    padding: 12px 0;
}
/* Sticky Header 
--------------------------------------------*/
.site-header.still-sticky .site-header-container-inner {
    top: -200px;
    position: fixed !important;
    width: 100%;
    left: 0;
}
.site-header.sticky .site-header-container-inner {
    top: 0;
    background-color: #212121;
    padding-bottom: 35px;
    box-shadow: 0 0 20px 0 #212121;
    padding: 0.5em 4em;
    position: relative;
    z-index: 10;    
}
.site-header.still-sticky .top-bar {
    display: none;
}
.site-header-container {
    height: 102px;
}
.site-header.still-sticky .main-menu {
    transform: scale(0.9);
}
.site-header.still-sticky .main-menu-navigation, 
.site-header.still-sticky .header-contact-button.default-button {
    margin-top: 0;
}
.site-header.still-sticky .logo-container {
    -ms-transition: all .3s;
}
.site-header .site-header-container-inner {
    padding: 0;
}
.site-header .site-header-container-inner,
.site-header.sticky .site-header-container-inner {
    -webkit-transition: all .3s, background-color 0s, box-shadow 0s;
    -ms-transition: all .3s, background-color 0s, box-shadow 0s;
    transition: all .3s, background-color 0s, box-shadow 0s;
}
.site-header.still-sticky .main-menu.container .menu {
    position: relative;
}
.site-header.still-sticky .main-menu.container .menu .bf-shop {
    position: absolute;
    right: 2em;
    top: 0;
}
.site-header.still-sticky .logo-container, 
.site-header.still-sticky .header-contact-button {
    width: 190px;
}
/* Main Bar
--------------------------------------------*/
.header-stripe-container {
    display: flex;
    align-items: center;
}
.logo-container, 
.header-contact-button {
    width: 210px;
}
.site-header #logo {
    width: 100%;
}
.main-menu-navigation {
    flex-grow: 1;
    text-align: center;
}
.main-menu-navigation, 
.header-contact-button.default-button {
    margin-top: 15px;
}
.header-contact-button.default-button a{
    min-width: unset;
}
.header-contact-button {
    display: flex;
    justify-content: flex-end;
}
.header-contact-button.default-button ul li a {
    font-size: 14px;
}
.header-contact-button ul li {
    padding-right: 0 !important;
    width: 100%;
}
.menu-main-menu-ita-container ul li.menu-item:last-child {
    padding-right: 0 !important;
}
/* Sub Menu
--------------------------------------------*/
.main-menu-navigation .menu-item-has-children {
    position: relative;
    cursor: pointer;
}
.main-menu-navigation .menu-item-has-children .sub-menu {
    display: block !important;
    padding-top: 1em;
    top: 100%;
    position: absolute;
    width: 250px;
    opacity: 0;
    -webkit-transition: 0.2s all ease-in-out;
    -ms-transition: 0.2s all ease-in-out;
    transition: 0.2s all ease-in-out;
    -webkit-transform: translateY(-10000px);
    -ms-transform: translateY(-10000px);
    transform: translateY(-10000px);
    transition: opacity .2s,margin .2s,-webkit-transform 0s;
    -webkit-transition: transform 0s,opacity .2s,margin .2s;
    -ms-transition: transform 0s,opacity .2s,margin .2s;
    transition: transform 0s,opacity .2s,margin .2s;
    transition: transform 0s,opacity .2s,margin .2s,-webkit-transform 0s;
    -webkit-transition-delay: .2s,.1s,.1s;
    -ms-transition-delay: .2s,.1s,.1s;
    transition-delay: .2s,.1s,.1s;
    z-index: 1;
    cursor: pointer;
}
.main-menu-navigation .menu-item-has-children .sub-menu li {
    display: block;
    padding: 0;
    background-color: #fff;
    border: 1px solid #bfbfbf;
    border-top: 0;
}
.main-menu-navigation .menu-item-has-children .sub-menu li:first-of-type {
    border-top: 1px solid #bfbfbf;
}
.main-menu-navigation .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    -webkit-transition: 0.2s opacity ease-in-out;
    -ms-transition: 0.2s opacity ease-in-out;
    transition: 0.2s opacity ease-in-out;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    -webkit-transition-delay: 0s,0s,0s;
    -ms-transition-delay: 0s,0s,0s;
    transition-delay: 0s,0s,0s;
}
.main-menu-navigation .menu-item-has-children .sub-menu li a {
    font-size: 14px;
    display: block;
    padding: 1em;
    color: #373a36;
    text-align: left;
}
/* Breadcrumbs
--------------------------------------------*/
#breadcrumbs p, #breadcrumbs a {
    font-size: 12px;
    margin: 1em 0 0;
    color: #353535;
    line-height: 1.4;
}
/* SECOND LEVEL HEADER
--------------------------------------------*/
.header-third-level {
    background: #1e212a;
}
.header-third-level .header-container {
    height: auto;
    margin-top: 30px;
    background: #292d3a;
    border-top: 1px solid #373d4c;
}
.header-third-level .small-container {
    max-width: 1172px;
    text-align: left;
    justify-content: flex-start;
    padding: 4em 0;
}
.header-third-level .header-text {
    margin-top: 0;
    color: #fff;
}
.header-third-level .header-text h1 {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 54px;
}
.header-third-level .header-text p {
    color: #fff;
}
/* HOMEPAGE
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
/* Slider Home
--------------------------------------------*/
#entry-slider {
    margin-top: -102px;
}
.slick-dotted.slick-slider {
    margin-bottom: 0 !important;
}
#entry-slider span.bold-title {
    font-weight: 900;
    display: block;
}
#entry-slider .single-entry-slider {
    height: 88vh;
    background-size: cover;
    color: #fff !important;
    position: relative;
    display: flex !important;
    align-items: center;
    background-position: center;
}
#entry-slider .single-entry-slider:before {
    content: "";
    width: 43%;
    height: 100%;
    display: block;
    background-color: #1E212A;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1;
}
#entry-slider .slider-text-container {
    width: 100%;
    position: relative;
    padding-top: 65px;
    opacity: 0;
}
#entry-slider .slick-current .slider-text-container {
    padding-top: 0;
    opacity: 1;
    transition-timing-function: linear;
    transition-duration: 0.2s, 0.2s;
    transition-property: padding-top, opacity;
    transition-delay: 0.4s, 0.4s;
    z-index: 2;
}
#entry-slider .single-entry-slider:after {
    content: "";
    background-color: #1E212A;
    height: 100%;
    width: 100%;
    opacity: 0.4;
    position: absolute;
    z-index: 0;
}
.slider-text-container-inner {
    max-width: 50%;
}

#bfs-intro .home-gallery img {
    height: 790px;
}
#bfs-video iframe {
    width: 100%;
    height: 550px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
}
#bfs-services {
    margin-top: 350px;
    padding-bottom: 80px;
    background-size: cover;
}
#bfs-services #display-services .cell-container-inner {
    top: -260px;
    width: 100%;
    left: 0;
}
#bfs-services #display-services .cell-content {
    margin-left: 2em;
    box-shadow: 0 0 10px;
}
#bfs-services #services-grid .cell {
    height: 260px;
    background-color: #0f0f29;
    background-size: cover;
    background-position: center;
    border: 1px solid;
}
#bfs-services .text-container {
    padding: 0 15px;
}
/* SERVICE FLIP BLOCK */
.square-flip{
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
    -webkit-transform: perspective(1000px);
    -moz-transform: perspective(1000px);
    -ms-transform: perspective(1000px);
    transform: perspective(1000px);
    -webkit-transform-style: preserve-3d; 
    -moz-transform-style: preserve-3d; 
    -ms-transform-style: preserve-3d; 
    transform-style: preserve-3d; 
    position:relative;
}
.square-flip{
    width: 100%;
    height: 100%;
}
.square,.square2{
    width:100%;
    height:100%;
}
.square{
    background-size: cover;
    background-position:center center;
    -ms-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    -webkit-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    overflow: hidden;
    top: 0;
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
}
.square-flip .square{
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    z-index:1;
}
.square-flip.current {
    z-index: 2;
}
.square-flip:hover .square{
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    transform-style: preserve-3d;
}
.square2{
    background-size: cover;
    background-position:center center;
    -ms-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    -webkit-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    overflow: hidden;
    position: absolute;
    top: 0;
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
}
.square-flip .square2{
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    transform: rotateY(180deg);
    transform-style: preserve-3d;
    z-index:1;
}
.square-flip:hover .square2{
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}
.square-container{
    top: 50%;
    -ms-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    -webkit-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    -webkit-transform: translateY(-50%) translateX(0px)  scale(1);
    -ms-transform: translateY(-50%) translateX(0px)  scale(1);
    transform: translateY(-50%) translateX(0px)  scale(1);
    transform-style: preserve-3d;
    z-index: 2;
    position: relative;
    text-align: center;
}
.square-container .text-container img {
    margin-bottom: 10px;
    height: 60px;
    max-width: 100%;
    object-fit: contain;
    padding: 0 2em;
}
.square-flip:hover .square-container{
    -webkit-transform: translateY(-50%) translateX(-650px)  scale(.88);
    -ms-transform: translateY(-50%) translateX(-650px)  scale(.88);
    transform: translateY(-50%) translateX(-650px)  scale(.88);
    transform-style: preserve-3d;
}
.square-container2{
    padding: 20px;
    text-align: center;
    position: relative;
    top: 50%;
    -ms-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    -webkit-transition: transform 0.60s cubic-bezier(.5,.3,.3,1);
    -webkit-transform: translateY(-50%) translateX(650px) translateZ(60px) scale(.88);
    -ms-transform: translateY(-50%) translateX(650px) translateZ(60px) scale(.88);
    transform: translateY(-50%) translateX(650px) translateZ(60px) scale(.88);
    transform-style: preserve-3d;
    z-index: 8;
}
.square-flip:hover .square-container2{      
    -webkit-transform: translateY(-50%) translateX(0px) translateZ(0px) scale(1);
    -ms-transform: translateY(-50%) translateX(0px) translateZ(0px) scale(1);
    transform: translateY(-50%) translateX(0px) translateZ(0px) scale(1);
    transform-style: preserve-3d;
}
.square-flip .overlay:before {
    opacity: 0.5;
}

/* SERVICE FLIP BLOCK END */
#bfs-works .grid-xs-1.grid-md-3.small-spacing,
#uniform.grid-xs-1.grid-md-3.small-spacing {
    padding-bottom: 0;
}
#bfs-works .cell {
    height: 33.3vw;
    background: #000;
}
#bfs-works .cell-content {
    opacity: 0;
    background: rgba(30, 33, 42, 0.55);
    width: 100%;
    height: 100%;
    padding: 2em;
}
#bfs-works .cell-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid #fff;
}
#bfs-works .cell-container:hover .cell-content {
    opacity: 1;
    display: flex;
    align-items: flex-end;
    flex-flow: wrap;
    -webkit-transform: scale(0.85);
    -moz-transform: scale(0.85);
    transform: scale(0.85);
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}
#bfs-works .cell-container-inner {
    width: 100%;
    height: 100%;
}
#bfs-works .cell-container:hover .cell-container-inner {
    background-position: center center;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}
#bfs-works .fair-info {
    width: 100%;
}
.fair-logo {
    padding: 0 2em;
}
.fair-logo img {
    max-width: 100%;
    height: 85px;
    margin-bottom: 2em;
    object-fit: contain;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.5;
}
.partner-logo.fair-logo img {
    -webkit-filter: none;
    filter: none;
    opacity: 1;
}
.fair-logo img:hover {
    -webkit-filter: none;
    filter: none;
    opacity: 1;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#bfs-where-we-work .cell-container,
#partner .cell-container {
    height: 22em;
    border-right: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
}
#bfs-where-we-work .cell:nth-child(3n+3) .cell-container,
#partner .cell:nth-child(3n+3) .cell-container {
    border-right: 0;
}
#bfs-where-we-work .cell:nth-child(1n+4) .cell-container {
    border-bottom: 0;
}
#bfs-where-we-work .grid-md-4 .cell-container {
    border-bottom: 0;
}
#bfs-where-we-work .grid-md-4 .cell:nth-child(3n+3) .cell-container,
#partner .grid-md-4 .cell:nth-child(3n+3) .cell-container {
    border-right: 1px solid #d6d6d6;
}
#bfs-where-we-work .grid-md-4 .cell:nth-child(4n+4) .cell-container,
#partner .grid-md-4 .cell:nth-child(4n+4) .cell-container {
    border-right: 0;
}
#bfs-where-we-work .cell-container-inner,
#partner .cell-container-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: wrap;
    text-align: center;
    padding: 2em;
}
h3.upcoming-fair-name {
    font-size: 20px;
    text-transform: none;
    font-weight: 600;
    letter-spacing: 0;
    margin-bottom: 0;
}
p.upcoming-fair-date {
    line-height: 1.4;
    margin-top: 10px;
}
.single-review img {
    height: 90px;
}
/* NUMBERS */
#bfs-numbers .cell-content {
    padding: 22px;
}
#bfs-numbers .cell-content  p {
    line-height: 1.2;
}
#bfs-numbers .cell-content .count {
    font-size: 50px;
}


/* ARCHIVE ALLESTIMENTI
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
.cell-image {
    width: 100%;
    height: 430px;
    background: #000;
}
#uniform .cell-image {
    height: 320px;
}
.cell-image:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.cell-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
figure {
    width: 100%;
    height: 100%;
}
#not-uniform .cell-container,
#uniform .cell-container {
    padding: 0 2em;
}
#not-uniform .cell:nth-child(2) {
    margin-top: 6em;
}
#not-uniform .cell:last-child {
    margin-top: 12em;
}
#not-uniform .cell:last-child .cell-container,
#uniform .cell:last-child .cell-container {
    padding-right: 0;
    padding-left: 4em;
}
#not-uniform .cell:first-child .cell-container,
#uniform .cell:first-child .cell-container {
    padding-left: 0;
    padding-right: 4em;
}
#stand-type .cell-container-inner {
    height: 44vw;
}
#stand-type .cell-content {
    position: relative;
    max-width: 70%;
    padding-left: 3em;
    padding-top: 4em;
    height: 100%;
}


/* ALLESTIMENTI PERSONALIZZATI
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
/* Filtri
--------------------------------------------*/
#filter-block h4 {
    margin-bottom: 0;
    align-items: center;
    display: flex;
    margin-right: 1em;
    font-size: 18px;
    color: #373a36;
}
#filter-block.small-spacing {
    padding-bottom: 30px;
}
.single-filter-block {
    padding: 0 1em;
    position: relative;
}
.single-filter-block select {
    padding: 1em;
    min-width: 200px;
    width: 100%;
}
.post-type-archive-all_eventi .single-filter-block,
.tax-allestimenti_category .single-filter-block {
    max-width: 230px;
}
.newsletter-select:before,
.single-filter-block.triangle:after {
    right: 2em;
    border-top-color: #a0a0a0;
}
.triangle select,
.triangle option[selected] {
    color: #a0a0a0;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}
.triangle option {
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    color: #373a36;
}
/* Active Filters */
#active-filters {
    margin-top: 20px;
}
#active-filters grid {
    width: 100%;
}
#active-filters p, #active-filters h5, #active-filters .reset-filters p {
    font-size: 13px;
    font-weight: 600;
    margin-right: 1em;
}
#active-filters .reset-filters p, #active-filters p {
    color: #fff;
    padding: 0.5em 1em;
    cursor: pointer;
}
#active-filters p {
    display: inline;
    background-color: #005587;
    font-weight: 400;
}
#active-filters .reset-filters p {
    background-color: #d41212;
}
/* Grid stand personalizzati */
#all-personalized-stand .cell-container-inner {
    height: 25vw;
    border: 1px solid #fff;
}
#all-personalized-stand .cell:nth-child(4n) .cell-container-inner {
    border-right: 0 !important;
}
#all-personalized-stand .cell:first-child .cell-container-inner, #all-personalized-stand .cell:nth-child(4n+1) .cell-container-inner {
    border-left: 0;
}
#all-personalized-stand .cell-content {
    display: flex;
    align-items: flex-end;
    flex-flow: wrap;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 0%, rgba(255,255,255,0) 40%);
}
#all-personalized-stand .fair-info {
    width: 100%;
    padding: 2em;
}
#all-personalized-stand .fair-info h3 {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0;
    margin-bottom: 0;
}
#all-personalized-stand .cell-container-inner.overlay:before {
    opacity: 0;
}
#all-personalized-stand .cell-container-inner.overlay:hover:before {
    opacity: 0.7;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
select option:disabled {
    color: #a0a0a0;
}
/* Contact form
--------------------------------------------*/
.cell-50 {
    width: 50%;
}
.cell-33 {
    width: 33.3%;
}
input.wpcf7-form-control {
    width: 95%;
    padding: 1em 0.5em;
    border: 0;
    border-bottom: 1px solid #a0a0a0;
    margin: 1em 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    opacity: 0.7;
    background-color: transparent;
}
textarea {
    width: 95%;
    height: 100%;
    resize: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 1em;
    background-color: transparent;
    opacity: 0.7;
}
.date-983 input {
    padding-top: 0.7em;
}
#contact-form .acceptance-box.grid {
    flex-flow: nowrap;
    align-items: center;
}
#contact-form .acceptance-box span.wpcf7-form-control-wrap {
    margin-right: 1em;
}
.acceptance-box p {
    line-height: 1.6;
}
#contact-form .acceptance-box.grid p {
    line-height: 1.2;
}
#contact-form input[type="checkbox"],
#contact-cf input[type="checkbox"],
#mf-services-select input[type="checkbox"] {
    background: #e4e4e4;
    border: 1px solid #a0a0a0;
    width: 20px;
    height: 20px;
}
#contact-form input[type="checkbox"]:checked,
#contact-cf input[type="checkbox"]:checked,
#mf-services-select input[type="checkbox"]:checked {
    background-color: #005587;
    box-shadow: none;
    border-color: #005587;
}
html[lang="es-ES"] #contact-form input[type="submit"] {
    margin-bottom: 10px;
    white-space: normal;
}
input.wpcf7-form-control.wpcf7-file {
    font-size: 13px;
    border-bottom: 0;
    padding: 0;
    margin: 0;
    margin-left: 1em;
}
.double.button.grid input {
    width: auto ;
    font-size: 16px;
    min-width: 250px;
    margin: 0;
    font-style: initial;
    line-height: 1;
}
.double.button .default-button {
    margin: 0;
}
.double.button .default-button a {
    padding: 1em 3em;
    font-weight: 600;
}
.double.button.grid {
    margin-top: 3em;
}
#contact-form h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #666;
}
.acceptance-box.grid p {
    font-size: 13px;
}
.acceptance-box.grid {
    margin-top: 0.5em;
}
.grid.nowrap {
    margin-bottom: 1em;
}
/* PREALLESTITI
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
.term-preallestiti #all-personalized-stand .cell-container {
    margin: 1em;
}
.term-preallestiti #all-personalized-stand .cell:nth-child(even) .cell-container {
    margin-right: 0;
}
.term-preallestiti #all-personalized-stand .cell:nth-child(odd) .cell-container {
    margin-left: 0;
}
/* ADVANCED STAND
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
#stand-slider {
    padding-top: 0;
}
.slider-gallery .slick-slide img { /*default slider*/
    height: 600px;
}
.gallery-cell .slider-gallery .slick-slide img {
    height: 850px;
}
#stand-info select {
    padding: 1em;
    width: 100%;
}
.newsletter-select:before,
#stand-year-select.triangle:after {
    border-top-color: #666;
}
#stand-year-select.triangle select, #stand-year-select.triangle option[selected] {
    color: #666;
}
.intro-fair-logo {
    margin-bottom: 40px;
}
.intro-fair-logo img {
    /*width: 100%; */
}
.video iframe, .virtual iframe {
    width: 100%;
    height: 600px;
}
/* MODAL FALLERY */
#adv-stand-04 .modal-boxes .cell h3 {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0;
    margin-bottom: 0;
    color: #fff;
    padding: 20px;
}
#adv-stand-04 .modal-boxes .cell-container-inner {
    height: 15vw;
    display: flex;
    align-items: flex-end;
    width: 100%;
    background-size: cover;
}
#adv-stand-04 .modal-boxes .cell-container {
    width: 100%;
    padding: 2px;
}
#adv-stand-04 .modal-boxes .cell-content {
    display: flex;
    align-items: flex-end;
    flex-flow: wrap;
    height: 100%;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 0%, rgba(255,255,255,0) 40%);
    position: relative;
}
#adv-stand-04 .overlay:before {
    opacity: 0;
}
#adv-stand-04 .cell-container-inner.overlay:hover:before {
    opacity: 0.8;
}
/* MODAL GALLERY */
#adv-stand-04 .modal-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: -10;
    align-items: center;
    justify-content: center;
    display: flex;
    opacity: 0;
}
#adv-stand-04 .modal-gallery.active {
    opacity: 1;
    z-index: 5;
    transition: opacity 0.2s ease-in-out;
}
#adv-stand-04 .modal-gallery .modal-gallery-container {
    width: 100vw;
    height: 100vh;
    /*background-color: #fff;*/
    /*padding: 50px;*/
    position: relative;
    display: flex;
    align-items: center;
}
#adv-stand-04 .modal-gallery h2 {
    font-size: 24px;
    font-weight: 500;
}
#adv-stand-04 .modal-gallery img {
    /*height: 75vh !important;*/
    width: 70vw;
    margin: 0 auto;
    object-fit: contain;
}
.modal-gallery .slick-next {
    right: 50px;
}
.modal-gallery .slick-prev {
    left: 50px;
}
.modal-gallery .slick-prev:before, 
.modal-gallery .slick-next:before {
    font-size: 30px;
}
.modal-gallery .slick-next,
.modal-gallery .slick-prev {
    height: 30px;
    width: 30px;
    z-index: 1;
}

.modal-gallery .slick-track {
    margin: 0 !important;
}
.modal-gallery iframe {
    width: 80vw !important;
    margin: 0 auto !important;
    height: 70vh;
}
.modal-gallery .video-modal,
.modal-gallery .virtual-tour-modal {
    text-align: center;
}
#adv-stand-04 .modal-gallery .close-modal-gallery {
    position: fixed;
    top: 0;
    right: 0;
    padding: 1em 2em;
    background-color: #0f2457;
    cursor: pointer;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    z-index: 9999;
}
#adv-stand-04 .modal-gallery .slick-track {
    display: flex;
    align-items: center;
}
/* STAND PREALLESTITO DETTAGLIO
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
#intro-sample-stand .gallery-cell .slider-gallery .slick-slide img {
    height: 650px;
}
#main #intro-sample-stand li {
    margin-bottom: 0;
}

/* CHI SIAMO
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
#brochures .content-text {
    display: flex;
    justify-content: center;
    flex-flow: wrap;
}
#brochures .default-button {
    margin: 0 1em;
}
.city-img img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 0px solid #005587;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 0 20px #00000073;
}
.city-name h3 {
    margin: 0;
    font-size: 16px;
    text-transform: none;
    margin-top: 15px;
    font-weight: 500;
    letter-spacing: 0;
    max-width: 150px;
}
.city-name p {
    margin-top: 0;
}
#city-01 {
    top: 18em;
    left: 0;
}
#city-02 {
    top: 9em;
    left: 18%;
}
#city-03 {
    left: 38%;
    top: 6em;
}
#city-04 {
    left: 58%;
    top: 0;
}
#city-05 {
    top: 5em;
    left: 79%;
}
#city-06 {
    top: 22em;
    right: 0;
}
#city-07 {
    top: 20em;
    left: 50%;
}

/* PARTNER
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
#partner .grid-md-4 .cell:nth-last-child(1) .cell-container,
#partner .grid-md-4 .cell:nth-last-child(2) .cell-container,
#partner .grid-md-4 .cell:nth-last-child(3) .cell-container,
#partner .grid-md-4 .cell:nth-last-child(4) .cell-container {
    border-bottom: 0;
}
#partner .grid-md-3 .cell:nth-last-child(1) .cell-container,
#partner .grid-md-3 .cell:nth-last-child(2) .cell-container,
#partner .grid-md-3 .cell:nth-last-child(3) .cell-container {
    border-bottom: 0;
}
/* CALENDARIO FIERISTICO
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
#events-table .cell-container-inner {
    margin: 1.5em 1em;
    border: 1px solid #dadada;
}
.event-name {
    padding: 3em 1em;
}
.event-logo {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2em;
    border-bottom: 1px solid #dadada;
}
.event-logo img {
    max-width: 100%;
    height: 85px;
    object-fit: contain;
}
.no-mg {
    margin: 0 !important;
}
.event-button a {
    width: 100%;
    padding: 2em 1em;
}
.bk-blue {
    background-color: #005587;
}
.bk-white {
    background-color: #fff;
}
.bk-lightgrey {
    background-color: #f3f3f3;
}
.bk-darkblue {
    background-color: #1e212a;
}
.tab-pad {
    padding: 1em;
    border-bottom: 1px solid #dadada;
}
/* NEWS
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
.news-image {
    /*height: 25em;*/
    height: 230px;
}
#last-news .news-image {
    height: 35em;
}
#last-news .content-inner,
#news-grid .cell-container-inner {
    margin: 1em;
    border: 1px solid #dadada;
}
#last-news .content-inner {
    margin-top: 0;
}
.news-content {
    padding: 2em;
}
#last-news .news-content {
    padding: 3em;
    border-left: 20px solid #005587;
}
.news-description {
    max-height: 120px;
    min-height: 120px;
    overflow: hidden;
}
#last-news .news-description {
    max-height: 140px;
    min-height: 140px;
}
.read-more {
    margin-top: 1em;
    color: #005587;
}
.news-date p {
    font-weight: 600;
    margin-bottom: 1em;
    line-height: 1.4;
}
#last-news .content-inner:hover, #news-grid .cell-container-inner:hover {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#media-select .half-spacing {
    padding-bottom: 2em;
}
#media-select .default-button {
    margin-top: 0;
    margin-left: 1em;
    margin-right: 1em;
}
#media-select .default-button a {
    width: 100%;
    height: 8em;
    display: flex;
    justify-content: center;
    align-items: center;
}
#media-select .default-button.non-active a {
    opacity: 0.4;
}
#media-select .active a {
    pointer-events: none;
}
#media-select .default-button.non-active a:hover {
    opacity: 1;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
/* Single news */
.post-image img {
    width: 100%;
    height: 35em;
    object-fit: cover;
    margin-bottom: 2em;
}
/* VIDEO
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
.post-type-archive-bfsmedia #video iframe {
width: 100%;
height: 300px;
}
/* COME LAVORIAMO
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
/*.process-structure .cell.image-cell img {
    min-height: unset;
    height: 100%;
}
.process-structure .cell.text-cell.cell-left {
    padding: 4em 4em 4em 0;
}
.process-structure .cell.text-cell.cell-right {
    padding: 4em 0 4em 4em;
    text-align: left;
}*/
.process-img img {
    height: 15em;
    display: flex;
}
.process .info-title {
    position: absolute;
    left: -3em;
    padding: 2em;
    background: #005587;
    min-width: 300px;
    text-align: center;
    color: #fff;
    top: -2em;
}
.process li {
    margin: 1em 0;
    list-style-type: square;
    margin-left: 1em;
}
/*.process li p {
    font-weight: 600;
}
*/
/* CONTATTACI
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
#bfs-contacts-info p:before {
    content: '';
    width: 20px;
    height: 20px;
    background-size: cover;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}
#contact-name p:before {
    background-image: url(https://www.bfservizi.it/wp-content/uploads/iconfinder_user-alt_285645.png);
}
#contact-group p:before {
    background-image: url(https://www.bfservizi.it/wp-content/uploads/iconfinder_user-group_285648.png);
}
#contact-address p:before {
    background-image: url(https://www.bfservizi.it/wp-content/uploads/186394-64.png);
}
#contact-telephone p:before {
    background-image: url(https://www.bfservizi.it/wp-content/uploads/iconfinder_phone_1140318.png);
}
#contact-fax p:before {
    background-image: url(https://www.bfservizi.it/wp-content/uploads/1608694-64.png);
}
#contact-email p:before {
    background-image: url(https://www.bfservizi.it/wp-content/uploads/211737-64.png);
}
#bfs-map.cell {
    padding-right: 1em;
}
#bfs-contacts-info.cell {
    padding-left: 1em;
}
#bfs-contacts-info.cell .cell-container-inner .left-bord * div {
    padding: 1em;
}
#bfs-map * {
    width: 100%;
    height: 100%;
}
#how-reach-us h3:last-of-type {
    margin-top: 2em;
}
#contact-cf input.wpcf7-form-control, #contact-cf textarea {
    width: 100%;
}
#contact-cf #request-information.cell .cell-container {
    margin-right: 1em;
}
#contact-cf #become-partner.cell .cell-container {
    margin-left: 1em;
}
#contact-cf .cell .cell-container {
    padding: 2em;
    background-color: #f3f3f3;
    border: 1px solid #dadada;
}
.page-template-template-contatti #contact-cf .acceptance-box .single-acceptance > p {
    padding-left: 5px;
}
/* MARKETING FIERISTICO DETAIL
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
.mf-son-grid .cell.image-cell img {
    height: 100%;
    min-height: 40em;
}
.mf-son-grid h2 {
    margin-bottom: 0;
}
#mf-beneficts h3 {
    line-height: 1.3;
}
#mf-beneficts i.fas {
    color: #fff;
    font-size: 48px;
    margin-bottom: 20px;
}
#mf-beneficts .cell {
    padding: 0 1em;
}
/* Contact dettaglio marketing */
#mf-services-select span.wpcf7-list-item-label {
    vertical-align: super;
    margin-left: 5px;
}
#mf-services-select span.wpcf7-list-item {
    margin: 0 2em;
    margin: 1em 2em;
}
#mf-services-select span.wpcf7-list-item.first {
    margin-left: 0;
}

#mf-services-select span.wpcf7-list-item.last {
    margin-right: 0;
}
/* Preview stripe PC Tab Mob
---------------------------------------------------*/
#preview * {
  box-sizing: border-box;
}
#preview.container {
  margin: 0px auto;
  position: relative;
}
#preview.container > .screen {
  width: 992px;
  height: 572px;
  margin: 0 auto;
  position: relative;  
  background: #ff6860;
  border: 20px solid #1b1b1b;
  border-radius: 10px;
}
#preview .monitor > div {
  position: absolute;
}
#preview .monitor:before,
#preview .monitor:after,
#preview .laptop:before {
   content: "";
   position: absolute;
   left: 50%;
 }
#preview .monitor:before,
#preview .laptop:before {
  top: -10px;
  margin: -3px 0 0 -3px;
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: #a5adbd;
}
#preview .screen:after {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  bottom: -10px;
  margin: 0 0 -4px -4px;
  background: #e8ebf0;
}
#preview .content {
  width: 100%;
  height: 100%;
  background-color: #fff;
  overflow: hidden;
}
#preview .screen.monitor .content {
    overflow-y: scroll;
    cursor: pointer;
}
#preview .content img {
    width: 100%;
    margin-bottom: -5px;
}
#preview .base {
  width: 116px;
  height: 50px;
  bottom: -70px;
  left: 50%;
  margin-left: -58px;
}
#preview .base:before,
#preview .base:after {
  content: "";
  position: absolute;
  top: 0;
}
#preview .base > div {
   position: absolute;
}
#preview .base,
#preview .foot {
    background: #1b1b1b;
}
#preview .grey-shadow {
  width: 116px;
  height: 12px;
  background: #000;
  top: 0;
}
#preview .foot {
  z-index: 1;
}
#preview .foot.top {
  width: 132px;
  height: 5px;
  bottom: -5px;
  left: 50%;
  margin-left: -66px;
}
#preview .foot.top:before,
#preview .foot.top:after,
#preview .foot.bottom:before {
  content: "";
  position: absolute;
  top: 0px;
}
#preview .foot.top:before {
  border-left: 23px solid transparent;
  border-right: 0px solid transparent;
  border-bottom: 5px solid #1b1b1b;
  left: -23px;
}
#preview .foot.top:after {
  border-right: 23px solid transparent;
  border-left: 0px solid transparent;
  border-bottom: 5px solid #1b1b1b;
  right: -23px;
}
#preview .foot.bottom {
  width: 176px;
  height: 5px;
  bottom: -10px;
  left: 50%;
  margin-left: -88px;
}
#preview .laptop {
  width: 217px;
  height: 330px;
  border: 12px solid #1b1b1b;
  border-radius: 10px;
  position: absolute;
  bottom: -36px;
  right: -27px;
}
#preview .laptop:before {
 top: -6px;
}
#preview .laptop > div {
  position: absolute;
}
#preview .phone {
  width: 100px;
  height: 180px;
  position: absolute;
  bottom: -38px;
  left: -2px;
  border-radius: 5px;
  background: #000;
  border: 20px solid #1b1b1b;
  border-left: 5px solid #1b1b1b;
  border-right: 5px solid #1b1b1b;
}
#preview .phone:before,
#preview .phone:after {
  content: "";
  position: absolute;
  left: 50%;
  background: #474e5d;
}
#preview .phone:before {
  background: #474e5d;
  width: 20px;
  height: 4px;
  margin-left: -10px;
  top: -12px;
  border-radius: 2px;
}
#preview .phone:after {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  bottom: -15px;
  margin-left: -5px;
}
#preview ::-webkit-scrollbar-track,
#full-screen-gallery::-webkit-scrollbar-track,
.image-scrollable::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}
#preview ::-webkit-scrollbar,
#full-screen-gallery::-webkit-scrollbar,
.image-scrollable::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
}
#preview ::-webkit-scrollbar-thumb,
#full-screen-gallery::-webkit-scrollbar-thumb,
.image-scrollable::-webkit-scrollbar-thumb {
    background-color: #000000;
}
 #full-screen-gallery {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.74);
    overflow-y: scroll;
    display: none;
}
 #full-screen-gallery.active {
    display: block;
}
 #full-screen-gallery .close-gallery {
    position: fixed;
    top: 0;
    right: 0;
    padding: 1em 2em;
    background-color: #0f2457;
    cursor: pointer;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}
 #full-screen-gallery img {
    width: 100%;
    opacity: 0;
    transition: 0.5s ease-in-out;
}
 #full-screen-gallery img.active {
    opacity: 1;
    transition: 0.5s ease-in-out;
}
.page-template-template-single-marketing-fieristico #virtual-tour {
    width: 100%;
    height: 500px;
    margin: 65px 0;
}

/* Dateci Spazio
---------------------------------------------------*/
#dt-slider .gallery-single-image-container-inner {
    padding: 0 2px;
    cursor: pointer;
}
#dt-slider .slider-gallery .slick-slide img {
    height: 450px;
}
#dt-slider h2 {
    margin-bottom: 50px;
}
/* FOOTER
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------*/
/* Newsletter
--------------------------------------------*/
#bfs-newsletter .content-title h2 {
    margin-bottom: 5px;
}
.newsletter-container .grid {
    margin-top: 1em;
}
.newsletter-container input.wpcf7-email {
    background: none;
    border: 0;
    /*border-bottom: 1px solid #676767;*/
    border-bottom: 1px solid #ffffff;
    padding: 0.5em;
    width: 100%;
}
.newsletter-container input.wpcf7-email[placeholder] {
    font-style: italic;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #fff;
    font-size: 14px;
}
.newsletter-container  ::-webkit-input-placeholder { 
    color: #fff;
}
.newsletter-container  ::-moz-placeholder { 
    color: #fff;
}
.newsletter-container :-ms-input-placeholder { 
    color: #fff;
}
.newsletter-container :-moz-placeholder { 
    color: #fff;
}
.newsletter-container .grid p:last-child {
    margin-left: 20px;
}
.newsletter-container .wpcf7-form-control-wrap.your-email {
    width: 50%;
    display: flex;
    flex-flow: wrap;
}
.newsletter-select {
    display: inline-block;
    position: relative;
}
.newsletter-select select {
    padding: 10px 100px 10px 10px;
}
.newsletter-select:before {
    z-index: 1;
    right: 12px;
}
#bfs-newsletter form {
    margin-top: 40px;
}
#bfs-newsletter input.wpcf7-form-control.wpcf7-submit {
    background-color: #fff;
    color: #005587;
}
#bfs-newsletter input.wpcf7-form-control.wpcf7-submit:not([disabled]):hover {
    color: #fff;
    background-color: #005587;
}
span.wpcf7-not-valid-tip {
    background: #c52f14;
    color: #fff;
    text-align: center;
    padding: 1em;
    width: 100%;
}
.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok {
    border: 0;
    background: #29c329;
    color: #fff;
    padding: 1em;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 0;
    background: #c52f14;
    color: #fff;
    padding: 1em;
    margin: 1em 0;
}
input.wpcf7-form-control.wpcf7-submit {
    border: 0;
    background: #005587;
    border: 1px solid #005587;
    color: #fff;
    text-transform: uppercase;
    font-family: Montserrat;
    font-weight: 600;
    padding: 1em 3em;
    font-size: 14px;
    min-width: 150px;
    opacity: 1;
    transition: 0.2s all ease-in-out;
}
input.wpcf7-form-control.wpcf7-submit:hover:not([disabled]){
    background: #fff;
    color: #005587;
}
input.wpcf7-form-control.wpcf7-submit[disabled] {
    opacity: 0.7;
}
#contact-us .field {
    display: flex;
    align-items: center;
}
#contact-us .field > label {
    font-weight: 600 !important;
    width: 130px;
    min-width: 130px;
}
#contact-us .field .wpcf7-list-item {
    margin-left: 2em;
    margin-bottom: 5px;
}
#contact-us .field label {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 500;
    opacity: 0.7;
}
#contact-us .content-title .lesser-font {
    font-style: unset;
}
#contact-us  ::-webkit-input-placeholder { 
    color: #a0a0a0;
}
#contact-us  ::-moz-placeholder { 
    color: #a0a0a0;
}
#contact-us :-ms-input-placeholder { 
    color: #a0a0a0;
}
#contact-us :-moz-placeholder { 
    color: #a0a0a0;
}
#contact-us .file-text {
    font-size: 14px;
}

.required-text {
    margin-top: 8px;
}
.newsletter-container input.wpcf7-form-control.wpcf7-submit {
    margin: 0;
}
.acceptance-box {
    margin-top: 1em;
}
span.wpcf7-list-item {
    margin: 0;
}
.acceptance-box span.wpcf7-form-control-wrap {
    display: flex;
    align-items: center;
}
.acceptance-box span.wpcf7-list-item {
    display: flex;
}
.acceptance-box > * {
    margin-bottom: 14px;
    align-items: flex-start !important;
}
.acceptance-box p {
    font-size: 13px;
}
input[type="checkbox"] {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background-color: #fff;
    cursor: pointer;
}
input[type="checkbox"]:checked {
    background-color: #2fffbc;
    box-shadow: inset 0 0 4px 0px;
}
#bfs-newsletter div.wpcf7 .ajax-loader {
    position: absolute;
    margin-left: 1em;
}
#bfs-newsletter div.wpcf7-response-output {
    margin: 1em 0;
}
.newsletter-subscription {
    margin-bottom: 20px;
}
/* Footer rules
--------------------------------------------*/
.footer-cell-big {
    width: 34%;
}
.footer-cell-med {
    width: 26%;
}
.footer-cell-def {
    width: 20%;
}
h4.widget-title {
    margin-top: 45px;
}
.widget-column-inner {
    padding-right: 2em;
}
#page-footer ul li.menu-item {
    width: 100%;
}
footer .social-links .menu li {
    margin: 0;
}
/* 1st Text Widget
--------------------------------------------*/
.footer-widgets .social-links {
    margin-top: 1em;
}
.footer-widgets .social-links a {
    color: #005587;
    font-size: 18px;
    font-weight: 400;
    padding-right: 1.6em;
}
.social-links li a:hover {
    color: #373735;
}
/* 2nd Text Widget
--------------------------------------------*/
#widget-02 .widget-column-inner {
    display: flex;
    flex-flow: wrap;
    height: 100%;
}
#widget-02 div#custom_html-2 {
    display: flex;
    align-items: flex-end;
}
#widget-02 div#custom_html-2 .textwidget a,
#widget-02 div#custom_html-5 .textwidget a,
#widget-02 div#custom_html-6 .textwidget a {
    display: block;
    background: #005587;
    color: #fff;
    padding: 0.5em 1em;
    text-transform: uppercase;
}
/* 4th Text Widget
--------------------------------------------*/
.widget-column:last-of-type .widget-column-inner {
    padding-right: 0;
}
.certifications-container img {
    max-width: 50%;
    width: 100px;
    padding-right: 1em;
    object-fit: contain;
}
.certifications-container img:first-of-type {
    height: 130px;
}
.certifications-container img:last-of-type {
    height: 150px;
}
/* Footer Notes
--------------------------------------------*/
#footer-notes {
    background-color: #1e212a;
    text-align: center;
    padding: 1.2em 0;
}

#footer-notes p,
#footer-notes a {
    font-size: 11px;
    color: #fff;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 0;
}
#footer-notes a {
    text-transform: uppercase;
    font-weight: 600;
}


/* PAGE DEFAULT
***********************************/
.page-template-default #main ol, 
.page-template-default #main ul {
    margin: initial !important;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}
.page-template-default #main ol li,
.page-template-default  #main ul li {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
    line-height: 2.2;
    color: #666;
    font-size: 16px;
    margin-bottom: 0px !important;
}
.page-template-default #main ul {
    list-style: disc;
}
.page-template-default #main ol {
    list-style: decimal;
}

html[lang="en-US"] #mf-vp .default-button {
    display: none;
}