/**
Theme Name: FAI Therapeutics
Author: Float Health
Author URI: https://float.pt
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fai-therapeutics
Template: astra
*/

/* container top spacing (bug?) */
@media (min-width: 1200px) {
	.page.ast-plain-container.ast-no-sidebar #primary {
    	margin-top: 0;
	}
}

/* utils */
.b-multiply {
	mix-blend-mode: multiply;
}
html {
	scroll-behavior: smooth;
}
/* anchor offset 
:target:before {
	  content: "";
    display: block;
    height: 100px;
    margin: -100px 0 0;
}*/
:target {
/*	padding-top:100px;*/
/*	margin-top:-100px;*/
}

/*menu alignment*/
/*li.page_item::after {
    content: " ";
    display: block;
    height: 0px;
	margin-bottom: -20px
}*/


/* Remove the link for dropdown pages */

.page-item-432 > .menu-link,
.page-item-684 > .menu-link{
   pointer-events: none;
   cursor: default;
}

/* mast head */
.title-block {
	margin-bottom: 2em
}
/* menu alignment */
.main-header-menu .menu-item.focus>.sub-menu, .main-header-menu .menu-item:hover>.sub-menu {
    left: auto;
    right: 0;
}

.hp-block {
	transform-style: preserve-3d;
	border-radius: 25px;
	box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15);
	background: rgb(240,240,240);
	background: linear-gradient(135deg, rgba(240,240,240,1) 50%, rgba(250,250,250,1) 100%);
}
.hp-block p {
	color: var(--ast-global-color-3);
}
.hp-block:not(.first-no-upper) p:nth-child(2) {
	text-transform: uppercase;
}
.hp-block .wp-block-outermost-icon-block {
	transform-style: preserve-3d;
}
.hp-block:hover .icon-container {
	transform: translateZ(25px) translateY(5px);
	transition: transform 0.3s;
	
}

/* shadow blocks proper */
.shadow-block-wrapper {
	flex-wrap: wrap !important;
	justify-content: center;
	max-width: 1100px !important;

}
.shadow-block-wrapper > div {
	flex-basis: auto !important;
	min-width:240px;
	max-width:25%;
	flex-grow: initial;
}

.shadow-block {
	transform-style: preserve-3d;
	border-radius: 25px;
	box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15);
	background: rgb(240,240,240);
background: linear-gradient(135deg, rgba(240,240,240,1) 50%, rgba(250,250,250,1) 100%);
	color: var(--ast-global-color-1);
}

/* post loop hp */
ul.wp-block-post-template {
	margin: 0;
}
ul.wp-block-post-template li:not(li.type-lesson) {
	background-color: #FFF;
	border-radius: 6px;
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

.wp-block-post-title,
.wp-block-post-excerpt,
.wp-block-post-date {
		margin: 0.25em 1rem;
}

h2.wp-block-post-title {
	margin-top:0.5em;
	font-size: 1.35em;
	text-decoration: none;
}
ul.wp-block-post-template h2.wp-block-post-title a {
	text-decoration: none;
}

.wp-block-post-date {
	font-size:0.85em;
	margin-bottom: 0.85em;
}
.wp-block-post-featured-image img {
	border-radius: 6px 6px 0 0;
	object-fit: cover;
}

/* Footer */
footer,
.site-below-footer-wrap p {
	color: #FFF;
	font-size: 0.9em;
}
footer a,
.site-below-footer-wrap a {
	color: #FFF;
}
footer a:hover,
.site-below-footer-wrap a:hover {
	color: #FFF;
	text-decoration: underline;
}
footer h3 {
	color: #FFF;
	margin-bottom: 0.25em;
}
@media (min-width: 921px) {
	footer #block-12 h3 {
		text-align: right;
	}
}
footer ul {
	margin: 0;
	list-style-type: none;
	line-height: 1.35em;
}
footer p {
	line-height: 1.35em;
}

/* pre footer portfolio */
@media (min-width: 1200px) {
	.prefooter-portfolio {
		margin-bottom: -60px !important;
	}
}

