/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 18 nov 2021, 12:51:17
    Author     : antonio_faugno
*/
.bh-photo-grid-photo1 {
    display: block;
    float: right;
    /*    width: 65.2%;*/
    width: 66%;
    height: 350px;
    margin-bottom: 10px;
}

.bh-photo-grid-item {
    background-color: #ccc;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-box-shadow: 0 0 5px 0 #ccc;
    /*    box-shadow: 0 0 5px 0 #ccc;*/
    text-align: center;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.bh-photo-grid-side-photo {
    display: block;
    float: left;
    width: 33.6%;
    /*    height: 170px;*/
    height: 230px;
    margin-bottom: 10px;
}

.bh-photo-grid-thumb-cell {
    display: table-cell;
    vertical-align: top;
    text-align: center;
    width: 193px;
    display: table-cell;
    padding: 0 7px;
    cursor: pointer;

}

.bh-photo-grid-thumb {
    display: block;
    height: 110px;
    text-decoration: none;
}

.bh-photo-grid-thumb-cell:last-child {
    padding-right: 0px;
}


.ul-photo {
    display: flex;
    flex-wrap: wrap;
}

.photo-li {
    /*  height: 40vh;*/
    flex-grow: 1;
    width: 26%;
    padding: 0.3em 0.5em;
}

/*.photo-li:last-child {

    flex-grow: 10;
}*/

.img-dialog {
    max-height: 100%;
    min-width: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

.img-dialog:hover {
    transform: scale(1.1);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}


.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}


@media (max-aspect-ratio: 1/1) and (max-width: 480px) {
    .ul-photo {
        flex-direction: row;
    }

    .photo-li {
        height: auto;
        width: 100%;
    }

    .img-dialog {
        width: 100%;
        max-height: 75vh;
        min-width: 0;
    }
}


.dlg-photo-button {
    background-color: transparent;
    margin-top: 25%;
    text-transform: uppercase;
    outline: none;
}

.dlg-photo-button > span {
    outline: none;
}

.dlg-photo-button > .hide > span {
    color: transparent;
}

.form-photo-button .ui-button-text {
    background-color: #fbfbfb00 !important;
}

.ui-dialog-titlebar .ui-widget-header .ui-helper-clearfix .ui-corner-top .ui-draggable-handle {
    text-align: center;
    font-size: large;
}

.column {
    float: left;
    width: 23%;
    padding: 10px;
}

.img-container {
    overflow: hidden;
    cursor: pointer;
}

.img-container img {
    margin-top: 12px;
    border-radius: 2%;
    object-fit: cover;

    transition: transform .4s; /* smoother zoom */
}

.img-container img:hover {
    -ms-transform: scale(1.1); /* IE 9 */
    -webkit-transform: scale(1.1); /* Safari 3-8 */
    transform: scale(1.1);
    transform-origin: 50% 50%;
}

.row {
    padding: 0% 0% 0% 9%;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

img-container {
    display: inline-block;

    overflow: hidden;
}

/*.dialor-remote{
    height: 100%;
    width: 100%;
}*/

.gallery {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 5vw);
    grid-gap: 15px;
}

.alerts-border {
    padding: 3px 3px 3px 3px;
    text-align: center;
    border-radius: 5px;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-out;
    -moz-animation: blink normal 1.5s infinite ease-in-out;
    -webkit-animation: blink normal 1.5s infinite ease-in-out;
    -ms-animation: blink normal 1.5s infinite ease-in-out;
    animation: blink normal 1.5s infinite cubic-bezier(0.4, 0, 0.2, 1);

}

@keyframes blink {
    0% {
        background-color: rgba(255, 0, 0, 1)
    }
    50% {
        background-color: rgba(255, 0, 0, 0.5)
    }
    100% {
        background-color: rgba(255, 0, 0, 1)
    }
}

.slider-img {
    width: 100%;
    /*    height: 774px; */
    object-fit: contain;
    /*    border-radius: 16px;*/
    height: 75vh;
}

.form-photo-button {
    width: 100%;
    height: 90%;
}

.form-photo-button .dlg-photo-button {
    margin-top: 0%;
    width: 100%;
    height: 90%;
    box-shadow: none;
}

.form-photo-button .dlg-photo-button > span {
    box-shadow: none !important;
    filter: drop-shadow(2px 4px 6px black);
}

.form-photo-button > .hide-button > span {
    height: 90%;
    color: transparent;
}

/*.fa-arrow-left:before {*/
/*    padding: 0px 12px;*/
/*    font-size: x-large;*/
/*}*/

/*.show-pictures  {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  grid-auto-flow: dense;
}

.show-pictures  li.landscape {
  grid-column-end: span 2;
}
*/
@media screen and (max-width: 348px) {

    .bh-photo-grid-thumb-cell:nth-child(1) {
        display: none;
    }

    .bh-photo-grid-thumb-cell:nth-child(2) {
        display: none;
    }

    .bh-photo-grid-thumb-cell:nth-child(3) {
        display: none;
    }

    .bh-photo-grid-thumb-cell:nth-child(4) {
        display: none;
    }

    .column {
        width: 100%;
    }
}


@media screen and (max-width: 767.98px) and (min-width: 348px) {
    .column {
        width: 100%;
    }

    .bh-photo-grid-thumb-cell {

        width: 272px;
    }

    .bh-photo-grid-thumb-cell:nth-child(1) {
        display: none;
    }

    .bh-photo-grid-thumb-cell:nth-child(2) {
        display: none;
    }

    .bh-photo-grid-thumb-cell:nth-child(3) {
        display: none;
    }

    /*    .bh-photo-grid-thumb-cell:nth-child(4){
            display:none;
        }*/


}

@media screen and (max-width: 991.98px) and (min-width: 767.98px) {
    .column {
        width: 44%;
    }

    /*    .bh-photo-grid-thumb-cell{
            width: 78px;
        }*/
    .bh-photo-grid-thumb-cell:nth-child(1) {
        display: none;
    }

}

@media (min-width: 992px) {
    .column {
        width: 22%;
    }


}

.hide-border {
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 5px solid #fff;
    background: #fff;
}


.pictureDialog.ui-dialog .ui-dialog-titlebar {
    background-color: transparent;
    display: block !important;
    text-align: center;
    font-size: 3rem;
    text-transform: capitalize;
    border-bottom: none !important;
    padding: 10px 0 10px 0 !important;
}

.pictureDialog.ui-dialog .ui-dialog-title {
    float: initial;
    color: black !important;
}

.pictureDialog .ui-widget-content a {
    color: #b0b0b0;
}

.pictureDialog.ui-dialog {
    background-color: #ffffffee;
}

.pictureDialog.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-icon .ui-icon-closethick {
    width: 50px !important;
    height: 50px !important;
}


.bx-default-pager {
    z-index: 1;
}

.bx-controls-auto {
    z-index: 1;
}

.banner-accomodation-name {
    bottom: 163px !important;
}

.banner-accomodation-sloder {
    bottom: 227px !important;
}

.dialog-photo-grid {

    /*    height: 75vh !important;*/
}

.next {
    color: white !important;
    box-sizing: border-box;
    text-shadow: 0 0 5px #000;

    right: 0;
    border-radius: 3px 0 0 3px;

}

.prev {
    color: white !important;
    box-sizing: border-box;
    text-shadow: 0 0 5px #000;
}

body .p-component-overlay {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.Fs20-popup {

}



