/*
Theme Name: Homey Child
Description: Homey Child Theme
Author: Mökkirinki Oy
Template: homey
Version: 1.0
Text Domain: homey-child
*/
/* ----------------------------------------------------------------------------------------------
* styles 
* ----------------------------------------------------------------------------------------------*/
.nav-next, .rules-section ul.rules_list li strong {
    float: right
}

@media print {
    .alert, .block-head .block-right, .btn, .dashboard-page-title, .dashboard-sidebar, .header-dashboard, .payment-buttons {
        display: none
    }

    .dashboard-with-sidebar {
        padding: 0 !important
    }
}

body.blog .main-content-area {
    margin-top: 40px
}

.homey_stripe_simple, div.gm-style>button[title="Toggle fullscreen view"] {
    display: none !important
}

.bootbox-close-button, .gallery-hidden, .homey_preloader, .host-percentage, .mw-nav, .transfer_fee, .transfer_note {
    display: none
}

.nav-next, .nav-previous {
    display: inline-block
}

.spinner {
    margin: 0 auto !important;
    width: auto !important
}

.msg-user-info {
    margin: 0 0 10px
}

#google-maps-info-window .item-wrap, .overlay-search-mobile-exp .search-date-range-arrive, div#media-tab {
    width: 100%
}

#module_listings span.label, .item-user-info, .price-section ul.detail-list li, ​ul.rules_list.detail-list {
    text-transform: capitalize
}

.homey-in-range {
    background-color: rgba(84, 196, 217, .2) !important
}

.homey-end-date, .homey-start-date {
    background-color: #2a6ebb !important;
    color: #fff
}

.account-loggedin .user-image .user-alert {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e43012;
    right: 1px;
    position: absolute;
    top: 22px
}

#user-nav>ul>li .msg-alert, .account-dropdown>ul>li .msg-alert {
    top: 43%;
    right: 22px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e43012;
    position: absolute
}

.rating .fa-star-half-o, i.host_role {
    color: #f8b42b
}

.avatar {
    border-radius: 50%
}

.main-search.sticky-search-area, .nav-area.sticky-nav-area, header.header-nav.sticky-nav-area {
    position: relative;
    width: 100%;
    z-index: 1000;
    top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translate(0, -200px)
}

.widget-currency-switcher li a:before {
    content: "" !important;
    font-family: "" !important
}

.main-search.homey-in-view, .nav-area.homey-in-view, header.header-nav.homey-in-view {
    opacity: 1;
    position: fixed !important;
    visibility: visible;
    transition: .4s;
    transform: translate(0, 0);
    animation: .4s fadein
}

.map-notfound {
    font-size: 20px;
    font-weight: 300;
    z-index: 1;
    top: 48%;
    left: 26%;
    width: 280px;
    height: 78px;
    margin: 0 auto;
    padding-top: 30px;
    text-align: center;
    opacity: .95;
    color: #434a54;
    border-radius: 4px;
    background-color: #fff;
    position: absolute
}

.homey-carousel {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s;
    -webkit-transition: opacity 1s
}

.homey-carousel.slick-initialized {
    visibility: visible;
    opacity: 1
}

.homeyInfobox>img {
    z-index: 10
}

.homeyInfobox::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(0, 0);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 11px solid #fff
}

.gallery-caption {
    font-size: .71111em;
    line-height: 1.6;
    margin: 0
}

.screen-reader-text {
    border: 0
}

nav#comment-nav-above {
    margin-bottom: 25px
}

.page-wrap .pagination {
    text-align: center;
    margin: 0
}

#swipebox-close {
    z-index: 999999 !important
}

.homey-display {
    display: block !important
}

.fc-button {
    color: #fff !important
}

.search-hourly-calendar-main {
    width: 350px !important
}

.search-hourly-calendar-main:after, .search-hourly-calendar-main:before {
    left: 50% !important
}

.icon-center {
    position: absolute;
    top: 50%;
    left: 45%;
    z-index: 100000000
}

ul.detail-list li {
    text-transform: inherit
}

.overlay-booking-btn {
    z-index: 999
}

