/**
 * Theme Name: aif2017
 * Theme URI: http://musings.it
 * Description: AIF 2017 based on HTML5 Blank WordPress Theme
 * Version: 1.0.0
 * Author: Federica Sibella (@musingspuntoit)
 * Author URI: http://www.musings.it
 * Tags: HTML5, CSS3, clean, physics
 *
 * License: MIT
 * License URI: http://opensource.org/licenses/mit-license.php
 */

@font-face {
    font-family: 'ubunturegular';
    src: url('fonts/UbuntuRegular.woff2') format('woff2'),
         url('fonts/UbuntuRegular.woff') format('woff'),
         url('fonts/UbuntuRegular.svg#ubunturegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansProRegular';
    src: url('fonts/SourceSansPro-Regular-webfont.eot');
    src: url('fonts/SourceSansPro-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/SourceSansPro-Regular-webfont.woff') format('woff'),
         url('fonts/SourceSansPro-Regular-webfont.ttf') format('truetype'),
         url('fonts/SourceSansPro-Regular-webfont.svg#SourceSansProRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SourceSansProSemibold';
    src: url('fonts/SourceSansPro-Semibold-webfont.eot');
    src: url('fonts/SourceSansPro-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/SourceSansPro-Semibold-webfont.woff') format('woff'),
         url('fonts/SourceSansPro-Semibold-webfont.ttf') format('truetype'),
         url('fonts/SourceSansPro-Semibold-webfont.svg#SourceSansProSemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    @font-face {
        font-family: 'SourceSansProRegular';
        url('fonts/SourceSansPro-Regular-webfont.svg#SourceSansProRegular') format('svg');
    }
    
    @font-face {
        font-family: 'ubunturegular';
        src: url('fonts/UbuntuRegular.svg#ubunturegular') format('svg');
    }
}

::-ms-clear {
	display: none;
	width: 0;
	height: 0;
}

html {
	position: relative;
	width: 100%;
	height: 100%;
	-webkit-tap-highlight-color: transparent;
}

body, html {
	position: relative;
	margin: 0 auto;
	font-family: 'SourceSansProRegular', 'source_sans_proregular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
	font-size: 65%;
	font-size: 10px;
	font-weight: 400;
	font-style: normal;
	color: #38353b;
	background: #ffffff;
	padding: 0;
	line-height: 1.5em;
	min-width: 320px;
}

body {
	font-size: 1rem;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: #00aeb3;
  text-decoration: none;
  outline: 0;
}

a:focus, a:hover, a:visited:hover {
	color: #00456e;	
  	text-decoration: underline;
}

a:active, a:focus, a:visited {
	color: #00aeb3;
}

input[type="text"],
input[type="search"] {
  font-size: inherit;
  line-height: inherit;
}

::-moz-selection {
  background-color: #00aeb3;
  color: white;
  text-shadow: none;
}

::selection {
  background-color: #00aeb3;
  color: white;
  text-shadow: none;
}

/**
 * 	colors
 */
.text-black {
	color: #38353b;
}

.text-grey {
	color: #819e83;
}

.text-light-blue {
	color: #00aeb3;
}

.text-blue {
	color: #00456e;
}

.text-orange {
	color: #ff6106;
}

h1 {
	margin-bottom: 2rem;
	font-family: 'Ubuntu', 'ubunturegular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
	line-height: 4rem;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0em;
	font-size: 3.5em;
	color: #00456e;
}

h2 {
	margin-bottom: 2rem;
	font-family: 'Ubuntu', 'ubunturegular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
	line-height: 4rem;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0em;
	font-size: 2.8em;
}

h3 {
	margin-bottom: 2rem;
	font-family: 'Ubuntu', 'ubunturegular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
	line-height: 2rem;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0em;
	font-size: 2.25em;
}

p, ul, ol, ul li, ol li {
	margin-bottom: 2rem;
	font-family: 'SourceSansProRegular', 'source_sans_proregular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
	line-height: 2.25rem;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0em;
	font-size: 1.6rem;
	color: #3e383f;
}

ul li, ol li {
	margin-bottom: 0.5rem;
}

h1 + p {
	margin-top: -1rem;
}

h2 + p {
	margin-top: -1.5rem;
}

/**
 * 	header, logo, main menu
 */
header {
	/**
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
	width: 100%;
    height: 125px;
    background-color: #ffffff;*/
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
}

#logo {
	height: 125px;
    line-height: 125px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#logo a.navbar-brand {
	text-decoration: none;
	display: block;
	margin: 0 auto;
	text-align: left;
	position: relative;
	font-size: inherit;
	height: auto;
	line-height: inherit;
	padding: 0;
}

#logo img {
	position: relative;
	display: block;
	float: left;
	max-height: 100px;
	margin-top: 10px;
	vertical-align: bottom;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#logo h1 {
	position: relative;
	display: block;
	float: left;
	margin-top: 1.75em;
	font-size: 1.75em;
	line-height: 100%;
	margin-bottom: 0px;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#logo h1 span {
	position: relative;
	font-family: 'Ubuntu', 'ubunturegular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
	color: #00456e;
	display: block;
}

#touch-menu {
	text-align: center;
	margin: 0 auto;
	text-decoration: none;
	background: #ffffff;
	right: 1.5em;
	top: 40px;
	border: 1px solid #00456E;
}

#touch-menu span.icon-bar {
	background-color: #00456E;
	height: 3px;
}

.aif-navbar {
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
	width: 100%;
    height: 125px;
    background-color: #ffffff;
	margin-bottom: 0;
	border: none;
	 -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
}

#main-menu {
	position: relative;
	text-align: left;
	background: #ffffff;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#main-menu ul {
	padding: 0 2em 2em;
	text-align: center;
	margin-bottom: 0;
	border-radius: 0;
}

#main-menu ul li {
	display: block;
	margin: 0;
	text-align: left;
	padding: 0;
	cursor: pointer;
	font-size: 1.6rem;
}

