/* GENERAL */
html, body {
	margin: 0;
	padding: 0;
}
body {
	margin: 0 auto;
	width: 1024px;
}
#main {
	margin: 0 auto;
	padding: 0;
	width: 1024px;
	position: relative;
}

/* GENERAL FORMS */
input, textarea {
	border: 1px solid #666;
	padding: 2px 4px;
}
input[type=submit] {
	/*border: none;*/	
}
input:hover, textarea:hover {
	background-color: #ffeeee;	
}
input[type=submit]:hover {
	background-color: none;	
}

/* COLORS */
.red {
	color: #cc3333;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	font-family: 'Muli', Verdana, Arial;
}

h1#main_title {
	font: bold 1.9em Arial;
	margin: 0 0 0.4em 0;
	text-transform: capitalize;
}
h2#main_subtitle {
	font: bolder 1.6em Arial;
	margin: -0.8em 0 0.4em 0;
	color: silver;
	text-transform: capitalize;
}
h3 {
	font: normal 1.5em Arial;
}

/* HEADER */
#header {
	width: 100%;
	height: 130px;
	background: url(../images/banners/banner_stripe.png) no-repeat top right;
	display: inline-block;
}
#header a#main_logo {
	border: 0;
	display: inline-block;
	vertical-align: top;
	overflow: hidden;
	width: 250px;
	margin: 0 0 0 6px;
	
}
#header a#mattoli_logo {
	border: 0;
	display: inline-block;
	vertical-align: top;
	width: 260px;
	margin: 8px 0 0 0;
	text-align: center;
}
#header a#mattoli_logo strong {
	font-size: 9px;
	font-weight: bold;
	color: black;
}
#header a#mattoli_logo img {
	margin: 0 4px;
}

/* MENU */

#main_menu {
	width: 100%;
	line-height: 18px;
	display: block;
	overflow: visible;
	margin-top: 10px;
}
#main_menu > li {
	margin-right: 20px;
}
#main_menu a.withmenu {
	padding-right: 18px;
	background: transparent url(/images/icons/red-arrow-down.png) scroll no-repeat 95% center;
	background-position: right 6px center; /* CSS3 Cr 25+, FF 13+, IE 9+, Op 10.5+ */
}

#main_menu li ul {
	background: white; /* IE <9 */
	background: rgba(255,255,255,0.85);
	width: 150px;
	box-shadow: 1px 0px 4px rgba(0,0,0,0.4);
}
#main_menu li {
}
#main_menu li.heading {
	border-top: 1px solid silver;
}
#main_menu li.heading span {
	font: normal 13px/20px Arial;
	padding: 4px 12px;
	color: red;
}

#main_menu a, #main_menu a:visited {
	padding: 0 12px;
	min-width: 50px;
	font: normal 13px/26px Arial;
	color: #999;
	text-decoration: none;
}
#main_menu a:hover {
	background: red;
	color: white;
}
#main_menu a.withmenu:hover {
	background: red url(/images/icons/white-arrow-down.png) scroll no-repeat 95% center;
	background-position: right 6px center; /* CSS3 Cr 25+, FF 13+, IE 9+, Op 10.5+ */
}

/* CONTENT */
#content {
	float: left;
	width: 730px;
	padding: 16px;
	position: relative;
}

/* HOME PAGE */
#home_quality {
	float: left;
	width: 178px;
	min-height: 276px;
	color: white;
	background-color: #999;
	padding: 45px 25px;
	margin: 0 8px 0 0;
}
#home_quality h1 {
	margin: -20px 0 0 0;
	font-size: 32px;
}
#home_quality h2 {
	margin: -8px 0 0 0;
	font-size: 26px;
}

#home_introducing {
	float: left;
	width: 490px;
}
#home_tiles {
	float: left;
	width: 490px;
}
#home_marque {
	float: left;
	width: 250px;
}

/* GALLERIES */
.gallery_grid {
	position: relative;
	text-align: justify;
	vertical-align: top;
}
.gallery_grid a {
	display: inline-block;
	height: 70px;
	outline: 1px solid silver;
	background-color: #fefeff;
	position: relative;
	padding: 3px;
	margin: 6px 1px;
}
.gallery_grid a img {
	max-height: 100%;
	display: block;
}

.range_grid {
	display: flex;
	flex-wrap: wrap;
	position: relative;
}
.range_grid > div {
	max-width: 23%;
	position: relative;
	text-align: center;
	margin: 1%;
}
.range_grid a:hover {
	text-decoration: none;
}
.range_grid a > img {
	max-width: 90%;
	display: block;
	margin: 0 auto 6px auto;
}
.range_grid a > h3 {
	text-align: center;
	font-weight: bold;
	font-size: 10pt;
}
.range_grid a > p {
	text-align: center;
}

/* SIDEBAR */
#sidebar {
	margin: 16px 0;
	float: right;
	width: 260px;
}

#sidebar_subscribe {
	background-color: #333;
	border: 1px solid black;
	padding: 16px;
}
#sidebar_subscribe h3 {
	color: white;
	font-size: 13px;
	margin-top: 0;
}

#sidebar_phone {
	background-color: #333;
	border: 1px solid black;
	padding: 16px;
	color: white;
	font-size: 22px;
	text-align: center;
}
#sidebar_phone #office_phone{
	font-size: 28px;
}

#sidebar_contact {
}
#sidebar_contact label {
	display: block;
}
#sidebar_contact input.text, #sidebar_contact textarea {
	width: 100%;
}

#sidebar_downloads a.arrow {
	margin-bottom: 6px;
	display: block;
	width: 100%;
	background: transparent url(/images/specsheets/greyarrow.jpg) no-repeat right center;
}



/* FOOTER */
#footer {
	width: 100%;
	text-align: center;
	clear: both;
	background-color: #999;
	border-top: 2px solid #eee;
	color: #eee !important;
}
#footer a {
	display: inline-block;
	color: white;
	margin: 2px 6px;
}

/* TILES / TACTILES */
.area_ranges .cms_gallery {
	width: 300px;
	height: 350px;
	padding: 10px;
}

ul.item_list {
	width: 100%;
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul.item_list > li {
	float: left;
	width: 120px;
	height: 160px;
	margin: 0 16px 16px 0;
	text-align: center;
}
ul.item_list > li > a {
	text-decoration: none;
	font: bold 14px Arial;
	color: #666;
}
ul.item_list > li > a > img {
	width: 100%;
	border: 1px solid #222;
	box-shadow: 2px 1px 1em rgba(0,0,0,0.4); /* (inset) x y radius spread color */
}
ul.item_list > li > a:hover > img {
	border: 1px solid #666;
}
.page_view .download_specsheet {
	text-align: center;
	display: inline-block;
	width: 100px;
	padding: 10px;
	border: 1px solid silver;
}

/* SPECSHEETS */

.area_ranges ul.item_list > li {
	float: left;
	width: 120px;
	height: 220px;
	margin: 0 16px 16px 0;
	text-align: center;
}
.area_ranges ul.item_list > li > a {
	font: bold 12px Arial;
}

/* CONTACT PAGE */
#contact_form table {
	width: 100%;
}
#contact_form input.text, #contact_form textarea {
	width: 100%;
}
#contact_form textarea {
	height: 250px;
}
#contact_form th {
	text-align: left;
}