#photosGallery img {
	height: 400px;
	width: 100%;
	object-fit: cover;
}

#photosGallery a {
	position: relative;
}

#photosGallery a:after {
	content: "";
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background: rgba(0,0,0,0.4);
	opacity: 0;
	transition: 300ms;
}

#photosGallery a:before {
	content: "apri galleria";
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	display: flex;
	align-items: center;
	justify-content: center;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    z-index: 1;
	opacity: 0;
	transition: 300ms;
}

#photosGallery a:hover:before, #photosGallery a:hover:after {
	opacity: 1;
}

.slick-arrow {
    position: absolute;
    z-index: 999;
    top: 0px;
    bottom: 0px;
    width: 100px;
    font-size: 45px;
    background: transparent;
    border: none;
	color: #fff;
	opacity: 0.5;
	transition: 300ms;
}

.slick-arrow:hover {
	opacity: 1;
}

.slick-arrow.slick-prev {
    left: 0px;
}

.slick-arrow.slick-next {
    right: 0px;
}

.mainDetails {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 0px;
    align-items: center;
    justify-content: space-around;
    list-style: none;
    max-width: 500px;
    margin: auto;
    color: #555;
}

.mainDetails>* {
	margin: 10px 0px;
	flex-grow: 1;
	min-width: 50px;
}

.mainDetails i {
	display: block;
    font-size: 25px;
}

.mainDetails span {
    font-size: 13px;
    font-weight: bold;
}

.cardbox {
    background: #f2f2f2;
    padding: 15px;
}

.grid2 {
	display: flex;
	padding: 0px;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
    list-style: none;
}

.grid2>* {
	flex-basis: calc(48% - 20px);
	flex-grow: 1;
	min-width: 200px;
	display: flex;
    align-items: baseline;
	justify-content: space-between;
	text-transform: capitalize;
	color: rgba(255, 255, 255, 0.75);
    margin: 2.5px 5px;
    border-bottom: 1px solid rgba(0,0,0,0.25);
}

.grid2 strong {
	color: #fff;
	flex-shrink: 0;
	text-transform: uppercase;
    font-size: 12px;
	margin-right: 5px;
}

.grid2 span {
	text-align: right;
}

.mediaTabs.nav-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
	border: 0px;
}

.mediaTabs.nav-tabs .nav-link {
    background: #d9d9d9;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
	border: 0px;
}

.panoramiche-nav img,
.slider-nav img {
	cursor: pointer;
}

.panoramiche-nav img:hover,
.slider-nav img:hover {
	opacity: 0.8;
}

.mediaBox {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    width: 100%;
    margin: auto;
    text-align: center;
	visibility: hidden;
}

.mediaBox.active {
    position: relative;
	visibility: visible;
}

.grayBox {
	background: #d0d0d0;
	color: #333;
}

.grayBox i {
    background: #f2f2f2;
}

.grayBox a {
    color: #333;
}

.grayBox a:hover {
    color: #1a6351;
}

.grayBox:hover {
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}

form label a,
form label {
	color: #fff;
}

form label a:hover {
	color: rgba(255, 255, 255, 0.75);
}

.mediaBox .slick-slide img {
    max-width: 100%;
}