/*
Theme Name: Borderline
Author: Manuel Di Censo
Author URI: http://dicenso.it
Description: Theme for Borderline Agency
Version: 1.3
Text Domain: borderline
*/


/*
red: #ED1C24
yellow: #FAA61A
green: #A5C73D
blue: #0095DA
*/

@import url('https://fonts.googleapis.com/css?family=Dosis:500,700|Montserrat:200,900');


/* GENERAL */

html{
  margin: 0 !important;
  box-sizing: border-box;
  height: 100%;
}
body{
  margin: 0 !important;
  font-family: 'Dosis', sans-serif;
  font-weight: 500;
  font-size: 18px;
  min-height: 100%;
  position: relative;
  box-sizing: border-box;
}
p{
  line-height: 27px;
}
a{
  text-decoration: none;
  transition: .5s;
  cursor: pointer;
}
a:hover{
	transition: .5s;
}
.container{
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  box-sizing: border-box;
}
#main-content{
  min-height: 100vh;
	padding-bottom: 81px;
}
#main-content.with-title{
  padding-top: 70px;
}

h1, h2, h3, h4, h5, h6{
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}
h1{
  font-size: 72px;
}
h2{
  font-size: 40px;
}
h3{
  font-size: 30px;
}
h4{
  font-size: 24px;
}
h5{
  font-size: 18px;
  font-family: 'Dosis', sans-serif;
  font-weight: 500;
}
h6{
  padding-top: 20px;
  font-size: 18px;
  font-family: 'Dosis', sans-serif;
  font-weight: 500;
  margin-bottom: -5px;
}
.title{
  margin: 30px 0;
}
.red h1, .red h2, .red h3, .red h4, .red h5{
  color: #ED1C24;
}
.yellow h1, .yellow h2, .yellow h3, .yellow h4, .yellow h5{
  color: #FAA61A;
}
.green h1, .green h2, .green h3, .green h4, .green h5{
  color: #A5C73D;
}
.blue h1, .blue h2, .blue h3, .blue h4, .blue h5{
  color: #0095DA;
}
.green h2 a{
  color: #A5C73D;
}
.bg-top{
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
  background-position: center top !important;
}
.bg-cover{
  background-repeat: no-repeat !important;
  background-size: auto 100% !important;
  background-position: center center !important;
}
.paragraph{
  max-width: 650px;
  text-align: center;
  margin: auto;
}
.paragraph p{
  margin: .5em 0;
}
.white{
  color: white;
}
.vc_inner img{
  max-width: 100%;
  height: auto;
}
.aligncenter{
	text-align: center;
}

@media screen and (min-width: 768px) {
  .five-columns.vc_row .vc_col-sm-2 {
    float: left;
    width: 18.5%;
    padding: 0;
    margin-right: 1.5%;
    min-height: 0;
  }
  .five-columns.vc_row .vc_col-sm-2:nth-last-child(2) {
    margin-right: 0;
  }
}
@media screen and (max-width: 600px){
  h1{
    font-size: 45px;
  }
  h2{
    font-size: 30px;
  }
  h3{
    font-size: 24px;
  }
  h4{
    font-size: 20px;
  }
}

.shadow, #nostrilavori .vc_gitem-animated-block{
  -webkit-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  border-radius: 20px;
}

.shadow video{
	border-radius: 20px;
	margin-bottom: -5px;
	width: 100%;
}
.case-content .shadow img, .shadow iframe, .shadow .slide, .shadow iframe html, .shadow .slide .slick-list{
	border-radius: 20px;
}
.shadow.wpb_video_widget{
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-o-border-radius: 20px;
	position: relative;
	overflow: hidden;
}

.vc_row.vc_row-o-full-height{
	min-height: calc(100vh - 70px) !important;
}
.first-section.vc_row.vc_row-o-full-height{
	min-height: 100vh !important;
}

ul, li, ol{
	line-height: 1.5;
}

/* HOMEPAGE */

