/* Spacing */
.m-auto {margin: auto!important;}
.m-0 {margin: 0px!important;}
.p-0 {padding: 0px!important;}

.m-0 {margin: 0px!important;}
.m-10 {margin: 10px!important;}
.m-20 {margin: 20px!important;}
.m-30 {margin: 30px!important;}
.m-2em {margin: 2em!important;}
.m-4em {margin: 4em!important;}

.p-0 {padding: 0px!important;}
.p-10 {padding: 10px!important;}
.p-20 {padding: 20px!important;}
.p-30 {padding: 30px!important;}
.p-2em {padding: 2em!important;}
.p-4em {padding: 4em!important;}

.mt-0 {margin-top: 0px!important;}
.mt-10 {margin-top: 10px!important;}
.mt-20 {margin-top: 20px!important;}
.mt-30 {margin-top: 30px!important;}
.mt-2em {margin-top: 2em!important;}
.mt-4em {margin-top: 4em!important;}

.mb-0 {margin-bottom: 0px!important;}
.mb-10 {margin-bottom: 10px!important;}
.mb-20 {margin-bottom: 20px!important;}
.mb-30 {margin-bottom: 30px!important;}
.mb-2em {margin-bottom: 2em!important;}
.mb-4em {margin-bottom: 4em!important;}

.pt-0 {padding-top: 0px!important;}
.pt-10 {padding-top: 10px!important;}
.pt-20 {padding-top: 20px!important;}
.pt-30 {padding-top: 30px!important;}
.pt-2em {padding-top: 2em!important;}
.pt-4em {padding-top: 4em!important;}

.pb-0 {padding-bottom: 0px!important;}
.pb-10 {padding-bottom: 10px!important;}
.pb-20 {padding-bottom: 20px!important;}
.pb-30 {padding-bottom: 30px!important;}
.pb-2em {padding-bottom: 2em!important;}
.pb-4em {padding-bottom: 4em!important;}

.mw-100 {max-width:100px;}
.mw-200 {max-width:200px;}
.mw-300 {max-width:300px;}
.mw-400 {max-width:400px;}
.mw-500 {max-width:500px;}
.mw-600 {max-width:600px;}
.mw-700 {max-width:700px;}
.mw-800 {max-width:800px;}
/* END spacing */

/*Home page css*/
.smiles-container , .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row,
.wp-block-cover__inner-container{
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
}
.contact-num{
    border: 1px solid #333;
}
.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item{
    line-height: 1rem;
    border-radius: 0.25rem;
    padding: 10px 20px;
}
.icon-container svg {
    width: 20px;
    height: 50px;
    margin: 12px;
}
.ast-builder-layout-element .ast-site-identity{
    padding: 0px;
}
.site-header {
    padding: 16px 0 0;
    background: #F6F6F6;
}

/*Banner css Start*/
.banner {
    background: linear-gradient(180deg, #F5F5F5 0%, #FAFAFA 100%);
}
.banner .wp-block-group .wp-block-column .has-text-align-center{
    Line-height: 64.8px;
}
.banner .wp-block-heading{
    line-height: 64.8px;
}
.banner p{
    line-height: 27px;
    margin-bottom: 24px;
}
/*Banner css End*/
/* flip card section */
.flip-container .flip-box p{
    font-family: 'montserrat';
    font-size: 32px;
    font-weight: 600;
    line-height: 38.4px;
    letter-spacing: 0%;
}
.home-flip-card .wp-block-themeisle-blocks-flip .o-flip-content{
    padding: 0;
}
.home-flip-card .wp-block-themeisle-blocks-flip .o-flip-front{
    border: none;
}
.home-flip-card .wp-block-themeisle-blocks-flip .o-flip-front img{
    border-radius: 10px 10px 0 0;
    height: 288px;
}
.home-flip-card .wp-block-themeisle-blocks-flip .o-flip-back{
    background-color: #0C6BB2;
    border: none;
    background-image: url(/wp-content/uploads/2025/02/Group.png);
    background-position: right;
    background-repeat: no-repeat;
}
.home-flip-card .wp-block-themeisle-blocks-flip .o-flip-back p{
    color: #E5E5E5;
    font-size: 32px;
    font-weight: 600;
    line-height: 38.4px;
    text-align: left;
    padding: 12px;
}

.flip-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    perspective: 1000px;
}
.flip-container .wp-block-column{
    border-radius: 0px;
    overflow: hidden;
}

