/*
Theme Name: TERASTUDIO
Theme URI: https://terastudio.pt/
Author: César Eugénio & Hélder Simões
Author URI: https://www.linkedin.com/in/ceugenio/
Description: TERASTUDIO THEME FOR CLIENTs
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 2.0
Requires at least: 5.0
Tested up to: 6.5.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: terastudio

NÃO REMOVER COMENTARIOS
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anybody:ital,wdth,wght@0,125,100..900;1,125,100..900&display=swap');

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

html {
    overflow-x: hidden;
}

* {
    ˙ margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif !important;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

.form-container {
    max-width: 897px;
    margin: 20px auto 50px;
    background: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.6s ease forwards;
}

.form-header {
    padding: 30px 30px 0;
    background: var(--background-header-color);
    text-align: center;
    border-radius: 15px;
}

.form-header img {
    max-width: 200px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.form-header h2 {
    color: var(--header-value-color);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-header p {
    color: var(--header-text-color);
    font-size: 16px;
    opacity: 0.9;
}

/* Zoho Form Styling */
#crmWebToEntityForm {
    max-width: 100% !important;
    background: transparent !important;
    padding: 15px 30px 30px !important;
    color: white !important;
}

.zcwf_title {
    display: none !important;
}

.zcwf_lblLeft .zcwf_row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    transform: translateX(15px);
    opacity: 0;
    animation: slideIn 0.4s ease forwards;
}

.zcwf_lblLeft .zcwf_row:nth-child(odd) {
    animation-delay: 0.2s;
}

.zcwf_lblLeft .zcwf_row:nth-child(even) {
    animation-delay: 0.3s;
}

.zcwf_lblLeft .zcwf_col_lab {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #f7f7f7;
    transition: all 0.3s ease;
}

.zcwf_lblLeft .zcwf_col_fld {
    width: 100% !important;
    position: relative;
}

.zcwf_lblLeft .zcwf_row input,
.zcwf_lblLeft .zcwf_row select {
    width: 100% !important;
    padding: 12px 15px;
    border: 1px solid rgba(192, 198, 204, 1);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
    height: auto;
}

.zcwf_lblLeft .zcwf_row input:focus,
.zcwf_lblLeft .zcwf_row select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(207, 219, 70, 0.2);
}

/* .zcwf_lblLeft .zcwf_row select {
	appearance: none;
	padding-right: 30px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23cfdb46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px;
	} */

.dIB.zcwf_privacy_txt {
    color: var(--primary-color);
    font-size: 13px;
    margin-top: 15px;
    opacity: 0.8;
}

