/* RESPONSIVE */
   /* Button Responsive Menu*/

#BtnResponsiveMenu {
	display:none;
	width: 100%;
	
}

#BtnResponsiveMenu a {
	color:#FFFFFF;
	text-decoration:none;
}

.btn-responsive-menu{
    display: inline-block;
    vertical-align: middle;
	padding:5px;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border-spacing:0px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	color: #ffffff;
	text-align: center;
	cursor:pointer;
    border-color: #ffffff;
}

.show {
	display:block !important;
	float:none;
	height:auto !important;
}

.fixed, .fixed1 {
/* 
	max-width:980px !important; 
    position:fixed !important;
    z-index:60 !important;
    top:51px;
 */
}


@media all and (max-width: 1024px) {
     
    #headers {
        margin: 0 12px 0 12px;
    }
    
    footer{
        width: 100%;
    }
    
    footer #fText {
        margin-left: 12px;
    }
    
    #orari{
        width:30%;
    }
    
    #PoweredBy{
        margin-right: 12px;
    }
    
    #hContent{
        height: auto;
    }
    
	#BtnResponsiveMenu	{
		display: inline-block;
        vertical-align: middle;
        width: 50px;
        border-color: #ffffff;
	}
    
    #MenuMain {
		display:none;
		z-index:105;
		margin-top:3px;
	}
	
	#MenuMain ul {
		width:auto;
		margin-left:18px;
		margin-right:18px;
		border-spacing:0px;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
		background-color:#EF802D;
	}
	
	#MenuMain ul li	{
		display:block;
        background-color: white;
        color: #ed9631;
	}
    
    #MenuMain ul li	a{
        color: #ed9631;
	}
    
     #MenuMain ul li a:hover{
        background-color: #ed9631;
	}
    
    .pad {
        width: 100%;
    }
    
    #HomePage {
        width: 100%;
    }
    
    #HomePage .endContents{
        width: 100%;
    }
    
    #ChiSiamo {
        width: 100%;
    }
    #ChiSiamo .endContents{
        width: 100%;
    }
    
    #DoveSiamo .endContents{
        width: 100%;
    }
    
    #maps iframe { 
    width: 100%;
    height: 300px;
    }
    
    #maps {
        margin: 0 12px 0 12px;
    }
   
}

@media all and (max-width: 990px){
    
    #Contatti #articleBox_1 {
        width: 100%;
    }
    
    .articlesAbs .picturesContent{
        height: auto;
        width: 100%;
        background: none;
    }
    
    .articlesAbs .article img{
        width: 100%;
        height: auto;
    }
    
    #hCoverImage img{
        width: 100%;
        height: auto;
    }
    
    #articlesWhole .mainContent {
        padding-left: 5px;
        padding-right: 5px;
        width: 100% !important;
    }
    
    
    iframe { 
    width: 99%;
    height: 300px;
    }
  
}   

@media all and (max-width: 960px) {
    .jcarousel {
        width: 97%;
    }
    
    .article {
        width: 80%;
    }
    
    .article .back2list{
        width: 80%;
    }
    
    .POS-1 .mainContent {
        display:inline-block;
        width: 100%;
        max-width: 768px;
        text-align: center;
        min-height: 152px;
    }
}

@media all and (max-width: 768px){    
    footer{
        height: 100px;
    }
    
    footer p{
    padding-bottom: 0;
}
    
    footer #fText {
        font-size: 10px;
    }
    
    #orari{
        font-size: 10px;
    }
    
    #PoweredBy{
        font-size: 10px;
    }
    
    .POS-1 .picturesContent {
         
    }

    .POS-1 .mainContent {
        display:inline-block;
        width: 100%;
        max-width: 768px;
        text-align: center;
        min-height: 152px;
    }

    .POS-1 .titolo {
        font-size:35px;
        color: black;
    }

    .POS-1 .sotto_titolo {
        font-size: 15px;
        color: black;
    }
    
}

@media all and (max-width: 680px){
    
    .POS-2 img {
        width: 33%;
        padding-left: 33%;
        padding-right: 33%;
        padding-top: 6%;
        padding-bottom:5px;
    }
    
    
}

@media all and (max-width: 640px) {
    
    .article {
        width: 80% !important;
        margin-top: 20px !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    #articlesWhole #HomePage .article img {
        width: 100%;
        
    }
    
     #articlesWhole #HomePage .article {
        width: 100% !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    #articlesWhole #HomePage .mainContent {
        width: 80% !important;
            
    }
    
    .POS-2{
        width: 80%;
        
    }
    
    .POS-2 img {
        width: 40%;
        padding-left: 30%;
        padding-right: 30%;
        padding-top: 6%;
        padding-bottom:5px;
    }
    
    #PoweredBy{
        width: 100%;
        text-align: right;
        padding-bottom: 10px;
        width: 30%;
    }
    
    #recordDetailForm input {
    width: 60%;
}

    #recordDetailForm textarea {
        width: 60%;
    }
    
    
    .jcarousel .picturesContent {
        width: 100%;  
    }

    .sottotitolo{
        display: none;
    }
    
    .POS-2 .titolo h1{
        font-size: 15px;
    }
    .POS-2 .titolo {
        padding-top: 2%;
    }
    
     .POS-1 .titolo {
        width: 80%;
         padding-left: 7%;
    }

    .POS-1 .sotto_titolo {
        width: 80%;
         padding-left: 7%;
        
    }
}
@media all and (max-width: 540px) {
    #searchBox {
        right: 25px; 
    }
    
}
@media all and (max-width: 500px) {
    
    
    footer{
        height: 100px; 
    }
    
    footer #fText {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    #orari{
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    #PoweredBy{
        width: 100%;
        text-align: center;
        padding-bottom: 10px;
    }
     
    .POS-2 img {
       
    }
    
    .data {
        padding-top: 20%;
    }

    .titolo {
        padding-top: 3%;
    }
    
}

@media all and (max-width: 480px) {
    
    
}

@media all and (max-width: 360px) {
    
    
    
    .POS-2 img {
        width: 33%;
        padding-top: 10%;
        padding-right:10%;
    }
    
    #Contatti #articleBox_1 {
        width: 100%;
        margin-right: 0;
    }
}

@media all and (max-width: 320px) {
    
     .POS-1 .titolo {
        width: 100%;
    }

    .POS-1 .sotto_titolo {
        width: 100%;
    }
}