.flip-box {
    width: 100%;
    height: 500px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-box:hover {
    transform: rotateY(180deg);
}

.flip-box .flip-box-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
}

.flip-box .flip-box-front {
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0px 0px;
}

.flip-box .flip-box-back {
    background-size: contain;
    background-position: right;
    background-image: url('/wp-content/uploads/2025/02/Group.png'); /* Replace with your image */
    display: flex;
    justify-content: center;
    align-items: center;
   padding: 45px 30px; 
    color: #fff;
    text-align: center;
    transform: rotateY(180deg);
    background-color: #0C6BB2;
    background-repeat: no-repeat;
    font-size: 32px;
    text-align: left;
    font-weight: 600;
    line-height: 38.4px;
}

/* ------------flip card section end------------*/
/* ----------- putting the community ----------------*/
.putting-the-community p{
    /*font-family: 'open-sans';*/
    font-weight: 300;
    line-height: 27px;
}
.meet-dr{
    padding: 0;
    margin-top: 100px;
}
.meet-dr .wp-block-column {
    position: relative;
}
.meet-dr .wp-block-column .wp-block-uagb-image{
    position: absolute;
    bottom: 0;
    left: -130px;
}
.meet-dr .wp-block-uagb-image__figure img{
    height: 600px !important;
}

/*----------- meet dr Meet Dr. Ramirez------------*/


/*----------- meet dr Meet Dr. Ramirez end------------*/

/*------------ Care Sectoin Start--------------*/
.care h3 {
    text-align: left;
}
ul.wp-block-list.care-list {
    margin-left: unset;
}
.care .wp-block-column p{
    margin: 41px 0 57px;
}
.care .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*------------Care Section End----------------------*/
/* Kind words of community */
.words-for-com p{
    margin: 30px 0;
    font-weight: 300;
    line-height: 27px;
    letter-spacing: 0%;
}
.ratings {
    display: flex;
}
.ratings svg{
    width: 20px;
}
.kind-words p {
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
    margin: 2rem 0;
    min-height: 162px;
}
.kind-words h3 {
    font-size: 16px;
}
/* ---------------------Kind words of community end---------------------- */
/* ---------------------come visit us ---------------------- */
.your-visit-comfort-smile .wp-block-column p{
    /*font-family: Open Sans;*/
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 0%;
}
.visit-and-contact {
    margin-top: 80px;
}
.visit-us .wp-block-uagb-advanced-heading p{
    /*font-family: Open Sans;*/
    font-weight: 400;
    line-height: 27px;
    letter-spacing: 0%;
    text-align: center;
}
.visit-us .visit-and-contact .get-directions{
    position: relative;
}
.visit-us .visit-and-contact .wp-block-uagb-advanced-heading{
    margin-bottom: 8px;
}
.visit-us .visit-and-contact .get-directions::after{
    content: " ";
    border-right: 2px solid #000;
    border-top: 2px solid #000;
    width: 8px;
    height: 8px;
    transform: rotate(45deg) translateY(-50%);
    cursor: pointer;
    display: block;
    position: absolute;
    right: -10px;
    top: 50%;
}

.visit-icon {
    display: inline-block;
    width: 100%;
}

.hours p {
    color: #333;
}
/* --------------------come visit us end---------------------- */

/*footer css*/
.widget-title, .widget{
    margin: 0;
}
.icon-container{
    display: flex;
    margin-top: 74px;
}
footer, footer p, footer .site-footer-section a{
    color: #fff !important;
}
footer h6, footer .widget-title h6{
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 21px;
    text-transform: uppercase;
}
footer .footer-bar-navigation nav ul li a{
    text-transform: uppercase;
    font-size: 14px;
}
.ast-builder-grid-row-6-equal .ast-builder-grid-row {
    grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr 1fr;
}
/*footer css end*/
/*home page css end*/

