/*
Theme Name:     Federico Pannacci
Theme URI:      https://fedepan.net/
Template:       kadence
Author:         c4web
Author URI:     https://www.c4web.it
Description:    A theme for Federico Pannacci
Version:        2.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Header */
@media (min-width: 1367px) {
	body #mobile-drawer .drawer-inner,
	body #mobile-drawer.popup-drawer-layout-fullwidth.popup-drawer-animation-slice .pop-portion-bg, 
	body #mobile-drawer.popup-drawer-layout-fullwidth.popup-drawer-animation-slice.pop-animated.show-drawer .drawer-inner {
		width: 35% !important;
	}
}
body .popup-drawer .drawer-overlay { 
	backdrop-filter: blur(3px);
	background-color: rgba(0, 0, 0, 0.2);
}
body .popup-drawer .drawer-content > div {
	border-bottom: 1px solid #000000;
	padding: 2rem 0;
	margin: 0;
}
body .popup-drawer .drawer-content > div:last-child {
	border: none;
}
body .site-header .button {
	border-top: 0 !important;
	border-right: 0 !important;
	border-left: 0 !important;
}
body .site-header .mobile-html p {
	margin: 0.7rem 0 0  !important;
}
body .popup-drawer .sub-menu li {
	font-size: 1.5rem !important;
}
@media screen and (max-width: 767px) {
	body .popup-drawer .sub-menu li {
		font-size: 1rem !important;
	}
}


/* Popup Menu > Expand Submenu */
body .drawer-content .drawer-nav-drop-wrap {
	position: relative;
}
body .drawer-content .drawer-nav-drop-wrap .drawer-sub-toggle {
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	text-align: right;
	border: none !important;
	padding: 0;
	margin: 0;
}


/* custom style */

.site-branding a.brand img:first-child {
    display: block;
    margin-bottom: -70px;
	margin-top:-17px
}

body{margin:0 15px}


.add-label {
    background: #E7E5DF;
    display: inline;
    z-index: 2;
    position: relative;
    padding-right: 10px;
}

ul.add-list li:before {
    content: '';
    position: absolute;
    bottom: 8px;
    width: 100%;
    height: 0;
    line-height: 0;
    border-bottom: 1px solid #211f20;
}
ul.add-list li + li {
    margin-top: 21px;
}

ul.add-list li {
    position: relative;
}

/* Form */


/* !Form Fields - - - - - */
.gfield {
  margin-bottom: 15px;
  clear: both; }

.page-form .gfield {
  margin-bottom: 20px; }

input.medium,
input.large,
input.small,
textarea,
select,
.ginput_complex input,
input.datepicker {
  width: 100%;
  background: #fff;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 5px 15px;
  height: 46px;
   font-family: 'Sofia Sans Condensed', Arial, Verdana, sans-serif;
  color: #777;
  text-indent: 0.01px;
  text-overflow: '';
  font-size: 1.0157714286rem;
  line-height: 1.3em; }

select {
  background: url(images/select-arrow.svg) no-repeat right 15px center #fff;
  padding-right: 50px; }

textarea {
  resize: none;
  height: 150px;
  padding: 15px; }

.gform_validation_container {
  display: none !important; }

.gfield_label,
.ginput_complex label {
  color: #211f20;
  font-size: 0.7857142857em;
  font-family: 'Sofia Sans Condensed', Arial, Verdana, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.3em;
  padding-bottom: 10px;
  display: none; }

.show-label .gfield_label,
.show-label .ginput_complex label {
  display: block; }

::-webkit-input-placeholder {
  opacity: 1;
  color: #777;
  -webkit-transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1);
  -moz-transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1);
  transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1); }

:-moz-placeholder {
  /* Firefox 18- */
  opacity: 1;
  color: #777;
  -webkit-transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1);
  -moz-transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1);
  transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1); }

::-moz-placeholder {
  /* Firefox 19+ */
  opacity: 1;
  color: #777;
  -webkit-transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1);
  -moz-transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1);
  transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1); }

:-ms-input-placeholder {
  opacity: 1;
  color: #777;
  -webkit-transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1);
  -moz-transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1);
  transition: all 0.35s cubic-bezier(0.86, 0, 0.07, 1); }

:focus::-webkit-input-placeholder {
  color: transparent; }

:focus:-moz-placeholder {
  /* Firefox 18- */
  color: transparent; }

:focus::-moz-placeholder {
  /* Firefox 19+ */
  color: transparent; }

:focus:-ms-input-placeholder {
  color: transparent; }