#main-menu ul li a,
#main-menu ul.dropdown-menu li a
#main-menu ul.sub-menu li a {
	text-decoration: none;
	line-height: 200%;
	/**font-weight: 700;*/
    font-size: 1.15em;
    background: none;
    text-transform: uppercase;
    padding: 0;
    color: #00aeb3;
    font-family: 'SourceSansProRegular','SourceSansProSemibold';
}

#main-menu ul li:hover {
	background: #00aeb3;
}

#main-menu ul li:hover > a,
#main-menu ul li:hover > a > span {
	color: #ffffff;
}

#main-menu ul li:hover > a.dropdown-toggle > span.caret {
	border-top-color: #ffffff;
}

#main-menu ul:not(.dropdown-menu) > li:last-of-type {
	padding:0.1em 0.5em 0;
	border: 2px solid #ff6106;
	border-radius: 5px;
}

#main-menu ul:not(.dropdown-menu) > li:last-of-type a {
	color: #ff6106;
}

#main-menu ul:not(.dropdown-menu) > li:last-of-type:hover {
	background: #ff6106;
}

#main-menu ul:not(.dropdown-menu) > li:last-of-type:hover a {
	color: #FFFFFF;
}

#main-menu ul.sub-menu,
#main-menu ul.dropdown-menu {
	position: relative;
	background: #ffffff;
	padding-bottom: 0;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#main-menu ul.sub-menu li,
#main-menu ul.dropdown-menu li {
	position: relative;
	width: 100%;
	padding-left: 1em;
}

#main-menu ul.sub-menu li a,
#main-menu ul.dropdown-menu li a {
	line-height: 4rem;
}

.dropdown-toggle span.caret {
	margin-bottom: 5px;
	margin-left: 8px;
	line-height: 100%;
	vertical-align: middle;
	border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #00aeb3;
}

/**
 * header zoom out effect
 */
header .aif-navbar.smaller {
    height: 75px;
    background-color: rgba(255,255,255,0.85);
}

header .aif-navbar.smaller #logo,
header .aif-navbar.smaller #logo img {
    max-height: 70px;
	line-height: 75px;
	margin-top: auto;
}

header .aif-navbar.smaller #logo h1 {
	font-size: 1.75em;
	margin-top: 0.8em;
}

header .aif-navbar.smaller #touch-menu {
	top: 20px;
	background: none;
}

header .aif-navbar.smaller #main-menu {
	width: calc(100% + 30px);
	margin-top: -50px;
	background-color: rgba(255,255,255,0.85);
}

/**
 * 	main container padding
 */
.main-container {
	padding-top: 125px;
	background: #eef2ee;
}

/**
 * 	homepage hero image
 */
#hero-row {
	height: 600px;
	height: 740px;
	overflow: hidden;
	position: relative;
}

#hero-row > div {
	position: relative;
	height: auto;
}

/**
 * 	homepage claim
 */

.home-claim {
	position: relative;
  	margin-top: 0%;
  	padding: 1em 2em;
	background: rgba(0,0,0,0.65);
}

.home-claim h1 {
	font-size: 2em;
	line-height: 1.25em;
	color: #ffffff;
	text-shadow: 1px 1px 2px #3e383f;
}

/**
 * 	homepage overlay form
 */
#hero-row div.home-hero-overlay {
	position: relative;
	padding: 2em;
	background: rgba(255,255,255,0.85);
	float: none;
	width: 100%;
	top: auto;
}

.home-hero-overlay form, .home-hero-overlay fieldset {
	position: relative;
	margin: 0 auto;
	width: 100%;
	font-family: 'SourceSansProRegular', 'source_sans_proregular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
}

.home-hero-overlay form:first-of-type {
	padding-bottom: 2em;
	margin-bottom: 1em;
	border-bottom: 1px solid #ffffff;
}

.home-hero-overlay .form-group {
	margin-bottom: 7px;
}

.home-hero-overlay form input,
.home-hero-overlay form button,
.home-hero-overlay form p {
	font-size: 1.4em;
	padding-bottom: 3px;
	margin-bottom: 0;
}

.home-hero-overlay legend {
	border-bottom: none;
	color: #ff6106;
	font-size: 1.75em;
	font-family: 'Ubuntu', 'ubunturegular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
	line-height: 100%;
	margin-bottom: 0.5em;
}

.home-hero-overlay iframe {
	position: relative;
	margin: 0 auto;
	width: 100%;
	height: 360px;
	height: 480px;
	border: none;
}

/**
 * home-news
 */
#notizie-home {
	background: #eef2ee;
	padding: 2em 0 3em 0;
}

.notizie-home-titolo {
	line-height: 100%;
}

.notizie-home-titolo-img {
	max-height: 1.5em;
	vertical-align: text-bottom;
	margin-right: 0.2em;
}

.notizie-home-wrapper {
	position: relative;
	margin: 0 auto 2em auto;
	width: 100%;
	background: #ffffff;
}

.notizia-home-img {
	position: relative;
	display: block;
	margin: 0 auto;
	width: 100%;	
}

.notizia-home-text {
	position: relative;
	margin: 0 auto;
	padding: 1em 2em 0em 2em;
	/**border-top: 3px solid #819E83;*/
}

.notizia-home-data {
	font-size: 1.4em;
	color: #819e83;
	text-transform: uppercase;
	margin-bottom: 0;
}

.notizia-home-titolo {
	margin-top: 0;
	line-height: 120%;
}

.notizia-home-titolo a {
	text-decoration: none;
}

.notizia-home-excerpt {
	
}

