/*
 * Ad @media directives
 */

.block-title {
    border-color: #274646 !important;
    margin-bottom: 12px !important;
}
/* Shut off comment counts */
.td-module-comments {
    display: none !important;
}
/* Show/hide sidebar ad */

.ss-ad-sidebarHolder {
  display: inline-block;
}

@media(max-width: 1019px) {
  .ss-ad-sidebarHolder {
    display: none;
  }
}

/* Lead Banner ad size and placement */

.ss-ad-headerDismiss {
  display: none;
}
.ss-ad-header {
  display: none;
}

@media (min-width: 768px) {
  .ss-ad-header {
    width: 728px;
    height: 90px;
    margin: 6px auto;
    display: block;
  }
}

@media(max-width: 767px) {
  .ss-ad-headerHolder {
    width: 100%;
    z-index: 999;
    position: fixed;
    bottom: 0;
    margin-left: -20px;
    background-color: rgba(0,0,0,0.3);
  }
  .ss-ad-headerDismiss {
    cursor: pointer;
    color: #b2b2b2;
    display: inline-block;
    height: 20px;
    width: 20px;
    padding: 0 5px;
    position: absolute;
    top: -12px;
    right: 5px;
    z-index: 99999;
    background-image:
        url(/wp-content/plugins/SnackSafelyBlogPlugin/images/dismiss.png);
  }
 */
/* Following commented out to accommodate Xolair sizes.
@media (min-width: 768px) {
  .ss-ad-header {
    width: 728px;
    height: 90px;
    margin: 6px auto;
    display: block;
  }
}
@media (min-width: 500px) and (max-width: 767px) {
  .ss-ad-header {
    width: 468px;
    height: 60px;
    margin: 26px auto 5px;
    display: block;
  }
}

@media(max-width: 499px) {
  .ss-ad-headerHolder {
    width: 100%;
    z-index: 999;
    position: fixed;
    bottom: 0;
    margin-left: -20px;
    background-color: rgba(0,0,0,0.3);
  }
  .ss-ad-headerDismiss {
    cursor: pointer;
    color: #b2b2b2;
    display: inline-block;
    height: 20px;
    width: 20px;
    padding: 0 5px;
    position: absolute;
    top: -12px;
    right: 5px;
    z-index: 99999;
    background-image:
        url(/wp-content/plugins/SnackSafelyBlogPlugin/images/dismiss.png);
  }
 */
  
  /* Undoes Newspaper theme index settings so ad can be placed at the bottom. */
  .td-fix-index {
    transform: none !important;
    -webkit-transform: none !important;
    width: 100%;
  }
/*  @media(min-width: 390px) {
      .ss-ad-header {
        width: 390px;
        height: 50px;
        margin: 1px auto;
        display: block;
      }
  }
  @media(max-width: 389px) {
      .ss-ad-header {
        width: 320px;
        height: 50px;
        margin: 1px auto;
        display: block;
      }
  }
  */
  @media(max-width: 767px) {
      .ss-ad-header {
        width: 320px;
        height: 50px;
        margin: 1px auto;
        display: block;
      }
  }
}

.ss-tile-text {
  padding: 0 12px;
}

a:link .ss-tile-text,
a:visited .ss-tile-text {
  color: #111;
}
a:hover .ss-tile-text,
a:active .ss-tile-text {
  color: #980c0d;
}


.grecaptcha-badge { 
    visibility: hidden !important;
}
.ss-bordered {
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
}
.ss-centered {
  margin-left: auto;
  margin-right: auto;
}
.ss-image-right {
  float: right;
  margin: 8px 0 0.5em 1em;
}
.ss-section, .ss-disclaimer {
  background-color: #F8F8F8;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 2px;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
}

.ss-section > p:first-child,
.ss-disclaimer > p:first-child {
    margin-top: 0;
}

.ss-section > p:last-of-type,
.ss-disclaimer > p:last-of-type {
    margin-bottom: 0;
}

.ss-disclaimer {
    font-size: 0.85em;
    font-style: oblique;
}

