/**
Theme Name: Robintek Child Theme
Author: Robintek
Author URI: https://robintek.com/
Description: Robintek Child 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: robintek-child-theme
Template: astra
*/


/*==== BUTTONS =======================================================================================*/



/*==== HEADER =======================================================================================*/

.ast-site-identity {
    margin-top: -50px;
    padding: 10px 0;
}
[CLASS*="-sticky-header-active"] .ast-builder-menu-1 .main-header-menu .current-menu-parent > .menu-link {
    color: var(--ast-global-color-0)!important;
}
h1.ast-advanced-headers-title {
    font-size: 42px;
    margin-bottom: 0;
}
.page h1.ast-advanced-headers-title {
    font-size: 54px;
}
.single-post #primary {
    margin: 0;
}

/*==== FOOTER =======================================================================================*/

.site-footer,
.top-color-bar {
    position: relative;
}
.top-color-bar:after,
.site-footer:after {
    content: "";
    display: block;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #006893 0, #9893d0 51.04%, #c2e8f0 100%);
    position: absolute;
    top: 0;
    z-index: 2;
}
.ast-merged-advanced-header .ast-inside-advanced-header-content:after {
    content: "";
    display: block;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #006893 0, #9893d0 51.04%, #c2e8f0 100%);
    position: absolute;
    bottom: 0;
    z-index: 2;
}
.site-footer .menu {
    padding-left: 0;
}
.site-footer img {
    max-width: 400px!important;
}
.site-footer {
    background-color: var(--ast-global-color-2);
    background-image: url("/wp-content/uploads/2025/06/footer-graphic.svg"); 
    background-position: right;
    background-repeat: no-repeat;
}
.site-footer .ast-custom-button-link {
    position: relative;
    display: inline-block;
    padding-right: 30px;
}
.site-footer .ast-custom-button-link:before {
    content: "\f061";
    position: absolute;
    right: 0;
    font-family: "Font Awesome 5 Pro";
    color: #fff!important;
    font-size: 20px;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.ftr-icon:before {
    position: absolute;
    left: 0;
    top: 0;
    font-family: "Font Awesome 5 Pro";
    color: #fff!important;
    font-size: 20px;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.ftr-icon {
    padding-left: 30px;
    position: relative;
    padding-bottom: 20px;
}
.ftr-address:before {
    content: "\f3c5";
}
.ftr-phone:before {
    content: "\f095";
}
.ftr-mail:before {
    content: "\f0e0";
}

/*==== HOME PAGE ====================================================================================*/

.box-featured-events .tribe-events-l-container {
    padding: 0!important;
}
.single-tribe_events .tribe-events-c-subscribe-dropdown__container, 
.tribe-events .tribe-events-c-subscribe-dropdown__container {
    display: none!important;
}
.box-featured-events .tribe-events-l-container {
    min-height: auto!important;
}

/*==== US MAP =======================================================================================*/

#usmapbase svg {
    height: auto!important;
}
#usmapbase .washington,
#usmapbase .california,
#usmapbase .nevada,
#usmapbase .north-dakota,
#usmapbase .michigan,
#usmapbase .west-virginia,
#usmapbase .mississippi,
#usmapbase .alabama,
#usmapbase .maine,
#usmapbase .rhode-island {
    transform: none;
}
.col-map-key {
    margin-top: -150px;
}


/*==== Sticky Button =================================================================================*/

.row-sticky-right {
    position: fixed;
    right: -1px;
    top: 25%;
    transform: rotate(270deg);
    transform-origin: right bottom;
    z-index: 3;
}
.row-sticky-right .btn-sticky a.fl-button {
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
    border: 1px solid #7871B6;
    background-color: #7871B6;
    padding-top: 15px;
    padding-right: 35px;
    padding-bottom: 15px;
    padding-left: 35px;
    color: #fff;
}
.row-sticky-right .btn-sticky a.fl-button .fl-button-text {
    color: #fff;
}
.row-sticky-right .btn-sticky a.fl-button:hover {
    background-color: #9892c4;
    border: 1px solid #7871B6;
    color: #fff;
}
.row-sticky-right .btn-sticky a.fl-button:hover .fl-button-text {
    color: #fff;
}
.row-sticky-right {
    -webkit-animation: 8s ease 0s normal forwards 1 fadein;
    animation: 8s ease 0s normal forwards 1 fadein;
}
@keyframes fadein{
    0% { opacity:0; }
    66% { opacity:0; }
    100% { opacity:1; }
}

