
/*!
 * Sexton Dealer Site Template
 * by ViewSource Media
 * viewsource.ca
 */

/* ---------------- GLOBAL STYLES ---------------- */

/*!

COLOURS USED -  find/replace for easy customization

Green #346a53 - ###### PRIMARY ######
Dark Grey #222222 ###### SECONDARY ######
Light Grey #cccccc ###### ACCENT ######

*/


/* -- Prevents SLIDESJS from flickering -- */
#slides {
  display:none;
}

body {
	background-color: #ffffff;
	font-family: 'Oxygen', sans-serif;
	margin: 0;
	padding: 0;
	width: 100%;
}

h1 {
	color: #666;
	font-size: 30px;
	font-weight: 300;
	line-height: 30px;
	margin: 0 0 20px 0;
}

h2 {
	color: #cf781b;
	font-size: 20px;
	font-weight: 700;
	line-height: 20px;
	margin: 0 0 10px 0;
}

h3 {
	color: #cf781b;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	margin: 0 0 10px 0;
}

p {
	color: #666;
	font-size: 15px;
	font-weight: 400;
	line-height: 20px;
	margin: 0 0 20px 0;
}

ul {
	list-style: none;
}

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

a:hover {
	color: #cf781b;
	text-decoration: underline;
}

.container a {
	color: #cf781b;
}

hr {
	display: block;
	width: 100%;
	margin: 6px 0px;
	padding: 0px;
	border: 0px;
	border-top: 1px solid #aaa;
}

.container {
	margin: 0 auto;
	width: 960px;
    overflow: hidden;
}

.button {
	background-color: #666;
	border: 1px solid #666;
	border-radius: 4px;
	box-shadow: inset 0 1px 2px rgba(255,255,255,0.2), 0 2px 4px rgba(0,0,0,0.2);
	color: #ffffff;
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 10px;
}

.button:hover {
	background-color: #cf781b;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
	color: #666;
	text-decoration: none;
}

iframe.map {
	display: block;
	width: 460px;
	height: 300px;
	margin: 10px 0px;
	padding: 0;
	border: 0;
}

.leftcol {
	float: left;
	width: 380px;
	margin-right: 40px;
}

.leftcol p {
	margin-bottom: 5px;
}

.rightcol {
	float: left;
	width: 460px;
}

.form_field .label{
	width: 100px;
	float: left;
}
.form_field input, .form_field textarea{
	width:250px;
	margin: 5px 0;
}

.s-show{display:none;}
/* --------------- HEADER ---------------- */


#header {
	padding: 40px 0 20px 0;
	border-bottom: 2px solid #666;
	background-color: #fff;
}

.header-logo,
.header-info {
	display: inline-block;
	margin: 0 15px 0px 20px;
	vertical-align: middle;
	width: 440px;
}

.header-logo img{
	max-width: 400px;
	max-height: 150px;
}

.header-info {
	text-align: right;
}

.header-info p {
	margin: 0 0 5px 0;
	color: #000;
}

.header-navigation ul{
	margin: 30px 0 0 0;
	text-align: center;
}

.header-navigation li{
	display: inline;
	font-weight: 800;
}

.header-navigation li a{
	border-radius: 4px;
	color: #cf781b;
	margin: 0 5px;
	padding: 10px 20px;
	text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.header-navigation  a:hover {
	background-color: #cf781b;
	color: #ffffff;
	text-decoration: none;
}

.header-navigation .active a {
	background-color: #666;
	color: #ffffff;
}

.socialmedia {
	display: inline-block;
	width: 32px;
	height: 32px;
	margin: 0px 0px 0px 0px;
	text-indent: -9999px;
	overflow: hidden;
}
.socialmedia.twitter {background: url('/images/icon-twitter.png') no-repeat center; background-size:100%;}
.socialmedia.facebook {background: url('/images/icon-facebook.png') no-repeat center; background-size:100%;}
.socialmedia.flickr {background: url('/images/icon-flickr.png') no-repeat center; background-size:100%;}
.socialmedia.gplus {background: url('/images/icon-gplus.png') no-repeat center; background-size:100%;}
.socialmedia.youtube {background: url('/images/icon-youtube.png') no-repeat center; background-size:100%;}
.socialmedia.linkedin {background: url('/images/icon-linkedin.png') no-repeat center; background-size:100%;}
.socialmedia.pinterest {background: url('/images/icon-pinterest.png') no-repeat center; background-size:100%;}
.socialmedia.houzz {background: url('/images/icon-houzz.png') no-repeat center; background-size:100%;}




/* ----------- CAROUSEL (home) ----------- */

#carousel {
	background-color: #cf781b;
	background-image: url('images/background-texture-brick.png');
	padding: 20px 0;
	text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

#slides {
	background-color: #ffffff;
	box-shadow: 0 4px 5px rgba(0,0,0,0.3);
	margin: 20px;
	text-align: center;
	overflow: hidden;
	position: relative;
}

