.bg-img{
    position: absolute;
    pointer-events: none;
    &.sun-ft{left: 30px; bottom: 50px;}
    &.mountain-ft{right: 15px; bottom: -37px;}
    &.mountain{bottom: 0; left: 0;}
    &.t-right{bottom: 0; right: 0;}
}

.daterangepicker{
    border-radius: 20px;
    margin-top: 17px;
    border: none;
    margin-top: 21px;
    &:before,
    &:after{display: none;}
    td{
        transition: all 200ms;
        position: relative;
        &.active{
            background-color: $color-danger;
            border-radius: 30px;
            &:hover{background-color: $color-danger;}
            &.in-range{background-color: $color-danger;}
            &.start-date{
                &:before{
                    content: '';
                    position: absolute;
                    width: 50%;
                    height: 100%;
                    background-color: rgba($color: $color-pink, $alpha: 0.2);
                    right: 0;
                    top: 0;
                    bottom: 0;
                    object-fit: cover;
                }
            }
            &.end-date{
                &:before{
                    content: '';
                    position: absolute;
                    width: 50%;
                    height: 100%;
                    background-color: rgba($color: $color-pink, $alpha: 0.2);
                    left: 0;
                    top: 0;
                    bottom: 0;
                    object-fit: cover;
                }
            }
        }
        &.in-range{
            background-color: rgba($color: $color-pink, $alpha: 0.2);
        }
        &.start-date{
            &.end-date{
                border-radius: 30px;
            }
        }
    }
    .calendar-table{
        th,
        td{
            width: 34px; height: 34px;
            border: none;
            // &.available{
            //     &:hover{border-radius: 0;}
            // }
        }
        .prev,
        .next{
            span{
                border: solid $color-danger;
                border-width: 0 2px 2px 0;
            }
        }
    }
    select{
        &.monthselect,
        &.yearselect{border: none;}
    }
}

.ui-autocomplete-input{position: relative;}
.ui-widget{
    // max-width: 268px;
    // width: 100% !important;
    // border-radius: 20px;
    // position: absolute;
    // padding: 0 15px;
    // background-color: $color-light;
    // list-style: none;
    // top: 540px !important;
    // left: 477.5px !important;
    position: absolute;
    max-width: 268px;
    z-index: 1000;
    cursor: default;
    padding: 0;
    margin-top: 2px;
    list-style: none;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 0 15px;
    // box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    li{
        float: left;
        width: 100%;
        & + li{border-top: 1px solid #EBEBEB;}
        .ui-menu-item-wrapper{
            padding: 20px 15px; font-size: 21px; font-weight: 300;
            padding-left: 21px;
            cursor: pointer;
            transition: all 200ms;
            position: relative;
            &:before{
                content: '';
                position: absolute;
                top: auto;
                left: 0;
                width: 15px;
                height: 20px;
                background-image: url(./../img/icon/pin-search.svg);
                background-repeat: no-repeat;
                background-size: contain;
            }
            &:hover{color: $color-danger;}
        }
    }

}
.ui-helper-hidden-accessible{display: none;}

