
body {
	margin: 0px;
	padding: 0px;
	background: #242323;
	text-align: justify;
	font: 13px Arial, Helvetica, sans-serif;
	color: #444444;
}

h1, h2, h3 {
	margin-top: 0px;
	font-weight: normal;
	color: #FFFFFF;
}

h1 {
	font-size: 2.4em;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.4em;
}

p, ol, ul {
	margin-bottom: 1.8em;
	line-height: 160%;
}

a {
	color: #000000;
}

a:hover {
	text-decoration: none;
	color: #FF0000;
}

a img {
	border: none;
}

#wrapper {
	max-width: 1000px;
	width:100%;
	margin: 0 auto;
	border: 10px solid #FFFFFF;
	position:relative;
}

/* Header */

#header {
	width: 100%;
	max-width: 1000px;
	height: 100px;
	margin: 0px auto;
}

#header a {
	text-decoration: none;
	color: #FFFFFF;
}

/* Logo */

#logo {
	float: left;
	padding-left: 20px;
}

#logo h1, #logo p {
	margin: 0px;
	line-height: normal;
	font-weight: normal;
	color: #FFFFFF;
}

#logo h1 {
	padding: 25px 0px 0px 0px;
}

/* Menu */

#menu {
	float: right;
}

#menu ul {
	margin: 0px;
	padding: 49px 0px 0px 0px;
	list-style: none;
	line-height: normal;
}

#menu li {
	float: left;
	margin: 0px;
}

#menu a {
	display: block;
	width: auto;
	padding: 6px 10px;
}

#menu a:hover {
	text-decoration: underline;
}

#menu .active {
	background: #404040;
}

#menu .active a {
	background: url(images/img02.gif) no-repeat 100% -40px;
}

/* Page */

#page {
	max-width: 1000px;
	width: 100%;
	margin: 0px auto;
	padding: 10px 0px 0px 0px;
	background: #FFFFFF;
}

/* Header Images */

#header-pic {
	background: url(images/flat-roof-ny-header.jpg) no-repeat left top;
	max-width: 1000px;
	width: 100%;
	height: 210px;
}

#header-pic-residential {
	background: url(images/residential-roofing-header.jpg) no-repeat left top;
	width: 1000px;
	height: 210px;
}

#header-pic-certainteed {
	background: url(images/residential-roofing-header.jpg) no-repeat left top;
	width: 1000px;
	height: 210px;
}


/* Content */

#content {
	float: right;
	width: 670px;
}

.post {
	margin: 0px 10px 30px 0px;
}

.post .title {
	margin: 0px;
	background: #444444 url(images/img02.jpg) no-repeat left 50%;
	padding: 7px 25px;
	font-size: 1.4em;
}

.post .title h1 {
}

.post .entry {
	padding: 0 20px;
}

.post .meta {
	font-weight: bold;
	padding-left: 20px;
}

.post .byline {
	margin: 0px;
	padding-left: 20px;
}

/* Sidebar */

#sidebar {
	float: left;
	width: 300px;
}

#sidebar-bgtop {
}

#sidebar-bgbtm {
	background: url(images/img03.jpg) no-repeat left bottom;
}

#sidebar-content {
	background: url(images/img01.jpg) repeat-y left top;
}

#sidebar ul {
	padding: 0px 0 5px 0;
	margin: 0px;
	list-style: none;
}

#sidebar li li {
	margin-left: 20px;
	margin-right: 20px;
	line-height: 22px;
	padding-left: 15px;
	border-bottom: 1px dashed #BDBDBD;
	background: url(images/img04.jpg) no-repeat left 50%;
}

#sidebar li ul {
	margin-bottom: 1.8em;
	list-style: none;
}

#sidebar h2 {
	background: #444444 url(images/img02.jpg) no-repeat left 50%;
	padding: 7px 25px;
	font-size: 1.4em;
}

#sidebar a {
	text-decoration: none;
}

#sidebar a:hover {
	text-decoration: underline;
}

/* Search */

#search {
}

#search form {
	margin-bottom: 1.8em;
	padding: 0px;
}

#search fieldset {
	margin-left: 20px;
	padding: 0px;
	border: none;
}

#search #s {
	width: 160px;
}

/* Footer */

#footer {
	clear: both;
	width: 1000px;
	height: 50px;
	margin: 0px auto 30px auto;
	color: #FFFFFF;
}

#footer p {
	margin: 0px;
	padding: 19px 0px 0px 0px;
	text-align: center;
	line-height: normal;
	font-size: smaller;
}

#footer a {
	color: #FFFFFF;
}

