﻿
/* Dynamic filters */


.dynamic-filters.gallery {
    padding-bottom: 50px;
    display: flex;
    flex-flow: wrap;
    align-items: center;
    justify-content: center;
}

img.svg-filter {
    background-color: var(--color1);
    color: var(--color2);
    padding: 30px;
    object-fit: contain;
    object-position: center;
}

.fadeInDynamicFilter {
    opacity: 0;
    -webkit-animation: fadeIn 1s;
    -webkit-animation-delay: 0s;
    animation: fadeIn 1s;
    animation-delay: 0s;
}


@-webkit-keyframes fadeIn {
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    100% {
        opacity: 1;
    }
}

.fadeOut {
    opacity: 1;
    -webkit-animation: fadeOut 1s forwards;
    -webkit-animation-delay: 0s;
    animation: fadeOut 1s forwards;
    animation-delay: 0s;
}

@-webkit-keyframes fadeOut {
    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    100% {
        opacity: 0;
    }
}

.slide-animation {
    opacity: 0;
    -webkit-animation: slide 3s forwards;
    -webkit-animation-delay: 0s;
    animation: slide 3s forwards;
    animation-delay: 0s;
}

@-webkit-keyframes slide {
    100% {
        opacity: 1;
    }
}

@keyframes slide {
    100% {
        opacity: 1;
    }
}

a.more-filters-link:hover, a.more-filters-link:active, a.more-filters-link:focus {
    opacity: 1;
    transition-duration: 200ms;
}

a.more-filters-link {
    /*opacity: 0.5;
    transition-duration: 200ms;*/
}

.dynamic-filter {
}

.dynamic-filter-container {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    margin: 0;
}

/************************************************/
/*  Radio buttons Dynamic Filters */
/************************************************/
.dynamic-filter {
    text-transform: none;
}

    .dynamic-filter > .fullScreenFilter input[type="radio"]:checked + label {
        background-color: var(--color1) !important;
        color: var(--fore-color1) !important;
    }

    .dynamic-filter > .fullScreenFilter.pre-filter:hover {
        color: var(--color1);
    }

    .dynamic-filter > .fullScreenFilter.pre-filter > label:before {
        font-weight: bold;
        color: var(--color1);
    }

    .dynamic-filter > .fullScreenFilter.pre-filter.dnf-All > label:before {
        content: '\f732';
    }

    .dynamic-filter > .fullScreenFilter.pre-filter.dnf-WalkingDistance > label:before {
        content: '\f554';
    }

    .dynamic-filter > .fullScreenFilter.pre-filter.dnf-Ecological > label:before {
        content: '\f06c';
    }

    .dynamic-filter > .fullScreenFilter.pre-filter.dnf-Luxury > label:before {
        content: '\f3a5';
    }

    .dynamic-filter > .fullScreenFilter.pre-filter.dnf-Economic > label:before {
        content: '\f51e';
    }

    .dynamic-filter > .fullScreenFilter.pre-filter.dnf-MostBooked > label:before {
        content: '\f7e4';
    }

    .dynamic-filter > .fullScreenFilter.pre-filter.dnf-TravelerRating > label:before {
        content: '\f164';
    }






    i.dnf-All:before {
        content: '\f732';
    }

    i.dnf-WalkingDistance:before {
        content: '\f554';
    }

    i.dnf-Ecological:before {
        content: '\f06c';
    }

    i.dnf-Luxury:before {
        content: '\f3a5';
    }

    i.dnf-Economic:before {
        content: '\f51e';
    }

    i.dnf-MostBooked:before {
        content: '\f7e4';
    }

    i.dnf-TravelerRating:before {
        content: '\f164';
    }



