/* Font Styles */

@import url('https://fonts.googleapis.com/css?family=Raleway:400,400i,500,700,700i');

body, h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500 !important;
}

b, strong {
  font-weight: 700 !important;
}

/* Logo Styles */

.site-logo img {
  min-width: 180px;
  margin: 5px 15px;
}

/* Header Styles */

.site-header .site-header__title {
  color: #fff !important;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.75);
}

.site-header .site-header__banner {
  background: #fff none;
}

.site-header .site-header__search {
  padding: 140px 0;
  background-color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2) inset;
}

body.home form.hkb-site-search {
  padding: 0 10px;
}

body.home form.hkb-site-search::after {
  left: 25px;
}

body.home form.hkb-site-search .hkb-site-search__loader {
  right: 30px;
}

.hkb-site-search .hkb-site-search__field {
  box-shadow:  0 0 1px 3px rgba(0, 0, 0, 0.10);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.hkb-site-search .hkb-site-search__field:focus {
  box-shadow: 0 0 1px 3px rgba(0, 0, 0, 0.20);
}

.ht-pageheader .hkb-site-search .hkb-site-search__field {
  border: 2px solid #ddd;
  box-shadow: none;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.ht-pageheader .hkb-site-search .hkb-site-search__field:focus {
  border-color: #0093d0;
}

ul.nav-header__menuwrapper > li > a {
  font-size: 18px;
  font-weight: 500;
}

/* Breadcrumbs Styles */

div.hkb-breadcrumbs_wrap {
  padding-right: 10px;
}

div.hkb-breadcrumbs_wrap ol.hkb-breadcrumbs {
  margin: 0;
  display: none;
}

div.hkb-breadcrumbs_wrap ol.hkb-breadcrumbs:first-child {
  display: block;
}

/* Intro Styles */

div.frontpage-intro {
  padding: 20px;
  margin-bottom: 30px;
  background-color: #f4f5f5;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
}

div.frontpage-intro > h2 {
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom-color: #d9d9d9;
}

div.frontpage-intro > p {
  margin: 0;
  font-size: 15px;
}

.frontpage-banner-mobile {
  margin-bottom: 30px;
}

.frontpage-banner-mobile img {
  display: block;
  border-radius: 5px;
  max-width: 100%;
  height: auto;
}

/* Featured Article Styles */

div.featured-articles {
  margin-bottom: 15px;
}

/* Article Styles */

.hkb-article__content ul li ul {
  margin-top: 15px;
}

.hkb-subcats {
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 3px solid #e6e6e6;
}

.hkb-subcats-articles-header {
  font-size: 22px;
  margin-bottom: 25px;
}

.hkb-article__print {
  float: right;
  margin: 0 0 20px 20px;
}

.hkb-article__print > a {
  display: block;
  padding: 5px 15px;
  color: #888;
  text-decoration: none;
  background: #f4f5f5;
  border-radius: 5px;
  font-size: 15px;
}

.hkb-article__print > a:focus,
.hkb-article__print > a:hover {
  color: #666;
  background-color: #e7e9e9;
}

div.ht-tagheader > .ht-tagheader__title,
div.ht-categoryheader > .ht-categoryheader__content > .ht-categoryheader__title {
  margin-top: 0;
  font-size: 26px;
}

div.ht-categoryheader > .ht-categoryheader__content > .ht-categoryheader__description {
  font-size: 18px;
}

ul.ht-articlelist li {
  padding: 0 0 15px;
}

article.hkb-articlemini .hkb-article__footer {
  margin: 0;
}

article.hkb-articlemini .hkb-article__footer > div.hkb-article-tags {
  margin: 15px 0 0;
  font-size: 13px;
}

article.hkb-articlemini.no-tags .hkb-article__excerpt {
  margin-bottom: 10px;
}

article.hkb-articlemini.has-thumb .hkb-article__thumbnail {
  float: right;
}

article.hkb-articlemini.has-thumb .hkb-article__link {
  margin-right: 110px;
}

article.hkb-articlemini.no-tags .hkb-article__date {
  color: #888;
  font-size: 13px;
}

article.hkb-articlemini.has-thumb:after {
  content: "";
  display: table;
  clear: both;
}

/*
.hkb-article__content table.block-table {
    overflow-x: auto;
    display: block;
}
*/

.hkb-article__content table.smaller-font {
  font-size: 14px;
}

.hkb-article__content table.no-wrap-header thead tr th {
  white-space: nowrap;
}

.hkb-article__content table thead tr th {
  padding-top: 12px;
  padding-bottom: 12px;
}

.hkb-article__content table thead tr th.sorting:hover,
.hkb-article__content table thead tr th.sorting_asc,
.hkb-article__content table thead tr th.sorting_desc {
  color: #fff;
}

.hkb-article__content .dataTables_filter {
  float: none;
  font-weight: 500;
  margin-bottom: 10px;
}

.hkb-article__content .dataTables_filter input {
  padding: 8px 16px;
  font-weight: normal;
  border-color: #ccc;
  border-width: 2px;
  transition: all 0.2s ease-in-out;
  border-radius: 99px;
}

.hkb-article__content .dataTables_filter input:focus {
  border-color: #0093d0;
  outline: none;
}

.hkb-article__content .dataTables_info {
  margin-top: 10px;
  font-weight: 500;
}

.hkb-article__content .dataTables_paginate {
  margin-top: 10px;
}

.hkb-article__content .dataTables_paginate a {
  margin: 0 8px;
  font-weight: 500;
  text-decoration: none;
}

.hkb-article__content .dataTables_paginate .paginate_button.next:after,
.hkb-article__content .dataTables_paginate .paginate_button.previous:before {
  color: #aaa;
  font-size: 13px;
  line-height: 18px;
  text-shadow: none;
}

.hkb-article__content .dataTables_paginate .paginate_button.disabled:after,
.hkb-article__content .dataTables_paginate .paginate_button.disabled:before {
  color: #ccc;
}

.hkb-article__content .dataTables_paginate .paginate_button.previous:before {
  left: -16px;
}

.hkb-article__content .dataTables_paginate .paginate_button.next:not(.disabled):hover:after,
.hkb-article__content .dataTables_paginate .paginate_button.previous:not(.disabled):hover:before {
  color: rgba( 0 ,147, 208, 0.8);
}

/* .hkb-article__link */

.hkb-article__content div.box {
  margin: 20px 0;
  padding: 1px 20px;
  background-color: #d7eef7;
}

.hkb-article__content blockquote {
  color: inherit;
  font-size: 17px;
  line-height: 1.6;
  margin: 35px 0;
  padding: 10px 35px;
  border-left-width: 3px;
}

.hkb-article__content .footnotes-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hkb-article__content .references p,
.hkb-article__content .references ul li,
.hkb-article__content .footnotes-list .footnote-item {
  font-size: 13px;
  margin: 0 0 16px;
}

.hkb-article__preamble {
  color: #999;
  font-size: 13px;
  margin-bottom: 25px;
}

.hkb-article__content ul ul, .hkb-article__content .block-library-list ul ul {
  list-style-type: square;
}

.hkb-article__content ul ul ul, .hkb-article__content .block-library-list ul ul ul {
  list-style-type: disc;
}

/* Licensing Styles */

.cc-licensing {
  text-align: center;
  font-size: 11px;
  color: #888;
  max-width: 320px;
  margin: 20px auto 0;
}

.cc-licensing a {
  color: inherit;
  text-decoration: none;
}

.cc-licensing a:hover,
.cc-licensing a:focus {
  color: #666;
  text-decoration: underline;
}

/* Button Styles */

.wp-block-button__link {
  font-weight: 500;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  background-color: #73c167;
  margin-top: 1.5em;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background-color: #83d177;
}

/* Video Styles */

.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; display: block; } 
.video-wrapper iframe, .video-wrapper object, .video-wrapper embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Related Posts Styles */

div.rp4wp-related-posts ul li {
  margin: 0 0 20px !important;
  padding: 0 0 20px;
  border-bottom: 1px solid #e6e6e6;
}

div.rp4wp-related-posts div.rp4wp-related-post-content p {
  margin-bottom: 0;
}

section.hkb-article-related {
  margin-top: 30px;
}

section.hkb-article-related ul.hkb-article-list {
  list-style: none;
  margin-left: 22px;
}

section.hkb-article-related ul.hkb-article-list li {
  position: relative;
}

section.hkb-article-related ul.hkb-article-list li i.fa-li {
  line-height: 18px;
}

/* Sidebar Styles */

#custom_html-3,
#custom_html-5,
#custom_html-7,
#custom_html-9 {
  padding: 0;
  border-bottom: 0;
}

