/*
Theme Name:     Un cuore, un mondo
Theme URI:      http://uncuoreunmondo.org/
Description:    Tema personalizzato per Un cuore, un mondo
Author:         Andrea Pacini
Author URI:     http://www.andreapacini.it/
Template:       enfold
Version:        1.0
*/


body, .main_color { /* background: #e9e7dd; background: -moz-linear-gradient(top,  #e9e7dd 0%, #ffffff 100%); background: -webkit-linear-gradient(top,  #e9e7dd 0%,#ffffff 100%); background: linear-gradient(to bottom,  #e9e7dd 0%,#ffffff 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e9e7dd', endColorstr='#ffffff',GradientType=0 ); */ }


/***** HEADER *****/
#top #header a { font-family: 'Montserrat', sans-serif;  }
#top .av-menu-button-colored > a .avia-menu-text, #menu-donate a  { border-radius: 20px; padding:8px 20px; background-color: #dc3d4f !important; border:0; font-size: 12px; font-weight: normal; color:#FFF !important; }
#menu-item-2921 a { display: none }
#top .title_container .container { padding-top: 30px; padding-bottom: 30px; }
#top .social_bookmarks, .av_secondary_right .sub_menu { margin-top:30px; margin-bottom:-30px; }
#top .social_bookmarks li a { border-radius: 50%; }
#mobile-advanced .sub-menu a { color: #fff; border-color: transparent; }
#mobile-advanced li > a:before, .html_header_mobile_behavior #mobile-advanced span > a:before, #mobile-advanced .mega_menu_title:before { content: ""; margin-left:0; }
#mobile-advanced a, #mobile-advanced .mega_menu_title { border-bottom-style: none; border-bottom-width: 0; }

.title_container .main-title { font-size: 40px; line-height: 1em; margin-bottom: 30px; }

@media only screen and (min-width: 766px) {	
	/* solo desktop */
	#top .av-main-nav ul a { text-align: center; }
	ul.sub-menu { width: 100%; text-align: center; }
	#header_main { top: -30px; }
	.title_container .main-title { line-height: 1.5em; margin-bottom: 0px; }
}

.html_header_top.html_header_sticky.html_large .av_minimal_header #header_main .container { height: 90px; line-height: 90px; }
.html_header_top.html_header_topbar_active.html_header_sticky.html_large.html_bottom_nav_header #top #main { padding-top: 170px; }
.header-scrolled #header_main { top: -15px; }
.header_color .container_wrap_meta { background:transparent; }
.header_color .main_menu .menu ul li a { background-color:transparent; }
.header_color, .header_color *, .header_color > * { border:0 none transparent; border-color:transparent !important; }

.av_minimal_header_shadow { box-shadow: 0 0 50px 1px rgba(0,0,0,0.25); }
@media only screen and (max-width: 767px) { 
	/* solo mobile */
	#header_meta { display:none; visibility:hidden; } 
}
@media only screen and (min-width: 766px) {	
	/* solo desktop */
	.home .main_menu { display:none; visibility:hidden; } 
	.home .logo img { margin-top:0; }
	.home #header_main { margin-bottom: -30px; } 
	.home .header-scrolled #header_main { margin-bottom:0; }
	.home .content { padding-top:0; margin-top:-30px; }
} 