@media (min-width: 768px) {
    .col-dynamic-filter {
        flex: 0 1 auto;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .dynamic-filter-container {
        padding-left: 0px !important;
        padding-right: 0px !important;
        padding-top: 60px !important;
    }
}

@media (max-width: 768px) {
    .col-dynamic-filter {
        flex-basis: 100%;
        flex-flow: row wrap;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .dynamic-filter-container {
        padding-left: 15px;
        padding-right: 15px;
    }
}


.dynamic-filters.gallery > * > .dynamic-filter {
    position: relative;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.6);
    padding: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    height: auto;
    width: 100%;
    border-radius: 0px 0px 10px 10px;
    opacity: 0.8;
    min-width: 160px;
}

.dynamic-filters .divEcoSlide {
    border-radius: 10px 10px 10px 10px;
    overflow: hidden;
    background-color: var(--color1);
    color: white;
    padding: 6px 10px 3px 10px;
    text-align: center;
}

.dynamic-filters .divEcoSlide > img {
    padding: 0px;
    height: 30px;
    width:30px;
}

.dynamic-filters .divHotelSlide {
    border-radius: 10px 10px 0px 0px;
    max-height: 160px;
    overflow: hidden;
    background-color: var(--color1);
}

.dynamic-filters div.secondary {
    position: absolute;
    right: 57px;
    top: 17px;
    color: white;
}

.dynamic-filters img.imgHotelsSmall {
    width: 85%;
    height: 85%;
    top: 25px;
    position: relative;
}

.dynamic-filters img.secondary {
    position: absolute;
    right: 5px;
    top: 2px;
    width: 50px;
    height: 50px;
}

    .dynamic-filters .divHotelSlide > div > a > img:not(.secondary) {
        transition-duration: 1s;
        animation-duration: 1s;
        border-radius: 20px;
        -webkit-transition-duration: 1s;
        -webkit-transform: scale(0.8);
    }

        .dynamic-filters .divHotelSlide > div > a > img:hover {
            transform: scale(1.3);
            -ms-transform: scale(1.3); /* IE 9 */
            -moz-transform: scale(1.3); /* Firefox */
            -webkit-transform: scale(1); /* Safari and Chrome */
            -o-transform: scale(1.3); /* Opera */
        }



@media (max-width: 768px) {
    .dynamic-filters .divHotelSlide {
        max-height: 100px;
    }

    img.svg-filter {
        padding: 10px;
    }
}

.dynamic-filters.gallery > * > .dynamic-filter:hover {
    box-shadow: 5px 5px 5px rgba(0,0,0,0.8);
    opacity: 1;
    transition-duration: 1s;
    animation-duration: 1s;
}

.dynamic-filters.gallery > * > .dynamic-filter:active:focus {
    box-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}


/*.dynamic-filters.gallery > * >*/ .dynamic-filter > .title {
    flex: 0;
    color: white;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    position: relative;
    margin-top: -5px;
    width: 100%;
    line-height: 35px;
    background-color: rgba(0,0,0,0.8);
    pointer-events: none;
    border-radius: 0px 0px 10px 10px;
}

.dynamic-filters.gallery > * > .dynamic-filter > .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.filter .dynamic {
    overflow: hidden;
    background: red;
    /*-prefix-animation: slide 1s ease 3.5s forwards;*/
    transition: opacity 2s linear;
    transform: translate(0);
    opacity: 1;
    display: block;
}

    .filter .dynamic .hidden {
        display: block;
        transform: translate(9999px);
        opacity: 0;
    }

.easeInOut {
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
    animation-name: Swap;
    animation-delay: 1s;
    animation-direction: alternate-reverse;
}


@-webkit-keyframes Swap {
    from {
        height: 0;
    }

    to {
        height: 300px;
    }
}

@keyframes Swap {
    from {
        height: 0;
    }

    to {
        height: 300px;
    }
}



.row-filters {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}



/* Radio Buttons */

.dynamic-filter input[type="radio"] {
    display: none;
}

.dynamic-filter label {
    display: inline-block;
    background-color: transparent;
    font-size: 13px;
    cursor: pointer;
    position: absolute;
    height: 40px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 5px;
}

.dynamic-filter > .fullScreenFilter {
    height: 41px;
    text-align: left;
    margin-bottom: 2px !important;
    margin-top: 2px !important;
}

.dynamic-filter .fullScreenFilter input[type="radio"]:checked + label {
    background-color: var(--color2);
    color: var(--fore-color2);
}

.dynamic-filter input[type="radio"] + label:before {
    content: '\f111';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    color: rgba(0,0,0,0.15);
    font-size: large;
    padding: 5px;
    top: 2px;
    position: relative;
}

.fullScreenFilter input[type="radio"]:checked + label:before, .dynamic-filter input[type="radio"]:checked + label:before {
    content: "\f058";
    font-family: 'Font Awesome 5 Pro';
    font-weight: 300;
    color: white;
}

.navBarSort > .dynamic-filter {
    padding-left: 10px;
}

.col-cat {
    flex-grow: 1;
}

.more-filters-link {
    padding: 5px 15px 0px 0px;
    height: 32px;
    width: fit-content;
}

    .more-filters-link::before {
        content: "\f0b0";
        font-family: 'Font Awesome 5 Pro';
        color: var(--fore-color1);
        padding: 15px;
        margin-top: 3px;
    }

    .more-filters-link.expanded::after {
        content: "\f077";
        font-family: 'Font Awesome 5 Pro';
        color: var(--fore-color1);
    }

.popupMore.position-absolute {
    position: absolute !important;
}


/*****************/
/* Mode DropDown */
.ddpicker.dropdown-menu > .active > a, .ddpicker.dropdown-menu > .active > a:hover, .ddpicker.dropdown-menu > .active > a:focus {
    color: #fff;
    text-decoration: none;
    background-color: #337ab7;
    outline: 0;
}

/* #left to fix bootstrapper !important*/
#left > .ddpicker > div > div > .dropdown-menu > *.active > a.selected.active,
#left > .ddpicker > div > div > .dropdown-menu > *.active > a.selected.active > span.text
#left > .ddpicker > div > div > .dropdown-menu > *.active > a.selected.active:hover,
#left > .ddpicker > div > div > .dropdown-menu > *.active > a.selected.active:hover > span.text {
    color: white !important;
    background-color: var(--color1) !important;
}

