/*

Theme Name: Child of InHype

Description: Child theme based on InHype

Version: 1.0

Template: inhype

*/

/* LOGO */

.logo{

	margin: 20px 0 20px 0 !important;

}










/* PER ADV */



@media screen and (min-width: 600px) {

 	.displayDesktop{

		display:block;

	}



	.displayMobile{

		display:none;

	}

}



/* On screens that are 600px or less, set the background color to olive */

@media screen and (max-width: 600px) {

	.displayDesktop{

		display:none;

	}



	.displayMobile{

		display:block;

	}

  }





/* SECONDARY MENU CUSTOM */

.custom-secondary-menu, .custom-secondary-menu .nav > li .sub-menu {

	background-color: #1a4c66 !important;

	border: none !important;

}

.custom-secondary-menu > span {

	padding: 0;	

	line-height: 1;

}

.custom-secondary-menu ul {

	margin: 0;

    padding: 0;

    list-style: none;

}

.custom-secondary-menu ul li {

	display: inline-block;

	padding: 8px 0;

}

.custom-secondary-menu ul li a {

	padding: 14px;	

	text-decoration: none;

}

.custom-secondary-menu .nav > li > a:hover, .custom-secondary-menu .nav .sub-menu li.menu-item > a:hover {

	color: /* #ff4d4d */ #ccc;

}



#menu-secondary-menu > li {

    padding-top: 0px !important;

    padding-bottom: 0px !important;

}



/* MOBILE CUSTOM MENU + EXTRA MENU STYLE */

@media screen and (max-width: 1090px) {

	.custom-secondary-menu, .custom-secondary-menu .nav > li .sub-menu, .extra-menu, .extra-menu .nav > li .sub-menu {

	background-color: #fff !important;

}



}



/* EXTRA MENU CUSTOM */

.extra-menu, .extra-menu .nav > li .sub-menu {

	background-color: #aaa !important;

	border: none !important;

}

.extra-menu .nav > li > a:hover, .extra-menu .nav .sub-menu li.menu-item > a:hover {

		color: #1a4c66;

}



/* CF7 */

.wpcf7-form input[type="tel"] {

    width: 100%;

    margin-bottom: 10px;

}



.wpcf7-list-item {

    display: inline-block;

    margin: 0 0 0 0 !important;

}

.formnewsletter h3{

	font-size:35px !important;

}

.formnewsletter h3, .formnewsletter a{

	color:#fff;

}

.inhype-subscribe-block{

	padding: 40px !important;

}



/* FOOTER */



footer .footer-copyright {

    width: 85% !important;

	padding-right: 10px !important;

}



@media screen and (min-width: 776px) {

	footer .footer-social {

		width: 15% !important;

	}

}



@media screen and (max-width: 776px) {

	#nav_menu-3{margin-top:12px !important}

	#nav_menu-5{margin-top:12px !important}

	#inhype-categories-3{margin-top:12px !important}

}



.footer-bottom{

	font-size:12px !important;

}



.sidebar .widgettitle {

	color: #1a4c66 !important;

}



.textwidget{

	color: #1a4c66 !important;

	font-weight: bold;

}



.widget_recent_entries li a, .widget_recent_comments li a, .widget_categories li a, .widget_archive li a, .widget_meta li a, .widget_pages li a, .widget_rss li a, .widget_nav_menu li a {

    color: #1a4c66 !important;

}



#nav_menu-3 {

	margin-top: 84px;

}



#nav_menu-5 {

	margin-top: 84px;

}



/* Categoria slide-main nascosta */

a[href$="slide-main/"] { display:none !important; }



/* Nascondi immagine in evidenza per post tg web */

article.tag-tg-web .blog-post-thumb{

	display: none !important;

}



/* Social share label */

.post-social:before{

	content: 'Condividi:';

	margin-right: 10px;

}



/*  */

#menu-menu-principale-2 li {

    min-width: 200px;

}





.sidebar.footer-sidebar-2>ul>li {



    width: 33% !important;

 

}







.inhype-subscribe-block, .inhype-subscribe-block p {

    text-align: left !important;

}



