/*
Theme Name: Sat 2025
Description: Edinet Salient 2024 Theme
Author: Edinet
Author URI: https://www.edinet.info
Template: salient
Version: 1.2.2
*/

/*----------------------------------------------------------
Fonts
----------------------------------------------------------*/

/*----------------------------------------------------------
Skins Colors & Font Variables
----------------------------------------------------------*/
:root {}

/*----------------------------------------------------------
Hero
----------------------------------------------------------*/
/* Hack per forzare la line-height del caption nel nectar slider */
.nectar-slider-wrap[data-full-width="false"] .swiper-slide .content p {
    line-height: 1.4em!important;
}
@media only screen and (min-width: 1px) and (max-width: 1300px) {
	.swiper-slide .content p {
		font-size: 18px!important;
	}
}

/*----------------------------------------------------------
Navigation
----------------------------------------------------------*/
@media only screen and (min-width:1000px) {
	.sceglicomune-menu {
		padding-right: 14px;
	}
	.nectar-header-text-content-wrap {
		position: absolute!important;
		min-width: 1em;
		right: 100px;
	}
}
/* Current menu item */
#header-outer.transparent.dark-slide > #top nav .sf-menu > .current_page_ancestor > a,
#header-outer.transparent.dark-slide > #top nav .sf-menu > .current-menu-item > a,
#header-outer.transparent.dark-slide > #top nav .sf-menu > .current-menu-ancestor > a,
#header-outer.transparent.dark-slide > #top nav .sf-menu > .current_page_item > a {
    color: white!important;
}
/* Menu news */
.current-menu-item.menu-news-comunali a span,
.current-menu-item.menu-comunicazioni-servizio a span {
	color: #283C59;
}
.current-menu-item.menu-news-comunali a:hover span,
.current-menu-item.menu-comunicazioni-servizio a:hover span {
	color: #00cae8;
}
/* Position of menu */
#top nav > ul {
	position: relative;
}
/* Nav buttons colors */
#header-outer .sat-menu > a:before {
	border: 4px solid #e7e8ec!important;
	border-top: 4px solid transparent!important;
}
#header-outer .servizi-menu > a:before {
	border: 4px solid #ffc100!important;
	border-top: 4px solid transparent!important;
}
#header-outer .sos-menu > a:before {
	border: 4px solid #46ad94!important;
	border-top: 4px solid transparent!important;
}
#header-outer .news-menu > a:before {
	border: 4px solid #fe7a00!important;
	border-top: 4px solid transparent!important;
}
#header-outer .dilloasat-menu > a:before {
	border: 4px solid #64c3f9!important;
	border-top: 4px solid transparent!important;
}
#header-outer .sceglicomune-menu .menu-title-text {
	white-space: nowrap;
	font-size: .875rem;
    font-weight: normal;
}
#header-outer .sceglicomune-menu > a:before {
	background-color: #e5eef7!important;
	border: 4px solid rgb(40, 60, 89, .10)!important;
	border-top: 4px solid transparent!important;
	/*left: -8px!important;*/
}
#header-outer .sceglicomune-menu .nectar-menu-icon.svg-icon svg,
#header-outer .sceglicomune-menu .menu-title-text {
	color: #283c59;
}
/* Nav buttons padding */
#header-outer[data-lhe="animated_underline"] li.sat-menu > a .menu-title-text,
#header-outer[data-lhe="animated_underline"] li.sos-menu > a .menu-title-text,
#header-outer[data-lhe="animated_underline"] li.news-menu > a .menu-title-text,
#header-outer[data-lhe="animated_underline"] li.dilloasat-menu > a .menu-title-text,
#header-outer[data-lhe="animated_underline"] li.servizi-menu > a .menu-title-text {
	left: 4px!important;
}

/*----------------------------------------------------------
Off canvas
----------------------------------------------------------*/
.off-canvas-menu-container.mobile-only .sceglicomune-menu {
	display: none!important;
}

