/*!
Theme Name: Workout Rewards
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: workout-rewards
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

workout-rewards is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

* {
  box-sizing: border-box;
}
@font-face {
  font-family: Circular;
  src: url("./fonts/CircularPro-Book.woff2") format("woff2"),
    url("./fonts/CircularPro-Book.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
}
@font-face {
  font-family: Circular;
  src: url("./fonts/CircularPro-Bold.woff2") format("woff2"),
    url("./fonts/CircularPro-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: Ubuntu;
  src: url("./fonts/UbuntuSans-ExtraBold.woff2") format("woff2"),
    url("./fonts/UbuntuSans-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Circular;
  font-style: normal;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
}
:root {
  --blue: #3498DB;
  --black: #201D1D;
  --grey: rgba(32,29,29,0.5);
}
main {
  display: block;
  position: relative;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
video.ofc,
img.ofc {
  object-fit: cover;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.jcsb {
  justify-content: space-between;
}
.aic {
  align-items: center;
}
.jcc {
  justify-content: center;
}
.p.white,
p.white,
.white p,
.white {
  color: #ffffff !important;
}
a {
  color: inherit;
  text-decoration: none;
}
p.bold,
strong p,
.bold p,
strong,
.bold {
  font-weight: 700;
}
.wpcf7-response-output {
	text-align: center;
}
h1,h2,h3,h4,h5,h6 {
    font-family: Ubuntu;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0;
    line-height: 120%;
}
h1 {
    font-size: 50px;
    color: #ffffff;
}
h2 {
    font-size: 40px;
    margin: 0 0 16px;
}
h3 {
    font-size: 32px;
    color: var(--black);
}
h4 {
    font-size: 26px;
    color: var(--black);
}
p {
    margin-top: 0;
}
body:not(.elementor-page) p {
    font-size: 18px;
    line-height: 130%;
    color: var(--black);
    margin-top: 0;
}
p.p20 {
    font-size: 20px;
}
.container.hdr-container {
    max-width: 100%;
}
header.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 24px 0;
}
img {
    height: auto;
    max-width: 100%;
}
header.site-header .site-branding img {
    max-width: 185px;
    height: auto;
    display: block;
}
span.blue,
.blue {
    color: var(--blue);
}
header ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    list-style: none;
}
header ul li {
    margin-left: 16px;
}
header ul li a {
    padding: 12px 24px;
    border-radius: 10px;
    display: inline-block;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
}
header ul > li:last-of-type a {
    background: var(--blue);
    color: #ffffff;
}
header ul li a {
    background: #ffffff;
    color: var(--black);
}
header .main-navigation {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#main-form {
    max-width: 511px;
    width: 100%;
    margin: auto;
    position: relative;
}
#main-form input {
    display: block;
    width: 100%;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: Circular;
    color: var(--black);
    padding: 14px 16px;
    border-radius: 12px;
    background: #ffffff;
    outline: none;
    border: none;
}
#main-form input::placeholder {
    font-weight: 700;
    color: var(--grey);
}
#main-form button {
    position: absolute;
    top: 6px;
    right: 6px;
}
.text-center {
    text-align: center;
}
.btn {
    appearance: none;
    outline: none;
    border: none;
    border-radius: 10px;
    padding: 12px 32px;
    text-transform: uppercase;
    font-size: 18px;
    font-family: Circular;
    font-weight: 700;
    display: inline-block;
    transition: all .2s ease;
}
.btn.btn-small {
    padding: 10px 16px;
    font-size: 14px;
    line-height: 18px;
}
.btn.btn-blue {
    background: var(--blue);
    color: #ffffff;
}
header ul > li:last-of-type a {
    transition: all .2s ease;
}
header ul > li:last-of-type a:hover,
.btn.btn-blue:hover {
    background: #2387CA;
}
footer .site-branding {
    width: 100%;
    max-width: 185px;
}
footer {
    padding: 32px 0 40px;
    border-radius: 40px 40px 0 0;
    margin-top: -40px;
    background: #ffffff;
    z-index: 100;
    position: relative;
    border-top: 2px solid var(--grey);
}
.footer-nav ul {
    list-style: none;
    columns: 2;
    margin: 0;
    padding: 0;
    gap: 0;
}
.footer-nav ul > li {
    font-size: 14px;
    color: var(--grey);
    margin: 0 0 16px;
}
.nm {
    margin: 0;
}
p.copyright {
    font-size: 14px !important;
    color: var(--grey) !important;
}
.footer-top-row {
    margin: 0 0 40px;
}
.socials-row a {
    display: block;
    margin-right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F7F7F5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.socials-row a svg {
    display: block;
}
.contact-section {
    padding: 80px 0 120px;
}
.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: var(--black);
    opacity: 0.7;
}
.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
section {
    position: relative;
}
.contact-row {
    position: relative;
    z-index: 5;
}
.contact-row .left {
    align-items: flex-start;
    max-width: 596px;
    padding-right: 24px;
}
span.pre-title {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    color: #ffffff;
    background: var(--blue);
    border-radius: 4px;
    margin: 0 0 16px;
    text-transform: uppercase;
}
.body > p:last-of-type {
    margin: 0;
}
.form-row {
    display: flex;
    flex-direction: row;
}
.form-wrap span {
    display: block;
}
.form-wrap {
    padding: 24px;
    background: #ffffff;
    border: 2px solid #DDDDDD;
    border-radius: 12px;
    max-width: 576px;
}
.form-wrap textarea,
.form-wrap input:not([type="submit"]) {
    appearance: none;
    width: 100%;
    max-width: 100%;
    background: rgba(32, 29, 29,0.03);
    border: 1px solid var(--black);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: Circular;
    font-size: 16px;
    line-height: 24px;
    color: var(--black);
    display: block;
    max-width: 100%;
}
.form-wrap textarea {
    width: 100%;
}
.form-wrap select {
    appearance: none;
    background: rgba(32, 29, 29,0.03);
    border: 1px solid var(--black);
    border-radius: 8px;
    padding: 10px 40px 10px 12px;
    font-family: Circular;
    font-size: 16px;
    line-height: 24px;
    display: block;
    width: 100%;
    color: rgba(32, 29, 29,0.35);
}
.form-wrap h3 {
    margin: 0 0 20px;
}
.form-wrap select::placeholder,
.form-wrap textarea::placeholder,
.form-wrap input::placeholder {
    color: rgba(32, 29, 29,0.35);
}
.wpcf7-spinner {
    display: none !important;
}
.select-wrap {
    position: relative;
}
.select-wrap::after {
    content: '';
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: url('/wp-content/uploads/2024/11/down-arrow.png');
    background-size: contain;
}
.form-row > span:first-of-type {
    padding-right: 12px;
}
.form-row > span:last-of-type {
    padding-left: 12px;
}
.form-wrap span {
    margin: 0 0 20px;
}
.form-row > span {
    width: 50%;
    max-width: 50%;
    min-width: 50%;
    display: block;
}
input.btn.btn-blue {
    display: block;
    width: 100%;
}
.images-and-badge {
    position: relative;
}
.images-and-badge .badge {
    position: absolute;
    top: 0;
    left: -70px;
    z-index: 10;
    height: 263px;
    width: 263px;
}
.images-and-badge .badge svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
}
.images-and-badge .badge .elementor-widget-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.images-and-badge .badge span {
    position: relative;
    z-index: 5;
    display: block;
    max-width: 123px;
    text-align: center;
}
.images-and-badge .badge span.large {
    font-size: 64px;
    font-family: Ubuntu;
    margin: 4px 0;
}
.images-and-badge > div.elementor-widget-image img {
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 2px 12px 3px rgba(32, 29, 29,0.13);
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.images-and-badge > div.elementor-widget-image:nth-of-type(1) {
    position: relative;
    padding-bottom: 168px;
    padding-left: 125px;
    z-index: 1;
    height: 468px;
}
.images-and-badge > div.elementor-widget-image:nth-of-type(2) {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 5;
    width: 80%;
    max-width: 433px;
    height: 289px;
}
.numbered-icon {
    max-width: 143px;
    margin: 0 auto;
}
.numbered-icon span.number {
    display: block;
    background: var(--blue);
    border-radius: 8px 8px 0 0;
    max-width: 102px;
    margin: 0 auto;
    text-align: center;
    font-size: 24px;
    line-height: 30px;
    color: #ffffff;
    font-family: Ubuntu;
    font-weight: 700;
    padding: 0 0 12px;
}
.numbered-icon .icon {
    max-width: 102px;
    width: 102px;
    height: 102px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: -12px auto 0;
    border: 5px solid #ffffff;
    border-radius: 12px;
    background: var(--black);
}
.numbered-icon p {
    text-align: center;
    margin: 14px 0 0;
    font-size: 24px;
}
.gym-hero {
    padding: 271px 0 151px;
}
.gym-hero .container {
    position: relative;
    z-index: 5;
}
.gym-hero > img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.gym-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(120deg, #000000CC 0%, #0000004D 100%);
    opacity: 1;
}
.gym-hero h1 {
    text-align: center;
    margin: 0;
}
article.type-gym .no-content {
    padding: 64px 0;
}
#main-form p {
    color: #ffffff;
    text-align: center;
    margin: 8px 0 0;
}
.gym-content {
    padding: 80px 0;
}
.rewards-grid,
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, calc(33.33% - 16px));
    grid-column-gap: 24px;
    grid-row-gap: 24px;
}
.category-grid {
    margin: 40px 0 0;
}
.category-card {
    height: 480px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}
.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    opacity: 1;
}
.category-card .img-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}
.category-card:hover img {
    transform: scale(1.1);
}
.category-card .img-container > img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 2s ease, transform .4s ease;
}
.category-card .img-container > img.active {
    opacity: 1;
}
.category-card a {
    position: relative;
    z-index: 5;
    height: 100%;
    padding: 24px;
}
.category-card h3 {
    margin: 0;
    text-align: center;
}
.rewards-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transform: scale(0.5);
    transition: all .3s ease;
}
body.reward-modal-open {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}
.reward-modal-open .rewards-modal {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}
.rewards-modal .container {
    padding: 0 40px;
}
.rewards-modal .rewards-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--grey);
    backdrop-filter: blur(10px);
}
.rewards-modal-inner {
    height: 100svh;
    padding: 40px 0;
    position: relative;
    z-index: 5;
}
.rewards-modal .rewards-modal-content {
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    position: relative;
}
.rewards-modal .rewards-modal-content #ajax-data {
    max-height: 100%;
    min-height: 100%;
    overflow-y: auto;
    padding-bottom: 20px;
}
.rewards-modal .rewards-modal-content #ajax-data::-webkit-scrollbar {
  width: 3px;
}
.rewards-modal .rewards-modal-content #ajax-data::-webkit-scrollbar-track {
  background: transparent;
}
.rewards-modal .rewards-modal-content #ajax-data::-webkit-scrollbar-thumb {
  background: var(--blue);
}
.rewards-modal-content #modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.reward-card {
    border: 1px solid #F1F1F1;
    background: #ffffff;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.13);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    transition: all .3s ease;
	overflow: hidden;
}
.reward-card .logo-container {
    height: 230px;
    width: 100%;
    padding: 32px 24px 0;
    position: relative;
}
.reward-card.pt-layout .logo-container {
	padding: 0;
}
.reward-card.pt-layout .logo-container img {
	object-fit: cover;
}
.reward-card .btn-container {
    margin-top: auto;
}
.reward-card .btn-container button {
    display: block;
    width: 100%;
    cursor: pointer;
}
.cat-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 12px;
    color: #ffffff;
    background: var(--grey);
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 6px;
    border-radius: 4px;
}
.reward-card .logo-container img {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
}
.reward-card .card-bottom {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.reward-card .card-bottom p {
    font-size: 18px;
    color: rgba(32, 29, 29,0.7);
}
.reward-card .card-bottom h3 {
    margin: 0 0 4px;
}
.reward-card .card-bottom h4 {
    margin: 0 0 12px;
    font-size: 18px;
    color: rgba(32, 29, 29,0.7);
}

.reward-card .card-bottom .body {
    margin: 0 0 32px;
}
.reward-card .card-bottom .body p {
    font-size: 16px;
}
.reward-card .card-bottom .read-more {
    height: 0;
    overflow: hidden;
    margin: 0;
    transition: all .6s ease;
}
.reward-card .read-more-inner {
    padding: 0 0 32px;
}
.rewards-grid.card-active .reward-card {
    opacity: 0;
    transition: all .3s ease;
}
.rewards-grid.card-active .reward-card.expanded {
    opacity: 1;
}
.gym-content .rewards-grid {
    margin: 40px 0 80px;
}
summary.e-n-accordion-item-title h3,
summary.e-n-accordion-item-title {
    transition: all .2s ease;
}

summary.e-n-accordion-item-title[aria-expanded="true"] h3 {
    color: var(--blue);
}
details.e-n-accordion-item {
    border: 1px solid var(--grey);
    border-radius: 12px;
    transition: all .3s ease;
}
details.e-n-accordion-item[open] {
    border: 1px solid var(--blue);
}
details.e-n-accordion-item .elementor-widget-container > p:last-of-type {
    margin: 0;
}
details.e-n-accordion-item .elementor-widget-container p {
    color: rgba(32, 29, 29,0.7) !important;
}
.footer-nav a:hover {
	text-decoration: underline;
}
.plain-page h4 {
	color: #7A7A7A;
	margin: 24px 0 12px;
	font-size: 20px;
}
@media all and (max-width: 992px) {
    .rewards-grid, .category-grid {
        grid-template-columns: 100%;
        max-width: 450px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .images-and-badge {
        max-width: 600px;
    }
    .images-and-badge > div.elementor-widget-image:nth-of-type(2) {
        width: 90%;
    }
    .images-and-badge .badge {
        left: -32px;
        top: -45px;
    }
    .rewards-grid.card-active .reward-card {
        opacity: 1;
    }
    .rewards-modal .container {
        max-width: 650px;
    }
    .rewards-modal .rewards-modal-content {
        padding: 40px 12px;
    }
    .contact-row {
        flex-direction: column;
    }
    .contact-row .left {
        padding: 0 0 40px;
    }
    .contact-section {
        padding: 64px 0 104px;
    }
}
@media all and (max-width: 768px) {
    h1 {
        font-size: 40px;
    }
    .form-wrap {
        padding: 16px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 24px;
    }
    .form-row > span {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .footer-top-row,
    .footer-bottom-row,
    .form-row {
        flex-direction: column;
    }
    .footer-top-row {
        align-items: center;
    }
    .footer-nav ul {
        display: flex;
        columns: unset;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin: 24px 0 0;
    }
    p.copyright {
        text-align: center;
    }
    .footer-nav ul li {
        margin: 0 6px 12px;
    }
    header ul {
        flex-direction: column;
        align-items: flex-end;
    }
    header ul li {
        margin: 0 0 8px;
    }
    header ul > li:last-of-type {
        margin: 0;
    }
    header ul li a {
        font-size: 12px;
        padding: 10px 16px;
    }
    header .site-branding {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .container {
        padding: 0 16px;
    }
    .socials-row {
        margin: 0 0 24px;
    }
    .socials-row a {
        margin: 0 4px;
    }
    footer {
        border-radius: 24px 24px 0 0;
    }
    header.site-header .site-branding img {
        max-width: 130px;
    }
    .logged-out-nav ul > li:first-of-type {
        display: none;
    }
    .reward-card .card-bottom {
        padding: 0 12px 12px;
    }
    .reward-card .logo-container {
        padding: 32px 12px 12px;
    }
    .category-card {
        height: 400px;
    }
    .rewards-modal .rewards-modal-content #ajax-data {
        padding: 20px 12px;
    }
    .rewards-modal-inner {
        padding: 0;
    }
    .rewards-modal .container {
        padding: 0;
    }
    .rewards-modal .rewards-modal-content {
        border-radius: 0;
        padding: 40px 12px 0;
    }
    .gym-content {
        padding: 64px 0;
    }
    .gym-content .rewards-grid {
        margin: 40px 0 64px;
    }
    .hide-mobile {
        display: none !important;
    }
    .images-and-badge .badge {
        width: 220px;
        height: 220px;
    }
    .images-and-badge .badge span.large {
        font-size: 48px;
    }
    .images-and-badge .badge {
        top: -30px;
        left: -30px;
    }
    .images-and-badge > div.elementor-widget-image:nth-of-type(1) {
        height: 404px;
        padding-bottom: 120px;
        padding-left: 80px;
    }
    .images-and-badge > div.elementor-widget-image:nth-of-type(2) {
        height: 240px;
    }
}
@media all and (max-width: 374px) {
    header.site-header .site-branding img {
        max-width: 100px;
    }
}