.notizia-home-more {
	position: relative;
	border-top: 1px solid #dde5de;
	margin: 0 auto;
	width: 100%;
	font-size: 1.6em;
	text-transform: uppercase;
	font-family: 'Ubuntu', 'ubunturegular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
	padding: 0.5em 0;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.notizia-home-more a {
	color: #00456e;
	text-decoration: none;
}

.notizia-home-more:hover a {
	color: #00aeb3;
}

.notizie-home-wrapper .nothing-to-display {
	padding: 1em;
	margin: 0;
}

/**
 * 	home widget 1: chi siamo
 */
.home-chi-siamo {}

.home-chi-siamo > div {
	padding: 2em;
	border: 2px solid #819e83;
}

.home-chi-siamo-more {
	text-align: right;
	margin-bottom: 0;
}

/**
 * home register banner
 */
#come-iscriversi-banner {
	text-align: center;
	background: url('img/default/footer-bg.png') no-repeat center center;
	height: 200px;
	margin: 0 auto;
	background-attachment: fixed;
}

#come-iscriversi-banner h1 {
	color: #ffffff;
	font-size: 3em;
	margin-top: 1em;
	text-shadow: 1px 1px 2px #3e383f;
}

#come-iscriversi-banner .btn-iscriviti {
	display: block;
	border: none;
	color: #ffffff;
	background: #ff6106;
	font-family: 'Ubuntu', 'ubunturegular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
	font-size: 0.85em;
	margin-top: 0.5em;
}

/**
 * 	miscellanea section home
 */
#miscellanea {
	background: #eef2ee;
	padding: 2em 0 3em 0;
}

.miscellanea-titolo {
	line-height: 100%;
}

.miscellanea-titolo-img {
	max-height: 1.5em;
	vertical-align: text-bottom;
}

.miscellanea-desc {
	min-height: 70px;
}

/**
 * 	fisico della settimana, problema della prof e rivista
 *  home cards
 */
.fisico-home-wrapper,
.problema-home-wrapper,
.rivista-home-wrapper {
	position: relative;
	margin: 0 auto 3em auto;
	width: 100%;
	background: #ffffff;
}

.fisico-home-img,
.problema-home-img,
.rivista-home-img {
	position: relative;
	display: block;
	margin: 0 auto;
	width: 100%;	
}

#miscellanea .rivista-home-wrapper a.rivista-home-img-wrapper,
#miscellanea .problema-home-wrapper a.problema-home-img-wrapper,
.rivista-home-wrapper a.rivista-home-img-wrapper,
.fisico-home-wrapper a.fisico-home-img-wrapper {
	position: relative;
	display: block;
	max-height: 350px;
	overflow: hidden;
}

.rivista-home-wrapper a.rivista-home-img-wrapper {
	max-height: none;
}

#miscellanea .rivista-home-img {
	margin-top: -54%;
}

.notizia-span-testata,
.problema-span-testata,
.rivista-span-testata,
.fisico-span-testata {
	position: absolute;
	display: block;
	top: -0.5em;
	right: -0.5em;
	background: rgba(255,255,255,1);
	font-size: 1.6em;
	padding: 0.5em 1em;
	border: 2px solid #00AEB3;
}

.problema-span-testata a,
.rivista-span-testata a,
.notizia-span-testata a,
.fisico-span-testata a,
.fisico-span-testata .btn-home-fisico {
	color: #00456E;
	display: inline-block;
}

.problema-span-testata a:hover,
.rivista-span-testata a:hover,
.notizia-span-testata a:hover,
.fisico-span-testata a:hover,
.fisico-span-testata .btn-home-fisico:hover {
	color: #00AEB3;
	text-decoration: none;
	background: none;
}

.fisico-span-testata .btn-home-fisico {
	border: none;
	padding: 0;
	font-size: 1.6rem;
	line-height: 15px;
	border-radius: 0;
	vertical-align: baseline;
}

.fisico-span-testata .fisico-settimana-form {
	margin: 0;
	padding: 0;
	font-size: 1.6rem;
	line-height: 15px;
}

.problema-span-testata,
.fisico-span-testata,
.rivista-span-testata {
	left: -0.5em;
	right: auto;
	border: 2px solid #FF6106;
}

/**
.problema-home-difficolta img,
.fisico-home-specialita img {
	max-height: 30px;
	vertical-align: middle;
}
*/

.fisico-home-text,
.problema-home-text,
.rivista-home-text {
	position: relative;
	margin: 0 auto;
	padding: 1em 2em 0em 2em;
	/**border-top: 3px solid #819E83;*/
}

.fisico-home-date,
.problema-home-data,
.rivista-home-autore {
	font-size: 1.4em;
	color: #819e83;
	text-transform: uppercase;
	margin-bottom: 0;
}

.rivista-home-autore,
.single-articolo-rivista-autore {
	margin-bottom: 0px;
	line-height: 2.25rem;
}

.rivista-home-autore .articolo-autore-form,
.single-articolo-rivista-autore .articolo-autore-form {
	display: inline-block;
	font-size: 1.4rem;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}

.rivista-home-autore span {
	float: right;
}

.rivista-home-autore .articolo-autore-form .btn-home-articolo-autore,
.single-articolo-rivista-autore .articolo-autore-form .btn-single-articolo-autore {
	background: none;
	margin: 0;
	padding: 0;
	border: none;
	color: #819e83;
	text-transform: uppercase;
	line-height: 15px;
	vertical-align: baseline;
}

.single-articolo-rivista-autore .articolo-autore-form .btn-single-articolo-autore {
	color: #00AEB3;
}

.single-articolo-rivista-autore span {
	font-size: 1.6em;
}

.single-articolo-pdf .single-articolo-pdf-iframe {
	position: relative;
	margin: 0 auto;
	width: 100%;
	min-height: 550px;
	border: 1px solid #FFFFFF;
	margin-bottom: 1em;
	overflow: auto; 
	-webkit-overflow-scrolling: touch;
}

.rivista-home-autore a {
	color: #819e83;
}

.rivista-home-autore a:hover,
.rivista-home-autore .articolo-autore-form .btn-home-articolo-autore:hover {
	text-decoration: none;
	color: #FF6106;
}

.single-articolo-rivista-autore .articolo-autore-form .btn-single-articolo-autore:hover {
	color: #00456E;
	text-decoration: underline;
}