/* accordion */
.wp-block-themeisle-blocks-accordion {}
.wp-block-themeisle-blocks-accordion-item {
	margin: 6px 0;
	border-radius:8px;
}
.wp-block-themeisle-blocks-accordion-item:not([open]) .wp-block-themeisle-blocks-accordion-item__title {
	color: var(--ast-global-color-1);
	background-color: var(--ast-global-color-5);
	border: solid 2px var(--ast-global-color-4) !important;
	transition:background-color 0.3s;
}
.wp-block-themeisle-blocks-accordion-item:not([open]) .wp-block-themeisle-blocks-accordion-item__title::after {
	border-color: var(--ast-global-color-1);
}
.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__content {
	border:none;
	border-radius:0 0 8px 8px;
	margin-top: -6px;
}
.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title {
	border: none;
	border-radius:8px;
}

.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title {
    display: grid;
    grid-template-columns: min-content auto;
}

.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title::before {
	content: "+";
	font-size: 2em;
	text-align: center;
	border-radius: 50%;
	background-color: var(--ast-global-color-0);
	color: var(--ast-global-color-4);
	justify-self: start;
	align-self: center;
	width: 35px;
	height: 35px;
	line-height:0.95;
	text-indent: 0.05em;
	margin-right: 15px
}
details[open].wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title::before {
	content: "-";
	background-color: var(--ast-global-color-4);
	color: var(--ast-global-color-1);
}
.wp-block-themeisle-blocks-accordion .wp-block-themeisle-blocks-accordion-item .wp-block-themeisle-blocks-accordion-item__title::after {
	display:none;
}

/* Icon list Homepage*/
.icon-list-hp h4 {
	text-transform: uppercase;
	color: var(--ast-global-color-1);
	margin: 0;
}

/* hp circles */
.hp-circles p {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 10px auto;
	padding: 25px;
	text-align:center;
	background-color: var(--ast-global-color-0);
	border-radius: 50%;
	width: 170px;
	height:170px;
	line-height:1.25;
}
.hp-circles p strong {
	font-size: 2.5em;
}
/* hp icon col */
.hp-icon-col .wp-block-column {
	display: flex;
	align-items: center;
}

/* icon col II */
.icon-list p {
	margin-bottom: 0;
	font-size: 1.25em;
	line-height:1.25em;
}

@media (max-width: 544px) {
	.icon-list.wp-block-columns .wp-block-column:not(:last-child) {
    	margin-bottom: 0px;
	}
}

/* faq section */
.faq-container {
	background: transparent;
	position: relative;
}
.faq-container .q {
	box-sizing: border-box;
	width:calc( 35% - 15px);
	border-bottom: solid 1px var(--ast-global-color-2);
	background-color: var(--ast-global-color-4);
	padding:0.75em
}
.faq-container .a {
	display: none;
	position: absolute;
	width: 65%;
	top: 0;
	right: 0
}
.faq-container .a.show {
	display: block; 
}

/* faq sidebar nav */
.page-id-805 .sidebar-main {
	position: sticky;
	top: 7.5em;
}
.faq-nav h3 {
	margin-bottom: 0.5em;
}

/* row logos */
.row-logos figure {
	background-color: var(--ast-global-color-4);
	box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.15);
	padding: 1.5em;
	border-radius: 12px;
}
sup, .sup-smaller {
	font-size: 60% !important;
}

/* secondary-slider */
.secondary-slider .swiper {
	max-height: 430px;
}
.secondary-slider .swiper-slide {
  position: relative;
}
.secondary-slider .swiper-slide::after {
  content:"";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #000;
  opacity: 0.5;
  left: 0;
  top: 0;
}
.secondary-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.secondary-slider .swiper-slide .info {
  text-align: center;
  -webkit-backdrop-filter: none;
    backdrop-filter: none;
  background-color: transparent;
  animation: fadeInTop 0.5s ease-out 0.3s 1 forwards;
  left: auto;
  top: auto;
  width: auto;
}
.secondary-slider .swiper-slide .info h2 {
  font-size: 42px;
  font-weight: 300;
  text-transform: uppercase;
}
.secondary-slider .swiper-slide-active h2 {
  animation: fadeInTop 0.5s ease-out 0.3s 1 forwards;
}
.secondary-slider .swiper-slide-active p {
  animation: fadeInTop 0.5s ease-out 0.3s 1 forwards;
}

