/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/*
 * Custom Style Sheet - Use this file to style your content
 */

/* Layout
----------------------------------------------------------------------------------------------------*/

.custom-logo { 
	height: 104px;
	width: 254px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}



/* Frontpage Teaser
----------------------------------------------------------------------------------------------------*/

.frontpage-teaser-1,
.frontpage-teaser-2,
.frontpage-teaser-3 { 
	height: 420px;
	border-radius: 9px;
	background: url(../../../images/yootheme/demo/slideshow/slide1.jpg) 50% 50% no-repeat;
	background-size: contain;
	overflow: hidden;
	text-align: center;
}

.frontpage-teaser-2 { background-image: url(../../../images/yootheme/demo/slideshow/slide2.jpg); }
.frontpage-teaser-3 { background-image: url(../../../images/yootheme/demo/slideshow/slide3.jpg); }

.frontpage-teaser-1 h1,
.frontpage-teaser-2 h1,
.frontpage-teaser-3 h1 { 
	font-size: 60px;
	line-height: 83px;
}

.frontpage-teaser-1 h1 { margin: 80px 0 0 0; }
.frontpage-teaser-2 h1 { margin: 50px 0 0 0; }
.frontpage-teaser-3 h1 { margin: 120px 0 0 0; }

.frontpage-teaser-1 p,
.frontpage-teaser-2 p,
.frontpage-teaser-3 p { 
	margin-top: 0;
	font-size: 16px;
	line-height: 22px;
}

.width50 .frontpage-title { 
	margin-top: 0;
	font-size: 28px;
	line-height: 30px;
	text-transform: uppercase;
}

/* Footer Icons
----------------------------------------------------------------------------------------------------*/

ul.footer-icons { 
	padding: 6px 0;
	list-style: none;
}

ul.footer-icons li { 
	margin-top: 10px;
	padding-left: 25px;
	background-position: 0 0;
	background-repeat: no-repeat;
	line-height: 19px;
}

ul.footer-icons li:first-child { margin-top: 0; }

ul.footer-icons li.phone { background-position: 0 -50px; }

/* MAURO */
ul.mod_mt_listings.tiles {padding-left: 0; }

/* Contact Footer
----------------------------------------------------------------------------------------------------*/

.contact-footer .box-content { 
	display: block;
	padding: 10px;
	border-radius: 7px;
}

.contact-footer .box-content > .grid-box:first-child {
	border-width: 0 1px 0 0;
	border-style: solid;
	border-color: #D1D1D1; 
}

.contact-footer form { margin-top: 6px; }

.contact-footer form.style div {
 	position: relative; 
 	width: 250px;
}

.contact-footer form.style input {
	width: 230px;
	height: 31px;
	padding-right: 40px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}


.contact-footer form.style button {
 	display: inline-block;
 	position: absolute;
 	right: 0;
 	width: 30px;
	height: 31px;
 	border: none;
 	border-radius: 0 5px 5px 0;
	background: url(../images/tools/input_button.png) 0 0 no-repeat;
}

.contact-footer.grid-gutter.grid-block,
.sidebar-socialicons.grid-gutter.grid-block { margin: 0 -8px; }

.contact-footer.grid-gutter > .grid-box > *,
.sidebar-socialicons.grid-gutter > .grid-box > * { margin: 0 8px; }

.contact-footer .box-content > .grid-box:first-child > * { margin-left: 5px; }
.contact-footer .grid-gutter > .grid-box + .grid-box > * { margin-right: 5px; }

.contact-footer p { margin-bottom: 0; }


/* Responsive 
----------------------------------------------------------------------------------------------------*/

/* Only Phones and Tablets (Portrait) */
@media (max-width: 959px) {

	.contact-footer form.style div { width: 100%; }
	.contact-footer form.style input { width: 98%; }

}

/* Only Tablets (Portrait) and Phones (Landscape) */
@media (min-width: 480px) and (max-width: 959px) {

	.contact-footer .width60 { margin-bottom: 15px; }

}



/* Only Phones */
@media (max-width: 767px) {

	.frontpage-teaser-1 h2, 
	.frontpage-teaser-2 h2 { padding: 0 18%; }
	.frontpage-teaser-3 h2 { padding: 0 25%; }

	.contact-footer .grid-gutter > .grid-box > * { margin: 0 8px; }
}

// My responsive




/* Only Phones (Landscape) */
@media (min-width: 480px) and (max-width: 767px) {

	.frontpage-teaser-1, 
	.frontpage-teaser-2, 
	.frontpage-teaser-3 { height: 350px; }

	.frontpage-teaser-1 { background-position: 50% 80%; }
	.frontpage-teaser-2 { background-position: 50% 90%; }
	.frontpage-teaser-3 { background-position: 50% 60%; }

	.frontpage-teaser-1 h1, 
	.frontpage-teaser-2 h1,
	.frontpage-teaser-3 h1 { 
		font-size: 40px;
		line-height: 45px; 
	}

	.frontpage-teaser-1 h1, 
	.frontpage-teaser-2 h1 {
		margin-top: 10%;
	}

	.frontpage-teaser-3 h1 {
		margin-top: 15%;
	}

	.frontpage-teaser-1 h2, 
	.frontpage-teaser-2 h2,
	.frontpage-teaser-3 h2 { 
		font-size: 14px;
		line-height: 20px;
	}

	.frontpage-teaser-1 h2, 
	.frontpage-teaser-2 h2 { margin-top: 3%; }
	.frontpage-teaser-3 h2 { margin-top: 7%; }

	.contact-footer .grid-gutter > .grid-box > * { margin: 0 15px; }

}

