/*
Theme Name: Hera theme
Description: Theme for the website of Hera Holding - Milan, Italy
Author: Valentina Rachiele
Author URI: valentinarachiele.com
Version: 1.0.0
Template: bridge
*/
@import url("../bridge/style.css");

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering:optimizeLegibility;
}

body {
    font-family: 'Fivo Sans Regular';
    color: #002F6C;
}
.tp-caption, .tp-layer {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}
.video-js {
	background-color: transparent !important;
}

#map-canvas-responsive, .nascosto {
	display: none;
	visibility: hidden;
}

p strong {
	font-family: 'Fivo Sans Bold', sans-serif;
}

#cosaoffriamo img {
	width: 70%;
	display: block;
	margin: 0 auto;
}

#masonry .wpb_wrapper {
	display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Spazio tra i box */
    justify-content: center; /* Centra il contenuto */
	align-items: flex-start;
}

#masonry .wpb_wrapper .wpb_content_element {
	flex: 1 1 calc(30% - 15px);
	padding: 20px;
    display: flex;
    align-items: center;
	position: relative;
}
/* Sfalsamento verticale */
#masonry .wpb_wrapper .wpb_content_element:nth-child(1) { top: -200px; }  
#masonry .wpb_wrapper .wpb_content_element:nth-child(4) { top: -190px; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(5) { top: -40px; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(6) { top: -90px; } 

#masonry .wpb_wrapper .wpb_content_element .wpb_wrapper {
	/*height: 100%;*/
	display: block;
}
#masonry h3 {
	width: 35%;
    font-size: 2rem;
    border-bottom: 6px solid #002F6C;
    margin-bottom: 20px;
	font-family: 'herabold', sans-serif;
}
#masonry h4 {
	font-size: 1.2rem;
	text-transform: none;
}
#masonry p {
	font-size: .9rem;
}
.white h2, .white h3, .white h4, .white p, .white {
	color: white;
}
#servizi .white h2 {
	font-size: 1.5rem;
}
#masonry .white h3 {
	border-bottom: 6px solid white;
}
div#cookie-notice {
	font-family: 'Fivo Sans Regular';
}
#approccioinnovativo .wpb_wrapper {
	display: flex;
	justify-content: space-between;
	align-content: center;
	align-items: flex-start;
}
#approccioinnovativo .wpb_wrapper > div:nth-child(even) img {
	width: 50%;
}
#approccioinnovativo .wpb_wrapper > div {
	text-align: center;
}
#approccioinnovativo .image_with_text.animate__animated {
	-webkit-animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
#approccioinnovativo .image_with_text.animate__animated:nth-of-type(3) {
	-webkit-animation-delay: 300ms;
	        animation-delay: 300ms;
}
#approccioinnovativo .image_with_text.animate__animated:nth-of-type(5) {
	-webkit-animation-delay: 600ms;
	        animation-delay: 600ms;
}
#approccioinnovativo .image_with_text.animate__animated:nth-of-type(7) {
	-webkit-animation-delay: 900ms;
	        animation-delay: 900ms;
}
#approccioinnovativo .image_with_text.animate__animated:nth-of-type(9) {
	-webkit-animation-delay: 1200ms;
	        animation-delay: 1200ms;
}
.approccio img {
	/*height: 140px;*/
	width: 60%;
	object-fit: cover;
}

iframe {
  max-width: 100%;
}

#wptime-plugin-preloader {
  position: fixed;
  height: 100%;
  width: 100%;
  top:0;
  left: 0;
  background: white;
  z-index: 1;
}

.titolospan {
	position: absolute;
    top: 10%;
    right: 50px;
}

.titolospan a {
	text-transform: uppercase;
	font-weight: bold;
}

.accento {
  font-family: 'Fivo Sans Bold';
}

/* #posizioni .vc_general.vc_btn3 {
  display: none;
} */

button:focus {
  outline: none;
}

.freccia p:after {
	content: "";
    display: block;
    position: absolute;
    top: -26px;
    right: 0;
    width: 52px;
    height: 52px;
    background: url(https://www.herahg.com/wp-content/uploads/2019/07/next.png) no-repeat 100% 50%;
    background-size: 26px 26px !important;
    background-position: 0% 26px;
	transition: all .3s ease-in;
}
.freccia:hover p:after {
	content: "";
    display: block;
    position: absolute;
    top: -26px;
    right: -10px;
    width: 52px;
    height: 52px;
    background: url(https://www.herahg.com/wp-content/uploads/2019/07/next-h.png) no-repeat 100% 50%;
    background-size: 26px 26px !important;
    background-position: 0% 26px;
}

#ilnostroteam .vc_btn3 {
	background: linear-gradient(220deg, rgba(124,183,191,1) 0%, rgba(0,45,107,1) 100%);
	width: 300px;
    border-radius: 50px;
	padding: 20px 25px;
	color: white;
	text-transform: uppercase;
	padding-right: 16px;
	text-align: center;
	outline: 1px solid white;
    outline-offset: -11px;
	transition: all .3s ease-in;
}

#ilnostroteam .vc_btn3:hover {
	outline-offset: -8px;
}

#ilnostroteam .vc_btn3 i {
	transition: all .3s ease-in;
}

#ilnostroteam .vc_btn3:hover i {
	right: 16px;
}

body.page-people .q_image_with_text_over {
	border: 3px solid #002F6C;
}
body.page-people .q_image_with_text_over div.desc {
	font-size: .9rem;
	line-height: 1.1;
	text-align: left;
	margin: 0 15px;
}
button::-moz-focus-inner {
  border: 0;
}

.herabold {
    font-family: 'herabold' !important;
    text-transform: uppercase;
}

._df_thumb[thumbtype="img"] {
	height: auto !important;
}

.fivo {
  font-family: 'Fivo Sans Regular' !important;
}

.blue {
  background: #002F6C;
  position: relative;
  margin-top: 50px;
}

.blue img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  opacity: 0.4;
    -webkit-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.blue img:hover {
    -webkit-filter: none;
    filter: none;
    opacity: 1;
}

.people .q_image_with_text_over img {
	transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 350ms;
	overflow: hidden;
}

.people .q_image_with_text_over {
	overflow: hidden;
}

.people .q_image_with_text_over:hover img {
	transform: scale(1.15);
}

.lowercase h4, .lowercase h3 {
	text-transform: none;
}

/******** STRUCTURE *********/

body.single .blog_holder article .post_info {
  display: none;
}

.blog_holder article .post_text h2 .date {
  float: right;
  color: #002F6C;
  font-family: 'Fivo Sans Bold';
  font-size: .9rem;
}

.blog_holder.blog_single article h2 {
  margin-bottom: 20px;
}

body.single-posizione .blog_holder.blog_single article h2 {
  margin-bottom: 70px;
}

#homedivisioni, #divisioni, #magazine, #eventi, #obiettivi, #servizi, #gruppo, #chisiamo, #mission, #storia, #eventiblog, #pleasure, #press, #news, #numero, #contatti, #posizione {
    display: flex;
    align-items: center;
    justify-content: center;
    /*height: 100vh;*/
    height: auto;
}

#homedivisioni, #management, #servizi  {
  margin: 90px 0 150px 0 !important;
}

.blog_holder article  {
  display: block !important;
  width: 1100px;
  margin: 0 auto !important;
}

body.single article.posizione {
  display: block !important;
  width: 1100px;
  margin: 50px auto !important;
}

#charity, #eventi, #gruppo {
  margin-top: 150px !important;
}

#news {
  margin-top: 100px !important;
}

#press, #fund {
  padding: 150px 0 !important;
}

#candidatura, #posizioni, .trackrecord, #numerihome, .trackrecord .q_accordion_holder + .wpb_single_image {
  padding: 50px 0;
}

#posizioni div.scrolla.titolo {
	padding-bottom: 60px;
}

#charityslider {
  padding-top: 50px;
}
/*#pleasure {
  margin: 0 0 120px 0 !important;
  padding-top: 4%;
}*/
#successi {
margin-bottom: 70px !important;
/*margin-top: -10% !important;*/
padding-top: 4%;
}
#contatti, #lavora, #people, #chisiamo, #governance, #obiettivi, #companyprofile {
padding-top: 4%;
}
#governance {
	background-size: 20% auto;
	background-position: top right;
}
#direttrici {
	background-size: 20% auto;
	background-position: 100% 70px;
}
#direttrici h3 {
	font-size: 3rem;
}
#governance h4 {
	text-transform: none;
	font-family: 'Fivo Sans', sans-serif;
}
#governance h4.qode-info-card-title {
	position: relative;
}
#governance h4.qode-info-card-title:after {
  content: "";
  position: absolute;
  top: 90%; /* Distanza della linea dal titolo */
  left: 50%; /* Posiziona al centro */
  transform: translateX(-50%); /* Centra perfettamente */
  width: 50px; /* Lunghezza della linea */
  height: 4px; /* Spessore della linea */
  background-color: #BABDFF;
	border-radius: 2px;
}

/* body.single .post_image {
  height: 100vh;
  margin-top: -10% !important;
} */

body.single-posizione h2 {
margin-top: -2%;
}

#posizione {
  justify-content: space-between;
}

.posizione-content, .posizione-form {
  flex: 0 0 40%;
  align-self: flex-start;
}

.mega-post-carousel1 h3.mega-post-title {
	margin-top: 15px !important;
}

body.page-id-1253 h3, body.page-id-1365 h3 {
	padding: 20px 0;
}

body.page-id-1253 a, body.page-id-1365 a {
	text-decoration: underline;
}

body.page-id-1253 a:hover, body.page-id-1365 a:hover {
	text-decoration: none;
}

a#cn-accept-cookie, a#cn-refuse-cookie, a#cn-more-info {
	background-color: transparent;
	text-decoration: underline;
	font-family: 'Fivo Sans Bold', sans-serif;
	-webkit-transition: all 0.5s;
  transition: all 0.5s;
}

a#cn-accept-cookie:hover, a#cn-refuse-cookie:hover, a#cn-more-info:hover {
	background-color: transparent;
	text-decoration: none;
}
.cn-button:hover {
    box-shadow: none;
}

.posizione-content h3 {
  font-family: 'Fivo Sans Bold', sans-serif;
  text-transform: none;
  margin-bottom: 30px;
}

.category-candidatura-spontanea .posizione-content h3 {
  display: none;
}

.posizione-content p:nth-of-type(2) {
  margin-bottom: 90px;
}

.wpcf7 form.wpcf7-form p {
  clear: both;
}

.posizione-form form.wpcf7-form {
  background-color: #002F6C;
  padding: 30px;
  color: white;
  font-family: 'Fivo Sans Regular', sans-serif;
}

form.wpcf7-form input[placeholder="*"] {
    font-family: 'Fivo Sans Regular', sans-serif !important;
  color: #002F6C !important;
  text-transform: uppercase !important;
  opacity: 1 !important;
}

:-moz-placeholder {
  font-family: 'Fivo Sans Regular', sans-serif !important;
  color: #002F6C !important;
  text-transform: uppercase !important;
  opacity: 1 !important;
}

:-webkit-input-placeholder {
  font-family: 'Fivo Sans Regular', sans-serif !important;
  color: #002F6C !important;
  text-transform: uppercase !important;
  opacity: 1 !important;
}

form.wpcf7-form br {
    display: none;
}

.posizione-form h3, .posizione-form p {
  color: white;
  font-family: 'Fivo Sans Regular', sans-serif;
}

.wpcf7-form-control-wrap {
    position: relative;
    width: 100%;
    display: inline-block;
}

.wpcf7-form-control-wrap.watermark {
    position: relative;
    width: 7%;
    display: inline-block;
    margin-top: 25px;
}

.posizione-form h3 {
  margin-bottom: 40px;
}

form.wpcf7-form span.wpcf7-form-control-wrap.your-name {
  width: 40%;
  float: left;
  margin-right: 2%;
}

form.wpcf7-form span.wpcf7-form-control-wrap.your-surname {
  width: 58%;
  float: right;
}

input.wpcf7-form-control.wpcf7-date, input.wpcf7-form-control.wpcf7-number, input.wpcf7-form-control.wpcf7-quiz, input.wpcf7-form-control.wpcf7-text, select.wpcf7-form-control.wpcf7-select, textarea.wpcf7-form-control.wpcf7-textarea {
  padding: 7px;
  font-size: 1rem;
  color: #002F6C;
  font-family: 'Fivo Sans Regular', sans-serif;
}

span.wpcf7-not-valid-tip {
    color: #BABDFF;
}

form.wpcf7-form input[name="your-email"], form.wpcf7-form input[name="tel-131"] {
    margin-top: 2%;
    width: 100%;
    height: 100%;
}

form.wpcf7-form input[type="checkbox"] {
  margin: 0;
}

input.wpcf7-form-control.wpcf7-submit[disabled],input.wpcf7-form-control.wpcf7-submit:not([disabled]) {
    color: #002F6C;
    border:0;
    /* cursor: not-allowed; */
    border-radius: 0;
    background-color: white;
    font-family: 'herabold';
    float: right;
}

input.wpcf7-form-control.wpcf7-submit[disabled] {
  cursor: not-allowed;
}

div.wpcf7-response-output {
    position: relative;
    padding: 17px 30px 17px 0;
    color: #fff;
    margin-left: 0;
    margin-right: 0;
    font-weight: 500;
    font-size: 15px;
    text-transform: none;
    letter-spacing: normal;
    border: none;
}

div.wpcf7-response-output.wpcf7-validation-errors::before, div.wpcf7-response-output.wpcf7-mail-sent-ok::before {
    content: "";
}

div.wpcf7-response-output.wpcf7-mail-sent-ok, div.wpcf7-response-output.wpcf7-validation-errors {
    background-color: transparent;
    border: 0;
}

span.wpcf7-list-item {
  margin: 0;
}

span.file-91 .wpcf7-not-valid-tip, span.file-92 .wpcf7-not-valid-tip {
display: inline-block;
color: black !important;
}

input[type=file] {
    cursor: inherit;
    display: block;
    font-size: 9px;
    filter: alppha(opacity=0);
    min-height: 100%;
    min-width: 100%;
    opacity: 0;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
}

label[for="file-91"], label[for="file-92"] {
    display: inline-block;
  float: left;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: #002F6C;
  background: white url('https://www.herahg.com/wp-content/themes/heratheme/img/allega.jpg') no-repeat 95% 50%;
  overflow: hidden;
    position: relative;
    cursor: pointer;
    padding: 7px 0 7px 7px;
    margin-top: 2%;
}

span.wpcf7-form-control-wrap.file-91, span.wpcf7-form-control-wrap.file-92 {
  display: block;
    width: 100%;
   /* height: 30px;*/
}

label[for="file-91"] {
  width: calc(40% - 7px);
  float: left;
  margin-right: 2%;
}

label[for="file-92"] {
width: calc(58% - 7px);
  float: right;
}

#news {
  height: auto !important;
}

#news .titolo {
  margin-top: 40px;
}

#homedivisioni .vc_col-sm-12 .wpb_wrapper, #divisioni .vc_col-sm-12 .wpb_wrapper, #magazine .vc_col-sm-12 .wpb_wrapper, #eventi .vc_col-sm-12 .wpb_wrapper, #obiettivi .vc_col-sm-12 .wpb_wrapper, #servizi .vc_col-sm-12 .wpb_wrapper, #gruppo .vc_col-sm-12 .wpb_wrapper, #eventiblog .vc_col-sm-12 .wpb_wrapper, #pleasure .vc_col-sm-12 .wpb_wrapper, #press .vc_col-sm-12 .wpb_wrapper, #chisiamo .vc_col-sm-12 .wpb_wrapper, #mission .vc_col-sm-12 .wpb_wrapper, #storia .vc_col-sm-12 .wpb_wrapper, #news .vc_col-sm-12 .wpb_wrapper, #numero .vc_col-sm-12 .wpb_wrapper {
    position: relative;
    overflow: visible;
}

#press {
    background: rgb(0,45,107);
    background: linear-gradient(220deg, rgba(124,183,191,1) 0%, rgba(0,45,107,1) 100%);
}

#fund { 
	background: url('https://www.herahg.com/wp-content/uploads/2022/05/foto_1.jpg') no-repeat center center;
	background-size: cover;
}

.q_elements_holder.two_columns.eh_two_columns_66_33 .q_elements_item:first-child {
  padding-right: 100px;
}

/*#chisiamo, #obiettivi, #pleasure, #contatti {
  margin-top: -10% !important;
}*/

/*#chisiamo, #obiettivi, #pleasure, #contatti {
  padding-top: 5% !important;
}*/

div.arrowdiv {
    position:absolute;
    width:100%;
    bottom: 0;
    top: 100%;
    height: 30px;
}

#eventi {
    height: auto !important;
}

.nopaddingleft, .nopaddingleft .vc_column-inner {
  padding-left: 0;
}

.nopaddingright, .nopaddingright .vc_column-inner {
  padding-right: 0;
}

