/* sourcebook */

.single-product article.product,
.single-company article.company {
	margin-top: 0;
}

article.product header,
article.company header {
	margin-top: 0;
}


article.product header h1.page-title {
	text-align: center;
	margin-bottom: 40px;
	color: #010101;
	position: relative;
	background: transparent;
	display: block;
	margin-top: 50px;
  	padding-left: 10px;
}

article.company header h1.page-title {
	text-align: left;
	margin-bottom: 40px;
	color: #fff;
	position: relative;
	background: transparent;
	float: left;
	display: block;
	margin-top: 50px;
  	padding-left: 10px;
}

article.product header h1.page-title.darktitle,
article.company header h1.page-title.darktitle {
	color: #010101;
}

article.product header.highlighted h1.page-title {
	color: #fff;
}

article.product header .entry-summary,
article.company header .entry-summary {
	text-align: left;
	float: left;
	position: relative;
	width: 65%;
	margin-top: 5px;
	margin-left: 15px;
	margin-bottom: 0;
}

article.product header h1.page-title {
	text-align: center;
	margin-bottom: 10px;
	margin-top: 35px;
}

article.product header .byline {
	display: block;
	text-align: center;
}

article.product header .byline a {
	color: #eb614f;
	font-weight: 700;
}

article.product header .image-gallery {
	margin-top: 10px;
	border-top: 1px solid #989898;
}

article.company header .company-circle {
	width: 200px;
	display: block;
	height: 200px;
	background-repeat: no-repeat;
	background-position: center center;
	margin: 30px 30px 10px;
	float: left;
}

article.product header .sourcebook-tag-header,
article.company header .sourcebook-tag-header {
	  /*height: 30px;
	  line-height: 30px;
	  padding-left: 10px;
	  padding-right: 10px;*/
	  font-weight: 700;
	  font-size: 16px;
	  color: #757575;
	  padding: 15px 24px;
	  border-bottom: 1px solid #ededed;
}

article.product header .sourcebook-tag-header a,
article.company header .sourcebook-tag-header a {
	  /*line-height: 30px;*/
	  padding-left: 10px;
	  padding-right: 10px;
	  font-weight: 700;
	  font-size: 16px;
	  color: #757575;
}

article.product header .sourcebook-tag-header-border,
article.company header .sourcebook-tag-header-border {
    border-bottom: 1px solid #757575;
}

article.company header .company-circle span {
	width: 200px;
	height: 200px;
	display: block;
	background-position: center;
	position: relative;
	background-size: cover;
}

article.company header .sourcebook-company-banner {
	width: 100%;
	height: 140px;
  	background-position: center;
  	background-size: cover;
	position: absolute;
}

article.company header .sourcebook-company-banner .tinted-overlay {
	  width: 100%;
	  height: 100%;
	  background: rgba(0,0,0,0.25);
}

article.company header .company-social-group {
    position: relative;
    clear: both;
}

article.company header  .company-social-icons {
  	float: left;
	position: relative;
	width: 200px;
  	margin: 0 30px 10px;
	text-align: center;
}

article.company header  .company-social-icons .sourcebook-social,
article.company header  .company-social-icons .sourcebook-social p {
  	margin: 0;
}

article.company header  .company-social-icons .sourcebook-social a.sourcebook-social-icon,
article.company header  .company-social-icons .sourcebook-social a.sourcebook-social-icon:hover,
article.company header  .company-social-icons .sourcebook-social a.sourcebook-social-icon:visited {
  	font-size: 30px;
  	margin-right: 5px;
	color: #757575 !Important;
	line-height: 44px;
}


article.company header  .company-social-buttons {
  	float: left;
	position: relative;
	margin-left: 15px;
}

article.company header  .company-social-buttons a.button {
	margin: 0;
	background-color: #757575;
	color: #ffffff !Important;
	float: left;
	margin-right: 10px;
}


@media only screen and (max-width: 900px) {

	article.company header h1.page-title.large.didot {
    	font-size: 200%;
	}

	article.company header .entry-summary {
		width: 50%;
	}

	article.company header .company-social-icons {
	    float: none;
	    width: 90%;
	    text-align: center;
	    clear: both;
	}

	article.company header .company-social-buttons {
	    float: none;
	    clear: both;
	    text-align: center;
	}

	article.company header .company-social-buttons a.button {
	    float: none;
	}

	article.product .company-social-buttons {
	    float: right;
	    padding-left: 0 !Important;
	    padding-top: 5px;
	    width: 100%;
	}

	article.product .company-social-buttons a {
	    color: #ffffff !Important;
	    background-color: #989898 !Important;
	    margin-top: 0px;
	    font-weight: 500;
	    width: 32.91%;
		max-width: 32.91%;
	}

}