.inhype-subscribe-block .mc4wp-form input[type=TEXT] {

    width: 100%!important;

}

.inhype-subscribe-block .mc4wp-form input[name=EMAIL] {

    width: 100%!important;

}

@media screen and (max-width: 600px) {

		.inhype-subscribe-block {

			padding: 10px!important;

		}



	}





.inhype-carousel-block-wrapper .inhype-post .post-author {

    display: inline-block !important;

}

.inhype-carousel2-block-wrapper .inhype-overlay-post.inhype-post .post-author, .inhype-carousel2-block-wrapper .inhype-overlay-post.inhype-post .post-author+.post-info-dot, .inhype-showcase1-block-wrapper .col-md-3 .inhype-overlay-post.inhype-overlay-short-post .post-author, .inhype-showcase1-block-wrapper .col-md-3 .inhype-overlay-post.inhype-overlay-short-post .post-author+.post-info-dot {

    display: inline-block !important;

}



@media (max-width: 991px){

	.nav .sub-menu li.menu-item>a {

		color: #0f0e0e !important;

	}

}



body{

	-webkit-font-smoothing: antialiased;

}



.mcl{

	padding:0 5px 0 0 !important;

}



.mcr{

		padding:0 !important;

	}

@media (max-width: 991px){

	.mailchimp-widget-signup-form div{

		padding: 0px !important;

	}

	.mcl{

		padding:0 !important;

	}

	.mcr{

		margin-top: 20px !important;

	}

	

	.mobnone{

		display:none;

	}

}



@media (min-width: 991px){

#mgt-menu-item-97733 > ul{

		right: -160% !important;

	}



#mgt-menu-item-97519 > ul{

		right: -203% !important;

	}

}

/*ICONA PLAYER PER ARTICOLI*/

.custom-class-for-image {
	position: relative;
}

.custom-class-for-image::after {
	content: '';
	display: inline-block;
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 30px;
	height: 30px;
	background-image: url('https://ilnuovoterraglio.it/wp-content/uploads/2024/05/bottone-rosso-1.png');
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: cover;
	cursor: pointer;
}

/*ICONA GRANDE PLAYER PER ARTICOLI*/
.custom-class-for-image-big {
	position: relative;
	text-align: left;
}

.custom-class-for-image-big::after {
	content: '';
	display: inline-block;
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 40px;
	height: 40px;
	background-image: url('https://ilnuovoterraglio.it/wp-content/uploads/2024/05/bottone-rosso-1.png');
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: cover;
	cursor: pointer;
}


/*MOSTRA GLI AUTORI DEI POST NELLO SHOWCASE DELLA PRIMA PAGINA*/
.inhype-carousel-block-wrapper .inhype-post .post-author {
    display: inline-block !important;
}

.inhype-carousel2-block-wrapper .inhype-overlay-post.inhype-post .post-author,
.inhype-carousel2-block-wrapper .inhype-overlay-post.inhype-post .post-author+.post-info-dot,
.inhype-showcase2-block-wrapper .container .col-md-4 .inhype-overlay-post.inhype-overlay-short-post .post-author,
.inhype-showcase2-block-wrapper .container .col-md-4 .inhype-overlay-post.inhype-overlay-short-post .post-author + .post-info-dot,
.inhype-showcase1-block-wrapper .col-md-3 .inhype-overlay-post.inhype-overlay-short-post .post-author,
.inhype-showcase1-block-wrapper .col-md-3 .inhype-overlay-post.inhype-overlay-short-post .post-author+.post-info-dot {
    display: inline-block !important;
}



/*scritte nel footer*/
.custom-text {
	color: #194C66 !important;
  }
.custom-text a {	
	color: #194C66 !important;	
	text-decoration: none !important;
}
.custom-text a:hover {
	color: #FF4D4D !important;
}
  
/*colore icone social */
.header-left .social-icons-wrapper .fa {
	 color: #194C66 !important;
}
  
.header-right .search-toggle-wrapper .fa-search {
	color: #194C66 !important;
}
  
