/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

:root {
	/* spacings */
	--space-mini: 10px;
	--space-small: 20px;
	--space-normal: 40px;
	--space-big: 60px;
	
	/*colors*/
	--blue: #134383;
	--yellow: #fecc00;
	--green: #94c11e;
}

.blue {
	color: var(--blue)!important;
}
.yellow, .yellow h1 {
	color: var(--yellow)!important;
}
.green {
	color: var(--green)!important;
}

.bkg-blue {
	background-color: var(--blue)!important;
}
.bkg-yellow {
	background-color: var(--yellow)!important;
}
.bkg-green {
	background-color: var(--green)!important;
}

#main {
    padding-top: 0;
}

mb-30{
	margin-bottom:30px;
}






/* menu */
.fusion-body .fusion-main-menu .current-menu-parent>a span.menu-text:not(.fusion-button),
.fusion-body .fusion-main-menu .current_page_item>a span.menu-text:not(.fusion-button) {
    background: var(--green);
    padding: 9px;
	border-radius: 2px;
	color: #fff;
}
.fusion-body .fusion-main-menu .current_page_item>a span.menu-text.fusion-button {
    background: var(--green);
	color: #fff;
}
header .button-default{
	background-color: var(--yellow);
}

header .button-xlarge {
    /* padding: 7px 20px 7px 40px; */
	color: var(--blue);
	font-weight:bold;
}
.fusion-main-menu .fusion-dropdown-menu .sub-menu li.current-menu-item a {
    background-color: var(--green);
	color: #fff;
}
.fusion-main-menu .fusion-dropdown-menu .sub-menu,
.fusion-main-menu .fusion-megamenu-wrapper {
    top: calc(50% + 2em);
}

/* menu stiky */

.fusion-body .fusion-is-sticky.fusion-header-wrapper .fusion-header,
body:not(.fusion-header-layout-v6) .fusion-is-sticky .fusion-main-menu>ul>li>a {
	height: 90px !important;
}
.fusion-body .fusion-is-sticky.fusion-header-wrapper .fusion-logo {
	margin: 0;
}

/*home*/
.home .mec-event-list-classic .mec-event-title a, .home .post-content h4 a {
    color: var(--green);
}

/* slide */
/*
.flexslider .slides li:after {
    content: '';
    background: rgb(255 255 255 / 20%);
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
	
}
*/
.flexslider .slides li h2 {
    /* text-shadow: 0px 0px 4px #fff; */
    background: #fff;
    padding: 6px 10px !important;;
}
.flexslider .slides li h3 {
    /* background: #fff; */
	/* color: #747474 */
}

/* Cammini e soci */
.fusion-filter {
	margin-right: 0;
}
.fusion-filter > a:last-child {
	margin-right: 15px;
}
.fusion-filters .fusion-filter a[data-filter=".consociato"],
.fusion-filters .fusion-filter a[data-filter=".non-consociato"] {
	display: none;
}

.fusion-post-cards.card-style .fusion-title {
	margin-bottom: 10px !important;
}
.fusion-post-cards.card-style h2 {
    display: block;
	width: 100%;
	margin: 0;
}
.fusion-portfolio-content h2 a,
.fusion-post-cards.card-style h2 a {
	/* color: var(--green); */
	font-weight:500;
	
    background-color: var(--green);
    font-weight: 500;
    color: #fff !important;
    /* width: 100%; */
    display: block;
    padding: 4px 7px;
    font-size: 20px;
    line-height: 1.2em;
}
.fusion-portfolio-post .portfolio-fusion-portfolio-content-wrapper,
.fusion-post-cards.card-style .fusion-column-wrapper {
    /* border: 1px solid #e0dede; */
    /* border-radius: 2px; */
    /* margin: 10px; */
    padding: 10px !important;
	background-color: #fff;
	transition: background-color 0.2s;
	-webkit-box-shadow: 0px 4px 7px 2px rgba(0,0,0,0.1); 
	box-shadow: 0px 4px 7px 2px rgba(0,0,0,0.1);
}
.fusion-portfolio-post .portfolio-fusion-portfolio-content-wrapper:hover,
.fusion-post-cards.card-style .fusion-column-wrapper:hover {
	background-color: #ececec;
}
.fusion-portfolio-post .fusion-image-wrapper,
.fusion-post-cards.card-style .fusion-image-wrapper {
    /* opacity: 0; */
    /* border: 1px solid #e0dede; */
    border-bottom: 1px solid #e0dede;
	margin-bottom: 10px;
    padding: 10px;
    /* border-radius: 2px; */
}
.fusion-portfolio-meta a,
.fusion-post-cards.card-style .meta a {
	color: var(--blue);
}
.fusion-post-cards.card-style .meta p {
	margin: 0;
}
.fusion-portfolio-meta a:hover,
.fusion-post-cards.card-style .meta a:hover {
	text-decoration: underline;
}
body .fusion-filters .fusion-filter.fusion-active a {
    border-color: var(--green);
}