.submit-button-container {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

input.formsubmit.zcwf_button {
    flex: 2;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #b6c22c 100%) !important;
    color: #093824 !important;
    padding: 14px 30px !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(207, 219, 70, 0.3);
    height: auto !important;
    margin: 0px !important;
    min-width: fit-content;
}

.zcwf_col_fld.submit-button-container {
    display: flex !important;
    flex-direction: row-reverse;
    margin-top: -25px !important;
    margin-bottom: -10px !important;
}

.zcwf_lblLeft .zcwf_col_fld:after {
    display: none !important;
}

input.zcwf_button[type="reset"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff;
    padding: 14px 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    height: auto !important;
}

input.formsubmit.zcwf_button:hover {
    background: linear-gradient(135deg, #d7e252 0%, #c2cc3c 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(207, 219, 70, 0.4);
}

input.zcwf_button[type="reset"]:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

label>span {
    color: var(--secondary-color) !important;
    padding-left: 5px;
}

#crmWebToEntityForm a {
    color: var(--secondary-color) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.dIB.zcwf_privacy_txt {
    margin: 0 !important;
    padding-left: 15px !important;
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(15px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* @keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
 */

/* Responsive */
@media only screen and (max-width: 768px) {


    .form-container {
        margin: 20px;
        border-radius: 10px;
    }

    .form-header h2 {
        font-size: 24px;
    }

    .submit-button-container {
        flex-direction: column-reverse !important;
    }

    .submit-button-container>input {
        min-width: 100% !important;
    }

    input.formsubmit.zcwf_button,
    input.zcwf_button[type="reset"] {
        width: 100%;
    }

    .taxonomy-list .card {
        width: calc(100% - 35px) !important;
    }
}

.zcwf_row.calfix {
    z-index: 999;
    position: relative;
}

.zcwf_col_lab label,
.zcwf_privacy_txt {
    color: var(--primary-color) !important;
}

.zcwf_privacy_txt a {
    color: var(--secundary-color);
}

input.zcwf_button[type="reset"] {
    color: var(--primary-color);
}

.taxonomy-list {
    margin-top: 40px;
}

.taxonomy-list img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.taxonomy-list .card {
    border: 0px;
    padding: 0px;
    border-bottom-left-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
    overflow: hidden;
}

.taxonomy-list .card-body {
    padding: 5px;
    position: absolute;
    bottom: 0;
    text-align: center;
    /* background-color: rgba(0, 0, 0, 0.2); */
    width: 100%;
    z-index: 2;
}

.taxonomy-list .card-title {
    color: white;
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-variation-settings:
        "wdth" 125;
    font-size: 22px;
}

.taxonomy-list .card::after {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    background-color: #08382526;
    z-index: 1;
}

.card ul {
    padding-left: 0;
}

.card ul li::marker {
    content: none;
}

.taxonomy-posts {
    margin: 25px 0 15px;
}

/* .taxonomy-posts>div:not(:first-child) {
    margin: 25px 0 15px;
} */

.taxonomy-posts h3 {
    margin: 0 0 20px;
}

h3 {
    color: var(--header-value-color);
}

.card-title {
    color: var(--header-value-color);
    font-weight: 600;
}

.taxonomy-posts .card {
    border: unset;
}

.taxonomy-posts .card-title,
.taxonomy-posts .card-text,
.taxonomy-posts span,
.taxonomy-posts a {
    color: #003DA6;
}

.taxonomy-posts h5.card-title,
.popup-content .card-body h5.card-title {
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}

.popup-content .card-body {
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

table#weekDays {
    width: 100%;
}

.tempCalDiv {
    top: 40px !important;
}

#Date_Field {
    display: none !important;
}

.flatpickr-day.selected {
    background-color: var(--secondary-color) !important;
    border-color: var(--background-color) !important;
}

div.header {
    background: var(--background-header-color);
    text-align: center;
    padding: 22px 0;
}

.taxonomy-posts div.category-title>img {
    height: 30px;
    max-width: 60px;
    object-fit: contain;
    object-position: center right;
}

.taxonomy-posts div.category-title h3 {
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-variation-settings:
        "wdth" 125;
    color: #003DA6;
}

.taxonomy-posts>div#category-teamxperience>div.category-title>h3 {
    color: #083825;
}

.category-title {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#category-canyoning .card {
    background: #B5F8FE;
}

#category-e-bike .card {
    background: #1BDAAA;
}

#category-teamxperience .card {
    background: #CFDB46;
}

.taxonomy-posts #category-teamxperience .card-title,
.taxonomy-posts #category-teamxperience .card-text,
.taxonomy-posts #category-teamxperience span,
.taxonomy-posts #category-teamxperience a {
    color: #083825;
}

.taxonomy-posts .card-text {
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.taxonomy-posts img.card-img-top {
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.taxonomy-posts {
    /* display: flex;
    justify-content: center; */
}

div.header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

div.header a {
    display: flex;
    align-items: center;
    justify-content: center;
}

div.header img {
    max-height: 47px;
    object-fit: contain;
    object-position: center;
    min-height: 45px;
}

input#COBJ3CF103 {
    width: fit-content !important;
}



body.page-id-65 input#COBJ3CF14,
body.page-id-65 label[for="COBJ3CF14"] {
    display: none !important;
}

body.page-id-65 div#crmWebToEntityForm {
    margin-top: -30px !important;
}

input.zcwf_button[type="reset"] {
    min-width: fit-content;
}

.taxonomy-posts li {
    font-size: 15px;
    margin-bottom: 5px;
}

.taxonomy-posts .card-text li,
.taxonomy-posts span,
.taxonomy-posts .card-text a,
.taxonomy-posts .card-text p,
.taxonomy-posts .card-text div,
.taxonomy-posts .card-text strong,
.taxonomy-posts .card-text small {
    font-family: "Anybody", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}

/* .swiper-container {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
} */

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: unset !important;
    top: unset !important;
}

.container.taxonomy-posts>.row {
    margin-top: 50px;
}

.swiper-button-next,
.swiper-button-prev {
    top: unset !important;
    margin-top: var(--swiper-navigation-top-offset, -70%) !important;
    width: calc(var(--swiper-navigation-size) / 44 * 5) !important;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1400px !important;
    }
}

@media (min-width: 1500px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1500px !important;
    }
}

a.insc-btn {
    width: 100%;
    display: block;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.7rem;
    cursor: pointer;
}

a.saber-btn {
    width: 100%;
    display: block;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.7rem;
    cursor: pointer;
    border-top: 2px solid #003DA6;
}

#category-canyoning .card a.insc-btn {
    color: #B5F8FE;
    background: #003DA6;
}

#category-e-bike .card a.insc-btn {
    color: #1BDAAA;
    background: #003DA6;
}

#category-teamxperience .card a.insc-btn {
    color: #CFDB46;
    background: #083825;
}

