/*
Theme Name: Twenty Twelve - Nelson Roofing
Theme URI: http://wordpress.org/themes/twentytwelve
Author: the WordPress team
Author URI: http://wordpress.org/
Description: Child Theme for The 2012 theme for WordPress
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: twentytwelve
Template: twentytwelve
*/

@import url("../twentytwelve/style.css");

/* ------- Insert custom styles below this line ------- */

body, body.custom-font-enabled {
	font-family: "jaf-facitweb", Helvetica, Arial, sans-serif;
	margin:0;
	padding:0;
	color: #071834;
	text-align: justify;
	font-size: 14px;
	background: #027B45;
	line-height: 1.6;
}
a {
	text-decoration: none;
}
a img {
	border: none; 
}
h1, h2, h3 {
	font-family: Arial, serif;
	font-family: "jaf-facitweb",sans-serif;
	font-weight: 600;
}
h1, h2 {
	color: #071834;
	margin-bottom: 0;
}

#content article h1, #content article h2 {
	margin-bottom: 1em;
}

h1 {
	text-transform: uppercase;
	font-size: 26px;
}
h2 {
	font-size: 22px;
}
h3 {
	color: #fff;
	font-weight: normal;
	margin-top: 0;
	font-size: 18px;
}
p {
	line-height: 1.4;
}
strong {
	font-weight: 600;
}

.header, .secondary-header, .content, .footer {
	width:960px;
	margin: 0 auto;
}

.header {
	padding: 0;
	position: relative;
}
.header img {
	margin: 0;
	display: block;
	padding: 20px 0 20px 20px;
}
.header h1, .header h2 {
	text-align: center;
	margin: 10px 0;
}
.header strong {
	font-weight: normal;
}
.header strong a {
	margin: 0 0 0 16px;
}
.header a, .header a:link, .header a:visited {
	text-decoration: none;
	color: #fff;
}
.header a:hover, .header a:active, .header a:focus {
}
.header p {
	position: absolute;
	top: 36px;
	right: 20px;
	margin: 0;
	padding: 0;
	font-size: 18px;
	color: #fff;
}

.main-navigation ul.nav-menu { 
	margin: 0;
	padding: 0;
	list-style-type: none;
	float:none;
	font-size: 0;
	text-align: center;
}

.main-navigation ul.nav-menu li a, .main-navigation ul.nav-menu li a:link, .main-navigation ul.nav-menu li a:visited { 
	text-decoration: none;
	padding: 14px;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 16px;
	color: #fff;
	-moz-transition: background 0.5s ease, color 0.5s ease, border 0.5s ease;
	-webkit-transition: background 0.5s ease-out, color 0.5s ease, border 0.5s ease;
	-o-transition: background 0.5s ease, color 0.5s ease, border 0.5s ease;
	border: 2px solid transparent;
}
.main-navigation ul.nav-menu li a:hover, .main-navigation ul.nav-menu li a:active, .main-navigation ul.nav-menu li a:focus { 
	position:relative;
	color: #fff;
	background: #25337f;
	border-top: 2px solid #8189b5;
	border-left: 2px solid #8189b5;
	border-bottom: 2px solid #101535;
	border-right: 2px solid #101535;
}
.main-navigation ul.nav-menu ul li a, .main-navigation ul.nav-menu ul li a:link, .main-navigation ul.nav-menu ul li a:visited {
	text-transform: none;
	font-weight: normal;
	background: #25337f;
	border-top: 2px solid #8189b5;
	border-left: 2px solid #8189b5;
	border-bottom: 2px solid #101535;
	border-right: 2px solid #101535;
	-moz-transition: border 0.5s ease, background 0.5s ease;
	-webkit-transition: border 0.5s ease-out, background 0.5s ease;
	-o-transition: border 0.5s ease, background 0.5s ease;
}
.main-navigation ul.nav-menu ul li a:hover, .main-navigation ul.nav-menu ul li a:active, .main-navigation ul.nav-menu ul li a:focus, .main-navigation ul.nav-menu ul li a:hover, .main-navigation ul.nav-menu ul li a:active, .main-navigation ul.nav-menu ul li a:focus {
	color: #fff;
	border-top: 2px solid #6cba95 !important;
	border-left: 2px solid #6cba95 !important;
	border-bottom: 2px solid #00391e !important;
	border-right: 2px solid #00391e !important;
}

.secondary-header {
	text-align: center
}
.secondary-header img {
	display: block;
}