.nopadding, .nopadding .vc_column-inner {
  padding: 0;
}

.twocols {
    column-count: 2;
    column-gap: 8.33333333%;
}

.square {
    width: 12vw;
    height: 12vw;
    color: white;
    padding: 10px;
    float: right;
    display:flex;justify-content:center;align-items:center;
    /* border: 1px solid #707070; */
}

.square:nth-of-type(1) {
    background: rgb(0,47,108);
    background: linear-gradient(226deg, #002f6c, #24c19d);
    background-size: 300% 300%;

-webkit-animation: Gradient 10s ease infinite;
  -moz-animation: Gradient 10s ease infinite;
  animation: Gradient 10s ease infinite;
}

@-webkit-keyframes Gradient {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 100% 50%
  }
  100% {
    background-position: 0% 50%
  }
}

@-moz-keyframes Gradient {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 100% 50%
  }
  100% {
    background-position: 0% 50%
  }
}

@keyframes Gradient {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 100% 50%
  }
  100% {
    background-position: 0% 50%
  }
}

.square:nth-of-type(2) {
/*     margin-top: 17%; */
    background: rgb(0,47,108);
    background: linear-gradient(127deg, #002f6c, #24c19d);
background-size: 300% 300%;
-webkit-animation: Gradient2 10s ease infinite;
  -moz-animation: Gradient2 10s ease infinite;
  animation: Gradient2 10s ease infinite;
}

@-webkit-keyframes Gradient2 {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 100% 50%
  }
  100% {
    background-position: 0% 50%
  }
}

@-moz-keyframes Gradient2 {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 100% 50%
  }
  100% {
    background-position: 0% 50%
  }
}

@keyframes Gradient2 {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 100% 50%
  }
  100% {
    background-position: 0% 50%
  }
}

.square.scrolla.animate__animated {
  -webkit-animation: slide-bottom 2s ease-in-out both;
          animation: slide-bottom 2s ease-in-out both;
}
.square2.scrolla.animate__animated {
  -webkit-animation: slide-bottom2 2s ease-in-out both;
          animation: slide-bottom2 2s ease-in-out both;
}

/**
 * ----------------------------------------
 * animation slide-bottom
 * ----------------------------------------
 */
@-webkit-keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
}
@keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(30px);
            transform: translateY(30px);
  }
}
@-webkit-keyframes slide-bottom2 {
  0% {
    -webkit-transform: translateY(-30);
            transform: translateY(-30);
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}
@keyframes slide-bottom2 {
  0% {
    -webkit-transform: translateY(-30px);
            transform: translateY(-30px);
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}

.slideup.animate__animated {
  -webkit-animation: slide-top 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
          animation: slide-top 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/**
 * ----------------------------------------
 * animation slide-bottommin
 * ----------------------------------------
 */
 @-webkit-keyframes slide-bottommin {
  0% {
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
  }
  100% {
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
}
@keyframes slide-bottommin {
  0% {
    -webkit-transform: translateY(-20px);
            transform: translateY(-20px);
  }
  100% {
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
}

.slidedown.animate__animated {
  -webkit-animation: slide-bottommin 2s ease-in-out both;
          animation: slide-bottommin 2s ease-in-out both;
}

/**
 * ----------------------------------------
 * animation slide-top
 * ----------------------------------------
 */
@-webkit-keyframes slide-top {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes slide-top {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.storiasquare {
    color: #002F6C;
    background-color: white;
}

#storia .ult-item-wrap .vc_column_container > .vc_column-inner {
  border: 3px solid #002F6C;
   padding: 15px;
}

#management .ult-item-wrap.slick-slide, .managementsquare .wpb_wrapper .ult-item-wrap {
  border: 0 !important;
}

#management .ult-item-wrap[aria-describedby="slick-slide00"] .ult-item-wrap:first-child {
  background: #002F6C url('https://www.herahg.com/wp-content/uploads/2020/02/casa-del-sorriso_virata-scaled.jpg') 0 0 no-repeat;
  background-size: cover;
}

#management .ult-item-wrap .ult-item-wrap .ult-item-wrap {
  background: none !important;
  padding: 0 !important;
}

.managementsquare .full_section_inner .ult-item-wrap:first-child {
  border: 3px solid #002F6C;
  /*padding: 15px;*/
/*  background-color: #002F6C;*/
}

#management .ult-item-wrap .vc_column-inner {
  padding: 0 !important;
}

.managementsquare .full_section_inner .ult-item-wrap img {
  object-fit: cover;
  height: 100%;
}

/*div.linkedin {
  margin-top: -30px;
}*/

.nome {
  margin: 20px 0 0 0;
}

.nome h3 {
  font-family: 'herabold';
  text-transform: uppercase;
}
/*
.bio p {
    color: white;
}

.bio, .linkedin {
  opacity: 0;
  -webkit-transition: all 0.5s, color 0.5s;
  transition: all 0.5s, color 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}*/

/*.managementsquare .full_section_inner .ult-item-wrap:first-child:hover {
  background-color: #002F6C !important;
  background-image: none !important;
}*/

/*.managementsquare .full_section_inner .ult-item-wrap:first-child:hover .bio, .managementsquare .full_section_inner .ult-item-wrap:first-child:hover .linkedin {
  opacity: 1;
}*/

.homesquare, .capitalsquare {
    overflow: hidden;
    color: #002F6C;
    padding: 15px;
    margin: 20px;
    background-color: white;
    -webkit-transition: all 0.5s, color 0.5s;
  transition: all 0.5s, color 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

.capitalsquare {
  display: flex;
    align-items: center;
    justify-content: center;
}

#homedivisioni .vc_col-sm-12 .homesquare .wpb_wrapper, #numero .vc_col-sm-12 .capitalsquare .wpb_wrapper {
    position: static;
}

.homesquare:hover, .capitalsquare:hover {
  cursor: pointer;
}

.homesquare:hover h4 {
    color: white;
}

.capitalsquare:hover h4 {
    display: none;
}

.homesquare:hover h4:before {
    border-color: white;
}

  .homesquare:after, .capitalsquare:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  -webkit-transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
  transform: rotate3d(0, 0, 1, -45deg) translate3d(0, -3em, 0);
  -webkit-transform-origin: bottom right;
  transform-origin: bottom right;
  -webkit-transition: -webkit-transform 0.6s, opacity 0.6s, background-color 0.6s;
  transition: transform 0.6s, opacity 0.6s, background-color 0.6s;
  }

  .capitalsquare:after {
  -webkit-transition: -webkit-transform 0.9s, opacity 0.9s, background-color 0.9s;
  transition: transform 0.9s, opacity 0.9s, background-color 0.9s;
  }

  .homesquare:hover::after, .capitalsquare:hover::after {
    opacity: 1;
  -webkit-transform: rotate3d(0, 0, 1, 0deg);
  transform: rotate3d(0, 0, 1, 0deg);
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  }

  .homesquare:hover a {
    color: white;
  }

  .homesquare p a {
    display: block;
    text-align: right;
    font-size: 1.3rem;
  }

.homesquare p {
    position: absolute;
    bottom: 20px;
/*     right: 40px; */
    left: 0;
    display: block;
    width: calc(100% - 40px);
/*     text-align: right; */
}

.homesquare p:after {
  content: "";
  height: 6px;
  width: 0;
  background-color: white;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: width 1s ease-out;
}

.homesquare:hover p:after {
      width: 73%;
/*     right: 60px; */
}

body.pll-en-gb .homesquare:hover p:after {
      width: 63%;
}

  .vc_col-sm-6:first-of-type .homesquare:hover::after {
    background-color: #A8381D;
}

.vc_col-sm-6:nth-of-type(2) .homesquare:hover::after {
    background-color: #337393;
}

.vc_col-sm-4 .capitalsquare:hover::after {
  background: linear-gradient(226deg, #002f6c, #24c19d);
    background-size: 200% 200%;
-webkit-animation: Gradient 17s ease infinite;
  -moz-animation: Gradient 17s ease infinite;
  animation: Gradient 17s ease infinite;
}
.capitalsquare:hover::after {
    font-size: 1.3rem;
      color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% - 40px);
  padding: 0 20px;
}
.vc_col-sm-4:first-of-type .capitalsquare:hover::after {
  content: "i contatti con possibili investitori nazionali ed internazionali";
}

.vc_col-sm-4:nth-of-type(2) .capitalsquare:hover::after {
  content: "il valore degli asset gestiti tra immobili residenziali, logistica ed hotellerie dislocati su centro e nord Italia";
}

.vc_col-sm-4:nth-of-type(3) .capitalsquare:hover::after {
  content: "il valore totale degli asset per i quali è in corso la due diligence immobiliare";
}

body.pll-en-gb .vc_col-sm-4:first-of-type .capitalsquare:hover::after {
  content: "contacts with possible national and international investors";
}

body.pll-en-gb .vc_col-sm-4:nth-of-type(2) .capitalsquare:hover::after {
  content: "the real estate assets currently managed: residential, logistics and hotels in central and northern Italy";
}

body.pll-en-gb .vc_col-sm-4:nth-of-type(3) .capitalsquare:hover::after {
  content: "total value of assets currently undergoing due diligence";
}

.vc_col-sm-6 .capitalsquare {
  border: 3px solid #7CB8C0;
}

.vc_col-sm-6 .capitalsquare:hover {
  border: 3px solid transparent;
}


.vc_col-sm-6:first-of-type .homesquare {
    border: 3px solid #A8381D;
}

.vc_col-sm-6:nth-of-type(2) .homesquare {
    border: 3px solid #337394;
}

#magazine .table p {
    display: table;
    margin: 0 auto;
}

#magazine p > a {
    display: table-cell;
    vertical-align: middle;
}

#magazine p {
    font-size: 1.8rem;
}

/* Sweep To Top */
.sweep-to-top {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
div.hovering {
  background: rgba(0,47,108,.83);
  bottom: 17px;
  color: white;
  font-size: 1em;
  left: 0;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  text-align: center;
  top: 63%;
  right: 0;
  -webkit-transition: 0.6s;
  transition: 0.6s;
  width: 56%;
  margin: 0 auto;
  cursor: pointer;
}
.sweep-to-top a:hover div.hovering {
  opacity: 1;
}
div.hovering:after,
div.hovering:before {
  bottom: 1em;
  content: '';
  left: 1em;
  opacity: 0;
  position: absolute;
  right: 1em;
  top: 1em;
}

div.hovering:before {
  border-bottom: none;
  border-top: none;
  left: 2em;
  right: 2em;
}

div.hovering:after {
  border-left: none;
  border-right: none;
  bottom: 2em;
  top: 2em;
}

div.hovering:hover:after,
div.hovering:hover:before {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}
div.hovering h1 {
  font-size: .9rem;
  color: white;
  padding-top: 25%;
}
.sweep-to-top:hover, .sweep-to-top:focus, .sweep-to-top:active {
  color: white;
}
.sweep-to-top:hover:before, .sweep-to-top:focus:before, .sweep-to-top:active:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

#obiettivi div.wpb_gallery_slides {
    border: 1px solid #B84D29;
}

body.page-id-569 #obiettivi div.wpb_gallery_slides {
    border: 1px solid #7CB8C0;
}

section.slick-slider:after, #eventi:after {
    clear: both;
}

.arrownoanchor {
    padding-top: 20px;
}

.arrow, .arrownoanchor {
    background: transparent url('https://www.herahg.com/wp-content/uploads/2019/07/down-b.png') 0 0 no-repeat;
    display: block;
    margin: 0 auto;
    width: 29px !important;
    height: 29px !important;
    -webkit-transition: all .5s ease-in-out !important;
    -moz-transition: all .5s ease-in-out !important;
    -o-transition: all .5s ease-in-out !important;
    transition: all .5s ease-in-out !important;
}

.arrow:hover, .arrownoanchor:hover {
  background-size: cover;
    display: block;
   background: url('https://www.herahg.com/wp-content/uploads/2019/07/down-b-h.png') 0 0 no-repeat;
}

.arrow img, .arrownoanchor img {
    visibility: hidden;
}

#press .q_accordion_holder.accordion.boxed .ui-accordion-header {
  background-color: transparent;
  text-align: left;
  padding: 10px 0;
  background: url("https://www.herahg.com/wp-content/uploads/2020/02/plus.png") no-repeat 100% 50%;
  border-bottom: 1px solid white;
  background-size: 26px 26px !important;
  color: white;
  font-family: 'Fivo Sans Bold';
  text-transform: none;
  font-weight: normal;
  font-size: 1.1rem;
}

#press .q_accordion_holder.accordion.boxed .ui-accordion-header[aria-expanded="true"] {
  background: url("https://www.herahg.com/wp-content/uploads/2020/02/plusminus.png") no-repeat 100% 50%;
  border-bottom: 0;
  background-size: 26px 26px !important;
}
#press .q_accordion_holder.accordion.boxed .ui-accordion-header[aria-expanded="true"]:hover {
  background: url("https://www.herahg.com/wp-content/uploads/2020/02/plusminus-h.png") no-repeat 100% 50%;
  background-size: 26px 26px !important;
}

#press p, #press p a {
  color: white;
  font-style: italic;
  margin-bottom: 15px;
}

#press p a:hover {
  text-decoration: underline;
}

#press .q_accordion_holder.boxed div.accordion_content {
  padding-left: 0;
}

#press .q_accordion_holder.accordion.boxed .ui-accordion-header:hover {  
  background: url("https://www.herahg.com/wp-content/uploads/2020/02/plus-h.png") no-repeat 100% 50%;
  background-size: 26px 26px !important;
  color: #BABDFF !important;
}

.q_list.circle ul>li a {
  padding: 15px 0;
  background: url("https://www.herahg.com/wp-content/uploads/2019/07/next-w.png") no-repeat 100% 50%;
  border-bottom: 1px solid white;
  background-size: 26px 26px !important;
  color: white;
  font-family: 'Fivo Sans Bold';
}

.q_list.circle ul>li a:hover {
  background: url("https://www.herahg.com/wp-content/uploads/2019/07/next-h.png") no-repeat 100% 50%;
  background-size: 26px 26px !important;
  color: #BABDFF;
}

#companyprofile .q_list.circle ul>li {
  border-bottom: 1px solid #002F6C;
}

#companyprofile .q_list.circle ul>li a {
  padding: 15px 0;
  background: url("https://www.herahg.com/wp-content/uploads/2019/07/next.png") no-repeat 100% 50%;
  border-bottom: 1px solid white;
  background-size: 26px 26px !important;
  color: #002F6C;
  font-family: 'Fivo Sans Bold';
}

#companyprofile .q_list.circle ul>li a:hover {
  background: url("https://www.herahg.com/wp-content/uploads/2019/07/next-h.png") no-repeat 100% 50%;
  background-size: 26px 26px !important;
  color: #BABDFF;
}

.q_list.circle ul>li:before {
  content: none;
}

.q_list.circle ul>li {
  color: white;
  padding: 0;
  margin-bottom: 5px;
}

.q_accordion_holder + .q_list.circle ul>li {
  padding: 15px 0;
}

.q_list.circle ul>li a, h5.q_accordion_holder.accordion.boxed .ui-accordion-header {
  color: white;
  font-family: 'Fivo Sans Bold';
  display: block;
  text-transform: none;
}

.q_list.circle p {
  display: none;
}

body.page-id-457 .vc_custom_heading h4, body.page-id-1294 .vc_custom_heading h4, body.page-id-1749 .vc_custom_heading h4 {
  text-transform: none;
  font-family: 'Fivo Sans Bold';
  font-size: 1.3rem;
  padding-bottom: 0;
  line-height: 1.05;
}

#news .vc_gitem-post-data {
  margin-bottom: 9px;
}

body.single-posizione .post_image, body.single .post_image {
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

body.single-posizione form p a {
	color: white;
	text-decoration: underline;
}


body.single-posizione form p a:hover {
	text-decoration: none;
}

.blog_single .post_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}

body.page-id-457 .vc_gitem-post-data-source-post_date, body.page-id-1294 .vc_gitem-post-data-source-post_date, body.page-id-1749 .vc_gitem-post-data-source-post_date {
  font-family: 'Fivo Sans Bold';
  font-size: .8rem;
}

body.page-id-457 .vc_gitem-post-data-source-post_title, body.page-id-1294 .vc_gitem-post-data-source-post_title, body.page-id-1749 .vc_gitem-post-data-source-post_title {
  margin: 0;
}

body.page-id-457 .vc_gitem-post-data-source-post_excerpt p, body.page-id-1294 .vc_gitem-post-data-source-post_excerpt p, body.page-id-1749 .vc_gitem-post-data-source-post_excerpt p {
  font-size: .9rem;
}

body.page-id-457 .wpb_content_element.wpb_single_image img, body.page-id-1294 .wpb_content_element.wpb_single_image img {
  border-radius: 50%;
}

