/*
Theme Name: Dattola
Template: twentytwentyfour
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Dattola is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 7.0
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
.hidden {
	display: none !important
}
:where(body .is-layout-constrained) > *, :where(body .is-layout-flow) > *, :where(.wp-site-blocks) > * {
    margin-block-start: 0rem !important;
    margin-block-end: 0;
}
.entry-content {
	margin-block-start: -5rem !important;
}
.wp-block-navigation-item__label,.wp-block-button__link {
	text-transform: uppercase;
}
:where(.wp-site-blocks *:focus) {
    outline-width: 0px;
    outline-style: solid;
}
.wp-block-navigation-item__label {
	font-size: 12px;
}
.wp-block-button .wp-element-button {
	color: var(--wp--preset--color--accent-3) !important;
    background-color: transparent !important;
    padding-left: 0;
	font-weight: bold;
	margin-top: 2rem;
}
.wp-block-button .wp-element-button::after {
	display: inline-flex;
    content: '';
    width: 14px;
    height: 10px;
    margin-left: 6px;
	background-image: url(/wp-content/uploads/2024/04/arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
	transition: all 0.3s ease-in-out;
}
.wp-block-button .wp-element-button:hover::after {
	margin-left: 12px;
}

.blue-quote-banner {
	background-position: 50% 125% !important;
    background-size: 50% !important;
}
.page-header-banner {
    min-height: 350px;
	background-size: 35% !important;
	display: flex;
    align-items: end;
    justify-content: flex-start;
}
.page-header-inner {
	display: flex;
    align-items: end;
    justify-content: flex-start;
}
.page-header-banner .wp-block-group {
	width: 100%;
	column-gap: 0.5rem;
}
.page-header-banner p {
	max-width: 850px;
}
.headergroup-wrapper {
	z-index: 1000;
}
.relative-high-z {
	z-index: 100;
    position: relative;
}

.cat-list-wrapper {
	display: none !important;
	gap: 2rem;
	justify-content: center;
}
.wp-block-categories-list {
	display: inline-flex;
    width: fit-content;
    gap: 2rem;
    flex-grow: 0 !important;
    justify-content: flex-start;
}
.tutti-blog-link a, .wp-block-categories-list a {
	font-family: 'marcellus';
	font-size: 2rem;
	text-decoration: none;
}
.wp-block-categories-list .cat-item {
	margin-bottom: 0 !important;
}
.cat-item a.current-page {
	color:var(--wp--preset--color--custom-color-1)
}
.custom-form .wpforms-field-phone label{
	height: 19px;
}
.custom-form .wpforms-field-label {
	text-transform: uppercase;
}
.custom-form input, .custom-form textarea {
	border: none !important;
}
.custom-form-submit {
	padding: 0.5rem 1rem !important;
	width: 100% !important;
	background: #024357 !important;
	border-radius: 100px !important;
}

.header-nav .wp-block-navigation-item a {
	transition: all 0.4s ease-in-out;
}
.header-nav .wp-block-navigation-item:hover a{
	color: #ff6c01;
}
.contact-nav-btn {
	border: 1px solid #ff6c01;
    padding: 0.25rem 0.75rem !important;
    border-radius: 2rem;
    color: #ff6c01;
	transition: all 0.4s ease-in-out;
}
.contact-nav-btn:hover {
	background-color: #ff6c01;
	color: #fff;
}
.contact-nav-btn:hover a span{
	color: #fff;
}
.wp-block-post-excerpt__more-link {
	text-transform: uppercase;
	font-size:1rem;
	border-bottom: 0.25px solid var(--wp--preset--color--accent-3);
	text-decoration: none !important;
}
.wp-block-post-excerpt__more-link:hover {
	border-bottom: 1.5px solid var(--wp--preset--color--accent-3);
}
.footer .footer-icon-list .uagb-icon-list__source-wrap{
	margin-right: 15px;
}
.footer .footer-icon-list .uagb-icon-list__source-wrap svg {
	width: 16px;
    height: 16px;
    font-size: 16px;
    color: #ff6b00;
    fill: #ff6b00;
}
.footer-icon-list .uagb-icon-list__label {
	font-size: 14px;
}
.footer .wp-block-navigation-item__label {
	font-size: 15px;
	hyphens: auto;
}
.wp-block-heading {
	hyphens: auto;
	word-break:auto-phrase;
}
.blog-card-title a{
	font-family: 'Marcellus';
}
.is-style-rounded img{
	border-radius: 2rem !important;
}
.psych-list-block .uagb-icon-list__source-wrap {
	line-height: 2;
	align-self: flex-start !important;
	margin-top: 10px;
}
.psych-list-block .uagb-icon-list__source-wrap svg {
	height: 10px !important;
	width: 10px !important;
	font-size: 10px !important
}
	.taxonomy-category,.taxonomy-category a {
		text-transform: uppercase;
		display: none;
	}
.wp-block-post-title:hover a {
	text-decoration: none !important;
}
.blog-header-banner {
	margin-top: -5rem !important;
}
.footer .wp-block-navigation-item__label {
	text-transform: capitalize;
}
.faq-wrapper {
	background-size: 150vw !important;
    background-repeat: no-repeat;
}
.faq-wrapper .uagb-faq__outer-wrap{
	width: 100%;
	max-width: 100% !important;
	margin: 0;
}
.faq-wrapper .uagb-faq__outer-wrap .uagb-faq-content p{
	max-width: 70% !important;
	margin: 20px 0 0;
}
.nav-whatsapp-btn {
	position: fixed;
    bottom: 2.75rem;
    right: 2.75rem;
    background: #10979E;
    border-radius: 2rem;
    height: 3.5rem;
    width: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
	z-index: 999;
}
.related-posts-grid {
	max-width: var(--wp--style--global--wide-size) !important;
	padding-top:2rem;
}
.related-posts-grid article {
	display: grid !important;
	grid-template-columns: 0.5fr 1fr !important;
	column-gap: 1.25rem;
}
.related-posts-grid article .uagb-post__image {
	grid-row-start: 1;
    grid-row-end: 6;
	margin: 0 !important;
	max-height: 12.5rem;
}
.related-posts-grid article .uagb-post__image a {
	height: 15rem !important;
	width: 12.5rem !important;
	overflow: normal
}
.related-posts-grid article .uagb-post__image img {
	border-radius: 2rem !important;
	height: 15rem !important;
	width: 12.5rem !important;
	object-fit: cover;
}
.related-posts-grid article .uagb-post__taxonomy, .related-posts-grid article .uagb-post__taxonomy a {
	color: var(--wp--preset--color--custom-color-1) !important;
	background: none !important;
	margin-bottom: 1rem !important;
	text-transform: uppercase;
	padding: 0 !important
}
.uagb-post__taxonomy.highlighted {
	display: none !important;
}
.related-posts-grid article .uagb-post-grid-byline {
	display: none;
}
.related-posts-grid article .uagb-post__excerpt {
	padding-bottom: 1rem !important;
}
.related-posts-grid article .uagb-post__excerpt p{
	margin-top: 0 !important;
	font-size: 1rem !important;
}
.related-posts-grid article .uagb-post__title a {
	font-size: 24px !important;
}
.related-posts-grid article .wp-block-button__link {
	padding-left: 0rem !important;
}

@media screen and (max-width:600px) {
.wp-block-navigation__responsive-close {
	border-radius: 32px;
		background: #FBF7F3;
		padding: 0 40px 40px 40px;
	}
}

@media screen and (max-width:640px) {
	h1 {
		font-size:40px;
	}
	h2 {
		font-size: 36px;
	}
	h3 {
		font-size: 32px;
	}
	h4 {
		font-size: 28px;
	}
	.related-posts-grid article {
		display: flex !important;
		flex-direction: column !important;
		padding: 0px !important;
		margin-bottom: 1rem !important;
	}
.faq-wrapper .uagb-faq__outer-wrap .uagb-faq-content p{
	max-width: 100% !important;
}
	.related-posts-grid article .uagb-post__image a,.related-posts-grid article .uagb-post__image img  {
		height: 12.5rem !important;
		width: 100% !important;
		padding-bottom: 0 !important
	}

	.related-posts-grid article .uagb-post__taxonomy, .related-posts-grid article .uagb-post__taxonomy a {
		color: var(--wp--preset--color--custom-color-1) !important;
		background: none !important;
		margin-bottom: 1rem !important;
		text-transform: uppercase;
		padding: 0 !important
	}
	.related-posts-grid article .uagb-post-grid-byline {
		display: none;
	}
	.related-posts-grid article .uagb-post__excerpt {
		padding-bottom: 1rem !important;
	}
	.related-posts-grid article .uagb-post__excerpt p{
		margin-top: 0 !important;
		font-size: 1rem !important;
	}
	.related-posts-grid article .uagb-post__title a {
		font-size: 24px !important;
	}
	.related-posts-grid article .wp-block-button__link {
		padding-left: 0rem !important;
	}
	.nav-whatsapp-btn {
		bottom: 1.5rem;
		right: 1.5rem;
	}
	.columns-rev-mobile {
		flex-direction: column-reverse !important;
	}
	.page-header-banner {
		min-height: 400px;
		padding-bottom: 2rem !important;
		background-position: -100% 100% !important;
    	background-size: 500px !important;
		padding: 1.25rem !important;
	}
	.faq-wrapper {
		background-size: initial !important;
		background-repeat: no-repeat !important;
	}
	.home-doctor-section {
		background-position: -100% 99% !important;
    	background-size: 475px !important;
	}
	.blue-banner-image img {
		width: 100% !important;
	}
	.page-header-banner .wp-block-group:has(.page-header-description) {
		padding-right: 0 !important;
	}
	.psych-list-block {
		gap: 0rem;
	}
	.home-blog-title {
		text-align: center;
		margin-bottom: 0rem !important;
	}

	.blog-card-title {
		font-size: 1.75rem !important;
	}
	.home-blog-image,.home-blog-image img, .blog-list-image,.blog-list-image img,.wp-block-post-featured-image, .wp-block-post-featured-image img {
		height: 12.5rem !important;
		border-radius: 2rem !important;
	}
	.contact-section {
		padding-top: 5rem !important;
	}
	.custom-form {
		padding: 0.5rem !important;
	}
	.custom-form .wpforms-field-phone label {
		display: none;
	}
	.wp-container-core-columns-is-layout-1.wp-container-core-columns-is-layout-1 {
		gap: 1rem !important;
	}
	.wp-block-navigation__responsive-container-close {
		display:none;
	}
	.wp-block-navigation__responsive-dialog {
		margin-top: 0px !important;
	}
	.wp-block-navigation__responsive-container-content {
		padding-top: 2rem !important;
	}
	.cat-list-wrapper {
		flex-wrap: wrap !important;
	}
	.footer-columns {
		gap: 3rem;
	}
	.article-title {
		margin-bottom: 40px !important;
	}
	.blue-quote-banner {
		background-position: 50% 100% !important;
		background-size: 150% !important;
		padding: 3rem 1rem !important;
	}
	.blue-quote-banner h3:nth-of-type(2) {
		padding: 1rem 0;
	}
	.mb-5 {
		margin-bottom: 1.5rem;
	}
	.has-modal-open .header-nav {
		gap: 1.5rem
	}
	.banner-img {
		min-height: 75vh !important;
	}
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.contact-nav-btn {
		border: 0;
    	padding: 0px !important;
		color: #ff6c01 !important;
	}
	
	.has-modal-open .wp-block-navigation-item__label {
		font-size: 15px;
	}
	.mob-hide-0 {
		flex-basis: 0 !important;
	}
	.faq-wrapper-0 {
		height: 0;
	}
	.sticky-image-wrapper .wp-container-12 {
		position:relative !important;
		top: 0px !important;
	}
	.sticky-image-wrapper .is-style-rounded {
		margin-inline-end: 0 !important;
	}
	
	.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
		background-color: transparent;
	}
	ul.wp-block-navigation__container.is-responsive.items-justified-right.wp-block-navigation {
		gap: 1rem;
	}
	.wp-block-navigation__responsive-container {
		bottom: auto;
		top: 70px;
	}
}



@media screen and (min-width: 641px) {
	
	.sticky-image-wrapper {
		position: relative;
		height: 100%;
	}
	.sticky-image-wrapper figure { 
		position: sticky;
		top: 110px;
	}
	.services-block-image img {
		height: 390px;
		object-fit: cover;
	}
		.blog-list-image img{
		height: 360px !important;
	}
}

	
@media screen and (min-width: 769px) {
	.tricol-group-wrapper {
		position: relative;
		min-height:150vh;
	}
	.tricol-group-1 {
		position: sticky;
		min-height: 149.25vh;
		top: 25vh;
		z-index: 10;
		display: flex;
		padding-top: 20vh !important;
	}
	.tricol-group-1 img {
		position: sticky;
		top: 250px;
	}
	.tricol-group-image-wrapper {
		position: relative;
		height: 100%;
	}
	.tricol-group-1-title,.tricol-group-1-image, .tricol-group-1-content {
		margin-bottom:20vh;
	}
	.tricol-group-1-title,.tricol-group-2-title {
		height: 400px;
	}
	.tricol-group-1-image {
		position: sticky;
		top: 25vh;
	}
	.tricol-group-1-content,.tricol-group-2-content {
		height: 400px;
	}
	.tricol-group-1-content, .tricol-group-2-content {
		display: flex;
		flex-direction: column;
		justify-content: end;
	}
	.tricol-group-1-content .wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex, .tricol-group-2-content .wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex {
		margin-left: 0 !important;
	}
	.tricol-group-wrapper img {
		height: 400px;
		object-fit: cover;
	}
	.sticky-image-wrapper {
		position: relative;
		height: 100%;
	}
	.sticky-image-wrapper figure { 
		position: sticky;
		top: 110px;
	}
}



.scroll-region {
	padding-top:var(--wp--preset--spacing--40);
	padding-right:var(--wp--preset--spacing--50);
	padding-bottom:var(--wp--preset--spacing--40);
	padding-left:var(--wp--preset--spacing--50)
}
.scroll-region-section {
    width: 100%;
    margin: 0 !important;
}
.scroll-region-section div.reveal {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}
.scroll-region-section .content-flex-col {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.scroll-region {
  height: 100%;
  position: relative;
}
section:nth-child(1) {
  position: sticky;
  top:0;
}
section:nth-child(2) {
  background: transparent;
}

.reveal {
  position: relative;
  opacity: 0;
}

.reveal.active,.reveal.start  {
  opacity: 1;
}
.inactive.fade-out-bottom {
  animation: fade-out-bottom 1s ease-out;
}
.active.fade-bottom {
  animation: fade-bottom 1s ease-in;
}
.active.fade-left {
  animation: fade-left 1s ease-in;
}
.active.fade-right {
  animation: fade-right 1s ease-in;
}
@keyframes fade-bottom {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-out-bottom {
  0% {
    transform: translateY(0px);
    opacity: 1;
  }
  100% {
    transform: translateY(50px);
    opacity: 0;
  }
}