
.custom-menu-filter {
    text-align: center;
    z-index: 199;
    width: 100%;
    visibility: visible;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.custom-menu-filter .container {
    background-color: #D7D1C4;
    padding: 30px;
    max-width: 100%;
}

#sentinel {
    height: 1px; /* Make it very small */
    margin-bottom: 0; /* Place right before the button */
}

.custom-menu-filter.sticky {
    position: fixed;
    bottom: 0;
    z-index: 12;
    left: 0;
    right: 0;
    width: 100vw;
    margin: 0;
    max-width: 100%;
}

.custom-menu-filter.sticky .container{
    margin: 0;
    max-width: 100%;
    padding: 20px 30px;
}

.custom-menu-filter.sticky .custom-select .options-wrapper {
    bottom: 60px;
}




.custom-menu-filter .col-filter {
    /* width: 16%; */
    flex: 1;
    position: relative;
    display: flex;
    border-right: 1px solid #000000;
    margin: auto;
    padding: 0 15px;
}

.custom-menu-filter .col-filter:has(button, [data-name="adultos"] ) {
    border-right: 1px solid #00000000;
    margin: auto 0;
}


.custom-menu-filter .col-filter .input-daterange {
    position: relative;
}

.custom-menu-filter .col-filter .input-icon{
    position: relative;
    margin: auto 0;
    display: flex;
}

.custom-menu-filter .col-filter .input-title{
    color: #000000;
    font-size: 1rem;
    line-height: 1.2;
    display: block;
    font-family: var(--heading-font);
    cursor: default;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}


.custom-menu-filter .col-filter-md {
    width: 15%;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
}

.custom-menu-filter .col-filter .form-group, .custom-menu-filter .col-filter-sm .form-group {
    margin-bottom: 0 !important;
    position: relative;
}

.custom-menu-filter .col-filter .form-group:has(select[name="coddestino"]) {
    min-width: 142px;
    width: 100%;
}

.custom-menu-filter .col-filter .form-group:has(select[name="adultos"]) {
    min-width: 70px;
    width: 100%;
}

.custom-menu-filter .col-filter:has(input[name="codpromo"]){
    justify-content: center;
}

.custom-menu-filter .col-filter:has(input[name="codpromo"]) input{
    min-width: 70px;
    width: 100%;
}

.custom-menu-filter .col-filter-sm {
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    width: 9%;
}

.custom-menu-filter .col-filter, .custom-menu-filter .col-filter-sm, .custom-menu-filter .col-filter-md {
    padding-top: 0px;
    padding-top: 0;
}

.custom-menu-filter .col-filter-btn {
    margin-top: -5px;
}

.custom-menu-filter.fixed-filter .col-filter, .custom-menu-filter.fixed-filter .col-filter-sm, .custom-menu-filter.fixed-filter .col-filter-md {
    margin-top: 0px;
    padding-top: 0;
}

.custom-menu-filter.fixed-filter .col-filter-btn {
    margin-top: -5px;
}

::placeholder {
    color: #FFF !important;
}

.custom-menu-filter .info-filter {
    padding-left: 100px;
    padding-top: 0;
}

.custom-menu-filter.fixed-filter .info-filter {
    padding-top: 0;
}

.custom-menu-filter .info-filter p {
    float: left;
    text-align: right;
}

.custom-menu-filter .info-filter img {
    cursor: pointer;
}

.custom-menu-filter .info-filter .info-filter-title {
    color: #ffffff;
    font-family: 'Cabin', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
    margin-top: -6px;
}


.custom-menu-filter label {
    color: #ffffff;
    font-family: 'Cabin', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 0;
}

.custom-menu-filter .row-first {
    display: flex;
    align-items: center;
    justify-content: center;

}

.custom-menu-filter .row-last {
    margin-bottom: 30px;
}

.custom-menu-filter .row-last p {
    text-transform: uppercase;
    margin-bottom: 0;
}

