@media screen AND (max-width: 1199px) {
	body {
		font-size: 15px;
	}
	
	/*--- HEADER ----------------------------------------------------------------*/
	header#site .user-profile .info-profile .user-icon-profile {
		max-width: 150px;
	}
	/*--- FINE > HEADER ---------------------------------------------------------*/
	
	/*--- SINGOLO ARTICOLO ------------------------------------------------------*/
	article.article .the-content .photogallery .single-photo {
		min-height: 150px;
	}
	/*--- FINE > SINGOLO ARTICOLO -----------------------------------------------*/
	
	/*--- STILI GENERALI --------------------------------------------------------*/
	img.alignright { float: none; margin: 0; }
	img.alignleft { float: none; margin: 0; }
	.alignright { float: none; }
	.alignleft { float: none; }
	/*--- FINE > STILI GENERALI -------------------------------------------------*/
}

@media screen AND (max-width: 991px) {
	body {
		font-size: 16px;
	}
	
	/*--- HEADER ----------------------------------------------------------------*/
	header#site .user-profile {
		
	}
    header#site .user-profile .background-profile .background {
        min-height: 300px;
    }
	header#site .user-profile .info-profile .user-icon-profile {
		max-width: 120px;
		margin-bottom: 1em;
	}
	header#site .user-profile .info-profile .user-blog-title {
		font-size: 80%;
	}
	header#site .user-profile .info-profile .user-current-residence {
		font-size: 80%;
	}
	
    header#site nav.minisite ul li {
        font-size: 0.9em;
    }
	header#site nav.minisite ul li.hidden-responsive {
		display: none;
	}
	header#site nav.minisite ul li.show-only-responsive {
		display: inline-block;
	}
	/*--- FINE > HEADER ---------------------------------------------------------*/
	
	/*--- SINGOLO ARTICOLO ------------------------------------------------------*/
	article.article header h1 {
		font-size: 1.6em;
	}
	article.article header h2 {
		margin-bottom: 1em;
	}
	article.article section ul li:last-child {
		margin-right: 0;
	}
	article.article section ul li:last-child:after {
		content: "";
		margin: 0;
	}
	article.article .the-content .photogallery .single-photo {
		min-height: 100px;
	}
	/*--- FINE > SINGOLO ARTICOLO -----------------------------------------------*/
	
	/*--- WIDGET ----------------------------------------------------------------*/
	.widget-single-block {
		
	}
	
	.widget-single-block .social-network ul li {
		font-size: 0.9em;
	}
	/*--- FINE > WIDGET ---------------------------------------------------------*/
	
	main#site-main {
		/*margin-top: var(--header-height);*/
	}
	
	/*--- FOOTER ----------------------------------------------------------------*/
	footer#site-footer .loghi img.conibambini {
		max-width: 120px;
	}
	footer#site-footer .loghi img.fondazioneconilsud {
		max-width: 80px;
	}
	
	footer#site-footer .credits ul {
		text-align: center;
	}
	footer#site-footer .credits ul li {
		display: block;
	}
	footer#site-footer .links ul {
		text-align: center;
	}
	footer#site-footer .links ul li {
		display: block;
	}
    footer#site-footer .links ul li.w3c {
        margin-top: 1rem;
    }
	/*--- FINE > FOOTER ---------------------------------------------------------*/
}

