/*
Theme Name: RYC Sailing
Theme URI: https://rycsailing.com.br/
Author: Ana Clara Poubel
Author URI: https://www.behance.net/anapoubel
Description: Site institucional para o Rio Yacht Club.
Version: 1.0
Text Domain: ryc-sailing
*/


@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

html {
   scroll-behavior: smooth;
}

:root {
   --bs-primary: #dc3545;
   --bs-danger: #dc3545;
   --bs-secondary: #DEDEDE;
   --bs-light: #DEDEDE;
   --bs-dark: #494949;
   --bs-white: #fff;
   --bs-black: #000;
}

@media screen and (min-width: 1280px) {
   .container {
      width: 1280px;
   }

   .mask-swiper {
      mask-image: linear-gradient(to left, transparent 0, black 0px);
      -webkit-mask-image: linear-gradient(to left, transparent 0, black 0px);
      /* necessário para Chrome */
   }
}

@media screen and (min-width: 1536px) {
   .container {
      width: 1350px;
   }
}

body {
   font-family: "Red Hat Display", sans-serif;
   font-optical-sizing: auto;
   font-weight: 400;
   font-style: normal;
   color: var(--wp--preset--color--texts);
   overflow-x: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: "Lora", serif;
   font-optical-sizing: auto;
   font-weight: 500;
   font-style: italic;
   text-transform: uppercase;
   line-height: 1.2;
   margin-bottom: 0.2rem;
   color: var(--wp--preset--color--black);
}

h1 {
   font-size: clamp(3rem, 5vw, 3.4rem);
}

h2 {
   font-size: clamp(2.6rem, 4.5vw, 3rem);
}

h3 {
   font-size: clamp(2.2rem, 4vw, 2.6rem);
}

h4 {
   font-size: clamp(2rem, 3.5vw, 2.2rem);
}

h5 {
   font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

h6 {
   font-size: clamp(1.2rem, 2vw, 1.4rem);
}

a:hover {
   color: var(--bs-secondary);
}

@media screen and (max-width: 768px) {
   p, span {
      font-size: 0.9rem;
   }
}
.font-title {
   font-family: 'Lora', serif;
}

.text-primary, .has-primary-color {
   color: var(--wp--preset--color--primary);
}

.bg-primary, .has-primary-background-color {
   background-color: var(--wp--preset--color--primary);
}

.bg-outline-primary,
.border-primary {
   border-color: var(--wp--preset--color--primary);
}

.text-secondary, .has-secondary-color {
   color: var(--wp--preset--color--secondary);
}

.bg-secondary .has-secondary-background-color {
   background-color: var(--wp--preset--color--secondary);
}

.bg-outline-secondary,
.border-secondary {
   border-color: var(--wp--preset--color--secondary);
}

.btn {
   padding: 0.4rem 1.8rem;
   border-radius: 1000px;
   border-width: 3px;
   cursor: pointer;
   transition: color 0.3s ease, background-color 0.3s ease, border 0.3s ease;
   font-weight: 800;
   text-transform: uppercase;
}

.btn-primary {
   color: var(--wp--preset--color--white);
   border-color: var(--wp--preset--color--primary);
   background-color: var(--wp--preset--color--primary);
}

.btn-primary:hover {
   color: var(--wp--preset--color--primary);
   border-color: var(--wp--preset--color--primary);
   background-color: transparent;
}

.btn-outline-primary {
   color: var(--wp--preset--color--primary);
   border-color: var(--wp--preset--color--primary);
}

.btn-outline-primary:hover {
   color: var(--wp--preset--color--white);
   background-color: var(--wp--preset--color--primary);
   border-color: var(--wp--preset--color--primary);
}

.btn-secondary {
   color: var(--wp--preset--color--white);
   border-color: var(--wp--preset--color--secondary);
   background-color: var(--wp--preset--color--secondary);
}

.btn-secondary:hover {
   color: var(--wp--preset--color--secondary);
   border-color: var(--wp--preset--color--secondary);
   background-color: transparent;
}

.btn-outline-secondary {
   color: var(--wp--preset--color--secondary);
   border-color: var(--wp--preset--color--secondary);
}

.btn-outline-secondary:hover {
   color: var(--wp--preset--color--white);
   background-color: var(--wp--preset--color--secondary);
   border-color: var(--wp--preset--color--secondary);
}

.wp-block {
   max-width: 640px;
}

.shadow {
   box-shadow: 0px 10px 20px 0 rgba(0, 0, 0, 0.06);
}

footer p,
footer a,
footer span,
footer li {
   font-size: 0.9rem;
}

footer .wp-block-heading {
   font-size: 1.6rem;
   color: var(--wp--preset--color--white);
   padding-bottom: 1rem;
   font-style: normal;
}

.widget-midias a {
   font-size: 1.8rem;
}

/* CALENDÁRIO */
.description {
   px text-align: center;
   padding-bottom: 40px;
}

.jsCalendar.clean-theme tbody td.jsCalendar-previous,
.jsCalendar.clean-theme tbody td.jsCalendar-next {
   color: #000;
   opacity: 0.2;
}

#wrapper {
   margin: 0 auto;
   width: 800px;
   box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
}

#wrapper .jsCalendar table {
   box-shadow: none;
}

.clear {
   clear: both;
}

#events-calendar {
   float: left;
}

#events {
   float: left;
   width: 435px;
   margin: 10px 20px 10px 5px;
}

#events .title {
   padding: 5px 0px;
   text-align: center;
   font-weight: bold;
   border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

