/*
Theme Name: Poolside Wordpress theme
Theme URI: https://www.gopoolside.com
Author: the Poolside Team
Author URI: https://www.gopoolside.com
Description: Displays content and cooks dinner
Version: 1.0
Text Domain: poolside
*/

@import url("bootstrap.css");

body {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100,
    "YTLC" 500;
}
:root {
  --poolside-color-text-dark: rgba(33, 33, 33, 1);
  --poolside-blue: rgb(51, 112, 219);
  --poolside-light-blue: rgb(138 181 182);
  --poolside-color-cta-link: rgb(245, 101, 11);
  --poolside-color-text: rgba(33, 33, 33, 1);
  --poolside-section-spacing: 80px;
  --poolside-border-radius-lg: 10px;
}

body:has(nav .navbar-collapse.collapse.show) {
  overflow: hidden;
}

.page-wrapper {
  flex: 1 0 auto;
}
.hero-text {
  font-size: 20px;
}
.poolside-color-light-blue {
  color: var(--poolside-light-blue) !important;
}
a {
  text-decoration: none;
  color: var(--poolside-color-cta-link);
  &:hover {
    color: var(--poolside-color-cta-link);
    opacity: 0.8;
  }
}
.hero-background-1 {
  background: no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-color: var(--poolside-blue);
  background-image: url('/wp-content/themes/poolside/images/hero1_default_3x.jpeg');
}
.hero-background-1 h1 {
  line-height: 4rem;
  letter-spacing: 1px;
  font-weight: 700 !important;
  font-style: normal;
  font-size: 4rem;
  color: var(--bs-white);
  margin-bottom: 2rem;
}

@media screen and (max-width: 959px) {
  .hero-background-1 {
    background-image: url('/wp-content/themes/poolside/images/hero1_mobile_3x.jpeg');
    background-position: center top 0;
    min-height: 100vh !important;
  }

  .hero-background-1 h1 {
    font-size: 2.7rem;
    line-height: 2.7rem;
  }

  .hero-background-1 .hero-text {
    font-size: 1.1rem;
    margin: 1rem;
  }
}

.section-spacing-y {
  padding: var(--poolside-section-spacing) 0;
}
.hero-background-1 .card {
  background-color: rgba(255, 255, 255, 0.8) !important;
}

.hero-background-1 .card-title {
  font-weight: 600;
  color: var(--poolside-blue) !important;
}

.hero-background-1a {
  background-color: var(--bs-white);
}
.hero-background-1a h1 {
  color: var(--poolside-blue);
}
.hero-background-1a .waves {
  width: 20px;
}

.hero-background-2 {
  background: var(--poolside-light-blue);
  padding: var(--poolside-section-spacing) 0;
}

.hero-background-2 .features {

}

.post-preview  {
  margin: 30px 0;
}
.post-preview h3 a{
  color: var(--bs-dark);
}
.post-preview img {
  border-radius: 4px;
}

.hero-background-2 .features img {
  width: 50px;
  height: 50px;
}

.hero-background-3 {
  background: var(--bs-white);
  padding: var(--poolside-section-spacing) 0;
}

.hero-background-3 h5 {
  color: var(--poolside-blue) !important;
  line-height: 36px;
}
@media screen and (max-width: 767px) {
  .hero-background-3 .highlight h5{
    text-align: center;
    line-height: 30px;
    letter-spacing: 0px;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    color: rgba(51, 112, 219, 1);
  }
  .hero-background-1a h2 {
    text-align: center;
    line-height: 30px;
    letter-spacing: 0px;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    color: rgba(51, 112, 219, 1);
  }
}
.hero-background-12 {
  background: rgb(227, 227, 227);
}
.hero-background-4 {
  background: rgb(227, 227, 227);
}
.hero-background-4 table {
  background-color: var(--bs-white);
  border-radius: var(--poolside-border-radius-lg);
}
.border-radius-m {
  border-radius: var(--poolside-border-radius-lg) !important;
}

.hero-background-4 p.highlight {
  color: var(--poolside-color-cta-link);
  font-weight: 700;
}

.hero-background-4 h5.highlight {
  color: var(--poolside-blue);
  font-weight: 500;
  font-size: 1.5rem;
}

.hero-background-7 {
  background: rgb(76, 75, 77);
}

