/*
Theme Name:	Wilton Bradley
Theme URI: http://wiltonbradley.com
Description: Basic Wiltonbradley theme
Version: 1.0
Author: Craig King
Author URI: http://wiltonbradley.com
Tags:
*/

/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  color: #333;
  font-family: 'Open Sans';
  font-weight: 400;
	background-color: #ededed;
}

/* Top Header */
#top_header{
	margin: 0;
	height: 40px;
	line-height: 40px;
  font-size: 0.9em;
}

#top_header .container{
	position: relative;
}

#top_header ul{
	list-style: outside none none;
	padding: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}

#top_header ul li{
	float: right;
	border-right: 2px solid #e0e0e0;
	padding: 0 1em;
}

#top_header ul li:last-child{
	border-left: 2px solid #e0e0e0;
}

#top_header ul li > span{
	margin-right: 5px;
  font-size: 17px;
  top: 4px;
  color: #01619e;
}

#top_header ul li a{
	display: inline-block;
}

#top_header .tagline{
	float: left;
	font-weight: bold;
	font-style: italic;
}

/* Main header space */
#header{
  margin: 0;
  height: 90px;
	background-color: #fff;
}

#header_logo{
  margin-top: 3px;
}

#b2b_store {
  margin-top: 20px;
}

#b2b_store .btn,
#b2b_store_mobile .btn {
  border-radius: 0;
  background-color: #fc0;
  line-height: 46px;
  padding: 0 30px;
	font-weight: bold;
}

#b2b_store_mobile{
  display: none;
}

/* HEADER MENU */

#top_menu .navbar-collapse{
  padding-right: 0;
  padding-left: 0;
}

#top_menu .navbar{
  border-radius: 0;
  background-color: #004799;
  border: none;
  margin-bottom: 0;
}

#top_menu .navbar a{
  color: #fff;
  line-height: 30px;
  padding: 15px 20px;
  text-transform: uppercase;
  border-right: 1px solid #013d83;
  font-weight: 600;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease;
}

#top_menu li:first-child a{
  border-left: 1px solid #013d83;
}

#top_menu .nav > li > a:focus,
#top_menu .nav > li > a:hover,
#top_menu .current-menu-item{
  background-color: rgba(0, 0, 0, 0.2);
  transition: all .2s ease;
}

#top_menu .navbar-toggle {
  background-color: rgba(0, 0, 0, 0.2);
}

#top_menu .navbar-toggle .icon-bar {
  background-color: #fff;
}

#top_menu .navbar-nav{
  margin: 0;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

#banner_image {
  padding-top: 20px;
  background-color: #fff;
  margin-left: 0;
  margin-right: 0;
}

#banner_image .header_block {
  float: left;
  margin: 0 0 20px 20px;
  background-size: cover;
  width: 48%;
  height: 500px;
}

#banner_image .header_block.half {
  height: 240px;
}

.header_block .header_block_content{
  height: 50%;
  margin: 25% auto 0;
  text-align: center;
  text-transform: uppercase;
  width: 70%;
}

.header_block.half .header_block_content{
  height: 50%;
  margin: 10% auto 0;
}

/* Since positioning the image, we need to help out the caption */

.header_block_content h1{
  font-weight: 800;
  font-size: 40px;
  padding-bottom: 20px;
  text-shadow: 1px 1px 2px #444;
}

.half .header_block_content h1{
  font-size: 30px;
}

.header_block_content p{
  font-weight: 600;
  font-size: 20px;
  padding-bottom: 20px;
  text-shadow: 1px 1px 2px #444;
}

.header_block_content .btn{
  border-radius: 2px;
  border: 2px solid;
  color: inherit;
	box-shadow: 1px 1px 3px #444;
	text-shadow: 1px 1px 1px #444;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
}

/* Main content */

.breadcrumb{
  background-color: transparent;
  font-size: 12px;
  margin-top: 10px;
	margin-bottom: 0;
}

.breadcrumb a{
  color: #5a5a5a;
}

.breadcrumb > li + li::before{
  content: "> ";
}

.main{
	background-color: #fff;
}

.main.container{
	padding-bottom: 1em;
  min-height: 350px;
}