.footer-social .social-icons-wrapper .fa {
	color: #194C66 !important;
}
  
/*colore pulsanti contatti*/
.has-vivid-red-background-color {
	background-color: #ff4d4d !important;
}
  
  /*titolo h3 della newsletter nella pagina Teams */
.form-contatti h3 {
	color: #ff4d4d !important;
}
  
  

















.aforisma-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px !important;
}

.aforisma-item {
    display: flex;
    align-items: center;
    width: 100%;
	font-style: italic !important;
}

/* .aforisma-thumbnail {
    flex: 0 0 auto;
    margin-right: 15px;
    border-radius: 5px;
    overflow: hidden;
    height: 170px !important;
    width: 260px !important;
}

.aforisma-image {
    height: 100%;
    width: 100%;
    object-fit: cover;

} */

.aforisma-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* .aforisma-content h3 {
    margin: 0 0 10px;
} */

.aforisma-content p {
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 25px;
    text-align: center;
}

/* 
.aforisma-image.wp-post-image {
    height: 100% !important;
} */

@media (max-width: 768px) {
    .aforisma-item {
        flex-direction: column;
        align-items: flex-start;
    }

   /*  .aforisma-thumbnail {
        margin-right: 0;
        margin-bottom: 10px;
        height: 259px !important;
        width: 100% !important;
    }

    .aforisma-thumbnail img {
        width: 100%;


    } */

	.aforisma-content {
        width: 100%;
    }

	.aforisma-container {
		margin-top: 0px !important;
		margin-bottom: 40px !important;
	}

	.inhype-block-title h3 span {
        margin-left:0px;
        font-size: 30px;
    }
}

.custom-aforismi-article{
	margin-bottom: 25px;
}

.banner-item{
	margin:20px 0;
}


@media (max-width: 420px) {
    .inhype-block-title h3 span {
        margin-left:0px;
        font-size: 30px !important;
    }
}




/*fix icone social footer*/
@media screen and (min-width: 776px) {
    footer .footer-social {
        width: 23% !important;
    }
}

@media (max-width: 1024px) {
    footer .footer-copyright {
        width: 100% !important;
    }
}

.mb-4{
	margin-bottom:40px;
}

/* Stile base per tutte le notifiche */
.mc4wp-response,
.mc4wp-alert,
.mc4wp-notice {
    margin-top: 0px;
    padding: 0x;
    border-radius: 8px;
    font-size: 15px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mc4wp-alert{
    padding: 12px 20px;
    margin: 0 0 20px 0;
}
/* Icone con pseudo-elementi */
.mc4wp-response::before,
.mc4wp-alert::before,
.mc4wp-notice::before {
    font-family: "fontawesome"; /* se usi Font Awesome */
    font-weight: 900;
    font-size: 18px;
}

/* Successo */
.mc4wp-success {
    background-color: #e6ffed; /* verde chiaro */
    border: 1px solid #00a64f;
    color: #007a33;
}

.mc4wp-success::before {
    content: "\f058"; /* icona check (Font Awesome) */
    color: #007a33;
}

/* Errore */
.mc4wp-error {
    background-color: #ffe6e6; /* rosso chiaro */
    border: 1px solid #ff5c5c;
    color: #a60000;
}

.mc4wp-error::before {
    content: "\f057"; /* icona croce (Font Awesome) */
    color: #a60000;
}

/* Avviso / notice */
.mc4wp-notice {
    background-color: #fff4e6; /* arancio chiaro */
    border: 1px solid #ffa500;
    color: #7a4c00;
}

.mc4wp-notice::before {
    content: "\f071"; /* icona warning (Font Awesome) */
    color: #ffa500;
}

/* Link interni leggibili */
.mc4wp-response a,
.mc4wp-alert a,
.mc4wp-notice a {
    color: inherit;
    font-weight: bold;
    text-decoration: underline;
}

.inhype-subscribe-block p {
    margin-top: 0px !important;
}

.post-extra-text-27309{
	padding-bottom:40px;
}

.category-27309 p{
	font-size: 18px;
	font-style: italic;
}