/* Tablet Portrait */
@media only screen and (min-width: 768px) and (max-width: 980px) {

body {
    min-width: 768px;
	background-color: #FCFCFC;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.container_12 {
	max-width: 768px;
}

.logo h4 {
	font-size: 27px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

#mainmenu ul 		{
	margin: -21px 0 0px 252px;
	width: 540px;
}

#mainmenu a 		{
	font-size: 16px;
}

/* Home */

.section1 {
	margin-top: 500px;
	margin-bottom: 120px;
	
}

.rslides {
  width: 768px;
}

#text-sl1  {
	font-size: 13px;
	width: 260px;
}

#text-sl2  {
	font-size: 13px;
	width: 350px;
}

.section2 h5 a {
	font-size: 14px;
	
}

.section2 p {
	font-size: 15px;
}

.section2 .grid_4 {
	width: 235px;
}

footer .container_12 .grid_4 {
	width: 235px;
}

footer p {
	font-size: 12px;
}

.rslides {
  margin: -357px 0 0 -10px;
}

.fb-like {
	left: 142px;
	
}

/* Biografia */

.section3 h5 {
	font-size: 14px;
}

.section3 h6 {
	font-size: 12px;
	
}

.section3 p {
	font-size: 15px;
	
}

.section3 .grid_4 {
	width: 235px;
	
}

.section3 .grid_4 img {
	width: 235px;
	
}

.section3 .grid_8 {
	width: 490px;
	
}

/* Hover immagine */

.view {
	width: 142px;
    height: 142px;
    margin-left: 20px;
	left: -30px;
}

.view h2 {
   font-size: 12px;
   
}

/* News */

.form-cerca input.cerca {
	width: 60px;
	height: 20px;
	font-size: 14px;
	
}

.titolo-news h5 {
	font-size: 16px;
	
}

.data-news h6 {
	font-size: 14px;
	margin: 10px 0 0 0;
	
}

.titolo-news h6 {
	font-size: 15px;
	line-height: 23px;
}

.titolo-news3 h5 {
	font-size: 16px;
	
}

.titolo-news3 h6 {
	font-size: 15px;
	
}

.news-rit p a {
	font-size: 15px;
}

/* Cerca */

.form-cerca2 p {
	font-size: 14px;
	
}

.data-news2 h6 {
	font-size: 14px;
	margin: 14px 0 0 0;
}

.titolo-news2 h5 {
	font-size: 16px;
}

.titolo-news2 h6 {
	font-size: 14px;
}

/* Contatti */

#form {
	font-size: 13px;
	margin-top: 10px;
}

input#invia {
	width: 70px;
	height: 25px;
}

input#invia:hover {
	width: 70px;
	height: 25px;
}

input {
	font-size: 14px;
}

textarea {
	font-size: 14px;
	width: 320px;
	
}

#risposta p {
	font-size: 13px;
}
	
	}

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

body {
  	min-width: 480px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	
}

.container_12 {
	max-width: 450px;
	position: relative;
	left: -10px;
}

.logo h4 {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

#mainmenu		{
	width: 460px;
	height: 200%;
	margin-top: 23px;
	margin-left: -3px;
	background-color: #5f616a;
	position: absolute;
	overflow: scroll;
}
	
#mainmenu		{
	display:none;
	
}

#mainmenu ul li {
	float: none;
	padding-top: -20px;
}

.btn-responsive-menu {
	display: block;
	position: relative;
	left: -140px;
	bottom: 36px;
	
}			

#mainmenu ul {
	margin-left: 0px;
}

#mainmenu li a {
	border: none;
	padding-top: 10px;
	padding-bottom: 20px;
	height: 40px;
	margin-top: 10px;
	color: #fff;
	height: 30px;
	line-height: 37px;
	width: 100%;
	padding-left: 20px;
}

#mainmenu a:hover {
	color: #fff;
	height: 30px;
	background-color: rgba(182,182,182,0.8);
	width: 428px;
	
}

#mainmenu a.attivo {
	background-color: rgba(182,182,182,0.8);
	width: 428px;
	height: 30px;
	color: #fff;
}

.effect1 {
	color: none;
	-ms-transition: none;
	-webkit-transition: none; 
	-moz-transition: none;
	transition: none;
}

.effect1:before {
	background: none;
	-ms-transition: none;
	-webkit-transition: none; 
	-moz-transition: none;
	transition: none;
}

/* Home */

.border {
	width: 100%;
	margin-left: 10px;

}

.section1 {
	margin-top: 500px;
	margin-bottom: -50px;
	
}

.section2 h5 a {
	font-size: 14px;
	
}

.section2 p {
	font-size: 14px;
}

.section2 .grid_4 {
	width: 100%;
}

#text-sl1  {
	font-size: 13px;
	width: 150px;
}

#text-sl2  {
	font-size: 13px;
	width: 250px;
}

footer {
	margin-top: 90px;
}

footer .container_12 .grid_4 {
	width: 100%;
}

footer p {
	font-size: 14px;
}

/* Biografia */

.section3 p {
	font-size: 16px;
	text-align: left;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
	
}