.hentry {
	clear: both;
	margin-top: 20px;
}
.mainContent1, .mainContent2, .mainContent3 {
	width:356px;
	float: left;
}
#content h2 {
	font-size: 20px;
	font-weight: normal;
	padding-left: 20px;
}
#content h2 a, #content h2 a:link, #content h2 a:visited {
	color: #071834;
	-o-transition: color 0.5s ease;
	-moz-transition: color 0.5s ease;
	-webkit-transition: color 0.5s ease-out;
}
#content h2 a:hover, #content h2 a:active, #content h2 a:focus {
	color: #027B45;
}

.content-left {
	float: left;
	width: 660px;
}
.content-right {
	float: right;
	width: 280px;
}
.content-right img {
	display: block;
	margin: 20px auto;
}

.footer-outer {
	background: #027B45;
	padding: 20px;
}
.footer {
	color: #fff;
	text-align: left;
}
.footer p {
	font-size: 12px;
}

/* generic classes */
.fltrt {
	float: right;
}
.fltlft {
	float: left;
}
.clearfloat {
	clear: both;
}

/* logo section */
.company-logos-outer {
	margin: 40px 0 0 0;
	padding: 20px 0;
	background: #f0f0f0;
	clear: both;
}
.company-logos {
	width: 800px;
margin: 0 auto;
}
.company-logos ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	text-align: center;
}
.company-logos ul li {
	margin: 0;
	padding: 0;
}

/* this is for the carousel2 logo */
.company-logos img {
	margin: 0;
	width: auto;
	height: auto;
}

.navigation-wrapper {
	padding: 0;
	margin-bottom: 0;
	position: relative;
	background: #027B45;
	background: rgba(0,135,71,0.9);
}
.home .navigation-wrapper {
	top: 20px;
	z-index: 1000;
	position: absolute;
width: 100%;
}

.header-wrapper {
	background: #25337F url(../layout-images/Regal-Plastics-White-Carlisle-TPO-roof-960x550.jpg) no-repeat center center;
	width: 100%;
	font-family: "jaf-facitweb",sans-serif;
	position: relative;
}

.main-navigation-outer {
	padding: 0;
	margin-bottom: 0;
	position: relative;
}

/* styles */

/* 202 */
p {
	margin: 1em 0;
}
/* 766 */
.site {
	background-color: transparent;
	border-left: none;
	border-right: none;
	margin: 0 auto;
	max-width: inherit;
	width: 100%;
}

/* 841 */
.main-navigation {
	max-width: 100%;
	min-height: inherit;
}

/* 869 */
/* this effects the top menu bar when you hover over an item below it */
.nav-menu li:hover > a, .nav-menu li a:hover {
	color: #fff !important;
	background: #25337f;
	border-top: 2px solid #8189b5 !important;
	border-left: 2px solid #8189b5 !important;
	border-bottom: 2px solid #101535 !important;
	border-right: 2px solid #101535 !important;
}

/* 875 */
.nav-menu .sub-menu, .nav-menu .children {
	background-color: none;
	border: none;
	left: 0;
	box-shadow: 5px 5px 5px rgba(0,0,0,0.7);
}

/* 887 */
.nav-menu .sub-menu ul, .nav-menu .children ul {
	left: 95%;
	top: 10%;
}

/* 894 */
/*.nav-menu ul ul.children a, .nav-menu ul ul.children a {*/
ul.nav-menu ul.sub-menu a, ul.nav-menu ul.sub-menu a {
	width: 300px;
}

/* 911 */
.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a {
	font-style: normal;
	color: #25337F !important;
}
.nav-menu ul .current_page_item > a, .nav-menu ul .current_page_ancestor > a, .nav-menu ul .current-menu-item > a, .nav-menu ul .current-menu-ancestor > a {
	color: #fff !important;
}

/* 942 */
.entry-header, .hentry, .entry-summary, .entry-meta {
	max-width: 840px;
	margin: 0 auto;
}

/* this changes the width on only the homepage */
.home .entry-header, .home .hentry, .home .entry-summary, .home .entry-meta {
	max-width: 960px;
}

/* Jason rule to effect the color on the submenu for the above, different color */
.nav-menu ul .current_page_item > a, .nav-menu ul .current_page_ancestor > a, .nav-menu ul .current-menu-item > a, .nav-menu ul .current-menu-ancestor > a {
	font-weight: 600 !important;
}

/* Jason rule for the hover effect on the above */
.nav-menu .current_page_item > a:hover, .nav-menu .current_page_ancestor > a:hover, .nav-menu .current-menu-item > a:hover, .nav-menu .current-menu-ancestor > a:hover {
	color: #fff !important;
}