.custom-menu-filter select {
    -webkit-appearance: none;
    background-image: url("https://mardearhotels.com/uploads/images/coaster2017/down_caret.svg") !important;
    background-position: 99% 50% !important;
    background-repeat: no-repeat !important;
    background-size: 16px !important;
}

.custom-menu-filter input[type="text"], select.form-control {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0);
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    color: #ffffff;
    padding: 0;
    text-align: start;
    padding-top: 33px;
    font-size: 14px;
    font-size: 0.875rem;
}

.custom-menu-filter input[type="text"], select.form-control {
    padding-top: 30px;
    max-height: 48px;
}

.custom-menu-filter input[name="codpromo"] {
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.custom-menu-filter input[type="text"]{
    max-width: 150px;
    width: 100%;
    min-width: 120px;
}

.custom-menu-filter input[type="text"]:focus, 
.custom-menu-filter select.form-control:focus {
    outline: none;
    box-shadow: none;
}

.custom-menu-filter input[type="text"]:focus, select.form-control:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.custom-menu-filter button.custom-menu-filter-button {
    color: #ffffff;
    --btn-bg: #000000C9;
    text-transform: uppercase;
    background-color: var(--btn-bg);
    border: 0px solid #ffffff;
    padding: 0 20px;
    transition: all 0.2s ease-in-out;
    min-height: 56px;
    font-size: 18px;
    font-size: 1.125rem;
    font-family: var(--btn-font);
    font-weight: var(--btn-font-weight);
    letter-spacing: var(--btn-letter-spacing);
    text-transform: var(--btn-text-transform);
    width: 100%;
    cursor: pointer;
}

.custom-menu-filter button.custom-menu-filter-button span{
    pointer-events: none;
}

.custom-menu-filter button.custom-menu-filter-button:hover {
    --btn-bg-hover: #ab916c;
    background: var(--btn-bg-hover);
    border-color: var(--btn-bg-hover);
}

.custom-menu-filter-bottom-hide {
    opacity: 0;
}

.custom-menu-filter-bottom-show {
    opacity: 1;
    -webkit-transition: opacity 0s ease-in-out;
    -o-transition: opacity 0s ease-in-out;
    transition: opacity 0s ease-in-out;
}

.custom-menu-filter-top-show {
    visibility: visible !important;
    height: 65px !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    top: 0 !important;
    -webkit-transition: top 0s ease-in-out;
    -o-transition: top 0s ease-in-out;
    transition: top 0s ease-in-out;
}

.custom-menu-filter-top-move-down {
    visibility: visible !important;
    top: 80px !important;
    -webkit-transition: top 0s ease-in-out;
    -o-transition: top 0s ease-in-out;
    transition: top 0s ease-in-out;
}

.custom-menu-filter-top-move-hide {
    visibility: hidden !important;
}

.reserve-button {
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
    color: currentColor;
    outline: none;
    box-shadow: none;
    position: relative;
    z-index: 9;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 48px;
    height: var(--btn-height);
    border: none;
    border-radius: var(--btn-radius);
    color: var(--btn-color);
    font-family: var(--btn-font);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    letter-spacing: var(--btn-letter-spacing);
    text-transform: var(--btn-text-transform);
    line-height: 1;
    text-align: center;
    transition: 0.4s;
    cursor: pointer;
    background-color: var(--btn-bg);
    --btn-color: #fff;
    --btn-bg-hover: #ab916c;
    --btn-color-hover: #fff;
    --btn-bg: #000000C9;
    --btn-height: 44px;
    padding: 0 24px;
    font-size: 14px;
    font-size: 0.875rem;
    border: 1px solid var(--btn-bg);
}

.reserve-button:hover {
    background: var(--btn-bg-hover);
    color: var(--btn-color-hover);
    border-color: var(--btn-bg-hover);
}


.custom-menu-filter .reserve-close {
    position: absolute;
    display: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.custom-menu-filter .reserve-close span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #141418;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}

.custom-menu-filter .reserve-close span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 10px;
    left: 4px;
}

.custom-menu-filter .reserve-close span:nth-child(2) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 10px;
    left: 4px;
}




