
/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
	background: #d8d3c8 url(../i/html-bg.png);
}

body {
    font-size: 1em;
    line-height: 1.4;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: 'Archer-Medium-Pro';
    src: url('Archer-Medium-Pro.eot');
    src: url('Archer-Medium-Pro.eot?#iefix') format('embedded-opentype'),
         url('Archer-Medium-Pro.woff') format('woff'),
         url('Archer-Medium-Pro.ttf') format('truetype'),
         url('Archer-Medium-Pro.svg#Archer-Medium-Pro') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Archer-Bold-Pro';
    src: url('Archer-Bold-Pro.eot');
    src: url('Archer-Bold-Pro.eot?#iefix') format('embedded-opentype'),
         url('Archer-Bold-Pro.woff') format('woff'),
         url('Archer-Bold-Pro.ttf') format('truetype'),
         url('Archer-Bold-Pro.svg#Archer-Bold-Pro') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Archer-Light-Pro';
    src: url('Archer-Light-Pro.eot');
    src: url('Archer-Light-Pro.eot?#iefix') format('embedded-opentype'),
         url('Archer-Light-Pro.woff') format('woff'),
         url('Archer-Light-Pro.ttf') format('truetype'),
         url('Archer-Light-Pro.svg#Archer-Light-Pro') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Archer-Thin-Pro';
    src: url('Archer-Thin-Pro.eot');
    src: url('Archer-Thin-Pro.eot?#iefix') format('embedded-opentype'),
         url('Archer-Thin-Pro.woff') format('woff'),
         url('Archer-Thin-Pro.ttf') format('truetype'),
         url('Archer-Thin-Pro.svg#Archer-Thin-Pro') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Archer-Book-Pro';
    src: url('Archer-Book-Pro.eot');
    src: url('Archer-Book-Pro.eot?#iefix') format('embedded-opentype'),
         url('Archer-Book-Pro.woff') format('woff'),
         url('Archer-Book-Pro.ttf') format('truetype'),
         url('Archer-Book-Pro.svg#Archer-Book-Pro') format('svg');
    font-weight: normal;
    font-style: normal;

}

 


body {
	font-family: Monaco, 'Lucida Console', 'DejaVu Sans Mono', monospace;
}


h1 {
	font-family: "Archer-Light-Pro", Tahoma, Geneva, sans-serif;
	font-weight: normal;
	color: #b7b0a5;
	text-align: center;
	font-size: 2.7em;
	margin: 5px 0;
	padding:5px 0;
	line-height:1em;
}

.cover {
	text-align:left;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	/*border-bottom:1px solid #f0ebe3;*/
}
.cover img {
    max-width: 100%;
    height: auto;
}




			
#mainContainer {
	margin: 40px 0 0 0;
	padding: 0;
	width: 320; width: auto;
	overflow: auto;
	-webkit-box-shadow: 0px 0px 20px rgba(118, 106, 99, 0.9);
	-moz-box-shadow:    0px 0px 20px rgba(118, 106, 99, 0.9);
	box-shadow:         0px 0px 20px rgba(118, 106, 99, 0.9);
	background: #FFF url(../i/lamirosso-logoShadow.png) top left no-repeat; 
}




#headContainer {
	overflow:auto;
	clear:right;
	padding: 0 0 25px 0;
	clear: right;
}

#logoBig {
	margin: -15px 0 0 0;
	position: absolute;
}

#navTop {
	margin: 0;	
	padding: 0 15px 0 0;
}
#navTop ul {
	margin: 0;	
	padding: 0;
	list-style: none;
	clear: right;
}
#navTop ul li {
	margin: 0;	
	padding: 10px 0 0 0;
	list-style: none;
	float: right;
	font-size: 0.70em;
}
#navTop ul li a {
	color: #766a63;
	text-decoration: none;
}
#navTop ul li a:hover {
	color: #cd3726;
	text-decoration: underline;
}







/*navigation*/	

.to_nav {
	position:absolute;
	top: 5px;
	right: 15px;
	color:#FFF;
	padding:2px 8px;
	text-decoration:none;
	font-size:0.85em;
	background-color: #000;
	  -moz-border-radius: 5px; /* Firefox */
  	-webkit-border-radius: 5px; /* Safari, Chrome */
  	border-radius: 5px; /* universal */
	border:2px solid #e3dcd0;
}
.to_nav a {
	color:#FFF;
	text-decoration:none;
}