.fisico-home-titolo,
.problema-home-titolo,
.rivista-home-titolo {
	margin-top: 0;
	line-height: 120%;
	clear: both;
}

.fisico-home-titolo a,
.problema-home-titolo a,
.rivista-home-titolo a {
	color: #ff6106;
	text-decoration: none;
}

.fisico-home-titolo a:hover,
.problema-home-titolo a:hover,
.rivista-home-titolo a:hover {
	color: #00456E;
}

.fisico-home-excerpt,
.problema-home-excerpt,
.rivista-home-excerpt {
	
}

.fisico-home-excerpt a.view-article,
.problema-home-excerpt a.view-article,
.rivista-home-excerpt a.view-article {
	color: #00456e;
}

.problema-home-excerpt img,
.problema-home-excerpt p.single-problema-soluzione-trigger,
.problema-home-excerpt div.single-problema-soluzione {
	display: none;
}

.problema-home-excerpt img.ql-img-inline-formula {
	display: inline;
}

.fisico-home-more,
.problema-home-more,
.rivista-home-more {
	position: relative;
	border-top: 1px solid #dde5de;
	margin: 0 auto;
	width: 100%;
	font-size: 1.6em;
	text-transform: uppercase;
	font-family: 'Ubuntu', 'ubunturegular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
	padding: 0.5em 0;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.fisico-home-more a,
.problema-home-more a,
.rivista-home-more a {
	color: #00456e;
	text-decoration: none;
}

.fisico-home-more:hover a,
.problema-home-more:hover a,
.rivista-home-more:hover a {
	color: #ff6106;
}

.fisico-home-tutti,
.problema-home-tutti,
.rivista-home-tutti {
	text-align: center;
}

.fisico-home-tutti > .btn,
.problema-home-tutti > .btn,
.rivista-home-tutti > .btn {
	width: 100%;
	font-size: 1.8em;
	font-family: 'Ubuntu', 'ubunturegular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
	border: 0px solid #00456E;
	border-left: none;
	border-right: none;
	border-radius: 0;
	color: #00456E;
	background: #ffffff;
}

.fisico-home-tutti > .btn:hover,
.problema-home-tutti > .btn:hover,
.rivista-home-tutti > .btn:hover {
	background: #FFFFFF;
	color: #FF6106;
}

/**
 * 	altre-categorie section home
 */
#altre-categorie {
	background: #eef2ee;
	padding: 3em 0 3em 0;
}

.altre-categorie-titolo {
	line-height: 100%;
}

.altre-categorie-titolo-img {
	max-height: 1.5em;
	vertical-align: text-bottom;
}

#altre-categorie div.link-wrapper {
	background: #197789;
	background: #ffffff;
	padding: 1em 2em;
	text-align: center;
	margin-bottom: 1rem;
	border: 0px solid #819e83;
}

#altre-categorie div.link-wrapper:hover {
	background: #00AEB3;
	border: 0px solid #00AEB3;
}

#altre-categorie h3 {
	line-height: 100%;
	height: 45px;
	display: flex;
  	justify-content: center;
  	align-items: center;
}

#altre-categorie h3 a {
}

#altre-categorie div.link-wrapper:hover a,
#altre-categorie h3 a:hover {
	text-decoration: none;
	color: #FFFFFF;
}

/**
 * 	banner-newsletter section home
 */

#banner-newsletter {
	background: #196c7e;
	padding: 2em 0 3em 0;
	border-top: 0px solid #193f4f;
	border-bottom: 1px solid #193f4f;
	color: #eef2ee;
	text-shadow: 1px 1px 2px #3e383f;
}

#banner-newsletter h3 {
	margin-top: 1rem;
}

#banner-newsletter p {
	color: #eef2ee;
	margin-bottom: 1rem;
}

#banner-newsletter a {
	color: #eef2ee;
	text-decoration: underline;
}

#banner-newsletter a:hover {
	color: #ffffff;
}

.c3m-mcs-response p {
	border: 2px solid white;
}

#banner-newsletter form > div input {
	line-height: 1.5;
	padding: 0.25rem 0.5rem;
	border: 1px solid #196c7e;
}

#banner-newsletter form > div input[type=submit] {
	border: 1px solid #00aeb3;
	background: #00aeb3;
	color: white;
	font-weight: 700;
}

#banner-newsletter form > div input[type=submit]:hover {
	border: 1px solid #00456e;
	background: #00456e;
	color: white;
}

/* 
#banner-newsletter form {
	position: relative;
	width: 100%;
}

#banner-newsletter form > div {
	width: 70%;
}

#banner-newsletter form > div input {
	width: 100%;
	display: block;
	margin-bottom: 0.5em;
	font-family: 'SourceSansProRegular', 'source_sans_proregular', "Helvetica Neue", Helvetica, Arial, "Open Sans", sans-serif;
	font-size: 14px;
}

#banner-newsletter .home-banner {
	margin-bottom: 1em;
	padding-bottom: 1em;
	border-bottom: 1px solid #00AEB3;
}
*/

/**
 * Wordpess core classes
 */
/**
 * Alignment
 */
.alignnone {
  margin: 5px 15px 15px 0;
}

.aligncenter {
  display: block;
  margin: 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
  margin: 5px 0 15px 15px;
}

.alignleft {
  float: left;
  margin: 5px 15px 15px 0;
}

/**
 * Gallery & images
 */
.wp-caption {
  background: white;
  border: thin solid #F0F0F0;
  max-width: 95%;
  padding: 5px 5px;
  text-align: center;
}
.wp-caption img {
  width: auto;
  max-width: 98.5%;
  height: auto;
  border: 0 none;
  padding: 0;
  margin: 0;
}

.wp-caption .wp-caption-text,
.gallery-caption {
  margin: 0;
  padding: 0 5px 5px;
  font-size: 140%;
  line-height: 1.5;
}

/**
 * Utils classes
 */