.overlay-booking-module {
    z-index: 1000
}

.board-panel-item-active {
    background-color: rgba(84, 196, 217, .15)
}

.board-panel-item-active ul {
    display: block
}

li.current-month.reservation_start.homey-not-available-for-booking {
    cursor: pointer !important;
    text-decoration: none;
    color: #000;
    font-weight: 600
}

.less-fee {
    font-style: italic
}

.more_extra_services_wrap {
    margin-bottom: 15px
}

#homey-map-loading .spinner {
    left: 50%
}

.local-payment-info {
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 10px
}

.single-listing-calendar li.current-month.reservation_start.day-booked.homey-not-available-for-booking.future-day, .single-listing-calendar li.current-month.reservation_start.day-pending.homey-not-available-for-booking.future-day {
    background: #e4f4d9;
    z-index: -2
}

li.past-day {
    text-decoration: line-through !important;
    color: #949ca5 !important;
    font-weight: 300 !important
}

#invoices_content #homey-map-loading {
    top: 185px
}

.icon-featured {
    color: #949ca5;
    background-color: transparent;
    border-color: transparent;
    margin: 0 5px;
    float: left;
    cursor: pointer
}

.icon-delete {
    float: right !important
}

#homey_stripe_card {
    padding: 9px 12px
}

div#card-errors {
    color: red;
    margin-bottom: 6px
}

div#stripe_main_wrap {
    margin-top: 25px
}

.search-radius-distance .control {
    padding-left: 0
}

@media (max-width:991px) {
    .dashboard-area .block .block-body .col-sm-12.col-xs-12 {
        z-index: 1
    }
}

figure.wp-block-gallery.alignfull {
    margin-bottom: 5rem;
    margin-top: 5rem
}

ul.blocks-gallery-grid {
    margin-bottom: 0
}

.alignfull>.wp-caption-text, .alignfull>figcaption {
    width: calc(100% - 10rem)
}

.gallery-item {
    display: inline-block;
    text-align: left;
    vertical-align: top;
    margin: 0 0 1.5em;
    padding: 0;
    float: none
}

@media screen and (min-width:30em) {
    .gallery-columns-4 .gallery-item, .gallery-item {
        max-width: 25%;
        width: 25%
    }

    .gallery-columns-1 .gallery-item {
        max-width: 100%;
        width: 100%
    }

    .gallery-columns-2 .gallery-item {
        max-width: 50%;
        width: 50%
    }

    .gallery-columns-3 .gallery-item {
        max-width: 33.33%;
        width: 33.33%
    }
}

.gallery-caption {
    display: block;
    text-align: left;
    padding: 0 10px 0 0
}

.gallery-caption, .wp-caption {
    color: #666;
    font-style: italic;
    margin-bottom: 1.5em;
    max-width: 100%;
    white-space: inherit;
    overflow: visible;
    text-overflow: inherit
}

.search-type-radius.search-radius-dropdown {
    margin-top: 10px
}

.search-type-radius button.btn.dropdown-toggle.btn-default {
    padding: 7px 13px
}

.search-type-radius button.btn.dropdown-toggle.btn-default.bs-placeholder {
    color: #333
}

#homey-single-map, .ui-front {
    z-index: 100
}

div#banner-map, div#homey-halfmap, div#homey_sticky_map {
    z-index: 0
}

.elementor-element .banner-caption-side-search, .item-card-view ul.item-amenities {
    height: auto
}

.item-card-view .title a {
    color: #fff
}

.ui-autocomplete {
    height: auto !important;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    position: absolute;
    top: 0;
    left: 0;
    cursor: default
}

.ui-widget.ui-widget-content {
    border: 1px solid #dce0e0
}

.ui-widget-content {
    border: 1px solid #ddd;
    background: #fff;
    color: #333
}

.ui-autocomplete .ui-menu-item {
    padding: 1px 10px;
    border-bottom: 1px solid #dce0e0
}

.sidebar-booking-module-footer {
    margin-bottom: 30px
}

.new_reser_request_user_email {
    width: 100%;
    margin-bottom: 10px
}