@-webkit-keyframes fadein{
    0% { opacity:0; }
    66% { opacity:0; }
    100% { opacity:1; }
}


/*==== CUSTOM =======================================================================================*/

.circle-border {
    background-image: url(/wp-content/uploads/2025/03/icon-tarrytown-exporecare-pharmacy-circle.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.col-overlap-top {
    margin-top: -100px;
}
.col-overlap-top-small {
    margin-top: -40px;
}
.fl-builder-edit .col-overlap-top-small,
.fl-builder-edit .col-overlap-top {
    margin-top: 0;
}
.fl-builder-edit .tribe-events {
    max-height: 200px;
    overflow: hidden;
}
.single .post-navigation {
    padding: 2em 0;
}
.box-timeline .uabb-infobox-title-wrap {
    text-align: right;
}
.box-timeline .uabb-infobox-title-prefix {
    background-color: var(--ast-global-color-2);
    text-transform: uppercase;
    display: inline-block;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 13px;
}
.box-timeline .uabb-infobox-title {
    text-align: left;
    padding-top: 10px;
}
.box-timeline .uabb-infobox-text h3 {
    margin-bottom: 10px;
}
#sticky-footer-cta {
    width: 400px;
    height: 100px;
    position: fixed;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    transition: 200ms;
    z-index: 5
}
#sticky-footer-cta:before {
    content: "";
    display: block;
    width: 727px;
    height: 727px;
    position: absolute;
    top: 0;
    left: -100px;
    background: #c2e8f0;
    border-radius: 50%;
    box-shadow: 0 0 12px 0 rgba(0,0,0,.12)
}

/*==== MEDIA QUERIES ================================================================================*/

@media (max-width:1350px){
    .site-above-footer-wrap,
    .site-primary-footer-wrap {
        padding-left: 80px!important;
    }
    .bg-left-logo .fl-row-content-wrap {
        background-position: -800px 0%;
    }
    .col-map-key {
        margin-top: -120px;
    }
}

@media (max-width:921px){
    h1.ast-advanced-headers-title {
        font-size: 36px;
    }
    .page h1.ast-advanced-headers-title {
        font-size: 48px;
    }
    .site-above-footer-wrap {
        padding-left: 20px!important;
    }
    .site-primary-footer-wrap .ast-builder-grid-row {
        grid-template-columns: 1fr!important
    }
    .site-above-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-mobile-stack .site-footer-section,
    .site-primary-footer-wrap[data-section="section-primary-footer-builder"].ast-footer-row-mobile-stack .site-footer-section {
        text-align: center;
        margin-bottom: 40px
    }
    .site-footer-section {
        justify-content: center;
    }
    .footer-widget-area-inner,.footer-social-inner-wrap {
        text-align: center!important
    }
    .site-above-footer-wrap.ast-builder-grid-row-2-rheavy .ast-builder-grid-row {
        grid-template-columns: 1fr;
    }
    .site-above-footer-wrap,
    .site-primary-footer-wrap {
        padding-left: 20px!important;
    }
    .site-footer {
        background-image: none;
    }
    .ftr-icon:before {
        content: none!important;
    }
    .ftr-icon {
        padding-left: 0;
    }
    .site-primary-footer-wrap {
        max-width: 400px;
        margin: 0 auto;
    }
    .bg-left-logo .fl-row-content-wrap {
        background-image: none!important;
    }
    .col-map-key {
        margin-top: -100px;
    }
}

@media (max-width:768px){
    .col-overlap-top-small,
    .col-overlap-top {
        margin-top: 0;
    }
    h1.ast-advanced-headers-title {
        font-size: 30px;
    }
    .page h1.ast-advanced-headers-title {
        font-size: 42px;
    }
    .row-sticky-right {
        display: none;
    }
    .col-map-key {
        margin-top: 0;
    }
    .col-main-banner-content .uabb-dual-button {
        justify-content: center;
    }
    .col-cta-content-round .fl-module-heading {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 544px){
	.ast-site-identity {
        margin-top: -30px;
    }
    .page h1.ast-advanced-headers-title {
        font-size: 36px;
    }
    .ast-header-break-point #masthead .ast-mobile-header-wrap .ast-above-header-bar {
        padding-left: 5px;
        padding-right: 5px;
    }
}
@media (max-width: 400px){ 
    .ast-header-html-3 {
        display: none!important;
    }
}