/*----------------------------------------------------------
Comune
----------------------------------------------------------*/
.single-comune .post-area {
	margin-top: 0!important;
}
.single-comune #informazioni .wpb_tab a:not(.nectar-button, .toggle-heading, .wp-block-button__link) {
    color: rgba(40, 60, 89, 1);
    text-decoration: underline;
}
/* Paragraph Gutenberg */
.single-comune #informazioni .ui-tabs-panel p {
    padding-bottom: 4px;
}
/* Separator Gutenberg */
.single-comune #informazioni .wp-block-separator {
    border-top: 1px solid #939dac;
    opacity: 0.5;
}
/* Bottoni Gutenberg */
.single-comune #informazioni .wp-block-buttons {
	margin-top: 12px;
}
.single-comune #informazioni .wp-block-button__link {
    text-decoration: none!important;
    background-color: #283c59;
}
.single-comune #informazioni .wp-block-button__link:hover {
    color: white;
}
/* Bottoni Bootstrap */
.single-comune #informazioni .btn.btn-default.rounded-pill {
    font-weight: 400;
    padding: 0;
}

/*----------------------------------------------------------
Search
----------------------------------------------------------*/
/* Header */
body.material #search-outer {
	z-index: 20000!important;
}
.material #search-outer #search input[type="text"] {
	border-color: #00993f!important;
}
/* Archive */
body:not(.archive) #page-header-bg,
body:not(.single) #page-header-bg {
	background-color: #f0f5f9;
	background-image: url('/wp-content/uploads/2024/12/SAT-footer-bg.png');
	background-repeat: no-repeat;
}
body.search #page-header-bg h1 {
	color: #283C59;
}
body.search #page-header-bg h1 span {
	color: #00993f;
}
#search-results .result .title a {
	font-size: 24px;
	color: #283c59!important;
}

/*----------------------------------------------------------
Elements
----------------------------------------------------------*/
.sat__nocontent {
	background: #F0F5FA;
	color: rgba(40, 60, 89, .8);
	padding: 24px;
	border-radius: 0 24px;
	border: 1px solid #283c591a;
}
.edi_svg {
	/* Custom hack for Firefox */
    min-height: 128px!important;
}
/* Scroll classes */
.scroll-info {
    background-color: #ffffff;
    display: none;
    position: absolute;
    bottom: 14px;
    width: 1px;
    height: 50px;
    -webkit-animation: pulsedown 1s infinite;
    animation: pulsedown 1s infinite;
}
@-webkit-keyframes pulsedown {
    0%   {bottom: 46px;}
    100% {bottom: 14px;}
}
@keyframes pulsedown {
    0%   {bottom: 46px;}
    100% {bottom: 14px;}
}
@media (min-width: 768px) {
    .scroll-info {
        display: block;
    }
}

/*----------------------------------------------------------
Salient Elements
----------------------------------------------------------*/
/* Carousel */
.nectar-flickity[data-controls=touch_total] .visualized-total span {
	background-color: var(--nectar-extra-color-1);
}
.nectar-flickity[data-controls=touch_total] .visualized-total {
	background-color: #F0F5F9;
}
/* Blog category header */
.blog-recent[data-style=title_only] .col {
	background-color: transparent;
}
.blog-recent[data-style=title_only] .post-header {
	color: #ffffff;
}
.blog-recent[data-style=title_only] h2.title {
	color: #ffffff;
	font-weight: 400;
}
.blog-recent[data-style="title_only"] .col:hover .post-header .title {
	color: rgba(255, 255, 255, .8)!important;
}
.default-blog-title.fullscreen-header,
.single-post #page-header-bg.default-blog-title.fullscreen-header,
.single-post.ascend #page-header-bg.default-blog-title.fullscreen-header {
	background-color: #1d2b41;
}
/* Tabs */
.tabbed>ul li a {
	color: #283C59;
}
.tabbed>ul li a svg {
	fill: #283C59;
}
/* Accordion/Toogle */
div[data-style="minimal"] .toggle {
	border-bottom: 1px solid rgba(40, 60, 89, .1);
}
.toggle>.toggle-title a {
	color: rgba(40, 60, 89, .8);
}
div[data-style="minimal"] .toggle > .toggle-title i:before,
div[data-style="minimal"] .toggle > .toggle-title i:after {
	color: rgba(40, 60, 89, .5);
}
div[data-style*=minimal] .toggle>.toggle-title i {
	border: 2px solid rgba(40, 60, 89, .5);
}
@media only screen and (min-width: 1px) and (max-width: 999px) {
	.tabbed[data-style="vertical_modern"] >div {
		padding-left: 0;
	}
	.tabbed[data-style*=vertical] .wpb_tabs_nav li {
		display: block;
		font-size: 16px;
	}
}

