
/*
$primary: #2167E6;

$success: #0FA350;
$info: #2167E6;
$warning: #ffe25e;  // gets darkened for text in _text-color.scss - so this is 20% lightened from target #C3A424
          becomes #f7cb00
$danger: #e62137;

$dark: #151515;
$body-color: #333333;
 */
/* tweaks on default theme ----------------- */
.space-3, .space-top-3 {
  padding-top: 6rem !important;
}

.space-4, .space-top-4 {
  padding-top: 9rem !important;
}

.table th {
  font-weight: 600;
}

.news-body p a {
  /* text-decoration: underline; */
}
.news-body .table-responsive {
  margin-bottom: 1rem;
}

@media (min-width:992px) {
  .space-lg-3, .space-top-lg-3 {
    padding-top: 6rem !important;
  }
  .space-top-lg-4, space-lg-4 {
    padding-top: 9rem !important;
  }
}

/* ----------- HEADER AND TOP NAV FIXES ----------------------------- */
@media (max-width:991.98px) {
  .header-white-bg-on-scroll .navbar-toggler {
    opacity: 0.25;
  }
  .header-white-bg-on-scroll .navbar-toggler:hover {
    opacity: 0.5;
  }

  .header-white-bg-on-scroll .nav-link {
    color: #677788 !important;
  }
  .header-white-bg-on-scroll .nav-link-toggle::after {
    background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='%23677788' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.72,15.78a.75.75,0,0,1-.53.22h-.38a.77.77,0,0,1-.53-.22L6.15,10.64a.5.5,0,0,1,0-.71l.71-.71a.49.49,0,0,1,.7,0L12,13.67l4.44-4.45a.5.5,0,0,1,.71,0l.7.71a.5.5,0,0,1,0,.71Z'/%3E%3C/svg%3E") no-repeat right center/1rem 1rem !important;
  }
}

.header-white-bg-on-scroll.scrolled .header-section {
  transition: background-color 1000ms, opacity 1000ms;
}
.header-white-bg-on-scroll.scrolled  .navbar-toggler {
  opacity: 1;
}

.header.scrolled .nav-link {
  transition: color 1000ms;
  color: #677788 !important;
}

.header.scrolled .nav-link-toggle::after {
  background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='%23677788' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.72,15.78a.75.75,0,0,1-.53.22h-.38a.77.77,0,0,1-.53-.22L6.15,10.64a.5.5,0,0,1,0-.71l.71-.71a.49.49,0,0,1,.7,0L12,13.67l4.44-4.45a.5.5,0,0,1,.71,0l.7.71a.5.5,0,0,1,0,.71Z'/%3E%3C/svg%3E") no-repeat right center/1rem 1rem !important;
}


/* balance out the centering when not collapsed
@media (min-width: 1200px) {
  #navBar {
    margin-right: 148px;
  }
}*/

/* display/hide items on scrolled header */
.header.scrolled .d-none-on-scroll {
  display: none !important;
}
.header.scrolled .d-inline-on-scroll {
  display: inline !important;
}