h1{
	margin-top: 0;
}

h1.linethrough {
    margin-top: 30px;
    position: relative;
    text-align: center;
    z-index: 1;
}

h1.linethrough:before {
    border-top: 2px solid #dddddd;
    content:"";
    margin: 0 auto;
    position: absolute;
    top: 24px; left: 0; right: 0; bottom: 0;
    width: 100%;
    z-index: -1;
}

h1.linethrough span {
	background: #fff;
	padding: 0 30px;
}

h1.linethrough.grey span {
	background: #ededed;
}

#home-about-button{
	margin-top: 40px;
	text-align: center;
}

#home-about-button a.btn{
	border-radius: 2px;
  border: 2px solid #004799;
  text-transform: uppercase;
	color: #004799;
}

a.btn.widget,
span.btn.widget,
input[type=submit].btn,
button[type=submit].btn{
	border-radius: 2px;
  border: 2px solid #004799;
  text-transform: uppercase;
	color: #004799;
}

button.btn.btn-primary{
  background-color: #004799;
  color: #fff;
}

#home-whatwedo .textwidget {
  height: 80px;
  overflow: hidden;
  padding: 0 20px;
}

#home-whatwedo a.btn.widget{
	margin-top: 20px;
}

hr{
  border-color: #dddddd;
  border-width: 2px;
}

.pagecontent p {
    line-height: 24px;
}

.h3, h3 {
    font-size: 19px;
}

.post_banner_image {
  margin-top: 15px;
  width: 100%;
}

#page-content-careers table td{
  padding: 10px;
}

/* Contact Us Page */
#contact_sidebar{
	border-left: 2px solid #dddddd;
}

#contact_sidebar .widget-block {
	margin-bottom: 30px;
}

#contact_sidebar .widget-title{
	margin-bottom: 20px;
}

form .form-control{
	border-radius: 2px;
	height:45px;
}

form textarea.form-control{
	height:150px;
}

form .form-group label{
	font-weight: normal;
}

form .form-group label .required{
	color: #f00;
}

#signup-button {
  background-color: #004799;
  color: #fff;
  font-size: 25px;
  height: 80px;
  line-height: 80px;
  padding: 0 0 0 25px;
}

#signup-button .btn {
  background-color: #fc0;
  border-radius: 5px;
  font-weight: bold;
  margin: 1px auto 1px 30px;
  padding: 10px 35px;
  border: none;
}

/* Sign Up Page */
#post-163 .wpcf7-list-item{
  float: left;
  padding: 5px;
  width: 48%;
}

#post-163 .wpcf7-form-control.wpcf7-checkbox.form-control {
  height: auto;
  overflow: auto;
}

#footer-signup input.form-control{
	border-radius: 0;
    max-width: 600px;
    margin:  0 auto;
}

#footer-signup .btn{
	color: #fff;
	border: 2px solid #004799;
	background-color: #013d83;
}

#footer-signup .wpcf7-not-valid-tip{
	color: #fff;
}

/* branding overview page */
div.brand_block{
	border: 1px solid #ededed;
	padding: 20px;
	text-align: center;
	margin-bottom: 30px;
}

div.brand_block .image{
	background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom-width: 7px;
	border-bottom-style: solid;
  height: 164px;
  width: 100%;
	display: block;
}

div.brand_block .logo {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 27px;
  margin: 10px 0;
  width: 100%;
}

div.brand_block p {
  max-height: 72px;
	overflow: hidden;
  font-size: 0.9em;
}

#brands_sidebar > ul {
  list-style: outside none none;
  padding: 0;
}

#brands_sidebar > ul a {
  border-bottom: 1px solid #ededed;
  display: block;
  /*height: 40px;
  line-height: 40px;*/
  padding: 10px 0;
  width: 100%;
}

#brand_page .image{
	height: 320px;
	width: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	border-bottom-width: 7px;
	border-bottom-style: solid;
	margin-top: 10px;
	margin-bottom: 15px;
}

#brand_page h1{
  margin-top: 25px;
  margin-bottom: 25px;
}

#brand_page .form-control {
  border-radius: 2px;
  height: 40px;
  width: 95%;
}

#brand_page button {
  margin-top: 27px;
  width: 75%;
}