#slides img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.slidesjs-navigation {
	background-color: #ffffff;
	background-image: url('images/carousel-arrows.png');
	height: 60px;
	position: absolute;
	width: 40px;
	z-index: 20;
}

.slidesjs-previous {
	position:absolute;
	border-radius: 0 30px 30px 0;
	box-shadow: 4px 0 4px rgba(0,0,0,0.3);
	left: 0px;
	top: 175px;
}

.slidesjs-next {
	position:absolute;
	background-position: -40px 0;
	border-radius: 30px 0 0 30px;
	box-shadow: -4px 0 4px rgba(0,0,0,0.3);
	right: 0px;
	top: 175px;
}

/* ----------- CONTENT (secondary pages) ----------- */

#content {
	background-color: #cf781b;
	background-image: url('images/background-texture-brick.png');
	padding: 40px 0;
}

#content .container {
	background-color: #ffffff;
	border: 20px solid #ffffff;
	box-shadow: 0 4px 5px rgba(0,0,0,0.3);
	width: 880px;
}

#content .block-quote{
	border-top: 2px solid #cf781b;
	border-bottom: 2px solid #cf781b;
	color: #cf781b;
	font-style: italic;
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 15px 0;
	text-align: center;
}

.contractors .contractor{
	width:50%;
	float:left;
	margin-bottom:20px;
}
.contractors .contractor h3{
	color: #cf781b;
	font-size: 15px;
}
.contractors .contractor a, .flyer a{
	color: #cf781b !important;
}
.contractors .contractor p{
	margin: 0px;
}

/* ----------- CONTENT (products/services/news pages) ----------- */

#products-navigation,
#services-navigation,
#news-navigation {
	display: inline-block;
	vertical-align: top;
	width: 200px;
}

#products-navigation ul,
#services-navigation ul,
#news-navigation ul {
	margin: 40px 0 0 0;
	padding: 0;
}

#products-navigation,
#services-navigation,
#news-navigation li{
	font-weight: 800;
}

#products-navigation li a,
#services-navigation li a,
#news-navigation li a{
	border-radius: 4px;
	color: #666;
	display: block;
	margin: 2px 5px;
	padding: 5px 10px;
	text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

#products-navigation a:hover ,
#services-navigation a:hover ,
#news-navigation  a:hover {
	background-color: #cf781b;
	color: #ffffff;
	text-decoration: none;
}

#products-navigation .active a,
#services-navigation .active a,
#news-navigation .active a {
	background-color: #666;
	color: #ffffff;
}

#products-content,
#services-content,
#news-content {
	display: inline-block;
	margin: 0 0 0 40px;
	width: 620px;
}

#products-content img,
#services-content img,
#news-content img {
	height: auto;
	width: 100%;
}

.news-content-article {
	border-bottom: 1px solid #cf781b;
	margin-bottom: 20px;
	padding-bottom: 20px
}

.news-content-category {
	color: #cf781b;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	margin: 0;
}

.news-content-date {
	color: #cf781b;
	font-size: 12px;
	font-weight: 700;
	line-height: 20px;
	margin: 0 0 20px 0;
}

/* ----------- NEWSLETTER BAR ------------ */

#newsletter-bar {
	width: 100%;
	height: 35px;
	background-color: #cf781b;
	margin: 0;
	padding: 0;
}
#newsletter-bar p {
	margin: 0 20px;
	padding: 0 0 0 25px;
	line-height: 35px;
	color: #ffffff;
	font-size: 13px;
	background: url('images/envelope.png') no-repeat left;
}
#newsletter-bar a:link,
#newsletter-bar a:visited { color: #fff; text-decoration: none;}
#newsletter-bar a:hover,
#newsletter-bar a:active,
#newsletter-bar a:focus { color: #fff; text-decoration: underline;}


.newsletter-form label {
	float: left; width: 150px;
	padding: 3px;
	margin: 5px 0px;
}
.textbox {
	width: 300px;
	height: 20px;
	padding: 3px;
	margin: 5px 0px;
	color: #666;
	font-family: 'Oxygen', sans-serif;
	border: 1px solid #ccc;
	font-size: 14px;
	outline: 0;
}

.cont-name {
font-size: 17px;
}


/* ----------- LEADERS (home) ------------ */


#home-leaders {
	background-color: #666;
	background-image: url('images/background-texture-wood.png');
	padding: 80px 0;
	text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

#home-leaders p,
#home-leaders h1 {
		color: #ffffff;
}