@media only screen and (max-width: 750px) {

	article.company header h1.page-title.large.didot {
    	font-size: 150%;
	}

}

@media only screen and (max-width: 640px) {

	article.product .company-social-buttons a {
	    color: #ffffff !Important;
	    background-color: #989898 !Important;
	    margin-top: 0px;
	    font-weight: 500;
		width: 32.5%;
    	vertical-align: top;
	}

}

@media only screen and (max-width: 575px) {
	article.company header .entry-summary {
	    width: 90%;
	    margin-left: 30px;
	}

	article.company header .company-circle span {
	    width: 60%;
	    height: 300px;
	    display: block;
	    background-position: center;
	    background-size: contain;
		margin: 0 auto;
	    background-repeat: no-repeat;
	}

	article.company header .company-circle {
		width: 60%;
	    height: 300px;
	    display: block;
	    background-position: center;
	    background-size: contain;
	    margin: 0 auto;
	    background-repeat: no-repeat;
		text-align: center;
		float: none;
	}

	article.company header h1.page-title.large.didot {
	    font-size: 250%;
	    color: #010101;
	    width: 90%;
	    margin-left: 30px;
	    text-align: center;
	    margin-top: 10px;
	    margin-bottom: 20px;
	}
}

article.product footer.page-footer,
article.company footer.page-footer {
	margin: 0 12px;
	background: #fff;
}

article.company footer.page-footer .post-tabs {
	background-color: #fff;
	border-bottom: 2px solid #4a596a;
	text-align: center;
	padding-top: 24px;
	overflow: hidden;
	position: relative;
	font-size: 0;
}

article.company footer.page-footer .post-tabs.highlighted {
	background-color: #000;
	border-bottom: 2px solid #fff;
	text-align: center;
	padding-top: 24px;
	overflow: hidden;
	position: relative;
	font-size: 0;
}

article.product footer.page-footer .post-tabs.highlighted {
	background-color: #000;
	border-bottom: 2px solid #fff;
	text-align: center;
	/*padding-top: 24px;*/
	overflow: hidden;
	position: relative;
	font-size: 0;
}

article.company footer.page-footer .post-tabs.centre {
	text-align: center;#
}

article.product footer.page-footer .post-tabs {
	background-color: #fff;
	border-bottom: 2px solid #4a596a;
	text-align: center;
	padding-top: 40px;
	overflow: hidden;
	position: relative;
}

article.company footer.page-footer .post-tabs a.post-tab {
	color: #010101;
	display: inline-block;
	width: 100%;
	height: 43px;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 14px;
	margin-right: 0;
	margin-top: 5px;
	font-weight: 700;
	font-size: 14px;
	/*float: left;*/
}

@media only screen and (min-width: 500px) {
	article.company footer.page-footer .post-tabs {
		white-space: nowrap;
	}
	.flexbox article.company footer.page-footer .post-tabs {
		white-space: normal;
		/*display: flex;*/
		/*flex-direction: row*/
	}
	article.company footer.page-footer .post-tabs a.post-tab {
		width: 19%;
		margin-right: 1%;
	}
}

article.product footer.page-footer .post-tabs a.post-tab {
	color: #010101;
	display: inline-block;
	width: 19%;
	min-height: 43px;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 14px;
	margin-right: 9px;
	font-weight: 700;
	font-size: 14px;
}

article.product footer.page-footer .post-tabs.centre a.post-tab,
article.company footer.page-footer .post-tabs.centre a.post-tab {
	float: none;
	margin: 5px auto 0 !Important;
}

article.product footer.page-footer .post-tabs.highlighted a.post-tab,
article.company footer.page-footer .post-tabs.highlighted a.post-tab {
	background-color: #3a3a3a;
	color: #ffffff;
}

article.company footer.page-footer .post-tabs a.post-tab.blue,
article.product footer.page-footer .post-tabs a.post-tab.blue,
article.product footer.page-footer .post-tabs.centre a.post-tab.blue,
article.company footer.page-footer .post-tabs.centre a.post-tab.blue {
	background-color: #1fb9c7;
	color: #fff;
}

article.product footer.page-footer .post-tabs a.post-tab.active,
article.company footer.page-footer .post-tabs a.post-tab.active {
	color: #ffffff;
	background-color: #4a596a;
}