#custom_html-3 img,
#custom_html-5 img,
#custom_html-7 img,
#custom_html-9 img {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  display: block;
  max-width: 100%;
  height: auto;
}

.widget {
  background: #f0f8ff;
  border-bottom: 1px solid #e0e8ef;
}

.widget .widget__title {
  font-size: 18px;
  font-weight: 500;
}

.hkb_widget_articles a {
  padding: 0;
}

.hkb_widget_articles ul li {
  margin: 0 0 15px;
}

.hkb_widget_categories a {
  padding: 0;
  display: inline;
}

.hkb_widget_categories > ul {
  margin: 0;
}

.hkb_widget_categories .hkb_category_widget__category_list li {
  margin: 0 0 10px;
}

aside.sidebar a, section.widget_tag_cloud .tagcloud a {
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.widget_tag_cloud .tagcloud a {
  background: #e8f0f8;
}

.widget_tag_cloud .tagcloud a:hover {
  color: #20b3f0;
  background: #fff;
}

a.tag-cloud-link {
  -webkit-border-radius: 99px;
  -moz-border-radius: 99px;
  -ms-border-radius: 99px;
  border-radius: 99px;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  display: inline-block;
  padding: 5px 10px;
  line-height: 1;
  margin: 0 5px 5px 0;
  background: #e0e8ef;
  color: #586068;
  font-size: 13px;
  text-decoration: none;
}

a.tag-cloud-link:hover,
.widget_tag_cloud .tagcloud a:hover {
  background: #d8e0e8;
  color: #485058;
}

/* Related Articles */

.crp-list {
  margin: 0 0 30px;
  padding: 0 0 0 5px;
  list-style: none;
}

.crp-list .crp-list-item {
  padding: 5px 0 5px 25px;
  position: relative;
}

.crp-list .crp-list-item:before {
  position: absolute;
  font-family: 'FontAwesome';
  content: "\f0f6";
  top: 5px;
  left: 0;
  color: #888;
}

/* Footer Styles */

.site-footer .site-footer__copyright a {
  color: #999;
  text-decoration: none;
}

.site-footer .site-footer__copyright a:hover {
  text-decoration: underline;
}

/* Download Styles */

.bfd-master-block > h3 {
  display: none;
}

.bfd-master-block > h3.shown {
  display: block;
}

.bfd-download-block {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 20px;
  padding: 20px;
  moz-transition: background 0.15s ease-in-out;
  -o-transition: background 0.15s ease-in-out;
  -webkit-transition: background 0.15s ease-in-out;
  -ms-transition: background 0.15s ease-in-out;
  transition: background 0.15s ease-in-out;
}

.bfd-download-block:hover {
  background-color: #fafafa;
}

div.featured > div.bfd-download-block {
  background-color: #f0f8ff;
  border-bottom-color: #e0e8ef;
}

.bfd-download-block .bfd-download-title {
  line-height: 1.4;
}

.bfd-download-block .bfd-mime-col {
  padding-left: 10px;
}

.bfd-download-block .bfd-button-container {
  padding-right: 10px;
}

.bfd-download-block a.bfd-download-meta,
.bfd-download-block a.bfd-download-meta:hover {
  color: inherit !important;
}

.bfd-download-block a.bfd-download-meta {
  width: auto;
  display: block;
}

.bfd-download-block .bfd-bottom-zero small {
  font-size: 14px;
}

.bfd-download-block a.bfd-download-btn {
  color: #fff;
  background: #73c167;
  margin-top: 20px;
  padding: 8px 12px 8px 8px;
  font-weight: 500;
}

.bfd-download-block a.bfd-download-btn:focus,
.bfd-download-block a.bfd-download-btn:hover {
  background: #83d177;	
}

.bfd-download-block .bfd-column {
  display: table-row;
}

.bfd-download-block .bfd-single-row {
  display: flex;
  flex-flow: row-reverse;
}

.bfd-download-block .bfd-single-row .bfd-icon-single {
  float: none;
}

.bfd-download-block .bfd-single-row .bfd-mime-col {
  padding-left: 10px;
  padding-right: 30px;
}

.bfd-download-block .bfd-single-row .bfd-single-button-container {
  width: 90px;
  padding-left: 30px;
}

.bfd-download-block .bfd-single-row .bfd-mime-col > object {
  width: 50px;
  height: 70px;
  max-width: none;
}

.bfd-download-block .bfd-single-row .bfd-column {
  max-width: none !important;
}

.bfd-download-block .bfd-single-row .bfd-column:nth-child(2) {
  flex-grow: 1;
}

.bfd-download-block a.bfd-single-download-btn {
  color: #fff;
  width: 60px;
  background: #73c167;
  padding: 10px;
}

.bfd-download-block a.bfd-single-download-btn:focus,
.bfd-download-block a.bfd-single-download-btn:hover {
  background: #83d177;
}

.bfd-download-block .bfd-single-download {
  padding: 0;
  background-color: transparent;
}

.bfd-download-block br {
  display: none;
}

/* Screen Styles */

.hkb-article__permalink_print,
.hkb-article__categories_print {
  display: none;
}

/* Media Queries */

.hkb-article__content h2 {
  font-size: 24px;
}

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

  .site-logo img {
    min-width: 220px;
  }

  .frontpage-banner-mobile {
    display: none; 
  }

  .ht-page.ht-page--sidebaroff .ht-page__content {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .site-header .site-header__banner .ht-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .ht-pageheader {
    padding: 40px 0;
    background-color: #f4f5f5;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2) inset;
  }

  div.frontpage-intro {
    padding: 30px;
  }

  div.frontpage-intro > h2 {
    font-size: 26px;
  }

  div.frontpage-intro > p {
    font-size: 20px;
  }

  body.term-farm-animals .ht-pageheader {
    background-color: #fff;
    background-image: url(../img/header-farm.jpg);
  }

  body.term-companion-animals .ht-pageheader {
    background-color: #fff;
    background-image: url(../img/header-companion.jpg);
  }

  body.term-wild-animals .ht-pageheader {
    background-color: #fff;
    background-image: url(../img/header-wildlife.jpg);
  }

  body.term-sport-entertainment-and-working-animals .ht-pageheader {
    background-color: #fff;
    background-image: url(../img/header-sport-entertainment.jpg);
  }

  body.term-animals-in-research-and-teaching .ht-pageheader {
    background-color: #fff;
    background-image: url(../img/header-research.jpg);
  }

  body.term-about-the-rspca .ht-pageheader {
    background-color: #fff;
    background-image: url(../img/header-about.jpg);
  }

  body.term-legislation .ht-pageheader {
    background-color: #fff;
    background-image: url(../img/header-legal.jpg);
  }

  body.term-rspca-policy .ht-pageheader {
    background-color: #fff;
    background-image: url(../img/header-policy.jpg);
  }

  .site-header .site-header__banner {
    padding: 20px 0;
  }

  .nav-header > ul > li:hover > a {
    background-color: rgba(0,0,0,0.1);
  }

  .hkb-article__content h2 {
    font-size: 26px;
  }

  .bfd-download-block .bfd-column { 
    display: table-cell; 
  }

  .bfd-download-block a.bfd-download-btn {
    margin-top: 0px;
  }

}

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

  .site-header {
    background: #fff none !important;
  }

  nav.nav-header .nav-header__mtoggle {
    margin-right: 20px;
    margin-bottom: 20px;
  }

  nav.nav-header .nav-header__mtoggle span,
  nav.nav-header .nav-header__mtoggle span::before,
  nav.nav-header .nav-header__mtoggle span::after {
    background: #888 none;
  }

  div.site-header .site-header__search {
    padding: 50px 0;
  }

  div.site-header .site-header__title {
    font-size: 20px;
  }

  ul.nav-header__menuwrapper > li > a {
    text-shadow: none;
  }

  .hkb-article__print {
    display: none;
  }
  
}


/* 404 Styles */

.ht-404msg {
  padding: 40px 0;
}

.hkb_widget_toc ol li a:hover {
  background-color: #e8f0f8;
}

.hkb-article-tags a:hover, .ht-post-tags a:hover {
  background-color: #e4e5e5;
  color: #555;
}

/* Meat Chicken Priorities */

table.meat-chicken-priorities {
  font-weight: 700;
  border: 2px solid #d0d8df;
}

table.meat-chicken-priorities tbody tr {
  border-bottom: 1px solid #e0e8ef;
}

table.meat-chicken-priorities tbody tr td {
  background-color: #f0f8ff;
  border-right: 1px solid #e0e8ef;
}

table.meat-chicken-priorities tbody tr:nth-child(2n+1) td {
  background-color: #f0f8ff;
}

table.meat-chicken-priorities tbody tr td:first-child {
  width: 200px;
  font-style: italic;
}