.ss-buttonLink {
  background-color: #980C0D;
  color: #FFF;
  border-radius: 5px;
  padding: 4px 10px;
  line-height: 1.3;
  font-weight: 500;
  text-align: center;
}
.ss-buttonLink.ss-right {
  float: right;
  margin-left: 1.5em;
}
.ss_buttonLink a {
  line-height: 1.3;
  font-weight: 500;
}
.ss-buttonLink a:link,
.ss-buttonLink a:visited {
  color: #FFF;
}
.ss-buttonLink a:hover,
.ss-buttonLink a:visited {
  color: #FFF;
  text-decoration: underline;
}
.ss-display-none {
  display: none !important;
}
.ss-display-inlineBlock {
  display: inline-block !important;
}
@media (min-width: 1019px) {
  .ss-display-onSidebarRightOnly {
    display: inline-block !important;
  }
  .ss-display-onSidebarBottomOnly {
    display: none !important;
  }
}
@media (max-width: 1018px) {
  .ss-display-onSidebarRightOnly {
    display: none !important;
  }
  .ss-display-onSidebarBottomOnly {
    display: inline-block !important;
  }
}

@media (max-width: 1018px) and (min-width: 768px) {
  aside#text-2 {
    display: none !important;
  }
  .sf-menu > li > a {
    padding: 0 7px;
    font-size: 11px;
  }
}
.wp-caption-text,
.wp-caption-dd {
  font-family: Verdana, Geneva, sans-serif;
  text-align: center;
  margin: 6px 0 10px 0;
  font-size: 11px;
  font-style: italic;
  font-weight: normal;
  line-height: 17px;
  color: #444;
}
.ss-source-annotation,
.source-annotation,
.ss-source-annotation ul li,
.source-annotation ul li {
  font-size: 0.85em;
  font-style: oblique;
  line-height: 1.5 !important;
  margin-bottom: 0 !important;
}
.ss-source-annotation,
.source-annotation {
  margin-bottom: 1em;
}
.ss-source-annotation ul,
.source-annotation ul {
  margin: 0 0 0 1em;
}
input[type=submit] {
  background-color: #980C0D;
  color: #FFF;
  border-radius: 5px;
  padding: 4px 10px;
  line-height: 1.3;
  font-weight: 500;
  text-align: center;
}
.ss-ad-adornment {
  background-color: #FFF;
  box-sizing: content-box;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
}

.ss-ad-section {
  background-color: #F8F8F8;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 2px;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
  background-image: url(/wp-content/uploads/2016/01/AdsBackgroundTile-1.jpg);
}

