/*
Theme Name: Rebirth Jellythemes - Papion Mod.
Theme URI: http://www.jellythemes.com/themes/rebirth
Author: Jellythemes
Author URI: http://www.jellythemes.com
Description: Rebirth WordPress Theme
Text Domain: rebirth-jellythemes
Version: 1.1
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, theme-options
Template: rebirth-jellythemes-2020

*/

header .navbar-brand {top:0;margin:10px 0;z-index:10;}
header .navbar-brand img {max-height:100%;}

.filters li:first-child:before {display:none;}
.filters {z-index:1000;position:relative;}
.filters {margin:38px 0;}
.filters li:first-child {position: relative; margin-right: 10px;}
body.dark {background-color:#1b1b1b;}
#jHeader {background-color:#131313;z-index:102;}

body.dark .thumbnail {background-color: transparent;}

.thumbnail {padding:5px 5px 6px 5px;cursor:pointer;}
.thumbnail .info-banner h3 {font-size:24px;text-transform:uppercase;font-weight:100;opacity:0}
.thumbnail .tagsinfo {opacity:0}
.thumbnail .info-banner h3,
.thumbnail .tagsinfo {transition: opacity 0.3s;}
.thumbnail .info-banner, .thumbnail:hover .info-banner {background-color:transparent;text-align:left !important; width:calc(100% - 60px); left:30px; height:auto;top:auto;}
.thumbnail:hover .info-banner h3,
.thumbnail:hover .tagsinfo {opacity:1}
.thumbnail .info-banner {bottom:35px !important;}

.info-banner-papion {position:absolute;bottom:25px;left:25px;color:#fff;transition: all 0.3s;}
.info-banner-papion h3 {font-size:24px;text-transform:uppercase;}
.info-banner-papion .tagsinfo {}
.thumbnail {overflow:hidden;}
.thumbnail .info-banner-papion {opacity:0;transition:all 0.3s;will-change: auto;margin-bottom:-30px;}
.thumbnail:hover .info-banner-papion  {opacity:1;margin-bottom:0;}
.thumbnail img {will-change:opacity;opacity:1;transition:opacity 0.4s;}
.thumbnail:hover img {opacity:0.5}


.filters li {
  cursor: pointer;
}
.filters li:after {
  content: "";
  display: block;
  width: 25px;
  height: 1px;
  border-bottom: 2px solid red;
  margin: 0 12px 3px;
  position: absolute;
  left: calc(50% - 25px);
  bottom: -7px;
  border-color: transparent;
  left: calc(50% - 12px);
  -webkit-transition: width .3s ease 0s,left .3s ease 0s;
  -o-transition: width .3s ease 0s,left .3s ease 0s;
  transition: width .3s ease 0s,left .3s ease 0s;
  width: 0;
}
.filters li.is-checked,
.filters li:hover,
.filters li:focus {
  text-decoration: none;
}
.filters li.is-checked:after,
.filters li:hover:after,
.filters li:focus:after {
  width: 25px;
  border-color: red;
  left: calc(50% - 25px);
}

.filters {width:auto;margin-left:auto;display:inline-block;}
.filters-container {text-align:center;}
.filters li {font-size:1.2em !important}
#menu-main-menu {float:right;margin-top:0px;margin-right:15px;}
#menu-main-menu a {font-size:0.75em;}
body.dark .filters li.is-checked:after, body.dark .filters li:hover:after, body.dark .filters li:focus:after {border-color:red !important;}
.filters li.is-checked {color:red !important;}
.filters li.is-checked, .filters li:hover, .filters li:focus {text-decoration:none;}


.filters li:after, .filters li:first-child:after {
    content: "" !important;
    display: block;
    width:  calc(50% - 12px);
    height: 1px;
    border-bottom: 2px solid red;
    margin: 0 12px 3px;
    position: absolute;
    left: calc(50% - 25px);
    bottom: -7px;
    border-color: transparent;
    left: calc(50% - 12px);
    -webkit-transition: width .3s ease 0s,left .3s ease 0s;
    -o-transition: width .3s ease 0s,left .3s ease 0s;
    transition: width .3s ease 0s,left .3s ease 0s;
    width: 0;
}

.filters li:first-child:after {displaY:block;}
.filters li.is-checked:after, .filters li:hover:after, .filters li:focus:after, .filters li:first-child:hover:after {
width: 25px;
    border-color: red;
    left: calc(50% - 25px);
}
.filters li:first-child:after {top:37px;}
.filters-container {position:absolute;left:0;top:0;width:100%;}
.filters-container .filters {margin:28px 0;}
.filters-container {width:360px;left: calc(50% - 180px);}

body {padding-top:120px}

.modal-content{background-color:#000;border-radius:0;}
.modal-body {padding:0;height:450px;}
.modal-body iframe {width:100%;height:100%;}
.modal {
  text-align: center;
  padding: 0!important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.modal-backdrop,.modal-backdrop.in {opacity:0.7 !important}
header.overflow {top:0px !important;}
header.overflow .navbar-brand img {margin-top:0 !important;}
#mask {top:86px;left:0;}
.thumbnail .modalButton:after {
	content:'';
	display:block;
	width:64px;
	height:64px;
	background:url(./images/play_red.png) center center no-repeat;
	background-size: cover;
	position:absolute;
}
.thumbnail .modalButton:after {top:50%;left:50%;z-index:100;margin-left:-32px;margin-top:-32px;will-change:auto;transition:all 0.3s;}
.thumbnail:hover .modalButton:after {transform: scale(1.2);}
.modal-dialog button[data-dismiss] {position:absolute;top:-10px;right:-10px;color:red;border:none;padding:0;font-weight:bold;border-radius:20px;display:inline-block;width:20px;height:20px;line-height:20px;text-align:center;}
.modal-dialog button[data-dismiss]:hover {color:#fff;}

.team-widget {position:relative;}
.team-widget .member {width:15%;height:200px;position:absolute;display:block;z-index:100;text-align:center;}
.team-widget .member h3 {font-size: 1.5em;font-weight:bold;letter-spacing:0.8px;}
.team-widget .member h4 {font-size:1.3em;font-style:italic;margin:8px 0;}
.team-widget .member h3,
.team-widget .member h4 {text-shadow:0 2px 7px rgba(0,0,0,0.8);}
.team-widget-content.widget-content {width:100%;background-color:rgba(0,0,0,0.8);padding:15px;line-height:1.333}

.contact-link {letter-spacing:1.2px;font-size:12px;margin-bottom:15px;vertical-align:middle;line-height:20px;}

.member-column {margin-bottom:50px;text-align:center;}
.member-column h3 {font-size:24px;font-weight:bold;margin-top:10px}
.member-column h4 {font-style:italic;margin:5px 0}

.linkedin-icon
{	background:url(./images/In-2C-94px-R.png) center center no-repeat;
	background-size: contain;
	width: 48px;
	height: 48px;
	display: inline-block;
	cursor: pointer;
}
.navbar-default .navbar-nav.invert > li.active > a:after, .navbar-default .navbar-nav.invert > li.active > a:hover:after, .navbar-default .navbar-nav.invert > li.active > a:focus:after, .navbar-default .navbar-nav.invert > li > a:hover:after, .navbar-default .navbar-nav.invert > li > a:focus:after {
	background-color: transparent;
}
#menu-main-menu a {text-transform:uppercase;letter-spacing:0.1px;}
#menu-main-menu a:hover {color:red;}

.thumbnail > a {display:block;}
.thumbnail .info-banner-papion h3 {max-width:calc(100% - 25px);}
.thumbnail {
  -webkit-transition: none;
  transition:none;
  -webkit-transition: opacity 0.2 ease-in-out;
  transition:  opacity 0.2 ease-in-out;
}

.thumbnail .modalButton:after {width:32px;height:32px;margin-top:-16px;margin-left:-16px;}
.thumbnail .info-banner-papion {width:calc(100% - 25px)}
.brand .wpb_heading {width:100%;text-align:center;padding:20px 0;border-top:1px solid #555;font-size:24px;}
.wpb_image_grid_ul li {
  width:19%;padding:10px 20px !important;text-align:center;vertical-align:middle;display:inline-block;
  height:200px !important;line-height:200px;
}
.wpb_image_grid_ul li img {vertical-align:middle;max-height:200px;height:auto;max-width: 100%;}
.wpb_image_grid .wpb_image_grid_ul img {display:initial !important;}
.wpb_image_grid .wpb_image_grid_ul .isotope-item {margin:0;}

.widget-content.team-widget-content {margin-bottom:30px;background-color:#333;}

#footer-right-sidebar {margin-top:36px;}
#footer-right-sidebar,#footer-right-sidebar ul {list-style:none;text-align:right}
#footer-right-sidebar li {display:inline-block;margin:0 3px;font-size:32px;}
#footer-right-sidebar a {color:#fff;}
footer .voffset30 {padding-bottom:10px !important;}

li.widget.qtranxs_widget,
li.widget.widget_nav_menu
{float:right;clear:both;padding-bottom:30px;}

#jHeader {top:0;}
footer a {color:#fff}
footer div[class*="col-"]:after {display:none !important}

.top-footer-right {position:absolute;bottom:10px;right:15px;}
.top-footer-right a {color:#fff;font-size:18px;}
.top-footer-right ul {margin:0 10px 0 0;padding:0;list-style:none;}
.top-footer-right li {display:inline-block;margin-left:5px;}
.top-footer-right li.widget.widget_nav_menu {padding-bottom:0;}

#footer-right-sidebar-newsletter form {padding:0;}
#footer-right-sidebar-newsletter h3 {text-transform:uppercase;margin-bottom:20px;}
#footer-right-sidebar-newsletter .mc_form_inside .mergeRow {display:none}
#footer-right-sidebar-newsletter .mc_signup_submit {margin-top:20px;color:#fff;}
#footer-right-sidebar-newsletter  input {color:#fff;}
#footer-right-sidebar-newsletter #mc_message {font-size:14px;line-height:1.333;margin-bottom:20px;margin-top:-10px;}
#footer-right-sidebar-newsletter input {height:auto;}


@media screen and (max-width: 1199px)
{
	.team-widget-content.widget-content {font-size:0.8em;}
}

@media (min-width: 1600px) {
	header {top:10px;}
	header.overflow .navbar-brand {height:100%;}
	.navbar-brand {padding-top:0!important}
	header.overflow .navbar-brand img {max-height:67px;margin:0 !important}
}
@media screen and (min-width: 768px) {
	.modal-dialog {width:750px;}
}

@media screen and (max-width:991px) {
	.team-widget .member h3 {font-size: 1.1em;line-height:1}
	.team-widget .member h4 {font-size:1em;margin:2px 0}
	.team-widget .member .linkedin-icon {width:32px;height:32px;}
  .wpb_image_grid_ul li {width:24%;height:150px !important;line-height:150px;padding:20px 10px !important;}
}

@media screen and (max-width: 767px) {
  .navbar-toggle {padding-top:15px; padding-bottom: 15px;}
  #menu-main-menu {width:100%;text-align:center;margin:0;}
  #menu-main-menu li {border-top:1px solid #444;}
  #menu-main-menu li:first-child {border-top:none}
  .wpb_image_grid_ul li {width:33%;height:100px !important;line-height:100px;padding:20px 10px !important;}

  #footer-right-sidebar {margin:30px 0 0 0;padding:0;text-align:center;}
  footer .pull-right {min-height:100px !important;width:100% !important;}
  footer li.widget.widget_nav_menu {float:none;}
}

@media screen and (min-width:768px) and (max-width:991px){
  .filters-container .filters {margin-top:10px}
  .top-footer-right {right:0;bottom:5px;}
  .top-footer-right a {font-size:16px;}
  .top-footer-right #menu-social-links {margin-right:0;}
}

@media screen and (min-width:1600px){
  .top-footer-right {right:33px;}
}
.filters-container {
    width: 100%;
    left: 50%;
    transform: translatex(-50%);
}

/* new page contatti */
.post-543 .is-layout-flow.wp-block-column {
    align-items: left;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.post-543 .is-layout-flow.wp-block-column .has-x-large-font-size {
	line-height: 1.1;
}

.thumbnail > img, .thumbnail a > img {min-width: 23vw}