@media(max-width: 1200px) {

    .custom-menu-filter .container {
        padding: 20px;
    }

    .custom-menu-filter .col-filter .input-title {
        font-size: 1rem;
        white-space: nowrap;
    }

    .custom-menu-filter .col-filter {
        gap: 15px;
    }

    .custom-select,
    .custom-menu-filter input[type="text"], 
    select.form-control,
    .custom-select .placeholder {
        font-size: 0.75rem;
    }

    .custom-select .placeholder {
        padding: 25px 0 0;
    }

    .custom-menu-filter input[type="text"], select.form-control {
        padding-top: 24px;
    }
    

}


@media (max-width: 1025px) {
    
    .reserve-button {
        display: inline-flex;
        position: fixed;
        bottom: 20px;
        padding: 5px 0;
        left: 20px;
        right: 20px;
        z-index: 10;
        background: #000000;
    }

    .custom-menu-filter button.custom-menu-filter-button {
        font-size: 0.875rem;
    }
    
    .wrapper-center {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .custom-menu-filter.sticky,
    .custom-menu-filter {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 12;
        display: block;
        width: 100%;
        max-width: 375px;
        height: 100%;
        transition: 0.4s;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        padding: 0;
        left: unset;
    }

    .custom-menu-filter::before {
        position: fixed;
        top: 0;
        left: 0;

        display: block;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.75);
        content: "";
    }

    .custom-menu-filter.open {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    .custom-menu-filter.open::before {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .custom-menu-filter.sticky .custom-select .options-wrapper {
        bottom: unset;
    }

    .custom-menu-filter .container {
        padding: 90px 20px;
        position: relative;
        z-index: 9;
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
        transform: translateX(100%);
        max-width: 100%;
        height: 100%;
        overflow: auto;
        transition: transform 0.4s;
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }


    .custom-menu-filter .row-first {
        gap: 20px;
        flex-direction: column;
        align-items: center;
        max-width: 325px;
        margin: 50px auto 100px;
    }

    .custom-menu-filter.open .container {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    
    .custom-menu-filter .reserve-close {
        right: 30px;
        display: block;
        top: 60px;
    }

    .custom-menu-filter .col-filter {
        border-right: 0px solid #00000000;
        width: 100%;
    }

    .custom-menu-filter .col-filter {
        gap: 25px;
        border-bottom: 1px solid #000;
        padding: 0 0 20px;
    }

    .custom-menu-filter .col-filter:has(button, input[name="codpromo"] ) {
        border-bottom: 1px solid #00000000;
    }

    .custom-menu-filter .col-filter .input-icon {
        width: 30px;
        min-width: 30px;
        justify-content: center;
    }

    .custom-menu-filter .col-filter .form-group,
    .custom-menu-filter .col-filter:has(input[name="codpromo"]) .input-title,
    .custom-menu-filter .col-filter:has(input[name="codpromo"]) input,
    .custom-menu-filter input[type="text"],
    .custom-menu-filter .col-filter .form-group:has(select[name="adultos"]),
    .custom-menu-filter .col-filter .form-group:has(select[name="coddestino"]) {
        max-width: 100%;
        width: 100%;
    }

    .custom-menu-filter .col-filter:has(input[name="codpromo"]) {
        margin-top: 30px;
    }

}



body:has(.custom-menu-filter.sticky ) .to-top {
    bottom: 136px;
}

.custom-menu-filter.sticky {
	box-shadow: 6px -2px 9px 0 rgba(0, 0, 0, 0.1)
}

@media (max-width: 1025px) {
	
	body:has(.custom-menu-filter.open ) header {
		z-index: 1;
	}
	
	body .to-top,
	body:has(.custom-menu-filter.sticky 	) .to-top {
    bottom: 80px;
	}
	
		body:has(.custom-menu-filter.open 	) .to-top {
			z-index: 1; 
	}
}