@media screen AND (max-width: 767px) {
	body {
		font-size: 16px;
	}
	
	/*--- HEADER ----------------------------------------------------------------*/
	header#site {
		margin: 0 0 2em 0;
	}
	
	header#site .top-container-desktop {
		display: none !important;
	}
	header#site .top-container-responsive {
		display: -webkit-box !important;
		display: -ms-flexbox !important;
		display: flex !important;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 99999;
		background-color: rgba(255, 255, 255, 1);
		box-sizing: border-box;
	}
	body.admin-bar header#site .top-container-responsive {
		top: 46px;
	}
	
	header#site .user-profile {
		border-radius: 0;
		margin-top: 3em;
		margin-bottom: 0.5em;
	}
    header#site .user-profile .background-profile .background {
        min-height: 200px;
    }
	body.admin-bar header#site .user-profile {
		margin-top: 6em;
	}
	
	header#site .user-profile .info-profile {
		top: 50%;
		transform: translateY(-50%);
	}
	header#site .user-profile .info-profile .user-icon-profile {
		/*
        margin-left: 0.5em;
		margin-bottom: 0.5em;
        */
		margin-left: auto;
		margin-right: auto;
		max-width: 100px;
	}
	header#site .user-profile .info-profile .user-icon-profile.icon-profile-with-circle {
		border-width: 3px;
	}
	header#site .user-profile .info-profile .user-blog-title {
		font-size: 70%;
		text-align: center;
	}
	header#site .user-profile .info-profile .user-blog-title h2 {
		border-radius: 0;
		margin: 0;
	}
	header#site .user-profile .info-profile .user-current-residence {
		font-size: 70%;
		text-align: center;
	}
	header#site .user-profile .info-profile .user-current-residence h4 {
		border-radius: 2em;
		margin: 0.2em 0 0 0;
	}
	
	header#site nav.minisite {
		/*display: none;*/
	}
	header#site nav.minisite ul {
		display: none;
	}
    header#site nav.minisite .search {
        display: flex !important;
    }
	header#site nav.minisite .search form input {
		padding-top: 0.6em;
		padding-bottom: 0.6em;
	}
    header#site .mini-search {
        display: none !important;
    }
	/*--- FINE > HEADER ---------------------------------------------------------*/
	
	/*--- NAVIGAZIONE RESPONSIVE ------------------------------------------------*/
	#responsive-navigation header ul li {
		font-size: 1.2rem;
	}
	/*--- FINE > NAVIGAZIONE RESPONSIVE -----------------------------------------*/
	
	/*--- WIDGET ----------------------------------------------------------------*/
	.widget-single-block {
		margin: 0 0 1.3em 0;
	}
	
	.widget-single-block .social-network ul {
		float: none;
		display: table;
		margin: 0 auto;
	}
	.widget-single-block .social-network ul li {
		font-size: 1em;
	}
	
	#info-minisite-responsive {
		display: block;
		margin-top: 1em;
		border-top: 2px solid #999;
	}
	#info-minisite-responsive h2 {
		text-align: center;
		font-weight: 400;
		font-size: 1.3em;
		line-height: 1;
		margin: 1em 0 0.8em 0;
	}
	/*--- FINE > WIDGET ---------------------------------------------------------*/
	
	/*--- SINGOLO ARTICOLO ------------------------------------------------------*/
	article.article header h1 {
		/*font-size: 1.6em;*/
	}
	article.article .the-content .photogallery .single-photo {
		min-height: auto;
		position: static;
	}
	article.article .the-content .photogallery .single-photo img {
		position: static;
		transform: none;
		width: 100%;
	}
	/*--- FINE > SINGOLO ARTICOLO -----------------------------------------------*/
	
    /*--- SEZIONE: PHOTOGALLERY -------------------------------------------------*/
    .section-block-style-photo-inner .photogallery .bg {
        height: 350px;
    }
    /*--- FINE SEZIONE: PHOTOGALLERY --------------------------------------------*/
    
    /*--- RASSEGNA: RASSEGNA STAMPA ---------------------------------------------*/
    .section-rassegna-stampa article {
        margin: 0 0 4em 0;
    }
    /*--- FINE RASSEGNA: RASSEGNA STAMPA ----------------------------------------*/
    
	/*--- FOOTER ----------------------------------------------------------------*/
	footer#site-footer .loghi img.conibambini {
		max-width: 200px;
	}
	footer#site-footer .loghi img.fondazioneconilsud {
		max-width: 130px;
	}
	/*--- FINE > FOOTER ---------------------------------------------------------*/
}

