/* SLIDER */
#homesliderbox{
	position: relative;
}
#homesliderbox ul.rslides_tabs{
	width:100%;	
	position: absolute;
	bottom: 0;
	z-index:3;
	margin: 0;
    padding: 10px 0;
    text-align: center;
}
#homesliderbox ul.rslides_tabs li{
	display: inline-block;
	margin-right: 15px;
}
#homesliderbox ul.rslides_tabs a {
	text-indent: -9999px;
	overflow: hidden;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	background: #FFF;
	display: inline-block;
	width: 9px;
	height: 9px;
}
#homesliderbox ul.rslides_tabs li.rslides_here a{
	background:#0b5fa7;
}
#homesliderbox .rslides_nav{
	display: none;
    z-index: 3;
    position: absolute;
    top: 50%;
    left: 0;
    opacity: 0.5;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    height: 61px;
    width: 38px;
    background: transparent url("/images/prev_next.gif") no-repeat left top;
    margin-top: -45px;
}
#homesliderbox .rslides_nav:active {
  	opacity: 1.0;
}
#homesliderbox .rslides_nav.next {
	left: auto;
	background-position: right top;
	right: 0;
}

/* BORDI BOX */
.ptop{
	margin-top:1px;
}
.pbottom{
	margin-bottom: 1px;
}


/* BOX PRODOTTI */

#productsbox{
	background-color: #fff;
	padding:0;
	margin-bottom: 20px;
	margin-top:1px;
	
}
#productsbox  h2{
	text-align: center;
    background-color: #0b5fa7;
    color:#FFF;
    font-size: 30px;
    padding:25px 0;
    margin: 0;
    font-weight:300;
}

#productsbox #area_prodotti{
    width: 90%;
    margin: 20px auto 35px;
}
#productsbox .raggruppamento{
	width:21.9%;
	float:left;
	text-align: center;
	font-size:12px;
	margin-top:2.5%;
	margin-left: 2.5%;
}
#productsbox .raggruppamento a{
	background-color: #3a3a3c;
    color: #FFF;
    text-decoration: none;
    display: block;
    padding: 0;
    border: 3px #3a3a3c solid;
    border-radius: 4px;
    min-height: 275px;
}
#productsbox .raggruppamento a:hover{
	background-color: #f28e04;
	border-color: #f28e04;
}	
#productsbox .raggruppamento a .photo {
    background-color: #fff;
    border-radius: 3px;
    overflow: hidden;
}
#productsbox .raggruppamento a .photo img{
    padding:0;
    width: 100%;
    display: block;
}
#productsbox .raggruppamento a .text {
    text-transform: uppercase;
    padding: 20px 10px;
    line-height: 1.32;
}
#productsbox .raggruppamento a .text p{
    padding: 0px;
    margin:0px;
}

/* LOGHI BOX */

#loghibox{
	background-color: #0b5fa7;
}
#loghibox h2 {
    font-family: 'Michroma', sans-serif;
    font-size:30px;
    color: #fff;
    text-transform: uppercase;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
}
#loghibox .loghi_wrapper{
	max-width: 80rem;
    width: 100%;
    margin: auto;
}
#loghibox .loghino{
	float: left;
	width: 33.3333%;
	text-align: center;
	padding: 3rem 0;
}
#loghibox .loghino img{
	max-width: 95%;
}

/* BOX EVENTI */