.homepage{
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}
.homepage a{
  height: 100%;
  width: 100%;
  text-decoration: none;
}
.homebutton{
  background-position: left center;
  background-size: auto 100%;
  height: 100%;
  width: 100%;
  flex: 1;
  position: relative;
  transition: 1s;
  -webkit-transform: translate3d(0, 0, 0);
}
.homebutton:before{
  content: '';
  position: absolute;
  top:0;
  right:0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: 1s;
}
.buttontitle h1{
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 85px;
  color: white;
  text-transform: uppercase;
  transition: 1s;
  -webkit-transform: translate3d(0, 0, 0);
}
.buttontext{
  color: white;
  width: calc(25vw - 150px);
  position: absolute;
  bottom: 30px;
  right: calc(-25vw + 100px);
  transition: 1s;
  -webkit-transform: translate3d(0, 0, 0);
}
.buttontitle{
  width: 100vh;
  height: 25vw;
  transform-origin: right top;
  transform: rotate(270deg);
  margin-left: -100vh;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  box-sizing: border-box;
  transition: 1s;
}
.homebutton:hover{
  background-position: center;
  transition: 1s;
}
.homebutton:hover .buttontitle h1{
  margin-bottom: calc(25vw - 150px);
  transition: 1s;
}
.homebutton:hover .buttontext{
  right: 30px;
  transition: 1s;
}
.homebutton:hover:before{
  opacity: .5;
  transition: 1s;
}
@media screen and (max-height: 850px){
  .buttontitle h1{
    font-size: 60px;
  }
}
@media screen and (max-height: 650px){
  .buttontitle h1{
    font-size: 40px;
  }
}
@media screen and (max-width: 1000px){
  .homepage{
    flex-direction: column;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
  }
  .homepage a{
	  height: 25%;
  }
  .homebutton{
    height: 100%;
    background-position: top center;
    background-size: 100% auto;
  }
  .buttontitle{
    transform: rotate(0deg);
    margin-left: 0;
    width: 100vw;
    height: 100%;
  }
  .buttontext{
    width: calc(100% - 60px);
    left: 30px;
    bottom: -150px;
  }
  .homebutton:hover .buttontext{
    bottom: 50px;
  }
  .homebutton:hover .buttontitle h1{
    margin-bottom: calc(25vw - 100px);
  }
}
@media screen and (max-width: 850px){
  .buttontitle h1{
    font-size: 60px;
  }
  .homebutton:hover .buttontitle h1{
    margin-bottom: calc(25vw - 30px);
  }
}
@media screen and (max-width: 600px){
  .buttontext{
    display: none;
    transition:
  }
  .homebutton:hover .buttontitle h1{
    margin-bottom: 0;
  }
  .buttontitle h1{
    font-size: 30px;
    transition: 0;
  }
  .homepage *{
    transition: 0;
    transform: none;
  }
}

/* HEADER */