#home-leaders .leaders-featured,
#home-leaders .leaders-news {
	display: inline-block;
	margin: 0 15px -5px 20px;
	vertical-align: top;
	width: 440px;
}

#home-leaders .leaders-featured-item,
#home-leaders .leaders-news-item  {
	width: 440px;
}

#home-leaders .leaders-news-item  {
	margin-bottom: 60px;
}

#home-leaders .leaders-featured-item img{
	border: 10px solid #ffffff;
	box-shadow: 0 4px 5px rgba(0,0,0,0.3);
	height: auto;
	margin: 0 0 20px 0;
	width: 420px;
}

#home-leaders .leaders-featured .button,
#home-leaders .leaders-news .button {
	margin-top: 10px;
}

/* ----------- LEADERS (other pages) ------------ */


#leaders {
	background-color: #666;
	background-image: url('images/background-texture-wood.png');
	padding: 40px 0;
	text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

#leaders h1 {
		color: #ffffff;
		font-size: 20px;
}

#leaders h2 {
		font-size: 15px;
}

#leaders p {
		font-size: 12px;
}

#leaders p,
#leaders h1 {
		color: #ffffff;
}

#leaders .leaders-featured {
	display: inline-block;
	margin: 0 15px -5px 20px;
	vertical-align: top;
	width: 220px;
}

#leaders .leaders-news {
	display: inline-block;
	margin: 0 15px -5px 20px;
	vertical-align: top;
}

#leaders .leaders-featured-item,
#leaders .leaders-news-item  {
	width: 205px;
	margin: 0 15px 0 0;
	float: left;
}

#leaders .leaders-featured-item p {
	display: none;
}

#leaders .leaders-featured-item img{
	border: 5px solid #ffffff;
	box-shadow: 0 4px 5px rgba(0,0,0,0.3);
	height: auto;
	margin: 0 0 10px 0;
	width: 210px;
}
#leaders .leaders-featured > .button,
#leaders .leaders-news > .button {
	margin-top: 10px;
}



/* --------------- FOOTER ---------------- */

#footer {
	margin: 20px 0;
}

.footer-navigation ul{
	margin: 0 0 20px 0;
	text-align: center;
}

.footer-navigation li{
	display: inline;
	margin: 0 20px 0 0;
}

.footer-info {
	text-align: center;
}

.footer-info p {
	display: inline;
	margin: 0 10px 0 0;
}

.thumb {
	display: inline-block;
	margin-top: 3px;
	margin-left: 3px;
	width:100px !important;
	height:100px !important;
	background-position: center;
	background-color: #fff;
	background-repeat: no-repeat;
	background-size: contain;
}

.newsimage {
	float:right;
	width:200px !important;
	height:170px !important;
	margin: 0px 0px 20px 20px;
}

.pdf-download {
	display: block;
	background: url('/images/icon-pdf.png') no-repeat left;
	height: 32px;
	padding: 0px 0px 0px 47px;
	line-height: 32px;
}

.newsheader
{
height:auto;
}

.newscontent
{
height:100px;
}
.pagination .active{
	background:black;
}
.pagination li {
	width: 25px;
	float: left;
	border: 1px solid gray;
	margin-left: 10px;
	text-align: center;
}
.pagination li:hover{
	background:black;
}
.pagination li a{
	color:balck;
}

.readmore
{
text-decoration:underline;
}

.photo_gallery a{
	margin-right:10px;
}
.photo_gallery img{
	height: 150px !important;
	width: 150px !important;
}

a.flyer{
	background: url('/images/pdf-icon-small.png') no-repeat left;
	line-height: 30px;
	padding-left: 30px;
	color:black;
}

.pipes
{
padding-left:6px;
padding-right:6px;
}

.half-width
{
	width:310px;
}

.full-width
{
	width:880px;
}

.clearfix
{
clear:both;
}

.nav-open {
	width: 35px;
	height: auto;
}

.mobile-nav-button {
width: 94% !important;
text-align: center;
font-size: 20px !important;
}

#products-navigation ul,
#news-navigation ul{
width: 100% !important;
text-align: center;
}

#nav-slide-out:target {
	top:0px;
 	background-color: #000;
}

.nav-slide-out {
 	position:absolute;
 	width: 100%;
    height: auto;
    top:-500px;
 	overflow:hidden;
 	z-index:2000;
 	background-color: rgba(80,80,80,0);
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.25);
 	transition: background 0.2s linear, top 0.2s linear;
}

.nav-slide-out ul{
	margin-top: 40px;
	padding-left: 0;
}

.nav-slide-out ul>li {
	display: block;
	text-align: center;
	padding: 15px 0;
	border-bottom: 1px solid rgba(255,255,255,0.25);
	text-shadow: 0 -1px 0 rgba(0,0,0,0.5);
	box-shadow: inset 0 -1px 0 rgba(0,0,0,0.25);
}