#primary_nav ul {
	list-style: none;
	background: #000;
	padding: 5px 0;
	margin:0 0 0 0;
}

#primary_nav li a {
	display: block;
	padding: 5px 20px;
	color: #CCC;
	text-decoration: none;
	font-weight: lighter;
	font-size: 1,2em;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	letter-spacing: 0.1em;
	line-height: 2em;
	height: 2em;
	border-bottom: 1px solid #902502;
	margin:0 0 0 0;
}

#primary_nav li:last-child a {
	border-bottom: none;
}

#primary_nav li a:hover,
#primary_nav li a:focus {
	color: #FFF;
	background: #c0b9af;
}

#primary_nav li.act {
	background-color: #8d8273;
	color:#FFF;
}
#primary_nav li.act a {
	color:#FFF;
}
#primary_nav li span {
	color:#000;
}
#primary_nav li.act span {
	color:#FFF;
}

#primary_nav ul li ul {
	margin:0 0 0 0;
	padding:0 0 0 0;
}
#primary_nav ul li ul li a {
	font-size: 1em;
	padding: 0 0 0 90px;
}

#primary_nav ul li ul li:last-child a {
	border-bottom: 1px solid #902502;
}


#nav1 {
	display: none;
}

#nav2 {
	display: none;
}




.pageHr {
	background: url(../i/dotsPage.png) repeat-x;
	margin: 0 15px;
	padding: 0;
	height: 7px;
	padding: 0;
	border-collapse:collapse;
	border-color: transparent;
	border-style:none;
	font-size: 0.01em;
}


.contentContainer {
	padding: 20px 15px 0 15px;
	margin: 0 0 0 0;
}
.contentContainer img {
	max-width: 99%;
	height: auto;
}

.metroContainer {
	background: url(../i/metro.png) top right no-repeat;
}




.contactForm {
	margin: 0 0 30px 0;
}

.contactForm th {
	padding: 3px 5px;
	text-align: left;
	font-weight: lighter;
	color:#999;
	vertical-align: top;
	font-size: 0.9em;
}
.contactForm td {
	padding: 3px 5px;
	font-size: 0.8em;
}
.contactFeedback {
	font-size: 0.8em;
	color: #999;
	font-weight: lighter;
	padding: 20px 0 50px 0;
	text-align: center;
}

.submit {
	color:#FFF;
	padding:3px 10px;
	text-decoration:none;
	font-size:0,9em;
	background-color: #000;
	  -moz-border-radius: 5px; /* Firefox */
  	-webkit-border-radius: 5px; /* Safari, Chrome */
  	border-radius: 5px; /* universal */
	border:3px solid #c0b7a9;
}



div.catalog {
	text-align: center;
	margin: 0 0 0 0;
	padding: 40px 0 25px 0;;
	background: url(../i/dotsItem.png) top repeat-x;
}
div.catalog p {
	color:#666;
	font-size: 0.75em;
	padding: 7px 0 15px 0;
	margin: 8px 0 0 0;
	background: url(../i/contentShadow.png)top center no-repeat;
}
div.catalog p span {
	color:#cd3726;
	margin: 0px 5px;
}
div.catalog p strong {
	color:#333;
	font-weight:lighter;
}


.contentContainer {
	background: #FFF;
	height: 900px;
	padding: 5px 0;
	margin-bottom: 20px;
	clear: both;
	text-align:center;
}

.contentContainer div.box {
	width: 300px;
  	margin: 5px 5px 35px 5px;
	padding: 0 0 5px 0;
  	float: left;
	/*background: url(../i/dotsItem.png) top repeat-x;*/
}

.contentContainer img {
  	margin: 0 0 0 0;
	border: 0;
}

.contentContainer p {
	color:#666;
	font-size: 0.75em;
	padding: 0 0 0 0;
	margin: 0 0 0 0;
}
.contentContainer p.boxShadow {
	padding: 5px 0 0 0;
	background: url(../i/contentShadowShort.png)top center no-repeat;
	color:#999;
	font-size: 0.9em;
}
.contentContainer p.boxGray {
	color:#999;
}
.contentContainer p strong {
	color:#cd3726;
	font-weight:lighter;
}

