@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%;
    position: relative;
}
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;
    cursor: pointer;
}
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;
    position: relative;
}

a > .badge{
    position: relative;
    width: 18px;
    height: 18px;
    background: #000;
    color: #fff;
    text-align: center;
    line-height: 18px;
    white-space: nowrap;
    border-radius: 20em;
    font-size: 10px;
    top: 0;
    right: 0;
    display: inline-block;
    margin-left: 4px;
    -webkit-transform: translate(0, -2px);
    -moz-transform: translate(0, -2px);
    transform: translate(0, -2px);
}

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: transparent;
	bottom: 15px;
	color: #fff;
	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;
    -webkit-text-shadow: 0 2px 6px #000;
    -moz-text-shadow: 0 2px 6px #000;
    text-shadow: 0 2px 6px #000;
}
.main.prodotti section div img {
	position: absolute;
}

/* Scheda Prodotto */
.main.prodotto figure,
.main.prodotto .content {
	display: inline-block;
	width: 49%;
	margin: 0;
	vertical-align: top;
}
.main.prodotto figure {
	max-width: 540px;
	margin-right: 50px;
}
main.prodotto .description {
	
}
.main.prodotto .back {
	width: 100%;
	text-align: right;
	display: block;
	padding-top: 15px;
}
.main.prodotto figure ul.slider-nav li {
	height: 50px;
	margin: 0 10px 0 0;
  overflow: 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;
}

/* Login */
.login label {
	width: 100%;
  display: block;
}
.main.login .sx {
	display: inline-block;
	width: 49%;
  float: left;
  text-align: center;
}
.main.login .dx {
	display: inline-block;
	width: 49%;
  float: right;
  text-align: center;
}
.main.login .cleaner {
  clear: both;
}
.main.login input {
  width: 200px;
}
.main.login input.errore_campo {
  background-color: red;
}
.main.login .errore {
  color: red;
}



.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('//alessiomorashome.it/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;
}


a.paypal-badge{
    width: 120px;
    display: inline-block;
    position: relative;
    margin-left: 12px;
    height: 54px;
}

a.paypal-badge > img{
    height: 54px;
    width: auto;
    position: absolute;
    position: relative;
    display: inline-block;
    float: none;
    margin: 0;
    -webkit-transform: translate(8px, 40%);
    -moz-transform: translate(8px, 40%);
    transform: translate(8px, 40%);
}

footer .footer-info{
    padding-top: 32px;
}

/* #Media Queries
================================================== */

.slicknav_menu {
	display: none;
}

/* 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;
	}
}

/* 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;
  }
}