#events .subtitle {
   padding: 5px 0px;
   font-size: 14px;
   text-align: center;
   color: #888;
}

#events .list {
   height: 250px;
   overflow-y: auto;
   border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#events .list .event-item {
   line-height: 24px;
   min-height: 24px;
   padding: 2px 5px;
   border-top: 1px solid rgba(0, 0, 0, 0.2);
}

#events .list .event-item .close {
   font-family: Tahoma, Geneva, sans-serif;
   font-weight: bold;
   font-size: 12px;
   color: #000;
   border-radius: 8px;
   height: 14px;
   width: 14px;
   line-height: 12px;
   text-align: center;
   float: right;
   border: 1px solid rgba(0, 0, 0, 0.5);
   padding: 0px;
   margin: 5px;
   display: block;
   overflow: hidden;
   background: #F44336;
   cursor: pointer;
}

#events .action {
   text-align: right;
}

#events .action input {
   padding: 0px 5px;
   font-size: 12px;
   margin: 10px 5px;
   border: 1px solid #999999;
   height: 28px;
   line-height: 28px;
   width: 120px;
   background: #f8f8f8;
   color: black;
   cursor: pointer;
   transition: all 0.2s;
}

#events .action input:hover {
   background: #eee;
   border: 1px solid #000;
   box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
}

.version {
   font-size: 12px;
   width: 800px;
   margin: 0 auto;
   text-align: right;
}

/* FIM CALENDÁRIO */


/* SWIPER GERAL */
.swiper-news,
.swiper-about {
   overflow: visible;
}

.swiper-slide {
   direction: ltr;
   /* mantém o conteúdo normal */
}

.swiper-button-disabled {
   opacity: 0.35;
}

.swiper-arrow {
   color: var(--wp--preset--color--contrast) !important;
}

.swiper-pagination-bullet {
   background-color: var(--wp--preset--color--primary) !important;
   opacity: 0.4;
   height: 10px;
   width: 10px;
}
.swiper-pagination-bullet-active {
   background-color: var(--wp--preset--color--primary);
   opacity: 1;
}

/* FIM SWIPER GERAL */

/* SWIPER BANNER */
.swiper-banner {
   width: 100%;
   overflow: hidden;
}

/* FIM SWIPER BANNER */



/* MENU PRINCIPAL */
#main-menu li {
   align-content: center;
}

#main-menu a {
   align-items: center;
   border-bottom: 6px solid transparent;
   padding: 0.4rem;
   transition: border 0.3s ease-in-out;
}

#main-menu a.active,
#main-menu a:hover {
   align-items: center;
   border-bottom: 6px solid var(--wp--preset--color--secondary);
   padding: 0.4rem;
}

/* FIM MENU PRINCIPAL */

.enter-portal svg {
   transition: transform 0.3s ease;
}

.enter-portal:hover svg {
   transform: scale(1.2);
}

/* FORM */
.wpcf7 {
   color: var(--wp--preset--color--white);
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100%;
}

.wpcf7-form {
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

input {
   color: var(--wp--preset--color--primary);
   font-weight: 700;
   padding: 0.8rem;
   height: 2.8rem;
   background-color: var(--wp--preset--color--white);
   border-bottom: 6px solid var(--wp--preset--color--light);
}

input[type="radio"] {
   margin: 0;
   accent-color: var(--wp--preset--color--secondary);
}

.wpcf7-list-item label {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   font-weight: 700;
   text-transform: uppercase;
}

input::placeholder {
   color: var(--wp--preset--color--primary);
   text-transform: uppercase;
}

.radio-wrapper p {
   display: flex;
   align-items: center;
}

.btn-wrapper p {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
}

.form-btn {
   background-color: var(--wp--preset--color--white);
   border-color: var(--wp--preset--color--white);
   margin-top: 2rem;
   display: flex;
   justify-content: center;
}

.form-btn:hover {
   background-color: var(--wp--preset--color--primary);
   border-color: var(--wp--preset--color--primary);
   color: var(--wp--preset--color--white);
}

.wpcf7-not-valid-tip {
   font-weight: 700;
   color: rgb(255, 185, 0);
}

/* FIM FORM */

.page-numbers {
   padding: 0.5em 0.9em;
}

.page-numbers.current {
   background-color: var(--wp--preset--color--primary);
   color: white;
}

.section-agenda::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    width: 15%;  /* define a largura */
    height: 100%; /* define a altura */
    background-image: url('assets/img/section-before.png');
    background-size: contain;   /* cobre todo o container */
    background-repeat: no-repeat;
}

.tab-medal .wp-block-getwid-tabs__nav-links {
	justify-content: space-between;
}
.wp-block-getwid-tabs__nav-link.ui-tabs-active {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}
.tab-medal .wp-block-getwid-tabs__tab-content-wrapper {
	width:880px;
}
.wp-block-getwid-tabs__nav-link.ui-tabs-active .wp-block-getwid-tabs__title {
	border-left: 6px solid red;
	padding-left: 0.5rem;
	font-weight:700;
}
.tab-medal .wp-block-getwid-tabs__nav-links {
	width: 290px;
}
.tab-medal .wp-block-getwid-tabs__nav-links {
	height: 340px;
}
.tab-medal .wp-block-getwid-tabs__nav-link {
	margin-bottom:0 !important;
}
.tab-medal .wp-block-getwid-tabs__tab-content-wrapper .wp-block-getwid-tabs__tab-content {
	height:340px;
	overflow:auto;
}