body.page-id-457 #charity .wpb_content_element.wpb_single_image img, body.page-id-1294 #charity .wpb_content_element.wpb_single_image img {
  border-radius: 0;
}

#charity .ult-item-wrap.slick-slide {
  border: 0;
}

#charity .grid_section .section_inner {
  width: 100% !important;
}

/*#charityslider .wpb_wrapper {
	padding: 30px 0;
}*/

body.page-id-457 #charityslider img, body.page-id-1294 #charityslider img {
  border-radius: 0;
}

#charityslider .q_elements_holder.two_columns .q_elements_item {
  color: white;
  background-color: #002F6C; 
}

#charityslider .q_elements_holder.two_columns .q_elements_item p, #charityslider .q_elements_holder.two_columns .q_elements_item ul {
  color: white;
  padding: 0 30px;
	font-size: 1rem;
}
#charityslider .q_elements_holder.two_columns .q_elements_item li {
	font-size: 1rem;
}

#charityslider .q_elements_holder.two_columns .q_elements_item h3 {
  color: white;
  padding: 0 30px;
  margin-bottom: 10px;
font-size: 1.1rem;
}
#charityslider .q_elements_holder.two_columns .q_elements_item h4 {
  color: white;
	padding: 10px 30px;
font-size: .95rem;
}

#charityslider .q_elements_holder {
  width: 98% !important;
  margin-left: 1% !important;
}

#charityslider .slick-next {
    right: 10px !important;
    width: 26px !important;
  height: 26px !important;
  background: url('https://www.herahg.com/wp-content/uploads/2019/07/next-w.png') no-repeat !important;
  background-size: 26px 26px !important;
}

#charityslider .slick-next:hover {
  background: url('https://www.herahg.com/wp-content/uploads/2019/07/next-h.png') no-repeat !important;
  background-size: 26px 26px !important;
}

#charityslider .slick-prev:hover {
  background: url('https://www.herahg.com/wp-content/uploads/2019/07/prev-wh.png') no-repeat !important;
  background-size: 26px 26px !important;
}

#charityslider .slick-prev {
    left: 10px !important;
    z-index: 1;
    width: 26px !important;
  height: 26px !important;
  background: url('https://www.herahg.com/wp-content/uploads/2019/07/prev-w.png') no-repeat !important;
  background-size: 26px 26px !important;
}

#charityslider .slick-next:before, #charityslider .slick-prev:before {
  content: '' !important;
}

body.page-id-457 .vc-gitem-zone-height-mode-auto:before, body.page-id-1294 .vc-gitem-zone-height-mode-auto:before, body.page-id-1749 .vc-gitem-zone-height-mode-auto:before {
  padding-top: 0;
  margin-top: 30px;
}

body.page-id-457 .vc_btn3.vc_btn3-color-grey, .vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat, body.page-id-1294 .vc_btn3.vc_btn3-color-grey, .vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat, body.page-id-1749 .vc_btn3.vc_btn3-color-grey {
  background-color: transparent;
  text-transform: uppercase;
  color: #002F6C;
  padding: 0;
  text-align: right;
  font-size: .8rem;
  text-decoration: none;
  font-family: 'Fivo Sans Bold';
}

body.page-id-457 .vc_btn3.vc_btn3-color-grey:hover, .vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat:hover, body.page-id-1294 .vc_btn3.vc_btn3-color-grey:hover, .vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat:hover, body.page-id-1749 .vc_btn3.vc_btn3-color-grey:hover {
  background-color: transparent;
  text-decoration: underline;
  color: #002F6C;
}

body.page-id-457 .vc_btn3-container.vc_btn3-inline, body.page-id-1294 .vc_btn3-container.vc_btn3-inline, body.page-id-1749 .vc_btn3-container.vc_btn3-inline {
  display: block;
  text-align: right;
}
body.page-id-457 .vc_grid-item:nth-child(2n+2) .vc_gitem-zone-mini .vc_col-sm-6:first-of-type, body.page-id-1294 .vc_grid-item:nth-child(2n+2) .vc_gitem-zone-mini .vc_col-sm-6:first-of-type, body.page-id-1749 .vc_grid-item:nth-child(2n+2) .vc_gitem-zone-mini .vc_col-sm-6:first-of-type{
  float: right;
}

body.page-id-457 .vc_grid-item:nth-child(2n+2) .wpb_single_image, body.page-id-1294 .vc_grid-item:nth-child(2n+2) .wpb_single_image, body.page-id-1749 .vc_grid-item:nth-child(2n+2) .wpb_single_image {
  text-align: right;
}

body.page-id-457 .vc_btn3-container.vc_grid-btn-load_more.vc_btn3-center, body.page-id-1294 .vc_btn3-container.vc_grid-btn-load_more.vc_btn3-center, body.page-id-1749 .vc_btn3-container.vc_grid-btn-load_more.vc_btn3-center {
  display: inline-block;
}

body.page-id-457 .vc_grid-btn-load_more a, body.page-id-1294 .vc_grid-btn-load_more a, body.page-id-1749 .vc_grid-btn-load_more a {
  background-color: transparent;
  background-image: none;
  text-transform: uppercase;
  color: #002F6C;
}

div#post-carousel {
  margin-top: 50px;
}

div#post-carousel h4{
  margin: 0px;
  padding: 0px;
}

.vc_grid .vc_pageable-load-more-btn {
  margin: 0;
}

.vc_grid.vc_row.vc_grid-gutter-30px .vc_grid-item {
  padding: 0;
}

#news .vc_gitem_row .vc_gitem-col {
  padding: 0 30px;
  margin-bottom: 60px;
}

#news .vc_gitem-zone-a .vc_gitem-row-position-bottom {
  bottom: 20%;
}

.vc_grid-container .vc_grid.vc_grid-owl-theme .vc_grid-owl-dots.vc_grid-radio_dots .vc_grid-owl-dot.active span {
	background-color: #002f6c !important;
}

/******** TYPO *********/

h2, .field_5e4a5d13b4ee7 {
    font-family: 'herabold';
    text-transform: uppercase;
    font-size: 1.3rem;
    color: #002F6C;
    font-weight: 600;
    letter-spacing: 0;
}

#numerihome {
  font-family: 'Fivo Sans Regular';
    text-transform: uppercase;
    color: #002F6C;
    font-size: .9rem;
}

#numerihome .numero p {
    font-family: 'herabold';
    text-transform: uppercase;
    font-size: 2.1rem;
    color: #002F6C;
    padding-bottom: 10px;
}

#press h2, #fund h2, #fund h3, #fund p, #fund a {
  color: white;
}

#fund h3 {
  margin-bottom: 30px;
}

#lavora h3 {
  text-transform: none;
  font-size: 1.6rem;
  line-height: 1.1;
}

h4 {
    font-family: 'Fivo Sans Bold';
    text-transform: uppercase;
    color: #002F6C;
    font-size: .9rem;
    padding-bottom: 20px;
}

.homesquare h4 {
    font-family: 'Fivo Sans Bold';
    text-transform: uppercase;
    color: #002F6C;
    font-size: 1.8rem;
    line-height: 1.2;
    padding-top: 30px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.homesquare h4:before {
    content : "";
    position: absolute;
    top  : 20px;
    height  : 1px;
    width   : 41%;
    border-bottom: 6px solid #002F6C;
    -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.capitalsquare h4 {
  font-family: 'Fivo Sans Bold';
  text-transform: uppercase;
  color: #002F6C;
  font-size: 2.8rem;
  line-height: 1.2;
  text-align: center;
-webkit-transition: all 0.5s ease;
transition: all 0.5s ease;
}

.storiasquare h4 {
    font-size: 2.7rem;
    /* top: 20px;
    right: -20%; */
    position: absolute;
    -moz-transform: rotate(90deg);
-webkit-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
    opacity: 0;
    -webkit-transition: all 1s ease;
   transition: all 1s ease;
   right: -10%;
}

.specialyear h4 {
  -moz-transform: rotate(90deg);
-webkit-transform: rotate(90deg);
-o-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg);
right: -11%;
    top: 5%;
}


.storiasquare h4.animate__animated {
    opacity: 1;
    /* right: -18%; */
}

.storiasquare h5 {
    font-size: 1.3rem;
    width: 60%;
    color: #002F6C;
    text-transform: none;
    position: absolute;
    top: 3%;
  line-height: 1;
  font-family: 'Fivo Sans Bold';
}

.storiasquare h5:before {
    content : "";
    position: absolute;
    left    : 0;
    top  : -12px;
    height  : 1px;
    width   : 69%;
    border-bottom: 3px solid #002F6C;
}

.h1, .h2, .h3, .h4, .h5, .h6, a, h1, h2, h3, h4, h5, h6, p {
    color: #002F6C;
}

p, ul, li {
    font-size: 1.1rem;
    line-height: 1.2;
}

.square p {
    font-size: .85rem;
    color: white;
}

.square p strong {
    display: block;
    font-family: 'Fivo Sans Bold';
    font-size: 1.3rem;
    line-height: 1;
    padding: 9px 0 11px 0;
}

.wholelink {
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left: 0;
    z-index: 1;
  }

.big p, #obiettivi p {
    font-size: 1.5rem;
}

#mission div.ult-item-wrap p, #missio div.ult-item-wrap li, #magazine p a, h3.mega-post-title {
    font-size: 1.3rem;
}

video.uno, video.due, video.tre {
  width: 130px;
}

#storia .vc_col-sm-12 .wpb_wrapper {
  height: 99%;
}

.storiasquare p {
    font-size: .8rem;
    position: absolute;
    bottom: 0px;
    width: 80%;
}

.titolo.white:before {
    content: '';
  display: block;
  width: 0;
  height: 1px;
  background:white;
  transition: width 2s;
    margin-bottom: 5px;
    animation-delay: 3s;
}

.titolo:before {
    content: '';
  display: block;
  width: 0;
  height: 1px;
  background:#002F6C;
  transition: width 2s;
    margin-bottom: 5px;
    animation-delay: 3s;
}

.titolo.animate__animated:before {
    width: 100%;
}

.titolo.white:after {
    content: '';
  display: block;
  width: 0;
  height: 1px;
  background:white;
  transition: width 2s;
    margin-bottom: 5px;
    animation-delay: 3s;
}

.titolo:after {
    content: '';
  display: block;
  width: 0;
  height: 1px;
  background:#002F6C;
  transition: width 2s;
    margin-bottom: 5px;
    animation-delay: 3s;
}

.titolo.animate__animated:after {
    width: 100%;
}

#press .titolo:before, #fund .titolo:before, .posizione-form .titolo:before {
  content: '';
display: block;
width: 0;
height: 1px;
background:white;
transition: width 2s;
  margin-bottom: 5px;
  animation-delay: 3s;
}

#press .titolo:after, #fund .titolo:after, .posizione-form .titolo:after {
  content: '';
display: block;
width: 0;
height: 1px;
background:white;
transition: width 2s;
  margin-bottom: 5px;
  animation-delay: 3s;
}

#press .titolo.animate__animated:before, #press .titolo.animate__animated:after, #fund .titolo.animate__animated:before, #fund .titolo.animate__animated:after, .posizione-form .titolo.animate__animated:before, .posizione-form .titolo.animate__animated:after {
  width: 100%;
}

#servizi h3 {
    text-transform: none;
    font-size: 1.35rem;
    text-align: left;
    padding-left: 10px;
	font-family: 'Fivo Sans Regular';
	color: #002F6C;
	font-weight: bold;
}
.q_accordion_holder.boxed div.accordion_content {
	padding-left: 10px;
}
.accordion_content_inner ul, .accordion_content_inner ul li {
	margin-top: 20px;
}
.accordion_content_inner {
	margin-bottom: 70px;
}
.accordion_content_inner h4 {
	font-size: 1.4rem;
}
.accordion_content_inner h4:not(.first-of-type) {
	margin-top: 45px;
}

.trackrecord h2 {
  font-family: 'Fivo Sans Bold';
  text-transform: none;
}

.trackrecord .vc_row .full_section_inner .vc_col-sm-6 img {
    object-fit: cover;
	height: 400px;
}

.trackrecord .q_accordion_holder.accordion.boxed .ui-accordion-header {
  background-color: transparent;
    text-transform: none;
    font-size: 1.1rem;
    font-family: 'herabold', 'Fivo Sans Bold', sans-serif;
    font-weight: 500;
    text-align: left;
    padding: 7px 0 7px 10px;
    color: #002F6C;
    border-bottom: 1px solid #002F6C;
    background-image: none;
    margin: 0;
}

.trackrecord .q_accordion_holder.accordion.boxed .ui-accordion-header:hover {
  background-color: #002F6C;
    color: white !important;
}

.trackrecord h3:first-of-type {
    border-top: 1px solid #002F6C;
}
.trackrecord h3:last-of-type {
    border-bottom: 1px solid #002F6C;
}

#servizi h3:after {
    content: "";
    width: 25px;
    height: 26px;
    background-size: 25px 26px !important;
    background: url("https://www.herahg.com/wp-content/uploads/2019/07/plus.png") no-repeat;
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 30%;
}

.trackrecord h3:after {
    content: "";
    width: 25px;
    height: 26px;
    background-size: 25px 26px !important;
    background: url("https://www.herahg.com/wp-content/uploads/2019/07/plus.png") no-repeat;
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 20%;
}

#servizi h3[aria-expanded="true"]:after, .trackrecord h3[aria-expanded="true"]:after {
    content: "";
    width: 25px;
    height: 1px;
    background-size: 25px 1px !important;
    background: url("https://www.herahg.com/wp-content/uploads/2020/02/minus.png") no-repeat;
    right: 20px;
    top: 50%;
}

#servizi h3[aria-expanded="true"]:hover:after, .trackrecord h3[aria-expanded="true"]:hover:after {
    background: url("https://www.herahg.com/wp-content/uploads/2020/02/minus-h.png") no-repeat;
    background-size: 25px 1px !important;
}

#servizi h3:hover:after, .trackrecord h3:hover:after {
    background: url("https://www.herahg.com/wp-content/uploads/2019/07/plus-h.png") no-repeat;
    background-size: 25px 26px !important;
}

#servizi h3:nth-of-type(even) {
    background-color: #ebebeb;
}

#servizi h3:nth-of-type(odd) {
    background-color: white;
}

.qode-accordion-holder .qode-title-holder .qode-accordion-mark-icon {
    font-size: 31px;
}

#servizi h3.ui-state-hover {
  background-color: #002F6C !important;
    color: white !important;
}