.nav-slide-out ul>li>a:link,.nav-slide-out ul>li>a:visited,.nav-slide-out ul>li>a:hover,.nav-slide-out ul>li>a:active {
	color:  #cf781b;
	text-decoration: none;
}

.nav-slide-out-social-media {
	font-family: 'socicon';
	font-size: 35px;
	text-align: center;
	margin-top: 10px;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.5);
}

.nav-slide-out-social-media a:link, .nav-slide-out-social-media a:visited, .nav-slide-out-social-media a:hover, .nav-slide-out-social-media a:active {
	color: rgb(255,255,255);
	text-decoration: none;
}

.nav-close {
	width: 35px;
	height: 40px;
	float: right;
	margin-right: 5%;
	background-image: url('images/nav-close.png');
	background-size: 35px 40px;
}

#products-navigation ul, #news-navigation ul { display: block; }

	.mobile-selector {
		display: none;
	}

/* Portrait tablet to landscape and desktop */
@media (min-width: 740px) and (max-width: 979px) {

	.header-navigation, .footer-navigation { display: none; }
	#header { padding-top: 5px; }

	.s-show { display: block; }

	.nav-open {
		float: none;
		margin-left: 3%;
		margin-bottom: 10px;
	}

	.container {
		width: 100%;
	}

	.header-logo, .header-info {
		width: 45%;
	}

	#content .container {
		width: 92%
	}

    #content .container img {
      width: 100%;
      height: auto;
    }

.cont-name {
font-size: 17px;
}

	#content {
		padding: 20px 0;
	}

	.full-width {
		width: 100%;
		height: auto;
	}

	#home-leaders .leaders-featured-item img {
		width: 50%;
		height: auto;
	}

	.slidesjs-previous, .slidesjs-next {
		top: 130px;
	}

	#products-navigation, #services-navigation, #news-navigation {
		width: 100%;
	}

	#products-content, #services-content, #news-content {
		margin: 0 0 0 12px;
	}

	#products-navigation ul, #news-navigation ul {
		display: none;
		margin: 5px 0 20px 0;
	}

	.mobile-selector {
		display: block;
		margin-bottom: 5px;
	}

	.social-icons {
		position: absolute;
		top: 0;
		right: 0;
		margin: 10px 5px;
	}

}

/* Extra small devices (phones, less than 739px) */
@media (max-width: 739px) {

	#header { padding-top: 5px; }

	.nav-open {
		float: none;
		margin-left: 5%;
		margin-bottom: 10px;
	}

.cont-name {
font-size: 17px !important;
}

	.header-navigation, .footer-navigation, .slidesjs-previous, .slidesjs-next { display:none; }
	.s-show { display:block; }


	.container, #home-leaders .leaders-featured, #home-leaders .leaders-news, #home-leaders .leaders-featured-item {
		width: 100%;
	}

	#content {
		padding: 10px 0;
	}

	#content .container {
		width: 92%;
		border: none;
		padding: 5px;
	}

    #content .container img {
    width: 100%;
    height: auto;
    }

	.full-width {
		width: 94%;
		height: auto;
	}

	#home-leaders .leaders-news-item {
		width: 90%;
		margin-right: 15px;
		margin-bottom: 30px;
	}

	#home-leaders .leaders-news {
		margin-top: 15px;
	}

	.header-logo, .header-info {
		width: 100%;
		margin: 0;
		text-align: center;
	}

	.header-info { margin-top: 15px; }

	#home-leaders .leaders-featured-item img {
		width: 50%;
		height: auto;
	}

	#newsletter-bar p {
		font-size: 11px;
		text-align: center;

	}

	.footer-info p {
		font-size: 12px;
		display: block;
		width: 95%;
	}

	#products-navigation, #services-navigation, #news-navigation {
		margin-bottom: 10px;
		width: 100%;
	}

	#products-navigation li a, #services-navigation li a, #news-navigation li a {
		margin: 2px 0;
		padding: 5px;
	}

	#products-content, #services-content, #news-content {
		margin: 0 0 0 5px;
		width: 92%;
	}

	iframe, object, embed {
        max-width: 100%;
	}

	.leftcol {
		margin-right: 0;
		width: 100%;
	}

	.rightcol {
		width: 100%;
	}

	table {
		width: auto;
	}

	#products-navigation ul, #news-navigation ul {
		display: none;
		margin: 5px 0 20px 0;
	}

	.mobile-selector {
		display: block;
		margin-bottom: 5px;
	}

	.social-icons {
		position: absolute;
		top: 0;
		right: 0;
		margin: 10px 5px;
	}

    .contractors .contractor {
    width: 100%;
    }

    .contractors .contractor  h1 {
    font-size: 24px;
    }


}