header.top{
  height: 70px;
  width: 100%;
  position: fixed;
  background-color: rgba(255,255,255,0);
  z-index: 1000;
  top:0;
  right: 0;
  transition: 1s;
}
header.top.active{
  background-color: rgba(255,255,255,1);
  transition: 1s;
}
header .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.logo img{
  height: 30px;
}
nav.desktop{
  display: flex;
}
nav.mobile{
  display: none;
}
@media screen and (max-width: 650px){
  nav.desktop{
    display: none;
  }
  nav.mobile{
    display: flex;
  }
}
nav ul{
  list-style: none;
  padding: 0;
}
nav li{
  display: inline-block;
  margin-left: 20px;
  position: relative;
}
nav li a{
  color: black;
  font-size: 16px;
  text-transform: uppercase;
  transition: .5s;
}
span, nav li.current-menu-item a, nav li.current_page_parent a{
  transition: .5s;
}
nav li a:hover span, nav li.current-menu-item a, nav li.current_page_parent a{
  transition: .5s;
}
nav li a:hover span.red, .red nav li.current-menu-item a, .red nav li.current_page_parent a{
  color: #ED1C24;
}
nav li a:hover span.yellow, .yellow nav li.current-menu-item a, .yellow nav li.current_page_parent a{
  color: #FAA61A;
}
nav li a:hover span.green, .green nav li.current-menu-item a, .green nav li.current_page_parent a{
  color: #A5C73D;
}
nav li a:hover span.blue, .blue nav li.current-menu-item a, .blue nav li.current_page_parent a{
  color: #0095DA;
}
.sub-menu{
  display: none;
  position: absolute;
}
nav li:hover .sub-menu{
  display: block;
}
.sub-menu li{
  display: block;
  margin: 0;
  border-left: 2px solid #FAA61A;
  padding-left: 5px;
}
.sub-menu li a{
  text-transform: lowercase;
  color: black !important;
}
.sub-menu li a:hover{
  color: #FAA61A !important;
}
.facebook svg{
  height: 14px;
  width: 7px;
}
.twitter svg{
  height: 11px;
  width: 13px;
}
.linkedin svg{
  height: 13px;
  width: 13px;
}
.facebook svg:hover path{
  fill: #3b5998;
}
.twitter svg:hover path{
  fill: #00aced;
}
.linkedin svg:hover path{
  fill: #0077B5;
}
ul.social, .social li{
  margin-left: 10px;
}

/* MOBILE MENU */

.hamburger {
  padding: 15px 15px;
  display: inline-block;
  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;
}
.hamburger:hover {
  opacity: 0.7;
}
.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative;
}
.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 40px;
  height: 4px;
  background-color: #000;
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block;
}
.hamburger-inner::before {
  top: -10px;
}
.hamburger-inner::after {
  bottom: -10px;
}
.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);
}
.menu-overlay{
  position: fixed;
  top:0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255,255,255,0.9);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu-overlay ul{
  list-style: none;
  padding: 0;
  margin-top: -100px;
}
.menu-overlay li{
  padding: 0;
}
.menu-overlay li a{
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 30px;
  color: #777;
}
.menu-overlay li a:hover span.red, .red .menu-overlay li.current-menu-item a, .red .menu-overlay li.current_page_parent a{
  color: #ED1C24;
}
.menu-overlay li a:hover span.yellow, .yellow .menu-overlay li.current-menu-item a, .yellow .menu-overlay li.current_page_parent a{
  color: #FAA61A;
}
.menu-overlay li a:hover span.green, .green .menu-overlay li.current-menu-item a, .green .menu-overlay li.current_page_parent a{
  color: #A5C73D;
}
.menu-overlay li a:hover span.blue, .blue .menu-overlay li.current-menu-item a, .blue .menu-overlay li.current_page_parent a{
  color: #0095DA;
}