@media (max-width: 767px) {
  .ss-ad-section {
	padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

.ss-ad-section .ss-legend {
  color: #888;
  font-size: 0.80em;
  text-align: center;
  margin-top: -8px;
  margin-bottom: 3px;
}

.ss-ad-1x1px {
  width: 1px;
  height: 1px;
  margin: 0;
}
.ss-ad-300x250px {
  width: 300px;
  height: 250px;
  margin-left: auto;
  margin-right: auto;
}
.ss-ad-300x50px {
  width: 300px;
  height: 50px;
  background-color: #FFF;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 6px;
}
.ss-ad-200x200px {
  width: 200px;
  height: 200px;
  background-color: #FFF;
  margin-left: auto;
  margin-right: auto;
}
.ss-doubleAd {
  width: 100%;
  margin: 0em 0 2em 0;
}
@media (min-width: 1141px),(min-width: 681px) and (max-width: 767px) {
  .ss-doubleAd .ss-column {
    width: 49%;
    display: inline-block;
    vertical-align: top;
  }
  .ss-doubleAd .ss-column.ss-first {
    padding-right: 0px;
  }
  .ss-doubleAd .ss-column.ss-last {
    padding-left: 0px;
  }
}
@media (max-width: 680px),(min-width: 768px) and (max-width: 1140px) {
  .ss-doubleAd .ss-column {
    width: 100%;
    display: inline-block;
  }
  .ss-doubleAd .ss-column.ss-first {
	margin-bottom: 6px;
  }
}
@media (max-width: 1018px) {
  .ss-sidebarAd {
    display: none;
  }
}
@media (min-width: 1019px) {
  aside.td_block_template_1.widget.widget_text {
	overflow: visible;
  }
  .ss-sidebarAd {
    display: inline-block;
    width: 300px;
    height: 250px;
	overflow: hidden;
    background-color: #FFF;
    box-sizing: content-box;
    border-top: 1px solid #DDD;
    border-left: 1px solid #DDD;
    border-bottom: 1px solid #AAA;
    border-right: 1px solid #AAA;
    margin-left: auto;
    margin-right: auto;
  }
}

aside.td_block_template_1.widget .block-title,
.td_block_social_counter .block-title {
  margin-bottom: 16px !important;
}

.widget_tag_cloud .tagcloud {
	padding: 0 !important;
}

.widget_tag_cloud a {
  margin-right: 6px !important;
  margin-bottom: 10px !important;
  display: inline !important;
  line-height: 1.2;
  font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
}
.widget_tag_cloud a:hover,
.widget_tag_cloud a:active {
	color: #41ad49 !important;
}
.widget_tag_cloud a:link,
.widget_tag_cloud a:visited {
	color: #888888;
}

.widget select {
  margin-top: 0;
}
.widget li.cat-item {
  font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
  line-height: 1.6;
  list-style: none;
  margin: 0 0 4px 0px;
  display: inline-block;
  font-size: 0.85em;
  font-weight: bold;
  padding: 0 6px;
  background-color: #888888;
  border-radius: 0px;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
}
.widget li.cat-item a:link,
.widget li.cat-item a:visited {
  color: #FFF;
}
.widget li.cat-item a:hover,
.widget li.cat-item a:active {
  color: #41ad49;
}
.ss-subscribe-postform .ss-preamble,
.ss-subscribe-widget .ss-preamble,
.ss-schoolmap-widget .ss-preamble {
  font-size: 0.9em;
  font-style: oblique;
  line-height: 1.5;
  color: #888;
  margin-bottom: 6px;
}
.ss-subscribe-postform .ss-name,
.ss-subscribe-widget .ss-name {
  margin-bottom: 4px;
}
.ss-subscribe-postform .ss-email,
.ss-subscribe-widget .ss-email {
  margin-bottom: 12px;
}
.ss-subscribe-postform .ss-name input,
.ss-subscribe-postform .ss-email input,
.ss-subscribe-widget .ss-name input,
.ss-subscribe-widget .ss-email input {
  max-width: 360px;
  border-radius: 5px;
}
.ss-subscribe-postform .ss-button input,
.ss-subscribe-widget .ss-button input {
  background-color: #980C0D;
  border-radius: 5px;
  padding: 4px 10px;
}
.ss-subscribe-postform {
  max-width: 400px;
  background-color: #F8F8F8;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 2px;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
}
.ss-serviceBanner {
  width: 100%;
  margin-bottom: 16px;
}
.ss-serviceBanner img {
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
}
.ss-serviceBanner .ss-column img {
  background-color: #F8F8F8;
}
@media (min-width: 1019px) {
  .ss-serviceBanner .ss-column {
    width: 50%;
    display: inline-block;
  }
  .ss-serviceBanner .ss-column.ss-first {
    padding-right: 3px;
  }
  .ss-serviceBanner .ss-column.ss-last {
    padding-left: 3px;
  }
  .ss-serviceBanner .ss-tall {
    display: inline-block;
  }
  .ss-serviceBanner .ss-wide {
    display: none;
  }
}
@media (max-width: 1018px) {
  .ss-serviceBanner .ss-column {
    width: 100%;
    display: block;
  }
  .ss-serviceBanner .ss-column.ss-first {
    margin-bottom: 6px;
  }
  .ss-serviceBanner .ss-tall {
    display: none;
  }
  .ss-serviceBanner .ss-wide {
    display: block;
  }
}
.ss-sidebar-content .ss-serviceBanner .ss-column {
  width: 100%;
  display: block;
  padding-left: 0;
  padding-right: 0;
  background-color: #FFF;
}
.ss-sidebar-content .ss-serviceBanner .ss-column img {
  background-color: #FFF;
}
.ss-sidebar-content .ss-serviceBanner .ss-column.ss-first {
  margin-bottom: 6px;
}
@media (min-width: 768px) {
  .ss-sidebar-content .ss-serviceBanner .ss-tall {
    display: block;
  }
  .ss-sidebar-content .ss-serviceBanner .ss-wide {
    display: none;
  }
}
@media (max-width: 767px) {
  .ss-sidebar-content .ss-serviceBanner .ss-tall {
    display: none;
  }
  .ss-sidebar-content .ss-serviceBanner .ss-wide {
    display: block;
  }
}
.ss-home-latestPosts-small .td-post-author-name,
.ss-home-latestPosts-small .td-post-date,
.ss-home-latestPosts-small .td-excerpt,
.ss-home-latestPosts-small .td-read-more {
  display: inline-block !important;
}
.ss-home-latestPosts-small .td-block-span12 {
  background-color: #F8F8F8;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 2px;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
}
.ss-home-latestPosts-small .td_module_11 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.ss-home-latestPosts-small .td-read-more a {
  background-color: #980C0D;
  color: #FFF;
  border-radius: 5px;
  padding: 4px 10px;
  line-height: 1.3;
  font-weight: 500;
  text-align: center;
}
.ss-home-latestPosts-big .td-module-thumb {
  position: relative;
  width: 100% !important;
}
.ss-home-latestPosts-big .td-module-thumb img {
  width: 1200px;
  height: auto;
}
.ss-home-latestPosts-big .item-details {
  margin-left: 0 !important;
  min-height: 0 !important;
  padding-left: 0 !important;
}
.ss-home-latestPosts-big .td-post-author-name,
.ss-home-latestPosts-big .td-post-date,
.ss-home-latestPosts-big .td-excerpt {
  display: inline-block !important;
}
.ss-home-latestPosts-big .td-read-more {
  display: block !important;
}
.ss-home-latestPosts-big .td-block-span12 {
  background-color: #F8F8F8;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 2px;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
}
.ss-home-latestPosts-big .td_module_11 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.ss-home-latestPosts-big .td-read-more a {
  background-color: #980C0D;
  color: #FFF;
  border-radius: 5px;
  padding: 4px 10px;
  line-height: 1.3;
  font-weight: 500;
  text-align: center;
}
/*.vc_tta-container .vc_tta-color-grey.vc_tta-tabs-position-top.vc_tta-style-classic.ss-home-tabs .vc_tta-tabs-container {
  margin-bottom: 12px !important;
}
.td-pb-span8 .td_module_10 {
  background-color: #F8F8F8;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 2px;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
}
.td_module_10 .item-details .td-excerpt {
  display: inline-block !important;
}
.td_module_10 .td-module-thumb {
  position: absolute;
  left: 12px;
  top: 12px;
}
*/
.ss-coupon-holder {
  font-size: 0;
  text-align: center;
  background-color: #F8F8F8;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 2px;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
  background-image: url("/wp-content/uploads/2016/01/AdsBackgroundTile-1.jpg");
}
.ss-coupon-holder .ss-adSlot {
  width: 300px;
  height: 250px;
  background-color: #FFF;
  box-sizing: content-box;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
  font-size: 0;
  margin: 0 8px 16px 8px;
}
#sharrre-container {
  width: 100%;
  clear: right;
  background-color: #F8F8F8;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 2px;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #AAA;
  border-right: 1px solid #AAA;
}
#sharrre-container .legend {
  font-size: 0.85em;
  font-style: oblique;
  color: #AAA;
  text-align: left;
  margin-top: -8px;
  margin-bottom: 6px;
}
#sharrre-container .buttons {
  text-align: center;
  margin-top: -24px;
}
@media (min-width: 490px) {
  .button-row {
    display: inline-block;
  }
}
@media (max-width: 489px) {
  .button-row.ss-first {
    margin-bottom: 12px;
    margin-top: -28px;
  }
}

