/* CSS PER VISUALIZZAZIONE SU PC */
@media only screen and (min-width:640px){
html, body {
	height: 100%;
	margin: 3px;
	padding: 0;
}

/*PERSONALIZZAZIONE HEADER*/
header {
    filter: alpha(opacity=80);
    background-color: white;
    width: auto;
    height: auto;
    padding: 5px;
    border: Solid 1px #CCCCCC;
	font-size: 30px;
}

#logo {
	width: 200px;
	height: auto;
}
.topnav {
  	overflow: hidden;
  	background-color: white;
	margin-top: -50px;
}

.topnav a {
	float: right;
	display: block;
	color: black;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
}

.topnav a:hover {
	background-color: #ddd;
	color: black;
}

.topnav .login-container {
	float: right;
}

.topnav input[type=text] {
	padding: 6px;
	margin-top: 8px;
	font-size: 17px;
	border: 1px solid black;
	width:120px;
}

.topnav .login-container button {
	float: right;
	padding: 6px 10px;
	margin-top: 8px;
	margin-right: 16px;
	background-color: #555;
	color: white;
	font-size: 17px;
	border: none;
	cursor: pointer;
}

.topnav .login-container button:hover {
	background-color: green;
}

#btnLogOut {
	float: right;
	padding: 6px 10px;
	margin-top: 8px;
	margin-right: 16px;
	background-color: #555;
	color: white;
	font-size: 17px;
	border: none;
	cursor: pointer;
    margin-left: 15px;    
}

#btnLogOut:hover {
	background-color: green;
}

.a-navigazione:hover {
	background-color: #02ccdb;
}

#imgCarrello {
    width: 50px;
    height: 50px;
    padding: 0;
    margin-top: -15px;
}

#spnConteggioArticoli {
	background-color: lightgrey;
	color: black;
	border-radius: 25px;
    font-size: 22px;
}

/*PERSONALIZZAZIONE ELEMENTI BODY*/
body {
	background: url("../immagini/sfondo.jpg");
	background-repeat: repeat;
	background-position: 0 0;
	-moz-background-size: cover;
	-webkit-background-size: cover;
    background-size: cover;
}

#divEmail {
    text-align: center;
    font-size: 25px;
}

#txtNome, #txtEmail, #txtMessaggio {
    font-size: 20px; 
}

#txtMessaggio {
    width: 300px;
    height: 150px;
}

#btnInviaMail {
    border-radius: 10px;
    font-size: 18px;
    background-color: black;
    color: white;
}

#btnInviaMail:hover {
    background-color: lightgrey;
    color: black;
}

#divSede {
    text-align: center;
    font-size: 25px;    
}

/*FOOTER*/
.footer-basic {
  	padding:40px 0;
  	background-color:#ffffff;
  	color:#4b4c4d;
	margin-top: 150px;
    border: Solid 1px #CCCCCC;
}

.footer-basic ul {
  	padding:0;
  	list-style:none;
  	text-align:center;
  	font-size:18px;
  	line-height:1.6;
  	margin-bottom:0;
}

.footer-basic li {
  	padding:0 10px;
}

.footer-basic ul a {
  	color:inherit;
  	text-decoration:none;
  	opacity:0.8;
}

.footer-basic ul a:hover {
  	opacity:1;
}

.footer-basic .social {
  	text-align:center;
  	padding-bottom:25px;
}

.footer-basic .social > a {
  	font-size:24px;
  	width:40px;
  	height:40px;
  	line-height:40px;
  	display:inline-block;
  	text-align:center;
  	border-radius:50%;
  	border:1px solid #ccc;
  	margin:0 8px;
  	color:inherit;
  	opacity:0.75;
}

.footer-basic .social > a:hover {
  	opacity:0.9;
}

.footer-basic .copyright {
  	margin-top:15px;
  	text-align:center;
  	font-size:13px;
  	color:#aaa;
  	margin-bottom:0;
}


}