.availability-section .day-unavailable {
    background-color: #ecedef
}

.error-box {
    border: 2px solid red;
    color: red;
    padding: 6px;
    font-size: 16px;
    display: inline-block;
    box-sizing: border-box;
}

.dashboard-ad-spacer {
    height: 360px;
}

@media (max-width: 991px) {
    .dashboard-ad-spacer {
        height: 160px;
    }
}

#upload-progress-images:empty {
    display: block;
    min-height: 56px;
}
#upload-progress-images[hidden],
#homey-image-limit-warning[hidden] {
    display: none !important;
}
#media-tab > .block-title:has(#homey-image-limit-warning:not([hidden])) #upload-progress-images:empty,
.form-step-gal1 .block-title:has(#homey-image-limit-warning:not([hidden])) #upload-progress-images:empty {
    display: none;
}
#upload-progress-images {
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 20px;
}
#homey-image-limit-warning {
    flex: 1 1 auto;
    margin: 0 20px;
}
#homey-image-limit-warning.mk-total-progress {
    min-width: 0;
    min-height: 56px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
#homey-image-limit-warning .mk-total-text {
    display: block;
    font-weight: 700;
}

.listing-upload-status {
    padding-bottom: 0;
}
.listing-upload-content {
    padding-top: 0;
}

#homey_gallery_dragDrop.media-drag-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 1000px;
    min-height: 10px;
    margin-right: auto;
    margin-left: auto;
    padding: 16px 8px;
    text-align: center;
    box-sizing: border-box;
}

#homey_gallery_dragDrop .upload-icon {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    line-height: 48px;
    margin: 0 0 4px 8px;
    font-size: 14px;
    border-width: 3px;
    border-radius: 12px;
    box-shadow: -10px 10px 0 #949ca5;
}

#homey_gallery_dragDrop h4 {
    width: 100%;
    flex: 0 0 auto;
    margin: 0;
    color: #434a54;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}
#homey_gallery_dragDrop h4 span {
    display: block;
    margin-top: 4px;
    color: #737d86;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}
#homey_gallery_dragDrop #select_gallery_images {
    flex: 0 0 auto;
    min-width: 200px;
    min-height: 24px;
    max-height: 24px;
    border-radius: 7px;
    font-family: Quicksand, sans-serif;
    font-feature-settings: normal;
    font-kerning: auto;
    font-language-override: normal;
    font-optical-sizing: auto;
    font-size: 12px;
    font-size-adjust: none;
    white-space: nowrap;
}
#homey_gallery_dragDrop #select_gallery_images,
#homey_gallery_dragDrop #select_gallery_images:hover,
#homey_gallery_dragDrop #select_gallery_images:focus,
#homey_gallery_dragDrop #select_gallery_images:active {
    border-color: #54c4d9;
    background-color: #54c4d9;
    color: #fff;
}
#homey_gallery_dragDrop #select_gallery_images:hover,
#homey_gallery_dragDrop #select_gallery_images:focus {
    border-color: #35b3cb;
    background-color: #35b3cb;
}

.mk-total-progress {
    padding: 10px 14px;
    background: #f7f8f9;
    border: 1px solid #e3e6ea;
    border-radius: 6px;
}
.mk-total-limit-warning {
    color: #b42318;
    background: #fef3f2;
    border-color: #fecdca;
}
.mk-total-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #4f5962;
}
.mk-total-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}
.mk-total-fill {
    width: 0;
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, #54c4d9, #85c341);
    background-size: 200% 100%;
    animation: mk-total-shimmer 1.5s linear infinite;
    transition: width .4s ease;
}
.mk-total-done .mk-total-fill {
    background: #85c341;
    animation: none;
}
.mk-total-done .mk-total-head {
    color: #5a9a1c;
}
@keyframes mk-total-shimmer {
    from { background-position: 200% 0; }
    to { background-position: 0 0; }
}