article.product footer.page-footer .post-tabs.highlighted a.post-tab.active,
article.company footer.page-footer .post-tabs.highlighted a.post-tab.active {
	color: #1b1b1b !Important;
	background-color: #ffffff;
}

article.product footer.page-footer .post-tabs-content div.post-tab-content,
article.company footer.page-footer .post-tabs-content div.post-tab-content {
	display: none;
	padding-bottom: 40px;
  	padding-top: 40px;
	overflow: hidden;
	font-size: 15px;
}

article.product footer.page-footer .post-tabs-content div.post-tab-content.tab-page-about div,
article.company footer.page-footer .post-tabs-content div.post-tab-content.tab-page-about div,
article.product footer.page-footer .post-tabs-content div.post-tab-content.tab-page-productcompany div {
	margin: 20px auto;
    max-width: 84%;
}

article.company footer.page-footer .post-tabs-content div.post-tab-content.tab-page-companyfeatured {
	padding-bottom: 10px;
}

article.product footer.page-footer .post-tabs-content div.tab-page-documents,
article.company footer.page-footer .post-tabs-content div.tab-page-documents {
  	padding-top: 5px;
}

article.company footer.page-footer .post-tabs-content div.tab-page-companyfeatured,
article.product footer.page-footer .post-tabs-content div.tab-page-products,
article.company footer.page-footer .post-tabs-content div.tab-page-products,
article.product footer.page-footer .post-tabs-content div.tab-page-productmore {
  	padding-top: 17px;
}

article.product footer.page-footer .post-tabs-content div.tab-page-products article,
article.company footer.page-footer .post-tabs-content div.tab-page-products article,
article.product footer.page-footer .post-tabs-content div.tab-page-productmore article {
  	padding: 0 !Important;
}

article.product footer.page-footer .post-tabs-content div.tab-page-products,
article.company footer.page-footer .post-tabs-content div.tab-page-products {
  	padding-top: 0;
	padding-bottom: 0;
}

article.company footer.page-footer .post-tabs-content div.gallery-copy {
    margin-top: 17px;
    margin-bottom: 17px;
    display: block;
    overflow: hidden;
}

article.product footer.page-footer .post-tabs-content div.post-tab-content.active,
article.company footer.page-footer .post-tabs-content div.post-tab-content.active {
	display: block;
}

article.product footer.page-footer .post-tabs a.post-tab:last-of-type,
article.company footer.page-footer .post-tabs a.post-tab:last-of-type {
	margin-right: 0;
}

article.company footer.page-footer .post-tabs-content .tab-page-exhibiting .exhibitionlogo,
article.product footer.page-footer .post-tabs-content .tab-page-productexhibiting .exhibitionlogo {
	margin: 20px auto;
  	max-width: 84%;
}

article.product footer.page-footer .post-tabs-content .tab-page-productcompany a {
  color: #1fb9c7;
}

.sourcebook-header {
  	margin: 20px 12px 10px;
	position: relative;
}

.sourcebook-header h2 {
	min-height: 50px;
	line-height: 50px;
	background: #2d3946;
	color: #fff;
	text-align: center;
	font-size: 27px;
}

.sourcebook-header h2 a {
	color: #fff;
}

.sourcebook-header h2 a.sourcebook-title:hover {
	text-decoration: underline;
}

.sourcebook-header h2 a.add-link {
  	position: absolute;
  	right: 20px;
    font-weight: bolder;
    font-size: 30px !Important;
	height: 50px;
    color: white !Important;
}

.sourcebook-header h2 a.add-link .add-link-text {
	display: inline-block;
	vertical-align: middle;
	height: 54px;
    padding-left: 10px;
    color: #fff;
    font-size: 16px;
    right: 20px;
    font-weight: bold;
}

.sourcebook-header .search-area {
	min-height: 80px;
	background: #4a596a;
}

.sourcebook-header .filter-area {
	min-height: 80px;
	background: #2d3946;
	display: none;
}

.sourcebook-header .search-area .searchbox {
	width: 100%;
    border-radius: 20px;
}

.sourcebook-header .search-area .searchmark {
	width: 70%;
	float: left;
	margin-left: 20px;
	margin-top: 18px;
}

.sourcebook-header .search-area .searchbox:disabled {
	background: #6e7a88;
	border: 1px solid #6e7a88;
}

.sourcebook-header .search-area a.products-links {
  	color: #fff;
  	float: right;
  	border: 1px solid #fff;
  	padding: 9px 30px;
  	margin-right: 20px;
  	margin-top: 18px;
    font-size: 16px;
    line-height: 22px;
}