/**
 * ----------------------------------------
 * animation slide-in-top
 * ----------------------------------------
 */
 @-webkit-keyframes slide-in-top {
    0% {
      -webkit-transform: translateY(-1000px);
              transform: translateY(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-top {
    0% {
      -webkit-transform: translateY(-1000px);
              transform: translateY(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }

.animate__animated.slide-in-left {
  -webkit-animation: slide-in-left 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
          animation: slide-in-left 2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

/**
 * ----------------------------------------
 * animation slide-in-left
 * ----------------------------------------
 */
 @-webkit-keyframes slide-in-left {
    0% {
      -webkit-transform: translateX(-1000px);
              transform: translateX(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
  @keyframes slide-in-left {
    0% {
      -webkit-transform: translateX(-1000px);
              transform: translateX(-1000px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
      opacity: 1;
    }
  }
/******** SLIDER *********/

.sliderarrow:hover {
    cursor: pointer !important;
}

/******** MENU & SUBMENU *********/

header:not(.sticky):not(.scrolled) .header_bottom, header.fixed.scrolled .header_bottom {
    border: 0;
    box-shadow: none;
}

li.narrow .second .inner ul {
    display: flex;
    justify-content: center;
    margin-top: -1px;
    padding: 9px 0;
}

.drop_down .second {
    position: absolute;
    left: 50% !important;
    top: 55% !important;
    right: auto;
}

.drop_down .second .inner {
    position: relative;
    left: -50%;
}

header.transparent:not(.sticky) .drop_down .second, header.transparent.with_border:not(.sticky) .drop_down .second {
    top: 55%;
}

nav.main_menu>ul>li.lang-item>a {
    text-transform: lowercase;
}

/*nav.main_menu ul li.lang-item-en {
    display: none;
}*/

.drop_down .second .inner ul li, .drop_down .narrow .second .inner ul li {
    width: auto;
    flex: 0 0 auto;
}

.drop_down .second .inner ul li a {
    color: white;
/*     padding-top: 5px; */
    margin: 5px 20px;
    padding: 0 !important;
    text-transform: none;
}

.drop_down .second .inner ul li a span:first-letter {
  text-transform: uppercase;
}

.drop_down .second .inner ul li a:hover, .drop_down li#nav-menu-item-433 .second .inner ul li.current-menu-item a {
  color: #BABDFF;
  font-family: 'Fivo Sans Bold';
}

nav.main_menu > ul > li.current-lang a, header.scrolled nav.main_menu > ul > li.current-lang > a, .drop_down .second .inner ul li a.current/*, .drop_down .second .inner ul li a.current, .drop_down .second .inner ul li.current-menu-item a*/ {
    color: #BABDFF;
    font-family: 'Fivo Sans Bold';
}

nav.main_menu > ul > li.current-menu-item > a span::before, nav.main_menu > ul > li.current-menu-ancestor > a span::before  {
    content : "";
    position: absolute;
    left    : 10%;
    bottom  : 150%;
    height  : 1px;
    width   : 80%;
    border-bottom: 2px solid white;
}

nav.main_menu div.second a.current span:not(.plus)::before {
    content : "";
    position: absolute;
    left    : 30%;
    bottom  : 80%;
    height  : 1px;
    width   : 40%;
    /* border-bottom: 2px solid #BABDFF; */
}

nav.main_menu div.second a span:not(.plus)::before {
    content : "";
    position: absolute;
    border-bottom: 2px solid transparent;
    bottom  : 80%;
    width: 0;
    height  : 0px;
    transition: all 1s;
}

nav.main_menu > ul > li.current-menu-item > a span, nav.main_menu>ul>li.active>a {
    color: white;
}

.drop_down li.current-menu-item a + .second, .drop_down li.current-menu-ancestor a + .second {
    opacity: 1 !important;
    height: 48px !important;
    z-index: 20 !important;
    visibility:visible;
    overflow:visible !important;
    transition: opacity .85s ease-in;
    -moz-transition: opacity .85s ease-in;
    -webkit-transition: opacity .85s ease-in;
}

.drop_down li.current-menu-item a + .second.invisible, .drop_down li.current-menu-ancestor a + .second.invisible {
    opacity: 0 !important;
    height: 0 !important;
    z-index: 0 !important;
    visibility: hidden !important;
    text-indent: -999px;
}

.animate__animated.fade-in-bottom {
  -webkit-animation: fade-in-bottom 2s cubic-bezier(0.470, 0.000, 0.745, 0.715) ;
          animation: fade-in-bottom 2s cubic-bezier(0.470, 0.000, 0.745, 0.715) ;
}

/**
 * ----------------------------------------
 * animation fade-in-bottom
 * ----------------------------------------
 */
 @-webkit-keyframes fade-in-bottom {
    0% {
      -webkit-transform: translateY(50px);
              transform: translateY(50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes fade-in-bottom {
    0% {
      -webkit-transform: translateY(50px);
              transform: translateY(50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }

.animate__animated.fade-in, .animate__animated.fade-in2, .animate__animated.fade-in3, .animate__animated.fade-in4, .animate__animated.fade-in5, .animate__animated.freccia1, .animate__animated.freccia2, .animate__animated.freccia3, .animate__animated.freccia4 {
	-webkit-animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
	        animation: fade-in 1.2s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}
.animate__animated.freccia1 {
	-webkit-animation-delay: 150ms;
	        animation-delay: 150ms;
}
.animate__animated.freccia2 {
	-webkit-animation-delay: 450ms;
	        animation-delay: 450ms;
}
.animate__animated.freccia3 {
	-webkit-animation-delay: 750ms;
	        animation-delay: 750ms;
}
.animate__animated.freccia4 {
	-webkit-animation-delay: 1050ms;
	        animation-delay: 1050ms;
}
.animate__animated.fade-in2 {
	-webkit-animation-delay: 300ms;
	        animation-delay: 300ms;
}
.animate__animated.fade-in3 {
	-webkit-animation-delay: 600ms;
	        animation-delay: 600ms;
}
.animate__animated.fade-in4 {
	-webkit-animation-delay: 900ms;
	        animation-delay: 900ms;
}
.animate__animated.fade-in5 {
	-webkit-animation-delay: 1200ms;
	        animation-delay: 1200ms;
}

/**
 * ----------------------------------------
 * animation fade-in
 * ----------------------------------------
 */
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/******** FOOTER *********/

footer.scrollify {
  height: auto !important;
}

.four_columns {
    display: flex;
    align-items: flex-start;
  justify-content: space-between;
	height: 200px;
	font-size: .9rem;
}

div.footer_top {
    padding: 90px 0 50px 0;
}

div.column1.footer_col1, div.column2.footer_col2, div.column3.footer_col3 {
    border-right: 1px solid white;
    margin-right: -1px;
	/*flex: 1;
    display: flex;
    justify-content: center;
	align-items: stretch;*/
    width: 25%;
	height: 100%;
}

.footer_top .footer_col4 {
  text-align: center;
	align-self: center;
}

.footer_top .four_columns .column1 .column_inner, .footer_top .four_columns .column2 .column_inner, .footer_top .four_columns .column3 .column_inner, .footer_top .four_columns .column4 .column_inner {
  /*flex: 1;*/
	height: 100%;
}
.footer_top .widget.widget_text {
	height: 100%;
}
.footer_top .column1.footer_col1 .widget.widget_text {
	height: auto;
}
.footer_top .textwidget, .footer_top .four_columns .column1 .column_inner {
	    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
	width: 100%;
}
.footer_top .column1.footer_col1 .textwidget {
	display: block;
}

.footer_top .four_columns .column1 .column_inner>div, .footer_top .four_columns .column2 .column_inner>div, .footer_top .four_columns .column3 .column_inner>div, .footer_top .four_columns .column4 .column_inner>div {
    margin: 0;
}

.four_columns > .column2 > .column_inner, .four_columns > .column3 > .column_inner, .four_columns > .column4 > .column_inner {
  padding: 0 15px;
}
.column1.footer_col1 img {
  width: 109px;
}

#back_to_top>span {
    width: 26px;
    height: 26px;
    line-height: 41px;
    text-decoration: none;
    -webkit-transition: all 1s ease 0s;
    -moz-transition: all 1s ease 0s;
    -o-transition: all 1s ease 0s;
    border: 0;
    border-radius: 0;
    background: transparent url("https://www.herahg.com/wp-content/uploads/2019/07/up.png") no-repeat;
    background-size: 26px 26px;
}

#back_to_top.on {
  right: 5px;
}

#back_to_top:hover {
    bottom: 70px;
}

#back_to_top:hover>span {
    background-color: white;
    background: transparent url("https://www.herahg.com/wp-content/uploads/2019/07/up-h.png") no-repeat;
    background-size: 26px 26px;
}

#back_to_top span i {
    display: none;
}

.footer_inner p {
  text-align: left;
  font-size: .9rem;
  /*padding-bottom: 15px;*/
}

/******** VERTICAL CAROUSEL *********/

.ult-carousel-wrapper.ult_vertical ul.slick-dots {
    right: 0 !important;
    position: absolute !important;
    width: auto !important;
    bottom: 50% !important;
}

.slick-dots li {
    display: block !important;
}

.ult-carousel-wrapper .slick-dots li i {
    opacity: 1 !important;
}

.ult-carousel-wrapper .slick-dots li i:before {
    color: #002F6C;
}

.ult-carousel-wrapper .slick-dots li.slick-active i:before {
    color: #002F6C;
    border-radius: 50%;
    background-color: #002F6C;
}

.pie-photo {
  width: 30%;
  height: auto;
}

#mission h3 {
  padding-bottom: 30px;
  font-family: 'herabold' !important;
}

#mission h3 strong, #fund h2 strong, h3 strong, h2 strong {
  font-family: 'Fivo Sans Bold';
}

/******** STORIA CAROUSEL *********/
#storia .slick-next, #storia .slick-prev, #management .slick-next, #management .slick-prev {
  top: 100% !important;
  margin-top: 30px;
}

/* #storiam .slick-next, #storiam .slick-prev {
  top: 80% !important;
  margin-top: 30px;
} */

#storia .slick-prev/* , #storiam .slick-prev */, #management .slick-prev {
    left: -26px !important;
}

#storia .slick-next/* , #storiam .slick-next */, #management .slick-next {
    right: 26px !important;
}

#storia .ult-carousel-wrapper button.square-border.slick-disabled/* , #storiam .ult-carousel-wrapper button.square-border.slick-disabled */, #management .ult-carousel-wrapper button.square-border.slick-disabled {
  opacity: .5;
}

#storia .ult-carousel-wrapper button.square-border/* , #storiam .ult-carousel-wrapper button.square-border */, #management .ult-carousel-wrapper button.square-border, #lavorare .ult-carousel-wrapper button.square-border {
  width: 26px !important;
  height: 26px !important;
  border: 0 !important;
}

#storia .ultsl-arrow-left4:before, /* #storiam .ultsl-arrow-left4:before, */ #management .ultsl-arrow-left4:before, #lavorare .ultsl-arrow-left2:before {
  content: "" !important;
    position: absolute;
    width: 26px;
    height: 26px;
    background: white url("https://www.herahg.com/wp-content/uploads/2019/07/prev.png") no-repeat !important;
    background-size: 26px 26px !important;
    transition: left 2s ease;
}

#storia .ultsl-arrow-right4:before, /* #storiam .ultsl-arrow-right4:before, */ #management .ultsl-arrow-right4:before, #lavorare .ultsl-arrow-right2:before {
  content: "" !important;
    position: absolute;
    width: 26px;
    height: 26px;
    background: white url("https://www.herahg.com/wp-content/uploads/2019/07/next.png") no-repeat !important;
    background-size: 26px 26px !important;
    transition: left 2s ease;
}
.slick-next:before, .slick-prev:before {
	content: "" !important;
}

#lavorare .slick-next {
	right: 0;
}

#lavorare .slick-prev {
	left: -25px;
}

.persona {
	margin-bottom: 30px;
}

.persona .wpb_text_column.herabold {
	margin: 15px 0 5px 0 !important;
}

div[data-q_id="#chisiamo"] {
	margin-bottom: 0 !important;
}

/******** EVENTI CAROUSEL *********/

.mega-post-carousel1 .mega-post-image {
    padding: 15px;
    /*height: 150px !important;*/
}

.mega-post-carousel1 .mega-post-title {
    margin: 0 !important;
    padding: 0 !important;
}

#eventi .mega-post-carousel1 .mega-post-image img {
    width: 150px !important;
height: 150px !important;
    border-radius: 50%;
    object-fit: cover;
}

.mega-post-carousel1 .mega-post-image:hover img {
    border: 1px solid #BABDFF;
}

span.mega-post-meta, span.mega-post-date, .mega-post-carousel1 .mega-post-date i {
    display: none;
}

h3.mega-post-title, .mega-post-carousel1 .mega-post-title a {
    text-transform: none;
    text-align: center;
    font-family: 'Fivo Sans Bold';
    font-size: 1.3rem !important;
    color: #002F6C !important;
    line-height: 1.1 !important;
}

#eventi .mega-post-para p {
  color: #002F6C;
  font-size: 1.3rem;
}

#eventi .mega-post-para p a:hover {
  text-decoration: underline;
}

.mega-post-carousel1 .mega-post-para p {
    text-align: center !important;
}

#eventiblog span.mega-post-date {
  display: block;
  color: #002F6C;
  font-size: .8rem;
  font-family: 'Fivo Sans Bold';
}

#eventiblog h3.mega-post-title, #eventiblog .mega-post-carousel1 .mega-post-title a, #eventiblog .mega-post-carousel1 .mega-post-para p {
  text-align: left !important;
  color: #002F6C;
}

#eventiblog .col-1-1.mason-item:first-of-type .mega-post-carousel1 .mega-post-para p {
  width: 50%;
}

#eventiblog .fa-clock-o:before {
  content: none;
}

#eventiblog div.more, #eventiblog div.more:hover {
  background: none;
  margin-top: 15px;
}

#eventiblog .col-1-1.mason-item:first-of-type div.more {
  text-align: right;
  text-transform: uppercase;
  width: 50%;
}

#eventiblog .col-1-1.mason-item:nth-of-type(2) div.more {
  text-align: right;
  text-transform: uppercase;
}

#eventiblog .mega-post-carousel1 .mega-post-image {
  height: 150px !important;
}

#eventiblog .col-1-1.mason-item:first-of-type div.mega-post-image {
  position: absolute;
  top: 0;
  left: 55%;
}

#eventiblog .col-1-1.mason-item:nth-of-type(2) div.mega-post-image {
  position: absolute;
  left: 30%;
}

#eventiblog .col-1-1.mason-item:nth-of-type(2) .mega-post-carousel1 .mega-post-para, #eventiblog .col-1-1.mason-item:nth-of-type(2) .mega-post-carousel1 span.mega-post-date, #eventiblog .col-1-1.mason-item:nth-of-type(2) .mega-post-carousel1 .mega-post-title, #eventiblog .col-1-1.mason-item:nth-of-type(2) .mega-post-carousel1 span.mega-post-date {
  width: 50%;
  float: right;
  clear: both;
}

#eventi .vc-post-styling .slick-prev, #eventi .vc-post-styling .slick-next {
  top: 20%;
}

#eventi button.slick-prev:before {
    content: "" !important;
    position: absolute;
    width: 26px;
    height: 26px;
    background: white url("https://www.herahg.com/wp-content/uploads/2019/07/prev.png") no-repeat !important;
    background-size: 26px 26px !important;
    left: 20px;
    bottom: 20px;
    transition: left 2s ease;
}

#eventi button.slick-prev:hover:before {
    /* left: 0; */
    background: white url("https://www.herahg.com/wp-content/uploads/2019/07/prev-h.png") no-repeat !important;
    background-size: 26px 26px !important;
}

#eventi button.slick-next:before {
    content: "" !important;
    position: absolute;
    width: 26px;
    height: 26px;
    background: white url("https://www.herahg.com/wp-content/uploads/2019/07/next.png") no-repeat !important;
    background-size: 26px 26px !important;
    right: 20px;
    bottom: 20px;
    transition: right 1s ease;
}

#eventi button.slick-next:hover:before {
    /* right: 0; */
    background: white url("https://www.herahg.com/wp-content/uploads/2019/07/next-h.png") no-repeat !important;
    background-size: 26px 26px !important;
}

div.more {
  margin-top: 50px;
  text-align: center;
  height: 29px;
  font-family: 'Fivo Sans Bold';
}

.adv .vc_single_image-wrapper {
  border: 1px solid #7CB8C0;
}

.cm .vc_single_image-wrapper {
  border: 1px solid #54A47E;
}

.adv .vc_single_image-wrapper > *, .cm .vc_single_image-wrapper > * {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

/******** CAROSELLO IMMAGINI OBIETTIVI *********/

#obiettivi .wpb_gallery .wpb_flexslider.flexslider .flex-control-nav li a {
    background-color: white;
    border: 1px solid #002F6C;
}

#obiettivi .wpb_gallery .wpb_flexslider.flexslider .flex-control-nav li a.flex-active {
    background-color: #002F6C !important;
}

#obiettivi .flexslider {
    margin-bottom: 0;
}
.rollover {
    display: block;
    width: 28px;
    height: 28px;
    background: url("https://www.herahg.com/wp-content/uploads/2019/07/scopri.png") no-repeat;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.rollover:hover {
    background: url("https://www.herahg.com/wp-content/uploads/2019/07/scopri-h.png") no-repeat;
}

#magazine p > a:hover:first-of-type + .rollover {
  background: url("https://www.herahg.com/wp-content/uploads/2019/07/scopri-h.png") no-repeat;
}

.rollover img {
  visibility: hidden;
}

/**
 * ----------------------------------------
 * animation kenburns-top
 * ----------------------------------------
 */
@-webkit-keyframes kenburns-bottom-right {
  0% {
    -webkit-transform: scale(1) translate(0, 0);
            transform: scale(1) translate(0, 0);
    -webkit-transform-origin: 84% 84%;
            transform-origin: 84% 84%;
  }
  100% {
    -webkit-transform: scale(1.25) translate(20px, 15px);
            transform: scale(1.25) translate(20px, 15px);
    -webkit-transform-origin: right bottom;
            transform-origin: right bottom;
  }
}
@keyframes kenburns-bottom-right {
  0% {
    -webkit-transform: scale(1) translate(0, 0);
            transform: scale(1) translate(0, 0);
    -webkit-transform-origin: 84% 84%;
            transform-origin: 84% 84%;
  }
  100% {
    -webkit-transform: scale(1.25) translate(20px, 15px);
            transform: scale(1.25) translate(20px, 15px);
    -webkit-transform-origin: right bottom;
            transform-origin: right bottom;
  }
}

/******** ANIMAZIONE LOADING *********/

 .lp-screen img {
  width: 480px !important;
    max-width: 480px !important;
    display: block !important;
    border: 0;
    box-shadow: none;
}

 /*.lp-screen span:after {
 content: "I nostri uffici resteranno chiusi \a dal 24 dicembre all\’08 gennaio. \a\a Buone feste e arrivederci al 2021!";
	 font-family: 'Fivo Sans Bold';
	 font-size: 1.2rem;
	 color: #002F6C;
	 display: block;
	 margin-top: -30px;
	 white-space: pre;
  word-wrap: break-word;
	 text-align: center;
}*/