/* CREA PROBLEMI CON L'ULTIMO DROPDOWN */ .main_menu li { width:20%; text-align:center; } 
.main_menu li a { color:#FFF !important; font-family: 'Montserrat', sans-serif; font-size: 18px; }
.main_menu .home, .home ul.sub-menu { background-color:#9c9288 !important; }
.main_menu .pazienti, .pazienti ul.sub-menu { background-color:#20b067 !important; }
.main_menu .volontari, .volontari ul.sub-menu { background-color:#ddbd0b !important; }
.main_menu .sostenitori, .sostenitori ul.sub-menu { background-color:#dc3d4f !important; }
.main_menu .istituzioni, .istituzioni ul.sub-menu { background-color:#2991c9 !important; }

/***** DROPDOWN *****/
.header_color .main_menu .menu ul li a:hover, .header_color .av-subnav-menu ul a:hover { background-color: transparent; opacity: 0.6; }
.header_color .avia-bullet { visibility: hidden; display: none; }
.av-main-nav li.current-menu-item a { opacity: 0.6; text-decoration: underline !important; }
#top #header .avia_mega_div > .sub-menu > li > ul > li a { padding: 10px 0; font-size:16px; }
#top #header .avia_mega_div > .sub-menu > li > ul > li a:hover { text-decoration:underline; }
#header .avia_mega_div { box-shadow: 0 32px 60px rgba(0, 0, 0, 0.25); }
#header .avia_mega_div * { background-color:transparent; }
#header.av_minimal_header .avia_mega_div { border:0 none; }
#header.av_minimal_header .avia_mega_div .mega_menu_title { color:#FFF; text-align:left; /* width:150px; */ text-transform: uppercase; margin-top:50px; }
#header .avia_mega_div > .sub-menu { min-height:400px; background-position:center center; background-size:cover; }
#header .pazienti .avia_mega_div > .sub-menu { background-image:url(images/bg_famiglie.jpg); }
#header .volontari .avia_mega_div > .sub-menu { background-image:url(images/bg_volontari.jpg); }
#header .sostenitori .avia_mega_div > .sub-menu { background-image:url(images/bg_sostenitori.jpg); }
#header .istituzioni .avia_mega_div > .sub-menu { background-image:url(images/bg_istituzioni.jpg); }



/***** TAB HOMEPAGE *****/
.tabcontainer * { font-family: 'Montserrat', sans-serif; color:#FFF !important; }
.js_active .tab { font-size:14px; text-align:center; }
.tab_inner_content { padding:80px 5px; }
.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 { font-weight:normal; text-transform:inherit; letter-spacing:-1px; }
.template-page .entry-content-wrapper hr { width:50px; border: solid #FFF; border-width: 3px 0 0; margin:30px auto; }
.template-page .entry-content-wrapper p { font-size:16px; line-height: 1.5em }
.template-page .entry-content-wrapper .avia-button-wrap a { color: #FFF; border:3px solid #FFF !important; background: transparent; padding: 10px 30px; text-transform:uppercase; font-size:14px; }
.responsive #top .main_color .tabcontainer .active_tab { border-color: transparent; }
.sidebar_tab_left .active_tab.tab { width: 105.5%; font-weight: normal; -webkit-transition: width 0.5s ease-in-out; -moz-transition: width 0.5s ease-in-out; -o-transition: width 0.5s ease-in-out; transition: width 0.5s ease-in-out; box-shadow: 0 0 50px 1px rgba(0,0,0,0.25); }

@media only screen and (min-width: 766px) {	
	/* solo desktop */
	.js_active .tab { font-size:18px; text-align:left; padding: 50px 20px 50px 70px; border-color: transparent; }
	.tab_inner_content { padding:100px 50px 50px 50px; }
	.template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 { font-size:49px; }
}

.tab_counter_0, .tab_counter_0.active_tab, .av_tab_section [data-fake-id="#tab-id-1"] { background-color: #9c9288 !important; /* beige */ }
.tab_counter_1, .tab_counter_1.active_tab, .av_tab_section [data-fake-id="#tab-id-2"] { background-color: #20b067 !important; /* verde */ }
.tab_counter_2, .tab_counter_2.active_tab, .av_tab_section [data-fake-id="#tab-id-3"] { background-color: #ddbd0b !important; /* giallo */ }
.tab_counter_3, .tab_counter_3.active_tab, .av_tab_section [data-fake-id="#tab-id-4"] { background-color: #dc3d4f !important; /* rosso */ }
.tab_counter_4, .tab_counter_4.active_tab, .av_tab_section [data-fake-id="#tab-id-5"] { background-color: #2991c9 !important; /* azzurro */ }

.tab_counter_0, .tab_counter_1, .tab_counter_2, .tab_counter_3, .tab_counter_4 { background-position:left center; background-repeat:no-repeat; }
/* .tab_counter_0 { background-image:url(images/btn_home.jpg); } */
.tab_counter_1 { background-image:url(images/btn_famiglie.jpg); }
.tab_counter_2 { background-image:url(images/btn_volontari.jpg); }
.tab_counter_3 { background-image:url(images/btn_sostenitori.jpg); }
.tab_counter_4 { background-image:url(images/btn_istituzioni.jpg); }

#tab-id-1-container, #tab-id-2-container, #tab-id-3-container, #tab-id-4-container, #tab-id-5-container { background-position:center center; background-size:cover; }
#tab-id-1-container { background-image:url(images/bg_home.jpg); }
#tab-id-2-container { background-image:url(images/bg_famiglie.jpg); }
#tab-id-3-container { background-image:url(images/bg_volontari.jpg); }
#tab-id-4-container { background-image:url(images/bg_sostenitori.jpg); }
#tab-id-5-container { background-image:url(images/bg_istituzioni.jpg); }



/**** NEWS HOMEPAGE ****/
.category-pazienti-genitori-e-parenti .post-title { color: #20b067; /* verde */ }
.category-volontari-e-collaboratori .post-title { color: #ddbd0b; /* giallo */ }
.category-sostenitori-e-donatori .post-title { color: #dc3d4f; /* rosso */ }
.category-istituzioni-ed-altri-organi .post-title { color: #2991c9; /* azzurro */ }
@media only screen and (min-width: 766px) {	
	/* solo desktop */ .home article { width: 33%; padding: 20px; float: left; clear: initial; margin-left: 0; }
}
.home .post_delimiter, .home .slide-image { visibility: hidden; display: none; }
.html_elegant-blog #top.home .post-entry .minor-meta { line-height: 18px; margin-bottom: 20px; font-weight: normal; }
.html_elegant-blog #top.home .post-entry .post-title { line-height: 1em; }
.home .avia-content-slider .slide-entry-title { font-size: 30px; text-transform: uppercase; padding: 0px 0 15px; letter-spacing: 2px; line-height: 1em; }
.home .avia-content-slider .read-more-link, .html_elegant-blog #top.home .avia-content-slider .blog-categories { top: 0; }
.home .avia-content-slider .slide-entry-excerpt { text-align: center; }

/**** SIDEBAR ***/
.inner_sidebar .post-date { display: block; }
.widget_recent_entries li a { font-style: normal; font-family: inherit; font-size: 14px; }



/* ================ Modifiche 17 07 2018 ==================== */
/* ========================================================== */
/* ========================================================== */
/* LAST NEWS */

#lastnews {
	padding: 30px 20px;
	margin: -80px auto 20px;
	text-align: center;
	
	max-width: 1310px;
	box-sizing: border-box;
}

#lastnews strong,
#lastnews h2,
#lastnews time,
#lastnews img {
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
}

#lastnews strong {
 font-size: 18px;
}

#lastnews img {
	width: 42px;
}

#lastnews h2 {
	text-transform: uppercase;
	font-size: 24px;
	margin-bottom: 0;
}



/* Responsive */
@media only screen and (max-width: 767px) {	
	
	.responsive #lastnews {
		padding: 40px 20px 20px !important;
		margin: 0 auto -20px !important;
	}
}






/* ========================================================== */
/* ========================================================== */
/* Bottoni Bomboniere */

/* ----------------------------------------------
 * Generated by Animista on 2020-4-14 17:54:45
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
  ---------------------------------------------- /

/**
 * ----------------------------------------
 * animation heartbeat
 * ----------------------------------------
 */
@-webkit-keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes heartbeat {
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform-origin: center center;
            transform-origin: center center;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  10% {
    -webkit-transform: scale(0.91);
            transform: scale(0.91);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  17% {
    -webkit-transform: scale(0.98);
            transform: scale(0.98);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  33% {
    -webkit-transform: scale(0.87);
            transform: scale(0.87);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}

#button-container {
	margin: 30px auto 0;
	text-align: center;
}
	
#button-container	button {
	border: 0;
	border-radius: 30px;
	padding: 8px 20px 8px 50px;
	margin: 0 6px 10px;
	
	cursor: pointer;
	color: #9c9288 !important;
	background-color: #fff;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	
	background-repeat: no-repeat !important;
	background-position: 20px 50% !important;
	background-size: auto 70% !important;
}

#button-container	.btn-progettoturano {
	-webkit-animation: heartbeat 1.5s ease-in-out infinite both;
	animation: heartbeat 1.5s ease-in-out infinite both;
	background: #fff;
	color: #2991c9 !important;
	background-image: url(/wp-content/themes/uncuoreunmondo/images/icon-progettoturano.png);	
}

#button-container	.btn-bomboniere {
	background-image: url(/wp-content/themes/uncuoreunmondo/images/icon-bomboniere.png);
}

#button-container	.btn-bomboniere-autore {
	background-image: url(/wp-content/themes/uncuoreunmondo/images/icon-bomboniere-autore.png);
}


/* Responsive */
@media only screen and (max-width: 940px) {	
	
	#button-container {
		float: none;
		text-align: center;
	}
}




/* ========================================================== */
/* ========================================================== */
/* Iscrizione newsletter */

#newsletter {
	background-color: #9c9288;
	color: #313131;
	text-align: center;
	max-width: 1310px;
	padding: 30px 20px;
	margin-bottom: 30px !important;
	box-sizing: border-box !important;
}

#newsletter h3 {
	color: #fff;
	font-weight: 700;
}

#newsletter p,
#newsletter a {
	color: #313131;
}

#newsletter p {
	max-width: 520px;
	margin: 0 auto 20px;
	line-height: 1.1;
}

#newsletter a {
	text-decoration: underline;
}

#newsletter a:hover {
	text-decoration: none;
}


#newsletter form  {
	text-align: center;
	margin-bottom: 0;
}

#newsletter form > div  {
	width: 520px;
	max-width: 90%;
	margin: 0 auto 20px;
}

#newsletter input, 
#newsletter button,
#top #newsletter input[type="text"],
#top #newsletter button {
	display: inline-block !important;
	line-height: 42px !important;
	padding: 0 24px !important;
	
	border: 0 !important;
	box-sizing: border-box !important;
	vertical-align: middle !important;
}