/* TEAM */
.container_team-box .wpb_wrapper{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.team-box{
  width: 367px;
  border-radius: 20px;
  -webkit-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  background: white;
  box-sizing: border-box;
  position: relative;
  margin: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid white;
  transition: 1s;
}
.team-box:hover{
	border: 2px solid #ED1C24;
	transition: 1s;
}

.team-box video{
	width: 100%;
  max-width: 367px;
	border-radius: 20px;
}
/*
.team-box img{
	display: none;
}

@media screen and (max-width: 1024px){
  .team-box img{
  	width: 100%;
    max-width: 367px;
  	border-radius: 20px;
    display: block;
  }
  .team-box video{
  	display: none;
  }
}
*/
@media screen and (max-width: 823px){
  .team-box{
    width: 100%;
  }
}

.team-box h4, .team-title{
  color: #ED1C24;
}
.team-overlay{
  padding: 0 18px 20px 18px;
}
.team-text{
  color: #000;
}
.team-job{
	font-weight: 200;
  color: #ED1C24;
  font-family: 'Montserrat', sans-serif;
text-transform: uppercase;
	font-size: 16px;
}

/* FOOTER */

footer{
  background: #292929;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 12px;
  width: 100%;
  margin-top: -81px;
  position: relative;
}

footer a{
  color: white;
}

.home footer{
	margin-top: 0;
}

/* WORK */

/*
.work-box{
  -webkit-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  background: #FAA61A;
  border: 5px solid white;
  padding: 40px 20px;
  box-sizing: border-box;
  transition: 1s;
}
.work-box:hover{
  transform: scale(1.1);
  transition: 1s;
}
.work-title, .work-text{
  color: white;
  text-align: center;
  -webkit-transform: translate3d(0, 0, 0);
}
h4.work-title{
  margin-bottom: 10px;
  color: white;
  -webkit-transform: translate3d(0, 0, 0);
}
*/


/* COMPETENZE */

.icon{
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.texthover{
  position: absolute;
  bottom: -50px;
  color: rgba(255,255,255,0);
  transition: 1s;
  left: 0;
  text-align: center;
  width: 100%;
}
.hover{
  position: static;
}
.icon.grafica:hover ~ .texthover.grafica{
  color: rgba(255,255,255,1);
  transition: 1s;
}
.icon.digital:hover ~ .texthover.digital{
  color: rgba(255,255,255,1);
  transition: 1s;
}
.icon.foto:hover ~ .texthover.foto{
  color: rgba(255,255,255,1);
  transition: 1s;
}
.icon.stampa:hover ~ .texthover.stampa{
  color: rgba(255,255,255,1);
  transition: 1s;
}
.icon.eventi:hover ~ .texthover.eventi{
  color: rgba(255,255,255,1);
  transition: 1s;
}
.icon.marketing:hover ~ .texthover.marketing{
  color: rgba(255,255,255,1);
  transition: 1s;
}
@media screen and (max-width: 768px){
  .texthover{
    display: none;
  }
}

/* CASE HISTORY */

.case-content{
  display: flex;
  align-items: flex-start;
}
.bg-case{
	height: 100vh;
	position: absolute;
	z-index: -1;
	width: 100%;
	top: 0;
	left: 0;
	background-size: 100% auto !important;
	background-position: center top;
	background-repeat: no-repeat !important;
}
.case-pres{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	height: 65vh;
	align-items: center;
	position: relative;
}
.presentation{
	max-width: 70%;
}
@media screen and (max-width: 768px){
  .case-pres{
    height: auto;
  }
  .presentation{
	max-width: 100%;
	padding-right: 20px;
  }
}
.content{
  width: 100%;
/*   max-width: 780px; */
}
.case-content .sidebar{
  border-radius: 15px;
  -webkit-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  padding: 10px 30px 30px;
}
.sidebar{
  width: 100%;
  margin-right: 30px;
  margin-bottom: 100px;
  box-sizing: border-box;
}
.sidebar h4{
  margin-top: 20px;
}
.sidebar ul, .compet{
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.skills ul{
	text-align: center;
	max-width: 45px;
	list-style: none;
	padding: 0;
}
.skills li{
	margin: 10px 0;
}
.talent-text{
	position: absolute;
	right: 50px;
	color: #FAA61A;
	border: 1px solid #FAA61A;
	background: transparent;
	border-radius: 1000px;
	padding: 5px 10px;
	text-transform: uppercase;
	font-size: 12px;
	margin-top: 7px;
	opacity: 0;
	transform: translateX(30px);
	transition: 1s;
	letter-spacing: 1px;
}
.skills li:hover .talent-text{
	opacity: 1;
	transform: translateX(0px);
	transition: 1s;
}
.sidebar ul li, .compet li{
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
@media screen and (max-width: 768px){
  .case-content{
    flex-direction: column;
  }
  .sidebar, .content{
    max-width: 100%;
    margin-bottom: 30px;
  }
}

.case-container{
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	width: 85%;
	margin: 0 auto 50px auto;
}
.caseicon object{
	width: 60px;
	margin-right: 20px;
}

.backto{
	color: black;
}
.backto svg path{
	fill: #bebebe;
}
.yellow .backto:hover{
	color: #FAA61A;
}

.green .backto:hover{
	color: #A5C73D;
}
.backto svg{
	height: 18px;
	width: 10px;
	width: auto;
	margin: 0px 5px -2px -18px;
	animation: shake 1.5s ease infinite;
	transform-origin: 50% 50%;
}
/*
@keyframes shake {
	0% { transform:translate(-5px,0) }
	50% { transform:translate(0px,0) }
	100% { transform:translate(-5px,0) }
}
*/
@keyframes shake {
	0% { transform:translate(5px,0); opacity: 1; }
	80% { transform:translate(-5px,0); opacity: 0;  }
	100% { transform:translate(-5px,0); opacity: 0;  }
}

.bottom{
	text-align: center;
}
.button-more{
	display: inline-block;
	border-radius: 1000px;
	padding: 10px 20px;
	color: white;
	text-transform: uppercase;
}
.button-more:hover{
	transform: scale(1.1);
	transition: 1s;
}
.yellow .button-more{
	background: #FAA61A;
	-webkit-box-shadow: 0px 5px 10px 0px rgba(250, 166, 26,0.5);
	-moz-box-shadow: 0px 5px 10px 0px rgba(250, 166, 26,0.5);
	box-shadow: 0px 5px 10px 0px rgba(250, 166, 26,0.5);
	margin-bottom: 100px;
	margin-top: 50px;
}
.green .button-more{
	background: #A5C73D;
	-webkit-box-shadow: 0px 5px 10px 0px rgba(165, 199, 61,0.5);
	-moz-box-shadow: 0px 5px 10px 0px rgba(165, 199, 61,0.5);
	box-shadow: 0px 5px 10px 0px rgba(165, 199, 61,0.5);
	margin-bottom: 150px;
}

/* PORTFOLIO */

.portfolio-content{
  display: flex;
  align-items: flex-start;
}
.portfolio-content .sidebar{
  margin-top: -20px;
  max-width: 350px;
}
.case-box{
	width: 100%;
	padding: 10px 15px;
	display: flex;
	justify-content: space-between;
	background-color: #FAA61A;
	border: 2px solid #FAA61A;
	border-radius: 5px;
	box-sizing: border-box;
	color: white;
	margin-top: 20px;
	align-items: center;
	-webkit-box-shadow: 0px 10px 10px -8px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 10px 10px -8px rgba(0,0,0,0.3);
	box-shadow: 0px 10px 10px -8px rgba(0,0,0,0.3);
}
.case-box h5{
	color: white;
}
.case-box:hover{
	background-color: white;
	color: #FAA61A;
}
.case-box:hover h5{
	color: #FAA61A;
}

.vc_grid-btn-load_more a{
	background: transparent !important;
	color: white !important;
	border: 2px solid white !important;
	border-radius: 40px !important;
	font-size: 18px !important;
	padding: 10px 15px !important;
}
.vc_grid-btn-load_more a:hover{
	background: white !important;
	color: #faa61a !important;
}

.clients .vc_col-sm-2{
	width: 16.66666667% !important;
	float: left !important;
}
@media screen and (max-width: 768px){
	  .clients .vc_col-sm-2{
		width: calc(100% / 3) !important;
	}
}

/* POST GRID */

.et-tabs.et-tabs-style-iconbox-iconlist nav ul li{
  width: 80px;
  height: 80px;
  border-radius: 15px;
  border: 0;
  -webkit-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
}
.et-tabs.et-tabs-style-iconbox-iconlist nav ul li:hover, .et-tabs-style-iconbox-iconlist nav ul li a.et-anchor-tag{
  border-radius: 15px;
}
.fa-no-icon{
  visibility: hidden;
}
.et-tabs-style-iconbox-iconlist nav ul li a.et-anchor-tag span{
  font-weight: 700;
}
.et-tabs-style-iconbox-iconlist nav ul li.tab-current::after, .et-tabs-style-iconbox-iconlist nav ul li::after{
  margin-left: -10px;
  border-width: 10px;
}
.et-tabs-style-iconbox-iconlist nav ul li a img{
  margin: 0 auto;
}
.et-tabs-style-iconbox-iconlist nav ul li a.et-anchor-tag{
	padding: 0;
}
.vc_grid-filter{
  margin-top: 0;
  color: white;
}
.vc_grid-filter-item{
	border: 2px solid transparent;
}
.vc_grid-filter-item:hover{
	background-color: transparent !important;
	border: 2px solid white;
}
.vc_grid-filter-item:hover span{
	color: white !important;
}
.vc_grid-item h5{
  color: white;
  padding: 0;
  font-size: 24px;
  -webkit-transform: translate3d(0, 0, 0);
}
.vc_grid-item h6{
  color: white;
  padding: 0;
  font-size: 18px;
  -webkit-transform: translate3d(0, 0, 0);
}
.vc_grid-item .vc_gitem-acf{
  color: white;
  font-size: 16px;
  -webkit-transform: translate3d(0, 0, 0);
}
.vc_grid-item .vc_gitem-acf.riassunto{
	color: black;
}
.vc_grid-item .competenze{
  color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vc_grid-item .competenze img{
  transform: scale(0.5);
}
.et-tabs.et-tabs-style-iconbox-iconlist nav ul:after{
	border: none;
}

/* BLOG */

.blog-single{
	border-radius: 20px;
	-webkit-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
	box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
	background-color: white;
	margin-bottom: 50px;
	padding: 20px;
}
/*
.blog-single p, .blog-single h4, .blog-single .blog-date, .blog-single .blog-writeby, .blog-single .autore{
	padding-left: 20px;
	padding-right: 20px;
}
*/
.blog img{
	max-width: 100%;
}
.blog-single .blog-content img{
	margin-right: -20px;
	margin-left: -20px;
	max-width: calc(100% + 40px);
}
@media screen and (max-width: 768px){
  .blog-single{
		border-radius: 0;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		padding: 20px 0;
	}
	.blog-single h4{
		font-size: 30px;
	}
}
.blog-single h4 a, .green p a{
  color: #A5C73D;
}
.blog-single h2{
	margin-top: 10px;
}
.mailchimp{
  background: #A5C73D;
  border-radius: 20px;
  -webkit-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  padding: 20px;
}
.mailchimp h4{
  color: white;
  font-size: 16px;
  margin-bottom: 10px;
}
.mailchimp input{
  border: 1px solid #A5C73D;
}
.mailchimp input.button{
  background-color: #A5C73D;
  border: 1px solid white;
  color: white;
  height: auto;
  padding: 5px;
}
.mailchimp input.button:hover{
  background-color: white;
  color: #A5C73D;
}
.fullwidth{
	max-width: 1190px !important;
}
.widgettitle{
  display: none;
}
.widget_recent_entries ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.widget_recent_entries li{
  padding-left: 0;
  margin-bottom: 15px;
}
.widget_recent_entries a{
  color: #A5C73D;
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}
.widget_recent_entries .post-date, .blog-date{
  font-size: 14px;
  margin-top: -3px;
  display: block;
  color: #b2b2b2;
}
.blogsidebar{
  border-left: 2px solid #A5C73D;
}
.date, .wp-show-posts-entry-date{
  color: #b2b2b2;
  font-size: 14px;
}
.blog #main-content.container{
/*   max-width: 800px; */
  margin-top: 50px;
  padding-bottom: 50px;
}
.blog .title, .blog p, .blog .blog-writeby, .blog .autore, .blog h1, .blog h2, .blog h3, .blog h4, .blog ul{
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}
.blog .wpb_wrapper a, .blog-single .wpb_wrapper a{
	color: #A5C73D;
}
.blog .vc_single_image-wrapper img{
	border-radius: 20px;
  -webkit-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
}
.blog-writeby{
  color: #b2b2b2;
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
  margin: 20px 0 0 0;
}
ul.autore{
  list-style: none;
  margin: 0;
  padding: 0;
}
.autore li{
  padding: 0;
  display: inline-block;
}
.autore li img{
  height: 150px;
  width: 150px;
}

.blog-list .vc_grid-filter{
	color: #A5C73D;
}
.blog-list .vc_grid-filter-item:hover{
	border: 2px solid #A5C73D;
}
.blog-list .vc_grid-filter-item:hover span{
	color: #A5C73D !important;
}
.blog-list .vc_grid-filter.vc_grid-filter-color-grey>.vc_grid-filter-item.vc_active,
.blog-list .vc_grid-filter.vc_grid-filter-color-grey>.vc_grid-filter-item:hover{
	background-color: #A5C73D;
}

.blog-list .vc_grid-btn-load_more a{
	color: #A5C73D !important;
	border: 2px solid #A5C73D !important;
}
.blog-list .vc_grid-btn-load_more a:hover{
	background: #A5C73D !important;
	color: white !important;
}

@media screen and (max-width: 1160px){
  .blog .vc_single_image-wrapper img{
		border-radius: 0;
	  -webkit-box-shadow: none;
	  -moz-box-shadow: none;
	  box-shadow: none;
	  margin-left: -20px;
	  margin-right: -20px;
	  max-width: calc(100% + 40px);
	}
}

/* CONTATTI */

.wpb_gmaps_widget .wpb_wrapper{
  padding: 0;
  background-color: transparent;
  border-radius: 15px;
  border: 0;
  -webkit-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  overflow: hidden;
}
.wpb_gmaps_widget.vc_map_responsive .wpb_map_wraper{
  padding-bottom: 40%;
}
.contact{
  max-width: 800px;
  margin: auto;
}
.contact-text a{
	color: #0095DA;
	font-family: 'Montserrat';
	font-weight: 900;
	font-size: .9em;
}
form input{
  width: 100%;
  box-sizing: border-box;
  font-family: 'Dosis', sans-serif;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 5px;
  border: 1px solid #0095DA;
  border-radius: 5px;
  padding: 5px 10px;
}
form input[type="submit"]{
  margin-bottom: 0;
  height: 80px;
  background-color: #0095DA;
  padding: 10px;
  font-family: 'Dosis', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  transition: .5s;
}
form input[type="submit"]:hover{
  background-color: white;
  color: #0095DA;
  transition: .5s;
}
form textarea{
  width: 100%;
  box-sizing: border-box;
  font-family: 'Dosis', sans-serif;
  font-weight: 500;
  font-size: 16px;
  border: 1px solid #0095DA;
  border-radius: 5px;
  padding: 5px 10px;
  height: 80px;
}
.formflex{
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
}
.formflex div.textarea{
  flex: 1;
  margin-right: 10px;
}
.ajax-loader{
  display: none !important;
}
.contact-gdpr{
	font-size: 10px;
	color: #aaa;
}
.contact-gdpr a{
	color: #0095DA;
}
.contact-gdpr label{
	display: flex;
}
.contact-gdpr input{
	width: auto;
	margin-right: 10px;
}

/* SLIDE */

.slide{
  -webkit-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
  box-shadow: 0px 10px 25px -10px rgba(0,0,0,0.3);
}
/*
.slide::before{
content: '';
position: absolute;
width: calc(100% + 1px);
height: 100%;
border: 5px solid white;
top: 0;
left: -1px;
box-sizing: border-box;
z-index: 99;
}
*/
.slide img{
  width: 100% !important;
}
.slick-prev{
  z-index: 100;
  left: 10px !important;
}
.slick-next{
  z-index: 100;
  right: 10px !important;
}
.slick-prev:before, .slick-next:before{
  opacity: 1;
  text-shadow:0px 0px 5px black
}
