﻿*{
	margin:0;
	padding:0;
	border:0;
}

body {
	background:url(imgs/background.jpg) top center no-repeat black;	
	color:#a4a4a4;
	font-family:Arial, Helvetica, sans-serif;

}

#container {
	margin-right: auto;
	margin-left: auto;
	width: 960px;
	position:relative;
}

#header #title {
	color: #925f16;
	position:absolute;
	top:0;
	width:960px;
	background-color:rgba(0, 0, 0, 0.7);
}

h1#testata {
	display:block;
	width:960px;
	height:334px;
	background-image: url('imgs/vinsantonaturale_header.jpg');
}

label,a, body {
	font-family : Arial, Helvetica, sans-serif;
}

.err {
	font-family : Verdana, Helvetica, sans-serif;
	font-size : 12px;
	color: red;
}
    
    Input {
        margin-bottom:1em;
        padding:0.5em;
    }
    
    label {
        margin-bottom:0.5em;
        clear: left;
    }

#contatti_pagina #article img {
    float:none;
}


div#menu {
	background-color:#361b08;	
	height:14px;
	color:#d18a24;
	padding:10px;
}

#menu li {
	float:left;
	margin-left:180px;
	list-style-type: none;
}

#menu li#firstmenuitem {
	margin-left:0;
}

#content #article {
	width: 560px;
	float: left;
	background-color:#000;
	padding: 10px;
	font-size: 14px;
	margin-bottom: 70px;
	text-align:justify;

}
#content #barradx {
	width: 240px;
	float: right;
	background-color:#000;
	padding: 10px 10px 0 10px;
	margin-bottom: 70px;
}
#container #content {
	padding-top: 23px;
	width:960px;
}

#article img {
	margin-top:1em;
	margin-right: 1em;
	margin-bottom: 1em;
	float: left;
}
#footer {
	clear: both;
	text-align: center;
	background-color:#000;
	font-size:12px;
	padding: 10px;
	margin-bottom: 85px;
}

#footer a {
	color:#351B08;
}

#barradx img {
	margin-bottom: 10px;
}

h3 {
	margin-bottom:1em;	
}

a, a:visited {
	color:#d18a24;
	text-decoration:none;
}

a:hover {
	color:#9D5300
}

.underline {
	text-decoration:underline;	

}

#header #title h2 {
	font-size: 20px;
	margin-left:1em;
}
#article form {
	margin-top: 40px;
}
#article form table tr td input {
	background-color: #CCC;
}
#article form table tr td textarea {
	background-color: #CCC;
}
#article form table tr td input {
	padding: 5px;
}

/* inizio ver mobile */

@media screen and (max-width: 960px) {
	
	div#container {
		width:100%;
	}
	
	div#header {
		overflow:hidden;
	}
	
	#header #title{
		width:100%;
	}
	
	#header #title h2 {
		width:200px;
		margin-top:1em;
		font-style:italic;
}
	
	div#menu ul li, div#menu ul li#firstmenuitem  {
		float:none;
		margin:0 0 1em 0;
		padding:0;
		font-size:20px;
	}
	
	#content div#article {
		clear:both;
		float:none;
		width:90%;
		font-size:18px;
		padding:5%;
	}
	
	#content #barradx {
		clear:both;
		float:none;
		width:90%;
		padding:5%;
	}
	
	#content #barradx img {
		float:left;
		max-height:153px;
	}
    
	div#container div#header {
		width:100%;
	}
	
	#container #content {
		max-width:100%;
		clear:both;
	}
	
	div#menu {
		height:auto;
		width:90%;
		padding:5%;
	}
	
	div#article img {
		display:block;
		float:none;
	}
	
	div#footer {
		background-color:#361B08;
	}
	
	div#footer a {
		color:white;
		text-decoration:underline;
	}
	
	img#logo {
	  width:100%;
	  height:auto;
	}
	
}

/* fine ver mobile */