/* Blog Image Fix */
body.post-template-default.single.single-post article .post-thumb-img-content img {
	height: 500px!important;
    width: 800px;
    object-fit: contain;
}
.lr-section:nth-child(even) + .space-bg, .lr-section:nth-child(even) {
    background-color: #f9f9f9 !important;
}
.uagb-faq-item:last-child {
    margin-bottom: 0 !important;
}

ol,
ul{
    margin-left: 0 !important;
    padding-left: 1.5em !important;
    margin-bottom: 0 !important;
}
@media screen  and (max-width: 1366px){
    .flip-box{
        height: 300px;
    }
}
@media (max-width: 1199px) and (min-width: 1025px) {
    .ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item{
        padding: 10px;
    }
    .main-header-menu .menu-link{
        padding: 0;
    }
    .meet-dr .wp-block-uagb-image__figure img{
        height: 600px;
    }
}
@media (max-width: 600px) {
	body.post-template-default.single.single-post article .post-thumb-img-content img {
		height: auto!important;
   		width: 100%;
    	object-fit: inherit;
	}	
}
/* END Blog Image Fix */
/* Blog Post styles */
body.post-template-default.single.single-post article {
    padding-top: 2em!important;
    padding-bottom: 2em!important;
}
body.post-template-default.single.single-post .post-thumb-img-content {
    background: white;
    text-align: center;
    padding: 0px;
}
body.post-template-default.single.single-post h1.entry-title {
    font-size: 28px!important;
}
body.post-template-default.single.single-post .ast-single-post-order {
    text-align: center;
}
body.post-template-default.single.single-post div#primary {
    margin-top: 0px;
	padding: 0;
}
body.post-template-default.single.single-post article.post {
    padding: 2em;
}
.blog-list h4.uagb-post__title.uagb-post__text {
    margin-top: 15px;
}
/* END Blog Post styles */


.wp-block-group__inner-container h2, .wp-block-group__inner-container h3, .wp-block-group__inner-container h4, .wp-block-group__inner-container h5, .wp-block-group__inner-container h6 {
    display: block;
    clear: none;
}

.gform_wrapper.gravity-theme input[type=color], .gform_wrapper.gravity-theme input[type=date], .gform_wrapper.gravity-theme input[type=datetime-local], .gform_wrapper.gravity-theme input[type=datetime], .gform_wrapper.gravity-theme input[type=email], .gform_wrapper.gravity-theme input[type=month], .gform_wrapper.gravity-theme input[type=number], .gform_wrapper.gravity-theme input[type=password], .gform_wrapper.gravity-theme input[type=search], .gform_wrapper.gravity-theme input[type=tel], .gform_wrapper.gravity-theme input[type=text], .gform_wrapper.gravity-theme input[type=time], .gform_wrapper.gravity-theme input[type=url], .gform_wrapper.gravity-theme input[type=week], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
	height: 50px;
}

@media (min-width:921px){
	#ast-mobile-header{display:none;}
}

.entry-content figure.alignright {
    margin-top: 0;
    margin-bottom: 20px;
    margin-left: 20px;
}

@media (max-width: 800px) {
	.entry-content figure.alignright {
		float: none!important;
		width: 100%;
		margin: 0!important;
		margin-bottom: 20px!important;
	}
}

