/*=====================================================================
           .-~~-. .--.
          /      /   "\  /|         Giulio Mignani
         /    \ |  \   \//     giulio.mignani@gmail.com
        |/\    | \_/-'..'
        | |   /  ||            This copyright notice must be 
        |__||__||       kept untouched in this page at all times.

======================================================================
  							NYHOME.it - 2010
====================================================================*/


/*===================================================================*/
/*		CSS RESET													 */
/*===================================================================*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, label, form, legend,
table, caption, tbody, tfoot, thead, tr, th, td {margin: 0;	padding: 0;	border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent;}
body {line-height: 1; font-family: Arial, Helvetica, sans-serif; font-size:12px;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {	content: ''; content: none;}

/* remember to define focus styles! */
:focus {outline: 0;}

/* remember to highlight inserts somehow! */
ins {text-decoration: none;}
del {text-decoration: line-through;}

/* tables still need 'cellspacing="0"' in the markup */
table {	border-collapse: collapse;	border-spacing: 0;}

.semitransparent{filter:alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity:0.5; opacity:0.5;}
.clear {clear:both;}

/*===================================================================*/
/*		LAYOUT														 */
/*===================================================================*/
body {background:#EBEBEB;}
#header {position:relative; background:url(../img/header_bg.jpg); height:128px; border-bottom:1px solid #DEDEDE;}
#menu {width:960px; height:40px; margin:0 auto;}
#content {width:940px; min-height:400px; margin:0 auto; border:1px solid #DEDEDE; border-top:0; background:#FFF; padding:10px;}
#footer {background:#222; height:360px; border-top:1px solid #DEDEDE; color:#CCC; font-size:0.95em;}

/*===================================================================*/
/*		HEADER														 */
/*===================================================================*/
.centered960 {width:960px; margin:0 auto; position:relative;}
#logo {margin:20px 10px 0 10px;}
#subtitle {display:block; color:#FFF; height:14px; width:227px; padding:4px 0 10px 30px; font-size:14px; font-weight:bold; text-transform:uppercase; font-family: Lucida, Arial, Helvetica, sans-serif;}
#phone {position:absolute; top:20px; right:10px;}
#social {position:absolute; top:70px; right:10px;}
#social img {margin-left:6px;}

#menu {list-style:none;}
#menu li {float:left;}
#menu li a {display:block; height:34px; width:109px; background:#EBEBEB; text-align:center; color:#111; text-transform:uppercase; line-height:34px; font-size:10px; text-decoration:none; border:1px solid #CCC;}
#menu li a:hover {background:#DEDEDE;}

#search_box {width:292px; float:right; height:34px; background:#EBEBEB; color:#111; border:1px solid #CCC;}
#search_box input {float:left; font-size:12px; width:184px; height:20px; margin:5px 4px 0 5px; background:white url(../img/home_sprite.png) -2px -69px; border:1px #BDBDBD solid; padding:2px 0 0 26px; color:#999; line-height:16px;}
#search_box button {margin-top:3px;}
#search_box .active {border:1px #a31c72 solid; color:#000;}

/*===================================================================*/
/*		CAPTIONS													 */
/*===================================================================*/
.section_title {display:block; width:600px; margin:6px 0; text-transform:capitalize; font-size:14px; font-weight:bold;  padding:8px 0;color:#a31c72}
.section_title a {color:#111; text-decoration:none;}
.section_title a:hover {text-decoration:underline;}

.readmore {color:#a31c72; text-decoration:none; padding:0px 6px 2px 24px; background:transparent url(../img/home_sprite.png) no-repeat scroll left -104px; font-size:0.75em; text-transform:uppercase; line-height:24px; font-weight:bold;}
.readmore:hover {color:#333;}

/*===================================================================*/
/*		BUTTONS														 */
/*===================================================================*/
/* REQUIRED BUTTON STYLES: */		
button {position:relative; display:inline; border:0; padding:0;	margin:0; cursor:pointer; overflow:visible; /* removes extra side padding in IE */}
button::-moz-focus-inner {border:none;  /* overrides extra padding in Firefox */}
button span {position:relative;	display:block; white-space:nowrap; line-height:normal;}

@media screen and (-webkit-min-device-pixel-ratio:0) {	/* Safari and Google Chrome only - fix margins */ button span {margin-top: -1px;}}

/* OPTIONAL BUTTON STYLES for applying custom look and feel: */		
button.submitBtn {padding: 0 12px 0px 0; margin-right:0px; text-align: center; background: transparent url(../img/home_sprite.png) no-repeat right -0px; }
button.submitBtn span {padding: 8px 0 3px 16px; margin-left:-2px; height:26px; background: transparent url(../img/home_sprite.png) no-repeat left -0px; color:#333; font-size:10px; font-family:Arial, Tahoma, Geneva, sans-serif; font-weight:bold;}

button.submitBtn span {/* ie6 Model Box Hack */ \height:17px; h\eight:32px;}

button.submitBtn:hover, button.submitBtnHover { /* the redundant class is used to apply the hover state with a script */
	background-position: right -32px; 
}
	
button.submitBtn:hover span, button.submitBtnHover span {
	background-position: left -32px;
}


/*===================================================================*/
/*		FOOTER														 */
/*===================================================================*/
#footer a {color:#FFF;}
#footer input {float:left; margin-right:4px;}
.footer_block {float:left; height:320px; width:220px; margin:6px 10px 3px 10px; display:inline;}
.footer_block p {font-size:11px; line-height:18px; margin-top:10px;}
.footer_block ol li {_height:1em;}
.footer_block ol li a{line-height:15px; padding:5px; display:block; text-decoration:none;}
.footer_block ol li a.odd{background:#444;}
.footer_block ol li a:hover {background: #666;}
.footer_block ul li {vertical-align:middle; border-bottom:1px dotted #999; min-height:85px; margin-bottom:6px; line-height:1.6em;}
.footer_block ul li a{text-decoration: none;}
.footer_block ul li>a:hover{text-decoration: underline;}
#footer .thumb {float:left; margin:4px 6px 10px 2px; width:100px; border:1px solid #CCC; max-height:75px;}
#footer input {margin-top:4px;}
.footer_title {font-size:16px; font-weight:bold; display:block; margin:12px 0; }
