/*
Theme Name: Radici di Pietra
Theme URI: https://www.pentatechnologies.it
Template: kadence
Author: Gianvito Pentassuglia
Author URI: https://www.pentatechnologies.it
Version: 1.0.0.1743694270
Updated: 2025-04-03 15:31:10

*/

.main-slider .n2-ss-slider-4 {
	height: 100vh !important;
}

/*
.main-slider .n2-ss-slider .n2-ss-slide-background-image img {	
    object-position: bottom;
}
*/

.book-button {
  position: fixed;
  right: 20px;
  z-index: 9999;
  background-color: var(--global-palette4);
  padding: 12px 12px 12px 50px;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  transition: background-color 0.2s ease;
  height: 50px;
}

/* Keyframe animation */
@keyframes textSwap {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  40% {
    opacity: 0;
    transform: translateY(-100%);
  }
  41% {
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.book-button .button-text {	
  color: var(--global-palette8);
	display: inline-block;
	transition: none;
	animation: none;
	position: relative;
	font-family: 'El Messiri';
	font-size: x-large;
	line-height: 32px;
}

.book-button:hover .button-text {
  animation: textSwap 0.4s forwards;
  color: var(--global-palette4);
}

.book-button .icon-container {
	position: absolute;
    display: flex;
    top: 7px;
    left: 9px;
    height: 32px;
    width: 32px;
    transition: all 0.4s cubic-bezier(.63,.42,.09,.83);
    z-index: -1;
}

.book-button .icon-container .circle .left,
.book-button .icon-container .circle .right,
.book-button .icon-container .circle .center {
	position: absolute;
	top: 0;
  height: 36px;
	background-color: var(--global-palette8);
}

.book-button .icon-container .circle .left,
.book-button .icon-container .circle .right {
	width: 18px;	
    transition: all 0.3s ease;
}

.book-button .icon-container .circle .left {
	border-radius: 36px 0 0 36px;
	left: 0;
}

.book-button .icon-container .circle .right {
	border-radius: 0 36px 36px 0;
	left: 0px;
	transform: translateX(18px);
    transform-origin: left;
}

.book-button .icon-container .circle .center {
	top: 0;
	bottom: 0;
	left: 17px;
	width: 1px;
    transition: all 0.3s ease;
	transform: scaleX(1);
	transform-origin: left;
}

.book-button .icon-container .icon {	
    color: var(--global-palette4);
    position: absolute;
    top: 9px;
    left: 9px;    
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-width: 0;
}

.icon svg {
    width: 1em;
    height: 1em;
}

.book-button:hover .icon-container {
    transform: scale(1.4);
    transform-origin: left;
    left: 0px;
    top: 6px;
}

.book-button:hover .icon-container .icon {
    /* transform: translateX(3px); */
    color: var(--global-palette4);
}

.book-button:hover .icon-container .circle .center {
	transform: scaleX(var(--bookButtonWidth));
}

.book-button:hover .icon-container .circle .right {
	transform: translateX(calc(var(--bookButtonWidth) * 1px + 13px));
}

body.admin-bar .book-button {
  top: 42px;
}

body:not(.admin-bar) .book-button {
  top: 20px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .book-button {
        top: 66px;
    }
}

.header-navigation .header-menu-container ul ul li.menu-item > a {
    width: auto;
}

header .custom-logo {
	filter: brightness(1.3);
}

#main-header .site-main-header-wrap:before {
	content: "";
    opacity: 0;
	background: linear-gradient(90deg,rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);        
    -webkit-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#main-header .site-main-header-wrap.item-is-stuck:not(.item-hidden-above):before {
	opacity: 1; 
}

#mobile-toggle {
	border-radius: 50px;
}


/*
.parallax {
  overflow: hidden;
  position: relative;
}

.parallax,
.parallax > div {
  overflow: visible !important;
  position: relative;
}
*/

.parallax {
  transition: transform 0.1s ease;
  will-change: transform;
  display: block;
  width: auto;
  max-width: none;
  height: 110%;
}

.parallax img,
.zoom-in img,
.zoom-out img {
  transition: transform 0.2s ease-out;
  will-change: transform;
  display: block;
}

.zoom-in,
.zoom-out {
  overflow: hidden;
}

.no-margin {
  margin: 0 !important;
}

.animated-flat-button {
  background: transparent !important;
  padding: 0;
  transition: all ease 0.3s;
  padding: 5px 5px 5px 0px !important;
  border-radius: 50px !important;
  font-weight: bold;
  overflow: visible;
  position: relative;
  font-size: var(--global-kb-font-size-sm, 0.9rem) !important;
}

.animated-flat-button span:after {
  content: "";
  height: 1px;
  width: 30px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  opacity: 1;
  transition: opacity ease 0.3s;
}

.animated-flat-button:hover span:after {
  opacity: 0;
}

.animated-flat-button.light span:after {
  background: var(--global-palette6);
}

.animated-flat-button.dark span:after {
  background: var(--global-palette2);
}

.animated-flat-button.light {
  color: var(--global-palette6) !important;
}

.animated-flat-button.light:after {
  background: var(--global-palette1);
}

.animated-flat-button.dark {
  color: var(--global-palette1) !important;
}

.animated-flat-button.dark:after {
  background: var(--global-palette2);
}

.animated-flat-button:hover {
  background: var(--global-palette1) !important;
  padding: 5px 30px 5px 25px !important;
  color: white !important;  
}

.animated-flat-button:before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    background: rgba(0, 0, 0, 0);
}

.animated-flat-button:after {
  content: "";
  position: absolute;
  top: 16px;
  right: -15px;
  border: none;
  border-width: 0;
  width: 15px;
  height: 1px;
  display: inline-block;
  padding: 0;
  pointer-events: none;
}

.animated-flat-button:hover:after {
  content: "";
  position: absolute;
  top: 12px;
  right: 10px;
  width: auto;
  height: auto;
  border: solid white;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 4px;
  transform: rotate(-45deg) !important;
  -webkit-transform: rotate(-45deg) !important;
  background: transparent;
}

/*
.arc-mask {
  position: relative;
  padding: 20px;
}

.arc-mask > span {
  z-index: 0;
}

.arc-mask:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  mask: url(https://www.radicidipietra.com/wp-content/uploads/2025/04/logo_500.png);
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;    
  width: 100%;
  height: 100%;
  background: var(--global-palette1);
}
*/

.overflow-hidden {
  overflow: hidden;
}

.border-top-left-radius {
  border-top-left-radius: 50px;
}

.border-top-right-radius {
  border-top-right-radius: 50px;
}

.border-bottom-right-radius {
  border-bottom-right-radius: 50px;
}

.border-bottom-left-radius {
  border-bottom-left-radius: 50px;
}