.gform_submission_error {
  padding-bottom: 20px;
  font-weight: bold;
  color: #ab8e74;
  font-size: 1.2857142857em;
  line-height: 1.4em;
  font-weight: bold;
  padding-bottom: 30px; }

.validation_message {
  padding-top: 5px;
  color: #ab8e74;
  font-style: italic;
  font-size: 1em;
  line-height: 1.4em; }

.gform_confirmation_message {
  color: #211f20;
  font-weight: bold;
  font-size: 1.2857142857em;
  line-height: 1.4em; }

fieldset {
  padding: 0;
  margin: 0;
  border: none; }

.gfield_radio,
.gfield_checkbox {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  display: inline-block;
  width: 100%; }

.gfield_radio .gchoice,
.gfield_checkbox .gchoice {
  text-align: left;
  width: calc(50% - 4px);
  display: inline-block;
  padding: 0 25px 0 34px;
  margin: 15px 0 0 0;
  position: relative;
  vertical-align: top; }

.gfield_radio label,
.gfield_checkbox label {
  font-size: 1em;
  display: block;
	font-family: 'Sofia Sans Condensed';}

.gfield_radio input,
.gfield_checkbox input,
.offset input[type=checkbox] {
  width: 22px;
  height: 22px;
  border: 3px solid #fff;
  background: #fff;
  border-radius: 120%;
  -webkit-appearance: none;
  display: inline-block;
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 1; }

.gfield_checkbox input,
.offset input[type=checkbox] {
  border-radius: 0; }