/*----*/
.td-theme-wrap .block-title > span {
  color: #FFF;
}

/* Overrides block quote styling */

.td-post-content blockquote {
  display: block;
  border-width: 2px 0 !important;
  border-style: solid !important;
  border-color: #eee !important;
  padding: 1.5em 0 0.5em !important;
  margin: 1.5em 1.5em !important;
  box-shadow: none !important;
  line-height: 1.5 !important;
  -webkit-box-shadow: none !important;
}
.td-post-content blockquote:before {
  content: '\201C' !important;
  position: absolute !important;
  top: 0em !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: #fff !important;
  width: 3rem !important;
  height: 2rem !important;
  font: 6em/1.08em 'PT Sans', sans-serif !important;
  color: #666 !important;
  text-align: center !important;
}
.td-post-content blockquote:after {
  content: attr(cite) !important;
  font-style: oblique !important;
  display: block !important;
  text-align: right !important;
  font-size: 0.875em !important;
  color: #666 !important;
}

.td-post-content blockquote p,
.tagdiv-type blockquote p {
  text-align: left !important;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px !important;
  font-style: normal !important;
  margin-bottom: 1em !important;
  color: #666 !important;
  line-height: 1.5 !important;
}
.td-post-content blockquote p:first-child {
  margin-top: 0 !important;
}