.grid_8 #testo-bio {
	margin-top: 25px;
	
}

.grid_4 .img-margin  {
	margin-top: 20px;
}

.section3 .grid_4 {
	width: 100%;
	
}

.section3 .grid_4 img {
	width: 100%;
	
}

.section3 .grid_8 {
	width: 100%;
	
}

/* Portfolio */

#fotogallery {
	width: 480px;
	
}

#fotogallery img {
	width: 180px;
    height: 180px;
}

.view {
	width: 182px;
    height: 182px;
    margin-left: 50px;
	left: -50px;
	margin-top: 40px;
	
}

.view .mask,.view .content {
   width: 180px;
   height: 180px;
   
}

.view h2 {
   font-size: 12px;
   padding: 20px;
   margin: 55px 0 20px 0;
   
}

.mask #boxtext1 {
	margin: 70px 0 20px 0;
}

.mask #boxtext2 {
   margin: 65px 0 20px 0;
}

.mask #boxtext3 {
   margin: 55px 0 20px 0;
}

.mask #boxtext3- {
   margin: 55px 0 20px 0;
}

/* News */

.form-cerca input {
	margin-left: -1px;
}

.form-cerca input.cerca {
	width: 60px;
	height: 20px;
	font-size: 14px;
	margin-left: -1px;
}

.titolo-news h5 {
	font-size: 17px;
	
}

.data-news {
	margin-top: 35px;
}

.data-news h6 {
	font-size: 16px;
	margin: 10px 0 0 0;
}

.titolo-news h6 {
	font-size: 16px;
	line-height: 23px;
	text-align: left;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
}

.titolo-news3 h5 {
	font-size: 17px;
	
}

.titolo-news3 h6 {
	font-size: 16px;
	text-align: left;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
	
}

.news-rit p a {
	font-size: 16px;
}

/* Cerca */

.form-cerca2 input {
	margin-left: -1px;
	
}

.form-cerca2 input.cerca {
	margin-left: -1px;
	
}

.form-cerca2 p {
	font-size: 14px;
	
}

.data-news2 h6 {
	font-size: 16px;
	margin: 25px 0 0 0;
	
}

.titolo-news2 h5 {
	font-size: 17px;
}

.titolo-news2 h6 {
	font-size: 16px;
}

/* Contatti */

#form {
	margin-top: -20px;
}
	}


/* Mobile Portrait */
@media only screen and (max-width: 479px) {
 
body {
  	min-width: 320px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.container_12 {
	max-width: 280px;
	position: relative;
	left: -10px;
	
}

.logo h4 {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

#mainmenu		{
	width: 300px;
	height: 100%;
	margin-top: 23px;
	margin-left: -10px;
	position: static;
	overflow: hidden; 
	
}
	
#mainmenu	{
	display: none;
}
	
#mainmenu ul li {
	float: none;
}
	
.btn-responsive-menu {
	display: block;
	position: relative;
	left: -310px;
	bottom: 37px;
}	 

#mainmenu li a {
	border: none;
	padding-top: 10px;
	padding-bottom: 20px;
	margin-top: 10px;
}

#mainmenu a:hover {
	color: #e9e9e9;
	background-color: rgba(182,182,182,0.6);
	width: 280px;
	
}
#mainmenu a.attivo {
	color: #e9e9e9;
	background-color: rgba(182,182,182,0.6);
	width: 280px;
}

/* Home */

.section1 {
	margin-top: 480px;
	margin-bottom: -142px;
	
}

.section2 .grid_4 {
	width: 100%;
}

#text-sl1  {
	font-size: 11px;
	width: 96px;
}

#text-sl2  {
	font-size: 11px;
	width: 170px;
}

footer .container_12 .grid_4 {
	width: 100%;
}

/* Biografia */

.section3 .grid_4 {
	width: 100%;
	
}

.section3 .grid_4 img {
	width: 100%;
	
}

.section3 .grid_8 {
	width: 100%;
	
}

/* Portfolio */

#fotogallery {
	margin-left: -20px;
	width: 200px;
}

#fotogallery img {
	width: 280px;
    height: 280px;
	
}

.view {
	width: 282px;
    height: 282px;
    margin-left: 40px;
	left: -20px;
}

.view .mask,.view .content {
   width: 280px;
   height: 280px;
}

.view h2 {
   font-size: 14px;
   padding: 35px;
   margin: 100px 0 20px 0;
   
}

.mask #boxtext1 {
	margin: 95px 0 20px 0;
	padding: 35px;
	font-size: 14px;
}

.mask #boxtext2 {
   margin: 95px 0 20px 0;
   padding: 35px;
   font-size: 14px;
}

.mask #boxtext3 {
   margin: 79px 0 20px 0;
   padding: 35px;
   font-size: 14px;
}

.mask #boxtext3- {
   margin: 79px 0 20px 0;
   padding: 35px;
   font-size: 14px;
}

#next-pagine {
	margin-left: 20px;
	
}

#next-pagine2 {
	margin-left: 0px;
	
}

/* Contatti */

textarea {
	width: 275px;
}


	}