@charset "UTF-8";
/* CSS Document */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic);
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	font-size: 100%;
}
::selection {
color: black;
background: #dddddd;
}
::-moz-selection { /* Code for Firefox */
color: black;
background: #dddddd;
}
a:link, a:active, a:hover, a:visited {
	color: black;
}
header,
.main,
footer {
	margin: 0 auto;
	max-width: 1280px;
	width: 100%;
}
header {
	max-height: 200px;
	position: relative;
	padding-top: 15px;
}
header div.lang {
	float: right;
	margin: 0 0 20px auto;
}
header div.lang a {
	text-decoration: none;
}
img.logo {
	position: absolute;
	z-index: 200;
	height: 200px;
}
header h1 {
	display: inline-block;
	margin: auto 0 0 180px;
	line-height: 0.9em;
}
header h1 span {
	font-weight: normal;
	font-size: 0.5em;
	text-align: right;
	margin: 0;
}
header nav {
	margin-left: 180px;
}
nav ul#menu {
	padding: 0;
}
nav ul#menu li {
	display: inline-block;
	margin: 0 15px 0 0;
}
nav ul#menu li a {
	text-transform: uppercase;
	color: black;
	text-decoration: none;
}
nav ul#menu li a:hover {
	border-bottom: 2px solid black;
}
/* Dropdown menu */
#menu li .sub-menu {
	display: none;
	position: absolute;
	width: auto;
	z-index: 200;
	margin: 0;
	padding: 0;
	background-color: #f5f5f3;
}
#menu li:hover .sub-menu {
display: block;
}
#menu .sub-menu li {
	display: inline-block;
	padding: 2px 20px;
	width: 100%;
}
#menu .sub-menu li a {
color: black;
}
.main {
	padding-bottom: 50px;
}
.main h1 {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #363635;
	text-align: center;
	margin: 1.5em auto;
}
.main h3 {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #363635;
}
/* Home page */
.slideshow-container {
	background-color: #f5f5f3;
	padding: 20px 0;
	margin-top: 30px;
}
.slideshow .slick-slide {
	padding: 0 10px;
	text-align: center;
	width: auto !important;
}
.main.home h2,
.main.azienda h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #363635;
	width: 90%;
	text-align: center;
	margin: 80px auto auto auto;
}
.main.home section div {
	display: inline-block;
	width: 24%;
	max-height: 210px;
	margin: 0 5px 9px 0;
	text-align: center;
	line-height: 12em;
	padding: 15px 0;
}
.main.home section div a {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: black;
	text-decoration: none;
	font-size: 1.2em;
	background-color: white;
	opacity: 0.6;
	display: inline-block;
	width: 90%;
	height: 9.5em;
}
/* Azienda */
.azienda p.cit {
	width: 90%;
	text-align: center;
	color: #363635;
}
.azienda .fb-video {
	margin: 30px auto;
}
/* Prodotti */
.main.prodotti section div {
	display: inline-block;
	width: 24%;
	max-width: 305px;
	min-height: 204px;
	margin: 0 5px 9px 0;
	position: relative;
	overflow: hidden;
}
.main.prodotti section div a {
	background-color: #f5f5f3;
	bottom: 15px;
	color: black;
	display: inline-block;
	font-family: Georgia,"Times New Roman",Times,serif;
	font-size: 1.2em;
	left: 15px;
	padding: 10px;
	position: absolute;
	text-align: left;
	text-decoration: none;
	width: 90%;
	z-index: 100;
}
.main.prodotti section div img {
	position: absolute;
}
/* Scheda Prodotto */
.main.prodotto figure,
.main.prodotto .content {
	display: inline-block;
	width: 48%;
	margin-left: -3px;
	vertical-align: top;
}
.main.prodotto figure {
	max-width: 540px;
	margin-right: 30px;
}
main.prodotto .description {
}
.main.prodotto .back {
	width: 100%;
	text-align: right;
	display: block;
	padding-top: 15px;
}
.main.prodotto figure ul.slider-nav li {
	height: 44px;
	margin: 0 10px 0 0;
  oerflow: hidden;
}
.main.prodotto figure ul.slider-nav li img {
	width: 100%;
}
/* Link */
.main.link ul {
	-moz-column-count: 2;
	column-count: 2;
}
.main.link ul li {
	margin-bottom: 10px;
}
.main.link a {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #363635;
	font-size: 1.2em;
	text-decoration: none;
}
/* Eventi */
.main.eventi ul li {
	margin-bottom: 10px;
}
.main.eventi a {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #363635;
	font-size: 1.2em;
	text-decoration: none;
}
/* Contatti */
.contatti iframe {
	max-width: 1280px;
	width: 100%;
	height: 450px;
}
.main.contatti div {
	display: inline-block;
	width: 49%;
	vertical-align: bottom;
}
.prefooter {
	background-color: #f5f5f3;
	text-align: center;
}
footer {
	padding: 25px 0;
	font-size: 0.7em;
}
footer a img {
	width: 35px;
	float: right;
	margin-top: -8px;
}
#scrollup {
	width: 50px;
	height: 50px;
	position: fixed;
	background-image: url('https://www.alessiomoras.com/immagini/layout/backtotop.png');
	background-repeat: no-repeat;
	background-position: center;
	bottom: 50px;
	right: 20px;
	display: none;
	border-radius: 5px;
	transition: background 0.5s ease-in 0s;
	z-index: 200;
	cursor: pointer;
}
/* #Media Queries
================================================== */
.slicknav_menu {
	display: none;
}

.sx,
.dx{
    float: left;
    width: 48%!important;
    box-sizing: border-box;
    height: auto!important;
    margin-bottom: 32px;
}

.sx img,.dx img{
    width: 100%;
    height: auto;
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    display: block;
}
/* All Mobile Sizes (devices and browser) */
@media only screen
and (max-width : 1320px) {
	header,
	.main,
	footer {
		padding-left: 15px;
		padding-right: 15px; 
	}
}
/* All Mobile Sizes (devices and browser) */
@media only screen
and (max-width : 900px) {
	#menu {
		display:none;
	}
	.slicknav_menu {
		display:block;
	}
	.main {
		padding-left: 15px !important;
		padding-right: 15px !important; 
	}
	.main.prodotto figure,
	.main.prodotto .content {
		display: block;
		width: 100%;
		margin: 0 auto;
	}
}
/* All Mobile Sizes (devices and browser) */
@media only screen
and (max-width : 850px) {
	.main.home section div,
	.main.prodotti section div {
		display: block;
		width: 100%;
		margin: 10px auto;
	}
	.main.link ul {
	-moz-column-count: 1;
	column-count: 1;
	}
	footer a img {
		margin-top: 30px;
	}
          .sx,.dx{
              width: 100%!important;
              float: none;
          }

}




/* Phone Portrait */
@media only screen 
and (max-width: 640px) {
.main.contatti div {
	width: 100%;
	display: block;
}
header h1 {
	font-size: 1.5em;
	margin-left: 120px;
}
img.logo {
	height: 150px;
}

         .sx, .dx{
             width: 100%;
             float: none;
         }
}