.menu-filter{
    position: fixed;
    top: 112px;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 706px;
    z-index: 10;
    padding-top: 45px;
    padding-bottom: 36px;
    background-color: $color-light;
    font-family: "Pridi", sans-serif;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    z-index: 99;
    transition: all 400ms;
    &.show{opacity: 1; pointer-events: unset;}
    label{font-size: 21px; margin-bottom: 19px;}
    .form-group{margin-bottom: 45px;}
    .checkbox-control{
        & + .checkbox-control{margin-top: 18px;}
        .icon{top: 4px;}
        .title{
            font-size: 21px;
            font-weight: 300;
        }
    }
    .action{float: right;}
    .btn-reset{
        font-size: 18px;
        font-weight: 300;
        border: none;
        background-color: $color-light;
        color: #b2b2b2;
        text-decoration: underline;
    }
    .btn-submit-filter{
        font-size: 18px;
        font-weight: 500;
        color: $color-light;
        background-color: $color-secondary;
        height: 50px;
        line-height: 50px;
        min-width: 251px;
        margin-left: 145px;
        margin-right: 156px;
    }
    .btn-close{
        position: absolute;
        right: 160px;
        top: 10px;
        font-size: 24px;
        color: $color-darkgray;
        background-color: $color-light;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 200ms;
        &:hover{
            background-color: $color-darkgray;
            color: $color-light;
        }
    }
}
.black-drop{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba($color: #000000, $alpha: 0.8);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: all 400ms;
    &.show{opacity: 1; pointer-events: unset;}
}

.card{
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	background-color: $color-light;
	transform: translateY(0);
    border: none;
	transition: all 200ms;
    margin-top: 25px;
	// &:hover{transform: translateY(-15px);}
	.favorite{
		position: absolute;
		width: 40px;
		height: 46px;
		top: 25px;
		left: 42%;
		z-index: 1;
		.b-fav{
			cursor: pointer;
			position: relative;
			.fa-heart-o{color: $color-light; font-size: 38px;}
			.fr-main{opacity: 1; transition: all 200ms;}
			.fr-hover{
				position: absolute;
				top: 0;
				right: 0;
				left: 0;
				bottom: 0;
				object-fit: contain;
				opacity: 0;
				filter: brightness(0) invert(1);
				transition: all 200ms;
			}
			&.active{
				.fr-main{opacity: 0;}
				.fr-hover{opacity: 1; filter: brightness(1) invert(0);}
			}
			&:hover{
				.fr-main{opacity: 0;}
				.fr-hover{opacity: 1;}
			}
		}
		.feather{
			font-size: 40px;
			color: $color-light;
		}
	}
	.head{
        width: 399px;
        height: 348px;
        overflow: hidden;
		.cover{padding-bottom: 90%;}
	}
	.body{
		padding: 9px 24px 0 30px;
        .b-title{
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(112, 112, 112,0.2);
        }
		.title{
			font-weight: 300;
			font-size: 30px;
			color: $color-darkgray;
			padding-bottom: 15px;
            line-height: 1em;
			&.text-limit{max-width: 100%; width: calc(100% - 90px); max-height: 2em; -webkit-line-clamp: 2;}
		}
        .rate{
            font-family: 'DMSans';
            font-weight: 500;
            display: block;
            width: 60px;
            height: 60px;
            color: $color-light;
            font-size: 24px;
            background-color: $color-danger;
            border-radius: 30px;
            text-align: center;
            line-height: 60px;
            float: right;
            // margin-right: 19px;
        }
		.desc{
			font-size: 25px;
			font-weight: 400;
			color: $color-secondary;
			padding-top: 22px;
			padding-bottom: 15px;
			&.text-limit{white-space: nowrap; text-overflow: ellipsis; max-width: 100%}
		}
        .item-list{
            margin: 0 -10px;
            margin-top: 42px; padding-bottom: 17px; border-bottom: 1px solid #E2E2E2;
            margin-bottom: 13px;
            li{
                padding: 0 10px;
            }
        }
        .row > div:not(:last-child){border-right: 1px solid #e2e2e2;}
        .detail{
            font-family: "Pridi", sans-serif;
            font-size: 18px;
            font-weight: 300;
            color: $color-secondary;
            padding: 0 13px;
            strong{
                font-family: "DMSans";
                font-size: 30px;
                font-weight: 500;
                color: $color-darkgray;
                line-height: 1.7em;
            }
        }
	}
}

.sort{
    float: right;
    padding-top: 26px;
    display: flex;
    align-items: center;
    height: 100%;
    font-family: "Pridi", sans-serif;
    font-size: 18px;
    font-weight: 300;
    .text{margin-right: 14px;}
    li{
        height: 38px;
        line-height: 27px;
        background-color: $color-light;
        transition: all 200ms;
        &:first-child{border-top-left-radius: 10px; border-bottom-left-radius: 10px;}
        &:last-child{border-top-right-radius: 10px; border-bottom-right-radius: 10px;}
        .link{
            color: $color-darkgray;
            padding: 6px 28px;
            display: block;
            transition: all 200ms;
        }
        &:hover,
        &.active{
            background-color: $color-darkgray;
            .link{color: $color-light;}
        }
    }
}