/**
* Theme Name: HomeQuick
* Description: This is a child theme of Villax, generated by Merlin WP.
* * Author: <a href="https://www.dtstudio.pl/">DT Studio s.c.</a>
* Template: villax
* Version: 1.2.1
*/

/* poprawka dla edytora tiny po stronie klienta */
.tmce-active {

    button:not(.slick-arrow) i, input[type="button"] i, input[type="reset"] i, input[type="submit"] i, .button i {
        width: inherit;
        height: inherit;
        color: inherit;
        background-color: inherit;
        display: inherit;
        justify-content: inherit;
        align-items: inherit;
    }

    button:not(.slick-arrow), input[type="button"], input[type="reset"], input[type="submit"], .button, .button.button-go-back-home {
        border: inherit;
        font-size: inherit;
        cursor: inherit;
        text-decoration: inherit;
        text-shadow: inherit;
        display: inherit;
        -webkit-appearance: inherit;
        text-transform: inherit;
        transition: inherit;
        color: inherit;
        background-color: inherit;
        background-image: inherit;
        background-size: inherit;
        background-repeat: inherit;
        background-position: inherit;
        transition: inherit;
        border: inherit;
        line-height: inherit;
        white-space: inherit;
        padding: inherit;
        padding-left: inherit;
        padding-right: inherit;
        font-weight: inherit;
    }
}

/* rejestracja, ale juz chyba zbędne, bojest alternatywa */
#registration_form > div {
    flex-grow: 1;
    padding: 1rem;
    flex-basis: 100%;
}

/* Alert od płatności */

#stripe-error-message:not(:empty) {
    border: 1px solid #f5c2c7;
    margin-top: 1rem;
    padding: 10px;
    border-radius: 8px;
    background-color: #f8d7da;
    color: #842029;
    width: 360px;
}


/* Amenties */
.elementor-widget-babe-item-amenities .villax-preview-term-amenities .name-amenities {
    line-height: 1.2em;
    font-size: .85em;
    margin-bottom: .5em;
}

.elementor-widget-babe-item-amenities .villax-preview-term-amenities .icon {margin-right: 10px;}


/* Condition */
.elementor-widget-babe-item-description-rules .description-rules .title {margin-bottom: 0;}

.site-dashboard{
    .button.button-go-back-home {
        border-radius: 50px;
        margin-left: 20px;
        padding: 10px 30px;
        line-height: 50px;
        transition: all 0.3s ease;
        background-image: inherit;
    }
}

/* Poprawka headera w Dashboadzie klienta */
.my_account_page_nav_wrapper {
    height: calc(100vh - 97px);
	margin-top:105px;
    /* top: 65px; */
}

/* wielkosć czcionek title */
.babe_items .item_title{
	font-size: 1.4em;
}

h1.elementor-heading-title.elementor-size-default {
    font-size: 2.5em !important;
}

/* Dostosowanie informacji o cenie w kalendarzu*/

.cal-cell-start-day:hover .view-rate-details {
    border-bottom: 5px solid var(--accent);
    padding-bottom: 5px;
    border-top: 2px solid;
    padding-top: 15px;
}

.view-rate-details {
	h4{font-size: 17px;font-weight: 500;margin-bottom: 2px;font-family: 'Heebo';}
	h4.rate_details_label {margin-top: .4em;}
	
	.rate_min_max{margin-bottom:0 !important;}
	.rate_min_max > span, .rate_price_general > span, .rate_prices_conditional{
		line-height: 1.1em !important;
		font-size: 13px !important;
	}
	
	.rate_prices_conditional{margin-top:.3em};
	span.rate_details_label {font-weight: bold;}
}

.booking-form-block.booking-fees-block, .booking-form-block.booking-services-block {
        .booking_form_input_label {
            display: block;
            margin-top: 1em;
            margin-bottom: 5px;
            font-weight: 500;
            font-size: 16px;
            line-height: 20px;
            text-transform: uppercase;
            color: var(--accent);
            /*color: var(--text_lighter);*/
    }
}

/* ustawienie ceny wraz z ceną oryginalną */
#booking_form_total .booking_price_block {
    .original_price .currency_amount {
        text-decoration: line-through;
        color: var(--text_lighter);
        font-size: 1em;
        display: inline;
    }
    .original_price + .currency_amount{display: inline-block;}
}

/* przywrócenie trójkątów na skrajnych zabukowanych dni */
.cal-cell.cal-cell-disabled-last {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cpath d='M0 0h100L0 100z' stroke='%23f3f3f3' fill='%23f3f3f3'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%,auto;
}
.cal-cell.cal-cell-disabled-first {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 100'%3E%3Cpath d='M0 100h100V0' stroke='%23f3f3f3' fill='%23f3f3f3' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%,auto;
}