#newsletter input,
#top #newsletter input[type="text"]  {
	border-radius: 30px 0 0 30px !important;
	width: 58% !important;
	background-color: #fff !important;
	height: 44px;
	margin-bottom: 0 !important;
}

#newsletter button {
	border-radius: 0 30px 30px 0;
	width: 40%;
	height: 45px;
	margin-left: -4px !important;
	
	background-color: #313131;
	color: #fff;
	cursor: pointer;
}



/* Responsive */
@media only screen and (max-width: 468px) {	
	
	#newsletter input,
	#top #newsletter input[type="text"]  {
		width: 50% !important;
	}
	
	#newsletter button {
		width: 49% !important;
	}
}

@media only screen and (max-width: 360px) {	
	
	#newsletter input,
	#top #newsletter input[type="text"],
	#newsletter button  {
		width: 100% !important;
		display: block;
		border-radius: 30px !important;
		margin-bottom: 4px !important;
	}
}





/* ========================================================== */
/* ========================================================== */
/* GDPR */

.gdpr {
	text-align: center;
	margin: 0 auto 120px;
	padding: 120px 20px 0;
	width: 700px;
	max-width: 100%;
	box-sizing: border-box;
	
	font-size: 20px;
	color: #9c9288;
}

.gdpr .button-container {
	margin-top: 48px;
}