.sourcebook-header .search-area a.products-links.enabled {
	color: #2d3946;
	background: #fff;
}

.sourcebook-header .filter-area input.filterbutton {
  	color: #fff;
  	float: right;
  	border: 1px solid #eb614f;
  	padding: 9px 30px;
  	margin-right: 20px;
  	margin-top: 18px;
	background-color: #eb614f;
}

.sourcebook-row2,
.sourcebook-row3 {
	margin-top: 30px;
}

.sourcebook-type-box {
	margin: 12px;
	background: #fff;
	padding: 0 !Important;
	text-align: center;
}

.sourcebook-type-box h3 {
	text-align: center;
	color: #4a596a;
	font-size: 21px;
	margin: 35px 0;
}

.sourcebook-type-box .taxonomy-wrap {
	height: 204px;
	width: 100%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}


/* drop down filters - widgets */
.sourcebook-choices > li.filter > a {
	background: transparent url('../images/down-arrow.png') no-repeat 95.85% center;
}

.sourcebook-choices > li.filter.active > a {
	background: transparent url('../images/up-arrow.png') no-repeat 95.8% center;
}

.sourcebook-type-box li.filter > ul {
	display: none;
	opacity: 1;
}

.sourcebook-type-box > ul.active,
.sourcebook-type-box li.active > ul {
	display: block;
	margin-top: 4px;
	z-index: 1001;
}

.sourcebook-type-box li.filter {
	display: inline-block;
	margin: 0 18px 0 0;
	position: relative;
	width: 18%;
	border: 1px solid #4a596a;
	background: #fff;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 5px;
	font-size: 14px;
}

.sourcebook-type-box > li.filter > ul > li a:active {
	background-color: #ddd;
}

.sourcebook-type-box > li.selected a {
	xbackground: #faf;

}

.sourcebook-type-box li.selected {
	background-color: #ccc;
}

.sourcebook-type-box ul {
	max-height: 300px;
	overflow: visible;
	background: #fff;
}

.sourcebook-type-box ul.sourcebook-choices {
	display: block;
	text-align: left;
	clear: both;
}

.sourcebook-type-box .sourcebook-choices > li.filter {
	display: block;
	margin: 0 auto;
	position: relative;
	width: 80%;
	border: none;
	background: none;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	font-size: 16px;
	margin-bottom: 20px;
	font-weight: 700;
}

.sourcebook-type-box li a {
	display: block;
	line-height: 1em;
	padding: 15px 20px 15px 40px;
	text-align: left;
	/*color: #4a596a;*/
	color: #1fb9c7;
	background-color: #fff;
}

.sourcebook-type-box li a.categorychild.closed {
	display: none;
}

.sourcebook-type-box li a.categoryparent {
	display: block;
	line-height: 1em;
	padding: 15px 20px;
	text-align: left;
}

.sourcebook-type-box li a.selectoption,
.sourcebook-type-box li a.categoryparent {
	color: #4a596a;
	background-color: #fff;
}

.sourcebook-type-box li a.categoryparent.open,
.sourcebook-type-box li a.categoryparent.open:hover {
	color: #fff;
	background-color: #4a596a;
}

.sourcebook-type-box li.filter > ul > li  span.categoryparent {
	border: solid 1px rgba( 0,0,0,0.1);
	border-top: none;
}

.sourcebook-type-box .sourcebook-choices > li.filter > a {
	border: 1px solid #4a596a;
}

.sourcebook-type-box li.filter.active > ul {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin: 0;
}

.sourcebook-type-box li.filter.active > ul li {
	display: block;
	line-height: 1.1em;
	padding: 0;
	text-align: left;
}

.sourcebook-type-box li.filter a:hover {
	background-color: #fafafa;
}

.sourcebook-type-box li.filter > ul > li  a {
	border: solid 1px rgba( 0,0,0,0.1);
	border-top: none;
}

/* drop down filters - category search */

.filter-choices > li.filter > a {
	background: transparent url('../images/down-arrow.png') no-repeat 95.85% center;
}

.filter-choices > li.filter.active > a {
	background: transparent url('../images/up-arrow.png') no-repeat 95.8% center;
}


.filter-area li.filter > ul {
	display: none;
	opacity: 1;
}

.filter-area > ul.active,
.filter-area li.active > ul {
	display: block;
	margin-top: 4px;
	z-index: 1001;
}

.filter-area li.filter {
	display: inline-block;
	margin: 0 18px 0 0;
	position: relative;
	width: 18%;
	border: 1px solid #4a596a;
	background: #fff;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 5px;
	font-size: 14px;
}

