/*
Theme Name: Alloggio Child
Theme URI: https://alloggio.qodeinteractive.com
Description: A child theme of Alloggio
Author: Edge Themes
Author URI: https://qodeinteractive.com
Version: 1.0.0
Text Domain: alloggio
Template: alloggio
*/

/**GENERAL**/
.cmplz-cookiebanner .cmplz-categories .cmplz-category .cmplz-description,
.cmplz-cookiebanner .cmplz-message {
    font-size: 15px !important;
}

#cmplz-document {
    margin: 0 auto;
}

#cmplz-document p {
    font-size: 18px;
}

@media (max-width: 768px) {
    .cmplz-cookiebanner {
        left: 0 !important;
    }
}

.qodef-info-card .qodef-m-content {
    padding: 50px;
}

.qodef-section-title.qodef-alignment--center .qodef-m-text {
    max-width: 100%;
}

.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
    margin-bottom: 15px;
    margin-top: 15px;
}

.qodef-page-title {
    position: relative;
    background-position: center;
}

.qodef-page-title:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .4);
}

.services-thumb-container .qodef-m-content {
    top: 170px;
}

@media only screen and (max-width: 680px) {
    .qodef-info-card .qodef-m-content {
        padding: 51px 30px 70px;
    }

    .qodef-centered-slider .qodef-m-subtitle {
        display: block;
    }

    .services-thumb-container .qodef-m-content {
        top: 0;
    }
}

/**HEADER**/
#qodef-page-header .qodef-header-sticky .qodef-header-logo-link img {
    padding: 10px;
}

#qodef-page-header ul li.wpml-ls-item.qodef-menu-item--narrow .qodef-drop-down-second-inner>ul {
    width: 78px;
}

#qodef-page-header ul li.wpml-ls-item .qodef-drop-down-second {
    top: 70%;
}

body.qodef-mobile-header--sticky-display.qodef--passepartout #qodef-page-mobile-header-inner {
    padding: 0 40px;
}

/**FOOTER**/
footer h4.qodef-e-title.entry-title {
    font-size: 21px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

#qodef-page-footer .widget ul:not(.qodef-shortcode-list) li {
    margin: 0 0 6px;
}

#qodef-page-footer .widget.widget_media_image img {
    display: block;
    max-width: 230px !important;
}

#qodef-page-footer #text-16 .textwidget p {
    margin: 20px 0;
}

/**AZIENDA AGRICOLA**/
.elementor .azienda-agricola-slider img {
    max-height: 400px;
    object-fit: cover;
}

@media only screen and (max-width: 680px) {
    .qodef-banner.qodef-layout--link-overlay .qodef-m-button {
        display: block;
    }

    .elementor .azienda-agricola-slider img {
        max-height: 210px;
    }
}

/**SERVIZI E ATTIVITA**/
.services-center-icontext .qodef-image-with-text .qodef-m-content {
    text-align: center;
}

.services-center-icontext .qodef-image-with-text .qodef-m-image img {
    margin: 0 auto;
    width: 75px;
    height: 75px;
}

.external-services-block .qodef-image-with-text.qodef-layout--split-text-below .qodef-m-content .qodef-m-title {
    flex-shrink: 1;
}

/**ROOM**/
body.single-room .qodef-room .qodef-m-image img {
    max-height: 600px;
    object-fit: cover;
}

body.page-id-5666 #qodef-page-inner {
    padding-bottom: 0;
}

body.page-id-5666 article.qodef-e.qodef-room-list-item.qodef-grid-item.qodef-item--full,
body.page-id-5670 article.qodef-e.qodef-room-list-item.qodef-grid-item.qodef-item--full {
    height: auto !important;
}

.qodef-room-list.qodef-layout--standard .qodef-e-button {
    margin-top: 20px;
}

body.single-room .qodef-room .qodef-e-amenity {
    margin-top: 0;
}

.qodef-room-list .qodef-e-amenity-items .qodef-e-amenity-item {
    width: 24%;
}

.qodef-room-list .qodef-e-amenity-items .qodef-ei-svg svg.custom-svg *,
.qodef-room .qodef-e-amenity-items .qodef-ei-svg svg.custom-svg * {
    fill: #ad9961;
}

.qodef-room .qodef-e-amenity-items .qodef-ei-svg svg {
    display: block;
    max-width: 100%;
    height: 31px;
    width: 31px;
}

#qodef-room-related-items .qodef-m-title {
    margin: 0 0 21px;
    border-top: 1px solid rgba(189, 140, 126, .22);
    padding-top: 40px;
}

.qodef-room .qodef-m-slider .swiper-slide img {
    max-height: 600px;
}

@media screen and (max-width: 768px) {
    .qodef-room .qodef-m-slider .swiper-slide img {
        max-height: 400px;
    }

    .qodef-room-list .qodef-e-amenity-items .qodef-e-amenity-item {
        width: auto;
    }

    .qodef-room .qodef-e-amenity-items .qodef-e-amenity-item {
        width: 50%;
        line-height: 20px;
        font-size: 15px;
    }

    .qodef-room .qodef-e-amenity-items .qodef-ei-svg svg {
        height: 26px;
        width: 26px;
    }
}


/**BLOG**/
body.single-post .qodef-e-info-item.qodef-e-info-author {
    display: none;
}

#categories-3.widget.widget_categories .cat-item-1 {
    display: none;
}

[data-filter="non-categorizzato"] {
    display: none !important;
}

/**CONTATTI**/
.acceptance-label span.wpcf7-list-item {
    margin-left: 0;
}

.acceptance-label span.wpcf7-form-control-wrap {
    float: left;
    margin-right: 10px;
}

.acceptance-label span.wpcf7-form-control-wrap input[type="checkbox"] {
    width: 25px;
    height: 25px;
    margin: 0;
}

.acceptance-label .acceptance-text {
    display: inline-block;
    margin-top: 0;
    position: relative;
    top: -2px;
}