video {border-radius:12px; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {font-family: 'Cormorant', serif;}

p {font-family: 'EB Garamond', serif !important; color:#000000;}

*{
  margin: 0;
  padding: 0;
}

body{
  /*overflow-x: hidden;*/
  font-family: 'EB Garamond', serif !important; 
}

#all_slides{
    position: relative;
    height: 100vh;
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

.slide{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
}

.active{
    opacity: 1;
    z-index: 2;
}


.controls{
    display: none;
}

.slide{
    font-size: 40px;
    padding: 40px;
    box-sizing: border-box;
    background: #333;
    color: #fff;
    background-size: cover;
}




.controls{
  display: inline-block;
  position: relative;
  top: 1rem;
  right: .5rem;
  outline: none;
  font-size: 20px;
  cursor: pointer;
  border: 2px solid #fff;
  border-radius: 1.5rem;
  background: gold;
  width: 3rem;
  height: 3rem;
  margin-left: .5rem;
}




.controls:hover,
.controls:focus{
  background: #eee;
  color: #333;
}

.container{
  position: relative;
}

.buttons{
  position: absolute;
  right: .5rem;
  top: 0px;
  z-index: 10;
  font-size: 0px;
}


.fancy{
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: -2rem;
  width: 7rem;
  height: 2rem;
  background: gold;
  color: #000;
  z-index: 3;
  transform: rotate(-45deg);
  border-radius: 1rem;
}

.navrdm {background:#ffffff;}
.navrdm .navbar-brand img {max-height:28px; width:auto;}

.pagina {padding-top:120px; }
.sfondo {background:#f2f2f2;}

.photoitem {
	
	width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
   
    margin-bottom: 20px;
	overflow:hidden;
}

.photoitem img {transition: all 300ms ease;}
.photoitem a {transition: all 300ms ease; display:block; overflow:hidden;}

.photoitem:hover img {transform:scale(1.2) translateY(-10px);}
.photoitem:hover .dida {bottom:50%;   left: 50%;  transform: translate(-50%,50%) scale(1.2);
}


.photoitem .dida {transition: all 300ms ease; position: absolute; font-family: 'Cormorant', serif; text-transform:uppercase;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    background: rgba(255,255,255,.8);
    padding: 6px 12px;}










.nomegalleria {margin-bottom:25px; margin-top:15px; font-weight:300;}
.nomegalleria i {font-size: 12px;
    vertical-align: middle;}
	
	.logo {max-height:50px; margin:auto;}
	
	.logoimg:before {content:" "; display:inline-block; margin-right:15px; width:8%; height:1px; background:#333333;}
	.logoimg:after {content:" "; display:inline-block; margin-left:15px; width:8%; height:1px; background:#333333;}
	
	.navbar-nav a.nav-link {font-family: 'Cormorant', serif; text-transform:uppercase; font-size:14px;}

	.navrdm {top:58px !important; position:fixed !important; width:100%; box-shadow:0px 1px 3px rgba(0,0,0,.3);}

	.transback {z-index:999; background:rgba(255,255,255,.8); position:fixed !important; top:0 !important;}
	.zind {z-index:999;}
	
	
	.ottanio {background:#45918e; color:#ffffff;}
		.ottanio p {color:#ffffff;}
		.ottanio a {color:#ffffff; text-decoration:underline;}

.instafoot {margin-bottom:5px; margin-top:15px; border-radius:5px;}
	/*#all_slides {margin-top:-110px;}*/
.logofooter {max-width:230px; height:auto; margin-bottom:4px;}


.circular--square {
  border-radius: 50%;
}


.circular--landscape {
  display: inline-block;
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
}

.circular--landscape img {
  width: auto;
  height: 100%;
  margin-left: -50px;
}

.circular--portrait {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
  margin:auto;
  box-shadow:0 0 4px rgba(0,0,0,.7);
}

.circular--portrait img {
  width: 100%;
  height: auto;
}




#accordionfaq button { font-family: 'Cormorant', serif; font-size:18px; font-weight:bold; color:#000000;}
#accordionfaq .card-body {color:#111111; font-size:16px;}

#accordionfaq button:focus  {box-shadow:none;}
#iconehome img {transition:all 300ms ease;}

#iconehome img {opacity:.56; padding:2px 20px; }

#iconehome a:hover img {opacity:1; transform:scale(1.02) translateY(-10px); }


#whappchat {z-index:99999999; text-align:center; position:fixed; bottom:20px; right:20px; width:42px; height:42px; background:#25d366; border:solid 2px #ffffff; color:#ffffff; margin:auto; border-radius:100%; line-height:46px;}
#whappchat i {color:#ffffff; margin:auto;}


.circoletto{
	  animation: pulse 2s infinite;

	padding-top: 8px;
    letter-spacing: -0.5px;
        display: inline-block;
    text-decoration: none;
    background: #F83B3E;
    color: rgba(255,255,255,1.00);
    width: 48px;
    font-size: 11px;
    height: 48px;
    line-height: 13px;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    box-shadow: inset 0px 3px 0 rgba(255,255,255,0.3), 0 3px 3px rgba(0, 0, 0, 0.3);
    font-weight: bold;
    border-bottom: solid 3px #C90D10;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.85);
    transition: .4s;
}

.circoletto:active, .circoletto:hover{
    -ms-transform: translateY(1px);
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.35);
    border-bottom: none;
	color:#ffffff;
	text-decoration:none;
}

#circolettowrap {z-index:99999999;position:fixed; left:20px; bottom:20px;}

 #navrdm .nav-item {margin-right:1.2rem;}

@media all and (min-width:1200px) {
	.photoitem {
    height: 233px;
	}
	}
	
@media all and (min-width:992px) and (max-width:1199px) {
	.photoitem {
    height: 190px;
	}
	}	
	
@media all and (min-width:768px) and (max-width:991px) {
	.photoitem {
    height: 140px;
	}
	
	}
	@media all and (max-width:767px) {
		
		.fletti {flex-direction:column-reverse;}
		
	.photoitem.col-6 {
    height: 94px;
	}
		.photoitem.col-12 {
    height: 180px;
	}

	}				
	
	@media all and (max-width:992px) {
		input, textarea {font-size:16px !important;}
	#navrdm li.nav-item {margin-right:0;}
	#navrdm .navbar-toggler {border:0;}
	#navrdm .navbar-toggler i {color:#333333;}
	
	
	}				
	
	
	
@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(255,19,23, 0.6);
    box-shadow: 0 0 0 0 rgba(255,19,23, 0.6);
  }
  70% {
      -moz-box-shadow: 0 0 0 10px rgba(255,19,23, 0);
      box-shadow: 0 0 0 10px rgba(255,19,23, 0);
  }
  100% {
      -moz-box-shadow: 0 0 0 0 rgba(255,19,23, 0);
      box-shadow: 0 0 0 0 rgba(255,19,23, 0);
  }
}