.lp-screen span {
  width: 480px !important;
  background: url('https://www.herahg.com/wp-content/themes/heratheme/img/logo.png') no-repeat 50% 40%;
  background-size: 50%;
}

header.scrolled:not(.header_style_on_scroll) .q_logo img.normal {
	height: auto !important;
	width: 100px !important;
	margin-top: 10px;
}

.amazingcarousel-item-container, #wonderplugincarousel-1 .amazingcarousel-image img {
  border: 0 !important;
  box-shadow: none !important;
}

div.amazingcarousel-item-container div.amazingcarousel-image div > a {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important
}

div.amazingcarousel-title {
  display: none !important;
}

div.amazingcarousel-item-container div.amazingcarousel-image div:not(.amazingcarousel-hover-effect) {
  background: none !important;
}

/*#wonderplugincarousel-1 .amazingcarousel-item-container {
  background: linear-gradient(to bottom, #002F6C 80%, white 20%) !important;
  padding: 0 !important;
}*/
/* #pleasure .flickity-slider div._df_thumb {
 counter-reset: my-badass-counter;
}*/

#pleasure .flickity-slider ._df_book-cover:after {
/*  content: counter(my-badass-counter, decimal-leading-zero);
  counter-increment: my-badass-counter;
  color: white;
  font-family: 'herabold' !important;
  font-size: 1.1rem;
  position: absolute;
  top: 20px;
  right: 20px;*/
  content: '';
  position: absolute;
  top: 0;
  left: 0;
/*   transition: all .3s ease-in; */
  width: 100%;
  height: 100%;
  z-index: 100;
}

#pleasure .flickity-slider ._df_book-cover:hover:after {
  background: url("https://www.herahg.com/wp-content/uploads/2020/02/pleasure-h.png") no-repeat 50% 0;
  background-size: contain;
}
/*.amazingcarousel-image {
  width: 60%;
  padding: 40px 0 0 0 !important;
}*/

/*.amazingcarousel-hover-effect {
  background: rgba(0, 47, 108, .6) !important;
}*/

/*.amazingcarousel-hover-effect:after {
  position: absolute;
    left: 0px;
    top: 50%;
    width: 100%;
    height: 100%;
  content: "sfoglia";
  color: white;
  font-family: 'Fivo Sans Bold';
  text-transform: uppercase;
}*/

li.amazingcarousel-item:hover > .amazingcarousel-item-container:before {
  border-bottom: 2px solid white;
}

/* PLEASURE CAROUSEL */
.flickity-viewport {
	height: 325px !important;
}
.flickity-slider {
	left: 1px !important;
}
 .dflip-books {
  width: 70%;
  margin: 0 auto;
  position: relative;
  /* display: flex;
  overflow-x: auto;
  flex-wrap: nowrap;
  align-items: flex-start;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; */
  /*height: 350px;*/
}

._df_thumb {
/*background: linear-gradient(to bottom, #002F6C 60%, white 20%) !important;*/
padding: 0 !important;
}

._df_thumb ._df_book-title {
  opacity: 0;
  display: none !important;
}

._df_book-cover, ._df_thumb:hover {
  border: 0;
  background-color: transparent;
  box-shadow: none !important;
  transform: none !important;
  -moz-transform: none !important;
  -webkit-transform: none !important;
  -ms-transform: none !important;
  transition: none;
  -ms-transition: none;
  -moz-transition: none;
  -webkit-transition: none;
}

._df_book-cover {
  position: relative;
}

/*._df_book-cover:after {
  background-color: rgba(0,47,108,.6);
  position: absolute;
  content:"";
  top:12.5%;
  height:75%;
  left:0;
  width:68%;
  opacity:0;
  content: "sfoglia";
  color: white;
  font-family: 'Fivo Sans Bold';
  text-transform: uppercase;
  line-height: 15;
  transition: opacity .7s ease-in-out;
}

._df_book-cover:hover:after  {
  opacity: 1;
}*/

.carousel-cell, ._df_thumb {
  width: calc(33.333% - 20px);
  margin: 10px;
  box-shadow: none !important;
	    height: 100%;
    object-fit: cover;
}

._df_thumb[thumbtype="img"] img {
  max-height: 100% !important;
  vertical-align: top;
}

button.flickity-button {
  background: transparent;
}

button.flickity-button:hover {
  background: transparent;
}

button.flickity-button svg {
  display: none;
}

button.flickity-button.next:after {
  content: "";
  position: absolute;
    width: 26px;
    height: 26px;
    background: white url("https://www.herahg.com/wp-content/uploads/2019/07/next.png") no-repeat !important;
    background-size: 26px 26px !important;
}
button.flickity-button.previous:after {
  content: "";
  position: absolute;
    width: 26px;
    height: 26px;
    background: white url("https://www.herahg.com/wp-content/uploads/2019/07/prev.png") no-repeat !important;
    background-size: 26px 26px !important;
}
button.flickity-button.next {
  right: -30px;
}
button.flickity-button.previous {
  left: -70px;
}
button.flickity-button.next:hover:after {
    background: white url("https://www.herahg.com/wp-content/uploads/2019/07/next-h.png") no-repeat !important;
    background-size: 26px 26px !important;
}
button.flickity-button.previous:hover:after {
  background: white url("https://www.herahg.com/wp-content/uploads/2019/07/prev-h.png") no-repeat !important;
  background-size: 26px 26px !important;
}

span.numbering {
  color: white;
  font-family: 'herabold' !important;
  font-size: 1.1rem;
  position: absolute;
  top: 20px;
  right: 15%;
  transition: all .3s ease-in;
}

.flickity-slider ._df_thumb:hover span.numbering {
  border-bottom: 2px solid white;
}

/******** PDF FLIPBOOK *********/

.df-container > .df-ui-next {
  color: white !important;
}

.df-container > .df-ui-prev {
  color: white !important;
}

.df-lightbox-close {
  color: rgba(255, 255, 255, .5) !important;
}

.df-lightbox-close:hover {
  background-color: transparent !important;
  border: 0 !important;
  color: rgba(255, 255, 255, 1) !important;
}

.df-lightbox-wrapper {
  background-color: transparent !important;
}

.df-lightbox-wrapper .df-container {
  background-color: rgba(0, 47, 108, .8) !important;
}

#wonderplugincarousel-2 .amazingcarousel-image img {
  object-fit: cover;
  width: 150px !important;
height: 150px !important;
}

#wonderplugincarousel-2 .amazingcarousel-image img[alt="Un giorno a 3.400 metri di altezza. One step ahead"] {
  object-position: 80% 0;
}

/*#map-canvas {
  width: 100%;
  height: 500px;
  margin: 50px 0;
}*/

body.single .container_inner, body.single .content .container .container_inner.default_template_holder {
  padding: 0;
  width: 100%;
}

/*body.single article, body.single header .container_inner, body.single footer .container_inner {
  margin: 0 auto !important;
  display: block !important;
}*/

#posizioni .vc-gitem-zone-height-mode-auto.vc-gitem-zone-height-mode-auto-4-3::before {
  padding-top: 0;
}

#posizioni .vc_gitem-zone-a .vc_gitem-row-position-top {
  position: relative;
}

#posizioni .vc_gitem_row .vc_gitem-col {
  padding: 0;
}

#posizioni .vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat {
    background-color: transparent;
  text-transform: none;
  color: #002F6C;
    padding: 0;
    text-align: right;
    font-size: 1.1rem;
    text-decoration: none;
    font-family: 'Fivo Sans Regular';
}

.field_5e4a5d13b4ee7 {
  padding-bottom: 60px !important;
}

#posizioni .vc_btn3-container.vc_btn3-inline {
    display: block;
    vertical-align: top;
    float: right;
}

.vc_gitem-zone-a .vc_gitem-row-position-top {
  position: relative;
}

#news .vc_gitem-zone-a .vc_gitem-row-position-top {
  margin-top: 20px;
}

.sweep-to-top img {
  margin-left: 10rem;
}

  #management .slick-list {
    height: 550px;
}

/******** MEDIA QUERIES *********/

@media only screen and (min-width : 320px) and (max-width : 480px) {
	#cosaoffriamo img {
    width: 100%;
}
	.perchesiamo {
		padding: 0 20px;
	}
	.persone .image_with_text {
		margin-bottom: 30px;
	}
	
	body.page-people .q_image_with_text_over div.desc {
    font-size: 1.05rem;
    margin: 0 20px;
}
	.four_columns {
		height: auto;
	}
	.trackrecord .vc_col-sm-6 {
		margin-bottom: 20px;
	}
	.dflip-books {
		width: 100%;
	}
	#contatti .vc_col-sm-6 {
		margin-bottom: 30px;
	}
	#map-canvas, .nascosto {
	display: none;
	visibility: hidden;
}
	/*#map-canvas-responsive {
	display: block;
	visibility: visible;
}*/
	.titolospan {
		position: relative;
		right: auto;
	}
#approccioinnovativo .wpb_wrapper > div:nth-child(2) img, #approccioinnovativo .wpb_wrapper > div:nth-child(4) img, #approccioinnovativo .wpb_wrapper > div:nth-child(6) img, #approccioinnovativo .wpb_wrapper > div:nth-child(8) img {
	width: 50%;
	transform: rotate(90deg);
}
#approccioinnovativo .wpb_wrapper > div {
	text-align: center;
}
.approccio img {
	height: auto;
	width: 70%;
	object-fit: cover;
	margin: 20px 0;
}
	.wpb_text_column.wpb_content_element.freccia {
		margin-bottom: 10px !important;
	}
  div.grid_section .section_inner, body.single article, footer .container_inner, body.single footer .container_inner, body.single article.posizione, .blog_holder article {
    width: 300px;
  }
  header.scrolled:not(.header_style_on_scroll) .q_logo img.normal {
    height: 80% !important;
  }
    nav.mobile_menu>ul {
    padding-top: 50px;
  }
    nav.mobile_menu ul li a {
    font-size: 1.6rem;
  }
    nav.mobile_menu ul.sub_menu li a {
    font-size: 1.1rem;
  }

    nav.mobile_menu ul.sub_menu li:first-of-type {
    padding: 10px 0 0 0;
  }

  nav.mobile_menu ul.sub_menu li:last-of-type {
    padding: 0 0 10px 0;
  }
  header.fixed .header_bottom.smaller nav.mobile_menu {
    margin-top: -20px;
  }
  nav.mobile_menu ul li.lang-item-it {
    margin: 10px 0 0 0;
  }
  nav.mobile_menu ul li.lang-item-en {
    margin: 0 0 10px 0;
  }
  body.single .header_bottom {
  background-color: rgba(0, 47, 108, 1) !important;
}

body.single article, body.single footer .container_inner {
  width: 300px;
}

body.page-contatti rs-module-wrap, body.page-contatti rs-fullwidth-wrap {
  /*height: 70% !important;*/
  margin-bottom: 10px;
}

#contatti {
  margin-top: -50%;
}
div.wpcf7 {
  margin-top: 30px;
}
/*#post-carousel #wonderplugincarousel-2 .amazingcarousel-image img {
  width: 40vw;
  height: 40vw;
}*/

.trackrecord .q_accordion_holder.accordion.boxed .ui-accordion-header {
  font-size: 1rem;
}

#news {
    margin-top: 0 !important;
}

.sweep-to-top img {
    margin-left: 0;
    display: block;
    margin: 0 auto;
    float: none;
    padding-top: 40px;
  }

  #wonderplugincarousel-1 .amazingcarousel-prev {
    margin-left: -29px !important;
  }

  #wonderplugincarousel-1 .amazingcarousel-next {
    margin-right: -29px !important;
  }

  .pie-photo {
    width: 60%;
  }

  #homedivisioni, #magazine, #eventi, #gruppo {
    margin: 30px 0 !important;
}

.homesquare {
  margin: 15px;
}
.four_columns {
  display: block;
}
div.column1.footer_col1, div.column2.footer_col2, div.column3.footer_col3, div.column4.footer_col4 {
  border: 0;
  float: none;
  width: 100%;
  text-align: left;
  padding: 0;
}
div.footer_top {
  padding: 50px 0;
}
div.column1.footer_col1 img {
  margin-left: 0;
}
.footer_responsive_adv .footer_top .four_columns .column1, .footer_responsive_adv .footer_top .four_columns .column2, .footer_responsive_adv .footer_top .four_columns .column3 {
  margin: 0;
}
#magazine p {
  font-size: 1.3rem;
}
#magazine .q_elements_item:nth-of-type(2) {
  margin-top: 50px;
}

/*#primotitolo*/#chisiamo, #obiettivi, #pleasure, #contatti {
  margin: 0 !important;
  padding: 0 !important;
}
/* #chisiamo h2, #mission h2, #storia h2, #obiettivi h2, #servizi h2, #gruppo h2, #pleasure h2, #press h2, #news h2 {
  margin: 30px 0;
} */
#obiettivi div.section, #chisiamo div.section, #pleasure div.section, #contatti div.section {
  margin: 0 !important;
}
#press div.section {
  margin-top: 20px !important;
}

#servizi .scrolla.titolo {
  padding: 9px 0 !important;
}
#servizi h3 {
  font-size: 1.1rem;
  line-height: 1.1;
  padding: 13px 50px 13px 15px;
}
#servizi h3:after {
  margin: 0;
  top: 9px;
  right: 15px;
}
.big p, #obiettivi p {
  font-size: 1.3rem;
  padding-bottom: 30px;
}
.square {
  width: 40vw;
  padding: 10px;
	float: none;
	margin: 0 auto;
}
#chisiamo .twocols {
  column-count: 1;
}
#chisiamo .twocols p {
  padding-bottom: 30px;
}
.missiontwo {
  padding: 30px 0;
}
.missiontwo .q_elements_holder { display: table; }
.missiontwo .q_elements_item:first-of-type { display: table-footer-group !important;}
.missiontwo .q_elements_item:nth-of-type(2) { display: table-header-group !important;}

#storia .storiasquare h5 {
  font-size: .9rem;
  width: 80%;
  top: 2%;
  line-height: 1;
}
#storia, #pleasure {
  padding-bottom: 30px !important;
}
#masonry .wpb_wrapper .wpb_content_element:nth-child(1) { order: 1; }  
#masonry .wpb_wrapper .wpb_content_element:nth-child(2) { order: 2; }  
#masonry .wpb_wrapper .wpb_content_element:nth-child(3) { order: 3; }  
#masonry .wpb_wrapper .wpb_content_element:nth-child(4) { order: 1; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(5) { order: 2; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(6) { order: 3; } 
/*.storiasquare h4, .ult-item-wrap.slick-slide:first-of-type h4  {
  font-size: 1.2rem;
  position: absolute;
  -moz-transform: translate(125px, -10px) rotate(90deg);
  -webkit-transform: translate(125px, -10px) rotate(90deg);
  -o-transform: translate(125px, -10px) rotate(90deg);
  -ms-transform: translate(125px, -10px) rotate(90deg);
  transform: translate(125px, -10px) rotate(90deg);
  opacity: 1;
  -webkit-transition: none;
  transition: none;
}
.storiasquare .specialyear h4 {
  font-size: 1.2rem;
  position: absolute;
  -moz-transform: translate(120px, -5px) rotate(90deg);
  -webkit-transform: translate(120px, -5px) rotate(90deg);
  -o-transform: translate(120px, -5px) rotate(90deg);
  -ms-transform: translate(120px, -5px) rotate(90deg);
  transform: translate(120px, -5px) rotate(90deg);
  opacity: 1;
  -webkit-transition: none;
  transition: none;
}*/

.storiasquare p {
  font-size: .8rem;
  line-height: 1;
  position: absolute;
  bottom: 0px;
  width: 90%;
}
.storiasquare h5::before {
  top: -15px;
}

/* #storia .slick-slide {
   width: 164px !important;
   height: 164px !important;
   margin: 0 35px !important;
} */
#contatti .vc_col-sm-4 {
  margin: 11px 0;
}
div.google_map_shortcode_holder {
  margin-top: 30px;
}
#news .vc_grid.vc_row.vc_grid-gutter-30px .vc_grid-item {
  padding: 15px 0;
}
.vc_gitem-zone-a .vc_gitem-row-position-bottom, .vc_gitem-zone-a .vc_gitem-row-position-top, .vc_gitem-zone-a .vc_gitem-row-position-middle {
  position: relative;
}
body.page-id-457 .vc-gitem-zone-height-mode-auto:before, body.page-id-1294 .vc-gitem-zone-height-mode-auto:before {
  padding: 0;
}
#news .vc_col-sm-6 {
  text-align: left;
  float: none;
}
.lp-screen img {
  width: 250px !important;
    max-width: 250px !important;
    display: block !important;
    border: 0;
    box-shadow: none;
    margin: auto;
}
	
/*.lp-screen span:after {
	 font-size: .9rem !important;
	 margin-top: 0 !important;
}*/

.lp-screen span {
  width: 250px !important;
}

div.hovering {
  font-size: 1.3em;
  width: 94%;
}