/* Only Phones (Portrait) */
@media (max-width: 479px) {

	.frontpage-teaser-1, 
	.frontpage-teaser-2, 
	.frontpage-teaser-3 { height: 240px; }

	.frontpage-teaser-1 { background-position: 50% 90%; }
	.frontpage-teaser-2 { background-position: 50% 95%; }
	.frontpage-teaser-3 { background-position: 50% 60%; }

	.frontpage-teaser-1 h1, 
	.frontpage-teaser-2 h1, 
	.frontpage-teaser-3 h1 { 
		font-size: 30px; 
		line-height: 32px;
		margin-top: 10%;
	}

	.frontpage-teaser-1 h2, 
	.frontpage-teaser-2 h2, 
	.frontpage-teaser-3 h2 {
		font-size: 12px;
		line-height: 17px;
		margin-top: 20px; 
	}

	.contact-footer .box-content > .grid-box:first-child { border: none; }
	.contact-footer .grid-gutter > .grid-box + .grid-box > * { margin-top: 7px; }
}
.campionatura div.halfSizeL{font-weight:bold;height:22px;line-height:22px;text-align:right;padding:5px;margin:3px 0;float:left;width:250px;background:#dedede}
.campionatura div.halfSizeR{height:22px;padding:5px;margin:3px 0;float:left;width:305px;background:#dedede}
.campionatura div.fullSize{padding:2px;text-align:left}
.campionatura div.halfSizeRText {background:#DEDEDE;float:left;height:120px;margin:3px 0;padding:5px;width:305px;}
.campionatura div.halfSizeLText {background:#DEDEDE;float:left;font-weight:bold;height:120px;line-height:22px;margin:3px 0;padding:5px;text-align:right;width:250px;}
.halfSizeRText span{vertical-align:top}

/* MAURO x responsive su cell */
.campionatura2 div.halfSizeL{font-weight:bold;height:22px;line-height:22px;padding:5px;margin:3px 0;float:left;width:250px;background:#dedede}
.campionatura2 div.halfSizeR{height:22px;padding:5px;margin:3px 0;float:left;width:250px;background:#dedede}
.campionatura2 div.fullSize{padding:2px;text-align:left}
.campionatura2 div.halfSizeRText {background:#DEDEDE;float:left;height:120px;margin:3px 0;padding:5px;width:250px;}
.campionatura2 div.halfSizeLText {background:#DEDEDE;float:left;font-weight:bold;height:120px;line-height:22px;margin:3px 0;padding:5px;width:250px;}


h1 {
    font-size: 30px;
    line-height: 27px;
}
#page #system .items .item {  
background-clip: padding-box;    
background-color: rgba(255, 255, 255, 0.9);    
border-color: rgba(90, 10, 10, 0.1);    
border-radius: 5px;    
border-style: solid;    
border-width: 2px;    
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 0 0 1px rgba(255, 255, 255, 0.3) inset;    
padding: 5px;    
}

/* MAURO Per Video Resize */

.embed-container { 
	position: relative;
	padding-bottom: 56.25%;
	height: 0; overflow: hidden;
	max-width: 100%;
	min-width: 200px;
	height: auto;

}

.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	//height: 100%;

}

.avia-video iframe, .js_active .avia-iframe-wrap iframe, div .avia-video .avia-iframe-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0;
}

.avia-video-16-9, .js_active .avia-iframe-wrap {
    padding-bottom: 56.25%;
    height: 0;
}

.avia-video, .avia-iframe-wrap {
    clear: both;
    position: relative;
    margin-bottom: 20px;
}


/* MAURO adv background */

#background { 
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;

  background-size: 100%;
  
    overflow: hidden;
    
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;

}

#background .module {
  margin:0px;

}

#background .module a {
   position:relative;
   z-index:99;
   
      width: 100%;
   height: 100%;

  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
 
  background-color: transparent;



  
}

a#skinlink {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  z-index: 1;
}

#skinlink span {
  display: none;
}

.wrapper { 
	position: relative;
  z-index: 2;
}

// Widgetkit  1.5.1 slideshow resize responsive

.grid-box .wk-slideshow-micasa .slides {max-height:250px;}
.grid-box .wk-slideshow-micasa .slides li {max-height:250px;}

.backgroundbg { 
  background-repeat: no-repeat;
  background-position:center center;
  background-attachment:fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


.at-h6 {
    font-size: 16px;
    color: #000;
}

/* img article */

#page #system .content img {
   max-width: 100%;
}




/* riproposto perche rimosso dallo user agent stylesheet */

b, strong {
   font-weight: bold !important;
}