.item {
	text-align:center;
	margin: 0 0 50px 0;
}
.item h2 {
	background: url(../i/contentShadow.png)top center no-repeat;
	margin: 0 0 2px 0;
	padding:10px 0 0 0;
}
.item h2 strong {
	color:#cd3726;
	font-weight:lighter;
}
.item p {
	color:#666;
	margin: 0 0 2px 0;
}
.item p.back {
	color:#666;
	margin: 20px 0 2px 0;
}
.item p.back a {
	color:#666;
	text-decoration: none;
	font-variant:small-caps;
	font-size:1em;
	padding: 5px 15px;
	border:1px solid #EFEFEF;

}
.item img {
	width: 99%;
	max-width: 1100px;
	height:auto;
}


@media \0screen {
  img { 
  	width: auto; /* for ie 8 */
  }
}



div.testi, article.testi {
	padding: 5px 35px;
	text-align: center;
}

div.testi p, article.testi p {
	padding: 0 0 15px 0;
	font-size: 0.95em;
	color: #666;
	line-height: 150%;
	max-width: 950px;
	margin: 0 auto;
}
div.testi img, article.testi img {
    height: auto;
	width: 90%;
	max-width: 365px;
	margin: 0 10px;
}

div.testiSmall, article.testiSmall {
	padding: 5px 35px;
	text-align: center;
}

div.testiSmall h2, article.testiSmall h2 {
	padding: 15px 0 0 0;
	font-size: 0.95em;
	color: #666;
	line-height: 150%;
	max-width: 950px;
	margin: 0 auto;
}

div.testiSmall p, article.testiSmall p {
	padding: 0 0 15px 0;
	font-size: 0.75em;
	color: #666;
	line-height: 150%;
	max-width: 950px;
	margin: 0 auto;
}

article.testiSmall p.mapDida {
	font-size:0.6em;
	color:#739065;
	max-width: 950px;
	margin: 5px auto 0 auto;
	padding: 0 0 0 0;
	font-weight:bold;
}
article.testiSmall div.geoMap {
	margin: -20px 0 0 0;
	background:url(../i/mappa.png) top center no-repeat;
    display: block;
    -webkit-transition: opacity 2s ease-out;
    opacity: 0.1; 
    height: 33px;
    overflow: hidden;
}
article.testiSmall:hover div.geoMap {
    opacity: 1;
	height:280px;
}



#footerContainer {
	background: #cc3300 url(../i/mainShadow.png) top center no-repeat;
	font-family: Tahoma, Geneva, sans-serif;
}

#footerContainer p.txt {
	font-family: "Archer-Book-Pro", Tahoma, Geneva, sans-serif;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.33);
	color: #fabba7;
	padding: 10px 15px 5px 15px;
	margin: 0;
	text-align:center;
	font-size: 100%;
}

#footerContainer hr {
	background:url(../i/dotsFooter.png) repeat-x;
	margin: 0 15px;
	padding: 0;
	height: 7px;
	padding: 0;
	border-collapse:collapse;
	border-color: transparent;
	border-style:none;
	font-size: 0.01em;
}
.footerBar {
	font-size: 0.8em;
	font-variant:small-caps;
	color: #fabba7;
	padding: 2px 15px 10px 15px;
	margin: 0;
}


.footerBarTopLink {
	font-size: 0.75em;
	font-variant:small-caps;
	color: #fabba7;
	padding: 2px 15px 10px 15px;
	margin: 0;
	float: right;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.33);
}
.footerBarTopLink a {
	color: #fabba7;
	text-decoration: none;
}
.footerBarTopLink a:hover {
	color: #FFF;
	text-decoration: none;
}



#closeContainer {
	margin: 0 0 15px 0;
	padding: 0;
	width: 768px; width: auto;
	overflow: auto;
}
p.footerBarTopLink {
	display:none;
}









/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}



/* ==========================================================================
    Media Queries for Responsive Design.
   ========================================================================== */


/* Apple-iPhone4C1/902.206  */