.ddpicker > * > * > .dropdown-menu > .active > a.selected.active > span.text::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Pro';
    padding-right: 5px;
}

.ddpicker > * > * > .dropdown-menu > *:not(.active) > a:not(.selected.active):hover,
.ddpicker > * > * > .dropdown-menu > *:not(.active) > a:not(.selected.active):hover > span.text {
    color: black !important;
    background-color: var(--color2-lighten);
}

.ddpicker > * > * > .dropdown-menu > *:not(.active) > a:not(.selected.active) > span.text::before {
    content: '\f111';
    font-family: 'Font Awesome 5 Pro';
    padding-right: 5px;
}


.ddpicker > div > div > .dropdown-menu > * > a.sort-asc > span::after {
    content: '\f162';
    font-family: 'Font Awesome 5 Pro';
    padding-left: 5px;
}

.ddpicker > div > div > .dropdown-menu > * > a.sort-desc > span::after {
    content: '\f163';
    font-family: 'Font Awesome 5 Pro';
    padding-left: 5px;
}

.ddpicker > div > div > .dropdown-menu > * > a.sort-alpha-asc > span::after {
    content: '\f15d';
    font-family: 'Font Awesome 5 Pro';
    padding-left: 5px;
}

/*@media (max-width: 768px) {
    .ddpicker {
        max-width: calc(50% - 20px) !important;
        margin: 0 0px 0 9px !important;
        padding: 0px 0px 0px 15px;
        min-width: calc(48%);
    }
}*/

li > a.placeholder {
    display: none;
}

/*@media (min-width: 768px) {*/
.filter-holder > button > div > div > div:before {
    content: "\f0b0";
    font-family: 'Font Awesome 5 Pro';
    padding-right: 5px;
}

.sort-holder > button > div > div > div:before {
    content: "\f15d";
    font-family: 'Font Awesome 5 Pro';
    padding-right: 5px;
}

.sort-holder.sort-asc > button > div > div > div:before {
    content: "\f162";
    font-family: 'Font Awesome 5 Pro';
    padding-right: 5px;
}

.sort-holder.sort-desc > button > div > div > div:before {
    content: "\f163";
    font-family: 'Font Awesome 5 Pro';
    padding-right: 5px;
}


#left > div.dropdown.bootstrap-select.ddpicker > button > div > div > div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*}*/


.spanAvailableHotels {
    position: sticky;
    right: 0;
}