.filter-area > li.filter > ul > li a:active {
	background-color: #ddd;
}

.filter-area > li.selected a {
	xbackground: #faf;

}

.filter-area li.selected {
	background-color: #ccc;
}

.filter-area ul {
	max-height: 300px;
	overflow: visible;
	background: #fff;
}

.filter-area ul.filter-choices {
	display: block;
  	overflow: visible;
  	min-height: 80px;
	background: inherit;
	float: left;
  	width: 85%;
}

.filter-area .filter-choices > li.filter {
	display: block;
	position: relative;
	width: 22%;
	border: none;
	background: #fff;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
	font-size: 16px;
	font-weight: 700;
	float: left;
	margin-top: 18px;
	margin-left: 15px;
	margin-right: 0;
}

.filter-area li a {
	display: block;
	line-height: 1em;
	padding: 12px 20px;
	text-align: left;
	color: #4a596a;
}

.filter-area li.remove-me a {
	color: #eb614f;
}

.filter-area .filter-choices > li.filter > a {
	text-overflow: ellipsis;
  	white-space: nowrap;
  	overflow: hidden;
  	padding-right: 30px;
}

.filter-area li.filter.active > ul {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin: 0;
}

.filter-area li.filter.active > ul li {
	display: block;
	line-height: 1.1em;
	padding: 0;
	text-align: left;
}

.filter-area li.filter a:hover {
	background-color: #fafafa;
}

.filter-area li.filter > ul > li  a {
	border: solid 1px rgba( 0,0,0,0.1);
	border-top: none;
	background: #fff;
}

.filter-area li.filter > ul > li  a.open {
	border: solid 1px rgba( 0,0,0,0.1);
	border-top: none;
	color: #fff;
	background-color: #4a596a;
}

.filter-area li.filter > ul > li  a.categorychild {
	padding: 15px 20px 15px 40px;
	text-align: left;
	/*color: #4a596a;*/
	color: #1fb9c7;
	background-color: #fff;
}


.filter-area li.filter > ul > li  a.categorychild.closed {
	display: none;
}

.filter-area .filtered-on {
	display: none;
}

.filter-area .filtered-on.active {
	display: block;
	clear: both;
}

.filter-area .bottom-holder {
    display: none;
}

.filterinformation {
	height: 60px;
	background: #fff;
	margin: 0 12px 8px;
	line-height: 60px;
	padding: 0 25px;
}

.filterinformation span.searchquery {
	font-weight: bold;
}

article.company footer {
	min-height: 38px;
}

/* Additions - need moved */
h3.sponsor-heading {
  text-align: center;
  font-size: 18px !Important;
  margin: 10px 0;
}

article.product footer.entry-footer {
  min-height: 38px;
}

article.company footer.entry-footer {
  min-height: 38px;
}

article.excerpted.no-thumbnail {
  color: #fff;
}

article.excerpted.no-thumbnail .entry-header .entry-terms a {
  color: #fff;
}

article.excerpted.no-thumbnail .entry-header h1 a {
  color: #fff;
}

article.excerpted.no-thumbnail .entry-header h1 {
  	font-size: 24px;
	line-height: 1.4;
}

article.excerpted.no-thumbnail footer .entry-meta {
	color: #fff;
}

article.excerpted.no-thumbnail footer .entry-share.active .label {
	position: absolute;
	left: 0;
	width: 20%;
	overflow: hidden;
}

.sourcebook-header .search-area .searchmark {
    position: relative;
}

.sourcebook-header .search-area .searchmark:after {
	content: "\e61f";
	position: absolute;
	right: 15px;
	top: 6px;
	font-family: 'icomoon';
	font-size: 1.4em;
	color: #eb614f;
}

/* Product footer */

.product-footer-widgetarea {
	padding-top: 25px;
}



/* Social icons */

div.sourcebook-social {
	margin-top: 20px;
	overflow: hidden;
}

a.sourcebook-website,
a.sourcebook-website:hover {
	background: #ededed;
	color: #000 !Important;
	/*height: 45px;
	line-height: 45px;
	padding: 0;
	text-align: center;
	width: 190px;*/
	padding: 12px 25px;
	/*margin-top: 25px;*/
}

a.exhibition-website,
a.exhibition-website:hover {
	margin-top: 25px;
	padding: 12px 25px;
}

a.sourcebook-social-icon,
a.sourcebook-social-icon:hover {
	font-size: 30px;
	margin-right: 15px;
}