#chisiamo .vc_column_container>.vc_column-inner, #contatti .vc_column_container>.vc_column-inner, #obiettivi .vc_column_container>.vc_column-inner, #servizi .vc_column_container>.vc_column-inner {
  padding: 0;
}

#contatti .vc_col-sm-4 {
  margin-bottom: 30px;
}

#contatti .vc_col-sm-4:nth-of-type(3) {
  display: none;
}

.square p {
  font-size: 1.1rem;
}

.square p strong {
  font-size: 1.4rem;
  line-height: 1.1;
  padding: 0
}

#chisiamo .scrolla {
  margin-bottom: 20px !important;
}
#pleasure .scrolla {
  margin: 20px !important;
}
#chisiamo h4 {
  margin-top: 40px !important;
}

.square:nth-of-type(2) {
  margin: 0 !important;
}

.footer_responsive_adv .footer_top .four_columns .column1, .footer_responsive_adv .footer_top .four_columns .column2, .footer_responsive_adv .footer_top .four_columns .column3 {
  margin-bottom: 20px !important;
}

.capitalsquare:after {
  z-index: 1;
  margin: 0 20px;
  padding: 0 20px !important;
}
.carousel-cell, ._df_thumb {
  width: 100%;
  margin: 0 !important;
  box-shadow: none !important;
}
._df_book-cover:after {
  width: 85%;
}
span.numbering {
  top: 10px;
}
#news .vc_gitem_row .vc_gitem-col {
  padding: 0 !important;
}
.storiasquare h4 {
   right: -10%;
}

.specialyear h4 {
right: -11%;
    top: 5%;
}

#masonry .wpb_wrapper .wpb_content_element {
	flex: 1 1 100%;
}
/* Sfalsamento verticale */
#masonry .wpb_wrapper .wpb_content_element:nth-child(1) { top: auto; }  
#masonry .wpb_wrapper .wpb_content_element:nth-child(4) { top: auto; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(5) { top: auto; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(6) { top: auto; } 
	
	#storia .vc_col-sm-8 {
		width: 100%;
	}
		#numerihome .vc_col-sm-4 {
		margin-bottom: 20px;
	}

	
}

@media only screen and (min-width : 540px) and (max-width : 720px) {
	.square {
  width: 40vw !important;
  padding: 10px !important;
	float: none;
	margin: 0 auto;
}
	.cirivolgiamo .full_section_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
	.cirivolgiamo .full_section_inner .vc_col-sm-2, #approccioinnovativo .wpb_wrapper .wpb_single_image {
    width: 50%;
    margin-bottom: 30px;
}
	#approccioinnovativo .image_with_text p {
		font-size: .8rem;
	}
	#approccioinnovativo .image_with_text img {
		width: 70px;
	}
	#storia {
		margin-top: 0 !important;
	}
	.footer_top .four_columns {
		display: block;
		height: auto;
	}
	.footer_top .textwidget, .footer_top .four_columns .column1 .column_inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}
	.four_columns div.column1.footer_col1, .four_columns div.column2.footer_col2, .four_columns div.column3.footer_col3, .four_columns div.column4.footer_col4 {
		width: 100%;
		text-align: left;
		border: 0;
	}
	#obiettivi .full_section_inner {
    display: flex;
    flex-direction: column;
}
	#obiettivi .full_section_inner .vc_col-sm-9 {
    order: 2;
}
	#obiettivi .full_section_inner .vc_col-sm-3 {
    order: 1;
}
	.flex-center .full_section_inner {
    flex-direction: column;
}
	.flex-center .full_section_inner .vc_col-sm-6 {
    margin-bottom: 30px;
}
}

@media only screen and (min-width : 480px) and (max-width : 768px) {
  body.single article, body.single footer .container_inner, body.single article.posizione, .blog_holder article {
    width: 600px;
  }
	/*#map-canvas {
		display: none;
		visibility: hidden;
	}
		#map-canvas-responsive {
	display: block;
	visibility: visible;
}*/
  nav.mobile_menu>ul {
    padding-top: 20px;
  }
     nav.mobile_menu ul.sub_menu li a {
    font-size: .95rem;
    padding: 0;
  }
    nav.mobile_menu ul.sub_menu li:first-of-type {
    padding: 0;
  }

  nav.mobile_menu ul.sub_menu li:last-of-type {
    padding: 0;
  }
    nav.mobile_menu ul li.lang-item-it {
    margin: 0;
  }
  #contatti .vc_col-sm-4:nth-of-type(1), #contatti .vc_col-sm-4:nth-of-type(2) {
  width: 50%;
  float: left;
}
#charityslider .slick-prev {
  left:  8% !important;
}
#charityslider .slick-next {
  right:  8% !important;
}
.vc_col-sm-4:first-of-type .capitalsquare:hover::after, .vc_col-sm-4 .capitalsquare:hover::after {
    margin: 0 !important;
}
.homesquare h4::before {
    top: -5px;
    }
    .sweep-to-top img {
    margin-left: 3rem;
}

.square p {
  font-size: 1rem;
}
    nav.mobile_menu ul li a {
    font-size: 1.2rem;
  }
  nav.mobile_menu ul li a, nav.mobile_menu ul li h3 {
    padding:  3px 0;
  }
header.fixed .header_bottom.smaller nav.mobile_menu {
    margin-top: -25px;
    overflow-y:  scroll;
  }
  .lp-screen img {
    width: 250px !important;
      max-width: 250px !important;
      display: block !important;
      border: 0;
      box-shadow: none;
      margin: auto;
  }

  .lp-screen span {
    width: 250px !important;
  }


  #homedivisioni .vc_col-xs-12 {
    width: 33%;
    float: left;
  }

  #homedivisioni {
    margin-bottom: 40px !important;
  }
  .homesquare {
    margin: 10px;
  }
  .homesquare h4 {
    font-size: 1.4rem;
    padding-top: 15px;
  }

  .homesquare p {
    width: calc(100% - 40px);
}

.homesquare p a {
  font-size: 1.1rem;
}
#magazine img {
  width: 70%;
}
#magazine p {
  font-size: 1.4rem;
}
.homesquare:hover p:after {
  width: 65%;
}
div.hovering {
  width: 66%;
}
div.amazingcarousel-image-fix-wrapper {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto;
}
/*#wonderplugincarousel-2 .amazingcarousel-image img {
  width: 100% !important;
  height: 100% !important;
  border-radius: none;
}*/
div.column1.footer_col1, div.column2.footer_col2, div.column3.footer_col3, div.column4.footer_col4 {
  /* flex: 1 1 auto;  */
  /* height: 150px;  */
  width: 25%;
  text-align: center;
  font-size: .9rem;
}
.footer_inner p {
  font-size: .75rem;
}
#servizi .scrolla.titolo {
  padding: 20px 0 !important;
}

#gruppo, #obiettivi, #servizi, #chisiamo, #storia, #pleasure, #press {
  margin: 50px 0 !important;
  padding: 30px 0 !important;
}
#news {
  margin: 0 !important;
  padding: 30px 0 !important;
}
video.uno, video.due, video.tre {
  width: 190px;
}
#obiettivi .vc_row {
  margin-top: 30px !important;
}

#obiettivi .q_elements_item_inner .wpb_single_image .wpb_wrapper {
  text-align: center;
  padding-top: 20px;
}

.square {
  width: 25vw;
  height: 25vw;
  margin-top: 30px;
  padding: 20px;
}
.square:nth-of-type(2) {
  margin-top: 55px;
margin-bottom: 60px !important;
}
#numero .vc_col-xs-12 {
  width: 33%;
}

.capitalsquare {
  margin: 10px;
}

.capitalsquare h4 {
  font-size: 2.1rem;
  padding-bottom: 0;
}
.capitalsquare:after {
  z-index: 1;
  padding: 0 20px !important;
  margin: 0 10px !important;
}
.capitalsquare:hover::after {
  font-size: 1.1rem !important;
  line-height: 1.1;
}
.missiontwo {
  padding: 30px 0;
}
.missiontwo .q_elements_holder { display: table; }
.missiontwo .q_elements_item:first-of-type { display: table-footer-group !important;}
.missiontwo .q_elements_item:nth-of-type(2) { display: table-header-group !important;}
.footer_top .four_columns .column1 .column_inner, .footer_top .four_columns .column2 .column_inner, .footer_top .four_columns .column3 .column_inner, .footer_top .four_columns .column4 .column_inner {
  flex: none;
  padding-left: 10px;
}
.carousel-cell, ._df_thumb {
  width: calc(50% - 20px);
  margin: 10px;
  box-shadow: none !important;
}
#news .vc_gitem-post-data {
  margin-bottom: 0;
}
/* #storia .slick-slide {
   width: 164px !important;
   height: 164px !important;
   margin: 0 35px !important;
} */
.storiasquare p {
  font-size: 1.1rem;
}
.storiasquare h5 {
    font-size: 1.5rem;
    width: 70%;
    }
    .storiasquare h4 {
   right: -5%;
}

.specialyear h4 {
right: -5%;
    top: 5%;
}
	#masonry .wpb_wrapper .wpb_content_element {
	flex: 1 1 100%;
}
/* Sfalsamento verticale */
#masonry .wpb_wrapper .wpb_content_element:nth-child(1) { top: auto; }  
#masonry .wpb_wrapper .wpb_content_element:nth-child(4) { top: auto; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(5) { top: auto; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(6) { top: auto; } 
}

@media only screen and (min-width : 768px) and (max-width : 1024px) /*qui c'è anche iPad air portrait*/ {
	#masonry .wpb_wrapper .wpb_content_element {
		flex: 1 1 100%;
	}
	body.home .q_elements_holder.responsive_mode_from_768.two_columns .q_elements_item:nth-of-type(2) {
		margin-top: 30px;
	}
	
	#fund .sweep-to-top img {
		margin-left: 0;
	}
	
	.flickity-viewport {
    height: 450px !important;
}
	
	#map-canvas, .hideontablet {
	display: none;
	visibility: hidden;
}
	#masonry .wpb_wrapper .wpb_content_element:nth-child(1) { order: 1; top: auto;}  
#masonry .wpb_wrapper .wpb_content_element:nth-child(2) { order: 2; top: auto;}  
#masonry .wpb_wrapper .wpb_content_element:nth-child(3) { order: 3; top: auto;}  
#masonry .wpb_wrapper .wpb_content_element:nth-child(4) { order: 1; top: auto;} 
#masonry .wpb_wrapper .wpb_content_element:nth-child(5) { order: 2; top: auto;} 
#masonry .wpb_wrapper .wpb_content_element:nth-child(6) { order: 3; top: auto;} 
		#map-canvas-responsive {
	display: block;
	visibility: visible;
}
	#people .persone .vc_column_container>.vc_column-inner {
		padding: 0 7px;
	}
	#people .image_with_text img {
		height: 200px !important;
	}
  header:not(.sticky):not(.scrolled) .header_bottom, header.fixed.scrolled .header_bottom {
    background-color: #002f6c !important;
  }

/*    header .q_logo a, .logo_wrapper {
    height: 100px !important;
  }*/
	
	.referente.vc_col-sm-6, .cento {
		width: 100%;
	}
	
	.right {
		text-align: right;
	}
	
	.freccia p {
		margin-right: 50px;
	}

  #homedivisioni, #management, #servizi  {
  margin: 50px 0 !important;
}

body.single article.posizione {
  margin: 30px auto !important;
}

#charity, #eventi, #gruppo {
  margin-top: 80px !important;
}
	
	#storia {
		margin-top: 0 !important;
	}

#news {
  margin-top: 60px !important;
}

#mission, #press, #fund {
  padding: 80px 0 !important;
}

#candidatura, #posizioni, .trackrecord, #numerihome, .trackrecord .q_accordion_holder + .wpb_single_image {
  padding: 30px 0;
}

#charityslider {
  padding-top: 30px;
}
#pleasure {
  margin-bottom: 60px!important;
  padding-top: 4%;
}
#chisiamo, #obiettivi, #successi, #lavora {
margin-bottom: 80px !important;
}

/* body.single .post_image {
  height: 100vh;
  margin-top: -10% !important;
} */

  header .q_logo a {
    height: 70px !important;
  }

  .storiasquare h4, .capitalsquare h4 {
    font-size: 2.1rem;
  }
	
	.footer_inner p {
		font-size: .8rem;
	}

  .storiasquare h5 {
    font-size: .95rem;
  }

  .storiasquare p {
    font-size: .9rem;
  }

  .homesquare h4 {
  font-size: 1.4rem;
}

#magazine p {
  font-size: 1.5rem;
}

.square p {
  font-size: .9rem;
}

p, ul, li, #press .q_accordion_holder.accordion.boxed .ui-accordion-header {
    font-size: .95rem;
}

h3.mega-post-title {
  font-size: 1.2rem !important;  
}

body.page-id-457 .vc_gitem-post-data-source-post_excerpt p, .square p strong, .trackrecord .q_accordion_holder.accordion.boxed .ui-accordion-header, body.page-id-1294 .vc_gitem-post-data-source-post_excerpt p {
  font-size: 1.1rem;
}

.sweep-to-top img {
    margin-left: 6rem;
}

  .four_columns {
    display: flex;
    align-items: center;
  justify-content: space-between;
	  font-size: .85rem;
}

body.single article, body.single header .container_inner, body.single footer .container_inner {
  width: 600px;
}
	
	.footer_top .container_inner {
		width: 780px;
	}
	
	#text-5, #text-6 {
		margin-top: 20px;
	}
	
	#text-5 p, #text-6 p {
		font-size: .5rem;
		text-align: center;
	}
	#text-1 p {
		font-size: .6rem;
	}

.header_bottom .container_inner, body.single header.fixed .container_inner {
  width: 100%;
  height: 100px;
}
header.fixed .header_bottom.smaller nav.mobile_menu {
  margin-top: -20px;
}
#chisiamo, #mission {
  padding: 50px 0 !important;
}

div.footer_top {
    padding: 50px 0;
}

div.column1.footer_col1, div.column2.footer_col2, div.column3.footer_col3 {
    border-right: 1px solid white;
    margin-right: -1px;
    flex: 1 1 auto;
    display: flex;
    align-self: center;
    align-items: center;
    height: 150px;
    float: none;
    padding: 0 15px;
}

div.column4.footer_col4 {
  flex: 1;
  display: flex;
  align-self: center;
  align-items: center;
  float: none;
  padding: 0 30px;
}

  div.column1.footer_col1 img {
    width: 120px;
  }
#mission, #storia, #obiettivi, #servizi, #gruppo, #pleasure, #press, #news {
    padding: 30px 0 !important;
  }
  #charityslider .q_elements_holder.two_columns .q_elements_item p {
    font-size: 1rem;
    padding: 0 20px 0 30px;
  }
  #charityslider .q_elements_holder.two_columns .q_elements_item h3 {
    padding: 0 20px;
    margin-bottom: 20px;
    font-size: .9rem;
}
  div.more {
    background-position: 100% 50%;
  }

/*#primotitolo*/ #chisiamo, #obiettivi, #pleasure, #contatti {
    margin: 0 !important;
  }

  #homedivisioni .vc_col-sm-4, #chisiamo .vc_col-sm-4 {
    width: 100%;
    padding-bottom: 30px;
  }

.square.scrolla.animate__animated {
  margin-bottom: 30px !important;
}

  .square {
    width: 17vw;
    height: 17vw;
  }

  .storiasquare h5 {
    top: 2%;
    width: 91%;
  }

  .storiasquare p {
    width: 95%;
    line-height: 1.05;
  }

  .ult-item-wrap.slick-slide h4 {
    -moz-transform: translate(150px, 2px) rotate(90deg);
    -webkit-transform: translate(150px, 2px) rotate(90deg);
    -o-transform: translate(150px, 2px) rotate(90deg);
    -ms-transform: translate(150px, 2px) rotate(90deg);
    transform: translate(150px, 2px) rotate(90deg);
}
.ult-item-wrap.slick-slide:first-of-type h4 {
  -moz-transform: translate(150px, 2px) rotate(90deg);
  -webkit-transform: translate(150px, 2px) rotate(90deg);
  -o-transform: translate(150px, 2px) rotate(90deg);
  -ms-transform: translate(150px, 2px) rotate(90deg);
  transform: translate(150px, 2px) rotate(90deg);
}
.ult-item-wrap.slick-slide .specialyear h4 {
  -moz-transform: translate(143px, 5px) rotate(90deg);
-webkit-transform: translate(143px, 5px) rotate(90deg);
-o-transform: translate(143px, 5px) rotate(90deg);
-ms-transform: translate(143px, 5px) rotate(90deg);
transform: translate(143px, 5px) rotate(90deg);
}

.missiontwo .q_elements_holder { display: table; margin-top: 30px;}
/*.missiontwo .q_elements_item:first-of-type { display: table-footer-group !important;}
.missiontwo .q_elements_item:nth-of-type(2) { display: table-header-group !important;}*/