.gdpr .btn {
	border: 1px solid #7c6853;
	background-color: #7c6853;
	color: #fff;
	border-radius: 3px;
	font-size: 20px;
	cursor: pointer;
	
	margin: 10px;
	padding: 10px 24px;
	display: inline-block;
}


.gdpr .btn.btn-light {
	background-color: #fff;
	color: #7c6853;
}


/* Responsive */
@media only screen and (max-width: 767px) {	

	.gdpr {
		margin: 0 auto 80px;
		padding: 80px 20px 0;
	}
}


/* Fix tab missing pixels */
#top .tab_titles {
	background-color: #2991c9 !important;
}


/* Fix new AVIA/Wordpress/Enfold version */
.main_menu .pazienti, .pazienti ul.sub-menu { background-color:#20b067 !important; }
.main_menu .pazienti, .pazienti ul.sub-menu a { background-color:#20b067 !important; }
.main_menu .volontari, .volontari ul.sub-menu { background-color:#ddbd0b !important; }
.main_menu .volontari, .volontari ul.sub-menu a { background-color:#ddbd0b !important; }
.main_menu .sostenitori, .sostenitori ul.sub-menu { background-color:#dc3d4f !important; }
.main_menu .sostenitori, .sostenitori ul.sub-menu a { background-color:#dc3d4f !important; }
.main_menu .istituzioni, .istituzioni ul.sub-menu { background-color:#2991c9 !important; }
.main_menu .istituzioni, .istituzioni ul.sub-menu a { background-color:#2991c9 !important; }