.navbar-expand-lg.navbar {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-brand {
  width: auto !important;
  padding: 10px 0 10px 0;
}
.navbar-brand > img {
  height: 50px !important;
  width: auto !important;
}

.sticky-side {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
}

/* INPAGE STICKY NAV --------------------------------- */

/* a box that can be dropped anyway and take over the whole screen */
.page-takeover {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
  background: rgba(0,0,0,0.9);
}


.page-nav {
  display: none;
  position: -webkit-sticky;
  position: sticky;
  top: 70px;
  z-index: 5;
}

.page-nav .container {
  padding: 0.5rem;
}

.page-nav .nav-item-cta {
  width: 100%;
}

.page-nav .nav-item-cta .btn {
  width: 100%;
}

@media (min-width: 992px) {
  .page-nav {
    display: block;
  }
}
.page-nav .nav {
  align-items: center;
}

.page-nav .nav-item a,
.page-nav .nav-item-cta a {
  text-decoration: none !important;
  border-bottom: none !important;
}

.news-evergreen-body h2,
.news-evergreen-body h3,
.news-evergreen-body h4 {
  /* shift the h2 so clicking an anchor moves it in the viewbox with a sticky top */
  padding-top: 145px !important;
  margin-top: -145px !important;
}

.news-evergreen-body .table thead th {
  font-size: 0.9rem;
}

.homepage-hero {
  background-size: cover;
  background-repeat: no-repeat;
}

.w-5 {
  width: 5% !important;
}
.w-10 {
  width: 10% !important;
}

/* extras ------------------------------------------- */

.bg-black {
  background: #000 !important;
}

.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
.bg-black h2,
.bg-black h3,
.bg-black h4,
.bg-black h5,
.bg-black h6 {
  color: #fff;
}

.bg-dark a,
.bg-black a {
}

.links-light a {
  color: white;
  border-bottom: dotted 1px;
}

.display-5 {
  font-size:2.5rem;
  font-weight:600;
  line-height:1.2
}

@media (max-width:1200px) {
  .display-5 {
    font-size:calc(1.2rem + 2.7vw)
  }
}

ul.checks {
  list-style: none;
  margin-bottom: 0;
}

ul.checks li:before {
  content: "\2714\0020";
  margin-left: -1.2rem;
  margin-right: 0.2rem;
}

ul.checks li:before {
  color: #0fa350;
}

ul.checks li.cross:before {
  content: "\2717\0020";
  color: #ed4c78 !important;
}

ul.stars {
  padding-left: 0;
  list-style: none;
}

ul.stars > li {
  display: inline-block;
}
ul.stars img {
  width: 22px;
}

/* responsive tables -------------------------------- */

.r-table {
  color: #677788 !important; /* reset to dark text color */
}

/* mobile styles */
.r-head {
  display: none;
}

.r-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.r-head > div {
  text-align: center;
  background-color: #f8fafd;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.r-head-full-width {
  color: #fff;
  padding: 0.5rem;
  background-color: #151515;
  border-top: .0625rem solid #e7eaf3;
  border-bottom: .0625rem solid #e7eaf3;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  vertical-align: bottom;
  text-align: center;
}

.r-foot-rg {
  padding: 0.5rem;
  margin-top: -1.5rem;
  margin-bottom: 1.5rem;
  color: #8c98a4 !important;
  font-size: 80%;

  font-style: italic;
  font-weight: 400;
  text-align: center;
}

.r-foot-rg p {
  margin-bottom: 0 !important;
}

.r-row {
  box-shadow: 0 10px 40px 10px rgba(140,152,164,.175) !important;
  margin-bottom: 1rem;
  border-radius: 0.25rem !important;
  border: .0625rem solid #e7eaf3;
  font-size: 1rem;
  padding: 0.5rem;
}

.r-row small, .r-row .text-sm {
  font-size: 1rem;
}


.r-row .text-xl {
  font-size: 1.6rem;
}

.r-head > div, .r-row > div {
  padding: 0.5rem;
  text-align: center;
}

/* enhance to cell-like layout on desktop */
@media (min-width: 992px) {
  .r-table {
    box-shadow: 0 10px 40px 10px rgba(140,152,164,.175) !important;
    display: table;
    margin-bottom: 1.5rem;
    border-top: 1px solid #e7eaf3;
  }

  .r-row {
    background-color: #f8fafd;
    box-shadow: none !important;
  }

  .r-row:nth-of-type(2n) {
    background-color: #fff;
  }

  .r-head, .r-row {
    display: table-row;
    margin-bottom: 0;
  }

  .r-head > div, .r-row > div {
    display: table-cell;
    vertical-align: middle;
  }

  .r-head > div, .r-row > div {
    border-bottom: 1px solid #e7eaf3;
    padding: 0.75rem;
  }
}


/* cell specific customizations/defaults */
.r-row .rank {
  font-size: 2rem;
  color: #0fa350 !important;
}
.r-row .logo img {
  border: none !important;
  background-color: transparent !important;
  max-width: 100%;
  height: auto;
}
.r-row .rating a {
  display: block;
  font-size: .875rem;
}
.r-row .rating .score {
  font-size: 3rem;
  color: #0fa350 !important;
  font-weight: 600 !important;
}
.r-row .bonus .info {
  font-size: 1.6rem;
  color: #e62137 !important;
  font-weight: 600 !important;
}
.r-row .bonus .detail {
  color: #8c98a4 !important;
}
.r-row .highlights {
  text-align: left !important;
}
.r-row .highlights ul {
  padding-left: 1rem !important;
  list-style: none;
  margin-bottom: 0;
}
.r-row .highlights li:before {
  content: "\2714\0020";
  margin-left: -1.2rem;
  margin-right: 0.2rem;
  color: #0fa350;
}

@media (max-width: 991.98px) {
  .r-row .highlights,
  .r-table .rank,
  .r-table .highlights {
    display: none;
  }

  .r-table .signup .btn-lg {
    display: block;
    width: 100%;
    padding: .75rem 1rem;
    font-size: 1rem;
    border-radius: .3125rem;
  }

  .r-table .logo {
    width: 30%;
  }
  .r-table .rating {
    width: 20%;
  }
  .r-table .bonus {
    width: 50%;
    text-align: left;
  }
  .r-table .signup {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .r-row {
    font-size: 0.8rem;
  }
  .r-table .rating {
    display: none;
  }
  .r-table .logo {
    width: 40%;
  }
  .r-table .bonus {
    width: 60%;
  }
  .r-table .bonus .text-xl {
    font-size: 1.4rem;
  }
}

a[rel=license] {
  color: #8c98a4 !important;
  text-decoration: underline;
}

/* tweaks for individual row box */
.r-table-box {
  width: 100%;
  box-shadow: none !important;
}

/* hide the rating box on 2-column-layout pages like news articles
   we also create our own special no-display class for doing this bespoke
*/
.two-column-layout .d-news-none,
.two-column-layout .r-table-box .rating {
  display: none;
}

.r-table-box .r-row {
  box-shadow: none !important;
  background-color: #f8fafd;
}

@media (min-width: 992px) {
  .r-table-box {
    border: 1px solid #e7eaf3;
  }
  .r-table-box .logo {
    width: 20%;
  }
}

/* homepage styles -------------------------------- */

.homepage-content h2 {
  margin-bottom: 1rem;
  font-size: 2.2rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.homepage-content p.subheading {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  font-weight: 300;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


@media (min-width: 768px) {
  .homepage-content h2,
  .homepage-content p.subheading {
    width: 90% !important;
  }
}

@media (min-width: 768px) {
  .homepage-content .welcome-bonuses .table-responsive {
    width: 50%;
    margin: 0 0 2rem 2rem;
    float: right;
  }
}

@media (min-width: 992px) {
  .homepage-content .welcome-bonuses .table-responsive {
    width: 33.3333%;
  }
}

.list-gaming-types .media-image {
  width: 6rem;
}

.list-gaming-types .media-image i {
  font-size: 4em;
}

@media (min-width: 768px) {
  .list-gaming-types .media-image {
    width: 10rem;
  }
  .list-gaming-types .media-image i {
    font-size: 6em;
  }
}


/* misc styles -------------------------------- */
.rg-message {
  border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px);
  padding: .75rem 1.25rem;
  border: 1px solid rgba(0,0,0,.125);
  margin-bottom: 1rem;
  font-style: italic;
}


.pointer {
  cursor: pointer;
}

@media (min-width: 768px) {
  .share-buttons a.btn-sm {
    font-size: .8125rem;
    width: 2.6875rem;
    height: 2.6875rem;
  }
  .share-buttons i {
    font-size: 1.5em;
  }

}

.review-box .checks {
  margin-bottom: 1rem;
}


.rating-bar {
  font-size: 0.9em;
}

.rating-bar .progress {
  height: 20px;
  margin-bottom: 1em;
}

.table.table-bonus th,
.table.table-bonus td {
  padding: 0.5rem;
}

.table-bonus td:nth-child(1) {
  white-space: nowrap;
  font-weight: 600;
}

.table-bonus .btn {
  white-space: nowrap;
  padding: .4rem .8rem;
  font-size: .875rem;
  line-height: 1.5;
  border-radius: .25rem;
}

.table-bonus .btn {
  -webkit-transform:scale(1);
  transform:scale(1);
  transition:-webkit-transform .3s;
  transition:transform .3s;
  transition:transform .3s,-webkit-transform .3s
}
.table-bonus .btn:focus,
.table-bonus .btn:hover {
  -webkit-transform:scale(1.05);
  transform:scale(1.05)
}

/* anything flagged with this is always hidden - on-page styles will then lift it based on user region */
.region-restricted {
  display: none;
}

/* borrowed from .embed-responsive-16by9 */
.media-embed {
  margin-bottom: 1rem;
}

.media-embed-doc iframe {
  width: 100%;
  height: 500px;
}

.media-embed-youtube::before, .media-embed-vimeo::before, .media-embed-twitch::before {
  padding-top: 56.25%;
}

/* floating images in news articles */
.inlineimage-right {
  margin: 0 0 20px 20px;
}

.inlineimage-left {
  margin: 0 20px 20px 0;
}

.news-body figure {
  margin-bottom: 1.5rem;
}

q {
  quotes: "“" "”" "‘" "’";
}
q::before {
    content: open-quote;
}
q::after {
    content: close-quote;
}


.news-body q.pull-quote {
  text-align: left;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  margin-right: 0;
  border-right: solid 2px #71869d;
  display: block;
  background-color: #f7faff;
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
}

@media (min-width: 992px) {
  .news-body q.pull-quote {
    margin-left: 1.5rem;
    width: 40%;
    float: right;
  }
}



.state-map {
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#usgr-map {
  margin-left: -5%;
}

#map-tooltip {
  opacity: 0;
  position: fixed;
  width: 15rem;
  transform: translateX(-50%);
  transition: opacity .4s ease;
  z-index: 1;
}

.state-map path,
.state-map g {
  stroke: white;
  stroke-width: 0.5;
  fill: #dde2ea;
  transition: all 200ms ease-in-out;
  -webkit-transform:scale(1);
  transform:scale(1);
}

.state-map path:hover,
.state-map g:hover {
  fill: #afc0dc;
  cursor: pointer;
}


#cangr-map path {
  stroke-width: 1.29209;
}


/* updates boxes */
.updates-box h2 {
  padding-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: normal;
}
.updates-box > ul {
  padding: 0;
  list-style: none;
}
.updates-box > ul > li {
  padding: 15px 0;
  border-top: solid 1px white;
  margin: 0;
}
.updates-box > ul > li > strong {
  display: block;
  padding: 0 1rem;
}

.updates-box ul ul {
  font-size: 0.9rem;
  padding: 0 1rem;
  margin: 5px 20px 10px 20px;
  list-style-type: disc;
}
.updates-box ul ul ul {
  list-style-type: circle;
}

.updates-more {

}


/* designs for v2 of the viewbox */

.review-box-2 {
  background-image: url('../images/hero.jpg') !important;
  background-color: #000;
}

.review-box-2 > div {
  background-color: rgba(0,0,0,0.5);
}

.review-box-2 .rating-bar .title {
  display: flex;
  font-size: 80%;
}
.review-box-2 .rating-bar .prop {
  flex-grow: 1;
  color: #8c98a4 !important;
  text-transform: uppercase;
}
.review-box-2 .rating-bar .value {
  flex-grow: 0;
  color: #fff;
}

.review-box-2 .progress {
  height: 6px;
  background-color: #b5b7bd;
  margin: 0.5rem 0 1rem 0;
}

.review-box-2 .rg,
#dynamic-side .rg {
  color: #8c98a4 !important;
  text-align: center;
  font-size: 80%;
  font-weight: 400;
  padding-top: 0.5rem !important;
  font-style: italic;
}