.clear:before, .clear:after {
  content: " ";
  display: table;
}
.clear:after {
  clear: both;
}

.reset-box {
  padding: 0;
  margin: 0;
}

header, section, footer {
	position: relative;
	margin: 0 auto;
	width: 100%;
	max-width: none;
}

/**
 * 	footer
 */
footer {
	margin: 0 auto;
	font-size: 0.95em;
	background: url('img/default/footer-bg.png') no-repeat center bottom;
	background-size: cover;
	text-shadow: 1px 1px 2px #3e383f;
}

footer h1, footer h2, footer h3, footer h4, footer p {
	color:#EEF2EE;
}

footer p {
	margin-bottom: 0.5em;
}

footer a, footer a:active, footer a:focus, footer a:visited {
	color:#EEF2EE;
}

footer a:hover, footer a:visited:hover {
	color: #ffffff;
	text-decoration: none;
}

#main-footer {
}

#copy-footer {
	padding: 1em 0;
	background: rgba(56,53,59,0.65);
}

#copy-footer p.text-right {
	text-align: right;
}

.footer-column h3 i, .footer-column p i {
	margin-right: 0.2em;
}

.footer-column h3 {
	/**text-decoration: underline;*/
}

footer ul {
	list-style: none;
	padding: 0;
	margin-bottom: 1em;
}

footer ul li {
	text-align: left;
	margin-bottom:0.5rem;
	border-bottom: 1px solid #00AEB3;
	
}

footer ul li a {
	display: inline-block;
	width: 100%;
	padding: 0 0.2em;
}

footer ul li a:hover {
	background: rgba(56,53,59,0.65);
}

#institutions-footer {
	padding-bottom: 2em;
}

#institutions-footer h3 {
	/**text-decoration: underline;*/
}

#institutions-footer h3 i {
	margin-right: 0.2em;
}

#institutions-footer img {
	max-height: 80px;
	margin-bottom: 1em;
}

/**
 * 	categories/taxonomies/archives pages
 */
#notizie-home .row,
.category-section .row,
.archive-section .row,
.taxonomy-section .row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}

#notizie-home .row > [class*='col-'],
.category-section .row > [class*='col-'],
.archive-section .row > [class*='col-'],
.taxonomy-section .row > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

#notizie-home .row:before,
#notizie-home .row:after,
.category-section .row:before,
.archive-section .row:before,
.taxonomy-section .row:before,
.category-section .row:after,
.archive-section .row:after,
.taxonomy-section .row:after {
	display: none;
}

.category-section h1,
.taxonomy-section h1,
.archive-section h1 {
	margin-bottom: 1em;
}

.category-section h1 a,
.taxonomy-section h1 a,
.archive-section h1 a,
.category-section h2 a,
.taxonomy-section h2 a,
.archive-section h2 a {
	text-decoration: none;
}

.category-section h1 + h2,
.taxonomy-section h1 + h2,
.archive-section h1 + h2 {
	margin-top: -1em;
	margin-bottom: 1em;
}

/**
 * form ricerca sidebar
 */
.sidebar {}

.sidebar-form-wrapper {
	margin-top: 34px;
	padding-bottom: 3em;
	border-bottom: 1px solid #ffffff;
}

.sidebar .sidebar-form-wrapper h3 {
	
}

.form-ricerca-sidebar {
	position: relative;
	margin: 0 auto 4em auto;
}

.form-ricerca-sidebar label {
	font-size: 1.6em;
	font-weight: 400;
	font-style: italic;
}

.form-ricerca-sidebar select {
	font-size: 1.6rem;
	line-height: 1.5em;
	height: 36px;
}

.form-ricerca-sidebar select option,
.form-ricerca-sidebar input,
.form-ricerca-sidebar button {
	font-size: 1.6rem;
}	

.form-ricerca-sidebar button {
	width: 100%;
	text-align: center;
	margin-top: 0.5em;
	border: 1px solid #00AEB3;
}

.form-ricerca-sidebar button:hover {
	background: #00AEB3;
	color: #ffffff;
	border: 1px solid #00AEB3;
}

.sidebar-menu ul {
	list-style: none;
	padding-left: 0;
}

.sidebar-menu ul li {
	margin-bottom: 0px;
	line-height: 3rem;
}

.sidebar-menu ul.top-level-menu span {
	margin-right: 0.5em;
	color: #00AEB3;
	cursor: pointer;
}

.sidebar-menu ul.sub-menu {
	padding-left: 2em;
	display: none;
}

.sidebar-menu ul.sub-menu span {
	display: none;
}

/**
 * 	pagination
 */
.aif-pagination, .ajax-aif-pagination  {
	width: 100%;
	text-align: center;
	margin: 4em auto 5em;
}

.page-numbers,
.aif-current-page,
.aif-inactive,
.aif-next-page,
.aif-previous-page,
.aif-last-page,
.aif-first-page,
.aif-nav-previous a,
.aif-nav-next a {
	display: inline-block;
	border: 1px solid #00AEB3;
	border-radius: 5px;
	margin-right: 1em;
	margin-top: 1em;
	padding: 0.75em 1em;
	background: #ffffff;
	font-size: 1.6rem;
}

.aif-current-page, .page-numbers .current {
	color: #00AEB3;	
}

.aif-nav-previous {
	float: left;	
}
.aif-nav-next {
	float: right;	
}

/**
 * generic section	
 */
.generic-section {
	min-height: 400px;
}

/**
 * single section (vale per tutti i single)	
 */
.single-section {}

.single-section article {
	padding-bottom: 2em;
}

.single-section h1 {
	/**margin-bottom: 1em;*/
}

.single-section-img {
	position: relative;
	margin: 0 auto 2em;
}

.single-section-img img {
	display: block;
	width: 100%;
	margin: 0 auto;
}

.single-section-date {
	display: block;
	background: #ffffff;
	position: absolute;
	top: -0.5em;
	left: -0.5em;
	font-size: 1.6em;
	padding: 0 0.5em;
	border: 2px solid #00AEB3;
	text-align: center;
	text-transform: uppercase;
}