#category-teamxperience .card a.saber-btn {
    color: #CFDB46;
    border-top: #083825;
}

.card {
    overflow: hidden;
}

#popupModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    display: flex;
}

.popup-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
}

.popup-card {
    background: white;
    max-width: 600px;
    width: 90%;
    z-index: 10000;
    padding: 20px;
    border-radius: 10px;
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow-y: scroll;
    max-height: 95%;
}

#popupModal.show .popup-card {
    transform: scale(1);
    opacity: 1;
    padding: 0;
    border: 0;
}

.close-btn {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 24px;
    cursor: pointer;
    font-size: 3rem;
    background: white;
    border-radius: 1000px;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#popupModal img {
    max-height: 250px;
    object-fit: cover;
}

/* Make the carousel container position relative so absolute navs line up */
.owl-carousel {
    position: relative;
}

/* Style both prev/next buttons */
.owl-nav .owl-prev,
.owl-nav .owl-next {
    position: absolute;
    top: 50%;
    /* vertical center */
    transform: translateY(-51%);
    border-radius: 50%;
    /* circle shape */
    width: 40px;
    /* equal width/height */
    height: 40px;
    display: flex;
    /* center arrow within */
    align-items: center;
    justify-content: center;
    border: none;
    /* remove default border */
    outline: none;
    /* remove focus outline */
    z-index: 10;
    /* sit above the slides */
    cursor: pointer;
    font-size: 35px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Position prev on left, next on right */
.owl-nav .owl-prev {
    left: -20px;
}

.owl-nav .owl-next {
    right: -20px;
}

/* Enlarge the arrow text/icon */
.owl-nav .owl-prev span,
.owl-nav .owl-next span {
    font-size: 1.5rem;
    line-height: 1;
}

.owl-carousel div.owl-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.owl-carousel div.owl-dots button.owl-dot {
    border: none;
    padding: 7px !important;
    border-radius: 100px;
}

.owl-carousel div.owl-dots button.owl-dot.active {
    background-color: #003DA6 !important;
}

.taxonomy-posts>div:not(:first-child) {
    margin-top: 2rem;
}

.guia-form {
    display: flex;
    flex-direction: row !important;
}

.guia-form>div.zcwf_col_lab,
.guia-form>div.zcwf_col_fld {
    width: fit-content !important;
}

.guia-form input#LEADCF102 {
    width: auto !important;
}

.zcwf_privacy>div:last-child {
    display: none;
}

#total {
    display: flex;
    gap: 1rem;
    padding: 6px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    justify-content: center;
}

#total span {
    font-weight: bold;
    color: var(--header-value-color);
}

#total span.custo-total,
#total span.custo-final,
#total span.valor-final-promo {
    font-size: 20px;
}

#SEO {
    color: var(--header-text-color);
    padding: 30px;
}

#SEO h2 {
    text-align: center;
}

#SEO h2:first-child {
    padding-bottom: 1.5rem;
}

#SEO h2:last-child {
    padding-top: 1.5rem;
}

.seo-container {
    max-width: 897px;
    margin: 20px auto 50px;
    background: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.6s ease forwards;
}

/* Responsive */
@media only screen and (max-width: 768px) {
    .seo-container {
        margin: 20px;
        border-radius: 10px;
    }
}

a.percurso-btn {
    width: 100%;
    display: block;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.7rem;
    cursor: pointer;
    border-top: 2px solid #003DA6;
}

/* Container */
#percurso-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark background overlay */
#percurso-popup .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    animation: fadeIn 0.3s ease;
}

/* Content box */
#percurso-popup .popup-content {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    animation: scaleIn 0.3s ease;
}

/* Image */
#percurso-popup .popup-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    display: block;
}

/* Close button */
#percurso-popup .popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
}

#percurso-popup .popup-close:hover {
    color: red;
    background-color: white;
    border: 1px solid red;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.card-fix-last-child>div:nth-last-child(-n+3) {
    grid-column: span 2;
    display: flex;
    gap: 0.3rem;
}

.fs-small {
    font-size: 0.875rem;
}


/* DESKTOP ONLY */
@media only screen and (min-width: 999px) {
    #category-e-bike h5.card-title {
        min-height: 3rem;
    }

    .card-fix-last-child>div:nth-last-child(-n+3) {
        grid-column: span 2;
        display: flex;
        gap: 0.3rem;
    }

    #category-canyoning .card-fix-last-child>div:last-child {
        min-height: 3rem;
    }

    #category-e-bike .card-body .mt-1 {
        margin-top: 1.5rem !important;
    }
}

input.custom-datepicker::placeholder {
    color: var(--primary-color);
}

.remove-mb-p p:last-child {
    margin-bottom: 0;
}

select option {
    color: #000000;
}