@media (max-width: 767px) {
    #homey_gallery_dragDrop.media-drag-drop {
        gap: 12px;
        max-width: none;
        min-height: 0;
        padding: 32px 18px;
    }
    #homey_gallery_dragDrop .upload-icon {
        width: 96px;
        height: 96px;
        line-height: 88px;
        margin: 0 0 6px 8px;
        font-size: 32px;
        border-width: 4px;
        border-radius: 14px;
        box-shadow: -12px 12px 0 #949ca5;
    }
    #homey_gallery_dragDrop h4 {
        font-size: 20px;
    }
    #homey_gallery_dragDrop h4 span {
        font-size: 16px;
    }
    #homey_gallery_dragDrop #select_gallery_images {
        min-width: min(100%, 320px);
        min-height: 60px;
        margin-top: 10px;
        padding: 0 20px;
        font-size: 20px;
    }
}

/* Gallery upload preview + progress bar (see mokkirinki_gallery_upload_progress) */
.mk-upload-progress {
    position: relative;
    text-align: center;
    font-size: 12px;
    margin-bottom: 10px;
}
/* Upload preview and uploaded thumbnail share the same frame size */
.mk-upload-media,
#homey_gallery_container .upload-gallery-thumb {
    position: relative;
    margin: 0;
    width: 100%;
    aspect-ratio: 37 / 25;
    overflow: hidden;
    border-radius: 4px;
    background: #e9ecef;
}
.mk-upload-media img,
#homey_gallery_container .upload-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#homey_gallery_container .upload-gallery-thumb-buttons {
    max-width: none;
}
.mk-upload-progress:not(.mk-upload-error) .mk-upload-media img {
    opacity: .7;
}
.mk-upload-label {
    display: none;
}
.form-step-gal1 .block-title,
#submit_listing_form .form-step .block-title,
#media-tab > .block-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding-top: 12px;
    padding-bottom: 16px;
}

.form-step-gal1 .block-title::before,
.form-step-gal1 .block-title::after,
#submit_listing_form .form-step .block-title::before,
#submit_listing_form .form-step .block-title::after,
#media-tab > .block-title::before,
#media-tab > .block-title::after {
    display: none;
}
.form-step-gal1 .block-title > .block-left,
#submit_listing_form .form-step .block-title > .block-left,
#media-tab > .block-title > .title {
    float: none;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    margin-right: 0;
    text-align: left;
}
#submit_listing_form .form-step .block-title .title,
#submit_listing_form .form-step .block-title .description-block {
    text-align: left;
}
.listing-image-count {
    display: inline-block;
    flex: 0 0 auto;
    margin-left: 0;
    padding: 4px 10px;
    border-radius: 12px;
    background: #f1f3f5;
    color: #59636d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}
@media (max-width: 767px) {
    .form-step-gal1 .block-title,
    #submit_listing_form .form-step .block-title,
    #media-tab > .block-title {
        flex-wrap: wrap;
    }
    .form-step-gal1 .block-title #upload-progress-images,
    #submit_listing_form .form-step .block-title #upload-progress-images,
    #media-tab > .block-title #upload-progress-images {
        order: 3;
        flex: 0 0 100%;
        margin: 10px 0 0;
    }
}
.mk-upload-bar {
    height: 6px;
    margin: 4px 0 2px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}