.fusion-portfolio-content {
    margin-top: 5px;
    /* margin-bottom: 20px; */
    /* padding-bottom: 20px; */
    /* border-bottom: 1px solid #e0dede; */
}
/*footer*/
.fusion-footer .fusion-footer-copyright-area {
    border-top: 1px solid #ffffff;
}
.fusion-footer .fusion-footer-widget-area .widget-title {
    font-size: 21px;
}
.fusion-footer .fusion-footer-widget-area {
    padding: 35px 10px 35px;
}

.lista-loghi-footer img {
	margin-left: calc(var(--space-small)/2);
	margin-right: calc(var(--space-small)/2);
	margin-bottom: var(--space-small);
	max-height: 100px;
	width: auto;
}



/*blog*/
body #main .fusion-blog-archive h2 a{
	color: var(--green);
	font-weight: 600;
}
.fusion-read-more {
    background: var(--yellow);
    padding: 5px 10px;
	color: var(--blue);
	font-weight: 600;
}
.fusion-read-more:after{
	display:none;
}
body.single-post #wrapper #main .post > .fusion-post-title-meta-wrap > h1.fusion-post-title {
    font-size: 33px;
    color: var(--green);
}

/*dettaglio evento*/
body.single-mec-events #main {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.mec-single-event .mec-event-meta dd a {
    color: #fff !important;
}
.mec-single-event .mec-event-meta dt, .mec-single-event .mec-event-meta h3, .mec-wrap h1, .mec-wrap.colorskin-custom .mec-color-before *:before{
	color: var(--green)!important;
}
.mec-event-cost, .mec-event-more-info, .mec-event-website, .mec-events-meta-date, .mec-single-event-additional-organizers, .mec-single-event-category, .mec-single-event-date, .mec-single-event-label, .mec-single-event-location, .mec-single-event-organizer, .mec-single-event-time {
    background: #134383;
}
.mec-single-event .mec-event-meta h6, .mec-single-event .mec-event-meta .mec-events-event-categories a, .mec-single-event .mec-event-meta dd {
    color: #ffffff;
}
.mec-single-event .mec-event-social li.mec-event-social-icon a {
    border-radius: 100%;
}

.mec-single-event .mec-event-meta dl {
	margin-top: 0;
}
.mec-holding-status-expired {
    background-color: #d8000c;
    color: #fff;
    padding: 2px 7px;
}

/* Dettaglio socio */
ul.cammini-wrapper {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.cammini-wrapper li,
.download-file-wrapper,
.events-event-wrapper {
	list-style: none;
    border-bottom: 1px solid #e0dede;
	padding: 5px;
	padding-left: 0;
}
.single-cammino_storico .download-file-wrapper {
	border: 0;
	padding: 0;
}
.single-cammino_storico .download-file-wrapper .fb-icon-element {
	display: none;
}

/*Servizi*/
.fusion-tabs.classic .nav-tabs > li.active .tab-link {
    border-color: var(--green)!important;
}