@media screen AND (max-width: 575px) {
	body {
		font-size: 16px;
	}
	
	/*--- HEADER ----------------------------------------------------------------*/
	header#site {
		margin: 0;
	}
	header#site .top-container-responsive {
		padding: 0.5em;
	}
	body.admin-bar header#site .top-container-responsive {
		top: 0;
	}
	
	header#site .logo {
		
	}
	header#site .user-profile {
		margin-left: -15px;
		margin-right: -15px;
		border-radius: 0;
	}
	body.admin-bar header#site .user-profile {
		margin-top: 3em;
	}
	
	header#site .user-profile .background-profile {
		position: relative;
		
	}
	header#site .user-profile .background-profile:before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		margin: auto;
		background-color: rgba(0, 0, 0, 0.5);
		transition: background 500ms ease-in-out;
	}
	header#site .user-profile:hover .background-profile:before {
		transition-delay: 500ms;
	}
	header#site .user-profile .info-profile {
		top: 50%;
		transform: translateY(-50%);
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
	header#site .user-profile .info-profile .info-profile-content {
		
	}
	header#site .user-profile .info-profile .user-icon-profile {
		max-width: 80px;
		float: left;
		padding-top: 0;
		padding-bottom: 0;
	}
	header#site .user-profile .info-profile .user-icon-profile.icon-profile-with-circle {
		margin-right: 0.6em;
		margin-left: 0.6em;
		max-width: 70px;
	}
	header#site .user-profile .info-profile .user-blog-title h2 {
		background-color: transparent;
		padding: 0;
		max-width: 100%;
		line-height: 1.3em;
		font-weight: 400;
	}
	header#site .user-profile .info-profile .user-blog-title {
		display: block;
		text-align: center;
	}
	header#site .user-profile .info-profile .user-current-residence {
		display: block;
		text-align: center;
	}
	header#site .user-profile .info-profile .user-current-residence h3:not(:empty) {
		background-color: transparent;
		padding: 0;
		margin: 0.4em 0 0 0;
	}
	header#site .user-profile h2 {
		font-size: 1em;
	}
	/*--- FINE > HEADER ---------------------------------------------------------*/
	
	/*--- STILI GENERALI --------------------------------------------------------*/
	.no-margin-responsive {
		margin-left: -15px;
		margin-right: -15px;
	}
	
	.share-box .share-box-socials {
		width: 200px;
	}
	.share-box[data-position='left'] .share-box-socials a {
		float: left;
	}
	.share-box[data-position='right'] .share-box-socials a {
		float: right;
	}
	
	figure.poster {
		/*margin-top: -2em !important;*/
	}
	
	figure.poster img {
		width: 100%;
	}
	/*--- FINE > STILI GENERALI -------------------------------------------------*/
	
	/*--- WIDGET ----------------------------------------------------------------*/
	#info-minisite-responsive {
		margin-left: -15px;
		margin-right: -15px;
	}
	/*--- FINE > WIDGET ---------------------------------------------------------*/
	
	/*--- SINGOLO ARTICOLO ------------------------------------------------------*/
	article.article header h1 {
		margin: 0 0 0.8em 0;
	}
	article.article header h2 {
		/*text-align: right;*/
	}
	article.article figure.poster {
		margin-left: -15px;
		margin-right: -15px;
	}
	article.article img {
		border-radius: 0;
	}
	/*--- FINE > SINGOLO ARTICOLO -----------------------------------------------*/
	
    /*--- SEZIONE: PHOTOGALLERY -------------------------------------------------*/
    .section-block-style-photo-inner .photogallery .bg {
        height: 250px;
    }
    .section-block-style-photo-inner .photogallery .arrow {
        padding: 1rem;
    }
    .section-block-style-photo-inner .photogallery .arrow:after {
        font-size: 180%;
    }
    /*--- FINE SEZIONE: PHOTOGALLERY --------------------------------------------*/
    
	main#site-main {
		margin-top: 2em;
	}
	
	/*--- FOOTER ----------------------------------------------------------------*/
	footer#site-footer {
		padding-top: 2em;
	}
	footer#site-footer .loghi {
		border: none;
	}
	footer#site-footer .credits {
		margin-top: 1.5em;
	}
	/*--- FINE > FOOTER ---------------------------------------------------------*/
}