
  
  .cards__card {
    align-items: center;
    margin-bottom: 1.4rem;
    max-width: 100%;
    width: 300px;
  }
  
  .card__image {
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    padding: 0.7rem;
  }
  
  .card__text {
    padding: 0 0.7rem;
    width: 100%;
  }

  .ui-dialog{
    z-index: 122333;
  }


  
.ui-dialog{
  top:0px !important; 
 }



  .modal-backdrop-floor{
    z-index: 1055;
    opacity: .8;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    transition: opacity .15s linear;
  }

  .ui-dialog{
  /*  margin: 120px auto !important; */
}

.floor-estate .container-image{
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  text-align: center;
  width: 30.6%;

}

.ui-dialog-buttonpane{
  text-align: center;
}


  @media screen and (min-width: 769px) {
    .floor-estate .grid-board{
        table-layout: fixed;
        width: 100%;
        background-color: white ;
        border: none;
        width: 100%; 
        display: table;       
    }

} 


  .grid-container {
    display: grid;
    grid-template-columns: auto auto auto; // no of 'auto's will be number of columns here it's 3
  }


  .module-floor .ui-dialog{
    overflow: hidden !important;
  }



  #dialog-card-galerie .ui-widget-header{
    font-size: 18px;
    text-align: center;
    position: absolute;
    /* display: contents; */
    right: 0px;
    top: 0px;
}




.ui-dialog-title{
  text-align: center;
}




.floor-estate .image_ratio{
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
  display: block;
  padding-bottom: 66.666%;
  -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}


.floor-estate .image_ratio img{
object-fit: cover;
object-position: 50% 50%;
height: 100%;
width: 100%;
max-height: 700px;
position: absolute;
top: 0;
left: 0;
transition: transform .2s;
}
 /* 
.floor-estate .image_ratio img:hover {
  -ms-transform: scale(1.5); 
  -webkit-transform: scale(1.5); 
  transform: scale(1.5); 
}
*/
.ui-dialog{
  position: fixed !important;

}

 .floor-estate .row_cards{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex; 
    display: flex; 
    margin-bottom: 8%;
    justify-content: flex-start;
  }

  


  #dialog-floor img{
    max-height: 700px;
  }
  


  @media screen and (max-width: 860px) {
    .card-galerie .row_cards{
      display: block !important;
    }
    .container-image{
      width:100% !important;
    }
  }