.brand_catalogue,
.brand_distributers{
	border-top: 2px solid #e7e7e7;
  margin-bottom: 40px;
}

/* Jobs page */

.job_stats_table{
	margin-top: 30px;
}

/* Tables */
table thead th {
  background-color: #004799;
	color: #fff;
}

table .heading > td {
  background-color: #ededed;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

#home-whatwedo {
  background-color: #ededed;
  padding-bottom: 3em;
}

#home-whatwedo h1{
  padding-bottom: 1em;
}

#home-whatwedo .col-md-3{
	text-align: center;
}

/* Footer */
footer{
  background-color: #004799;
  font-size: .9em;
	border-top: 5px solid #013d83;
	color: #fff;
}

footer a{
  color: #fff;
}

#footer{
  padding: 1.5em 0;
  overflow: auto;
}

#footer h4{
	border-bottom: 2px solid #013d83;
	color: #fff;
	font-size: 1.5em;
	padding-bottom: .8em;
}

#footer ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

#footer ul li{
  margin: 12px 0;
  padding-left: 25px;
  position: relative;
  word-wrap: break-word;
}

#footer ul li:before {
	background-image: url("images/footer_arrow.png");
  background-repeat: no-repeat;
  content: " ";
  height: 25px;
  left: -1px;
  position: absolute;
  top: 2px;
  width: 23px;
}

#footer ul li.footer_address:before {
	background-image: url("images/footer_address.png");
}

#footer ul li.footer_phone:before {
	background-image: url("images/footer_phone.png");
}

#footer ul li.footer_email:before {
	background-image: url("images/footer_email.png");
}

#footer a{
  color: #fff;
}

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

#subfooter{
  border-top: 2px solid #013d83;
  margin: 0;
  padding: 1.5em 0;
}

#subfooter a{
	color: #fff;
	text-decoration: underline;
}

/* 404 Page */
.pagecontent.pagenotfound > .row{
  margin-top: 50px;
}

.search-form input.form-control{
  width: 100%;
}



/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 0px) and (max-width: 370px)  {

  #top_header ul li{
  	padding: 0 0.3em;
    border-right: 1px solid #cbcbcb;
  }

  #top_header ul li span{
  	display: none;
  }

  #b2b_store_mobile {
    right: 70px !important;
    width: 110px !important;
  }

  #b2b_store_mobile a{
    padding: 5px 0 !important;
  }

  #banner_image {
    padding-top: 5px;
  }

}

@media (min-width: 0px) and (max-width: 450px)  {
	#header{
		display: none;
	}

  #top_menu .navbar{
    background-color: #fff;
    padding-top: 5px;
  }

  #top_menu .navbar-header{
    padding-bottom: 5px;
  }

  #top_menu a.navbar-brand{
    background-image: url("/wp-content/themes/nearnothing/images/WiltonBradleyLogo-2.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: transparent;
    border-right: none;
  }

  #b2b_store_mobile {
    height: 20px;
    position: absolute;
    right: 75px;
    width: 135px;
    display: block;
    top: 9px;
  }

  #b2b_store_mobile a.btn {
    border-right: none;
    padding: 5px 20px;
    color: #337ab7;
  }

  #top_menu .navbar-toggle{
    background-color: #013d83;
  }

  #navbar{
    background-color: #013d83;
  }

  #banner_image {
    padding-top: 10px;
  }

  #banner_image .container{
    padding-left: 0;
    padding-right: 0;
  }

  #banner_image .header_block {
    height: 400px !important;
    margin: 0 0 20px 4%;
  }

  #banner_image .header_block.half {
    height: 240px !important;
  }

  .half .header_block_content .btn{
    font-size: 11px;
  }

  #signup-button {
    font-size: 18px;
    line-height: 36px;
  }

  #footer > div{
    padding-left: 30px;
  }

  .content #brand_page div.image{
    height: 180px;
  }

}

@media (min-width: 450px) and (max-width: 650px)  {

  #signup-button {
    font-size: 19px;
    line-height: 36px;
  }

  .content #brand_page div.image{
    height: 220px;
  }

}

