/*
Theme Name: Safe Page One Pager Child
Theme URI: https://safe-page-one-pager.safepages.xyz
Template: safe-page-one-pager
Author: Safe Page One Pager
Version: 1.0.1618494728
Updated: 2021-04-15 13:52:08

*/

@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,400i,700,700i|Krona+One:400|Quicksand:300,400,500,600,700&display=swap');

/* defaults */

html {
  position: relative;
}

body {
  margin: 0;
  font-family: 'Noto Sans';
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0 0 10px;
}

h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, p:last-child {
  margin-bottom: 0;
}

h1, h2, h3 {
  line-height: 1.3;
  font-weight: 300;
  font-family: 'Quicksand';
}

h1 {
  font-size: 2.3em;
  font-family: 'Krona One';
}

h2 {
  font-size: 2.3em;
}

h3 {
  font-size: 1.2em;
}

@media (max-width: 575px) {
  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.8em;
  }

  h3 {
    font-size: 1.1em;
  }

  body {
    font-size: 14px;
  }
}

a {
  text-decoration: none;
  color: #000;
	transition: 0.3s ease;
}

p a {
  color: #ff0000;
}

p a:hover {
  text-decoration: underline;
}

*:focus {
  outline: none;
}

input, textarea, select {
  font-family: 'Noto Sans';
  font-size: 1em;
}

.button {
	transition: 0.3s;
}

@media (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}

/* footer */

.site-footer {
  padding: 20px 0;
  background: #000;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer, .site-footer a {
  color: #fff;
}

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

.site-footer .menu {
  padding-left: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: flex-end;
}

.site-footer .menu li:nth-child(n+2) {
  margin-left: 10px;
}

@media (max-width: 767px) {
  .site-footer {
    text-align: center;
  }

  .site-footer .menu {
    justify-content: center;
    padding-top: 10px;
  }
}

/* header */

.site-header {
  padding: 15px 0;
  background: #111;
  font-size: 13px;
  line-height: 1.5;
}

.site-header, .site-header a {
  color: #fff;
}

.site-header .row {
  align-items: center;
}

.site-header .menu {
  padding-left: 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  font-weight: bold;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.site-header .menu li:nth-child(n+2) {
  margin-left: 10px;
}

.site-header .logo img {
  max-width: 170px;
  display: block;
}

@media (max-width: 767px) {
  .site-header .logo img {
    margin: 0 auto 10px;
  }

  .site-header .menu {
    justify-content: center;
  }

  .site-header .menu li {
    margin-top: 5px;
  }
}

/* default */

.site-main > section {
  padding: 60px 0;
}

.section-1 .hero {
  margin: -60px 0 60px;
  padding: 90px 0;
  background: url(https://www.topsportsbookscanada.com/wp-content/uploads/2021/05/hero.jpg) center/cover;
}

.section-1 .hero h1 {
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 2px 2px #000;
  color: #fff;
}

.default-content ul, .default-content ol {
  padding-left: 20px;
}

.default-content li:nth-child(n+2) {
  margin-top: 10px;
}

/* home */

.home .section-1 {
  padding: 90px 0;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 2px #000;
  background-position: center !important;
  background-size: cover !important;
}

.home .section-1 h1 {
  padding-bottom: 20px;
  text-transform: uppercase;
}

.home .section-1 p {
  font-style: italic;
  font-size: 1.2em;
  line-height: 1.5;
}

.home .section-2 {
  padding: 0;
}

.home .section-2 > div {
  padding: 80px 0;
  font-size: 1.5em;
  line-height: 1.3;
  font-style: italic;
  background: center/cover;
}

.home .section-2 > div:nth-child(odd) {
  background-image: url(https://www.topsportsbookscanada.com/wp-content/uploads/2021/05/featured-1.jpg);
}

.home .section-2 > div:nth-child(even) {
  background-image: url(https://www.topsportsbookscanada.com/wp-content/uploads/2021/05/featured-2.jpg);
  color: #fff;
}

.home .section-2 > div:nth-child(odd) p {
  padding-right: 50%;
}

.home .section-2 > div:nth-child(even) p {
  padding-left: 50%;
}

.home .introduction {
  text-align: center;
}

.home .introduction:not(:last-child) {
  padding-bottom: 30px;
}

.home .introduction h2 {
  padding-bottom: 10px;
  margin-bottom: 0 !important;
}

.home .section-4 {
  background: #f2f2f2;
}

.home .section-3 .footer {
  padding: 60px 0;
  margin-bottom: -60px;
  background: #111;
  color: #fff;
  margin-top: 60px;
}

.posts {
  color: #404040;
  text-align: center;
}

.posts .f-img {
  height: 170px;
  background: center/cover;
  margin-bottom: 10px;
}

.posts h4 {
  font-weight: 400;
}

.posts a {
  position: absolute;
  top: 0;
  left: 15px;
  width: calc(100% - 30px);
  height: 100%;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  display: flex;
}

.carousel-slide .slide {
  flex: 0 0 100%;
  padding: 0 70px;
}

.carousel-slide .row {
  align-items: center;
}

.carousel-slide img {
  max-height: 350px;
  display: block;
  margin: 0 auto;
}

.carousel-slide h4 {
  font-size: 1.2em;
  line-height: 1.5;
  font-weight: 400;
  border-bottom: 3px solid #ff0000;
  display: inline-block;
}

.carousel-slide .author {
  padding-top: 10px;
  font-style: italic;
}

.carousel-navigation .arrow {
  position: absolute;
  top: calc(50% - 35px);
  left: 0;
}

.carousel-navigation .arrow.right {
  left: auto;
  right: 0;
}

.carousel-navigation img {
  height: 70px;
  cursor: pointer;
}

.carousel-navigation .left img {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .home .section-2 > div p {
    padding: 0 !important;
  }

  .carousel-slide img {
    margin-bottom: 20px;
  }
  
  .posts > div:nth-child(n+2) {
    margin-top: 30px;
  }
}