.gfield_radio input:checked {
  background: #ab8e74; }

.gfield_checkbox input:checked,
.offset input[type=checkbox] {
  background: url(images/check.svg) no-repeat center #fff; }

ul.gform_fields li.left,
.text ul.gform_fields li.left,
ul.gform_fields li.right,
.text ul.gform_fields li.right,
.ginput_complex span,
.gfield.left,
.gfield.right {
  width: 50%;
  float: left;
  clear: none; }

ul.gform_fields li.left,
.text ul.gform_fields li.left,
.gfield.left {
  padding-right: 10px;
  clear: left; }

ul.gform_fields li.right,
.text ul.gform_fields li.right,
.gfield.right {
  padding-left: 10px;
  padding-right: 0;
  clear: none !important;
  float: right; }

li.clear,
.gfield.clear {
  clear: both; }

.gform_ajax_spinner {
  margin: 20px auto 0 auto;
  border: 4px solid rgba(33, 31, 32, 0.2);
  border-left: 4px solid #211f20;
  animation: spinner 1.1s infinite linear;
  border-radius: 50%;
  width: 30px;
  height: 30px; }

@keyframes spinner {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }

.gform_footer img {
  display: block;
  margin: 10px auto 0 auto;
  width: 24px;
  height: auto;
  clear: both; }

.gsection_title {
  font-family: "ivymode", "freight-text-pro", Georgia, Times, serif;
  font-weight: 100;
  border-bottom: 1px solid #211f20;
  color: #211f20;
  font-size: 2.1428571429em;
  padding-bottom: 10px;
  line-height: 1.3em;
  margin: 90px 0 30px 0; }

.gfield:first-child .gsection_title {
  margin-top: 0; }

.dark-form .gsection_title {
  border-color: rgba(255, 255, 255, 0.2); }

.ginput_complex.ginput_container_address span:nth-child(1),
.ginput_complex.ginput_container_address span:nth-child(2) {
  width: 100%;
  float: none;
  padding: 0;
  margin-bottom: 30px;
  display: block; }

.ginput_complex.ginput_container_address span:nth-child(3),
.ginput_complex.ginput_container_address span:nth-child(4),
.ginput_complex.ginput_container_address span:nth-child(5) {
  float: left; }

.ginput_complex.ginput_container_address span:nth-child(3) {
  width: 40%;
  padding: 0; }

.ginput_complex.ginput_container_address span:nth-child(4) {
  width: 30%;
  padding: 0 0 0 20px; }

.ginput_complex.ginput_container_address span:nth-child(5) {
  width: 30%;
  padding: 0 0 0 20px !important;
  clear: none; }

.ginput_complex.ginput_container_address span:nth-child(6) {
  width: 100%;
  margin-top: 30px;
  clear: both; }

.gfield_description:last-child {
  margin-top: 5px; }

legend + .gfield_description {
  margin-top: 0; }

.text .gform_wrapper {
  margin-top: 40px; }

.text .gform_wrapper:first-child {
  margin-top: 0; }

.gfield_required_text,
.gfield_required,
.spacer.gfield,
.gfield_label {
  display: none; }

.show-label .gfield_label,
.show-label .ginput_complex label,
fieldset .gfield_label {
  display: block;
  color: #211f20;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 1em;
   font-family: 'Sofia Sans Condensed', Arial, Verdana, sans-serif;
  line-height: 1.3em;
  margin-bottom: 5px; }

.gform_drop_area {
  border: 1px dashed #58595b;
  padding: 40px 20px;
  margin: 5px 0;
  text-align: center; }

.gform_drop_instructions {
  display: block;
  margin-bottom: 15px;
   font-family: 'Sofia Sans Condensed', Arial, Verdana, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .05em; }

.gform_hidden{margin-bottom:0!important}

#extensions_message {
  display: block;
  margin-top: 3px; }

.ginput_preview {
  font-size: 1.0714285714em;
  line-height: 16px;
  font-weight: normal;
  margin-bottom: 8px; }

.ginput_preview button {
  width: 16px;
  height: 16px;
  z-index: 9;
  margin-right: 5px;
  position: relative;
  top: 1px;
  display: inline-block;
  border: none;
  padding: 0;
  text-indent: -9999px;
  background: url(images/cancel.svg) no-repeat; }


.gsection_title {
    line-height: 1;
    font-weight: 600;
    font-family: 'Sofia Sans Condensed';
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #211f20;
    color: #211f20;
    font-size: 14px;
    padding-bottom: 10px;
    margin: 30px 0 30px 0;
}

.gform_heading{display:none;}
.gfield_label {
    display: none !important;
}


/* slider dots and caption */

.kb-blocks-bg-slider .splide__pagination {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 40px;
    bottom: 30px;
    position: absolute;
}

.kb-blocks-bg-slider .splide__pagination li button.splide__pagination__page {
    width: 50px !important;
    height: 2px !important;
    border-radius: 0 !important;
    background-color: rgba(255, 255, 255, 0.35) !important;
    transform: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    transition: background-color 0.4s ease;
}

.kb-blocks-bg-slider .splide__pagination li button.splide__pagination__page.is-active {
    background-color: rgba(255, 255, 255, 1) !important;
    transform: none !important;
}

.kb-blocks-bg-slider .splide__pagination li button.splide__pagination__page:hover {
    background-color: rgba(255, 255, 255, 0.65) !important;
}

.kb-blocks-bg-slider .splide__pagination {
    bottom: 80px !important;
    left: 40px !important;
}
.splide__track {
    position: relative !important;
}

.kb-bg-slide {
    position: relative !important;
}

.kb-slide-caption {
    position: absolute !important;
    top: 93.5% !important;
    left: 55px !important;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
     font-family: 'Sofia Sans Condensed', Arial, Verdana, sans-serif;
    letter-spacing: 0.15em;
    font-weight: 600;
    z-index: 100 !important;
    pointer-events: none;
    display: block !important;
}

.kb-blocks-bg-slider .splide__arrow {
    border: none !important;
    background: transparent !important;
}

@media (max-width: 767px) {
    .kb-blocks-bg-slider .splide__pagination li button.splide__pagination__page {
        width: 25px !important;
    }
	.kb-slide-caption {
		top: 88.5% !important;}
	.kb-blocks-bg-slider .splide__pagination {
		bottom: 50px !important;}

}


/* frecce custom */

 .wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrows {
    position: absolute !important;
    top: 0 !important;
    left: -20px !important;
    z-index: 10 !important;
    width: 70px !important;
    height: 50px !important;
}
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow {
    background-color: 
#AB8E74 !important;
    border: none !important;
    border-radius: 0 !important;
    width: 35px !important;
    height: 25px !important;
    opacity: 1 !important;
    top:20!important;
    transform: none !important;
}
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow--prev {
    left: 0px !important;
}
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow--next {
    right: 0 !important;
}
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow svg path {
    fill: 
#ffffff !important;
}
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow:hover {
    background-color: 
#967a61 !important;
}
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrow svg {
    width: 12px !important;
    height: 16px !important;
}

@media (max-width: 767px) {
.wp-block-kadence-advancedgallery .kt-blocks-carousel .splide__arrows {
	left: 15px !important;}
}

/* varie */

.single-post h2{font-weight: 300}


/* post navigation style */

.wp-block-post-navigation-link {font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    letter-spacing: 0.2em;
		text-transform:uppercase;
	font-family: 'Sofia Sans Condensed', sans-serif;}

.post-navigation-link-previous a::before {
    content: '\2039';
    margin-right: 6px;
    font-size: 1.2em;
}

.post-navigation-link-next a::after {
    content: '\203A';
    margin-left: 6px;
    font-size: 1.2em;
}