/* 1109 */
#content a, .comment-content a {
	color: #008747;
}

/* 1114 */
#content a:hover, .comment-content a:hover {
	color: #25337f;
}

.secondary-header ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.secondary-header ul li {
	margin: 0;
	padding: 0;
}

/* more jason rules */
.pageheader {
	background-color: #25337f;
	padding: 20px 0;
}
.pageheader h1 {
	color: #fff;
	width: 960px;
	margin: 0 auto;
}

#content h1:first-of-type, #content h2:first-of-type, #content p:first-of-type {
	margin-top: 0;
}

.home .hentry h1:first-of-type {
	margin: 0 0 20px 0;
}

div#page {
	background: #fff;
}

.nav-menu .sub-menu a:hover, .nav-menu .children a:hover {
	background-color: #008747 !important;
}

.view.da-thumbs {
	display: inline-block !important;
}

/* this is for the weather bug app */
.wXbody {
	margin: 0 auto;
}
.wXlinks .footer {
	margin-top: 2px !important;
	width: inherit;
	text-align: center;
}
.wXlinks img {
	display: inherit;
	margin: inherit;
}

/* first app */
.wXstickerbody {
	margin: 0 auto;
}
.wXstickerforecast {
	height: 100px;
}
.wXstickerlink a {
	margin-right: 7px;
}
.wXstickerfooter img {
	margin: inherit;
	display: inherit;
}

/* this is from the theme twenty-twelve */

/* styles.css */

/* 357 */
.entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image {
	border-radius: 0;
	box-shadow: none;
}

/* 529 */
.site-content {
	margin: 0;
}

/* 577 */
.main-navigation {
	margin-top: 0;
}

/* 582 */
.main-navigation li {
	line-height: inherit;
	font-size: inherit;
}

/* 756 */
.entry-content h1, .comment-content h1 {
	font-size: 26px;
	line-height: inherit;
}

/* 956 */
.site-content article {
	border-bottom: 0;
	margin-bottom: 0;
	padding-right: 0;
}

/* 1436 */
 .main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul { 
	border-bottom: none;
	border-top: none;
	text-align: center;
	line-height: inherit;
	width: inherit;
}
.main-navigation ul.nav-menu ul, .main-navigation div.nav-menu > ul ul {
	text-align: left;
}
/* 1452 */
.site-content {
	float: none;
}

/* 1492 */
.main-navigation li a {
	line-height: inherit;
}

/* 1502 */
.main-navigation li {
	margin: 0;
}

/* 1523 */
.main-navigation li ul li a {
	line-height: inherit;
}

/* 1608 */
body .site {
	padding: 0;
	margin: 0;
}

/* Jason's rules for Twenty Twelve */
.hentry {
	padding: 40px 0;
}

.home .hentry {
	padding-top: 0;
}

.entry-title {
	font-weight: normal;
}

/* Mobile devices */
@media (max-width: 960px) {
	.header, .secondary-header, .hentry {
		width: 100%;
	}
	.footer {
		width: 90%;
	}

	.content-left, .content-right {
		float: none;
		width: 100%;
	}

	.home .navigation-wrapper {
		top: 0;
		z-index: inherit;
		position: relative;
		width: inherit;
	}

	/* 894 */
	ul.nav-menu ul a, .nav-menu ul ul a {
		width: 100%;
	}

	/* 942 */
	.entry-header, .hentry, .entry-summary, .entry-meta {
		width: 100%;
		max-width: 100%;
	}

	/* this changes the width on only the homepage */
	.home .entry-header, .home .hentry, .home .entry-summary, .home .entry-meta {
		width: 90%;
		max-width: 90%;
		padding-top: 20px;
	}

	.pageheader h1 {
		width: 90%;
	}

	.cycle-slideshow img {
		width: 100%;
	}

	.hentry {
		width: 90%;
		margin: 0 auto;
	}

	.footer-outer {
		padding-right: 0;
		padding-left: 0;
	}
}

/* this is specifically for the carousel */

/* Mobile devices */
@media (max-width: 700px) {
	.header-outer {
		padding: 0 0 20px 0;
	}
	.header {
		text-align: center;
	}
	.header img {
		display: inherit;
		padding-left: 0;
	}
	.header p {
		position: relative;
		top: inherit;
		right: inherit;
		text-align: center;
	}

	#content h1, #content h2, #content h3 {
		text-align: left;
	}
}

