/*
Theme Name: Astra Child
Description: A child theme of Astra Theme
Version: 1.0.0
Text Domain: astra
Template: astra
*/

/*------------Erotimatologia-------------*/

/*Sticky Sidebar*/
.form-sidebar{
        position: -webkit-sticky; /* For Safari */
        position: sticky;
        top: 50px;
        z-index: 5;
    }

/*Repeater Fields Same height*/
.parallel-fields .forminator-all-group-copies .forminator-grouped-fields .forminator-row .forminator-field-radio .forminator-field {min-height:280px !important;}


/*Footer*/
.site-footer .textwidget p {color: #ffffff !important;}
.site-footer .ast-footer-copyright p {color: #ffffff !important;}
.site-footer h2.widget-title {color: #ffffff !important;}
.site-footer a.menu-link {color: #ffffff !important;}

.clickable-box {
    cursor: pointer;
}

.clickable-box a {
    display: block;
    text-decoration: none;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #0f2f43;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(15, 47, 67, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    padding: 0 !important;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(15, 47, 67, 0.5);
    background-color: #1a4460;
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.02);
}

/* Arrow Icon */
.back-to-top .arrow-icon {
    color: white;
    position: absolute;
    z-index: 2;
    transition: transform 0.3s ease;
}

.back-to-top:hover .arrow-icon {
    transform: translateY(-3px);
}

/* Progress Ring */
.progress-svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    width: 60px;
    height: 60px;
}

.progress-circle {
    stroke: #10b981;
    stroke-dasharray: 176; /* 2πr where r=28 */
    stroke-dashoffset: 176;
    transition: stroke-dashoffset 0.1s ease;
    stroke-linecap: round;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .back-to-top .arrow-icon {
        width: 16px;
        height: 16px;
    }

    .progress-svg {
        width: 50px;
        height: 50px;
    }

    .progress-circle {
        cx: 25;
        cy: 25;
        r: 23;
        stroke-dasharray: 144.5;
        stroke-dashoffset: 144.5;
    }
}

.open-user-map .box-wrap .map-wrap .open-add-location-overlay{ width: 150px !important;}
.open-user-map .box-wrap .map-wrap .open-add-location-overlay span.btn_text{ 
	line-height: 20px;
	opacity: 1 !important;
}

.ast-footer-copyright a,
.textwidget a,
.widget.widget_nav_menu a{ color: #FFF !important;}

.ast-footer-copyright a:hover,
.textwidget a:hover,
.widget.widget_nav_menu a:hover{ color: #10b981 !important;}

/* Forms Settings */
.forminator-slider-limit-min,
.forminator-slider-limit-max,
.forminator-slider-limit-between{ color: #000 !important;}

/* Calendar */
.mec-calendar-day,
.mec-previous-month a,
.mec-next-month a,
.mec-event-detail,
.mec-totalcal-view *{ color: #535353 !important;}

.mec-calendar-day.mec-selected-day,
.mec-wrap.colorskin-custom .mec-totalcal-box .mec-totalcal-view span.mec-totalcalview-selected,
.mec-totalcal-view .mec-totalcal-view-selected{ color: #FFF !important;}

.mec-color.mec-table-side-day{ border: 0 !important;}