.view{
    position: relative;
    overflow: hidden;
}
.overlay .mask{
    /* opacity: 0.5; */
    transition: all 0.4s ease-in-out;
}
.overlay .mask.bg-rgba-blue{
    background: rgba(65,79,121,0);
}
.overlay .mask.bg-rgba-blue:hover{
    background: rgba(65,79,121,0.5);
}
.view .mask{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    background-attachment: fixed;
}
.overlay .mask .icon{
    transition: all 0.4s ease-in-out;
    opacity: 0;
}
.overlay .mask:hover .icon{
    width: 55px;
    opacity: 1;
}
.picture{
	margin-bottom: 20px;
	transition: all 0.3s;	
	width: 100%;
	padding-bottom: 100%;
	position: relative;	
    margin:1em auto;
    overflow:hidden;
}
.picture:after {
  content: "";
  display: block;
  padding-bottom: 33%; /* Con 100% la foto prende tutta l'altezza del div, con 0% diventa quadrata */
}
.picture img {
  position:absolute;
  width:auto;
  min-width:100%;
  min-height:100%;
  top:0%;
  left:0;
  border: 1px solid #dee2e6;
  transition: all 0.3s;
  object-fit: cover;
}

.boxquadro {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* border: 1px solid #dee2e6; */
}
.boxquadro:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}
.box-blogpost-featured {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.box-blogpost-featured:after {
    content: "";
    display: block;
    padding-bottom: 55%;
}
.box-newspost-featured {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.box-newspost-featured:after {
    content: "";
    display: block;
    padding-bottom: 55%;
}
.boxquadro .content img, .box-blogpost-featured .content img, .box-newspost-featured .content img {
   position: absolute;
  /*  width: auto;
   height: 100%; */
   left: 50%;
     top: 50%;
     -webkit-transform: translate(-50%,-50%);
     -ms-transform: translate(-50%,-50%);
         transform: translate(-50%,-50%);
}
.boxquadro .content img.portrait, .box-blogpost-featured .content img.portrait, .box-newspost-featured .content img.portrait  {
   /* position: absolute; */
    width: 100%;
    height: auto;
    /* width: auto;
    height: 100%; */
   /* left: 50%;
     top: 50%;
     -webkit-transform: translate(-50%,-50%);
     -ms-transform: translate(-50%,-50%);
         transform: translate(-50%,-50%); */
}
.boxquadro .content img.landscape, .box-blogpost-featured .content img.landscape,.box-newspost-featured .content img.landscape {
    /* width: auto;
    height: 100%; */
    /* height: 100%; */
    width: auto;
    min-width: 100%;
    min-height: 100%;
 }
.box-carousel-news {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.box-carousel-news:after {
    content: "";
    display: block;
    padding-bottom: 40%;
}
.box-carousel-news .content img {
    position: absolute;
   left: 50%;
      top: 50%;
      -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
 }
.box-carousel-news .content img.landscape {
    width: auto;
    width: 100%;
}
.box-carousel-news .content img.portrait {
    height: auto;
    min-width: 100%;
    min-height: 100%;
}
.gallery-container {
	position: relative;
	width: 730px;
	display: flex;
	justify-content: space-between;
	overflow: hidden;
}
.gallery-main .swiper-button-prev, .gallery-main .swiper-button-next {
	position: absolute;
	bottom: 0;
	right: 0;
	top: auto;
	left: auto;
	height: 75px;
	width: 40px;
	color: var(--primary-variant-grey);
	background: var(--secondary-color);
}

.gallery-main .swiper-button-prev::after, .gallery-main .swiper-button-next::after {
	font-size: 1rem;
}

.gallery-main .swiper-button-prev {
	right: 40px;
	border-right: 1px solid var(--primary-grey-color);
}

.gallery-title {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 50px;
	font-weight: 700;
	text-align: right;
	text-transform: uppercase;
	text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
	color: #ffffff;
}

.swiper-slide-active .gallery-title {
	animation: slide-in 0.3s ease-in both;
}

.gallery-thumbs {
	order: -1;
    /* width: 100%;
    height: 20rem; */
	width: 100px;
	height: 300px;
	/* margin-right: 15px; */
	/* padding-left: 15px; */
}

.gallery-thumbs .swiper-slide img {
	transition: 0.3s;
}

.gallery-thumbs .swiper-slide-active {
	opacity: 0.9;
}

.gallery-thumbs .swiper-slide-thumb-active {
	opacity: 1;
}

.gallery-thumbs .swiper-slide-thumb-active img {
	/* margin-left: -15px; */
    border: 1px solid var(--secondary-color);
}
#prev-thumbs, #next-thumbs {
	color: var(--primary-variant-grey);
	background: var(--secondary-color);
}
#prev-thumbs {
	width: 100px;
    margin: auto;
    padding: 5px 0px;
    text-align: center;
}
#next-thumbs {
	width: 100px;
	margin: auto;
    padding: 5px 0px;
    text-align: center;
}
#prev-thumbs.swiper-button-disabled, #next-thumbs.swiper-button-disabled{
    opacity: 0.5;
}
.top-slider{
    position: relative;
}
.top-slider .swiper-button-prev,.top-slider .swiper-button-next{
    position: absolute;
    color: var(--primary-color);
}
.top-slider .swiper-button-prev{    
    right: auto;
    left: -10px;
}
.top-slider .swiper-button-next{
    right: -10px;
    left: auto;
}
.swiper-pagination-bullet-active{
    background: var(--primary-color) !important;
}