.td-post-content blockquote a{
  text-decoration: none !important;
  background: #eee !important;
  cursor: pointer !important;
  padding: 0 3px !important;
  color: #c76c0c !important;
}

.td-post-content blockquote a:hover{
 color: #666 !important;
}

.td-post-content blockquote em{
  font-style: italic !important;
}

.mfgTile
{
    display: inline-block;
    padding: 3px 3px;
    margin: 0 6px 4px 0;
    background-color: #ffffff;
    vertical-align: top;
    border-radius: 4px;
    box-shadow: 1px 2px 2px #AAAAAA;
    border: 1px solid #888;
    width: 80.5px;
}

.mfgTile:hover
{
    background-color: #F8F8F8;
}

.mfgTile img.mfgLogo
{
    vertical-align: top;
    width: 73px;
    margin: 0 !important;
}

.mfgTile hr
{
    margin-top: 3px;
    margin-bottom: 3px;
    width: 85%;
}

.mfgTile .summary
{
    font-size: 9px;
    display: block;
    text-align: center;
    margin: 4px auto;
    line-height: 1.4;
}

.mfgTile .summary:hover
{
    text-decoration: none;
}

.mfgTile .name
{
    padding: 3px;
    text-align: center;
    background-color: #CCCCCC;
    color: #FFFFFF;
    font-size: 0.85em;
}

.mfgTile a:hover
{
    text-decoration: none;
}

.listing-small
{
    font-size: 1em;
    font-style: oblique;
}

.hint-color
{
    color: #AAAAAA;
}


@media (min-width: 1141px) {
  .ssx-ad-headerMobile {
    width: 728px;
    height: 90px;
	margin: 6px auto 20px;
  }
  .ssx-ad-contentHeaderRow {
	display: none;
  }
  .td-crumb-container {
	min-height: 20px !important;
  }
  .td-main-page-wrap {
	padding-top: 24px !important;
  }
}
@media (min-width: 768px) and (max-width: 1140px) {
  .ssx-ad-headerSize {
    width: 468px;
    height: 60px;
  }
  .ssx-ad-headerMobile,
  .ssx-ad-contentHeaderRow {
	display: none;
  }
  .td-container>.td-pb-row {
    margin-top: 1em !important;
  }
  .td-crumb-container {
	min-height: 20px !important;
  }
  .td-main-page-wrap {
	padding-top: 24px !important;
  }
}
@media (min-width: 500px) and (max-width: 767px) {
  .ssx-ad-headerSize {
	display: none;
  }
  .ssx-ad-headerMobile {
    width: 468px;
    height: 60px;
  }
  .td-container>.td-pb-row {
    margin-top: 1em !important;
  }
  .td-crumb-container {
	display: none;
  }
  .ssx-ad-contentHeaderRow .td_block_wrap {
	margin-bottom: 0 !important;
  }
  .td-main-page-wrap {
	padding-top: 0 !important;
  }
  .td-container {
	padding-left: 10px !important;
	padding-right: 10px !important;
  }
}
@media (max-width: 499px) {
  .td-fix-index {
    transform: none !important;
    -webkit-transform: none !important;
    width: 100%;
  }
  .dave-adSlot-holder {
    width: 100%;
    z-index: 999;
    position: fixed;
    bottom: 0;
    margin-left: -20px;
    background-color: rgba(0,0,0,0.3);
  }
  .dave-ad-headerMobile {
    width: 320px;
    height: 50px;
    margin: 4px auto;
  }
  .dave-ad-dismiss {
    cursor: pointer;
    color: #b2b2b2;
    background-image: url(/wp-content/plugins/SnackSafelyBlogPlugin/images/dismiss.png);
    display: inline-block;
    height: 20px;
    width: 20px;
    padding: 0 5px;
    position: absolute;
    top: -12px;
    right: 5px;
    z-index: 99999;
  }
}
@media (min-width: 500px) and (max-width: 767px) {
  .dave-ad-headerMobile {
    width: 468px;
    height: 60px;
    margin: 26px auto 10px;
  }
}
@media (min-width: 768px) {
  .dave-ad-headerMobile {
    width: 728px;
    height: 90px;
    margin: 4px auto;
  }
}

.ss-tile-text {
  padding: 0 12px;
}

a:link .ss-tile-text,
a:visited .ss-tile-text {
  color: #111;
}
a:hover .ss-tile-text,
a:active .ss-tile-text {
  color: #980c0d;
}