.review-box-2 .rg a {
  color: #8c98a4;
  border-bottom: dotted 1px #8c98a4;
}
.review-box-2 .rg a:hover {
  color: white;
  border-color: white;
}

.sticky-cta {
  position: sticky;
  top: 70px;
}

.rating-circle {
  margin: 0 auto;
  display: block;
  position: relative;
  width: 100%;
  max-width: 200px;
  border-style: solid;
  border-width: 4px;
  border-color: #f7cb00;
  border-radius: 50%;
}
.rating-circle:after {
  content: '';
  display: block;
  margin-top: 100%;
}
.rating-circle .rating {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.rating-circle .rating ul {
  margin-bottom: 0 !important;
}

#dynamic-side .takeaways .text-muted {
  display: none;
}

#dynamic-side > div {
  position: sticky;
  top: 150px;
  background-image: url('../images/hero.jpg');
  background-size: cover;
}

#dynamic-side ul.checks {
  padding-left: 0 !important;
}

#dynamic-side .h2 {
  line-height: 1.2;
}

#dynamic-side img {
  margin-bottom: 1rem;
}

#dynamic-side .bonus p,
#dynamic-side .bonus .mb-4 {
  margin-bottom: .5rem !important; /* mt-2 */
}

#dynamic-side .cta a.btn {
  margin: 1rem 0;
  font-size: 1rem !important;
}

#dynamic-side .bonus .text-muted {
  display: none;
}