/*CSS PER SMARTPHONE*/
@media only screen and (max-width:640px){

html, body {
	height: 100%;
	padding: 0;
}

/*PERSONALIZZAZIONE HEADER*/
header {
    filter: alpha(opacity=80);
    background-color: white;
    width: auto;
    height: auto;
    padding: 5px;
    border: Solid 1px #CCCCCC;
	font-size: 20px;
}

#logo {
	width: 100px;
	height: auto;
}
.topnav {
  	overflow: hidden;
  	background-color: white;
	margin-top: 10px;
}

.topnav a {
	float: right;
	display: block;
	color: black;
	text-align: center;
	padding: 7px 8px;
	text-decoration: none;
	font-size: 16px;
}

.topnav a:hover {
	background-color: #ddd;
	color: black;
}

.topnav .login-container {
	float: right;
}

.topnav input[type=text] {
	padding: 6px;
	margin-top: 8px;
	font-size: 14px;
	border: 1px solid black;
	width:75px;
}

.topnav .login-container button {
	float: right;
	padding: 6px 10px;
	margin-top: 8px;
	margin-right: 16px;
	background-color: #555;
	color: white;
	font-size: 17px;
	border: none;
	cursor: pointer;
}

.topnav .login-container button:hover {
	background-color: green;
}

#btnLogOut {
	float: right;
	padding: 6px 10px;
	margin-top: 0px;
	margin-right: 16px;
	background-color: #555;
	color: white;
	font-size: 17px;
	border: none;
	cursor: pointer;  
}

#btnLogOut:hover {
	background-color: green;
}

.a-navigazione:hover {
	background-color: #02ccdb;
}

#imgCarrello {
    width: 50px;
    height: 50px;
    padding: 0;
    margin-top: 10px;
}

#spnConteggioArticoli {
	background-color: lightgrey;
	color: black;
	border-radius: 25px;
    font-size: 22px;
}

/*PERSONALIZZAZIONE ELEMENTI BODY*/
body {
	background: url("../immagini/sfondo.jpg");
	background-repeat: repeat;
	background-position: 0 0;
	-moz-background-size: cover;
	-webkit-background-size: cover;
    background-size: cover;
}

h1 {
  text-align: center;  
}

#divEmail {
    text-align: center;
    font-size: 25px;
}

#txtNome, #txtEmail, #txtMessaggio {
    font-size: 20px; 
}

#txtMessaggio {
    width: 300px;
    height: 150px;
}

#btnInviaMail {
    border-radius: 10px;
    font-size: 18px;
    background-color: black;
    color: white;
}

#btnInviaMail:hover {
    background-color: lightgrey;
    color: black;
}

iframe {
    width: auto;
}


button {
  background-color: #04AA6D;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 17px;
  font-family: Raleway;
  cursor: pointer;
}

button:hover {
  opacity: 0.8;
}

/*FOOTER*/
.footer-basic {
  	padding:40px 0;
  	background-color:#ffffff;
  	color:#4b4c4d;
	margin-top: 150px;
    border: Solid 1px #CCCCCC;
}

.footer-basic ul {
  	padding:0;
  	list-style:none;
  	text-align:center;
  	font-size:18px;
  	line-height:1.6;
  	margin-bottom:0;
}

.footer-basic li {
  	padding:0 10px;
}

.footer-basic ul a {
  	color:inherit;
  	text-decoration:none;
  	opacity:0.8;
}

.footer-basic ul a:hover {
  	opacity:1;
}

.footer-basic .social {
  	text-align:center;
  	padding-bottom:25px;
}

.footer-basic .social > a {
  	font-size:24px;
  	width:40px;
  	height:40px;
  	line-height:40px;
  	display:inline-block;
  	text-align:center;
  	border-radius:50%;
  	border:1px solid #ccc;
  	margin:0 8px;
  	color:inherit;
  	opacity:0.75;
}

.footer-basic .social > a:hover {
  	opacity:0.9;
}

.footer-basic .copyright {
  	margin-top:15px;
  	text-align:center;
  	font-size:13px;
  	color:#aaa;
  	margin-bottom:0;
}

}