/* media query css start */
@media only screen and (max-width: 1366px) {
    .care,
    .words-for-com,
    .visit-us > .wp-block-column{
        padding: 30px 15px !important;
    }
    .banner .wp-block-column h1{
        font-size: 38px !important;
        line-height: 1.2;
    }
    .care .wp-block-uagb-advanced-heading.uagb-block-2729fb03 .uagb-heading-text,
    .community .wp-block-uagb-advanced-heading.uagb-block-c06cba8d .uagb-heading-text,
    .meet-dr .wp-block-uagb-advanced-heading.uagb-block-020e874b .uagb-heading-text,
    .words-for-com .wp-block-uagb-advanced-heading.uagb-block-06c52c1d .uagb-heading-text,
    .your-visit-comfort-smile .wp-block-uagb-advanced-heading.uagb-block-36196478 .uagb-heading-text,
    .visit-us .wp-block-uagb-advanced-heading.uagb-block-d5cd0d41 .uagb-heading-text{
        font-size: 38px;
        line-height: 1.2;
    }
    
    .care p{
        margin-top: 0px;
    }
    .care .wp-block-columns .wp-block-column h3{
        font-size: 26px;
    }
}
@media only screen and (max-width: 1199px) {
    .meet-dr .wp-block-column .wp-block-uagb-image {
        left: -70px;
    }
}
@media only screen and (max-width: 1024px) {
    .ast-builder-grid-row-6-equal .ast-builder-grid-row {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media only screen and (max-width: 991px) {
    .ast-builder-grid-row-6-equal .ast-builder-grid-row {
        grid-template-columns: repeat(3, 1fr);
    }
    p{
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    .meet-dr .wp-block-columns .dr-sec-content{
        order: -1;
    }
    .meet-dr .dr-sec-img .wp-block-uagb-image{
        position: static;
    }
    .visit-us .visit-and-contact .wp-block-uagb-image .wp-block-uagb-image__figure{
        width: 100%;
    }
    .visit-us .visit-and-contact .uagb-block-4c8f231d.wp-block-uagb-image .wp-block-uagb-image__figure img{
        width: 100%;
    }
    .icon-container {
        margin-top: 34px;
    }
   .footer-widget-area[data-section="section-fb-html-2"] .ast-builder-html-element {
        text-align: left;
    }
}
@media (max-width: 921px) {
    .ast-builder-grid-row-container.ast-builder-grid-row-tablet-6-equal .ast-builder-grid-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-widget-area[data-section="section-fb-html-2"] .ast-builder-html-element {
        text-align: left;
    }
    .site-footer .footer-widget-area[data-section="section-footer-menu"] .astra-footer-tablet-vertical-menu{
        justify-content: flex-start;
    }
    .site-footer .footer-widget-area[data-section="section-footer-menu"] .astra-footer-tablet-vertical-menu .menu-item {
        align-items: flex-start;
    }
    .site-footer .footer-widget-area[data-section="section-footer-menu"] .astra-footer-tablet-vertical-menu .menu-item a{
        padding: 0px !important;
    }
}
@media only screen and (max-width: 640px) {
    .banner .wp-block-column h1 {
        font-size: 35px !important;
    }
    .ast-builder-grid-row-container.ast-builder-grid-row-tablet-6-equal .ast-builder-grid-row {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    .banner .wp-block-column h1 {
        font-size: 28px !important;
    }
    .care .wp-block-uagb-advanced-heading.uagb-block-2729fb03 .uagb-heading-text, .community .wp-block-uagb-advanced-heading.uagb-block-c06cba8d .uagb-heading-text, .meet-dr .wp-block-uagb-advanced-heading.uagb-block-020e874b .uagb-heading-text, .words-for-com .wp-block-uagb-advanced-heading.uagb-block-06c52c1d .uagb-heading-text, .your-visit-comfort-smile .wp-block-uagb-advanced-heading.uagb-block-36196478 .uagb-heading-text, .visit-us .wp-block-uagb-advanced-heading.uagb-block-d5cd0d41 .uagb-heading-text {
        font-size: 28px;
        line-height: 1.2;
    }
}
@media only screen and (max-width: 480px) {
    .uagb-block-149778d7.uagb-buttons__outer-wrap .uagb-buttons__wrap {
        flex-direction: column;
    }
    .community,
    .dr-sec-content{
        padding-bottom: 0px !important;
    }
    .meet-dr .wp-block-uagb-image__figure img {
        height: 400px !important;
    }
    .your-visit-comfort-smile{
        padding-top: 30px !important;
    }
    .site-primary-footer-wrap{
        padding-bottom: 0px !important;
    }
}

/* media query css end */