/* General */
	#cssdropdown, #cssdropdown ul { list-style: none; }
	#cssdropdown, #cssdropdown * { padding: 0; margin: 0; }
	
	/* Head links */
	#cssdropdown li.headlink { width: 140px; float: left; margin-left: -1px; border: 1px black solid; background-color: #e9e9e9; text-align: center; }
	#cssdropdown li.headlink a { display: block; padding: 3px; }

	/* Child lists and links */
	#cssdropdown li.headlink ul { display: none; border-top: 1px black solid; text-align: left; }
	#cssdropdown li.headlink:hover ul { display: block; }
	#cssdropdown li.headlink ul li a { padding: 5px; height: 17px; }
	#cssdropdown li.headlink ul li a:hover { background-color: #333; }
	
	/* Pretty styling */
	body { font-family: verdana, arial, sans-serif; font-size: 0.8em; background-color: black; }
	#cssdropdown a { color: white; } #cssdropdown ul li a:hover { text-decoration: none; }
	#cssdropdown li.headlink { background-color: #444; }
	#cssdropdown li.headlink ul { padding-bottom: 10px; }
	
	#menu-custom{
		position:absolute;
		top:5px;
		right:5px;
	}
	
	
	a.Menu8
 {
font-weight:bold;
font-family:Arial;
font-size:14px;
color:Black;
text-decoration:none;
}

a.Menu8:link,a.Menu8:visited
{
color:Black;
font-family:Arial;
font-size:14px;
font-weight:bold;
text-decoration:none;
}

a.Menu8:active,a.Menu8:hover
{
font-weight:bold;
font-family:Arial;
font-size:14px;
text-decoration:underline;
color:#2430d0;
}

.mobileview{display:none;}
.desktopview{display:block;}
.mobile-img{display: none;}

@media only screen and (min-width:969px) and (max-width:1024px){
	
}

@media screen and (max-width:1023px) {
	#sidebar{width:30%; float: left; min-width: 280px;}
	#content{width:62% !important; height: auto !important; padding:0px 10px; box-sizing: border-box; float: right;}
}


@media screen and (max-width: 767px) {
	#sidebar{width:100%; min-width:inherit;}
	#sidebar ul{float:left;}
	#logo h1{font-size: 14px;}
	#content{width:100% !important; height: auto !important; padding:0px 10px; box-sizing: border-box;}
	#wrapper{border:0;}
	.mobileview{display:block;}
	.desktopview{display: none;}
	.mobileview h2 {
		background: #444444 url(images/img02.jpg) no-repeat left 50%;
		padding: 7px 25px;
		font-size: 1.4em;
	}
	.mobile-img{display: block;}
	.mobile-img img{max-width: 100%;}
	#header-pic{background: none !important;}
	#header-pic table tr td{width:100%; text-align: center;}
}


@media screen and (max-width:479px){
	#content{width:100% !important;}
}


#menu-custom{display: none;}
nav span {
	width: 35px;
	height:3px;
	background-color:#fff;
	float: right;
	margin:3px 0; 
	clear: both;
  }
p { text-align: center; }
 .toggle, [id^=drop] {
 display: none;
}

nav {
	margin: 0;
	padding: 0;
	position: absolute;
	right: 6px;
	top: 6px;
  }
  
  nav:after {
	content: "";
	display: table;
	clear: both;
  }
  
  nav ul {
	float: right;
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
  }
  
  nav ul li {
	margin: 0px;
	display: inline-block;
	float: left;
	background-color: #444;
	border-right: 1px black solid;
  }
  
  nav a {
	display: block;
	padding:5px 8px;
	color: #FFF;
	font-size:14px;
	text-decoration: none;
  }
  
  nav ul li ul li:hover { background: #000000; }
  
  nav a:hover { background-color: #000000; }
  
  nav ul ul {
	display: none;
	position: absolute;
	top: 30px;
  }
  
  nav ul li:hover > ul { display: inherit; }
  
  nav ul ul li {
	width: 170px;
	float: none;
	display: list-item;
	position: relative;
  }
  
  nav ul ul ul li {
	position: relative;
	top: -60px;
	left: 170px;
  }
  
  li > a:after { content: ' +'; }
  
  li > a:only-child:after { content: ''; }
  
  
  /* Media Queries
  --------------------------------------------- */
  
  @media all and (max-width : 768px) {
  nav { margin: 0; }
  
  .toggle + a,
   .menu { display: none; }
  
  .toggle {
	display: block;
	padding:5px 8px;
	color: #FFF;
	font-size: 14px;
	text-decoration: none;
	border: none;
  }
  
  .toggle:hover { background-color: #000000; }
  
  [id^=drop]:checked + ul { display: block; }
  
  nav ul li {
	display: block;
	width: 100%;
  }
  
  nav ul ul .toggle,
   nav ul ul a { padding: 0 40px; }
  
  nav ul ul ul a { padding: 0 80px; }
  
  nav a:hover,
   nav ul ul ul a { background-color: #000000; }
  
  nav ul li ul li .toggle,
   nav ul ul a { background-color: #212121; }
  
  nav ul ul {
	float: none;
	position: static;
	color: #ffffff;
  }
  
  nav ul ul li:hover > ul,
  nav ul li:hover > ul { display: none; }
  
  nav ul ul li {
	display: block;
	width: 100%;
  }
  
  nav ul ul ul li { position: static;
  
  }
  }
  
  @media all and (max-width : 330px) {
  
  nav ul li {
	display: block;
	width: 94%;
  }
  
  }