/* overrides styles from style.css */
@media (max-width: 643px) {
	.entry-title, .format-chat .entry-title, .format-image .entry-title, .format-gallery .entry-title, .format-video .entry-title {
		font-size: 22px;
		font-weight: 600;
	}
}

/* Mobile devices */
@media (max-width: 502px) {
	.pageheader h1 {
		text-align: left;
	}
	span.phonenumber {
		display: block;
	}
}

/* meanmenu */
@media (max-width: 830px) {

	/* styles.css */

	/* 875 */
	.nav-menu .sub-menu, .nav-menu .children {
		display: inherit;
		position: relative;
		left: 0;
		z-index: 1;
	}

	/* my own style.css */

	/* 242 */
	.main-navigation ul.nav-menu li a:hover, .main-navigation ul.nav-menu li a:active, .main-navigation ul.nav-menu li a:focus {
		border-top: none;
		border-left: none;
		border-bottom: none;
		border-right: none;
	}

	/* 276 */
	.main-navigation ul.nav-menu ul li a:hover, .main-navigation ul.nav-menu ul li a:active, .main-navigation ul.nav-menu ul li a:focus, .main-navigation ul.nav-menu ul li a:hover, .main-navigation ul.nav-menu ul li a:active, .main-navigation ul.nav-menu ul li a:focus {
		border-top: none !important;
		border-right: none !important;
		border-bottom: none !important;
		border-left: none !important;
	}

	/* 526 */
	.nav-menu li:hover > a, .nav-menu li a:hover {
		background: #252525 !important;
		background: rgba(255,255,255,0.1) !important;
		border-top: none !important;
		border-left: none !important;
		border-bottom: 1px solid rgba(255,255,255,0.25) !important;
		border-right: none !important;
	}

	.mean-container .mean-nav ul li.mean-last a {
		border-bottom: 0 !important;
		margin-bottom: 0;
	}

	.nav-menu .sub-menu ul, .nav-menu .children ul {
		left: 0;
		top: 0;
	}

	.nav-menu .sub-menu a:hover, .nav-menu .children a:hover {
		background: #252525 !important;
		background: rgba(255,255,255,0.1) !important;
	}

	/* 563 */
	.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a {
		color: #fff !important;
		}

	/* 580 */
	.nav-menu ul .current_page_item > a, .nav-menu ul .current_page_ancestor > a, .nav-menu ul .current-menu-item > a, .nav-menu ul .current-menu-ancestor > a {
		color: #fff !important;
		font-weight: normal !important;
	}

	/* 875 */
	.nav-menu .sub-menu, .nav-menu .children {
		background-color: inherit;
	}

	/* meanmenu.min.css */
	.mean-container a.meanmenu-reveal {
		line-height: inherit !important;
		font-weight: 600 !important;
	}

	.mean-container .mean-nav ul li a.mean-expand {
		height: inherit !important;
		font-weight: 600 !important;
	}

	.mean-container .mean-nav ul li a.mean-expand:hover, .nav-menu li:hover > a.mean-expand, .nav-menu li a.mean-expand:hover {
		background: none !important;
		border-bottom: none !important;
	}


	/* stolen from serenata strings */
	/* 652 - 671 */
	.mean-container a.meanmenu-reveal {
		width: 95% !important;
		font-size: 18px !important;
		left: 5% !important;
		text-indent: 0 !important;
		text-align: left !important;
		text-transform: uppercase;
		padding: 13px 0 11px !important;
		margin: 0;
	}
	.span-menu {
		width: 5%;
		display: inline-block;
		position: absolute;
		top: 13px;
		/*right: 15%;*/
		right: 10%;
		text-align: center;
	}
}

/* these rules are only for the company logos section */
@media (max-width: 820px) {
	.company-logos {
		width: 600px;
	}
}
@media (max-width: 620px) {
	.company-logos {
		width: 400px;
	}
}
@media (max-width: 420px) {
	.company-logos {
		width: 200px;
	}
}

/* Mean Bar rules */
.mean-container .mean-bar, .mean-container .mean-nav {
	background: #25337f !important;
}

/* New rules for Wordpress update 12/2021 */
.entry-content figure {
	border: 5px solid rgba(255,255,255,1);
	box-shadow: 1px 1px 3px #4a4a4a;
}
figure.wp-block-gallery.columns-3.is-cropped, figure.wp-block-gallery.columns-4.is-cropped, figure.wp-block-gallery.columns-5.is-cropped {
	border: none;
	box-shadow: none;
}
.entry-content figure, .entry-content figure img {
	border-radius: 3px;
}
.entry-content figure a {
	display: block;
	font-size: 0;
}