.hero-background-10 {
  background: var(--poolside-light-blue);
}

.hero-background-10 .highlight {
  background-color: var(--poolside-blue);
  padding: 1.5rem;
}

@media screen and (min-width: 960px) {
  .hero-background-10 .highlight {
    font-size: 1.5rem;
    border-radius: var(--bs-border-radius);
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.hero-background-11 {
  background-color: var(--bs-white);
  padding: var(--poolside-section-spacing) 0;
}

.comparison-cell-top {
  border-top: 2px solid var(--poolside-blue);
  border-top-left-radius: var(--poolside-border-radius-lg);
  border-top-right-radius: var(--poolside-border-radius-lg);
}

.comparison-cell-bottom {
  border-bottom: 2px solid var(--poolside-blue);
  border-bottom-left-radius: var(--poolside-border-radius-lg);
  border-bottom-right-radius: var(--poolside-border-radius-lg);
  border-bottom-width: 2px !important;
}

.comparison-cell {
  border-left: 2px solid var(--poolside-blue);
  border-right: 2px solid var(--poolside-blue);
  border-spacing: 0;
}

.comparison-table {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

@media screen and (max-width: 959px) {
  .comparison-table .comparison-cell {
    font-weight: bold;
  }
}

@media screen and (min-width: 960px) {
  .comparison-table {
    margin: auto;
    width: 700px;
  }
}
.flex-center {
  display: flex;
  justify-content: center;
}
.navbar {
  max-width: 1320px;
  margin: auto;
}
.top-nav {
  background-color: transparent;
  max-width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  transition: background-color 0.15s linear;
}


.top-nav:has(.navbar-scrolled) {
  background-color: var(--bs-white);
}

.top-nav__links {
  width: 100%;
  display: flex;
  align-items: center;
}

.top-nav__actions {
  justify-content: flex-end;
  align-items: center;
  display: flex;
  padding-bottom: 8px; /* todo remove */
}

.nav-link {
  white-space: nowrap;
  text-decoration: none;
  padding-bottom: 1px;
  background: none;
  color: var(--bs-white);
}

.scrolled {
  background-color: var(--bs-white) !important;
  transition: background-color 200ms linear;
}

.scrolled .nav-link {
  color: var(--poolside-color-text-dark);
  padding-top: 2px;
}

.btn-cta {
  background-color: var(--poolside-color-cta-link);
  width: 214px;
  border-radius: 4px;
  color: var(--bs-white);
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.75rem !important;
}

a.btn-cta:hover, a.btn-cta:hover {
  background-color: rgb(240, 126, 55);
  opacity: 0.9;
  color: var(--bs-white);
}

footer .footer-nav-links {
  text-transform: uppercase;
  font-size: 14px;
}

footer .footer-nav-links a,
footer .footer-nav-links .link-dark:hover,
footer .footer-nav-links .link-dark:focus {
  text-decoration: none !important;
}

footer .footer-nav-links .link-dark:hover,
footer .footer-nav-links .link-dark:focus {
  color: var(--poolside-blue) !important;
}

footer .cr {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.7rem;
}

footer .linkedin img {
  height: 32px;
  width: 40px;
}

footer .logo {

}
.navbar {
  /* transition: all 0.15s; */
  transition: unset;
}
.navbar * {
  transition: unset;
}
.navbar-toggler {
  z-index: 9;
}
.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  color: var(--bs-white) !important;
}
.navbar-nav {
  gap: 12px;
}
.full-height {
  position: fixed !important;
  overflow: auto;
  height: 100vh;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: var(--poolside-light-blue);
}

.logo-dark {
  display: none;
}
.single-post .img-post-cover {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}
.single-post h1 {
  color: var(--poolside-color-text-dark);
  margin-top: 24px;
}
body.single-post,
body.archive,
body.category,
body.error404,
body.page,
body.post,
body.home {
  background-color: var(--bs-white);
}

body.single-post .nav-link,
body.archive .nav-link,
body.category .nav-link,
body.error404 .nav-link,
body.post .nav-link {
  color: rgba(33, 33, 33, 1) !important;
}

body.single-post .logo-dark,
body.archive .logo-dark,
body.category .logo-dark,
body.error404 .logo-dark,
body.post .logo-dark {
  display: block !important;
}

body.single-post .logo-light,
body.archive .logo-light,
body.category .logo-light,
body.error404 .logo-light,
body.post .logo-light {
  display: none !important;
}

/*
.single-post .navbar{
    color: var(--poolside-color-text-dark);
    background-color: #fff !important;
    transition: background-color 200ms linear;
}
.single-post .nav-link{
  color: var(--poolside-color-text-dark) !important;
}
.single-post .navbar .logo-dark {
  display: block;
}
.single-post .navbar .logo-light {
  display: none;
}
.single-post .navbar {
  background-color: #fff;
}
.single-post .navbar nav a{
  color: rgba(33, 33, 33, 1) !important;
}
.single-post .navbar .navbar-toggler-icon {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
.single-post nav:has(.navbar-collapse.collapse.show) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23fff' stroke-width='2' d='M5 5l20 20M25 5L5 25'/%3E%3C/svg%3E") !important;
}
*/
.content-container {
  max-width: 900px;
  margin: auto;
  margin-top: 60px;
  padding: 0 16px;
}

.single-post-container {
  margin-top: 60px;
}

.bg-white-rounded {
  background-color: var(--bs-white);
  padding: 56px 28px 50px 28px;
}

.single-post-container h1,
.single-post-container h2,
.single-post-container h3,
.single-post-container h4,
.single-post-container h5,
.single-post-container h6,
.single-post-container p,
.single-post-container li,

body.archive footer .link-dark,
body.category footer .link-dark,
body.error404 footer .link-dark,
body.home footer .link-dark,
body.page footer .link-dark,
body.post footer .link-dark,
body.single-post footer .link-dark,

body.archive footer .cr,
body.category footer .cr,
body.error404 footer .cr,
body.home footer .cr,
body.page footer .cr,
body.post footer .cr,
body.single-post footer .cr,
.single-post footer .cr
{
  color: var(--poolside-color-text);
}

.single-post footer {
  margin-top: 100px;
}

.single-post footer.container {
  max-width: 900px !important;
  padding: 0 16px !important;
}

.home.page footer .logo-dark{
  display: block;
}

body.archive footer .logo-light,
body.category footer .logo-light,
body.error404 footer .logo-light,
body.home footer .logo-light,
body.page footer .logo-light,
body.post footer .logo-light,
body.single-post footer .logo-light {
  display: none;
}

.navbar-scrolled .logo-dark {
  display: block;
}
.navbar-scrolled .logo-light {
  display: none;
}

.navbar .navbar-toggler-icon {
  /*burger light*/
  /* background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); */
  /*burger dark*/
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar.navbar-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

nav.navbar-scrolled:has(.navbar-collapse.collapse.show) .navbar-toggler-icon,
nav:has(.navbar-collapse.collapse.show) .navbar-toggler-icon{
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23fff' stroke-width='2' d='M5 5l20 20M25 5L5 25'/%3E%3C/svg%3E");
}
.navbar-scrolled .nav-link {
  color: rgba(33, 33, 33, 1) !important;
}


.card {
  border-radius: 12px;
}
.card-body {
  padding: 22px 24px;
}
.wpcf7 {
  max-width: 350px;
  margin: auto;
}

.navbar-brand {
  margin-left: 14px;
}
.navbar-collapse {
  justify-content: flex-end;
}
/*
.navbar-collapse {
  position: fixed !important;
  height: 100vh;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: var(--poolside-light-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
*/


@media screen and (min-width: 960px) {
  .page-template-faq p,
  .page-template-faq h2 {
    width: 75%;
  }
}
.page-template-faq h2 {
  padding-top: 2rem;
  font-size: 1.5rem;
  color: var(--poolside-blue);
}

@media screen and (max-width: 991px) {
  .navbar-collapse {
    position: fixed !important;
    height: 100vh;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: var(--poolside-light-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .nav-link {
    font-size: 28px;
  }

  .navbar-collapse.collapse.show .nav-link{
    color: var(--bs-white) !important;
  }
}

.wpcf7-form-control.wpcf7-submit {
  background-color: var(--poolside-color-cta-link);
  width: 214px;
  border-radius: 4px;
  color: var(--bs-white);
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.75rem !important;
  border: unset;
  text-align: center;
  margin: auto;
  display: block;
}