.single-section-date-day,
.single-section-date-year {
	display: block;
	padding: 0.5em 0;
}

.single-section-date-day {
	border-bottom: 1px solid #EEF2EE;
	padding: 0.6em 0 0.5em;
}

.single-section-date-year {
	font-size: 1.75em;
}

.single-section-text {
	text-align: justify;
	max-width: 95%;
	margin-bottom: 2em;
}

.single-section-text h2 {
	font-size: 2.4em;
}

.single-section-text-iframe .iframe-app-esterna,
.single-section-text-iframe .iframe-infosezioni {
	position: relative;
	margin: 0 auto;
	width: 100%;
	border: none;
	min-height: 400px;
}

.single-section-text-iframe .iframe-app-esterna {
	min-height: 145vw;
}

.single-section-text-ajax {
	font-size: 1.6rem;
}

.single-section-cat-tags {
	border-top: 1px solid #ffffff;
	padding-top: 2rem;
	clear: both;
}

.single-section-cat-tags p {
	margin-bottom: 0.5rem;
}

.single-section-cat-tags p i {
	margin-right: 0.5em;	
}

.single-section-more-content {
	position: relative;
	margin: 0 auto 2rem auto;
	padding: 0 2em;
	border: 1px solid #00AEB3;
	display: none;
}

.single-problema-soluzione-trigger {
	margin-bottom: 1rem;
	clear: both;
}

.single-problema-soluzione-trigger a {
	text-decoration: none;
}

.single-problema-soluzione-trigger a:hover {
	color: #00456E;
	text-decoration: underline;
}

.single-problema-soluzione {
	border: 1px solid #00AEB3;
	padding: 0 3em 2em;
	margin-bottom: 2em;
	display: none;
	background-color: #ffffff;
}

.single-fisico-date p {
	color: #819E83;
	text-transform: uppercase;
}

.single-fisico-other {
	border-top: 1px solid #ffffff;
}

.single-fisico-cura {
	text-align: right;
	margin-bottom: 0.5rem;
}

/**
 * scriptless social sharing buttons	
 */
.scriptlesssocialsharing {
	margin-top: 0;
}

.scriptlesssocialsharing h3 {
	margin:0 auto 1rem;
}

.scriptlesssocialsharing-buttons .button::before {
	vertical-align: text-bottom;
}

.scriptlesssocialsharing-buttons span.sss-name {
	font-size: 1.6em;
}

/**
 * single sidebar (recent post)	+ single page last article
 * + single page last fisico + single page last problema
 */
.recent-posts-wrapper,
.last-article-wrapper,
.last-fisico-wrapper,
.last-problema-wrapper {}

.recent-posts-wrapper ul,
.last-article-wrapper ul,
.last-fisico-wrapper ul,
.last-problema-wrapper ul {
	padding: 0.5em 0;
}

.recent-post-item,
.last-article-item,
.last-fisico-item,
.last-problema-item {
	list-style: none;
	padding-bottom: 1em;
	border-bottom: 1px solid #ffffff;
}

.recent-post-item:last-of-type {
	border-bottom: none;
}

.recent-post-single,
.last-article-single,
.last-fisico-single,
.last-problema-single {
	position: relative;
	margin: 0 auto;
}

.recent-post-img,
.last-article-img,
.last-fisico-img,
.last-problema-img {
	position: relative;
	max-width: 30%;
	display: inline-block;
	margin-right: 2%;
	vertical-align: top;
}

.recent-post-text,
.last-article-text,
.last-fisico-text,
.last-problema-text {
	position: relative;
	max-width: 68%;
	display: inline-block;
}

.recent-post-title,
.last-article-title,
.last-fisico-title,
.last-problema-title {
	font-size: 1.1em;
	text-transform: uppercase;
	margin-top: 0;
}

.recent-post-title a:hover,
.last-article-title a:hover,
.last-fisico-title a:hover,
.last-problema-title a:hover {
	text-decoration: none;
}

.recent-post-date,
.last-article-author,
.last-fisico-date,
.last-problema-date {
	font-size: 1.6rem;
	margin-bottom: 0;
}

.last-problema-capitolo {
	font-size: 1.6rem;
}

.last-article-author {
	text-transform: uppercase;
}

/**
 * mini card per le notizie non AIF
 * in homepage	
 */
.other-posts-wrapper {
	margin: 1em auto 0;
}

.other-posts-wrapper h2 {
	margin-bottom: 0.5rem;
}

.other-posts-wrapper ul {
	padding: 0;
}

.other-post-item {
	list-style: none;
	padding: 1em 1em 0.5em;
	border-bottom: 0px solid #eef2ee;
	background: #FFFFFF;
	margin-bottom: 0.7rem;
}

.other-post-single {
	position: relative;
	margin: 0 auto;
}

.other-post-img {}

.other-post-title {
	font-size: 1.1em;
	text-transform: uppercase;
	margin: 0;
}

.other-post-title a {
	text-decoration: none;
}

.other-post-date {
	font-size: 1.4rem;
    color: #819e83;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.other-post-excerpt {
	margin-bottom: 1rem;
}

/**
 * 	single problema
 */
sub {
	font-size: 1rem;
}

/**
 * contact page - form	
 */
#pagina-contatti-form form,
#pagina-contatti-form fieldset {
	position: relative;
	margin: 0 auto;
	width: 100%;
}

#pagina-contatti-form label {
	position: relative;
	width: 100%;
	font-weight: 400;
	font-style: italic;
}

#pagina-contatti-form input,
#pagina-contatti-form textarea, 
#pagina-contatti-form select {
	position: relative;
	margin: 0 auto;
	width: 100%;
	border: 1px solid #668fa8;
	font-style: normal;
	padding: 0.2em 0.5em;
	border-radius: 3px;
	background-color: #ffffff;
}