/*media queries*/

@media only screen and (min-width: 650px) {

			
	body {
		width:100%;
	}

	#nav1 {
		display: block;
		clear: right;
		margin: 15px;
		padding: 0 0 0 0;
		overflow:auto;
	}
	#nav1 ul {
		list-style: none;
		margin: 0 0 0 0;
		padding: 0 0 0 0;
		font-size:0.9em;
		border-bottom:1px solid #f0ebe3;
		overflow:hidden;
	}
	#nav1 li {
		list-style: none;
		float:left;
		margin: 0 15px 0 0;
		padding: 0 0 0 0;
	}
	#nav1 li span {
		/*border-bottom:4px solid #e5e0d8;*/
		margin: 0 0 0 0;
		padding: 0 5px;
	}
	#nav1 li a {
		color:#666;
		text-transform:uppercase;
		text-decoration:none;
		/*border-bottom:4px solid #e5e0d8;*/
	}
	#nav1 li a:hover {
		color:#cc3300;
		text-decoration:none;
		border-bottom:4px solid #cc3300;
	}
	#nav1 li a.act {
		color:#cc3300;
		text-decoration:none;
		border-bottom:4px solid #cc3300;
	}

	#nav2 {
		display: block;
		clear: right;
		margin: -10px 15px 15px 15px;
		padding: 0 0 0 0;
		overflow:auto;
	}
	#nav2 ul {
		list-style: none;
		margin: 10px 0 0 0;
		padding: 0 0 0 0;
		font-size:0.75em;
		border-bottom:1px solid #f0ebe3;
		overflow:hidden;
	}
	#nav2 ul li {
		list-style: none;
		float:left;
		margin: 0 15px 0 0;
		padding: 0 0 0 0;
	}
	#nav2 ul li span {
		/*border-bottom:4px solid #e5e0d8;*/
		margin: 0 0 0 0;
		padding: 0 5px;
	}
	#nav2 ul li a {
		color:#666;
		text-transform:uppercase;
		text-decoration:none;
		/*border-bottom:4px solid #e5e0d8;*/
	}
	#nav2 ul li a:hover {
		color:#cc3300;
		text-decoration:none;
		border-bottom:4px solid #cc3300;
	}
	#nav2 ul li a.act {
		color:#cc3300;
		text-decoration:none;
		border-bottom:4px solid #cc3300;
	}


	a.to_nav {
		display: none;
	}
	
	#primary_nav {
		display: none;
	}	
	
	#mainContainer {
		width: 85%;
		margin: 50px auto 0 auto;
		padding: 0;
		-webkit-box-shadow: 0px 0px 20px rgba(118, 106, 99, 0.9);
		-moz-box-shadow:    0px 0px 20px rgba(118, 106, 99, 0.9);
		box-shadow:         0px 0px 20px rgba(118, 106, 99, 0.9);
		background: #FFF url(../__/lamirosso-logoShadow.png) top left no-repeat;
	}
	.contentContainer {
		padding: 0 15px;
		margin: 0 0 0 0;
	}
	#closeContainer {
		background: url(../__/mainShadow.png) top center no-repeat;
		width: 85%;
		margin: 0 auto 30px auto;
		padding: 0;
	}
	
	
	.contentContainer article img.expanded {
		max-width: 1600px;
	}	
	p.footerBarTopLink {
		display: inline-block;
	}
	
	#footerContainer p.txt {
	font-family: "Archer-Book-Pro", Tahoma, Geneva, sans-serif;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.33);
	color: #fabba7;
	padding: 10px 15px 5px 15px;
	margin: 0;
	text-align:center;
	font-size: 120%;
}



			
}


/**** Transitions ****/

.masonry,
.masonry .masonry-brick {
  -webkit-transition-duration: 0.7s;
     -moz-transition-duration: 0.7s;
      -ms-transition-duration: 0.7s;
       -o-transition-duration: 0.7s;
          transition-duration: 0.7s;
}

.masonry {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.masonry .masonry-brick {
  -webkit-transition-property: left, right, top;
     -moz-transition-property: left, right, top;
      -ms-transition-property: left, right, top;
       -o-transition-property: left, right, top;
          transition-property: left, right, top;
}



/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}







