
/*!
* 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 ######

*/

@import url(https://fonts.googleapis.com/css?family=Squada+One);
@import url(https://fonts.googleapis.com/css?family=Arimo);


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

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

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

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

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

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

ul {
list-style: none;
}

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

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


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

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

.button > a{
color: #501604;
}

.button {
background-color: #febd1c;
border: 1px solid #501604;
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: #501604;
display: inline-block;
font-size: 12px;
font-weight: 700;
padding: 5px 10px;
}

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



iframe.map {
width: 100%;
height: 300px;
margin: 30px 0px;
padding: 0;
border: 0;
}

.leftcol {
float: left;
width: 380px;
margin-right: 40px;
}
.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 {
text-align: center;
background-color: #501604 !important;
background-image: url('images/lou-header.jpg');
background-position:center;
background-repeat:no-repeat;
background-size: cover;
}

.header-logo {
background-color: rgba(203,195,196,0.4);
display: inline-block;
height: 210px;
width: 100%;
}

.header-logo a img {
max-height: 200px;
width: auto;
margin: 25px 0;
}

.overlay {

}

#header .container {
width: 100%;
padding-top:40px;

}

.header-info {
display: none;
}

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

.header-navigation ul{
width: 100%;
background-color: #501604;	margin: 30px 0 0 0;
padding: 10px 0;
text-align: center;
}

.header-navigation li{
display: inline;
}

.header-navigation li a{
font-family: 'Squada One', cursive;
font-size: 22px;
border-radius: 4px;
color: #febd1c;
margin: 0 5px;
padding: 20px;
}

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

.header-navigation .active a {
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: #febd1c;
background-image: url('images/purty_wood.png');
background-attachment:fixed;
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 {
padding: 40px 0;
background-color: #501604;}

#content .container {
width: 960px;
background-color:#fff;
padding:10px;
}

#content p,
#content h1 {
color: #501604;
}

#content .block-quote{
font-size: 18px;
background-color: #501604;
color: #ffffff;
font-style: italic;
margin-top: 30px;
margin-bottom: 30px;
padding: 30px;
text-align: center;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0,0,0,0.25);
}

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

.photo_gallery img{
height: 150px !important;
width: 150px !important;
}

.photo_gallery img:hover {
cursor:zoom-in;
}

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

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

#content {
background-color: #febd1c;
background-image: url('images/purty_wood.png');
padding: 40px 0;
background-attachment:fixed;
}

#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 #501604;
border-bottom: 2px solid #501604;
color: #febd1c;
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: #febd1c;
font-size: 15px;
}
.contractors .contractor a, .flyer a{
color: #501604 !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;
padding-top:5px;
}

#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: #501604;
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: #501604;
color: #ffffff;
text-decoration: none;
}

#products-navigation .active a,
#services-navigation .active a,
#news-navigation .active a {
background-color: #501604;
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 #febd1c;
margin-bottom: 20px;
padding-bottom: 20px
}

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

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

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

#newsletter-bar {
width: 100%;
height: 35px;
background-color: #501604;
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: #501604;
font-family: 'Arimo', sans-serif;
border: 1px solid #ccc;
font-size: 14px;
outline: 0;
}

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


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

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

#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 #501604;
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: #501604;
background-image: url('images/batthern.png');
padding: 40px 0;
text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

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

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

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

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

#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 #501604;
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;
}

div.footer-navigation > ul > li.active > a {
color:#501604 !important;
}

.footer-info {
text-align: center;
padding-left:25px;
}

.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:40px;
}

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

}

.pagination li:hover a {
color:#febd1c !important;
}

.active  a {
color:#febd1c !important;
}
.pagination li a{
color:#501604;
}

.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;
}

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

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

.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: #fff;
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) {

#products-navigation, #services-navigation, #news-navigation {
width: 98% !important;
}

.header-logo {
height: 130px;
}

.header-logo a img {
height: 120px;
width: auto;
}

.container, #content .container {
width: 100%;
}

#header .container {
padding-top: 0;
}

.header-navigation { display: none; }

#content .container {
width: 92%
}

#content {
padding: 20px 0;
}

.s-show { display: block; }


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

#home-leaders .leaders-featured, #home-leaders .leaders-news {
padding: 0 0 12px 15px;
float: none;
margin-left: 0;
}

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

#leaders .leaders-featured {
width: 100%;
text-align: center;
}

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

#leaders .leaders-news {
width: 100%;
margin-top: 10px;
padding: 0;
}

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

}

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

#products-navigation, #services-navigation, #news-navigation {
width: 98% !important;
}

.s-show { display:block; }

#header .container {
padding-top: 0;
}

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

.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;
}


#home-leaders {
overflow: hidden;
}
#home-leaders .leaders-featured, #home-leaders .leaders-news {
margin: 0;
}

#home-leaders h1, #home-leaders .leaders-featured-item {
margin-left: 10px;
}

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

.header-logo {
height: 130px;
}

.header-logo a img {
max-height: 100px;
width: 100%;
}

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

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


#leaders h1, .leaders-news-item {
margin-left: 10px;
}

.leaders-news-item {
padding-right: 15px;
}


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

#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%;
margin-top: 30px;
}

table {
width: auto;
}

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

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

#products-content h1, #services-content h1, #news-content h1 {
margin-left: 0;
}

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

}

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

.contractors .contractor {
width: 100%;
}

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


}
