/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.inside-right-sidebar {
  position: sticky;
  top: 100px;
}

.widget.widget_fairpunishment_list_links,
.widget.widget_fairpunishment_table_contents {
  background-color: #fbfcfd;
  border-radius: 7px;
  padding: 15px;
  border: 1px solid #ddd;
}

.title-widget {
  font-weight: 700;
  font-size: 18px;
  color: #0b1332;
  line-height: 28.8px;
  margin: 5px 0 15px !important;
}

.list-links-widget {
  font-size: 14.4px;
  line-height: 21.6px;
}

.list-link-widget {
  margin-bottom: 2px;
}


.widget.widget_fairpunishment_list_links .list-link-widget a svg {
  fill: #3abdea;
  width: 17px;
  height: 17px;
  vertical-align: -2px;
}

.widget_fairpunishment_table_contents .list-link-widget {
  display: flex;
}

.widget_fairpunishment_table_contents .list-link-widget span {
  padding-right: 6px;
  vertical-align: 1px;
  color: #488ac9;
  font-weight: 900;
}

.list-links-widget a {
  color: #3abdea !important;
}

.widget_fairpunishment_table_contents .list-link-widget a {
  color: #0b1332 !important;
}

.widget_fairpunishment_table_contents .list-link-widget a:hover,
.widget_fairpunishment_table_contents .list-link-widget a.active {
  color: #3abdea !important;
}

.single-post .entry-content h1 {
  color: #282f38;
}

.site-content {
  flex-wrap: wrap;
}

#block-before-content {
  font-size: 19.2px;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-bottom: 40px;
}

@media ( max-width: 900px ) {
  #block-before-content {
      font-size: 17.2px;
  }
}

#block-before-content .block-before-left-column {
  padding-right: 40px;
  max-width: 50%;
}

@media ( max-width: 900px ) {
  #block-before-content .block-before-left-column {
    padding-right: 0;
    max-width: 100%;
    flex: 0 0 100%;
  }
}

#block-before-content .block-before-left-column h2 {
  font-size: 26.6px;
  font-weight: 600;
  margin-bottom: 20px;
}

#block-before-content .block-before-right-column {
  max-width: 50%;
}

@media ( max-width: 900px ) {
  #block-before-content .block-before-right-column {
    max-width: 100%;
    flex: 0 0 100%;
  }
}

#block-before-content .block-before-content-bottom {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#block-before-content .block-before-content-bottom-breadcrumbs {
  font-size: 14px;
  max-width: 50%;
}

@media ( max-width: 900px ) {
  #block-before-content .block-before-content-bottom-breadcrumbs {
    max-width: 100%;
  }
}

#block-before-content .block-before-content-bottom-breadcrumbs a {
  font-weight: 600;
  color: #2ba6ff;
  text-decoration: underline;
}

#block-before-content .block-before-content-bottom-breadcrumbs a:hover {
  text-decoration: none;
  color: #16639a;
}

#block-before-content .block-before-content-bottom-update {
  max-width: 50%;
  font-size: 14px;
  color: #777;
}

@media ( max-width: 900px ) {
  #block-before-content .block-before-content-bottom-update {
    max-width: 100%;
  }
}

#block-before-content .block-before-right-column-video {
  margin-top: 40px;
}

@media ( max-width: 900px ) {
  #block-before-content .block-before-right-column-video iframe  {
    width: 100%;
  }
}

#block-before-content .block-before-right-column-image img {
  width: 100%;
}

#block-before-content .block-before-right-column-text-below {
  font-size: 19.2px;
  background-color: #333;
  color: #fff;
  margin-top: -11px;
  margin-bottom: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
}

@media ( max-width: 900px ) {
  #block-before-content .block-before-right-column-text-below {
      font-size: 17.2px;
  }
}

#block-before-content .block-before-right-column-text-below p {
  margin-bottom: 0;
}

#block-before-content .block-before-right-column-text-below a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  transition: .2s ease all;
}

#block-before-content .block-before-right-column-text-below a:hover {
  text-decoration: none;
}

#block-before-content .block-before-left-column-list {
  padding-left: 40px;
  margin-bottom: 20px;
}

@media ( max-width: 900px ) {
  #block-before-content .block-before-left-column-list {
    padding-left: 20px;
  }
}

#block-before-content .block-before-left-column-list-item {
  color: #2ba6ff;
  display: block;
  font-size: 19.2px;
  font-weight: 600;
  text-decoration: underline;
  transition: .2s ease all;
  padding: 5px;
}

@media ( max-width: 900px ) {
  #block-before-content .block-before-left-column-list-item {
      font-size: 17.2px;
  }
}

#block-before-content .block-before-left-column-list-item:hover {
  text-decoration: none;
  color: #16639a;
}

#block-before-content .block-before-left-column-description a {
  font-weight: 600;
  color: #2ba6ff;
  text-decoration: underline;
}

#block-before-content .block-before-left-column-list-text {
  padding-left: 40px;
  margin-top: 25px;
  margin-bottom: 10px;
}

@media ( max-width: 900px ) {
  #block-before-content .block-before-left-column-list-text {
    padding-left: 20px;
  }
}

#block-before-content .block-before-left-column-list-wrapper-item {
  display: flex;
  align-items: center;
}

#block-before-content .block-before-left-column-list-wrapper-item.rating {
  display: block;
  margin-bottom: 6px;
  font-size: 18.2px;
}

#block-before-content .block-before-left-column-list-wrapper-item.rating .block-before-left-column-list-item {
  display: inline;
  vertical-align: top;
  font-size: 18.2px;
  padding: 0;
}

#block-before-content .block-before-left-column-list-wrapper-item.rating .block-before-left-column-list-item span {
  display: inline;
  vertical-align: top;
}

:root {
  --star-size: 22px;
  --star-color: #e0dbe1;
  --star-background: #fc0;
}

#block-before-content .block-before-left-column-list-stars {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: var(--star-size);
  font-family: Times;
  line-height: 1;
}

#block-before-content .block-before-left-column-list-stars::before {
  content: '★★★★★';
  letter-spacing: 0;
  background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media ( max-width: 768px ) {
  .container .site-content .content-area {
      width: 100%;
  }
}