a.sourcebook-social-icon.icon-twitter,
a.sourcebook-social-icon.icon-twitter:visited,
a.sourcebook-social-icon.icon-twitter:hover {
	color: #00A8FF !Important;
}

a.sourcebook-social-icon.icon-pinterest,
a.sourcebook-social-icon.icon-pinterest:visited,
a.sourcebook-social-icon.icon-pinterest:hover {
	color: #d91717 !Important;
}

a.sourcebook-social-icon.icon-facebook,
a.sourcebook-social-icon.icon-facebook:visited,
a.sourcebook-social-icon.icon-facebook:hover {
	color: #2c73b5 !Important;
}

/* Address */
.sourcebook-address,
.sourcebook-email,
.sourcebook-telephone {
	padding-left: 40px;
}

.tab-page-productcompany .sourcebook-email {
	padding-left: 0;
}

.tab-page-productcompany a.sourcebook-website {
	/*margin-left: 30px;*/
}

.post-tab-content.tab-page-productcompany .sourcebook-email p {
    margin-left: 0 !Important;
}

.post-tab-content.tab-page-productcompany a.sourcebook-website,
.post-tab-content.tab-page-getintouch a.sourcebook-website {
    margin-right: 10px;
}

.tab-page-productcompany a.sourcebook-email,
.tab-page-getintouch a.sourcebook-email {
	padding: 12px 25px;
	color: #fff !Important;
}

.tab-page-getintouch div.sourcebook-social {
	padding-left: 40px;
}

.sourcebook-address p:before {
	background-image: url(../images/location.png);
	background-repeat: no-repeat;
}

@media only screen and (max-width: 900px) {

    .filter-area ul.filter-choices {
      	width: 100%;
        float: none;
        padding-left: 5px;
    }

    .filter-area .filter-choices > li.filter {
    	width: 45%;
    }

    .filter-area .filter-choices > li.filter:nth-child(even) {
        float: right;
        margin-right: 20px;
        margin-left: 0;
    }

    .sourcebook-header .search-area .searchmark {
    	width: 50%;
    }

    .filter-area .bottom-holder {
        display: block;
        clear: both;
        padding-bottom: 20px;
    }
}

@media only screen and (max-width: 600px) {
    .sourcebook-header h2 a.add-link .add-link-text {
        display: none;
    }
}

@media only screen and (max-width: 550px) {

    .sourcebook-header .search-area .searchmark {
        width: 45px;
        margin-left: 5%;
    }

    .sourcebook-header .search-area .searchbox::-webkit-input-placeholder {
        color: transparent;
    }

    .sourcebook-header .search-area .searchbox:-moz-placeholder {
        color: transparent;
    }

    .sourcebook-header .search-area .searchbox::-moz-placeholder {
        color: transparent;
    }

    .sourcebook-header .search-area .searchbox:-ms-input-placeholder {
        color: transparent;
    }

    .sourcebook-header .search-area .searchmark.focused {
        margin-right: 5%;
        width: 90%;
    }

    .sourcebook-header .search-area .searchbox {
        color: transparent;
    }

    .sourcebook-header .search-area .searchbox.focused {
        color: rgb(17, 17, 17);
    }

    .sourcebook-header .search-area .searchmark.focused + a.products-links  {
        display:none;
    }

    a.products-links {
        width: 75%;
        text-align: center;
    }

    .filter-area .filter-choices > li.filter,
    .filter-area .filter-choices > li.filter:nth-child(even) {
        width: 90%;
        float: left;
        margin-right: 5%;
        margin-left: 5%;
    }

}

@media only screen and (max-width: 500px) {

    .widget-sourcebooktaxonomywidget .sourcebook-type-box .taxonomy-wrap {
        display: none;
    }

    .page-template-template-sourcebook article.company a.entry-thumbnail,
    .page-template-template-sourcebook article.product a.entry-thumbnail {
        display: none;
    }

    .page-template-template-sourcebook article.product.excerpted header,
    .page-template-template-sourcebook article.company.excerpted header,
    .page-template-template-sourcebook article.company.has-thumbnail.excerpted header,
    .page-template-template-sourcebook article.company.has-thumbnail.excerpted header {
        min-height: 120px !Important;
    }

}

@media only screen and (max-width: 440px) {

    a.products-links {
      width: 60%;
      text-align: center;
      font-size: 14px;
      line-height: 22px;
      padding: 9px 5px !Important;
    }
}

/*
*	Add form footer
*/

article.company-form header.page-header.cf {
  min-height: 0;
}