.mk-upload-bar-fill {
    width: 0;
    height: 100%;
    background: #85c341;
    transition: width .3s linear;
}
.mk-upload-pct {
    color: #6c757d;
}
.mk-upload-error-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: 6px 8px;
    background: rgba(220, 53, 69, .88);
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}
.mk-upload-remove {
    position: absolute;
    right: 7px;
    bottom: 7px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.mk-upload-remove:hover,
.mk-upload-remove:focus {
    background: #b02a37;
    color: #fff;
}

.homey-image-limit-modal.in {
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.homey-image-limit-modal .modal-dialog {
    width: calc(100% - 30px);
    max-width: 440px;
    margin: auto;
}
.homey-image-limit-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
}
.homey-image-limit-modal .modal-header {
    padding: 24px 24px 12px;
    border-bottom: 0;
    text-align: center;
}
.homey-image-limit-modal .modal-header .close {
    margin-top: -12px;
}
.homey-image-limit-modal .modal-title {
    font-size: 19px;
    font-weight: 600;
}
.homey-image-limit-modal .modal-title .fa {
    display: block;
    margin: 0 auto 12px;
    color: #e7a43b;
    font-size: 38px;
}
.homey-image-limit-modal .modal-body {
    padding: 8px 28px 18px;
    color: #59636d;
    line-height: 1.6;
    text-align: center;
}
.homey-image-limit-modal .modal-footer {
    padding: 0 24px 24px;
    border-top: 0;
    text-align: center;
}
.homey-image-limit-modal .modal-footer .btn {
    min-width: 110px;
}
.homey-migration-order-modal.is-success .modal-title .fa {
    color: #85c341;
}
.homey-migration-order-modal.is-error .modal-title .fa {
    color: #dc3545;
}

.dashboard-content-area .validate-errors,
.dashboard-content-area .validate-errors-gal {
    display: none !important;
}

.homey-validation-open {
    overflow: hidden;
}
.homey-validation-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .52);
}
.homey-validation-overlay[hidden] {
    display: none !important;
}
.homey-validation-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    padding: 28px 28px 24px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
    text-align: center;
}

.homey-validation-close {
    position: absolute;
    top: 8px;
    right: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #949ca5;
    font-size: 24px;
    line-height: 1;
}
.homey-validation-icon {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #efa737;
    color: #fff;
    font-size: 26px;
}
.homey-validation-title {
    margin: 0 0 12px;
    color: #434a54;
    font-size: 20px;
    font-weight: 600;
}
.homey-validation-message {
    margin: 0;
    color: #68727d;
    font-size: 16px;
    line-height: 1.6;
}
.homey-validation-actions {
    margin-top: 22px;
}
.homey-validation-actions .btn {
    min-width: 110px;
    min-height: 42px;
    font-size: 16px;
}
@media (max-width: 600px) {
    .homey-validation-dialog {
        padding: 32px 22px 24px;
    }
    .homey-validation-title {
        font-size: 20px;
    }
    .homey-validation-message {
        font-size: 16px;
    }
}

/* Profile picture variant: round preview, error centered over the circle */
.mk-upload-round {
    width: 100px; /* same as the 100x100 profile photo in dashboard-profile.php */
}
.mk-upload-round .mk-upload-media {
    aspect-ratio: auto;
    overflow: visible;
    background: none;
}
.mk-upload-round .mk-upload-media img {
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 50%;
}
.mk-upload-round .mk-upload-error-text {
    top: 50%;
    left: 50%;
    right: auto;
    width: 92%;
    padding: 4px 6px;
    transform: translate(-50%, -50%);
    border-radius: 4px;
    font-size: 11px;
}

.form-step .bootstrap-select.btn-group .dropdown-menu.inner > li.active > a,
.form-step .bootstrap-select.btn-group .dropdown-menu.inner > li.selected > a,
#location-tab .bootstrap-select.btn-group .dropdown-menu.inner > li.active > a,
#location-tab .bootstrap-select.btn-group .dropdown-menu.inner > li.selected > a {
    color: #fff !important;
}

.form-step .bootstrap-select.btn-group .dropdown-menu.inner > li.active > a span,
.form-step .bootstrap-select.btn-group .dropdown-menu.inner > li.selected > a span,
#location-tab .bootstrap-select.btn-group .dropdown-menu.inner > li.active > a span,
#location-tab .bootstrap-select.btn-group .dropdown-menu.inner > li.selected > a span {
    color: #fff !important;
}

body .bootstrap-select.btn-group .dropdown-menu.inner > li.active > a,
body .bootstrap-select.btn-group .dropdown-menu.inner > li.active > a *,
body .bootstrap-select.btn-group .dropdown-menu.inner > li.selected > a,
body .bootstrap-select.btn-group .dropdown-menu.inner > li.selected > a *,
body .bootstrap-select.btn-group .dropdown-menu.inner > li.active > a:focus,
body .bootstrap-select.btn-group .dropdown-menu.inner > li.selected > a:focus {
    background-color: #3b4249 !important;
    color: #fff !important;
}