#pagina-contatti-form input:focus,
#pagina-contatti-form textarea:focus {
	border: 1px solid #00AEB3;
}

#pagina-contatti-form input[type=submit] {
	padding: 0.5em 2em;
	font-size: 1em;
	color: #FFFFFF;
	background: #00456E;
}

#pagina-contatti-form input[type=submit]:hover {
	background: #00AEB3;
	border: 1px solid #00AEB3;
}

#pagina-contatti-form .wpcf7-form-control-wrap {
	margin-bottom: 2em;
}

/**
 * 	Link negli indici dei numeri di LFNS
 */
.aif-indice-link {

}

.aif-indice-link a::before {
	content: "Leggi l'articolo";
}

div.tiny, dl.sections {
	font-size: 1.6rem;
	line-height: 1.25em;
}

div.tiny span {
	font-style: italic;
}

div.tiny span.elem {
	font-style: normal;
}

/**
 * media queries Boostrap
 * < 768 (phones-xs)
 * >= 768 (tablets-sm)
 * >= 992 (small desktops-md)
 * >= 1200 (large desktops-lg)
 * >= 1600 (very large desktops-xl)
 */

@media screen and (min-width: 360px) {
	#logo img {
		max-height: 115px;
		margin-top: auto;
	}
	
	#logo h1 {
		font-size: 2em;
		margin-top: 1.5em;
	}
	
	#touch-menu {
		right: 2em;
	}
}

@media screen and (min-width: 640px) {
	#come-iscriversi-banner h1 {
		margin-top: 1.5em;
	}
	
	#come-iscriversi-banner .btn-iscriviti {
		max-width: 50%;
		margin: 0.5em auto;
	}
}

@media screen and (min-width: 768px) {
	#main-menu {
		background: none;
		box-shadow: none;
		margin-right: -10px;
		float: right;
	}
	
	#main-menu ul {
		margin-right: 0;
		padding: 0;
		text-align: center;
		margin-top: -75px;
	}
	
	#main-menu ul li {
		display: inline-block;
		margin: 0;
		text-align: center;
		padding: 0 0.2em;
		cursor: pointer;
		font-size: 1.6rem;
	}
	
	#main-menu ul:not(.dropdown-menu) > li:last-of-type {
		padding: 0.5em;
		margin-top: 17px;
	}
	
	#main-menu ul:not(.dropdown-menu) > li:last-of-type a {
		line-height: 120%;
	}
	
	#main-menu ul li:hover {
		background: #00aeb3;
	}
	
	#main-menu ul li:hover > a {
		color: #ffffff;
	}
	
	.dropdown-toggle span.caret {
		margin-bottom: 0;
		margin-left: 2px;
		line-height: 100%;
		vertical-align: middle;
		border-left: 4px solid transparent;
	    border-right: 4px solid transparent;
	    border-top: 4px solid #00aeb3;
	}
	
	#main-menu ul li a,
	#main-menu ul.dropdown-menu li a
	#main-menu ul.sub-menu li a {
		text-decoration: none;
		line-height: 75px;
		/**font-weight: 700;*/
	    font-size: 1.15em;
	    background: none;
	    text-transform: none;
	}
	
	#main-menu ul.sub-menu li,
	#main-menu ul.dropdown-menu li {
		padding-left: inherit;
	}
	
	#main-menu ul.sub-menu,
	#main-menu ul.dropdown-menu {
		position: absolute;
		margin: 0 auto auto -0.2em;
		padding: 1em 0.5em;
		min-width: 15em;
		top: 75px;
		background: #ffffff;
		border-radius: 0;
		box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
		-webkit-transition: all 0.3s;
	    -moz-transition: all 0.3s;
	    -ms-transition: all 0.3s;
	    -o-transition: all 0.3s;
	    transition: all 0.3s;
	}
	
	#main-menu ul.sub-menu li,
	#main-menu ul.dropdown-menu li {
		position: relative;
		display: block;
		width: 100%;
		padding: 0;
	}
	
	#main-menu ul.sub-menu li a,
	#main-menu ul.dropdown-menu li a {
		line-height: 3.5rem;
	}
	
	#logo img {
		max-height: 105px;
	}
	
	#logo h1 {
		margin-top: 0.6em;
		font-size: 2.2em;
		line-height: 120%;
	}
	
	#logo h1 span {
		display: inline;
	}
	
	header .aif-navbar.smaller #logo h1 {
		margin-top: 0.5em;
		font-size: 1.7em;
	}
	
	header .aif-navbar.smaller #logo h1 span {
		margin-bottom: 0;
	}
	
	header .aif-navbar.smaller #main-menu {
		margin-top: 0px;
		background: none;
		width: 100%;
	}
	
	header .aif-navbar.smaller #main-menu ul {
		margin-top: -95px;
	}
	
	header .aif-navbar.smaller #main-menu a {
	    line-height: 45px;
	}
	
	header .aif-navbar.smaller #main-menu ul.dropdown-menu a {
		line-height: 4rem;
	}
	
	header .aif-navbar.smaller #main-menu ul:not(.dropdown-menu) > li:last-of-type {
		margin-top: 3px;
	}
	
	header .aif-navbar.smaller #main-menu ul:not(.dropdown-menu) > li:last-of-type a {
		line-height: 120%;
	}
	
	header .aif-navbar.smaller #main-menu ul.sub-menu,
	header .aif-navbar.smaller #main-menu ul.dropdown-menu {
		top: 140px;
	}
	
	 /* display second level menu on hover */
   	#main-menu ul li:hover > ul { 
    	display: block;
    }
   
    /**
     * home claim e home hero overlay	
     */
    #hero-row {
		height: 500px;
		height: 550px;
	}
    
    #hero-row > div {
		position: relative;
		height: 100%;
	}
    
    .home-claim {
    	margin-top: 10%;
    }
    
    .home-claim h1 {
		font-size: 3em;
    }
    
    #hero-row div.home-hero-overlay {
    	position: relative;
    	float: right;
    	top: 5%;
    	width: 90%;
    }
    
    .home-hero-overlay form:first-of-type {
    	margin-bottom: 2em;
    }
    
    .home-hero-overlay legend {
    	font-size: 2.5em;
    }
    
    .home-hero-overlay .form-group {
		margin-bottom: 15px;
	}
    
    .home-hero-overlay form input, 
    .home-hero-overlay form button,
    .home-hero-overlay form p {
    	font-size: 1.6em;
    }
    
    .home-hero-overlay form p {
    	margin-bottom: 0.5em;
    }
    
    .home-hero-overlay iframe {
    	height: 480px;
    }
    
    .rivista-home-wrapper a.rivista-home-img-wrapper {
		max-height: none;
	}
	
	#banner-newsletter .home-banner {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: 0px solid #00AEB3;
	}
	
	.sidebar-form-wrapper {
		border-bottom: none;
	}
	
	.single-section-text-iframe .iframe-app-esterna {
		min-height: 115vw;
	}	
}