article.company-form footer.page-footer {
  margin: 0 !Important;
}

article.company .post-tab-content.tab-page-about a,
article.product .post-tab-content.tab-page-about a {
  color: #1fb9c7;
}

a.sourcebook-read-more {
    display: inline-block;
    min-width: 120px;
    border: 1px solid #fff;
    text-align: center;
    line-height: 26px;
    color: #fff;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

article.product .highlighted,
article.company .highlighted {
	background: #000 !Important;
}

article.product .highlighted p,
article.product .highlighted a,
article.company .highlighted p,
article.company .highlighted a {
	color: #fff !Important;
}

/* Article contact bar */
article.product .product-company-contact {
	position: relative;
    background-color: #989898;
    color: #ffffff;
    overflow: hidden;
}

article.product .highlighted .product-company-contact {
	background-color: #757575;
}

article.product .company-social-icons {
	background-color: #fff;
    float: right;
	padding-left: 10px;
	margin-top: 0;
}

article.product .highlighted .company-social-icons {
	background-color: #000;
}

article.product .company-social-icons .sourcebook-social {
	margin-top: 0;
	height: 44px;
}

article.product .company-social-icons p {
    margin: 0;
	line-height: 44px;
}

article.product .company-social-icons a {
    color: #989898 !Important;
	line-height: 44px;
}

article.product .highlighted .company-social-icons a {
	color: #757575 !Important;
}

article.product .company-social-buttons {
	background-color: #fff;
    float: right;
	padding-left: 5px;
    padding-right: 0;
}

article.product .highlighted .company-social-buttons {
	background-color: #000;
}

article.product .company-social-buttons a {
    color: #ffffff !Important;
	background-color: #989898 !Important;
	margin-top: 0px;
	font-weight: 500;
}

article.product .highlighted .company-social-buttons a {
    background-color: #757575 !Important;
}


article.product div.company.vcard {
    float: left;
}

article.product div.company.vcard a {
	line-height: 44px;
	padding-left: 20px;
	color: #fff;
}

/* Gform new styling */

.page-template-template-sourcebook-add .gform_body {
    margin: 0 auto !Important;
    max-width: 100% !Important;
}

.page-template-template-sourcebook-add ul.gform_fields {
    max-width: 100%;
    margin: 0 auto !important;
}

.page-template-template-sourcebook-add .ginput_container {
    max-width: 100% !important;
    margin: 10px auto !important;
}

.page-template-template-sourcebook-add .gform_footer.top_label {
    max-width: 100% !Important;
}

.page-template-template-sourcebook-add div.company-circle {
	float: none;
}

.page-template-template-sourcebook-add div.company-circle img.attachment-avatar.wp-post-image {
    width: 100%;
}

.page-template-template-sourcebook-add article.company header h1.page-title {
	margin: 20px auto !Important;
	padding: 0;
	text-align: center;
	float: none;
}

.page-template-template-sourcebook-add article.company header .entry-summary {
	text-align: center;
	position: relative;
	width: 90%;
	margin: 5px auto !Important;
	float: none;
}

.page-template-template-sourcebook-add article.company header .company-circle {
    width: 200px;
    display: block;
    height: 200px;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 30px auto 10px;
    float: none;
}

/* Gravityforms pop-up */
html.gf-open {
	overflow: hidden;
}

html.gf-open body {
	overflow: scroll;
}

html:not(.gf-open) .single-product .gravity-forms-pop-up,
html:not(.gf-open) .single-company .gravity-forms-pop-up{
	overflow-y: auto;
}

.single-product .gravity-forms-pop-up,
.single-company .gravity-forms-pop-up {
	display: none;
	position: fixed;
	width:100%;
	height:100vh;
	z-index:200000;
	top:0;
	left:0;
	overflow-y:scroll;
	background-color: #CCC;
	background-color: rgba(100,100,100,0.8);
}

.single-product .gravity-forms-pop-up .pop-up-background,
.single-company .gravity-forms-pop-up .pop-up-background {
	position: absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	z-index:1;
}

.single-product .gravity-forms-pop-up .gf-close,
.single-company .gravity-forms-pop-up .gf-close {
	position: absolute;
	right:20px;
	top:10px;
	background-color: #555;
	color: #FFF;
	font-weight: bold;
	padding: 0 7px;
}

.single-product .gravity-forms-pop-up .gf-close:hover,
.single-company .gravity-forms-pop-up .gf-close:hover {
	background-color: #CCC;
	color: #333;
}

.single-product .gravity-forms-pop-up .gf-close.button,
.single-company .gravity-forms-pop-up .gf-close.button {
	position: static;
	background-color: #1fb9c7;
	padding: 5px 20px;
}

.single-product .gravity-forms-pop-up .gf-close.button:hover,
.single-company .gravity-forms-pop-up .gf-close.button:hover {
	color: #FFF;
	background-color: #6EC2C9;
}

.single-product .gravity-forms-pop-up .pop-up-content,
.single-company .gravity-forms-pop-up .pop-up-content {
	background-color: #FFF;
	padding:20px;
	border:10px solid rgba(0,0,0,0);
	width: 95vw;
	max-width:500px !important;
	margin: 0 auto 10vh;
	top:10vh;
	left:0;
	right:0;
	color: #757575;
	min-height: 50vh;
	position: absolute;
	z-index:2;
}
.single-product .gravity-forms-pop-up .gform_wrapper form,
.single-company .gravity-forms-pop-up .gform_wrapper form {
	width:100%;	
}

.single-product .gravity-forms-pop-up .gform_footer,
.single-company .gravity-forms-pop-up .gform_footer {
	text-align: right;
	padding-top:0;
}

.single-product .gravity-forms-pop-up .textarea,
.single-company .gravity-forms-pop-up .textarea {
	height: 7em;	
}

.gravity-forms-pop-up .pop-up-content{
	-webkit-box-shadow: 10px 10px 0px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 10px 10px 0px 0px rgba(0,0,0,0.3);
	box-shadow: 10px 10px 0px 0px rgba(0,0,0,0.3);
}

.pop-up-background {
	width:100%;
	height: 100%;
	position: absolute;
	top:0;
	left:0;
	content:"";
}

.single-product .gravity-forms-pop-up .gf-close.button,
.single-company .gravity-forms-pop-up .gf-close.button {
	background-color: #1fb9c7;
	padding: 5px 20px;
	float: right;
	margin-top:50px;
}

.single-product .gravity-forms-pop-up .gf-close.button:hover,
.single-company .gravity-forms-pop-up .gf-close.button:hover {
	color: #FFF;
	background-color: #6EC2C9;
}


.single-product .pop-up-content .gform_confirmation_message,
.single-company .pop-up-content .gform_confirmation_message {
	width: 80%;
	margin:25% auto;

}

.single-product .gravity-forms-pop-up .pop-up-content,
.single-company .gravity-forms-pop-up .pop-up-content {
	max-width:650px !important;
	padding:0;
}

.single-product .gravity-forms-pop-up .gform_wrapper,
.single-company .gravity-forms-pop-up .gform_wrapper {
	max-width: 90% !important;
	margin-bottom:0 !important;
}

.single-product .gravity-forms-pop-up .gf-close,
.single-company .gravity-forms-pop-up .gf-close {
	right: 10px;
	top:5px;
}

.single-product .gform_wrapper .email,
.single-product .gform_wrapper .phone,
.single-company .gform_wrapper .email,
.single-company .gform_wrapper .phone{
	width: 50% !important;
	float:left;	
	clear:none;
}

.single-product .gform_wrapper .email,
.single-company .gform_wrapper .email {
	padding-right: 10px;	
}

.single-product .gform_wrapper .phone,
.single-company .gform_wrapper .phone {
	padding-right: 8px;	
}

.single-product .gform_wrapper label.gfield_label+div.ginput_container,
.single-company .gform_wrapper label.gfield_label+div.ginput_container {
	margin-bottom: 5px !important;
}

.single-product .gform_wrapper label.gfield_label+div.ginput_container input,
.single-company .gform_wrapper label.gfield_label+div.ginput_container input{
	padding:5px 10px;
}

.single-product .gform_wrapper .ginput_complex label,
.single-company .gform_wrapper .ginput_complex label {
	margin-bottom:0;
}

@media screen and (max-width: 667px) {
	.single-product .gravity-forms-pop-up .pop-up-content,
	.single-company .gravity-forms-pop-up .pop-up-content {
		top: 0;
		width: 100vw;
		padding: 0;
		margin: 0;
		min-height: initial;
		border:0;
	}
	
	.single-product .gravity-forms-pop-up .gform_wrapper, 
	.single-company .gravity-forms-pop-up .gform_wrapper{
		max-width: 95% !important;
	}
	
	#recaptcha_logo {
		display: none;
	}

	#recaptcha_privacy {
		display: none;
	}

	#recaptcha_table {
		transform: scale(0.8)
		translate(-40px);
	}
}