video.due {
  padding-top: 30px;
}

#obiettivi .section, #pleasure .section {
  margin-top: 30px !important;
}

.smaller img {
  width: 100%;
}

body.single article, body.single .container_inner {
  width: 600px;
}

/*#wonderplugincarousel-2 .amazingcarousel-image img {
  height: 170px !important;
}*/

#storia {
  margin-bottom: 50px !important;
}

#contatti .vc_col-sm-4 {
  margin-bottom: 30px;
}

#homedivisioni .vc_col-xs-12 {
  width: 50%;
  float: left;
}
.homesquare {
  margin: 10px;
}
.homesquare h4:before {
  top: 0;
}
.homesquare h4 {
  padding-top: 10px;
}
.homesquare:hover p:after {
  width: 65%;
}
#magazine p {
  margin-bottom: 30px;
}
div.hovering {
  width: 94%;
}
#eventi .section {
  margin: 0 !important;
}
#eventi .vc_col-sm-2 {
  width: 3%;
}
#eventi .vc_col-sm-8 {
  width: 94%;
}
.dflip-books {
        width: 100%;
    }
.flickity-slider {
  padding-top: 60px;
}
._df_book-cover:after {
  width: 77%;
}
.carousel-cell, ._df_thumb {
  width: 48%;
  margin: 20px;
}
span.numbering {
  top: 10px;
}
#news a.vc_single_image-wrapper {
  width: 70%;
}
body.page-id-457 .vc-gitem-zone-height-mode-auto::before, body.page-id-1294 .vc-gitem-zone-height-mode-auto::before {
  padding-top: 0;
}
.capitalsquare {
  padding: 10px;
  margin: 10px;
}
.capitalsquare h4 {
  font-size: 2.2rem;
}
.capitalsquare:after {
  z-index: 1;
  padding: 0 20px !important;
}
.vc_col-sm-4 .capitalsquare:hover::after {
  line-height: 1.2;
}
    .storiasquare h4 {
   right: -4%;
}

.specialyear h4 {
  font-size: 2rem !important;
right: -5%;
    top: 3%;
}

#management .slick-list {
  height: 420px;
}
	#storia .vc_col-sm-8 {
		width: 100%;
	}
		.big p, #obiettivi p {
  font-size: 1.2rem;
}
	.cirivolgiamo .vc_column-inner {
		padding: 0;
	}
	#direttrici h3 {
		font-size: 2.2rem;
	}
	.securedimg p {
		font-size: .9rem;
	}
}

@media only screen and (max-width: 768px) {
    .header_bottom .container_inner {
    width: 100%;
}
.storiasquare h4, .specialyear h4 {
opacity: 1;
}

body.single-posizione .post_image, body.single .post_image {
  height: 50vh;
  object-fit: cover;
object-position: center center;
}
  header .q_logo a {
    height: 70px !important;
  }
#numerihome .vc_col-sm-3 {
  padding-bottom: 20px;
}
#candidatura, #posizioni, .trackrecord, #numerihome, .trackrecord .q_accordion_holder + .wpb_single_image {
  padding: 40px 0;
}
.vc_col-sm-4:first-of-type .capitalsquare:hover::after, .vc_col-sm-4 .capitalsquare:hover::after {
    width: auto !important;
    margin: 0 20px;
  }
#press, #fund, #governance {
    padding: 45px 0 !important;
}

#charity, #eventi, #gruppo, #lavora {
  margin-top: 45px !important;
}

#homedivisioni, #management, #servizi, #contatti {
  margin: 45px 0 !important;
}

#chisiamo, #obiettivi, #successi {
  margin: 45px 0 !important;
padding-top: 0;
}
  #lavora h3 {
  margin-bottom: 30px;
}
#posizione {
  flex-wrap: wrap;
}

.posizione-content, .posizione-form {
  flex: 0 0 100%;
}
#charityslider .q_elements_holder.two_columns .q_elements_item p {
  padding: 0 30px 0 30px;
}

#charityslider .q_elements_holder {
  width: 100% !important;
  margin: 0 0 30px 0 !important;
}

#charityslider .q_elements_holder.two_columns .q_elements_item h3 {
  margin: 20px 0;
}

form.wpcf7-form span.wpcf7-form-control-wrap.your-name, form.wpcf7-form span.wpcf7-form-control-wrap.your-surname {
  width: 100%;
float: none;
}

label[for="file-91"], label[for="file-92"] {
  width: calc(100% - 7px);
margin-right: 0;
}
	#lavorare .slick-slide {
		height: 400px !important;
	}
}

@media only screen and (min-width : 820px) and (max-width : 1080px) {
	 .dflip-books {
        width: 90%;
    }
	#lavorare .slick-slide {
		height: 350px !important;
	}
	.footer_top .container_inner {
		width: 800px;
	}
	.big p, #obiettivi p {
  font-size: 1.2rem;
}
}

@media only screen and (max-width: 1024px) {
  body {
    padding-top: 100px;
  }
.logo_wrapper {
  height: 100px !important;
  padding-left: 20px;
  left: 50px;
  }
  header.fixed {
    position: fixed !important;
  }
  header.fixed .header_bottom {
    height: 100px;
    -webkit-transition: all .5s ease-in;
    transition: all .5s ease-in;
  }
  header.fixed .header_bottom.smaller {
    height: 80px;
  }
  header.fixed .header_bottom .q_logo img.mobile {
    height: 80% !important;
    -webkit-transition: all .5s ease-in;
    transition: all .5s ease-in;
  }
  header.scrolled:not(.header_style_on_scroll) .q_logo img.normal {
    height: 80% !important;
  }

/*   #homedivisioni, #divisioni, #magazine, #eventi, #obiettivi, #servizi, #gruppo, #chisiamo, #mission, #storia, #eventiblog, #pleasure, #press, #news, #numero, #contatti {
    height: 100% !important;
  } */

  #eventi .mega-post-para p {
    font-size: 1rem;
  }
#fund {
    background: rgb(0,45,107);
    background: linear-gradient(220deg, rgba(124,183,191,1) 0%, rgba(0,45,107,1) 100%);
}

  #eventi .mega-post-para h4 {
    text-transform: none;
    font-size: 1rem;
    padding-bottom: 0;
    font-family: 'Fivo Sans Regular';
    text-align: center;
    line-height: 1.2;
  }

  .homesquare:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  -webkit-transform: none;
  transform: none;
  -webkit-transition: none;
  transition: none;
  }

  .homesquare:hover::after {
    opacity: 0;
  }
  .vc_col-sm-6:first-of-type .homesquare:hover {
    background-color: #A8381D;
  }

  .vc_col-sm-6:nth-of-type(2) .homesquare:hover {
    background-color: #337393;
  }

  .header_bottom {
    padding: 0;
  }

/*   header.scrolled .header_bottom {
    height: 100vh;
  } */

/*  .logo_wrapper {
  left: 69px;
  }
*/
  .icon_menu:before {
    font-size: 2.3rem;
  }

  nav.mobile_menu ul li#mobile-menu-item-18 {
    border-top: 1px solid #eaeaea;
  }

  nav.mobile_menu ul li.lang-item {
    border: 0;
  }

  nav.mobile_menu ul li.lang-item a {
    font-size: 1.1rem;
  }

  nav.mobile_menu ul li a {
    color: white;
    text-transform: uppercase;
    padding-left: 15px;
  }

  nav.mobile_menu ul li a.current {
    font-family: 'Fivo Sans Bold';
    color: #BABDFF;
  }

  nav.mobile_menu ul li.active > a {
    color: white;
  }

  .mobile_arrow .fa-angle-right:before {
    content: "\f107";
    font-size: 2rem;
    color: white;
    padding-right: 5px;
  }

  .mobile_arrow .fa-angle-down:before {
    font-family:'ElegantIcons';
    content: "\4d";
    font-size: 2rem;
    color: white;
  }

  nav.mobile_menu ul>li.has_sub>span.mobile_arrow {
    padding: 5px 10px 0 0;
  }

  li.current-menu-item.has_sub ul.sub_menu {
    display: block;
  }
  nav.mobile_menu ul li.current-menu-item.has_sub a {
    border-bottom: 1px solid #eaeaea;
  }
  nav.mobile_menu ul li.current-menu-item.has_sub ul li a {
    border-bottom: 0;
  }
  nav.mobile_menu ul.sub_menu {
    padding-left: 15px;
  }

  nav.mobile_menu ul.sub_menu li {
    border: 0;
  }

  nav.mobile_menu ul.sub_menu li a {
    text-transform: none;
    padding: 2px 0 0 0;
  }

  nav.mobile_menu ul.sub_menu li.current_page_item a {
    font-family: 'Fivo Sans Bold';
    color: #BABDFF;
  }

  nav.mobile_menu ul li.current-lang a {
    color: #BABDFF;
  }

  nav.mobile_menu ul li ul li {
    margin: 0;
  }

  #magazine {
    padding: 50px 0;
  }

  /*nav.mobile_menu ul li.lang-item-en {
    display: none;
  }*/

  .blog_holder article .post_text h2 .date {
    float: none;
    display: block;
    margin-bottom: 20px;
  }
  video.uno {
    margin-top: 20px;
  }
  video.duem, video.trem {
    display: block;
    width: 130px;
    margin: 20px auto 0 auto;
  }
  video.due, video.tre {
    display: none;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1279px) {
/*  #chisiamo, #obiettivi, #pleasure, #contatti {
    margin-top: -7% !important;
    padding: 30px 0 !important;;
  }*/
/*  #homedivisioni, #divisioni, #magazine, #eventi, #servizi, #gruppo, #mission, #storia, #eventiblog, #press, #news, #numero {
    height: 100vh;
  }*/

/*  .carousel-cell, ._df_thumb {
  height: 301px !important;
}*/
	nav.main_menu>ul>li>a {
		padding: 0 13px;
	}
	.drop_down .second .inner ul li a {
		margin: 3px 7px;
	}
	.herabold.hcover, .onestep, body.home .q_slider .fivo {
	padding-left: 70px !important;
}
	#freccia.down {
		top: 600px !important;
	}
 #charityslider .q_elements_holder.two_columns .q_elements_item p {
  font-size: 1rem;
 }
	
	.slick-track {
		display: flex !important;
	}

#management .slick-list {
  height: 430px;
}

 #gruppo img {
    width: 80%;
  }

/*  body.single-posizione .post_image {
  height: 420px;
}*/

/*  #chisiamo, #obiettivi, #pleasure {
    height: 75vh;
  }*/

  #eventi .vc_inner, #homedivisioni .vc_inner {
    margin: 0 !important;
  }

  #mission p {
    font-size: .9rem;
  }

  #eventi .mega-post-para p {
    font-size: .8rem;
  }

  h3.mega-post-title {
    font-size: 1.1rem !important;
    line-height: 1;
  }

li.narrow .second .inner ul {
  width: 100%;
}
.hcover {
  font-size: 4rem !important;
  padding-left: 60px;
}
 .fivo {
  font-size: 1.1rem !important;
}
#mission h3 {
  padding-bottom: 9px;
}

.onestep {
  font-size: 6rem !important;
}
	body.home .sr7-layer.fivo.scrittina1 {
		margin-left: -20px;
	}
	body.home .sr7-layer.fivo.scrittina2 {
		margin-left: -33px;
	}
#news {
  display: flex;
    align-items: stretch;
    justify-content: center;
}
header .q_logo a {
  height: 80px !important;
}
div.more {
  margin-top: 20px;
}
#servizi .scrolla.titolo {
  margin-bottom: 30px !important;
}
body.page-id-457 .vc_gitem-post-data-source-post_excerpt p, body.page-id-1294 .vc_gitem-post-data-source-post_excerpt p {
  font-size: .9rem;
}
body.page-id-457 .vc_custom_heading h4, body.page-id-1294 .vc_custom_heading h4 {
  font-size: 1.15rem;
}
body.page-id-457 .vc-gitem-zone-height-mode-auto:before, body.page-id-1294 .vc-gitem-zone-height-mode-auto:before {
  padding-top: 17%;
}
#obiettivi p {
  font-size: 1.3rem;
}
body.page-id-457 .vc-gitem-zone-height-mode-auto::before, body.page-id-1294 .vc-gitem-zone-height-mode-auto::before {
  margin-top: 11px;
  padding-top: 0;
}
div.hovering {
  font-size: 1.3em;
  width: 56%;
}
.blog_holder article .post_text h2 .date {
  float: none;
  display: block;
  margin-bottom: 20px;
}
.big p {
  font-size: 1.1rem;
}
#magazine p {
  font-size: 1.5rem;
}
#servizi h3 {
  font-size: 1.4rem;
}
#contatti p {
  font-size: 1rem;
}
.square p {
    font-size: .75rem;
}
	#masonry .wpb_wrapper .wpb_content_element:nth-child(1) { top: auto; }  
#masonry .wpb_wrapper .wpb_content_element:nth-child(4) { top: auto; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(5) { top: auto; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(6) { top: auto; } 
	#storia .vc_col-sm-8 {
		width: 70%;
	}
	video.due, video.tre {
		display: block;
		margin: 0 auto;
	}
}

@media only screen and (min-width: 1024px) {

/*  body.single article, body.single header .container_inner, body.single footer .container_inner {
    width: 1100px;
  }*/
/*     header.scrolled .q_logo a, header.scrolled .logo_wrapper {
    height: 45px !important;
    padding-top: 27px;
  } */

  body.single .header_bottom {
    background-color: rgba(0, 47, 108, .68) !important;
  }

  video.duem, video.trem {
    display: none;
  }
}

/* Landscape */
@media only screen 
  and (min-width: 1024px) 
  and (max-width: 1279px)
  and (max-height: 1366px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
#masonry .wpb_wrapper .wpb_content_element:nth-child(1) { top: -200px; }  
#masonry .wpb_wrapper .wpb_content_element:nth-child(4) { top: -200px; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(5) { top: -40px; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(6) { top: -90px; } 
	#storia .vc_col-sm-8 {
		width: calc(66% + 15px);
		float: right;
	}
}

@media only screen and (min-width: 1280px) and (max-width: 1440px) {
	
	#cosaoffriamo img {
		width: 50%;
	}
	
	#lavorare .slick-slide {
		height: 380px !important;
	}

.boxed .section .section_inner, .grid_section .section_inner, header .container_inner, footer .container_inner, .blog_holder article {
  width: 1120px;
}

/*body.single article, body.single header .container_inner, body.single footer .container_inner {
  margin: 0 auto !important;
  display: block !important;
}*/

/*body.single-posizione .post_image {
  height: 520px;
}*/

.square p strong {
  font-size: 1.2rem;
}

#eventi .mega-post-para p {
  font-size: 1rem;
    line-height: 1.2;
}

#eventi .vc_inner {
  margin: 0 !important;
}
#servizi .scrolla.titolo {
  margin-bottom: 50px !important;
}
/*#homedivisioni, #divisioni, #magazine, #eventi, #obiettivi, #servizi, #gruppo, #chisiamo, #mission, #storia, #eventiblog, #pleasure, #press, #news, #numero, #contatti {
  height: 75vh;
}*/
    .storiasquare h4 {
   right: -8%;
}

.specialyear h4 {
right: -10%;
    top: 3%;
}
	masonry .wpb_wrapper .wpb_content_element:nth-child(1) { top: auto; }  
#masonry .wpb_wrapper .wpb_content_element:nth-child(4) { top: -190px; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(5) { top: -30px; } 
#masonry .wpb_wrapper .wpb_content_element:nth-child(6) { top: -80px; } 
	#storia .vc_col-sm-8 {
		width: 66.6666666%;
	}
}

@media only screen and (min-width: 834px) and (max-width: 1024px) {
  .missiontwo .q_elements_holder { display: table; margin: 30px 0;}
  .missiontwo .q_elements_item:first-of-type { display: table-cell !important;}
  .missiontwo .q_elements_item:nth-of-type(2) { display: table-cell  !important;}
}

/* Landscape iPad Pro 10.5 */ 
@media only screen and (min-device-width: 1112px) and (orientation: landscape) { /* Your Styles... */ }

/*Portrait iPad Pro 10.5 */ 
@media only screen and (min-device-width: 834px) and (orientation: portrait) { #management .slick-list {
    height: 420px;
} 
.square p {
    font-size: .95rem;
}
.vc_col-sm-4:first-of-type .capitalsquare:hover::after, .vc_col-sm-4 .capitalsquare:hover::after {
    width: auto !important;
    margin: 0 20px;
}}


/* iPad Mini Portrait */
@media only screen and (width:768px) and (resolution: 163dpi) {
/*  #homedivisioni, #divisioni, #magazine, #eventi, #obiettivi, #servizi, #gruppo, #chisiamo, #mission, #storia, #eventiblog, #pleasure, #press, #news, #numero, #contatti {
    height: 55vh;
  }*/
  video.uno, video.due, video.tre {
    padding-top: 30px;
  }
	big p, #obiettivi p {
  font-size: 1.2rem;
}
}

