/* ==================================================================
Media Queries
================================================================== */

/* ==================================================================
Desktop
================================================================== */
@media only screen and (min-width: 979px) {
	/* ==================================================================
	ScrollBar
	================================================================== */

	::-webkit-scrollbar {
	    width: 8px;
	}
	 
	::-webkit-scrollbar-track {
	    -webkit-box-shadow: none; 
	    -webkit-border-radius: 0px;
	    border-radius: 0px;
	}
	 
	::-webkit-scrollbar-thumb {
	    -webkit-border-radius: 0px;
	    border-radius: 0px;
	    background: rgba(180,180,180,0.8); 
	    -webkit-box-shadow: none; 
	}

	::-webkit-scrollbar-thumb:window-inactive {
		background: rgba(180,180,180,0.4); 
	}
}

/* ==================================================================
Tablet Portrait size to Tablet Landscape (devices and browsers)
================================================================== */
@media only screen and (min-width: 763px) and (max-width: 979px) {
		
	/* ==================================================================
	Portfolio
	================================================================== */

	.portfolio .portfolio-item {
		height: 149px;
	}
	a.logo {

    max-width: 200px!important;
		margin:23px 0 0 15px!important;
}
	nav#main-nav ul li a {

    border-right: 1px solid #fff!important;
    padding: 0 5px!important;
    font-size: 10.5px!important;

}

}

/* ==================================================================
All Mobile Sizes (devices and browsers) era 767 - 954 dava problemi
================================================================== */
@media only screen and (max-width: 762px) {


#intro h1 {
	font-size: 40px;
	line-height: 40px;

}

#le-false-credenze h1 {
	font-size: 40px;
	line-height: 40px;

}
#glossario h1 {
	font-size: 40px;
	line-height: 40px;

}
#i-dati h1 {
	font-size: 40px;
	line-height: 40px;

}

#la-legge h1 {
	font-size: 40px;
	line-height: 40px;

}

#le-mamme-domandano h1 {
	font-size: 40px;
	line-height: 40px;

}
#la-app h1 {
	font-size: 40px;
	line-height: 40px;

}
#chi-siamo h1 {
	font-size: 40px;
	line-height: 40px;

}

	body {
		overflow: visible;
	}

	section {
		width: 100%;
		height: 100%;
		position: relative;
		z-index: 50;
		overflow: visible;
		background: #f2f2f2;
		float: left;
	}

	section .container {
		padding-top: 70px;	
	}

	section > .container {
		padding-bottom: 40px;
	}

	#portfolio {
		overflow: hidden;
	}

	/* ==================================================================
	Main Navigation
	================================================================== */
	.social {display:none}
	nav#main-nav {   
        height: auto;  
    }

	nav#main-nav #menu-stretto > ul {
		display: none;
		background: #333333;
		width: 100%;
		height: auto;
		margin-right: 0px;
	}

    nav#main-nav #menu-stretto > ul li {  
        width: 100%;  
        float: left;  
        position: relative;
		height:40px;
    }

    nav#main-nav #menu-stretto > ul li a {  
  		color: #ffffff;
  		padding: 13px 20px;
  		width: 100%;
    }

    nav#main-nav #menu-stretto ul li a.active {
		color: #ffffff;
	}

	/* ==================================================================
	Responsive Navigation
	================================================================== */

	#main-nav #menu-stretto #responsive-nav {
		display: block;
	}

	/* ==================================================================
	Intro
	================================================================== */

	#intro {
		padding-top: 0px;
	}

	#intro .container {
		padding-top: 50px;
	}

	/* ==================================================================
	Services
	================================================================== */

	.features .feature-box .box-content {
		margin-bottom: 30px;
	}

	.features-list {
		margin-bottom: 30px;
	}

	/* ==================================================================
	Portfolio
	================================================================== */

	.single-portfolio .image-container,
	.single-portfolio .video-container,
	.single-portfolio .gallery-container {
		margin-bottom: 30px;
	}

	.single-portfolio .gallery-container {
		min-height: 200px;
	}

	/* ==================================================================
	Contacts
	================================================================== */
	.contact-form, .contact-info {
		margin-bottom: 20px;
	}

}

/* ==================================================================
Mobile Landscape Size to Tablet Portrait (devices and browsers)
================================================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
		
	.container {
		width: 460px;
	}
	
	/* ==================================================================
	Portfolio
	================================================================== */
	.portfolio .portfolio-item {
		height: 300px;
	}

}

/* ==================================================================
Mobile Portrait Size to Mobile Landscape Size (devices and browsers)
================================================================== */
@media only screen and (max-width: 479px) {

	.container {
		width: 300px;
	}
#bg-h3 {
background-image:none;
}

nav#main-nav ul {

	margin-top:0px;
}

#bg-title-le-false-credenze,
#bg-title-glossario,
#bg-title-dati,
#bg-title-legge,
#bg-title-mamme,
#bg-title-app {
background-image: none;
}
nav#main-nav ul li a {

    margin-top: 6px;

}
#main-nav #menu-stretto #responsive-nav {
    margin-top: 15px;
}
a.logo {
    margin: 11px 0 0 20px;
    max-width: 240px;
}



	/* ==================================================================
	Portfolio
	================================================================== */
	.portfolio .portfolio-item {
		height: 196px;
	}

}