/* home slider */
.home-slider .swiper {
	height: 40vh;
}

/* extra */
.extra--display-none {
	display: none !important;
}

/* course */
.course.type-course .entry-header.ast-no-title {
	display: none !important;
}
.course-category-fai-academy-medicos .sensei-stop-double-submission.wp-block-button__link {
	background-color: #149BDA;
}
.lesson-wrapper {
	display: grid;
	gap: 40px;
	grid-template-columns: 1fr;
}
.lesson-wrapper .lesson {
	display: grid;
}
.lesson-wrapper .lesson .featured-image {
	aspect-ratio: 16 / 9;
	background-color: #C6C3C3;
	border-radius: 25px;
	margin-bottom: 24px;
	overflow: hidden;
	box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}
.lesson-wrapper .lesson .featured-image img {
	height: 100%;
	max-width: 100%;
	min-width: 100%;
	object-fit: cover;
	object-position: center;
}
.lesson-wrapper .lesson .lesson-module {
	font-size: 25px;
	font-weight: bold;
	color: #149BDA;
}
.lesson-wrapper .lesson:nth-child(even) .lesson-module {
	color: #47A019;
}
.lesson-wrapper .lesson h3 {
	font-size: 22px;
}
.lesson-wrapper .lesson .details .duration {
	display: flex;
	align-items: center;
	font-size: 19px;
	margin-bottom: 20px;
}
.lesson-wrapper .lesson .details .duration::before {
	content: url('https://fai-therapeutics.com/staging/wp-content/uploads/2024/05/icon-clock.svg');
	height: 26px;
	width: 26px;
	margin-right: 8px;
}
.lesson-wrapper .lesson .button-start {
	display: flex;
	justify-content: end;
}
.lesson-wrapper .lesson .button-start.soon {
	opacity: 0.5;
	pointer-events: none;
}
.lesson-wrapper .lesson .button-start a {
	font-size: 19px;
	text-transform: uppercase;
	color: #fff !important;
	background-color: #149BDA;
	text-decoration: none;
	border-radius: 2px;
	padding: 2px 16px;
}
.lesson-wrapper .lesson .button-start a::after{
	content: url('https://fai-therapeutics.com/staging/wp-content/uploads/2024/05/icon-arrow-right.svg');
	margin-left: 8px;
}
.lesson-wrapper .lesson:nth-child(even) .button-start a {
	background-color: #47A019;
}
@media (min-width:768px) {
		.lesson-wrapper {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 1024px) {
		.lesson-wrapper {
		grid-template-columns: 1fr 1fr 1fr;
	}
}


/* Estilo básico do slider */
.acf-slider {
  position: relative;
  overflow: hidden;
}

.acf-slider .slide {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.acf-slider .slide-content {
  background: rgba(0, 0, 0, 0.5); /* semi-transparente */
  color: #fff;
  padding: 40px;
  max-width: 800px;
  width: 100%;
}

.acf-slider .slide-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.acf-slider .slide-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.acf-slider .slide-button {
  display: inline-block;
  padding: 10px 20px;
  background: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.acf-slider .slide-button:hover {
  background: #005177;
}

.swiper {
  width: 100%;
  height: 500px;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.slide-content {
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 40px;
  text-align: center;
}

.slide-button {
  display: inline-block;
  padding: 10px 20px;
  background: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.slide-button:hover {
  background: #005177;
}

.mySwiper {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.mySwiper .swiper-slide {
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 40px;
  text-align: center;
}

.slide-button {
  display: inline-block;
  padding: 10px 20px;
  background: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.slide-button:hover {
  background: #005177;
}

.mySwiper {
  position: fixed;
  top: 0px; /* ajusta conforme a altura do teu header */
  left: 0;
  width: 100vw;
  z-index: 999;
}

body > .mySwiper {
  width: 100vw;
  margin: 0;
  padding: 0;
}

.mySwiper .swiper-wrapper {
  width: 100%;
}

.mySwiper .swiper-slide {
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}


.mySwiper {
  width: 100vw;
  margin: 0;
  padding: 0;
}

.mySwiper .swiper-slide {
  width: 100%;
}