/* ----------- iPad Pro 12.9 ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
}


/* iPad Pro 12.9 Portrait */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
    .storiasquare h5 {
    font-size: 1.7rem;
    width: 80%;
  }
  .storiasquare p {
    font-size: 1rem;
  }
  #chisiamo .vc_col-sm-4:nth-of-type(2) {
    width: 20%;
  }
  #chisiamo .vc_col-sm-4:nth-of-type(3) {
    width: 46%;
  }
  #chisiamo .square {
    width: 17vw;
    height: 17vw;
  }
  header:not(.sticky):not(.scrolled) .header_bottom, header.fixed.scrolled .header_bottom {
    height: 120px;
  }
  header.fixed .header_bottom.smaller {
    height: 100px !important;
  }
  nav.main_menu > ul > li > a {
    font-size: .75rem;
  }
  #management .slick-list {
    height: 510px;
}
}

@media only screen and (min-width: 1281px) {

  .drop_down .second .inner ul li a, .drop_down .second .inner ul li h5, .square p, nav.main_menu > ul > li > a {
  font-size: .9rem;
}

body.page-id-457 .vc_btn3.vc_btn3-color-grey, .vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat, body.page-id-1294 .vc_btn3.vc_btn3-color-grey {
  font-size: 1rem;
}

body.page-id-457 .vc_gitem-post-data-source-post_excerpt p, .square p strong, .trackrecord .q_accordion_holder.accordion.boxed .ui-accordion-header, body.page-id-1294 .vc_gitem-post-data-source-post_excerpt p {
  font-size: 1.2rem;
}
	.footer_inner p {
		font-size: .9rem;
	}

p, ul, li, #press .q_accordion_holder.accordion.boxed .ui-accordion-header {
    font-size: 1.3rem;
}

h2, .field_5e4a5d13b4ee7, body.page-id-457 .vc_custom_heading h4, .capitalsquare:hover::after, .storiasquare h5, body.page-id-1294 .vc_custom_heading h4 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 2rem;
}

.capitalsquare h4 {
  font-size: 3rem;
}
	
	nav.main_menu>ul>li>a {
		padding: 0 12px;
	}
	.drop_down .second .inner ul li a {
		margin: 5px 12px;
	}

/*#charityslider .q_elements_holder.two_columns .q_elements_item p {
  padding-left: 70px;
}*/

/*    .carousel-cell, ._df_thumb {
  height: 378px !important;
}*/

  .blog_holder article  {
    width: 1100px;
  }

  video.uno, video.due, video.tre {
    width: 140px;
  }
  #eventi .vc_col-sm-2 {
    width: 11%;
  }

  #eventi .vc_col-sm-8 {
    width: 78%;
  }

  .slick-track {
    display: flex !important;
    height: 100%;
    align-items: stretch;
  }

  #eventi .slick-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 45% !important;
    float: none !important;
    height: 100%;
  }

  #eventi .slick-slide .mason-item {
    height: 100%;
    overflow: hidden;
  }

  #eventi .slick-slide .mason-item > div{
    height: 100%;
    overflow: hidden;
  }

  #eventi .vc-post-styling .slick-slide:first-of-type {
    padding: 0 60px 0 0 !important;
  }

  #eventi .vc-post-styling .slick-slide:nth-of-type(2) {
    padding: 0 0 0 60px !important;
  }

/*   .storiasquare h4  {
  -moz-transform: translate(16rem, 7px) rotate(90deg);
  -webkit-transform: translate(16rem, 7px) rotate(90deg);
  -o-transform: translate(16rem, 7px) rotate(90deg);
  -ms-transform: translate(16rem, 7px) rotate(90deg);
  transform: translate(16rem, 7px) rotate(90deg);
}
.storiasquare .specialyear h4 {
  -moz-transform: translate(15rem, 23px) rotate(90deg);
  -webkit-transform: translate(15rem, 23px) rotate(90deg);
  -o-transform: translate(15rem, 23px) rotate(90deg);
  -ms-transform: translate(15rem, 23px) rotate(90deg);
  transform: translate(15rem, 23px) rotate(90deg);
} */

#eventi .mega-post-carousel1 .mega-post-image img, #wonderplugincarousel-2 .amazingcarousel-image img {
  width: 150px !important;
  height: 150px !important;
}
}

@media only screen and (min-width: 1440px) {


  .boxed .section .section_inner, .grid_section .section_inner, header .container_inner, footer .container_inner, .blog_holder article {
  width: 1200px;
}

/*#pleasure, #chisiamo, #obiettivi, #successi, #lavora, #contatti, #lavora, body.single .post_image {
  margin-top: -9%!important;
}*/

.drop_down .second .inner ul li a {
  font-size: .9rem;
}

.square p {
  font-size: 1.1rem;
}

  .drop_down .second .inner ul li h5 {
  font-size: 1rem;
}

body.page-id-457 .vc_btn3.vc_btn3-color-grey, .vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat, body.page-id-1294 .vc_btn3.vc_btn3-color-grey {
  font-size: 1.1rem;
}

#charityslider .q_elements_holder.two_columns .q_elements_item p {
  font-size: 1rem;
}

body.page-id-457 .vc_gitem-post-data-source-post_excerpt p, .footer_inner p, .square p strong, .trackrecord .q_accordion_holder.accordion.boxed .ui-accordion-header, body.page-id-1294 .vc_gitem-post-data-source-post_excerpt p {
  font-size: 1.15rem;
}
	 .square p strong {
  font-size: 1.4rem;
}
	
	.footer_inner #text-5 p, .footer_inner #text-6 p {
		text-align: center;
		/*padding-top: 50px;*/
		font-size: .85rem;
	}

p, ul, li, #press .q_accordion_holder.accordion.boxed .ui-accordion-header {
    font-size: 1.4rem;
}

h2, .field_5e4a5d13b4ee7, body.page-id-457 .vc_custom_heading h4, .capitalsquare:hover::after, .storiasquare h5, body.page-id-1294 .vc_custom_heading h4 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 2.1rem;
}

.capitalsquare h4, .storiasquare h4 {
  font-size: 3.1rem;
}

#charityslider .q_elements_holder.two_columns .q_elements_item p {
  padding-left: 30px;
}

header .q_logo a {
  height: 90px !important;
}

  video.uno, video.due, video.tre {
    width: 160px;
  }

  #servizi .scrolla.titolo {
    margin-bottom: 60px !important;
  }

  #news .section {
    margin-top: 60px !important;
  }

  div.hovering {
    width: 94%;
  }
/*  #homedivisioni, #divisioni, #magazine, #eventi, #servizi, #gruppo, #mission, #storia, #eventiblog, #press, #news, #numero {
    height: 80vh;
  }

  #contatti {
    height: 90vh;
  }

  #chisiamo, #obiettivi, #pleasure {
    height: 60vh;
  }*/
/*     .storiasquare h4  {
  -moz-transform: translate(15rem, 7px) rotate(90deg);
  -webkit-transform: translate(15rem, 7px) rotate(90deg);
  -o-transform: translate(15rem, 7px) rotate(90deg);
  -ms-transform: translate(15rem, 7px) rotate(90deg);
  transform: translate(15rem, 7px) rotate(90deg);
}
.storiasquare .specialyear h4 {
  -moz-transform: translate(14rem, 23px) rotate(90deg);
  -webkit-transform: translate(14rem, 23px) rotate(90deg);
  -o-transform: translate(14rem, 23px) rotate(90deg);
  -ms-transform: translate(14rem, 23px) rotate(90deg);
  transform: translate(14rem, 23px) rotate(90deg);
} */
#eventi .mega-post-carousel1 .mega-post-image img, #wonderplugincarousel-2 .amazingcarousel-image img {
  width: 190px !important;
  height: 190px !important;
}
}

@media only screen and (min-width: 1680px) {

    .storiasquare h4 {
   right: -8%;
   top:  3%;
}

.specialyear h4 {
right: -10%;
    top: 0;
}
  .boxed .section .section_inner, .grid_section .section_inner, header .container_inner, footer .container_inner, .blog_holder article {
  width: 1480px;
}
.square p {
  font-size: 1.1rem;
}

body.page-id-457 .vc_btn3.vc_btn3-color-grey, .vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat, .storiasquare p, body.page-id-1294 .vc_btn3.vc_btn3-color-grey {
  font-size: 1.2rem;
}

body.page-id-457 .vc_gitem-post-data-source-post_excerpt p, .footer_inner p, .square p strong, .trackrecord .q_accordion_holder.accordion.boxed .ui-accordion-header, body.page-id-1294 .vc_gitem-post-data-source-post_excerpt p {
  font-size: 1.4rem;
}

p, ul, li, #press .q_accordion_holder.accordion.boxed .ui-accordion-header {
    font-size: 1.5rem;
}

h2, .field_5e4a5d13b4ee7, body.page-id-457 .vc_custom_heading h4, .capitalsquare:hover::after, .storiasquare h5, body.page-id-1294 .vc_custom_heading h4 {
  font-size: 1.7rem;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 2.2rem;
}

.capitalsquare h4, .storiasquare h4 {
  font-size: 3.2rem;
}

/* .storiasquare h4  {
  -moz-transform: translate(21rem, 17px) rotate(90deg);
  -webkit-transform: translate(21rem, 17px) rotate(90deg);
  -o-transform: translate(21rem, 17px) rotate(90deg);
  -ms-transform: translate(21rem, 17px) rotate(90deg);
  transform: translate(21rem, 17px) rotate(90deg);
}
.storiasquare .specialyear h4 {
  -moz-transform: translate(20rem, 33px) rotate(90deg);
  -webkit-transform: translate(20rem, 33px) rotate(90deg);
  -o-transform: translate(20rem, 33px) rotate(90deg);
  -ms-transform: translate(20rem, 33px) rotate(90deg);
  transform: translate(20rem, 33px) rotate(90deg);
} */

#charityslider .q_elements_holder.two_columns .q_elements_item p {
  padding-left: 90px;
}

video.uno, video.due, video.tre {
  width: 200px;
}

div.hovering {
  width: 94%;
}

#eventi .mega-post-carousel1 .mega-post-image img, #wonderplugincarousel-2 .amazingcarousel-image img {
  width: 200px !important;
  height: 200px !important;
}
}

@media only screen and (min-width: 1920px) {
  header.scrolled:not(.header_style_on_scroll) .q_logo img.normal {
    height: 80% !important;
  }
    #management .slick-list {
    height: 570px;
}
  .boxed .section .section_inner, .grid_section .section_inner, header .container_inner, footer .container_inner, .blog_holder article, body.single article.posizione {
  width: 1680px;
}
#pleasure, #chisiamo, #obiettivi, #successi, #lavora, #contatti, #lavora, body.single .post_image {
  margin-top: -8%!important;
}
.square p {
  font-size: 1.2rem;
}

body.page-id-457 .vc_btn3.vc_btn3-color-grey, .vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat, .storiasquare p, body.page-id-1294 .vc_btn3.vc_btn3-color-grey {
  font-size: 1.3rem;
}

body.page-id-457 .vc_gitem-post-data-source-post_excerpt p, .footer_inner p, .square p strong, .trackrecord .q_accordion_holder.accordion.boxed .ui-accordion-header, body.page-id-1294 .vc_gitem-post-data-source-post_excerpt p {
  font-size: 1.5rem;
}

p, ul, li, #press .q_accordion_holder.accordion.boxed .ui-accordion-header {
    font-size: 1.6rem;
}

/* h2, .field_5e4a5d13b4ee7, body.page-id-457 .vc_custom_heading h4, .storiasquare h5 {
  font-size: 1.8rem;
}
 */
h3 {
  font-size: 1.7rem;
}

h4 {
  font-size: 2.3rem;
}

.capitalsquare h4 {
  font-size: 3.3rem;
}

.capitalsquare h4, .storiasquare h4 {
  font-size: 4.1rem;
}

/*#charityslider .q_elements_holder.two_columns .q_elements_item p {
  padding-left: 110px;
}*/

  header .logo_wrapper {
    height: 140px !important;
  }
  header .q_logo a {
    height: 90px !important;
  }
  .q_logo img {
    top: -60% !important;
  }
    div.hovering {
      width: 94%;
    }
/*    #homedivisioni, #divisioni, #magazine, #eventi, #obiettivi, #servizi, #chisiamo, #mission, #storia, #eventiblog, #pleasure, #press, #news, #numero, #contatti {
      height: 70vh;
    }

    #chisiamo, #obiettivi, #pleasure {
    height: 50vh;
  }*/
/*   .storiasquare h4  {
  -moz-transform: translate(24rem, 17px) rotate(90deg);
  -webkit-transform: translate(24rem, 17px) rotate(90deg);
  -o-transform: translate(24rem, 17px) rotate(90deg);
  -ms-transform: translate(24rem, 17px) rotate(90deg);
  transform: translate(24rem, 17px) rotate(90deg);
}
.storiasquare .specialyear h4 {
  -moz-transform: translate(23rem, 37px) rotate(90deg);
  -webkit-transform: translate(23rem, 37px) rotate(90deg);
  -o-transform: translate(23rem, 37px) rotate(90deg);
  -ms-transform: translate(23rem, 37px) rotate(90deg);
  transform: translate(23rem, 37px) rotate(90deg);
} */
.mega-post-carousel1 .mega-post-image {
  height: 230px !important;
}
#eventi .mega-post-carousel1 .mega-post-image img, #wonderplugincarousel-2 .amazingcarousel-image img {
  width: 210px !important;
  height: 210px !important;
}
.blog_holder.blog_single article h2 {
  margin-top: 30px;
}

}

@media only screen and (min-width: 1920px) and (max-width: 2540px) {
    #management .slick-list {
    height: 660px;
	}
		#masonry .wpb_wrapper .wpb_content_element:nth-child(6) { top: -70px; } 
}

@media only screen and (min-width: 2540px) {
    #management .slick-list {
    height: 890px;
}
    .storiasquare h4 {
   right: -5%;
top: 5%;
}
span.numbering {
right: 27%;
}
.specialyear h4 {
right: -7%;
top: 8%;
}
#lavora h3 {
font-size: 2.5rem;
}
  .boxed .section .section_inner, .grid_section .section_inner, header .container_inner, footer .container_inner, .blog_holder article, body.single article.posizione {
  width: 2400px;
}
.square p {
  font-size: 1.3rem;
}

body.page-id-457 .vc_btn3.vc_btn3-color-grey, .vc_btn3.vc_btn3-color-grey.vc_btn3-style-flat, .storiasquare p, body.page-id-1294 .vc_btn3.vc_btn3-color-grey {
  font-size: 1.4rem;
}

body.page-id-457 .vc_gitem-post-data-source-post_excerpt p, .footer_inner p, .square p strong, .trackrecord .q_accordion_holder.accordion.boxed .ui-accordion-header, body.page-id-1294 .vc_gitem-post-data-source-post_excerpt p {
  font-size: 1.6rem;
}

p, ul, li, #press .q_accordion_holder.accordion.boxed .ui-accordion-header {
    font-size: 1.7rem;
}

h2, .field_5e4a5d13b4ee7, body.page-id-457 .vc_custom_heading h4, .capitalsquare:hover::after, .storiasquare h5, body.page-id-1294 .vc_custom_heading h4 {
  font-size: 1.9rem;
}
.capitalsquare:hover::after {
  line-height: 1.2;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 2.4rem;
}

.capitalsquare h4 {
  font-size: 3.4rem;
}

.capitalsquare h4, .storiasquare h4 {
  font-size: 4.2rem;
}
    video.uno, video.due, video.tre {
      width: 250px;
    }
    div.hovering {
      width: 94%;
    }

/*    #homedivisioni, #divisioni, #magazine, #eventi, #obiettivi, #servizi, #chisiamo, #mission, #storia, #eventiblog, #pleasure, #press, #news, #numero, #contatti {
      height: 70vh;
    }

    #chisiamo, #obiettivi, #pleasure {
    height: 40vh;
  }*/

/*     .storiasquare h4  {
  -moz-transform: translate(38rem, 27px) rotate(90deg);
  -webkit-transform: translate(38rem, 27px) rotate(90deg);
  -o-transform: translate(38rem, 27px) rotate(90deg);
  -ms-transform: translate(38rem, 27px) rotate(90deg);
  transform: translate(38rem, 27px) rotate(90deg);
}
.storiasquare .specialyear h4 {
  -moz-transform: translate(37rem, 43px) rotate(90deg);
  -webkit-transform: translate(37rem, 43px) rotate(90deg);
  -o-transform: translate(37rem, 43px) rotate(90deg);
  -ms-transform: translate(37rem, 43px) rotate(90deg);
  transform: translate(37rem, 43px) rotate(90deg);
} */
#eventi .mega-post-carousel1 .mega-post-image img, #wonderplugincarousel-2 .amazingcarousel-image img {
  width: 220px !important;
  height: 220px !important;
}
}