/*
Theme Name: Sisemine Areng 
Description: Sisemine Areng veebilehe Hello Elementor child theme
Author: Sisemine Areng
Template: hello-elementor
Version: 1.0.0
Text Domain: sisemine-areng-child
*/

.image-center{
    background-position: top center !important;
    background-size: cover !important;
}

.hero-kristel {
	position: relative !important;
	overflow: hidden !important;
}

/* Kuna põhikonteiner on Elementorist e-con-boxed */
.hero-kristel > .e-con-inner {
	position: relative;
	width: 100% !important;
}

.hero-kristel__content {
	position: relative;
	z-index: 2;
}
@media screen and (min-width: 1441px) {
    .hero-kristel__content {
        padding-left:200px;
    }

}


.hero-kristel__photo, .hero-kristel__photo2 {
    position: absolute !important;
    z-index: 1;
    inset: 0 0 0 auto !important;

    overflow: hidden !important;
    border-radius: 0 !important;
    clip-path: none !important;

    background-size: cover;
    background-position: 45% center;
    background-repeat: no-repeat;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 650' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M150 0 C135 80 45 155 12 250 C-20 345 32 430 82 515 C118 575 138 620 150 650 L1000 650 L1000 0 Z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 650' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M150 0 C135 80 45 155 12 250 C-20 345 32 430 82 515 C118 575 138 620 150 650 L1000 650 L1000 0 Z'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
    mask-position: center;
    mask-repeat: no-repeat;
}

.hero-kristel__quote {
    position: absolute !important;
    z-index: 3;

    top: 12%;
    right: 7%;

    width: 170px;
    margin: 0 !important;

    text-align: center;
    transform: rotate(-7deg);
    transform-origin: center;
}

.hero-kristel__photo::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0 auto auto 0 !important;

    width: 100%;
    height: 44%;

    margin: 0;
    border: 0;
    border-radius: 0;
    transform: none;
    opacity: 1;

    -webkit-mask: none;
    mask: none;
    clip-path: none;

background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 300' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='blue' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2314335A' stop-opacity='.72'/%3E%3Cstop offset='.40' stop-color='%2314335A' stop-opacity='.72'/%3E%3Cstop offset='.75' stop-color='%2314335A' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23blue)' d='M790 0 C710 80 665 160 570 190 C525 205 510 245 510 300 L1000 300 L1000 0 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    pointer-events: none;
}
@media screen and (max-width: 1024px) {
    .hero-kristel__photo::before {
        display: none;
        all: unset ;
    }
}
@media screen and (max-width: 756px) {
    .hero-kristel__photo, .hero-kristel__photo2 {
        position: relative !important;
        width: 100% !important;
        background-position: center 15%  !important;
        --mobile-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 40 C180 0 280 0 500 40 S820 80 1000 40 L1000 960 C820 1000 720 1000 500 960 S180 920 0 960 Z'/%3E%3C/svg%3E");

        -webkit-mask: var(--mobile-wave) center / 100% 100% no-repeat !important;
        mask: var(--mobile-wave) center / 100% 100% no-repeat !important;
    }
}

/* Eemaldab varasema teise lilla ringi */
.hero-kristel__photo::after {
    content: none;
}

/* Tekst jääb lilla kihi peale */
.hero-kristel__photo .hero-kristel__quote {
    z-index: 3;
}

.default-c-p{
    padding: 40px 20px;
}


/* Mobiili menüü parandus */
/* Popup 1219: alammenüü avaneb põhilingi alla */
#elementor-popup-modal-1219
.elementor-element-5883735
.elementor-nav-menu--main .sub-menu {
    position: static !important;
    inset: auto !important;
    float: none !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 6px 0 10px 16px;

    transform: none !important;
    box-sizing: border-box;
}

/* Pikad teenusenimed võivad murduda mitmele reale */
#elementor-popup-modal-1219
.elementor-element-5883735
.elementor-nav-menu--main .sub-menu .elementor-sub-item {
    white-space: normal !important;
    overflow-wrap: anywhere;
}

.sa-next-event:not(:has(.elementor-widget-loop-grid .e-loop-item)) {
    display: none !important;
}


/* 
Easy appointments plugin
*/
.ea-wizard-mode .ea-wizard-step-item.is-current .ea-wizard-step-bubble, .ea-wizard-mode .ea-wizard-step-item.is-completed .ea-wizard-step-bubble {
    background-color: var(--e-global-color-accent) !important;
    border-color: var(--e-global-color-accent) !important;
    box-shadow: unset !important;
}
.ea-wizard-step-label{
    color: var(--e-global-color-accent) !important;
}

.ea-bootstrap.bootstrap .ea-wizard-mode .ea-wizard-btn-next, 
.ea-btn.ea-submit.btn.btn-primary.booking-button
{
    background-color: var(--e-global-color-accent) !important;
    border-color: var(--e-global-color-accent) !important;
}
.ea-wizard-mode .ea-wizard-step-line-fill{
    background-color: var(--e-global-color-accent) !important;
}
.ea-bootstrap .checkbox label{
    line-height: unset !important;
    font-size: 14px !important;
}

#booking-overview table {
    width: 100%;
    margin: 16px 0 0;
    border: 0 !important;
    border-collapse: collapse;
}

#booking-overview table tbody tr td {
    padding: 13px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e6eef4 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#booking-overview table tbody tr:last-child td {
    border-bottom: 0 !important;
}

#booking-overview .ea-label {
    width: 48%;
    color: #526899;
}

#booking-overview .value {
    color: #142d59;
    font-weight: 600;
    text-align: right;
}

@media (max-width: 600px) {
    #booking-overview table tbody tr {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #e6eef4;
    }

    #booking-overview table tbody tr td {
        display: block;
        width: 100%;
        padding: 2px 0 !important;
        border: 0 !important;
        text-align: left;
    }
}