/*----------------------------------------------------------
Blocco Popup AMSA Style
----------------------------------------------------------*/
.blocco-popup {
    display: none;
    position: absolute;
    top: calc(50% - 140px);
    width: 300px;
    right: 140px;
    z-index: 99;
}
/*
@media only screen and (min-width: 1000px) {
    .blocco-popup {
        width: 370px;
        left: calc(47% - 140px)
    }
}
*/
.blocco-popup.popup-visible {
    display: block
}
.blocco-popup .triangle-container {
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.25);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.25);
    border-radius: 5px;
    padding: 45px 25px;
    position: relative;
    background: #D6E4F4
}
.blocco-popup .triangle-container:after,.blocco-popup .triangle-container:before {
    bottom: 70%;
    left: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none
}
.blocco-popup .triangle-container:after {
    border-color: rgba(136,183,213,0);
    border-top-color: #D6E4F4;
    border-width: 15px;
    margin-left: -21px
}
.blocco-popup .triangle-container:before {
    border-color: rgba(194,225,245,0);
    border-left-color: #D6E4F4;
    border-width: 21px;
    margin-left: -1px
}
.blocco-popup .field--name-field-titolo {
    font-size: 20px;
    text-align: center;
    color: var(--nectar-extra-color-1);
    margin-bottom: 20px;
    text-transform: uppercase
}
.blocco-popup .field--name-field-immagine {
    text-align: center;
    margin-bottom: 20px
}
.blocco-popup .field--name-field-immagine img {
    width: 70px;
    height: auto
}
.blocco-popup .field--name-field-testo {
    color: var(--nectar-extra-color-1);
    font-size: 14px;
    margin-bottom: 0;
    text-align: center
}
.blocco-popup .field--name-field-testo p strong {
    font-weight: 700
}
.blocco-popup .field--name-field-titolo-cta {
    text-align: center;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    color: var(--nectar-extra-color-1);
    font-weight: 700;
    font-size: 16px;
    border-radius: 35px;
    padding: 7px 20px;
    cursor: pointer;
    outline: 0
}

/*----------------------------------------------------------
Helper classes
----------------------------------------------------------*/
.text-center, .center, .c {
	text-align: center!important;
}
.text-decoration-none {
	text-decoration: none!important;
}
.float-left, .fl {
	float: left!important;
}
.float-right, .fr {
	float: right!important;
}

/*----------------------------------------------------------
Gravity Forms overrides
----------------------------------------------------------*/
.gform_required_legend {
	display: none;
}

/*----------------------------------------------------------
Joinchat overrides
----------------------------------------------------------*/
.joinchat {
	--bottom: 48px;
	--sep: 6px;
	--s: 48px;
}
.joinchat__button {
	background: rgba(0, 0, 0, 0.25);
	box-shadow: 1px 6px 24px 0 rgb(0, 0, 0, .2)
}
.joinchat__button:hover {
	background-color: var(--nectar-accent-color);
}