@media screen and (min-width: 992px) {
	#logo img {
		max-height: 115px;
	}
	
	#logo h1 {
		margin-top: 0.8em;
		font-size: 2.15em;
		line-height: 120%;
	}
	
	#logo h1 span {
		display: block;
	}
	
	#main-menu {
		margin-right: auto;
	}
	
	#main-menu ul {
		margin-top: inherit;
	}
	
	#main-menu ul.sub-menu,
	#main-menu ul.dropdown-menu {
		top: 125px;
	}	
	
	#main-menu ul li a,
	#main-menu ul.dropdown-menu li a
	#main-menu ul.sub-menu li a {
		line-height: 125px;
	}	
	
	#main-menu ul:not(.dropdown-menu) > li:last-of-type {
		margin-top: 41px;
		margin-left: 5px;
	}
	
	header .aif-navbar.smaller #main-menu {
		width: auto;
	}
	
	header .aif-navbar.smaller #main-menu ul {
		margin-top: inherit;
	}
	
	header .aif-navbar.smaller #main-menu ul:not(.dropdown-menu) > li:last-of-type {
		margin-top: 17px;
	}
	
	header .aif-navbar.smaller #main-menu a {
	    line-height: 75px;
	}
	
	header .aif-navbar.smaller #main-menu ul.sub-menu,
	header .aif-navbar.smaller #main-menu ul.dropdown-menu {
		top: 75px;
	}
	
	#hero-row div.home-hero-overlay {
		width: 80%;
	}
	
	.home-hero-overlay iframe {
    	height: 452px;
    }
	
	.home-claim h1 {
		font-size: 4em;
    }
	
	.rivista-home-wrapper a.rivista-home-img-wrapper {
		max-height: none;
	}
	
	#come-iscriversi-banner h1 {
		font-size: 3.5em;
		margin-top: 2em;
	}
	
	#come-iscriversi-banner .btn-iscriviti {
		max-width: none;
		margin: -0.5em auto 0 auto;
		display: inline-block;
	}
	
	#altre-categorie div.link-wrapper {
		margin-bottom: 0;
	}
	
	.single-section-text-iframe .iframe-app-esterna {
		min-height: 60vw;
	}
	
	/*
	#banner-newsletter form > div input {
		width: 78%;
		display: inline;
	}
	
	#banner-newsletter form > div input[type=submit] {
		width: 21%;
		vertical-align: top;
		margin-bottom: 0;
	}*/
}

@media screen and (min-width: 1200px) {
	#logo h1 {
		margin-top: 0.6em;
		font-size: 2.5em;
		line-height: 120%;
	}
	
	#main-menu ul li {
		padding: 0 0.5em;
	}
	
	#main-menu ul.sub-menu,
	#main-menu ul.dropdown-menu {
		margin: 0 auto auto -0.5em;
	}
	
	#main-menu ul li a,
	#main-menu ul.dropdown-menu li a
	#main-menu ul.sub-menu li a {
		font-family: 'SourceSansProSemibold';
	}
	
	.home-claim {
    	margin-top: 15%;
    }
    
    .home-claim h1 {
    	font-size: 3.5em;
    }
    
    #hero-row div.home-hero-overlay {
    	width: 70%;
    }
    
    #come-iscriversi-banner h1 {
		font-size: 4.5em;
		margin-top: 1.75em;
	}
	
	#come-iscriversi-banner .btn-iscriviti {
		font-size: 0.85em;
		margin-top: -0.5em;
	}
    
    .rivista-home-wrapper a.rivista-home-img-wrapper {
		max-height: none;
	}
    
    .miscellanea-titolo {
    	line-height: 4rem;
    }
    
    .single-section-img {
		width: 50%;
		float: left;
		margin-right: 2em;
	}
	
	.single-section-text {
		float: none;
	}
	
	article.indice-rivista .single-section-text {
		float: left;
		max-width: calc(50% - 2em);
	}
}

@media screen and (min-width: 1600px) {
	#logo h1 {
		margin-top: 1.3em;
		font-size: 3.0em;
		line-height: 120%;
	}
	
	#logo h1 span {
		display: inline;
	}
	
	header .aif-navbar.smaller #logo h1 {
		margin-top: 1.25em;
		font-size: 2em;
	}
	
	.home-claim {
    	margin-top: 10%;
    }
	
	.home-claim h1 {
    	font-size: 4em;
    }
    
    #hero-row div.home-hero-overlay {
		width: 90%;
	}
	
	.rivista-home-wrapper a.rivista-home-img-wrapper {
		max-height: none;
	}
	
	.miscellanea-desc {
		min-height: 48px;
	}
	
	.single-section-text-iframe .iframe-app-esterna {
		min-height: 36vw;
	}
}

@media screen and (min-height: 850px) {
	.generic-section {
		min-height: 500px;
	}
}

/**
 * partials/print
 * ---
 * Print version
 * (from https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css)
 */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
    /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
