/* assets/public/css/yacht-favorites.css */

.display--none {
    display: none;
}

.wipe {
	width: 100%;
	aspect-ratio: 360 / 281;
	background-color: #E5E7EB;
	border-radius: 12px;
	position: relative;
	overflow: hidden;
}

.wipe::after {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: -webkit-gradient(linear,
			left top, right top,
			from(transparent),
			color-stop(rgba(255, 255, 255, 0.4)),
			to(transparent));
	background: -o-linear-gradient(left,
			transparent,
			rgba(255, 255, 255, 0.4),
			transparent);
	background: linear-gradient(90deg,
			transparent,
			rgba(255, 255, 255, 0.4),
			transparent);
	-webkit-animation: wipe 1.5s infinite;
	        animation: wipe 1.5s infinite;
}

@-webkit-keyframes wipe {
	0% {
		left: -100%;
	}

	100% {
		left: 100%;
	}
}

@keyframes wipe {
	0% {
		left: -100%;
	}

	100% {
		left: 100%;
	}
}

.ct-link-button {
    margin-left: 5px;
    margin-right: 5px;
} 

.hide-label-no-shift.wpforms-field label,
.loading-vis-dip {
	visibility: hidden !important;
}

#div_block-favorites-meta {
	width: 100%;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	font-size: 1rem;
	margin-bottom: 1em;
}

#text_block-6-11413 {
    color: #d3111e;
    display: inline;
    margin-right: 0.5em;
    line-height: 0;
}

div#text_block-6-11413:before {
    content: '';
	background-repeat: no-repeat;
	background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23d3111e' d='M241 87.1l15 20.7 15-20.7C296 52.5 336.2 32 378.9 32 452.4 32 512 91.6 512 165.1l0 2.6c0 112.2-139.9 242.5-212.9 298.2-12.4 9.4-27.6 14.1-43.1 14.1s-30.8-4.6-43.1-14.1C139.9 410.2 0 279.9 0 167.7l0-2.6C0 91.6 59.6 32 133.1 32 175.8 32 216 52.5 241 87.1z'/%3E%3C/svg%3E");
	width: 16px;
    height: 16px;
    display: inline-block;
}

.favorite-child-remove-btn {
    padding: 1rem;
    line-height: 0;
    border-radius: 50%;
    border: 2px solid #adadad;
    width: 48px;
    height: 48px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
	-webkit-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
}

.favorite-child-remove-btn:hover,
.favorite-child-remove-btn:focus {
	border-color: #d3111e;
}

.favorite-child-remove-btn:before {
	content: '';
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%23d3111e' d='M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z'/%3E%3C/svg%3E");
    width: 1em;
    height: 1em;
    display: inline-block;
}

#text_block-favorites-results-counter {
    display: inline;
}

#text_block-66-11657 {
    margin-left: 0.5em;
    margin-right: 0.5em;
}

#div_block-faves-container {
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -ms-grid-columns: minmax(200px, 1fr) 1rem minmax(200px, 1fr) 1rem minmax(200px, 1fr);
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    display: -ms-grid;
    display: grid;
    width: 100%;
    -grid-advanced-active: auto;
}

.favourite-child {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    cursor: pointer;
}

.favorite-child-image {
    -o-object-fit: cover;
       object-fit: cover;
    background-color: #f4f4f4;
    width: 100%;
    aspect-ratio: 5 / 3;
    -o-object-position: center center;
       object-position: center center;
	max-width: 100%;
}

.favorite-child-bottom {
    width: 100%;
    background-color: rgb(180 222 254 / 20%);
    padding-left: 1rem;
    padding-top: 10px;
    padding-right: 1rem;
    padding-bottom: 10px;
    gap: 1rem;
}

.favorite-child-bottom.ct-section .ct-section-inner-wrap, .favorite-child-bottom.oxy-easy-posts .oxy-posts, .favorite-child-bottom:not(.ct-section):not(.oxy-easy-posts) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 1rem;
}

#yacht-favorites .favorite-child-name {
    font-size: 1.5rem;
    line-height: 1;
}

#div_block-favorites-results-CTA {
    width: 100%;
    text-align: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 1rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
	margin-top: 60px;
}

#link_button-29-11413 {
    background-color: #df8b70;
    border-radius: 100px;
    border: 1px solid #df8b70;
    color: #223942;
	-webkit-transition: .4s;
	-o-transition: .4s;
	transition: .4s;
	padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#gwd_favorites_inquiry_form {
    opacity: 0;
	pointer-events: none;
	-webkit-transition: opacity 0.2s ease-in;
	-o-transition: opacity 0.2s ease-in;
	transition: opacity 0.2s ease-in;
	position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.5);
}

#gwd_favorites_inquiry_form.show {    
	opacity: 1;
	pointer-events: all;
}

#gwd_favorites_inquiry_form .gwd-form-wrapper {
    max-width: 720px;
    max-height: 100vh;
    overflow-y: auto;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px 15px 30px 30px;
    position: relative;
}

#gwd_favorites_inquiry_form_close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 28px;
    color: #fff;
    background-color: #DF8B70;
    padding: 10px 15px;
    line-height: 1;
    border: 0;
}

@media (max-width: 767px) {
	#div_block-favorites-meta {
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
	}
    #div_block-faves-container {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    #div_block-faves-container {
        grid-template-columns: repeat(1, minmax(200px, 1fr));
    }
}