#textbox .txt_sx{
	float:left;
	width:42%;
	padding:4%;
	background-color: #ebebeb;
	height:250px;
}
#textbox .txt_sx h2{
	color:#f28e04;
	font-size: 30px;
	text-transform: uppercase;
	font-weight: 300;
	margin:0;
	padding:0;
}
#textbox .txt_sx h2 a{
	color:#f28e04;
	text-decoration: none;
}
#textbox .txt_sx h3{
	color:#3a3a3c;
	font-size:16px;
	font-weight:300;
	text-transform: uppercase;
	margin:0;
	padding:0;
	padding-top: 5px;
	text-align: justify;
}
#textbox .txt_sx h3 a{
	float: right;
	color:#000;
	font-size: 12px;
}
#textbox .txt_sx p{
	color:#0b5fa7;
	font-size:16px;
	line-height: 1.7;
	text-align: justify;
}
#textbox .txt_sx p a{
	color:#0b5fa7;
	font-size:14px;
	line-height: 1.7;
}
#textbox .txt_dx{
	float:right;
	width:42%;
	padding:4%;
	background-color: #3a3a3c;
	height:250px;
}
#textbox .txt_dx h2{
	color:#FFF;
	font-size: 30px;
	text-transform: uppercase;
	font-weight: 300;
	margin:0;
	padding:0;
}
#textbox .txt_dx h2 a{
	color:#FFF;
	text-decoration: none;
}
#textbox .txt_dx h3{
	color:#FFF;
	font-size:16px;
	text-transform: uppercase;
	font-weight: 300;
	margin:0;
	padding:0;
	padding-top: 5px;
	text-align: justify;
}
#textbox .txt_dx p{
	color:#FFF;
	font-size:12px;
	line-height: 1.7;
	text-align: justify;
}
#textbox .txt_dx a.readmore {
    margin-top: 20px;
    display: inline-block;
    background-color: #fff;
    padding: 20px;
    color: #3a3a3c;
    text-decoration: none;
    cursor: pointer;
}
#textbox .txt_dx a:hover.readmore {
    background-color: #f28e04;
    color: #FFF;
}


/* BOX STORIA */
#aboutbox{
	color:#FFF;
	background-color: #0b5fa7;
}
#aboutbox .abouttext{
	width:41%;
	padding:4%;
	float:left;
}
#aboutbox .abouttext h2{
	font-size:30px;
	margin:0;
	padding:0;
	font-weight: 300;
}
#aboutbox .abouttext h2 a{
	text-decoration: none;
	color: #FFF;
}
#aboutbox .abouttext h3{
	font-size:16px;
	margin:0;
	padding:0;
	padding-top:5px;
	font-weight: 300;
}
#aboutbox .abouttext p{
	font-size:12px;
	margin:0;
	padding:0;
	padding-top:5px;
	text-align: justify;
	line-height: 1.7;
}
#aboutbox .abouttext a.readmore {
    margin-top: 20px;
    display: inline-block;
    background-color: #fff;
    padding: 20px;
    color: #0b5fa7;
    text-decoration: none;
    cursor: pointer;
}
#aboutbox .abouttext a:hover.readmore {
    background-color: #f28e04;
    color: #FFF;
}
#aboutbox .aboutphoto{
	float:right;
	overflow: hidden;
	width:50%;
	height: 330px;
	background-image: url("/images/history/1951.jpg");
	background-color: #d1e2ec;
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: right top;
	border-left: 1px #fff solid;
}
#aboutbox .aboutphoto img{
	width: 100%;
	height: 100%;
	display: block;
}

@media (max-width: 1160px){

	#productsbox #area_prodotti{
		padding-right:15px;
	}
  
}

@media (max-width: 982px){

	#productsbox .raggruppamento{
		width:30.75%;
	}	
  
}

@media (max-width: 767px){
	
	#homesliderbox{
		display:none;
	}
	#productsbox{
		margin-top:0px;
	}
	#productsbox  h2{
	    font-size: 20px;
	    padding: 15px 0;
	}
	#productsbox #area_prodotti{
		width: 100%;
		margin:0;
		padding:0;
	}
	#productsbox .raggruppamento {
	    width: 46%;
	}
	#productsbox .raggruppamento a {
	    min-height: 250px;
	}
	#textbox .txt_sx {
	    float: none;
	    width: 92%;
	    height: auto;
	}
	#textbox .txt_dx{
		float:none;
		width:92%;
		height: auto;
	}
	#aboutbox .abouttext {
		float:none;
		width:92%;	
	}	
	#aboutbox .aboutphoto {
		float:none;
		width:100%;	
	}
	
}