@media (min-width: 0px) and (max-width: 767px)  {

	#home-whatwedo .col-md-3{
		margin-bottom: 30px;
	}

  #banner_image .header_block {
    float: none;
    width: 92%;
    height: 450px;
  }

  .header_block .header_block_content{
    margin-top: 0px;
    padding-top: 20%;
    width: 100%;
  }

  .header_block.half .header_block_content{
    margin-top: 0px;
    padding-top: 10%;
    width: 100%;
  }

  #signup-button {
    font-size: 19px;
  }

  #brand_page button,
  #brand_page .form-control{
    width: 100%;
    margin-top: 0;
  }

  #brand_page div.image{
    height: 250px;
  }

  #footer div.col-md-15{
    padding-bottom: 20px;
  }

}


@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {

  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  #home-whatwedo .col-md-3{
    margin-bottom: 30px;
  }

	#top_menu .navbar a {
    line-height: 15px;
    max-width: 94px;
    min-height: 60px;
    padding: 15px 5px;
    text-align: center;
	}

  #banner_image .header_block {
    width: 47%;
  }

  .header_block .header_block_content{
    width: 100%;
  }

  .header_block.half .header_block_content{
    margin: 17% auto 0;
  }

  .header_block_content h1{
    font-size: 30px;
  }

  .half .header_block_content h1{
    font-size: 25px;
  }

  .header_block_content .btn{
    font-size: 13px;
    font-weight: 500;
    padding: 5px 10px;
  }

  #signup-button {
    font-size: 19px;
  }

  #brand_page button,
  #brand_page .form-control{
    width: 100%
  }

  #footer div.col-md-15{
    padding-bottom: 20px;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {

	#top_menu .navbar a{
		padding: 13px;
	}

  #banner_image .header_block {
    width: 47%;
  }

  .header_block .header_block_content{
    width: 100%;
  }

  #signup-button {
    font-size: 19px;
  }
}

/* Boostrap Extention */
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
	position: relative;
	min-height: 1px;
	padding-right: 10px;
	padding-left: 50px;
}
.col-xs-15 {
	width: 20%;
	float: left;
}
@media (min-width: 768px) {
.col-sm-15 {
		width: 25%;
		float: left;
		padding-left: 10px;
	}
}
@media (min-width: 992px) {
	.col-md-15 {
		width: 25%;
		float: left;
		padding-left: 10px;
	}
}
@media (min-width: 1200px) {
	.col-lg-15 {
		width: 20%;
		float: left;
		padding-left: 10px;
	}
}
#footer .col-md-12 {
    text-align: center;
    padding-bottom:  20px;
}


/* comments */
	#comments {
		font-size: 0.9em;
	}
	#comments ol {
		margin: 0;
	}
	#comments li {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}
	#comments li ul {
		padding-left: 10px;
		margin-bottom: 0;
	}
	#comments .comment-body {
		padding: 10px 10px 0 10px;
		border-bottom: 1px solid #ccc;
	}
	#comments .comment-meta {
		font-size: 0.8em;
		padding-bottom: 0.5em;
	}
	#comments .reply {
		padding-bottom: 10px;
		font-size: 0.8em;
	}
	#comments .thread-even {
		background: #eee;
	}
	#comments .thread-odd {
		background: #ddd;
	}
	#respond {
		margin-top: 30px;
		padding: 10px;
	}
	#respond label {
		display: block;
	}
	#respond input, #respond textarea {
		font-family: Helvetica, sans-serif;
		font-size: 10pt;
}

/* wordpress classes */
	.alignleft {
		float: left;
		padding: 2px 8px 8px 2px;
	}
	.alignright {
		float: right;
		padding: 2px 2px 8px 8px;
	}
	.aligncenter {
		clear: both;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	.wp-caption-text, .gallery-caption {
		color: #666;
		font-size: 0.8em;
		padding: 3px 0;
	}
	.gallery {
		padding: 10px 10px 25px 10px;
	}

/* customize search widget here */
	.widget_search #searchform {
	}
	.widget_search #searchform label {
		display: block;
	}
	.widget_search #searchform #s {
		width: 100px;
	}
	.widget_search #searchsubmit {
	}

#b2b_store, #b2b_store_mobile{
  display: none;
}
